@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
@@ -1,5 +1,11 @@
1
1
  # @tinacms/schema-tools
2
2
 
3
+ ## 0.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fb73fb355: Renames syncFolder to a mediaRoot when configuring Repo-Based Media
8
+
3
9
  ## 0.0.5
4
10
 
5
11
  ### Patch Changes
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
- syncFolder: import_zod3.default.string()
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({
@@ -25,7 +25,7 @@ export interface TinaCloudSchemaConfig {
25
25
  media?: {
26
26
  tina?: {
27
27
  publicFolder: string;
28
- syncFolder: string;
28
+ mediaRoot: string;
29
29
  };
30
30
  };
31
31
  }
@@ -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
- syncFolder: z.ZodString;
95
+ mediaRoot: z.ZodString;
96
96
  }, "strict", z.ZodTypeAny, {
97
97
  publicFolder?: string;
98
- syncFolder?: string;
98
+ mediaRoot?: string;
99
99
  }, {
100
100
  publicFolder?: string;
101
- syncFolder?: string;
101
+ mediaRoot?: string;
102
102
  }>>;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  tina?: {
105
105
  publicFolder?: string;
106
- syncFolder?: string;
106
+ mediaRoot?: string;
107
107
  };
108
108
  }, {
109
109
  tina?: {
110
110
  publicFolder?: string;
111
- syncFolder?: string;
111
+ mediaRoot?: string;
112
112
  };
113
113
  }>>;
114
114
  }, "strip", z.ZodTypeAny, {
115
115
  media?: {
116
116
  tina?: {
117
117
  publicFolder?: string;
118
- syncFolder?: string;
118
+ mediaRoot?: string;
119
119
  };
120
120
  };
121
121
  }, {
122
122
  media?: {
123
123
  tina?: {
124
124
  publicFolder?: string;
125
- syncFolder?: string;
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
- syncFolder?: string;
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
- syncFolder?: string;
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
- syncFolder?: string;
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
- syncFolder?: string;
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
- syncFolder: z.ZodString;
19
+ mediaRoot: z.ZodString;
20
20
  }, "strict", z.ZodTypeAny, {
21
21
  publicFolder?: string;
22
- syncFolder?: string;
22
+ mediaRoot?: string;
23
23
  }, {
24
24
  publicFolder?: string;
25
- syncFolder?: string;
25
+ mediaRoot?: string;
26
26
  }>>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  tina?: {
29
29
  publicFolder?: string;
30
- syncFolder?: string;
30
+ mediaRoot?: string;
31
31
  };
32
32
  }, {
33
33
  tina?: {
34
34
  publicFolder?: string;
35
- syncFolder?: string;
35
+ mediaRoot?: string;
36
36
  };
37
37
  }>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  media?: {
40
40
  tina?: {
41
41
  publicFolder?: string;
42
- syncFolder?: string;
42
+ mediaRoot?: string;
43
43
  };
44
44
  };
45
45
  }, {
46
46
  media?: {
47
47
  tina?: {
48
48
  publicFolder?: string;
49
- syncFolder?: string;
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.5",
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.8",
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",