tinacms 1.5.15 → 1.5.17
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/dist/index.js +13397 -7
- package/dist/{index.es.js → index.mjs} +13397 -7
- package/dist/internalClient/index.d.ts +4 -1
- package/package.json +15 -17
- /package/dist/{client.es.js → client.mjs} +0 -0
- /package/dist/{dev-tools.es.js → dev-tools.mjs} +0 -0
- /package/dist/{edit-state.es.js → edit-state.mjs} +0 -0
- /package/dist/{react.es.js → react.mjs} +0 -0
- /package/dist/rich-text/{index.es.js → index.mjs} +0 -0
- /package/dist/rich-text/{prism.es.js → prism.mjs} +0 -0
|
@@ -245,7 +245,10 @@ export declare class LocalClient extends Client {
|
|
|
245
245
|
}
|
|
246
246
|
export declare class TinaCMSSearchClient implements SearchClient {
|
|
247
247
|
private client;
|
|
248
|
-
|
|
248
|
+
private tinaSearchConfig?;
|
|
249
|
+
constructor(client: Client, tinaSearchConfig?: {
|
|
250
|
+
stopwordLanguages?: string[];
|
|
251
|
+
});
|
|
249
252
|
query(query: string, options?: {
|
|
250
253
|
limit?: number;
|
|
251
254
|
cursor?: string;
|
package/package.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.17",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
|
-
"module": "./dist/index.
|
|
5
|
+
"module": "./dist/index.mjs",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
|
-
"import": "./dist/index.
|
|
9
|
+
"import": "./dist/index.mjs",
|
|
10
10
|
"require": "./dist/index.js"
|
|
11
11
|
},
|
|
12
12
|
"./dist/client": {
|
|
13
13
|
"types": "./dist/client.d.ts",
|
|
14
|
-
"import": "./dist/client.
|
|
14
|
+
"import": "./dist/client.mjs",
|
|
15
15
|
"require": "./dist/client.js"
|
|
16
16
|
},
|
|
17
17
|
"./dist/edit-state": {
|
|
18
18
|
"types": "./dist/edit-state.d.ts",
|
|
19
|
-
"import": "./dist/edit-state.
|
|
19
|
+
"import": "./dist/edit-state.mjs",
|
|
20
20
|
"require": "./dist/edit-state.js"
|
|
21
21
|
},
|
|
22
22
|
"./dist/react": {
|
|
23
23
|
"types": "./dist/react.d.ts",
|
|
24
|
-
"import": "./dist/react.
|
|
24
|
+
"import": "./dist/react.mjs",
|
|
25
25
|
"require": "./dist/react.js"
|
|
26
26
|
},
|
|
27
27
|
"./dist/rich-text": {
|
|
28
28
|
"types": "./dist/rich-text/index.d.ts",
|
|
29
|
-
"import": "./dist/rich-text/index.
|
|
29
|
+
"import": "./dist/rich-text/index.mjs",
|
|
30
30
|
"require": "./dist/rich-text/index.js"
|
|
31
31
|
},
|
|
32
32
|
"./dist/dev-tools": {
|
|
33
33
|
"types": "./dist/dev-tools.d.ts",
|
|
34
|
-
"import": "./dist/dev-tools.
|
|
34
|
+
"import": "./dist/dev-tools.mjs",
|
|
35
35
|
"require": "./dist/dev-tools.js"
|
|
36
36
|
},
|
|
37
37
|
"./dist/rich-text/prism": {
|
|
38
38
|
"types": "./dist/rich-text/prism.d.ts",
|
|
39
|
-
"import": "./dist/rich-text/prism.
|
|
39
|
+
"import": "./dist/rich-text/prism.mjs",
|
|
40
40
|
"require": "./dist/rich-text/prism.js"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"@headlessui/react": "^1.5.0",
|
|
62
62
|
"@heroicons/react": "^1.0.4",
|
|
63
63
|
"@react-hook/window-size": "^3.0.7",
|
|
64
|
-
"@tinacms/search": "1.0.
|
|
65
|
-
"@tinacms/schema-tools": "1.4.
|
|
66
|
-
"@tinacms/sharedctx": "1.0.
|
|
67
|
-
"@tinacms/toolkit": "1.7.
|
|
64
|
+
"@tinacms/search": "1.0.7",
|
|
65
|
+
"@tinacms/schema-tools": "1.4.9",
|
|
66
|
+
"@tinacms/sharedctx": "1.0.2",
|
|
67
|
+
"@tinacms/toolkit": "1.7.13",
|
|
68
68
|
"crypto-js": "^4.0.0",
|
|
69
69
|
"encoding": "0.1.13",
|
|
70
70
|
"fetch-ponyfill": "^7.1.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@testing-library/react-hooks": "^7.0.2",
|
|
86
86
|
"@testing-library/user-event": "^12.7.0",
|
|
87
87
|
"@testing-library/dom": "^7.21.4 ",
|
|
88
|
-
"@tinacms/scripts": "1.1.
|
|
88
|
+
"@tinacms/scripts": "1.1.1",
|
|
89
89
|
"@types/jest": "^27.0.1",
|
|
90
90
|
"@types/lodash": "^4.14.169",
|
|
91
91
|
"@types/node": "^14.0.13",
|
|
@@ -99,13 +99,11 @@
|
|
|
99
99
|
"next": "12.2.4",
|
|
100
100
|
"react": "17.0.2",
|
|
101
101
|
"react-dom": "17.0.2",
|
|
102
|
-
"react-is": "^17.0.2",
|
|
103
102
|
"typescript": "4.3.5"
|
|
104
103
|
},
|
|
105
104
|
"peerDependencies": {
|
|
106
105
|
"react": ">=16.14.0",
|
|
107
|
-
"react-dom": ">=16.14.0"
|
|
108
|
-
"react-is": "^16.13.1 || <18.0.0"
|
|
106
|
+
"react-dom": ">=16.14.0"
|
|
109
107
|
},
|
|
110
108
|
"publishConfig": {
|
|
111
109
|
"registry": "https://registry.npmjs.org"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|