@wix/forms 1.0.101 → 1.0.103
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/context.d.ts +3 -0
- package/build/cjs/context.js +30 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +3 -0
- package/build/cjs/index.js +30 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.d.ts +3 -0
- package/build/cjs/meta.js +30 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/context.d.ts +3 -0
- package/build/es/context.js +4 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +3 -0
- package/build/es/index.js +4 -0
- package/build/es/index.js.map +1 -0
- package/build/es/meta.d.ts +3 -0
- package/build/es/meta.js +4 -0
- package/build/es/meta.js.map +1 -0
- package/package.json +12 -8
- package/type-bundles/context.bundle.d.ts +282 -0
- package/type-bundles/index.bundle.d.ts +6140 -0
- package/type-bundles/meta.bundle.d.ts +8458 -0
- package/type-bundles/service-plugins-context.bundle.d.ts +7 -8
- package/type-bundles/service-plugins.bundle.d.ts +5 -0
|
@@ -64,6 +64,11 @@ interface FormSubmission {
|
|
|
64
64
|
* <b>Note</b>: This object is only applicable when submittng a form in the Wix Payments app.
|
|
65
65
|
*/
|
|
66
66
|
orderDetails?: OrderDetails;
|
|
67
|
+
/**
|
|
68
|
+
* Contact ID. Member who created the submission, or a mapped contact.
|
|
69
|
+
* @readonly
|
|
70
|
+
*/
|
|
71
|
+
contactId?: string | null;
|
|
67
72
|
}
|
|
68
73
|
declare enum SubmissionStatus {
|
|
69
74
|
UNDEFINED = "UNDEFINED",
|
|
@@ -305,15 +310,9 @@ declare global {
|
|
|
305
310
|
}
|
|
306
311
|
}
|
|
307
312
|
|
|
308
|
-
|
|
309
|
-
request: ValidateSubmissionRequest;
|
|
310
|
-
metadata: Context;
|
|
311
|
-
}
|
|
312
|
-
declare const provideHandlers$1: ServicePluginDefinition<{
|
|
313
|
-
validateSubmission(payload: ValidateSubmissionEnvelope): ValidateSubmissionResponse | Promise<ValidateSubmissionResponse>;
|
|
314
|
-
}>;
|
|
313
|
+
declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
|
|
315
314
|
|
|
316
|
-
declare const provideHandlers:
|
|
315
|
+
declare const provideHandlers: ReturnType<typeof createServicePluginModule<typeof publicProvideHandlers>>;
|
|
317
316
|
|
|
318
317
|
type context_ActionType = ActionType;
|
|
319
318
|
declare const context_ActionType: typeof ActionType;
|
|
@@ -64,6 +64,11 @@ interface FormSubmission {
|
|
|
64
64
|
* <b>Note</b>: This object is only applicable when submittng a form in the Wix Payments app.
|
|
65
65
|
*/
|
|
66
66
|
orderDetails?: OrderDetails;
|
|
67
|
+
/**
|
|
68
|
+
* Contact ID. Member who created the submission, or a mapped contact.
|
|
69
|
+
* @readonly
|
|
70
|
+
*/
|
|
71
|
+
contactId?: string | null;
|
|
67
72
|
}
|
|
68
73
|
declare enum SubmissionStatus {
|
|
69
74
|
UNDEFINED = "UNDEFINED",
|