@wix/auto_sdk_form-templates_form-templates 1.0.11 → 1.0.13

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.
Files changed (44) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +4 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +3 -1
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/es/index.d.mts +1 -1
  8. package/build/es/index.mjs.map +1 -1
  9. package/build/es/index.typings.d.mts +4 -2
  10. package/build/es/index.typings.mjs.map +1 -1
  11. package/build/es/meta.d.mts +3 -1
  12. package/build/es/meta.mjs.map +1 -1
  13. package/build/internal/cjs/index.d.ts +1 -1
  14. package/build/internal/cjs/index.typings.d.ts +4 -2
  15. package/build/internal/cjs/meta.d.ts +3 -1
  16. package/build/internal/es/index.d.mts +1 -1
  17. package/build/internal/es/index.typings.d.mts +4 -2
  18. package/build/internal/es/meta.d.mts +3 -1
  19. package/package.json +4 -11
  20. package/build/cjs/schemas.d.ts +0 -1937
  21. package/build/cjs/schemas.js +0 -3274
  22. package/build/cjs/schemas.js.map +0 -1
  23. package/build/es/schemas.d.mts +0 -1937
  24. package/build/es/schemas.mjs +0 -3236
  25. package/build/es/schemas.mjs.map +0 -1
  26. package/build/internal/cjs/index.js +0 -15534
  27. package/build/internal/cjs/index.js.map +0 -1
  28. package/build/internal/cjs/index.typings.js +0 -15520
  29. package/build/internal/cjs/index.typings.js.map +0 -1
  30. package/build/internal/cjs/meta.js +0 -15292
  31. package/build/internal/cjs/meta.js.map +0 -1
  32. package/build/internal/cjs/schemas.d.ts +0 -1937
  33. package/build/internal/cjs/schemas.js +0 -3274
  34. package/build/internal/cjs/schemas.js.map +0 -1
  35. package/build/internal/es/index.mjs +0 -15400
  36. package/build/internal/es/index.mjs.map +0 -1
  37. package/build/internal/es/index.typings.mjs +0 -15386
  38. package/build/internal/es/index.typings.mjs.map +0 -1
  39. package/build/internal/es/meta.mjs +0 -15155
  40. package/build/internal/es/meta.mjs.map +0 -1
  41. package/build/internal/es/schemas.d.mts +0 -1937
  42. package/build/internal/es/schemas.mjs +0 -3236
  43. package/build/internal/es/schemas.mjs.map +0 -1
  44. package/schemas/package.json +0 -3
@@ -98,7 +98,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
98
98
  * Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
99
99
  *
100
100
  * Set this to the known value for the kind of field you're creating.
101
- * An unrecognized value, such as a custom string or a GUID, is dropped rather than rejected: the request still succeeds, but the field doesn't appear in the response's `formFields`, and neither the field nor its submitted values appear in the Wix dashboard.
101
+ * Wix accepts an unrecognized value, such as a custom string or a GUID: the request succeeds, and Wix stores the field, returns it in `formFields`, and accepts its submissions. But Wix apps use `identifier` to recognize a field, so the Wix Forms editor doesn't render it, and the Wix user can't see or edit that field. A form whose fields all carry unrecognized identifiers opens empty in the editor. Always map a field onto a known identifier, and set its display name with the component's label.
102
102
  *
103
103
  * Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
104
104
  * For example, both a short answer field and a long answer field use the `TEXT_INPUT` component, and are told apart by their `TEXT_INPUT` and `TEXT_AREA` identifiers.
@@ -192,6 +192,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
192
192
  /**
193
193
  * Whether the field is required for form submission.
194
194
  *
195
+ * Set this on `inputOptions`, alongside `target` and `inputType`. A `required` placed inside a validation object, such as `stringOptions.validation`, isn't part of the schema and has no effect.
196
+ *
195
197
  * Default: `false`
196
198
  */
197
199
  required?: boolean;
@@ -5845,7 +5847,7 @@ interface ListFormTemplatesResponse {
5845
5847
  * @returns Templates per namespace are hard-limited to a single page (AIP-4003), so the response isn't paged.
5846
5848
  * @fqn wix.forms.templates.v2.FormTemplatesService.ListFormTemplates
5847
5849
  */
5848
- declare function listFormTemplates(namespace: string, options?: ListFormTemplatesOptions): Promise<NonNullablePaths<ListFormTemplatesResponse, `templates` | `templates.${number}.namespace` | `templates.${number}.submitSettings.redirectOptions.target` | `templates.${number}.submitSettings.popupOptions.popupId` | `templates.${number}.submitSettings.submitSuccessAction` | `templates.${number}.requiredIndicatorProperties.requiredIndicator` | `templates.${number}.requiredIndicatorProperties.requiredIndicatorPlacement` | `templates.${number}.autoFillContact` | `templates.${number}.quizSettings.passingScorePoints` | `templates.${number}.quizSettings.passingScorePercentage` | `templates.${number}.quizSettings.resultsDisplay`, 6>>;
5850
+ declare function listFormTemplates(namespace: string, options?: ListFormTemplatesOptions): Promise<NonNullablePaths<ListFormTemplatesResponse, `templates` | `templates.${number}.namespace` | `templates.${number}.submitSettings.redirectOptions.target` | `templates.${number}.submitSettings.popupOptions.popupId` | `templates.${number}.submitSettings.submitSuccessAction` | `templates.${number}.requiredIndicatorProperties.requiredIndicator` | `templates.${number}.requiredIndicatorProperties.requiredIndicatorPlacement` | `templates.${number}.autoFillContact` | `templates.${number}.quizSettings.passingScorePoints` | `templates.${number}.quizSettings.passingScorePercentage` | `templates.${number}.quizSettings.resultsDisplay`, 4>>;
5849
5851
  interface ListFormTemplatesOptions {
5850
5852
  /**
5851
5853
  * IDs of the specific templates to retrieve within the namespace. When omitted, all templates in