@fireproof/core-types-base 0.24.0-dev-multi-clerks-0 → 0.24.2-dev-cloud-api
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/database-config.zod.d.ts +43 -42
- package/database-config.zod.js +20 -8
- package/database-config.zod.js.map +1 -1
- package/package.json +5 -5
package/database-config.zod.d.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { BuildURI, URI, type ReadonlyURL, type WritableURL } from "@adviser/cement";
|
|
2
3
|
export declare const StoreUrlsSchema: z.ZodObject<{
|
|
3
|
-
meta: z.ZodString
|
|
4
|
-
car: z.ZodString
|
|
5
|
-
file: z.ZodString
|
|
6
|
-
wal: z.ZodString
|
|
4
|
+
meta: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
5
|
+
car: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
6
|
+
file: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
7
|
+
wal: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
7
8
|
}, z.core.$strip>;
|
|
8
9
|
export declare const StoreUrlsOptsSchema: z.ZodReadonly<z.ZodObject<{
|
|
9
|
-
base: z.
|
|
10
|
+
base: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
10
11
|
data: z.ZodObject<{
|
|
11
|
-
meta: z.ZodOptional<z.ZodString
|
|
12
|
-
car: z.ZodOptional<z.ZodString
|
|
13
|
-
file: z.ZodOptional<z.ZodString
|
|
14
|
-
wal: z.ZodOptional<z.ZodString
|
|
12
|
+
meta: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
13
|
+
car: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
14
|
+
file: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
15
|
+
wal: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
15
16
|
}, z.core.$strip>;
|
|
16
17
|
idx: z.ZodObject<{
|
|
17
|
-
meta: z.ZodOptional<z.ZodString
|
|
18
|
-
car: z.ZodOptional<z.ZodString
|
|
19
|
-
file: z.ZodOptional<z.ZodString
|
|
20
|
-
wal: z.ZodOptional<z.ZodString
|
|
18
|
+
meta: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
19
|
+
car: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
20
|
+
file: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
21
|
+
wal: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
21
22
|
}, z.core.$strip>;
|
|
22
23
|
}, z.core.$strip>>;
|
|
23
24
|
export type StoreUrls = z.infer<typeof StoreUrlsSchema>;
|
|
@@ -31,48 +32,48 @@ export declare const DatabaseConfigSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
31
32
|
autoCompact: z.ZodNumber;
|
|
32
33
|
compactStrategy: z.ZodString;
|
|
33
34
|
storeUrls: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
34
|
-
base: z.
|
|
35
|
+
base: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
35
36
|
data: z.ZodObject<{
|
|
36
|
-
meta: z.ZodOptional<z.ZodString
|
|
37
|
-
car: z.ZodOptional<z.ZodString
|
|
38
|
-
file: z.ZodOptional<z.ZodString
|
|
39
|
-
wal: z.ZodOptional<z.ZodString
|
|
37
|
+
meta: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
38
|
+
car: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
39
|
+
file: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
40
|
+
wal: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
40
41
|
}, z.core.$strip>;
|
|
41
42
|
idx: z.ZodObject<{
|
|
42
|
-
meta: z.ZodOptional<z.ZodString
|
|
43
|
-
car: z.ZodOptional<z.ZodString
|
|
44
|
-
file: z.ZodOptional<z.ZodString
|
|
45
|
-
wal: z.ZodOptional<z.ZodString
|
|
43
|
+
meta: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
44
|
+
car: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
45
|
+
file: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
46
|
+
wal: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
46
47
|
}, z.core.$strip>;
|
|
47
48
|
}, z.core.$strip>>>;
|
|
48
49
|
threshold: z.ZodNumber;
|
|
49
50
|
}, z.core.$strip>>;
|
|
50
51
|
export type DatabaseConfig = z.infer<typeof DatabaseConfigSchema>;
|
|
51
|
-
export declare const DatabaseConfigWithNameSchema: z.ZodObject<{
|
|
52
|
-
env: z.
|
|
53
|
-
ctx: z.
|
|
54
|
-
writeQueue: z.
|
|
52
|
+
export declare const DatabaseConfigWithNameSchema: z.ZodReadonly<z.ZodObject<{
|
|
53
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
54
|
+
ctx: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
55
|
+
writeQueue: z.ZodObject<{
|
|
55
56
|
chunkSize: z.ZodNumber;
|
|
56
|
-
}, z.core.$strip
|
|
57
|
-
autoCompact: z.
|
|
58
|
-
compactStrategy: z.
|
|
59
|
-
storeUrls: z.ZodOptional<z.
|
|
60
|
-
base: z.
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
autoCompact: z.ZodNumber;
|
|
59
|
+
compactStrategy: z.ZodString;
|
|
60
|
+
storeUrls: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
61
|
+
base: z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>;
|
|
61
62
|
data: z.ZodObject<{
|
|
62
|
-
meta: z.ZodOptional<z.ZodString
|
|
63
|
-
car: z.ZodOptional<z.ZodString
|
|
64
|
-
file: z.ZodOptional<z.ZodString
|
|
65
|
-
wal: z.ZodOptional<z.ZodString
|
|
63
|
+
meta: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
64
|
+
car: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
65
|
+
file: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
66
|
+
wal: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
66
67
|
}, z.core.$strip>;
|
|
67
68
|
idx: z.ZodObject<{
|
|
68
|
-
meta: z.ZodOptional<z.ZodString
|
|
69
|
-
car: z.ZodOptional<z.ZodString
|
|
70
|
-
file: z.ZodOptional<z.ZodString
|
|
71
|
-
wal: z.ZodOptional<z.ZodString
|
|
69
|
+
meta: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
70
|
+
car: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
71
|
+
file: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
72
|
+
wal: z.ZodOptional<z.ZodReadonly<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URI, URI>, z.ZodCustom<BuildURI, BuildURI>, z.ZodCustom<URL, URL>, z.ZodCustom<ReadonlyURL, ReadonlyURL>, z.ZodCustom<WritableURL, WritableURL>, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string, string | BuildURI | ReadonlyURL | URI | URL | WritableURL | null | undefined>>>>;
|
|
72
73
|
}, z.core.$strip>;
|
|
73
|
-
}, z.core.$strip
|
|
74
|
-
threshold: z.
|
|
74
|
+
}, z.core.$strip>>>;
|
|
75
|
+
threshold: z.ZodNumber;
|
|
75
76
|
name: z.ZodString;
|
|
76
77
|
refId: z.ZodString;
|
|
77
|
-
}, z.core.$strip
|
|
78
|
+
}, z.core.$strip>>;
|
|
78
79
|
export type DatabaseConfigWithName = z.infer<typeof DatabaseConfigWithNameSchema>;
|
package/database-config.zod.js
CHANGED
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { URI } from "@adviser/cement";
|
|
3
|
+
const CoerceURISchema = z
|
|
4
|
+
.union([
|
|
5
|
+
z.string(),
|
|
6
|
+
z.custom(),
|
|
7
|
+
z.custom(),
|
|
8
|
+
z.custom(),
|
|
9
|
+
z.custom(),
|
|
10
|
+
z.custom(),
|
|
11
|
+
z.null(),
|
|
12
|
+
z.undefined(),
|
|
13
|
+
])
|
|
14
|
+
.transform((val) => URI.from(val).toString());
|
|
2
15
|
export const StoreUrlsSchema = z.object({
|
|
3
|
-
meta:
|
|
4
|
-
car:
|
|
5
|
-
file:
|
|
6
|
-
wal:
|
|
16
|
+
meta: CoerceURISchema.readonly(),
|
|
17
|
+
car: CoerceURISchema.readonly(),
|
|
18
|
+
file: CoerceURISchema.readonly(),
|
|
19
|
+
wal: CoerceURISchema.readonly(),
|
|
7
20
|
});
|
|
8
21
|
export const StoreUrlsOptsSchema = z
|
|
9
22
|
.object({
|
|
10
|
-
base:
|
|
23
|
+
base: CoerceURISchema.readonly(),
|
|
11
24
|
data: StoreUrlsSchema.partial(),
|
|
12
25
|
idx: StoreUrlsSchema.partial(),
|
|
13
26
|
})
|
|
@@ -24,9 +37,8 @@ const DatabaseConfigSchemaBase = z.object({
|
|
|
24
37
|
threshold: z.number(),
|
|
25
38
|
});
|
|
26
39
|
export const DatabaseConfigSchema = DatabaseConfigSchemaBase.readonly();
|
|
27
|
-
export const DatabaseConfigWithNameSchema =
|
|
28
|
-
...DatabaseConfigSchemaBase.partial().shape,
|
|
40
|
+
export const DatabaseConfigWithNameSchema = DatabaseConfigSchemaBase.extend({
|
|
29
41
|
name: z.string(),
|
|
30
42
|
refId: z.string(),
|
|
31
|
-
});
|
|
43
|
+
}).readonly();
|
|
32
44
|
//# sourceMappingURL=database-config.zod.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-config.zod.js","sourceRoot":"","sources":["../jsr/database-config.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"database-config.zod.js","sourceRoot":"","sources":["../jsr/database-config.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAY,GAAG,EAAsD,MAAM,iBAAiB,CAAC;AAIpG,MAAM,eAAe,GAAG,CAAC;KACtB,KAAK,CAAC;IACL,CAAC,CAAC,MAAM,EAAE;IACV,CAAC,CAAC,MAAM,EAAO;IACf,CAAC,CAAC,MAAM,EAAY;IACpB,CAAC,CAAC,MAAM,EAAO;IACf,CAAC,CAAC,MAAM,EAAe;IACvB,CAAC,CAAC,MAAM,EAAe;IACvB,CAAC,CAAC,IAAI,EAAE;IACR,CAAC,CAAC,SAAS,EAAE;CACd,CAAC;KACD,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,GAAgB,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAGtC,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,eAAe,CAAC,QAAQ,EAAE;IAC/B,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,eAAe,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC;IACN,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE;IAChC,IAAI,EAAE,eAAe,CAAC,OAAO,EAAE;IAC/B,GAAG,EAAE,eAAe,CAAC,OAAO,EAAE;CAC/B,CAAC;KACD,QAAQ,EAAE,CAAC;AAKd,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IACrC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;IAErC,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;KACtB,CAAC;IACF,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,6CAA6C;IAC1E,SAAS,EAAE,mBAAmB,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC,QAAQ,EAAE,CAAC;AAIxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC1E,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,QAAQ,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fireproof/core-types-base",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.2-dev-cloud-api",
|
|
4
4
|
"description": "Live ledger for the web.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"url": "https://github.com/fireproof-storage/fireproof/issues"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@adviser/cement": "^0.
|
|
35
|
-
"@fireproof/core-types-blockstore": "0.24.
|
|
36
|
-
"@fireproof/vendor": "0.24.
|
|
34
|
+
"@adviser/cement": "^0.4.72",
|
|
35
|
+
"@fireproof/core-types-blockstore": "0.24.2-dev-cloud-api",
|
|
36
|
+
"@fireproof/vendor": "0.24.2-dev-cloud-api",
|
|
37
37
|
"@web3-storage/pail": "^0.6.2",
|
|
38
38
|
"jose": "^6.1.2",
|
|
39
39
|
"multiformats": "^13.4.0",
|
|
40
40
|
"prolly-trees": "^1.0.4",
|
|
41
|
-
"zod": "^4.1.
|
|
41
|
+
"zod": "^4.1.12"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "core-cli tsc"
|