@cirrobio/api-client 0.0.32-alpha → 0.0.33-alpha
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 +1 -1
- package/dist/models/Reference.d.ts +6 -0
- package/dist/models/Reference.js +3 -0
- package/package.json +1 -1
- package/src/models/Reference.ts +9 -0
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cirrobio/api-client@0.0.
|
|
39
|
+
npm install @cirrobio/api-client@0.0.33-alpha --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/models/Reference.js
CHANGED
|
@@ -22,6 +22,7 @@ function instanceOfReference(value) {
|
|
|
22
22
|
var isInstance = true;
|
|
23
23
|
isInstance = isInstance && "id" in value;
|
|
24
24
|
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "description" in value;
|
|
25
26
|
isInstance = isInstance && "type" in value;
|
|
26
27
|
isInstance = isInstance && "files" in value;
|
|
27
28
|
isInstance = isInstance && "createdBy" in value;
|
|
@@ -40,6 +41,7 @@ function ReferenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
41
|
return {
|
|
41
42
|
'id': json['id'],
|
|
42
43
|
'name': json['name'],
|
|
44
|
+
'description': json['description'],
|
|
43
45
|
'type': json['type'],
|
|
44
46
|
'files': (json['files'].map(FileEntry_1.FileEntryFromJSON)),
|
|
45
47
|
'createdBy': json['createdBy'],
|
|
@@ -57,6 +59,7 @@ function ReferenceToJSON(value) {
|
|
|
57
59
|
return {
|
|
58
60
|
'id': value.id,
|
|
59
61
|
'name': value.name,
|
|
62
|
+
'description': value.description,
|
|
60
63
|
'type': value.type,
|
|
61
64
|
'files': (value.files.map(FileEntry_1.FileEntryToJSON)),
|
|
62
65
|
'createdBy': value.createdBy,
|
package/package.json
CHANGED
package/src/models/Reference.ts
CHANGED
|
@@ -38,6 +38,12 @@ export interface Reference {
|
|
|
38
38
|
* @memberof Reference
|
|
39
39
|
*/
|
|
40
40
|
name: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Reference
|
|
45
|
+
*/
|
|
46
|
+
description: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {string}
|
|
@@ -71,6 +77,7 @@ export function instanceOfReference(value: object): boolean {
|
|
|
71
77
|
let isInstance = true;
|
|
72
78
|
isInstance = isInstance && "id" in value;
|
|
73
79
|
isInstance = isInstance && "name" in value;
|
|
80
|
+
isInstance = isInstance && "description" in value;
|
|
74
81
|
isInstance = isInstance && "type" in value;
|
|
75
82
|
isInstance = isInstance && "files" in value;
|
|
76
83
|
isInstance = isInstance && "createdBy" in value;
|
|
@@ -91,6 +98,7 @@ export function ReferenceFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
91
98
|
|
|
92
99
|
'id': json['id'],
|
|
93
100
|
'name': json['name'],
|
|
101
|
+
'description': json['description'],
|
|
94
102
|
'type': json['type'],
|
|
95
103
|
'files': ((json['files'] as Array<any>).map(FileEntryFromJSON)),
|
|
96
104
|
'createdBy': json['createdBy'],
|
|
@@ -109,6 +117,7 @@ export function ReferenceToJSON(value?: Reference | null): any {
|
|
|
109
117
|
|
|
110
118
|
'id': value.id,
|
|
111
119
|
'name': value.name,
|
|
120
|
+
'description': value.description,
|
|
112
121
|
'type': value.type,
|
|
113
122
|
'files': ((value.files as Array<any>).map(FileEntryToJSON)),
|
|
114
123
|
'createdBy': value.createdBy,
|