@tinacms/graphql 0.61.8 → 0.63.0
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/build.d.ts +15 -1
- package/dist/builder/index.d.ts +17 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2842 -24020
- package/dist/mdx/index.d.ts +1 -2
- package/dist/resolver/index.d.ts +15 -3
- package/package.json +8 -27
package/dist/mdx/index.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ See the License for the specific language governing permissions and
|
|
|
15
15
|
limitations under the License.
|
|
16
16
|
|
|
17
17
|
*/
|
|
18
|
-
import { parseMDX } from '
|
|
19
|
-
import { stringifyMDX } from './stringify';
|
|
18
|
+
import { parseMDX, stringifyMDX } from '@tinacms/mdx';
|
|
20
19
|
export { parseMDX };
|
|
21
20
|
export { stringifyMDX };
|
package/dist/resolver/index.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ export declare class Resolver {
|
|
|
48
48
|
label: string;
|
|
49
49
|
name: string;
|
|
50
50
|
fields: TinaFieldInner<true>[];
|
|
51
|
+
match?: {
|
|
52
|
+
start: string;
|
|
53
|
+
end: string;
|
|
54
|
+
};
|
|
51
55
|
ui?: object | (import("@tinacms/schema-tools").UIField<any, any> & {
|
|
52
56
|
previewSrc: string;
|
|
53
57
|
});
|
|
@@ -210,9 +214,17 @@ export declare class Resolver {
|
|
|
210
214
|
collection: TinaCloudCollection<true>;
|
|
211
215
|
hydrator?: (string: any) => any;
|
|
212
216
|
}) => Promise<{
|
|
213
|
-
totalCount:
|
|
214
|
-
edges:
|
|
215
|
-
|
|
217
|
+
totalCount: number;
|
|
218
|
+
edges: {
|
|
219
|
+
node: any;
|
|
220
|
+
cursor: string;
|
|
221
|
+
}[];
|
|
222
|
+
pageInfo: {
|
|
223
|
+
hasPreviousPage: boolean;
|
|
224
|
+
hasNextPage: boolean;
|
|
225
|
+
startCursor: string;
|
|
226
|
+
endCursor: string;
|
|
227
|
+
};
|
|
216
228
|
}>;
|
|
217
229
|
private buildFieldMutations;
|
|
218
230
|
private resolveFieldData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.63.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -13,34 +13,15 @@
|
|
|
13
13
|
{
|
|
14
14
|
"name": "src/index.ts",
|
|
15
15
|
"target": "node",
|
|
16
|
-
"bundle": [
|
|
17
|
-
"mdast",
|
|
18
|
-
"mdast-util-from-markdown",
|
|
19
|
-
"mdast-util-mdx",
|
|
20
|
-
"mdast-util-mdx-expression",
|
|
21
|
-
"mdast-util-to-markdown",
|
|
22
|
-
"micromark-extension-mdxjs",
|
|
23
|
-
"rehype-format",
|
|
24
|
-
"rehype-stringify",
|
|
25
|
-
"remark",
|
|
26
|
-
"remark-frontmatter",
|
|
27
|
-
"remark-mdx",
|
|
28
|
-
"remark-parse",
|
|
29
|
-
"remark-rehype",
|
|
30
|
-
"remark-slate",
|
|
31
|
-
"remark-stringify",
|
|
32
|
-
"unified",
|
|
33
|
-
"unist-util-remove-position",
|
|
34
|
-
"unist-util-visit",
|
|
35
|
-
"vfile"
|
|
36
|
-
]
|
|
16
|
+
"bundle": []
|
|
37
17
|
}
|
|
38
18
|
]
|
|
39
19
|
},
|
|
40
20
|
"dependencies": {
|
|
41
21
|
"@graphql-tools/relay-operation-optimizer": "^6.4.1",
|
|
42
|
-
"@tinacms/datalayer": "0.2.
|
|
43
|
-
"@tinacms/schema-tools": "0.0
|
|
22
|
+
"@tinacms/datalayer": "0.2.2",
|
|
23
|
+
"@tinacms/schema-tools": "0.1.0",
|
|
24
|
+
"@tinacms/mdx": "0.61.0",
|
|
44
25
|
"body-parser": "^1.19.0",
|
|
45
26
|
"cors": "^2.8.5",
|
|
46
27
|
"dataloader": "^2.0.0",
|
|
@@ -90,9 +71,9 @@
|
|
|
90
71
|
"directory": "packages/tina-graphql"
|
|
91
72
|
},
|
|
92
73
|
"devDependencies": {
|
|
93
|
-
"@tinacms/datalayer": "0.2.
|
|
94
|
-
"@tinacms/schema-tools": "0.0
|
|
95
|
-
"@tinacms/scripts": "0.
|
|
74
|
+
"@tinacms/datalayer": "0.2.2",
|
|
75
|
+
"@tinacms/schema-tools": "0.1.0",
|
|
76
|
+
"@tinacms/scripts": "0.51.0",
|
|
96
77
|
"@types/cors": "^2.8.7",
|
|
97
78
|
"@types/estree": "^0.0.50",
|
|
98
79
|
"@types/express": "^4.17.8",
|