fix: Images.Variants is an array of ImageType objects.
This commit is contained in:
parent
9aaeaa9979
commit
2710a90d98
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "amazon-pa-api5-node-ts",
|
"name": "amazon-pa-api5-node-ts",
|
||||||
"version": "2.1.7",
|
"version": "2.1.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "amazon-pa-api5-node-ts",
|
"name": "amazon-pa-api5-node-ts",
|
||||||
"version": "2.1.7",
|
"version": "2.1.8",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"superagent": "^9.0.0"
|
"superagent": "^9.0.0"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "amazon-pa-api5-node-ts",
|
"name": "amazon-pa-api5-node-ts",
|
||||||
"version": "2.1.7",
|
"version": "2.1.8",
|
||||||
"description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.",
|
"description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"main": "dist/src/index",
|
"main": "dist/src/index",
|
||||||
"types": "dist/src/index",
|
"types": "dist/src/index",
|
||||||
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ export class Images {
|
||||||
/**
|
/**
|
||||||
* @member {Array.<module:model/ImageType>} Variants
|
* @member {Array.<module:model/ImageType>} Variants
|
||||||
*/
|
*/
|
||||||
public Variants?: ImageType;
|
public Variants?: ImageType[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a <code>Images</code> from a plain JavaScript object, optionally creating a new instance.
|
* Constructs a <code>Images</code> from a plain JavaScript object, optionally creating a new instance.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ // Copied from https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/strict.json
|
{ // Copied from https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/strict.json
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"extends": "./base.json",
|
"extends": "./tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// Enable strict mode. This enables a few options at a time, see https://www.typescriptlang.org/tsconfig#strict for a list.
|
// Enable strict mode. This enables a few options at a time, see https://www.typescriptlang.org/tsconfig#strict for a list.
|
||||||
"strict": true
|
"strict": true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{ // Copied from https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/strictest.json
|
{ // Copied from https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/strictest.json
|
||||||
"$schema": "https://json.schemastore.org/tsconfig",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"extends": "./strict.json",
|
"extends": "./tsconfig.strict.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// Report errors for fallthrough cases in switch statements
|
// Report errors for fallthrough cases in switch statements
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user