@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.
@@ -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
  }