@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -2
- package/build/internal/cjs/meta.d.ts +3 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +4 -2
- package/build/internal/es/meta.d.mts +3 -1
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -1937
- package/build/cjs/schemas.js +0 -3274
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -1937
- package/build/es/schemas.mjs +0 -3236
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -15534
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -15520
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -15292
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -1937
- package/build/internal/cjs/schemas.js +0 -3274
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -15400
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -15386
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -15155
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -1937
- package/build/internal/es/schemas.mjs +0 -3236
- package/build/internal/es/schemas.mjs.map +0 -1
- 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
|
-
*
|
|
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`,
|
|
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
|