@digital8/lighting-illusions-ts-sdk 0.0.889 → 0.0.890
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.890
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -463,7 +463,7 @@ and is automatically generated by the
|
|
|
463
463
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
464
464
|
|
|
465
465
|
- API version: `1.0.0`
|
|
466
|
-
- Package version: `0.0.
|
|
466
|
+
- Package version: `0.0.890`
|
|
467
467
|
- Generator version: `7.19.0`
|
|
468
468
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
469
469
|
|
|
@@ -110,12 +110,6 @@ export interface ProductCategoryResource {
|
|
|
110
110
|
* @memberof ProductCategoryResource
|
|
111
111
|
*/
|
|
112
112
|
descriptions: Array<DescriptionResource> | null;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @type {number}
|
|
116
|
-
* @memberof ProductCategoryResource
|
|
117
|
-
*/
|
|
118
|
-
linkedProductsCount: number;
|
|
119
113
|
}
|
|
120
114
|
/**
|
|
121
115
|
* Check if a given object implements the ProductCategoryResource interface.
|
|
@@ -51,8 +51,6 @@ function instanceOfProductCategoryResource(value) {
|
|
|
51
51
|
return false;
|
|
52
52
|
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
53
53
|
return false;
|
|
54
|
-
if (!('linkedProductsCount' in value) || value['linkedProductsCount'] === undefined)
|
|
55
|
-
return false;
|
|
56
54
|
return true;
|
|
57
55
|
}
|
|
58
56
|
function ProductCategoryResourceFromJSON(json) {
|
|
@@ -78,7 +76,6 @@ function ProductCategoryResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
76
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
79
77
|
'seo': (json['seo'] == null ? null : json['seo'].map(SEOResource_1.SEOResourceFromJSON)),
|
|
80
78
|
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
81
|
-
'linkedProductsCount': json['linkedProductsCount'],
|
|
82
79
|
};
|
|
83
80
|
}
|
|
84
81
|
function ProductCategoryResourceToJSON(json) {
|
|
@@ -105,6 +102,5 @@ function ProductCategoryResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
105
102
|
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
106
103
|
'seo': (value['seo'] == null ? null : value['seo'].map(SEOResource_1.SEOResourceToJSON)),
|
|
107
104
|
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
108
|
-
'linkedProductsCount': value['linkedProductsCount'],
|
|
109
105
|
};
|
|
110
106
|
}
|
|
@@ -21,7 +21,6 @@ Name | Type
|
|
|
21
21
|
`site` | [SiteLiteResource](SiteLiteResource.md)
|
|
22
22
|
`seo` | [Array<SEOResource>](SEOResource.md)
|
|
23
23
|
`descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
24
|
-
`linkedProductsCount` | number
|
|
25
24
|
|
|
26
25
|
## Example
|
|
27
26
|
|
|
@@ -45,7 +44,6 @@ const example = {
|
|
|
45
44
|
"site": null,
|
|
46
45
|
"seo": null,
|
|
47
46
|
"descriptions": null,
|
|
48
|
-
"linkedProductsCount": null,
|
|
49
47
|
} satisfies ProductCategoryResource
|
|
50
48
|
|
|
51
49
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -145,12 +145,6 @@ export interface ProductCategoryResource {
|
|
|
145
145
|
* @memberof ProductCategoryResource
|
|
146
146
|
*/
|
|
147
147
|
descriptions: Array<DescriptionResource> | null;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {number}
|
|
151
|
-
* @memberof ProductCategoryResource
|
|
152
|
-
*/
|
|
153
|
-
linkedProductsCount: number;
|
|
154
148
|
}
|
|
155
149
|
|
|
156
150
|
/**
|
|
@@ -169,7 +163,6 @@ export function instanceOfProductCategoryResource(value: object): value is Produ
|
|
|
169
163
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
170
164
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
171
165
|
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
172
|
-
if (!('linkedProductsCount' in value) || value['linkedProductsCount'] === undefined) return false;
|
|
173
166
|
return true;
|
|
174
167
|
}
|
|
175
168
|
|
|
@@ -198,7 +191,6 @@ export function ProductCategoryResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
198
191
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
199
192
|
'seo': (json['seo'] == null ? null : (json['seo'] as Array<any>).map(SEOResourceFromJSON)),
|
|
200
193
|
'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
|
|
201
|
-
'linkedProductsCount': json['linkedProductsCount'],
|
|
202
194
|
};
|
|
203
195
|
}
|
|
204
196
|
|
|
@@ -228,7 +220,6 @@ export function ProductCategoryResourceToJSONTyped(value?: ProductCategoryResour
|
|
|
228
220
|
'site': SiteLiteResourceToJSON(value['site']),
|
|
229
221
|
'seo': (value['seo'] == null ? null : (value['seo'] as Array<any>).map(SEOResourceToJSON)),
|
|
230
222
|
'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
|
|
231
|
-
'linkedProductsCount': value['linkedProductsCount'],
|
|
232
223
|
};
|
|
233
224
|
}
|
|
234
225
|
|