@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
|
@@ -16,7 +16,7 @@ interface ListFormTemplatesSignature {
|
|
|
16
16
|
* the app that owns the templates in the app dashboard.
|
|
17
17
|
* @returns Templates per namespace are hard-limited to a single page (AIP-4003), so the response isn't paged.
|
|
18
18
|
*/
|
|
19
|
-
(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`,
|
|
19
|
+
(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>>;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
declare const listFormTemplates: MaybeContext<BuildRESTFunction<typeof listFormTemplates$1> & typeof listFormTemplates$1>;
|
|
@@ -146,7 +146,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
|
|
|
146
146
|
* Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
|
|
147
147
|
*
|
|
148
148
|
* Set this to the known value for the kind of field you're creating.
|
|
149
|
-
*
|
|
149
|
+
* 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.
|
|
150
150
|
*
|
|
151
151
|
* Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
|
|
152
152
|
* 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.
|
|
@@ -250,6 +250,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
250
250
|
/**
|
|
251
251
|
* Whether the field is required for form submission.
|
|
252
252
|
*
|
|
253
|
+
* 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.
|
|
254
|
+
*
|
|
253
255
|
* Default: `false`
|
|
254
256
|
*/
|
|
255
257
|
required?: boolean;
|
|
@@ -5983,7 +5985,7 @@ interface ListFormTemplatesResponse {
|
|
|
5983
5985
|
* @returns Templates per namespace are hard-limited to a single page (AIP-4003), so the response isn't paged.
|
|
5984
5986
|
* @fqn wix.forms.templates.v2.FormTemplatesService.ListFormTemplates
|
|
5985
5987
|
*/
|
|
5986
|
-
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`,
|
|
5988
|
+
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>>;
|
|
5987
5989
|
interface ListFormTemplatesOptions {
|
|
5988
5990
|
/**
|
|
5989
5991
|
* IDs of the specific templates to retrieve within the namespace. When omitted, all templates in
|
|
@@ -147,7 +147,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
|
|
|
147
147
|
* Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
|
|
148
148
|
*
|
|
149
149
|
* Set this to the known value for the kind of field you're creating.
|
|
150
|
-
*
|
|
150
|
+
* 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.
|
|
151
151
|
*
|
|
152
152
|
* Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
|
|
153
153
|
* 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.
|
|
@@ -251,6 +251,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
251
251
|
/**
|
|
252
252
|
* Whether the field is required for form submission.
|
|
253
253
|
*
|
|
254
|
+
* 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.
|
|
255
|
+
*
|
|
254
256
|
* Default: `false`
|
|
255
257
|
*/
|
|
256
258
|
required?: boolean;
|
|
@@ -16,7 +16,7 @@ interface ListFormTemplatesSignature {
|
|
|
16
16
|
* the app that owns the templates in the app dashboard.
|
|
17
17
|
* @returns Templates per namespace are hard-limited to a single page (AIP-4003), so the response isn't paged.
|
|
18
18
|
*/
|
|
19
|
-
(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`,
|
|
19
|
+
(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>>;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
declare const listFormTemplates: MaybeContext<BuildRESTFunction<typeof listFormTemplates$1> & typeof listFormTemplates$1>;
|
|
@@ -146,7 +146,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
|
|
|
146
146
|
* Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
|
|
147
147
|
*
|
|
148
148
|
* Set this to the known value for the kind of field you're creating.
|
|
149
|
-
*
|
|
149
|
+
* 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.
|
|
150
150
|
*
|
|
151
151
|
* Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
|
|
152
152
|
* 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.
|
|
@@ -250,6 +250,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
250
250
|
/**
|
|
251
251
|
* Whether the field is required for form submission.
|
|
252
252
|
*
|
|
253
|
+
* 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.
|
|
254
|
+
*
|
|
253
255
|
* Default: `false`
|
|
254
256
|
*/
|
|
255
257
|
required?: boolean;
|
|
@@ -5983,7 +5985,7 @@ interface ListFormTemplatesResponse {
|
|
|
5983
5985
|
* @returns Templates per namespace are hard-limited to a single page (AIP-4003), so the response isn't paged.
|
|
5984
5986
|
* @fqn wix.forms.templates.v2.FormTemplatesService.ListFormTemplates
|
|
5985
5987
|
*/
|
|
5986
|
-
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`,
|
|
5988
|
+
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>>;
|
|
5987
5989
|
interface ListFormTemplatesOptions {
|
|
5988
5990
|
/**
|
|
5989
5991
|
* IDs of the specific templates to retrieve within the namespace. When omitted, all templates in
|
|
@@ -147,7 +147,7 @@ interface Field extends FieldFieldTypeOptionsOneOf {
|
|
|
147
147
|
* Identification for the field, describing its purpose. For example, `TEXT_INPUT` or `CONTACTS_EMAIL`.
|
|
148
148
|
*
|
|
149
149
|
* Set this to the known value for the kind of field you're creating.
|
|
150
|
-
*
|
|
150
|
+
* 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.
|
|
151
151
|
*
|
|
152
152
|
* Several fields share a general-purpose `componentType`, so `identifier` is often the only value that distinguishes them.
|
|
153
153
|
* 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.
|
|
@@ -251,6 +251,8 @@ interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
251
251
|
/**
|
|
252
252
|
* Whether the field is required for form submission.
|
|
253
253
|
*
|
|
254
|
+
* 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.
|
|
255
|
+
*
|
|
254
256
|
* Default: `false`
|
|
255
257
|
*/
|
|
256
258
|
required?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_form-templates_form-templates",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
-
},
|
|
25
|
-
"./schemas": {
|
|
26
|
-
"import": "./build/es/schemas.mjs",
|
|
27
|
-
"require": "./build/cjs/schemas.js",
|
|
28
|
-
"types": "./build/es/schemas.d.mts"
|
|
29
24
|
}
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"build",
|
|
33
28
|
"meta",
|
|
34
|
-
"service-plugins"
|
|
35
|
-
"schemas"
|
|
29
|
+
"service-plugins"
|
|
36
30
|
],
|
|
37
31
|
"dependencies": {
|
|
38
32
|
"@wix/sdk-runtime": "^1.0.24",
|
|
39
|
-
"@wix/sdk-types": "^1.17.11"
|
|
40
|
-
"zod": "^4.3.6"
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
36
|
"tsup": "^8.4.0",
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"fqdn": "wix.forms.v2.form_template"
|
|
58
51
|
}
|
|
59
52
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "c75a033f09627ccf2aea5f66781b093ce8641ffd237d01d614f648c5"
|
|
61
54
|
}
|