@karmaniverous/entity-manager 6.13.1 → 6.13.2
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/cjs/ParsedConfig.js +4 -1
- package/dist/index.d.ts +7 -7
- package/dist/mjs/ParsedConfig.js +4 -1
- package/package.json +1 -1
package/dist/cjs/ParsedConfig.js
CHANGED
|
@@ -103,7 +103,10 @@ const configSchema = zod.z
|
|
|
103
103
|
.record(zod.z.object({
|
|
104
104
|
hashKey: zod.z.string().min(1),
|
|
105
105
|
rangeKey: zod.z.string().min(1),
|
|
106
|
-
projections:
|
|
106
|
+
projections: zod.z
|
|
107
|
+
.array(zod.z.string().min(1))
|
|
108
|
+
.superRefine(validateArrayUnique)
|
|
109
|
+
.optional(),
|
|
107
110
|
}))
|
|
108
111
|
.optional()
|
|
109
112
|
.default({}),
|
package/dist/index.d.ts
CHANGED
|
@@ -194,15 +194,15 @@ declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
194
194
|
indexes: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
195
195
|
hashKey: z.ZodString;
|
|
196
196
|
rangeKey: z.ZodString;
|
|
197
|
-
projections: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "
|
|
197
|
+
projections: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
199
|
hashKey: string;
|
|
200
200
|
rangeKey: string;
|
|
201
|
-
projections?:
|
|
201
|
+
projections?: string[] | undefined;
|
|
202
202
|
}, {
|
|
203
203
|
hashKey: string;
|
|
204
204
|
rangeKey: string;
|
|
205
|
-
projections?:
|
|
205
|
+
projections?: string[] | undefined;
|
|
206
206
|
}>>>>;
|
|
207
207
|
generatedKeyDelimiter: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
208
208
|
generatedValueDelimiter: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -241,7 +241,7 @@ declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
241
241
|
indexes: Record<string, {
|
|
242
242
|
hashKey: string;
|
|
243
243
|
rangeKey: string;
|
|
244
|
-
projections?:
|
|
244
|
+
projections?: string[] | undefined;
|
|
245
245
|
}>;
|
|
246
246
|
generatedKeyDelimiter: string;
|
|
247
247
|
generatedValueDelimiter: string;
|
|
@@ -273,7 +273,7 @@ declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
273
273
|
indexes?: Record<string, {
|
|
274
274
|
hashKey: string;
|
|
275
275
|
rangeKey: string;
|
|
276
|
-
projections?:
|
|
276
|
+
projections?: string[] | undefined;
|
|
277
277
|
}> | undefined;
|
|
278
278
|
generatedKeyDelimiter?: string | undefined;
|
|
279
279
|
generatedValueDelimiter?: string | undefined;
|
|
@@ -305,7 +305,7 @@ declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
305
305
|
indexes: Record<string, {
|
|
306
306
|
hashKey: string;
|
|
307
307
|
rangeKey: string;
|
|
308
|
-
projections?:
|
|
308
|
+
projections?: string[] | undefined;
|
|
309
309
|
}>;
|
|
310
310
|
generatedKeyDelimiter: string;
|
|
311
311
|
generatedValueDelimiter: string;
|
|
@@ -337,7 +337,7 @@ declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
|
337
337
|
indexes?: Record<string, {
|
|
338
338
|
hashKey: string;
|
|
339
339
|
rangeKey: string;
|
|
340
|
-
projections?:
|
|
340
|
+
projections?: string[] | undefined;
|
|
341
341
|
}> | undefined;
|
|
342
342
|
generatedKeyDelimiter?: string | undefined;
|
|
343
343
|
generatedValueDelimiter?: string | undefined;
|
package/dist/mjs/ParsedConfig.js
CHANGED
|
@@ -101,7 +101,10 @@ const configSchema = z
|
|
|
101
101
|
.record(z.object({
|
|
102
102
|
hashKey: z.string().min(1),
|
|
103
103
|
rangeKey: z.string().min(1),
|
|
104
|
-
projections:
|
|
104
|
+
projections: z
|
|
105
|
+
.array(z.string().min(1))
|
|
106
|
+
.superRefine(validateArrayUnique)
|
|
107
|
+
.optional(),
|
|
105
108
|
}))
|
|
106
109
|
.optional()
|
|
107
110
|
.default({}),
|
package/package.json
CHANGED