@livestore/common 0.2.0-dev.0 → 0.2.0-dev.1

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.
@@ -2,7 +2,7 @@ import { Schema } from '@livestore/utils/effect';
2
2
  declare const SnapshotReq_base: Schema.Struct<{
3
3
  _tag: Schema.tag<"LSD.SnapshotReq">;
4
4
  } & {
5
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
5
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
6
6
  } & {
7
7
  appHostId: typeof Schema.String;
8
8
  } & {
@@ -13,7 +13,7 @@ export declare class SnapshotReq extends SnapshotReq_base {
13
13
  declare const SnapshotRes_base: Schema.Struct<{
14
14
  _tag: Schema.tag<"LSD.SnapshotRes">;
15
15
  } & {
16
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
16
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
17
17
  } & {
18
18
  appHostId: typeof Schema.String;
19
19
  } & {
@@ -26,7 +26,7 @@ export declare class SnapshotRes extends SnapshotRes_base {
26
26
  declare const LoadDatabaseFileReq_base: Schema.Struct<{
27
27
  _tag: Schema.tag<"LSD.LoadDatabaseFileReq">;
28
28
  } & {
29
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
29
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
30
30
  } & {
31
31
  appHostId: typeof Schema.String;
32
32
  } & {
@@ -39,7 +39,7 @@ export declare class LoadDatabaseFileReq extends LoadDatabaseFileReq_base {
39
39
  declare const LoadDatabaseFileRes_base: Schema.Struct<{
40
40
  _tag: Schema.tag<"LSD.LoadDatabaseFileRes">;
41
41
  } & {
42
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
42
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
43
43
  } & {
44
44
  appHostId: typeof Schema.String;
45
45
  } & {
@@ -52,7 +52,7 @@ export declare class LoadDatabaseFileRes extends LoadDatabaseFileRes_base {
52
52
  declare const DebugInfoReq_base: Schema.Struct<{
53
53
  _tag: Schema.tag<"LSD.DebugInfoReq">;
54
54
  } & {
55
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
55
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
56
56
  } & {
57
57
  appHostId: typeof Schema.String;
58
58
  } & {
@@ -63,7 +63,7 @@ export declare class DebugInfoReq extends DebugInfoReq_base {
63
63
  declare const DebugInfoRes_base: Schema.Struct<{
64
64
  _tag: Schema.tag<"LSD.DebugInfoRes">;
65
65
  } & {
66
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
66
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
67
67
  } & {
68
68
  appHostId: typeof Schema.String;
69
69
  } & {
@@ -123,7 +123,7 @@ export declare class DebugInfoRes extends DebugInfoRes_base {
123
123
  declare const DebugInfoHistorySubscribe_base: Schema.Struct<{
124
124
  _tag: Schema.tag<"LSD.DebugInfoHistorySubscribe">;
125
125
  } & {
126
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
126
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
127
127
  } & {
128
128
  appHostId: typeof Schema.String;
129
129
  } & {
@@ -134,7 +134,7 @@ export declare class DebugInfoHistorySubscribe extends DebugInfoHistorySubscribe
134
134
  declare const DebugInfoHistoryRes_base: Schema.Struct<{
135
135
  _tag: Schema.tag<"LSD.DebugInfoHistoryRes">;
136
136
  } & {
137
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
137
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
138
138
  } & {
139
139
  appHostId: typeof Schema.String;
140
140
  } & {
@@ -194,7 +194,7 @@ export declare class DebugInfoHistoryRes extends DebugInfoHistoryRes_base {
194
194
  declare const DebugInfoHistoryUnsubscribe_base: Schema.Struct<{
195
195
  _tag: Schema.tag<"LSD.DebugInfoHistoryUnsubscribe">;
196
196
  } & {
197
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
197
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
198
198
  } & {
199
199
  appHostId: typeof Schema.String;
200
200
  } & {
@@ -205,7 +205,7 @@ export declare class DebugInfoHistoryUnsubscribe extends DebugInfoHistoryUnsubsc
205
205
  declare const DebugInfoResetReq_base: Schema.Struct<{
206
206
  _tag: Schema.tag<"LSD.DebugInfoResetReq">;
207
207
  } & {
208
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
208
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
209
209
  } & {
210
210
  appHostId: typeof Schema.String;
211
211
  } & {
@@ -216,7 +216,7 @@ export declare class DebugInfoResetReq extends DebugInfoResetReq_base {
216
216
  declare const DebugInfoResetRes_base: Schema.Struct<{
217
217
  _tag: Schema.tag<"LSD.DebugInfoResetRes">;
218
218
  } & {
219
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
219
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
220
220
  } & {
221
221
  appHostId: typeof Schema.String;
222
222
  } & {
@@ -227,7 +227,7 @@ export declare class DebugInfoResetRes extends DebugInfoResetRes_base {
227
227
  declare const DebugInfoRerunQueryReq_base: Schema.Struct<{
228
228
  _tag: Schema.tag<"LSD.DebugInfoRerunQueryReq">;
229
229
  } & {
230
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
230
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
231
231
  } & {
232
232
  appHostId: typeof Schema.String;
233
233
  } & {
@@ -242,7 +242,7 @@ export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base
242
242
  declare const DebugInfoRerunQueryRes_base: Schema.Struct<{
243
243
  _tag: Schema.tag<"LSD.DebugInfoRerunQueryRes">;
244
244
  } & {
245
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
245
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
246
246
  } & {
247
247
  appHostId: typeof Schema.String;
248
248
  } & {
@@ -253,26 +253,26 @@ export declare class DebugInfoRerunQueryRes extends DebugInfoRerunQueryRes_base
253
253
  declare const MutationBroadcast_base: Schema.Struct<{
254
254
  _tag: Schema.tag<"LSD.MutationBroadcast">;
255
255
  } & {
256
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
256
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
257
257
  } & {
258
258
  mutationEventEncoded: Schema.SchemaClass<{
259
- readonly mutation: string;
260
- readonly args: any;
261
259
  readonly id: {
262
260
  readonly global: number;
263
261
  readonly local: number;
264
262
  };
263
+ readonly mutation: string;
264
+ readonly args: any;
265
265
  readonly parentId: {
266
266
  readonly global: number;
267
267
  readonly local: number;
268
268
  };
269
269
  }, {
270
- readonly mutation: string;
271
- readonly args: any;
272
270
  readonly id: {
273
271
  readonly global: number;
274
272
  readonly local: number;
275
273
  };
274
+ readonly mutation: string;
275
+ readonly args: any;
276
276
  readonly parentId: {
277
277
  readonly global: number;
278
278
  readonly local: number;
@@ -285,7 +285,7 @@ export declare class MutationBroadcast extends MutationBroadcast_base {
285
285
  declare const RunMutationReq_base: Schema.Struct<{
286
286
  _tag: Schema.tag<"LSD.RunMutationReq">;
287
287
  } & {
288
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
288
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
289
289
  } & {
290
290
  appHostId: typeof Schema.String;
291
291
  } & {
@@ -305,7 +305,7 @@ export declare class RunMutationReq extends RunMutationReq_base {
305
305
  declare const RunMutationRes_base: Schema.Struct<{
306
306
  _tag: Schema.tag<"LSD.RunMutationRes">;
307
307
  } & {
308
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
308
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
309
309
  } & {
310
310
  appHostId: typeof Schema.String;
311
311
  } & {
@@ -316,7 +316,7 @@ export declare class RunMutationRes extends RunMutationRes_base {
316
316
  declare const MutationLogReq_base: Schema.Struct<{
317
317
  _tag: Schema.tag<"LSD.MutationLogReq">;
318
318
  } & {
319
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
319
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
320
320
  } & {
321
321
  appHostId: typeof Schema.String;
322
322
  } & {
@@ -327,7 +327,7 @@ export declare class MutationLogReq extends MutationLogReq_base {
327
327
  declare const MutationLogRes_base: Schema.Struct<{
328
328
  _tag: Schema.tag<"LSD.MutationLogRes">;
329
329
  } & {
330
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
330
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
331
331
  } & {
332
332
  appHostId: typeof Schema.String;
333
333
  } & {
@@ -340,7 +340,7 @@ export declare class MutationLogRes extends MutationLogRes_base {
340
340
  declare const ReactivityGraphSubscribe_base: Schema.Struct<{
341
341
  _tag: Schema.tag<"LSD.ReactivityGraphSubscribe">;
342
342
  } & {
343
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
343
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
344
344
  } & {
345
345
  appHostId: typeof Schema.String;
346
346
  } & {
@@ -353,7 +353,7 @@ export declare class ReactivityGraphSubscribe extends ReactivityGraphSubscribe_b
353
353
  declare const ReactivityGraphUnsubscribe_base: Schema.Struct<{
354
354
  _tag: Schema.tag<"LSD.ReactivityGraphUnsubscribe">;
355
355
  } & {
356
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
356
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
357
357
  } & {
358
358
  appHostId: typeof Schema.String;
359
359
  } & {
@@ -364,7 +364,7 @@ export declare class ReactivityGraphUnsubscribe extends ReactivityGraphUnsubscri
364
364
  declare const ReactivityGraphRes_base: Schema.Struct<{
365
365
  _tag: Schema.tag<"LSD.ReactivityGraphRes">;
366
366
  } & {
367
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
367
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
368
368
  } & {
369
369
  appHostId: typeof Schema.String;
370
370
  } & {
@@ -377,7 +377,7 @@ export declare class ReactivityGraphRes extends ReactivityGraphRes_base {
377
377
  declare const LiveQueriesSubscribe_base: Schema.Struct<{
378
378
  _tag: Schema.tag<"LSD.LiveQueriesSubscribe">;
379
379
  } & {
380
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
380
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
381
381
  } & {
382
382
  appHostId: typeof Schema.String;
383
383
  } & {
@@ -388,7 +388,7 @@ export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
388
388
  declare const LiveQueriesUnsubscribe_base: Schema.Struct<{
389
389
  _tag: Schema.tag<"LSD.LiveQueriesUnsubscribe">;
390
390
  } & {
391
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
391
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
392
392
  } & {
393
393
  appHostId: typeof Schema.String;
394
394
  } & {
@@ -415,7 +415,7 @@ export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
415
415
  declare const LiveQueriesRes_base: Schema.Struct<{
416
416
  _tag: Schema.tag<"LSD.LiveQueriesRes">;
417
417
  } & {
418
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
418
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
419
419
  } & {
420
420
  appHostId: typeof Schema.String;
421
421
  } & {
@@ -428,7 +428,7 @@ export declare class LiveQueriesRes extends LiveQueriesRes_base {
428
428
  declare const ResetAllDataReq_base: Schema.Struct<{
429
429
  _tag: Schema.tag<"LSD.ResetAllDataReq">;
430
430
  } & {
431
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
431
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
432
432
  } & {
433
433
  appHostId: typeof Schema.String;
434
434
  } & {
@@ -441,7 +441,7 @@ export declare class ResetAllDataReq extends ResetAllDataReq_base {
441
441
  declare const ResetAllDataRes_base: Schema.Struct<{
442
442
  _tag: Schema.tag<"LSD.ResetAllDataRes">;
443
443
  } & {
444
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
444
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
445
445
  } & {
446
446
  appHostId: typeof Schema.String;
447
447
  } & {
@@ -452,7 +452,7 @@ export declare class ResetAllDataRes extends ResetAllDataRes_base {
452
452
  declare const DatabaseFileInfoReq_base: Schema.Struct<{
453
453
  _tag: Schema.tag<"LSD.DatabaseFileInfoReq">;
454
454
  } & {
455
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
455
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
456
456
  } & {
457
457
  appHostId: typeof Schema.String;
458
458
  } & {
@@ -474,7 +474,7 @@ export declare class DatabaseFileInfo extends DatabaseFileInfo_base {
474
474
  declare const DatabaseFileInfoRes_base: Schema.Struct<{
475
475
  _tag: Schema.tag<"LSD.DatabaseFileInfoRes">;
476
476
  } & {
477
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
477
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
478
478
  } & {
479
479
  appHostId: typeof Schema.String;
480
480
  } & {
@@ -488,7 +488,7 @@ export declare class DatabaseFileInfoRes extends DatabaseFileInfoRes_base {
488
488
  declare const MessagePortForStoreReq_base: Schema.Struct<{
489
489
  _tag: Schema.tag<"LSD.MessagePortForStoreReq">;
490
490
  } & {
491
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
491
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
492
492
  } & {
493
493
  appHostId: typeof Schema.String;
494
494
  } & {
@@ -499,7 +499,7 @@ export declare class MessagePortForStoreReq extends MessagePortForStoreReq_base
499
499
  declare const MessagePortForStoreRes_base: Schema.Struct<{
500
500
  _tag: Schema.tag<"LSD.MessagePortForStoreRes">;
501
501
  } & {
502
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
502
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
503
503
  } & {
504
504
  appHostId: typeof Schema.String;
505
505
  } & {
@@ -512,7 +512,7 @@ export declare class MessagePortForStoreRes extends MessagePortForStoreRes_base
512
512
  declare const NetworkStatusSubscribe_base: Schema.Struct<{
513
513
  _tag: Schema.tag<"LSD.NetworkStatusSubscribe">;
514
514
  } & {
515
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
515
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
516
516
  } & {
517
517
  appHostId: typeof Schema.String;
518
518
  } & {
@@ -523,7 +523,7 @@ export declare class NetworkStatusSubscribe extends NetworkStatusSubscribe_base
523
523
  declare const NetworkStatusUnsubscribe_base: Schema.Struct<{
524
524
  _tag: Schema.tag<"LSD.NetworkStatusUnsubscribe">;
525
525
  } & {
526
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
526
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
527
527
  } & {
528
528
  appHostId: typeof Schema.String;
529
529
  } & {
@@ -534,7 +534,7 @@ export declare class NetworkStatusUnsubscribe extends NetworkStatusUnsubscribe_b
534
534
  declare const NetworkStatusRes_base: Schema.Struct<{
535
535
  _tag: Schema.tag<"LSD.NetworkStatusRes">;
536
536
  } & {
537
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
537
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
538
538
  } & {
539
539
  appHostId: typeof Schema.String;
540
540
  } & {
@@ -550,7 +550,7 @@ export declare class NetworkStatusRes extends NetworkStatusRes_base {
550
550
  declare const SyncingInfoReq_base: Schema.Struct<{
551
551
  _tag: Schema.tag<"LSD.SyncingInfoReq">;
552
552
  } & {
553
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
553
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
554
554
  } & {
555
555
  appHostId: typeof Schema.String;
556
556
  } & {
@@ -567,7 +567,7 @@ export declare class SyncingInfo extends SyncingInfo_base {
567
567
  declare const SyncingInfoRes_base: Schema.Struct<{
568
568
  _tag: Schema.tag<"LSD.SyncingInfoRes">;
569
569
  } & {
570
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
570
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
571
571
  } & {
572
572
  appHostId: typeof Schema.String;
573
573
  } & {
@@ -580,7 +580,7 @@ export declare class SyncingInfoRes extends SyncingInfoRes_base {
580
580
  declare const SyncHistorySubscribe_base: Schema.Struct<{
581
581
  _tag: Schema.tag<"LSD.SyncHistorySubscribe">;
582
582
  } & {
583
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
583
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
584
584
  } & {
585
585
  appHostId: typeof Schema.String;
586
586
  } & {
@@ -591,7 +591,7 @@ export declare class SyncHistorySubscribe extends SyncHistorySubscribe_base {
591
591
  declare const SyncHistoryUnsubscribe_base: Schema.Struct<{
592
592
  _tag: Schema.tag<"LSD.SyncHistoryUnsubscribe">;
593
593
  } & {
594
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
594
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
595
595
  } & {
596
596
  appHostId: typeof Schema.String;
597
597
  } & {
@@ -602,30 +602,30 @@ export declare class SyncHistoryUnsubscribe extends SyncHistoryUnsubscribe_base
602
602
  declare const SyncHistoryRes_base: Schema.Struct<{
603
603
  _tag: Schema.tag<"LSD.SyncHistoryRes">;
604
604
  } & {
605
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
605
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
606
606
  } & {
607
607
  appHostId: typeof Schema.String;
608
608
  } & {
609
609
  requestId: typeof Schema.String;
610
610
  } & {
611
611
  mutationEventEncoded: Schema.SchemaClass<{
612
- readonly mutation: string;
613
- readonly args: any;
614
612
  readonly id: {
615
613
  readonly global: number;
616
614
  readonly local: number;
617
615
  };
616
+ readonly mutation: string;
617
+ readonly args: any;
618
618
  readonly parentId: {
619
619
  readonly global: number;
620
620
  readonly local: number;
621
621
  };
622
622
  }, {
623
- readonly mutation: string;
624
- readonly args: any;
625
623
  readonly id: {
626
624
  readonly global: number;
627
625
  readonly local: number;
628
626
  };
627
+ readonly mutation: string;
628
+ readonly args: any;
629
629
  readonly parentId: {
630
630
  readonly global: number;
631
631
  readonly local: number;
@@ -638,14 +638,14 @@ export declare class SyncHistoryRes extends SyncHistoryRes_base {
638
638
  declare const DevtoolsReady_base: Schema.Struct<{
639
639
  _tag: Schema.tag<"LSD.DevtoolsReady">;
640
640
  } & {
641
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
641
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
642
642
  }>;
643
643
  export declare class DevtoolsReady extends DevtoolsReady_base {
644
644
  }
645
645
  declare const DevtoolsConnected_base: Schema.Struct<{
646
646
  _tag: Schema.tag<"LSD.DevtoolsConnected">;
647
647
  } & {
648
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
648
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
649
649
  } & {
650
650
  appHostId: typeof Schema.String;
651
651
  }>;
@@ -654,7 +654,7 @@ export declare class DevtoolsConnected extends DevtoolsConnected_base {
654
654
  declare const AppHostReady_base: Schema.Struct<{
655
655
  _tag: Schema.tag<"LSD.AppHostReady">;
656
656
  } & {
657
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
657
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
658
658
  } & {
659
659
  appHostId: typeof Schema.String;
660
660
  } & {
@@ -665,7 +665,7 @@ export declare class AppHostReady extends AppHostReady_base {
665
665
  declare const Disconnect_base: Schema.Struct<{
666
666
  _tag: Schema.tag<"LSD.Disconnect">;
667
667
  } & {
668
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
668
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
669
669
  } & {
670
670
  appHostId: typeof Schema.String;
671
671
  }>;
@@ -674,7 +674,7 @@ export declare class Disconnect extends Disconnect_base {
674
674
  declare const Ping_base: Schema.Struct<{
675
675
  _tag: Schema.tag<"LSD.Ping">;
676
676
  } & {
677
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
677
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
678
678
  } & {
679
679
  appHostId: typeof Schema.String;
680
680
  } & {
@@ -685,7 +685,7 @@ export declare class Ping extends Ping_base {
685
685
  declare const Pong_base: Schema.Struct<{
686
686
  _tag: Schema.tag<"LSD.Pong">;
687
687
  } & {
688
- liveStoreVersion: Schema.Literal<["0.1.0"]>;
688
+ liveStoreVersion: Schema.Literal<["0.2.0-dev.0"]>;
689
689
  } & {
690
690
  appHostId: typeof Schema.String;
691
691
  } & {
@@ -179,46 +179,46 @@ export declare const mutationEventSchemaAny: Schema.Struct<{
179
179
  }>;
180
180
  }>;
181
181
  export declare const mutationEventSchemaDecodedAny: Schema.SchemaClass<{
182
- readonly mutation: string;
183
- readonly args: any;
184
182
  readonly id: {
185
183
  readonly global: number;
186
184
  readonly local: number;
187
185
  };
186
+ readonly mutation: string;
187
+ readonly args: any;
188
188
  readonly parentId: {
189
189
  readonly global: number;
190
190
  readonly local: number;
191
191
  };
192
192
  }, {
193
- readonly mutation: string;
194
- readonly args: any;
195
193
  readonly id: {
196
194
  readonly global: number;
197
195
  readonly local: number;
198
196
  };
197
+ readonly mutation: string;
198
+ readonly args: any;
199
199
  readonly parentId: {
200
200
  readonly global: number;
201
201
  readonly local: number;
202
202
  };
203
203
  }, never>;
204
204
  export declare const mutationEventSchemaEncodedAny: Schema.SchemaClass<{
205
- readonly mutation: string;
206
- readonly args: any;
207
205
  readonly id: {
208
206
  readonly global: number;
209
207
  readonly local: number;
210
208
  };
209
+ readonly mutation: string;
210
+ readonly args: any;
211
211
  readonly parentId: {
212
212
  readonly global: number;
213
213
  readonly local: number;
214
214
  };
215
215
  }, {
216
- readonly mutation: string;
217
- readonly args: any;
218
216
  readonly id: {
219
217
  readonly global: number;
220
218
  readonly local: number;
221
219
  };
220
+ readonly mutation: string;
221
+ readonly args: any;
222
222
  readonly parentId: {
223
223
  readonly global: number;
224
224
  readonly local: number;
@@ -345,7 +345,7 @@ export declare const mutationLogMetaTable: import("./table-def.js").TableDef<{
345
345
  disableAutomaticIdColumn: true;
346
346
  deriveMutations: never;
347
347
  isSingleColumn: false;
348
- requiredInsertColumnNames: "mutation" | "schemaHash" | "idGlobal" | "idLocal" | "parentIdGlobal" | "parentIdLocal" | "argsJson" | "createdAt" | "syncStatus" | "syncMetadataJson";
348
+ requiredInsertColumnNames: "schemaHash" | "idGlobal" | "idLocal" | "parentIdGlobal" | "parentIdLocal" | "mutation" | "argsJson" | "createdAt" | "syncStatus" | "syncMetadataJson";
349
349
  }, Schema.Schema<{
350
350
  readonly idGlobal: number;
351
351
  readonly idLocal: number;
@@ -10,18 +10,18 @@ export declare const facts: {
10
10
  };
11
11
  export declare const mutations: {
12
12
  createTodo: MutationDef<"createTodo", {
13
- readonly id: string;
14
13
  readonly text: string;
15
- }, {
16
14
  readonly id: string;
15
+ }, {
17
16
  readonly text: string;
17
+ readonly id: string;
18
18
  }>;
19
19
  upsertTodo: MutationDef<"upsertTodo", {
20
20
  readonly id: string;
21
21
  readonly text?: string | undefined;
22
22
  }, {
23
- readonly id: string;
24
23
  readonly text?: string | undefined;
24
+ readonly id: string;
25
25
  }>;
26
26
  completeTodo: MutationDef<"completeTodo", {
27
27
  readonly id: string;
@@ -51,18 +51,18 @@ export declare const mutations: {
51
51
  readonly readonly: boolean;
52
52
  }>;
53
53
  setTextTodo: MutationDef<"setTextTodo", {
54
- readonly id: string;
55
54
  readonly text: string;
56
- }, {
57
55
  readonly id: string;
56
+ }, {
58
57
  readonly text: string;
58
+ readonly id: string;
59
59
  }>;
60
60
  setInputValue: MutationDef<"setInputValue", {
61
- readonly id: string;
62
61
  readonly text: string;
63
- }, {
64
62
  readonly id: string;
63
+ }, {
65
64
  readonly text: string;
65
+ readonly id: string;
66
66
  }>;
67
67
  };
68
68
  export type PartialEvent = {
package/dist/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const liveStoreVersion: "0.1.0";
1
+ export declare const liveStoreVersion: "0.2.0-dev.0";
2
2
  /**
3
3
  * This version number is incremented whenever the internal storage format changes in a breaking way.
4
4
  * Whenever this version changes, LiveStore will start with fresh database files. Old database files are not deleted.
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,SAAmB,CAAA;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B,IAAI,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,eAAyB,CAAA;AAEtD;;;;;;GAMG;AACH,eAAO,MAAM,6BAA6B,IAAI,CAAA"}
package/dist/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // TODO bring back when Expo and Playwright supports `with` imports
2
2
  // import packageJson from '../package.json' with { type: 'json' }
3
3
  // export const liveStoreVersion = packageJson.version
4
- export const liveStoreVersion = '0.1.0';
4
+ export const liveStoreVersion = '0.2.0-dev.0';
5
5
  /**
6
6
  * This version number is incremented whenever the internal storage format changes in a breaking way.
7
7
  * Whenever this version changes, LiveStore will start with fresh database files. Old database files are not deleted.
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,kEAAkE;AAClE,sDAAsD;AAEtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAgB,CAAA;AAEhD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,kEAAkE;AAClE,sDAAsD;AAEtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAsB,CAAA;AAEtD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/common",
3
- "version": "0.2.0-dev.0",
3
+ "version": "0.2.0-dev.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -46,8 +46,8 @@
46
46
  "graphology": "0.26.0-alpha1",
47
47
  "graphology-dag": "0.4.1",
48
48
  "graphology-types": "0.24.7",
49
- "@livestore/utils": "0.2.0-dev.0",
50
- "@livestore/db-schema": "0.2.0-dev.0"
49
+ "@livestore/utils": "0.2.0-dev.1",
50
+ "@livestore/db-schema": "0.2.0-dev.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "vitest": "^2.1.4"
package/src/version.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  // import packageJson from '../package.json' with { type: 'json' }
3
3
  // export const liveStoreVersion = packageJson.version
4
4
 
5
- export const liveStoreVersion = '0.1.0' as const
5
+ export const liveStoreVersion = '0.2.0-dev.0' as const
6
6
 
7
7
  /**
8
8
  * This version number is incremented whenever the internal storage format changes in a breaking way.