@tinacms/schema-tools 0.0.5 → 0.0.6
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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -672,7 +672,7 @@ var TinaFieldZod = import_zod2.z.lazy(() => {
|
|
|
672
672
|
var import_zod3 = __toModule(require("zod"));
|
|
673
673
|
var tinaConfigKey = import_zod3.default.object({
|
|
674
674
|
publicFolder: import_zod3.default.string(),
|
|
675
|
-
|
|
675
|
+
mediaRoot: import_zod3.default.string()
|
|
676
676
|
}).strict().optional();
|
|
677
677
|
var tinaConfigZod = import_zod3.default.object({
|
|
678
678
|
media: import_zod3.default.object({
|
|
@@ -92,37 +92,37 @@ export declare const TinaCloudSchemaZod: z.ZodEffects<z.ZodObject<{
|
|
|
92
92
|
media: z.ZodOptional<z.ZodObject<{
|
|
93
93
|
tina: z.ZodOptional<z.ZodObject<{
|
|
94
94
|
publicFolder: z.ZodString;
|
|
95
|
-
|
|
95
|
+
mediaRoot: z.ZodString;
|
|
96
96
|
}, "strict", z.ZodTypeAny, {
|
|
97
97
|
publicFolder?: string;
|
|
98
|
-
|
|
98
|
+
mediaRoot?: string;
|
|
99
99
|
}, {
|
|
100
100
|
publicFolder?: string;
|
|
101
|
-
|
|
101
|
+
mediaRoot?: string;
|
|
102
102
|
}>>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
tina?: {
|
|
105
105
|
publicFolder?: string;
|
|
106
|
-
|
|
106
|
+
mediaRoot?: string;
|
|
107
107
|
};
|
|
108
108
|
}, {
|
|
109
109
|
tina?: {
|
|
110
110
|
publicFolder?: string;
|
|
111
|
-
|
|
111
|
+
mediaRoot?: string;
|
|
112
112
|
};
|
|
113
113
|
}>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
115
|
media?: {
|
|
116
116
|
tina?: {
|
|
117
117
|
publicFolder?: string;
|
|
118
|
-
|
|
118
|
+
mediaRoot?: string;
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
121
|
}, {
|
|
122
122
|
media?: {
|
|
123
123
|
tina?: {
|
|
124
124
|
publicFolder?: string;
|
|
125
|
-
|
|
125
|
+
mediaRoot?: string;
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
}>>;
|
|
@@ -142,7 +142,7 @@ export declare const TinaCloudSchemaZod: z.ZodEffects<z.ZodObject<{
|
|
|
142
142
|
media?: {
|
|
143
143
|
tina?: {
|
|
144
144
|
publicFolder?: string;
|
|
145
|
-
|
|
145
|
+
mediaRoot?: string;
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
148
|
};
|
|
@@ -162,7 +162,7 @@ export declare const TinaCloudSchemaZod: z.ZodEffects<z.ZodObject<{
|
|
|
162
162
|
media?: {
|
|
163
163
|
tina?: {
|
|
164
164
|
publicFolder?: string;
|
|
165
|
-
|
|
165
|
+
mediaRoot?: string;
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
168
|
};
|
|
@@ -182,7 +182,7 @@ export declare const TinaCloudSchemaZod: z.ZodEffects<z.ZodObject<{
|
|
|
182
182
|
media?: {
|
|
183
183
|
tina?: {
|
|
184
184
|
publicFolder?: string;
|
|
185
|
-
|
|
185
|
+
mediaRoot?: string;
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
};
|
|
@@ -202,7 +202,7 @@ export declare const TinaCloudSchemaZod: z.ZodEffects<z.ZodObject<{
|
|
|
202
202
|
media?: {
|
|
203
203
|
tina?: {
|
|
204
204
|
publicFolder?: string;
|
|
205
|
-
|
|
205
|
+
mediaRoot?: string;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
};
|
|
@@ -16,37 +16,37 @@ export declare const tinaConfigZod: z.ZodObject<{
|
|
|
16
16
|
media: z.ZodOptional<z.ZodObject<{
|
|
17
17
|
tina: z.ZodOptional<z.ZodObject<{
|
|
18
18
|
publicFolder: z.ZodString;
|
|
19
|
-
|
|
19
|
+
mediaRoot: z.ZodString;
|
|
20
20
|
}, "strict", z.ZodTypeAny, {
|
|
21
21
|
publicFolder?: string;
|
|
22
|
-
|
|
22
|
+
mediaRoot?: string;
|
|
23
23
|
}, {
|
|
24
24
|
publicFolder?: string;
|
|
25
|
-
|
|
25
|
+
mediaRoot?: string;
|
|
26
26
|
}>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
tina?: {
|
|
29
29
|
publicFolder?: string;
|
|
30
|
-
|
|
30
|
+
mediaRoot?: string;
|
|
31
31
|
};
|
|
32
32
|
}, {
|
|
33
33
|
tina?: {
|
|
34
34
|
publicFolder?: string;
|
|
35
|
-
|
|
35
|
+
mediaRoot?: string;
|
|
36
36
|
};
|
|
37
37
|
}>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
media?: {
|
|
40
40
|
tina?: {
|
|
41
41
|
publicFolder?: string;
|
|
42
|
-
|
|
42
|
+
mediaRoot?: string;
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
}, {
|
|
46
46
|
media?: {
|
|
47
47
|
tina?: {
|
|
48
48
|
publicFolder?: string;
|
|
49
|
-
|
|
49
|
+
mediaRoot?: string;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/schema-tools",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@tinacms/scripts": "0.50.
|
|
19
|
+
"@tinacms/scripts": "0.50.9",
|
|
20
20
|
"@types/yup": "^0.29.10",
|
|
21
21
|
"jest": "^27.0.6",
|
|
22
22
|
"react": "16.14.0",
|