@digital8/lighting-illusions-ts-sdk 0.0.489 → 0.0.490
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.490
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -361,7 +361,7 @@ and is automatically generated by the
|
|
|
361
361
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
362
362
|
|
|
363
363
|
- API version: `1.0.0`
|
|
364
|
-
- Package version: `0.0.
|
|
364
|
+
- Package version: `0.0.490`
|
|
365
365
|
- Generator version: `7.17.0`
|
|
366
366
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
367
367
|
|
|
@@ -33,6 +33,12 @@ export interface DescriptionResource {
|
|
|
33
33
|
* @memberof DescriptionResource
|
|
34
34
|
*/
|
|
35
35
|
footerDescription: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DescriptionResource
|
|
40
|
+
*/
|
|
41
|
+
siteId: number;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the DescriptionResource interface.
|
|
@@ -28,6 +28,8 @@ function instanceOfDescriptionResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('footerDescription' in value) || value['footerDescription'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
return true;
|
|
32
34
|
}
|
|
33
35
|
function DescriptionResourceFromJSON(json) {
|
|
@@ -41,6 +43,7 @@ function DescriptionResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
'id': json['id'],
|
|
42
44
|
'headerDescription': json['headerDescription'],
|
|
43
45
|
'footerDescription': json['footerDescription'],
|
|
46
|
+
'siteId': json['siteId'],
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
function DescriptionResourceToJSON(json) {
|
|
@@ -55,5 +58,6 @@ function DescriptionResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
58
|
'id': value['id'],
|
|
56
59
|
'headerDescription': value['headerDescription'],
|
|
57
60
|
'footerDescription': value['footerDescription'],
|
|
61
|
+
'siteId': value['siteId'],
|
|
58
62
|
};
|
|
59
63
|
}
|
|
@@ -9,6 +9,7 @@ Name | Type
|
|
|
9
9
|
`id` | number
|
|
10
10
|
`headerDescription` | string
|
|
11
11
|
`footerDescription` | string
|
|
12
|
+
`siteId` | number
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const example = {
|
|
|
20
21
|
"id": null,
|
|
21
22
|
"headerDescription": null,
|
|
22
23
|
"footerDescription": null,
|
|
24
|
+
"siteId": null,
|
|
23
25
|
} satisfies DescriptionResource
|
|
24
26
|
|
|
25
27
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -37,6 +37,12 @@ export interface DescriptionResource {
|
|
|
37
37
|
* @memberof DescriptionResource
|
|
38
38
|
*/
|
|
39
39
|
footerDescription: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof DescriptionResource
|
|
44
|
+
*/
|
|
45
|
+
siteId: number;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -46,6 +52,7 @@ export function instanceOfDescriptionResource(value: object): value is Descripti
|
|
|
46
52
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
53
|
if (!('headerDescription' in value) || value['headerDescription'] === undefined) return false;
|
|
48
54
|
if (!('footerDescription' in value) || value['footerDescription'] === undefined) return false;
|
|
55
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
49
56
|
return true;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -62,6 +69,7 @@ export function DescriptionResourceFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
62
69
|
'id': json['id'],
|
|
63
70
|
'headerDescription': json['headerDescription'],
|
|
64
71
|
'footerDescription': json['footerDescription'],
|
|
72
|
+
'siteId': json['siteId'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -79,6 +87,7 @@ export function DescriptionResourceToJSONTyped(value?: DescriptionResource | nul
|
|
|
79
87
|
'id': value['id'],
|
|
80
88
|
'headerDescription': value['headerDescription'],
|
|
81
89
|
'footerDescription': value['footerDescription'],
|
|
90
|
+
'siteId': value['siteId'],
|
|
82
91
|
};
|
|
83
92
|
}
|
|
84
93
|
|