@tinacms/graphql 1.4.36 → 1.4.37
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/index.mjs +1 -1
- package/dist/resolver/index.d.ts +12 -8
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -2874,7 +2874,7 @@ var validateField = async (field) => {
|
|
|
2874
2874
|
// package.json
|
|
2875
2875
|
var package_default = {
|
|
2876
2876
|
name: "@tinacms/graphql",
|
|
2877
|
-
version: "1.4.
|
|
2877
|
+
version: "1.4.37",
|
|
2878
2878
|
main: "dist/index.js",
|
|
2879
2879
|
module: "dist/index.mjs",
|
|
2880
2880
|
typings: "dist/index.d.ts",
|
package/dist/index.mjs
CHANGED
|
@@ -2807,7 +2807,7 @@ var validateField = async (field) => {
|
|
|
2807
2807
|
// package.json
|
|
2808
2808
|
var package_default = {
|
|
2809
2809
|
name: "@tinacms/graphql",
|
|
2810
|
-
version: "1.4.
|
|
2810
|
+
version: "1.4.37",
|
|
2811
2811
|
main: "dist/index.js",
|
|
2812
2812
|
module: "dist/index.mjs",
|
|
2813
2813
|
typings: "dist/index.d.ts",
|
package/dist/resolver/index.d.ts
CHANGED
|
@@ -61,14 +61,16 @@ export declare class Resolver {
|
|
|
61
61
|
fields: {
|
|
62
62
|
name: string;
|
|
63
63
|
}[];
|
|
64
|
-
}[];
|
|
64
|
+
}[]; /**
|
|
65
|
+
* `collectionName` is passed in:
|
|
66
|
+
* * `addPendingDocument()` has `collection` on `args`
|
|
67
|
+
* * `getDocument()` provides a `collection` on `args`
|
|
68
|
+
* * `get<Collection>Document()` has `collection` on `lookup`
|
|
69
|
+
*/
|
|
65
70
|
format?: "json" | "md" | "markdown" | "mdx" | "yaml" | "yml" | "toml";
|
|
66
71
|
ui?: import("@tinacms/schema-tools").UICollection<any, any, any>;
|
|
67
72
|
defaultItem?: import("@tinacms/schema-tools").DefaultItem<Record<string, any>>;
|
|
68
73
|
frontmatterFormat?: "json" | "yaml" | "toml";
|
|
69
|
-
/**
|
|
70
|
-
* For generic functions (like `createDocument()` and `updateDocument()`), `collection` is the top key of the `params`
|
|
71
|
-
*/
|
|
72
74
|
frontmatterDelimiters?: string | [string, string];
|
|
73
75
|
match?: {
|
|
74
76
|
include?: string;
|
|
@@ -92,14 +94,16 @@ export declare class Resolver {
|
|
|
92
94
|
fields: {
|
|
93
95
|
name: string;
|
|
94
96
|
}[];
|
|
95
|
-
}[];
|
|
97
|
+
}[]; /**
|
|
98
|
+
* `collectionName` is passed in:
|
|
99
|
+
* * `addPendingDocument()` has `collection` on `args`
|
|
100
|
+
* * `getDocument()` provides a `collection` on `args`
|
|
101
|
+
* * `get<Collection>Document()` has `collection` on `lookup`
|
|
102
|
+
*/
|
|
96
103
|
format?: "json" | "md" | "markdown" | "mdx" | "yaml" | "yml" | "toml";
|
|
97
104
|
ui?: import("@tinacms/schema-tools").UICollection<any, any, any>;
|
|
98
105
|
defaultItem?: import("@tinacms/schema-tools").DefaultItem<Record<string, any>>;
|
|
99
106
|
frontmatterFormat?: "json" | "yaml" | "toml";
|
|
100
|
-
/**
|
|
101
|
-
* For generic functions (like `createDocument()` and `updateDocument()`), `collection` is the top key of the `params`
|
|
102
|
-
*/
|
|
103
107
|
frontmatterDelimiters?: string | [string, string];
|
|
104
108
|
match?: {
|
|
105
109
|
include?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/graphql",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.37",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"readable-stream": "^4.3.0",
|
|
43
43
|
"scmp": "^2.1.0",
|
|
44
44
|
"yup": "^0.32.9",
|
|
45
|
-
"@tinacms/mdx": "1.3.
|
|
46
|
-
"@tinacms/schema-tools": "1.4.
|
|
45
|
+
"@tinacms/mdx": "1.3.27",
|
|
46
|
+
"@tinacms/schema-tools": "1.4.18"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"registry": "https://registry.npmjs.org"
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"memory-level": "^1.0.0",
|
|
77
77
|
"nodemon": "2.0.19",
|
|
78
78
|
"typescript": "4.6.4",
|
|
79
|
-
"@tinacms/
|
|
80
|
-
"@tinacms/
|
|
79
|
+
"@tinacms/scripts": "1.1.5",
|
|
80
|
+
"@tinacms/schema-tools": "1.4.18"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"types": "pnpm tsc",
|