@livestore/adapter-node 0.0.0-snapshot-50c6f98d0a9e61b95e95effb6a7be65f03e7c20c → 0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7
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/worker-schema.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const StorageTypeFs: Schema.Struct<{
|
|
|
16
16
|
*
|
|
17
17
|
* @default Current working directory
|
|
18
18
|
*/
|
|
19
|
-
baseDirectory: typeof Schema.String
|
|
19
|
+
baseDirectory: Schema.optional<typeof Schema.String>;
|
|
20
20
|
}>;
|
|
21
21
|
export type StorageTypeFs = typeof StorageTypeFs.Type;
|
|
22
22
|
export declare const StorageType: Schema.Union<[Schema.Struct<{
|
|
@@ -28,7 +28,7 @@ export declare const StorageType: Schema.Union<[Schema.Struct<{
|
|
|
28
28
|
*
|
|
29
29
|
* @default Current working directory
|
|
30
30
|
*/
|
|
31
|
-
baseDirectory: typeof Schema.String
|
|
31
|
+
baseDirectory: Schema.optional<typeof Schema.String>;
|
|
32
32
|
}>]>;
|
|
33
33
|
export type StorageType = typeof StorageType.Type;
|
|
34
34
|
export type StorageTypeEncoded = typeof StorageType.Encoded;
|
|
@@ -62,7 +62,7 @@ export declare namespace LeaderWorkerInner {
|
|
|
62
62
|
*
|
|
63
63
|
* @default Current working directory
|
|
64
64
|
*/
|
|
65
|
-
baseDirectory: typeof Schema.String
|
|
65
|
+
baseDirectory: Schema.optional<typeof Schema.String>;
|
|
66
66
|
}>]>;
|
|
67
67
|
syncPayload: Schema.UndefinedOr<Schema.Schema<Schema.JsonValue, Schema.JsonValue, never>>;
|
|
68
68
|
devtools: Schema.Union<[Schema.Struct<{
|
package/dist/worker-schema.js
CHANGED
|
@@ -16,7 +16,7 @@ export const StorageTypeFs = Schema.Struct({
|
|
|
16
16
|
*
|
|
17
17
|
* @default Current working directory
|
|
18
18
|
*/
|
|
19
|
-
baseDirectory: Schema.String,
|
|
19
|
+
baseDirectory: Schema.optional(Schema.String),
|
|
20
20
|
});
|
|
21
21
|
export const StorageType = Schema.Union(StorageTypeInMemory, StorageTypeFs);
|
|
22
22
|
// export const SyncBackendOptionsWebsocket = Schema.Struct({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-schema.js","sourceRoot":"","sources":["../src/worker-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,eAAe,GAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,CACxC,MAAM,CAAC,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM;IACvB,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAC,CACH,CAAA;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC;CAClC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM;
|
|
1
|
+
{"version":3,"file":"worker-schema.js","sourceRoot":"","sources":["../src/worker-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,eAAe,GAChB,MAAM,mB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
1
1
|
{
|
|
2
2
|
"name": "@livestore/adapter-node",
|
|
3
|
-
"version": "0.0.0-snapshot-
|
|
3
|
+
"version": "0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@livestore/devtools-vite": "0.3.0-dev.36",
|
|
30
30
|
"@opentelemetry/api": "1.9.0",
|
|
31
31
|
"vite": "6.2.1",
|
|
32
|
-
"@livestore/common": "0.0.0-snapshot-
|
|
33
|
-
"@livestore/devtools-node-common": "0.0.0-snapshot-
|
|
34
|
-
"@livestore/sqlite-wasm": "0.0.0-snapshot-
|
|
35
|
-
"@livestore/utils": "0.0.0-snapshot-
|
|
36
|
-
"@livestore/webmesh": "0.0.0-snapshot-
|
|
32
|
+
"@livestore/common": "0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7",
|
|
33
|
+
"@livestore/devtools-node-common": "0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7",
|
|
34
|
+
"@livestore/sqlite-wasm": "0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7",
|
|
35
|
+
"@livestore/utils": "0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7",
|
|
36
|
+
"@livestore/webmesh": "0.0.0-snapshot-641f9f87e46a8f35df4e878e83f787b73eca0de7"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@rollup/plugin-commonjs": "^28.0.3",
|
package/src/worker-schema.ts
CHANGED