@digital8/lighting-illusions-ts-sdk 0.0.806 → 0.0.808
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.808
|
|
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.808`
|
|
467
467
|
- Generator version: `7.19.0`
|
|
468
468
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
469
469
|
|
|
@@ -27,6 +27,12 @@ export interface AttributeLiteResource {
|
|
|
27
27
|
* @memberof AttributeLiteResource
|
|
28
28
|
*/
|
|
29
29
|
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AttributeLiteResource
|
|
34
|
+
*/
|
|
35
|
+
type: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the AttributeLiteResource interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfAttributeLiteResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function AttributeLiteResourceFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ function AttributeLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return {
|
|
39
41
|
'id': json['id'],
|
|
40
42
|
'name': json['name'],
|
|
43
|
+
'type': json['type'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
function AttributeLiteResourceToJSON(json) {
|
|
@@ -51,5 +54,6 @@ function AttributeLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
54
|
return {
|
|
52
55
|
'id': value['id'],
|
|
53
56
|
'name': value['name'],
|
|
57
|
+
'type': value['type'],
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
+
`type` | string
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ import type { AttributeLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
|
18
19
|
const example = {
|
|
19
20
|
"id": null,
|
|
20
21
|
"name": null,
|
|
22
|
+
"type": null,
|
|
21
23
|
} satisfies AttributeLiteResource
|
|
22
24
|
|
|
23
25
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -31,6 +31,12 @@ export interface AttributeLiteResource {
|
|
|
31
31
|
* @memberof AttributeLiteResource
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AttributeLiteResource
|
|
38
|
+
*/
|
|
39
|
+
type: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export interface AttributeLiteResource {
|
|
|
39
45
|
export function instanceOfAttributeLiteResource(value: object): value is AttributeLiteResource {
|
|
40
46
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
47
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
42
49
|
return true;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -54,6 +61,7 @@ export function AttributeLiteResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
54
61
|
|
|
55
62
|
'id': json['id'],
|
|
56
63
|
'name': json['name'],
|
|
64
|
+
'type': json['type'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -70,6 +78,7 @@ export function AttributeLiteResourceToJSONTyped(value?: AttributeLiteResource |
|
|
|
70
78
|
|
|
71
79
|
'id': value['id'],
|
|
72
80
|
'name': value['name'],
|
|
81
|
+
'type': value['type'],
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|