@wix/forms 1.0.99 → 1.0.101
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/package.json +5 -6
- package/type-bundles/service-plugins-context.bundle.d.ts +12 -5
- package/type-bundles/service-plugins.bundle.d.ts +12 -5
- package/build/cjs/context.d.ts +0 -2
- package/build/cjs/context.js +0 -29
- package/build/cjs/context.js.map +0 -1
- package/build/cjs/index.d.ts +0 -2
- package/build/cjs/index.js +0 -29
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -2
- package/build/cjs/meta.js +0 -29
- package/build/cjs/meta.js.map +0 -1
- package/build/es/context.d.ts +0 -2
- package/build/es/context.js +0 -3
- package/build/es/context.js.map +0 -1
- package/build/es/index.d.ts +0 -2
- package/build/es/index.js +0 -3
- package/build/es/index.js.map +0 -1
- package/build/es/meta.d.ts +0 -2
- package/build/es/meta.js +0 -3
- package/build/es/meta.js.map +0 -1
- package/type-bundles/context.bundle.d.ts +0 -1095
- package/type-bundles/index.bundle.d.ts +0 -4950
- package/type-bundles/meta.bundle.d.ts +0 -1624
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/forms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.101",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -19,14 +19,13 @@
|
|
|
19
19
|
"service-plugins"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@wix/forms_form-submissions": "1.0.
|
|
22
|
+
"@wix/forms_form-submissions": "1.0.2",
|
|
23
23
|
"@wix/metro-runtime": "^1.1696.0",
|
|
24
24
|
"@wix/motion-edm-autogen-query-wrapper": "^1.0.37",
|
|
25
|
-
"@wix/sdk-runtime": "^0.
|
|
26
|
-
"@wix/sdk-types": "^1.
|
|
25
|
+
"@wix/sdk-runtime": "^0.3.3",
|
|
26
|
+
"@wix/sdk-types": "^1.9.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
30
29
|
"glob": "^10.4.1",
|
|
31
30
|
"rollup": "^4.18.0",
|
|
32
31
|
"rollup-plugin-dts": "^6.1.1",
|
|
@@ -43,5 +42,5 @@
|
|
|
43
42
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
44
43
|
}
|
|
45
44
|
},
|
|
46
|
-
"falconPackageHash": "
|
|
45
|
+
"falconPackageHash": "da1f8554820b1c54a04ff7769974c569835335fd0982a55923feacbe"
|
|
47
46
|
}
|
|
@@ -234,15 +234,15 @@ interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
234
234
|
* ```
|
|
235
235
|
*/
|
|
236
236
|
interface Context {
|
|
237
|
-
/** A unique identifier
|
|
237
|
+
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
238
238
|
requestId?: string | null;
|
|
239
|
-
/**
|
|
239
|
+
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
240
240
|
currency?: string | null;
|
|
241
|
-
/**
|
|
241
|
+
/** An object that describes the identity that triggered this request. */
|
|
242
242
|
identity?: IdentificationData;
|
|
243
|
-
/** A string representing a language and region in the format of "xx-XX"
|
|
243
|
+
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
244
244
|
languages?: string[];
|
|
245
|
-
/**
|
|
245
|
+
/** The service provider app's instance ID. */
|
|
246
246
|
instanceId?: string | null;
|
|
247
247
|
}
|
|
248
248
|
declare enum IdentityType {
|
|
@@ -298,6 +298,13 @@ type ServicePluginDefinition<Contract extends ServicePluginContract> = {
|
|
|
298
298
|
declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
|
|
299
299
|
type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
|
|
300
300
|
|
|
301
|
+
declare global {
|
|
302
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
303
|
+
interface SymbolConstructor {
|
|
304
|
+
readonly observable: symbol;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
301
308
|
interface ValidateSubmissionEnvelope {
|
|
302
309
|
request: ValidateSubmissionRequest;
|
|
303
310
|
metadata: Context;
|
|
@@ -234,15 +234,15 @@ interface FormsSubmissionsExtensionNamespaceConfig {
|
|
|
234
234
|
* ```
|
|
235
235
|
*/
|
|
236
236
|
interface Context {
|
|
237
|
-
/** A unique identifier
|
|
237
|
+
/** A unique identifier of the request. You may print this ID to your logs to help with future debugging and easier correlation with Wix's logs. */
|
|
238
238
|
requestId?: string | null;
|
|
239
|
-
/**
|
|
239
|
+
/** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) 3-letter currency code. */
|
|
240
240
|
currency?: string | null;
|
|
241
|
-
/**
|
|
241
|
+
/** An object that describes the identity that triggered this request. */
|
|
242
242
|
identity?: IdentificationData;
|
|
243
|
-
/** A string representing a language and region in the format of "xx-XX"
|
|
243
|
+
/** A string representing a language and region in the format of `"xx-XX"`. First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2. For example, `"en-US"`. */
|
|
244
244
|
languages?: string[];
|
|
245
|
-
/**
|
|
245
|
+
/** The service provider app's instance ID. */
|
|
246
246
|
instanceId?: string | null;
|
|
247
247
|
}
|
|
248
248
|
declare enum IdentityType {
|
|
@@ -297,6 +297,13 @@ type ServicePluginDefinition<Contract extends ServicePluginContract> = {
|
|
|
297
297
|
};
|
|
298
298
|
declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
|
|
299
299
|
|
|
300
|
+
declare global {
|
|
301
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
302
|
+
interface SymbolConstructor {
|
|
303
|
+
readonly observable: symbol;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
300
307
|
interface ValidateSubmissionEnvelope {
|
|
301
308
|
request: ValidateSubmissionRequest;
|
|
302
309
|
metadata: Context;
|
package/build/cjs/context.d.ts
DELETED
package/build/cjs/context.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submissionsExtensionSpi = exports.submissions = void 0;
|
|
27
|
-
exports.submissions = __importStar(require("@wix/forms_submissions/context"));
|
|
28
|
-
exports.submissionsExtensionSpi = __importStar(require("@wix/forms_submissions-extension-spi/context"));
|
|
29
|
-
//# sourceMappingURL=context.js.map
|
package/build/cjs/context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8EAA8D;AAC9D,wGAAwF"}
|
package/build/cjs/index.d.ts
DELETED
package/build/cjs/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submissionsExtensionSpi = exports.submissions = void 0;
|
|
27
|
-
exports.submissions = __importStar(require("@wix/forms_submissions"));
|
|
28
|
-
exports.submissionsExtensionSpi = __importStar(require("@wix/forms_submissions-extension-spi"));
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAsD;AACtD,gGAAgF"}
|
package/build/cjs/meta.d.ts
DELETED
package/build/cjs/meta.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submissionsExtensionSpi = exports.submissions = void 0;
|
|
27
|
-
exports.submissions = __importStar(require("@wix/forms_submissions/meta"));
|
|
28
|
-
exports.submissionsExtensionSpi = __importStar(require("@wix/forms_submissions-extension-spi/meta"));
|
|
29
|
-
//# sourceMappingURL=meta.js.map
|
package/build/cjs/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2EAA2D;AAC3D,qGAAqF"}
|
package/build/es/context.d.ts
DELETED
package/build/es/context.js
DELETED
package/build/es/context.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,uBAAuB,MAAM,8CAA8C,CAAC"}
|
package/build/es/index.d.ts
DELETED
package/build/es/index.js
DELETED
package/build/es/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC"}
|
package/build/es/meta.d.ts
DELETED
package/build/es/meta.js
DELETED
package/build/es/meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,uBAAuB,MAAM,2CAA2C,CAAC"}
|