@wix/sdk-types 1.16.0 → 1.17.1
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.
|
@@ -58,6 +58,13 @@ type Host<Environment = unknown> = {
|
|
|
58
58
|
*/
|
|
59
59
|
passThroughHeaders?: Record<string, string>;
|
|
60
60
|
};
|
|
61
|
+
translations?: () => {
|
|
62
|
+
[language: string]: {
|
|
63
|
+
[namespace: string]: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
} | undefined;
|
|
61
68
|
};
|
|
62
69
|
|
|
63
70
|
type HTTPMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
package/build/index.d.mts
CHANGED
|
@@ -58,6 +58,13 @@ type Host<Environment = unknown> = {
|
|
|
58
58
|
*/
|
|
59
59
|
passThroughHeaders?: Record<string, string>;
|
|
60
60
|
};
|
|
61
|
+
translations?: () => {
|
|
62
|
+
[language: string]: {
|
|
63
|
+
[namespace: string]: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
} | undefined;
|
|
61
68
|
};
|
|
62
69
|
|
|
63
70
|
type HTTPMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
package/build/index.d.ts
CHANGED
|
@@ -58,6 +58,13 @@ type Host<Environment = unknown> = {
|
|
|
58
58
|
*/
|
|
59
59
|
passThroughHeaders?: Record<string, string>;
|
|
60
60
|
};
|
|
61
|
+
translations?: () => {
|
|
62
|
+
[language: string]: {
|
|
63
|
+
[namespace: string]: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
} | undefined;
|
|
61
68
|
};
|
|
62
69
|
|
|
63
70
|
type HTTPMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
@@ -116,6 +116,13 @@ type Host<Environment = unknown> = {
|
|
|
116
116
|
*/
|
|
117
117
|
passThroughHeaders?: Record<string, string>;
|
|
118
118
|
};
|
|
119
|
+
translations?: () => {
|
|
120
|
+
[language: string]: {
|
|
121
|
+
[namespace: string]: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
} | undefined;
|
|
119
126
|
};
|
|
120
127
|
|
|
121
128
|
type HTTPMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
@@ -116,6 +116,13 @@ type Host<Environment = unknown> = {
|
|
|
116
116
|
*/
|
|
117
117
|
passThroughHeaders?: Record<string, string>;
|
|
118
118
|
};
|
|
119
|
+
translations?: () => {
|
|
120
|
+
[language: string]: {
|
|
121
|
+
[namespace: string]: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
} | undefined;
|
|
119
126
|
};
|
|
120
127
|
|
|
121
128
|
type HTTPMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
@@ -116,6 +116,13 @@ type Host<Environment = unknown> = {
|
|
|
116
116
|
*/
|
|
117
117
|
passThroughHeaders?: Record<string, string>;
|
|
118
118
|
};
|
|
119
|
+
translations?: () => {
|
|
120
|
+
[language: string]: {
|
|
121
|
+
[namespace: string]: {
|
|
122
|
+
[key: string]: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
} | undefined;
|
|
119
126
|
};
|
|
120
127
|
|
|
121
128
|
type HTTPMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
package/package.json
CHANGED
|
@@ -1,34 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/sdk-types",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.16.0",
|
|
3
|
+
"version": "1.17.1",
|
|
5
4
|
"author": {
|
|
6
5
|
"name": "Ronny Ringel",
|
|
7
6
|
"email": "ronnyr@wix.com"
|
|
8
7
|
},
|
|
9
|
-
"main": "build/index.js",
|
|
10
|
-
"module": "build/index.mjs",
|
|
11
8
|
"browser": "build/browser/index.mjs",
|
|
12
|
-
"sideEffects": false,
|
|
13
|
-
"types": "build/index.d.ts",
|
|
14
|
-
"files": [
|
|
15
|
-
"build",
|
|
16
|
-
"internal",
|
|
17
|
-
"client"
|
|
18
|
-
],
|
|
19
|
-
"publishConfig": {
|
|
20
|
-
"registry": "https://registry.npmjs.org/",
|
|
21
|
-
"access": "public"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"build": "tsup",
|
|
25
|
-
"test": "tsc --noEmit && vitest run",
|
|
26
|
-
"lint": "eslint --max-warnings=0 .",
|
|
27
|
-
"typecheck": "tsc --noEmit"
|
|
28
|
-
},
|
|
29
|
-
"lint-staged": {
|
|
30
|
-
"*.{js,ts}": "yarn lint"
|
|
31
|
-
},
|
|
32
9
|
"dependencies": {
|
|
33
10
|
"@wix/error-handler-types": "^1.19.0",
|
|
34
11
|
"@wix/monitoring-types": "^0.12.0",
|
|
@@ -45,6 +22,32 @@
|
|
|
45
22
|
"eslintConfig": {
|
|
46
23
|
"extends": "sdk"
|
|
47
24
|
},
|
|
25
|
+
"files": [
|
|
26
|
+
"build",
|
|
27
|
+
"internal",
|
|
28
|
+
"client"
|
|
29
|
+
],
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"lint-staged": {
|
|
32
|
+
"*.{js,ts}": "yarn lint"
|
|
33
|
+
},
|
|
34
|
+
"main": "build/index.js",
|
|
35
|
+
"module": "build/index.mjs",
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"registry": "https://registry.npmjs.org/",
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tsup",
|
|
42
|
+
"lint": "eslint --max-warnings=0 .",
|
|
43
|
+
"test": "tsc --noEmit && vitest run",
|
|
44
|
+
"typecheck": "tsc --noEmit"
|
|
45
|
+
},
|
|
46
|
+
"sideEffects": false,
|
|
47
|
+
"types": "build/index.d.ts",
|
|
48
|
+
"wallaby": {
|
|
49
|
+
"autoDetect": true
|
|
50
|
+
},
|
|
48
51
|
"wix": {
|
|
49
52
|
"artifact": {
|
|
50
53
|
"groupId": "com.wixpress",
|
|
@@ -59,8 +62,5 @@
|
|
|
59
62
|
]
|
|
60
63
|
}
|
|
61
64
|
},
|
|
62
|
-
"
|
|
63
|
-
"autoDetect": true
|
|
64
|
-
},
|
|
65
|
-
"falconPackageHash": "a2bfc36a44c16cd28750515589fe3c7d51c72d3f66c7c67fbac945fa"
|
|
65
|
+
"falconPackageHash": "badfb77becacd74baea8dbc27fc028221d9cbacd19c54931b9d9eb92"
|
|
66
66
|
}
|