@tinacms/graphql 0.63.10 → 0.63.12
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 +1 -1
- package/dist/resolver/index.d.ts +5 -49
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2451,7 +2451,7 @@ var validateField = async (field) => {
|
|
|
2451
2451
|
|
|
2452
2452
|
// package.json
|
|
2453
2453
|
var name = "@tinacms/graphql";
|
|
2454
|
-
var version = "0.63.
|
|
2454
|
+
var version = "0.63.12";
|
|
2455
2455
|
var main = "dist/index.js";
|
|
2456
2456
|
var typings = "dist/index.d.ts";
|
|
2457
2457
|
var files = [
|
package/dist/resolver/index.d.ts
CHANGED
|
@@ -39,29 +39,10 @@ export declare class Resolver {
|
|
|
39
39
|
label?: string;
|
|
40
40
|
name: string;
|
|
41
41
|
path: string;
|
|
42
|
+
defaultItem?: () => unknown;
|
|
42
43
|
indexes?: import("@tinacms/schema-tools").TinaIndex[];
|
|
43
44
|
format?: "json" | "md" | "markdown" | "mdx";
|
|
44
|
-
ui?:
|
|
45
|
-
global?: boolean | {
|
|
46
|
-
icon?: any;
|
|
47
|
-
layout: "fullscreen" | "popup";
|
|
48
|
-
};
|
|
49
|
-
router?: (args: {
|
|
50
|
-
document: {
|
|
51
|
-
_sys: {
|
|
52
|
-
title?: string;
|
|
53
|
-
template: string;
|
|
54
|
-
breadcrumbs: string[];
|
|
55
|
-
path: string;
|
|
56
|
-
basename: string;
|
|
57
|
-
relativePath: string;
|
|
58
|
-
filename: string;
|
|
59
|
-
extension: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
collection: TinaCloudCollection<true>;
|
|
63
|
-
}) => string;
|
|
64
|
-
};
|
|
45
|
+
ui?: import("@tinacms/schema-tools").UICollection;
|
|
65
46
|
match?: string;
|
|
66
47
|
documents: {
|
|
67
48
|
collection: TinaCloudCollection<true>;
|
|
@@ -71,14 +52,8 @@ export declare class Resolver {
|
|
|
71
52
|
templates: (string | {
|
|
72
53
|
label: string;
|
|
73
54
|
name: string;
|
|
55
|
+
ui?: import("@tinacms/schema-tools").UICollection;
|
|
74
56
|
fields: TinaFieldInner<true>[];
|
|
75
|
-
match?: {
|
|
76
|
-
start: string;
|
|
77
|
-
end: string;
|
|
78
|
-
};
|
|
79
|
-
ui?: object | (import("@tinacms/schema-tools").UIField<any, any> & {
|
|
80
|
-
previewSrc: string;
|
|
81
|
-
});
|
|
82
57
|
namespace: string[];
|
|
83
58
|
})[];
|
|
84
59
|
fields?: undefined;
|
|
@@ -87,29 +62,10 @@ export declare class Resolver {
|
|
|
87
62
|
label?: string;
|
|
88
63
|
name: string;
|
|
89
64
|
path: string;
|
|
65
|
+
defaultItem?: () => unknown;
|
|
90
66
|
indexes?: import("@tinacms/schema-tools").TinaIndex[];
|
|
91
67
|
format?: "json" | "md" | "markdown" | "mdx";
|
|
92
|
-
ui?:
|
|
93
|
-
global?: boolean | {
|
|
94
|
-
icon?: any;
|
|
95
|
-
layout: "fullscreen" | "popup";
|
|
96
|
-
};
|
|
97
|
-
router?: (args: {
|
|
98
|
-
document: {
|
|
99
|
-
_sys: {
|
|
100
|
-
title?: string;
|
|
101
|
-
template: string;
|
|
102
|
-
breadcrumbs: string[];
|
|
103
|
-
path: string;
|
|
104
|
-
basename: string;
|
|
105
|
-
relativePath: string;
|
|
106
|
-
filename: string;
|
|
107
|
-
extension: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
collection: TinaCloudCollection<true>;
|
|
111
|
-
}) => string;
|
|
112
|
-
};
|
|
68
|
+
ui?: import("@tinacms/schema-tools").UICollection;
|
|
113
69
|
match?: string;
|
|
114
70
|
documents: {
|
|
115
71
|
collection: TinaCloudCollection<true>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/graphql",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.12",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@graphql-tools/relay-operation-optimizer": "^6.4.1",
|
|
22
22
|
"@tinacms/datalayer": "0.2.4",
|
|
23
|
-
"@tinacms/schema-tools": "0.1.
|
|
24
|
-
"@tinacms/mdx": "0.61.
|
|
23
|
+
"@tinacms/schema-tools": "0.1.6",
|
|
24
|
+
"@tinacms/mdx": "0.61.10",
|
|
25
25
|
"body-parser": "^1.19.0",
|
|
26
26
|
"cors": "^2.8.5",
|
|
27
27
|
"dataloader": "^2.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@tinacms/datalayer": "0.2.4",
|
|
75
|
-
"@tinacms/schema-tools": "0.1.
|
|
75
|
+
"@tinacms/schema-tools": "0.1.6",
|
|
76
76
|
"@tinacms/scripts": "0.51.1",
|
|
77
77
|
"@types/cors": "^2.8.7",
|
|
78
78
|
"@types/estree": "^0.0.50",
|