@digital8/lighting-illusions-ts-sdk 0.0.1376 → 0.0.1378
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.1378
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -489,7 +489,7 @@ and is automatically generated by the
|
|
|
489
489
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
490
490
|
|
|
491
491
|
- API version: `1.0.0`
|
|
492
|
-
- Package version: `0.0.
|
|
492
|
+
- Package version: `0.0.1378`
|
|
493
493
|
- Generator version: `7.20.0`
|
|
494
494
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
495
495
|
|
|
@@ -21,6 +21,12 @@ export interface AssetLiteResource {
|
|
|
21
21
|
* @memberof AssetLiteResource
|
|
22
22
|
*/
|
|
23
23
|
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AssetLiteResource
|
|
28
|
+
*/
|
|
29
|
+
fileId?: string | null;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {string}
|
|
@@ -33,6 +39,12 @@ export interface AssetLiteResource {
|
|
|
33
39
|
* @memberof AssetLiteResource
|
|
34
40
|
*/
|
|
35
41
|
fileName: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AssetLiteResource
|
|
46
|
+
*/
|
|
47
|
+
mimeType: string;
|
|
36
48
|
/**
|
|
37
49
|
*
|
|
38
50
|
* @type {string}
|
|
@@ -28,6 +28,8 @@ function instanceOfAssetLiteResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('altText' in value) || value['altText'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
return true;
|
|
@@ -41,8 +43,10 @@ function AssetLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
43
|
}
|
|
42
44
|
return {
|
|
43
45
|
'id': json['id'],
|
|
46
|
+
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
44
47
|
'filePath': json['filePath'],
|
|
45
48
|
'fileName': json['fileName'],
|
|
49
|
+
'mimeType': json['mimeType'],
|
|
46
50
|
'altText': json['altText'],
|
|
47
51
|
};
|
|
48
52
|
}
|
|
@@ -56,8 +60,10 @@ function AssetLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
60
|
}
|
|
57
61
|
return {
|
|
58
62
|
'id': value['id'],
|
|
63
|
+
'fileId': value['fileId'],
|
|
59
64
|
'filePath': value['filePath'],
|
|
60
65
|
'fileName': value['fileName'],
|
|
66
|
+
'mimeType': value['mimeType'],
|
|
61
67
|
'altText': value['altText'],
|
|
62
68
|
};
|
|
63
69
|
}
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
+
`fileId` | string
|
|
10
11
|
`filePath` | string
|
|
11
12
|
`fileName` | string
|
|
13
|
+
`mimeType` | string
|
|
12
14
|
`altText` | string
|
|
13
15
|
|
|
14
16
|
## Example
|
|
@@ -19,8 +21,10 @@ import type { AssetLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
|
19
21
|
// TODO: Update the object below with actual values
|
|
20
22
|
const example = {
|
|
21
23
|
"id": null,
|
|
24
|
+
"fileId": null,
|
|
22
25
|
"filePath": null,
|
|
23
26
|
"fileName": null,
|
|
27
|
+
"mimeType": null,
|
|
24
28
|
"altText": null,
|
|
25
29
|
} satisfies AssetLiteResource
|
|
26
30
|
|
package/package.json
CHANGED
|
@@ -25,6 +25,12 @@ export interface AssetLiteResource {
|
|
|
25
25
|
* @memberof AssetLiteResource
|
|
26
26
|
*/
|
|
27
27
|
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AssetLiteResource
|
|
32
|
+
*/
|
|
33
|
+
fileId?: string | null;
|
|
28
34
|
/**
|
|
29
35
|
*
|
|
30
36
|
* @type {string}
|
|
@@ -37,6 +43,12 @@ export interface AssetLiteResource {
|
|
|
37
43
|
* @memberof AssetLiteResource
|
|
38
44
|
*/
|
|
39
45
|
fileName: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof AssetLiteResource
|
|
50
|
+
*/
|
|
51
|
+
mimeType: string;
|
|
40
52
|
/**
|
|
41
53
|
*
|
|
42
54
|
* @type {string}
|
|
@@ -52,6 +64,7 @@ export function instanceOfAssetLiteResource(value: object): value is AssetLiteRe
|
|
|
52
64
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
65
|
if (!('filePath' in value) || value['filePath'] === undefined) return false;
|
|
54
66
|
if (!('fileName' in value) || value['fileName'] === undefined) return false;
|
|
67
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
55
68
|
if (!('altText' in value) || value['altText'] === undefined) return false;
|
|
56
69
|
return true;
|
|
57
70
|
}
|
|
@@ -67,8 +80,10 @@ export function AssetLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
67
80
|
return {
|
|
68
81
|
|
|
69
82
|
'id': json['id'],
|
|
83
|
+
'fileId': json['fileId'] == null ? undefined : json['fileId'],
|
|
70
84
|
'filePath': json['filePath'],
|
|
71
85
|
'fileName': json['fileName'],
|
|
86
|
+
'mimeType': json['mimeType'],
|
|
72
87
|
'altText': json['altText'],
|
|
73
88
|
};
|
|
74
89
|
}
|
|
@@ -85,8 +100,10 @@ export function AssetLiteResourceToJSONTyped(value?: AssetLiteResource | null, i
|
|
|
85
100
|
return {
|
|
86
101
|
|
|
87
102
|
'id': value['id'],
|
|
103
|
+
'fileId': value['fileId'],
|
|
88
104
|
'filePath': value['filePath'],
|
|
89
105
|
'fileName': value['fileName'],
|
|
106
|
+
'mimeType': value['mimeType'],
|
|
90
107
|
'altText': value['altText'],
|
|
91
108
|
};
|
|
92
109
|
}
|