@vitessce/schemas 4.0.8 → 4.0.9

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.
@@ -1,10 +1,44 @@
1
1
  import { z } from 'zod';
2
2
  import { configSchema0_1_0, configSchema1_0_0, configSchema1_0_1, configSchema1_0_2, configSchema1_0_3, configSchema1_0_4, configSchema1_0_5, configSchema1_0_6, configSchema1_0_7, configSchema1_0_8, configSchema1_0_9, configSchema1_0_10, configSchema1_0_11, configSchema1_0_12, configSchema1_0_13, configSchema1_0_14, configSchema1_0_15, configSchema1_0_16, configSchema1_0_17, configSchema1_0_18 } from './previous-config-schemas.js';
3
3
  export declare const latestConfigSchema: z.ZodObject<{
4
+ uid: z.ZodOptional<z.ZodString>;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ layout: z.ZodArray<z.ZodObject<{
7
+ uid: z.ZodOptional<z.ZodString>;
8
+ component: z.ZodString;
9
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10
+ x: z.ZodNumber;
11
+ y: z.ZodNumber;
12
+ w: z.ZodOptional<z.ZodNumber>;
13
+ h: z.ZodOptional<z.ZodNumber>;
14
+ coordinationScopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
15
+ coordinationScopesBy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>>>;
16
+ coordinationValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ x: number;
19
+ y: number;
20
+ component: string;
21
+ uid?: string | undefined;
22
+ props?: Record<string, any> | undefined;
23
+ w?: number | undefined;
24
+ h?: number | undefined;
25
+ coordinationScopes?: Record<string, string | string[]> | undefined;
26
+ coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
27
+ coordinationValues?: Record<string, any> | undefined;
28
+ }, {
29
+ x: number;
30
+ y: number;
31
+ component: string;
32
+ uid?: string | undefined;
33
+ props?: Record<string, any> | undefined;
34
+ w?: number | undefined;
35
+ h?: number | undefined;
36
+ coordinationScopes?: Record<string, string | string[]> | undefined;
37
+ coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
38
+ coordinationValues?: Record<string, any> | undefined;
39
+ }>, "many">;
4
40
  name: z.ZodString;
5
41
  public: z.ZodOptional<z.ZodBoolean>;
6
- description: z.ZodOptional<z.ZodString>;
7
- uid: z.ZodOptional<z.ZodString>;
8
42
  datasets: z.ZodArray<z.ZodObject<{
9
43
  uid: z.ZodString;
10
44
  name: z.ZodOptional<z.ZodString>;
@@ -45,7 +79,7 @@ export declare const latestConfigSchema: z.ZodObject<{
45
79
  referrer?: string | undefined;
46
80
  integrity?: string | undefined;
47
81
  }>>;
48
- coordinationValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
82
+ coordinationValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
49
83
  }, "strip", z.ZodTypeAny, {
50
84
  fileType: string;
51
85
  name?: string | undefined;
@@ -62,7 +96,7 @@ export declare const latestConfigSchema: z.ZodObject<{
62
96
  referrer?: string | undefined;
63
97
  integrity?: string | undefined;
64
98
  } | undefined;
65
- coordinationValues?: Record<string, string> | undefined;
99
+ coordinationValues?: Record<string, any> | undefined;
66
100
  }, {
67
101
  fileType: string;
68
102
  name?: string | undefined;
@@ -79,7 +113,7 @@ export declare const latestConfigSchema: z.ZodObject<{
79
113
  referrer?: string | undefined;
80
114
  integrity?: string | undefined;
81
115
  } | undefined;
82
- coordinationValues?: Record<string, string> | undefined;
116
+ coordinationValues?: Record<string, any> | undefined;
83
117
  }>, "many">;
84
118
  }, "strip", z.ZodTypeAny, {
85
119
  uid: string;
@@ -99,7 +133,7 @@ export declare const latestConfigSchema: z.ZodObject<{
99
133
  referrer?: string | undefined;
100
134
  integrity?: string | undefined;
101
135
  } | undefined;
102
- coordinationValues?: Record<string, string> | undefined;
136
+ coordinationValues?: Record<string, any> | undefined;
103
137
  }[];
104
138
  name?: string | undefined;
105
139
  description?: string | undefined;
@@ -121,46 +155,27 @@ export declare const latestConfigSchema: z.ZodObject<{
121
155
  referrer?: string | undefined;
122
156
  integrity?: string | undefined;
123
157
  } | undefined;
124
- coordinationValues?: Record<string, string> | undefined;
158
+ coordinationValues?: Record<string, any> | undefined;
125
159
  }[];
126
160
  name?: string | undefined;
127
161
  description?: string | undefined;
128
162
  }>, "many">;
129
163
  coordinationSpace: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodRecord<z.ZodString, z.ZodAny>, z.objectOutputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip">, z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip">>>;
130
- layout: z.ZodArray<z.ZodObject<{
131
- uid: z.ZodOptional<z.ZodString>;
132
- component: z.ZodString;
133
- props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
134
- x: z.ZodNumber;
135
- y: z.ZodNumber;
136
- w: z.ZodOptional<z.ZodNumber>;
137
- h: z.ZodOptional<z.ZodNumber>;
138
- coordinationScopes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
139
- coordinationScopesBy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>>>;
140
- }, "strip", z.ZodTypeAny, {
141
- component: string;
164
+ initStrategy: z.ZodEnum<["none", "auto"]>;
165
+ version: z.ZodLiteral<"1.0.18">;
166
+ }, "strip", z.ZodTypeAny, {
167
+ layout: {
142
168
  x: number;
143
169
  y: number;
144
- uid?: string | undefined;
145
- props?: Record<string, any> | undefined;
146
- w?: number | undefined;
147
- h?: number | undefined;
148
- coordinationScopes?: Record<string, string | string[]> | undefined;
149
- coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
150
- }, {
151
170
  component: string;
152
- x: number;
153
- y: number;
154
171
  uid?: string | undefined;
155
172
  props?: Record<string, any> | undefined;
156
173
  w?: number | undefined;
157
174
  h?: number | undefined;
158
175
  coordinationScopes?: Record<string, string | string[]> | undefined;
159
176
  coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
160
- }>, "many">;
161
- initStrategy: z.ZodEnum<["none", "auto"]>;
162
- version: z.ZodLiteral<"1.0.18">;
163
- }, "strip", z.ZodTypeAny, {
177
+ coordinationValues?: Record<string, any> | undefined;
178
+ }[];
164
179
  name: string;
165
180
  version: "1.0.18";
166
181
  datasets: {
@@ -181,28 +196,29 @@ export declare const latestConfigSchema: z.ZodObject<{
181
196
  referrer?: string | undefined;
182
197
  integrity?: string | undefined;
183
198
  } | undefined;
184
- coordinationValues?: Record<string, string> | undefined;
199
+ coordinationValues?: Record<string, any> | undefined;
185
200
  }[];
186
201
  name?: string | undefined;
187
202
  description?: string | undefined;
188
203
  }[];
204
+ initStrategy: "none" | "auto";
205
+ uid?: string | undefined;
206
+ description?: string | undefined;
207
+ public?: boolean | undefined;
208
+ coordinationSpace?: z.objectOutputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
209
+ }, {
189
210
  layout: {
190
- component: string;
191
211
  x: number;
192
212
  y: number;
213
+ component: string;
193
214
  uid?: string | undefined;
194
215
  props?: Record<string, any> | undefined;
195
216
  w?: number | undefined;
196
217
  h?: number | undefined;
197
218
  coordinationScopes?: Record<string, string | string[]> | undefined;
198
219
  coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
220
+ coordinationValues?: Record<string, any> | undefined;
199
221
  }[];
200
- initStrategy: "none" | "auto";
201
- public?: boolean | undefined;
202
- description?: string | undefined;
203
- uid?: string | undefined;
204
- coordinationSpace?: z.objectOutputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
205
- }, {
206
222
  name: string;
207
223
  version: "1.0.18";
208
224
  datasets: {
@@ -223,26 +239,15 @@ export declare const latestConfigSchema: z.ZodObject<{
223
239
  referrer?: string | undefined;
224
240
  integrity?: string | undefined;
225
241
  } | undefined;
226
- coordinationValues?: Record<string, string> | undefined;
242
+ coordinationValues?: Record<string, any> | undefined;
227
243
  }[];
228
244
  name?: string | undefined;
229
245
  description?: string | undefined;
230
246
  }[];
231
- layout: {
232
- component: string;
233
- x: number;
234
- y: number;
235
- uid?: string | undefined;
236
- props?: Record<string, any> | undefined;
237
- w?: number | undefined;
238
- h?: number | undefined;
239
- coordinationScopes?: Record<string, string | string[]> | undefined;
240
- coordinationScopesBy?: Record<string, Record<string, Record<string, string | string[]>>> | undefined;
241
- }[];
242
247
  initStrategy: "none" | "auto";
243
- public?: boolean | undefined;
244
- description?: string | undefined;
245
248
  uid?: string | undefined;
249
+ description?: string | undefined;
250
+ public?: boolean | undefined;
246
251
  coordinationSpace?: z.objectInputType<{}, z.ZodRecord<z.ZodString, z.ZodAny>, "strip"> | undefined;
247
252
  }>;
248
253
  export type AnyVersionConfig = z.infer<typeof configSchema0_1_0> | z.infer<typeof configSchema1_0_0> | z.infer<typeof configSchema1_0_1> | z.infer<typeof configSchema1_0_2> | z.infer<typeof configSchema1_0_3> | z.infer<typeof configSchema1_0_4> | z.infer<typeof configSchema1_0_5> | z.infer<typeof configSchema1_0_6> | z.infer<typeof configSchema1_0_7> | z.infer<typeof configSchema1_0_8> | z.infer<typeof configSchema1_0_9> | z.infer<typeof configSchema1_0_10> | z.infer<typeof configSchema1_0_11> | z.infer<typeof configSchema1_0_12> | z.infer<typeof configSchema1_0_13> | z.infer<typeof configSchema1_0_14> | z.infer<typeof configSchema1_0_15> | z.infer<typeof configSchema1_0_16> | z.infer<typeof configSchema1_0_17> | z.infer<typeof configSchema1_0_18>;
@@ -1 +1 @@
1
- {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AAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,GACjC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAClC,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAErC,MAAM,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,GAAG,KAAK,gBAAgB,CAAC;AAEhE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,eAAe,CAAC,EAoB5D,CAAC"}
1
+ {"version":3,"file":"previous-config-meta.d.ts","sourceRoot":"","sources":["../src/previous-config-meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAuBtC,eAAO,MAAM,k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