@managespace/sdk 0.0.72 → 0.0.73
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/dist/generated/models/field-preferences.d.ts +0 -6
- package/dist/generated/models/field-preferences.d.ts.map +1 -1
- package/dist/generated/models/field-preferences.js +0 -2
- package/dist/generated/models/template-field.d.ts +1 -1
- package/dist/generated/models/template-field.d.ts.map +1 -1
- package/dist/generated/models/template-field.js +1 -3
- package/package.json +1 -1
- package/src/generated/models/field-preferences.ts +0 -8
- package/src/generated/models/template-field.ts +2 -3
|
@@ -33,12 +33,6 @@ export interface FieldPreferences {
|
|
|
33
33
|
* @memberof FieldPreferences
|
|
34
34
|
*/
|
|
35
35
|
format?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Whether the field is required or not
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof FieldPreferences
|
|
40
|
-
*/
|
|
41
|
-
required?: boolean;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the FieldPreferences interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/models/field-preferences.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"field-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/models/field-preferences.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAUvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtH"}
|
|
@@ -33,7 +33,6 @@ function FieldPreferencesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'fontSize': json['fontSize'] == null ? undefined : json['fontSize'],
|
|
34
34
|
'colour': json['colour'] == null ? undefined : json['colour'],
|
|
35
35
|
'format': json['format'] == null ? undefined : json['format'],
|
|
36
|
-
'required': json['required'] == null ? undefined : json['required'],
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
exports.FieldPreferencesFromJSONTyped = FieldPreferencesFromJSONTyped;
|
|
@@ -49,7 +48,6 @@ function FieldPreferencesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
49
48
|
'fontSize': value['fontSize'],
|
|
50
49
|
'colour': value['colour'],
|
|
51
50
|
'format': value['format'],
|
|
52
|
-
'required': value['required'],
|
|
53
51
|
};
|
|
54
52
|
}
|
|
55
53
|
exports.FieldPreferencesToJSONTyped = FieldPreferencesToJSONTyped;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-field.d.ts","sourceRoot":"","sources":["../../../src/generated/models/template-field.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACxB;;;;OAIG;IACH,WAAW,EAAE,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-field.d.ts","sourceRoot":"","sources":["../../../src/generated/models/template-field.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQ9C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAID;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAM7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAYjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahH"}
|
|
@@ -29,8 +29,6 @@ function instanceOfTemplateField(value) {
|
|
|
29
29
|
return false;
|
|
30
30
|
if (!('areas' in value) || value['areas'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
-
if (!('preferences' in value) || value['preferences'] === undefined)
|
|
33
|
-
return false;
|
|
34
32
|
return true;
|
|
35
33
|
}
|
|
36
34
|
exports.instanceOfTemplateField = instanceOfTemplateField;
|
|
@@ -47,7 +45,7 @@ function TemplateFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
45
|
'name': json['name'],
|
|
48
46
|
'type': (0, field_type_1.FieldTypeFromJSON)(json['type']),
|
|
49
47
|
'areas': (json['areas'].map(field_area_1.FieldAreaFromJSON)),
|
|
50
|
-
'preferences': (0, field_preferences_1.FieldPreferencesFromJSON)(json['preferences']),
|
|
48
|
+
'preferences': json['preferences'] == null ? undefined : (0, field_preferences_1.FieldPreferencesFromJSON)(json['preferences']),
|
|
51
49
|
};
|
|
52
50
|
}
|
|
53
51
|
exports.TemplateFieldFromJSONTyped = TemplateFieldFromJSONTyped;
|
package/package.json
CHANGED
|
@@ -37,12 +37,6 @@ export interface FieldPreferences {
|
|
|
37
37
|
* @memberof FieldPreferences
|
|
38
38
|
*/
|
|
39
39
|
format?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Whether the field is required or not
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof FieldPreferences
|
|
44
|
-
*/
|
|
45
|
-
required?: boolean;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
/**
|
|
@@ -65,7 +59,6 @@ export function FieldPreferencesFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
65
59
|
'fontSize': json['fontSize'] == null ? undefined : json['fontSize'],
|
|
66
60
|
'colour': json['colour'] == null ? undefined : json['colour'],
|
|
67
61
|
'format': json['format'] == null ? undefined : json['format'],
|
|
68
|
-
'required': json['required'] == null ? undefined : json['required'],
|
|
69
62
|
};
|
|
70
63
|
}
|
|
71
64
|
|
|
@@ -83,7 +76,6 @@ export function FieldPreferencesToJSONTyped(value?: FieldPreferences | null, ign
|
|
|
83
76
|
'fontSize': value['fontSize'],
|
|
84
77
|
'colour': value['colour'],
|
|
85
78
|
'format': value['format'],
|
|
86
|
-
'required': value['required'],
|
|
87
79
|
};
|
|
88
80
|
}
|
|
89
81
|
|
|
@@ -70,7 +70,7 @@ export interface TemplateField {
|
|
|
70
70
|
* @type {FieldPreferences}
|
|
71
71
|
* @memberof TemplateField
|
|
72
72
|
*/
|
|
73
|
-
preferences
|
|
73
|
+
preferences?: FieldPreferences;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
|
|
@@ -83,7 +83,6 @@ export function instanceOfTemplateField(value: object): value is TemplateField {
|
|
|
83
83
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
84
84
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
85
85
|
if (!('areas' in value) || value['areas'] === undefined) return false;
|
|
86
|
-
if (!('preferences' in value) || value['preferences'] === undefined) return false;
|
|
87
86
|
return true;
|
|
88
87
|
}
|
|
89
88
|
|
|
@@ -101,7 +100,7 @@ export function TemplateFieldFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
101
100
|
'name': json['name'],
|
|
102
101
|
'type': FieldTypeFromJSON(json['type']),
|
|
103
102
|
'areas': ((json['areas'] as Array<any>).map(FieldAreaFromJSON)),
|
|
104
|
-
'preferences': FieldPreferencesFromJSON(json['preferences']),
|
|
103
|
+
'preferences': json['preferences'] == null ? undefined : FieldPreferencesFromJSON(json['preferences']),
|
|
105
104
|
};
|
|
106
105
|
}
|
|
107
106
|
|