@vendasta/forms_microservice 0.8.0 → 0.9.0
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/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/fesm2015/vendasta-forms_microservice.mjs +6 -0
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +6 -0
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +2 -0
- package/lib/_internal/objects/api.d.ts +2 -0
- package/package.json +1 -1
|
@@ -922,6 +922,9 @@ class MappedField {
|
|
|
922
922
|
if (typeof this.type !== 'undefined') {
|
|
923
923
|
toReturn['type'] = this.type;
|
|
924
924
|
}
|
|
925
|
+
if (typeof this.name !== 'undefined') {
|
|
926
|
+
toReturn['name'] = this.name;
|
|
927
|
+
}
|
|
925
928
|
if (typeof this.options !== 'undefined' && this.options !== null) {
|
|
926
929
|
toReturn['options'] = 'toApiJson' in this.options ? this.options.toApiJson() : this.options;
|
|
927
930
|
}
|
|
@@ -931,6 +934,9 @@ class MappedField {
|
|
|
931
934
|
if (typeof this.systemDefined !== 'undefined' && this.systemDefined !== null) {
|
|
932
935
|
toReturn['systemDefined'] = 'toApiJson' in this.systemDefined ? this.systemDefined.toApiJson() : this.systemDefined;
|
|
933
936
|
}
|
|
937
|
+
if (typeof this.readonly !== 'undefined') {
|
|
938
|
+
toReturn['readonly'] = this.readonly;
|
|
939
|
+
}
|
|
934
940
|
return toReturn;
|
|
935
941
|
}
|
|
936
942
|
}
|