@livestore/common 0.0.54-dev.22 → 0.0.54-dev.24
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/.tsbuildinfo +1 -1
- package/dist/__tests__/fixture.d.ts +0 -2
- package/dist/__tests__/fixture.d.ts.map +1 -1
- package/dist/adapter-types.d.ts +59 -4
- package/dist/adapter-types.d.ts.map +1 -1
- package/dist/adapter-types.js +16 -11
- package/dist/adapter-types.js.map +1 -1
- package/dist/devtools/devtools-messages.d.ts +41 -39
- package/dist/devtools/devtools-messages.d.ts.map +1 -1
- package/dist/devtools/devtools-messages.js +27 -28
- package/dist/devtools/devtools-messages.js.map +1 -1
- package/dist/devtools/devtools-window-message.d.ts +26 -0
- package/dist/devtools/devtools-window-message.d.ts.map +1 -0
- package/dist/devtools/devtools-window-message.js +30 -0
- package/dist/devtools/devtools-window-message.js.map +1 -0
- package/dist/devtools/index.d.ts +1 -0
- package/dist/devtools/index.d.ts.map +1 -1
- package/dist/devtools/index.js +1 -0
- package/dist/devtools/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/rehydrate-from-mutationlog.d.ts +8 -3
- package/dist/rehydrate-from-mutationlog.d.ts.map +1 -1
- package/dist/rehydrate-from-mutationlog.js +71 -56
- package/dist/rehydrate-from-mutationlog.js.map +1 -1
- package/dist/schema/system-tables.d.ts +3 -8
- package/dist/schema/system-tables.d.ts.map +1 -1
- package/dist/schema/table-def.d.ts +0 -2
- package/dist/schema/table-def.d.ts.map +1 -1
- package/dist/schema/table-def.js +0 -1
- package/dist/schema/table-def.js.map +1 -1
- package/dist/schema-management/migrations.d.ts +9 -4
- package/dist/schema-management/migrations.d.ts.map +1 -1
- package/dist/schema-management/migrations.js +24 -13
- package/dist/schema-management/migrations.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/package.json +3 -3
- package/src/adapter-types.ts +46 -15
- package/src/devtools/devtools-messages.ts +55 -48
- package/src/devtools/devtools-window-message.ts +25 -0
- package/src/devtools/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/rehydrate-from-mutationlog.ts +100 -64
- package/src/schema/table-def.ts +0 -4
- package/src/schema-management/migrations.ts +104 -84
- package/src/version.ts +3 -0
|
@@ -24,7 +24,6 @@ export declare const todos: DbSchema.TableDef<DbSchema.SqliteDsl.TableDefinition
|
|
|
24
24
|
};
|
|
25
25
|
}>, false, {
|
|
26
26
|
isSingleton: false;
|
|
27
|
-
dynamicRegistration: false;
|
|
28
27
|
disableAutomaticIdColumn: false;
|
|
29
28
|
deriveMutations: {
|
|
30
29
|
enabled: true;
|
|
@@ -54,7 +53,6 @@ export declare const appConfig: DbSchema.TableDef<DbSchema.SqliteDsl.TableDefini
|
|
|
54
53
|
id: DbSchema.SqliteDsl.ColumnDefinition<"singleton", "singleton">;
|
|
55
54
|
}>, true, {
|
|
56
55
|
isSingleton: true;
|
|
57
|
-
dynamicRegistration: false;
|
|
58
56
|
disableAutomaticIdColumn: false;
|
|
59
57
|
deriveMutations: {
|
|
60
58
|
enabled: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../src/__tests__/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE7C,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../src/__tests__/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAEhD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE7C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAQjB,CAAA;AAOD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAGpB,CAAA"}
|
package/dist/adapter-types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Effect, Stream, SubscriptionRef
|
|
1
|
+
import type { Effect, Queue, Stream, SubscriptionRef } from '@livestore/utils/effect';
|
|
2
2
|
import { Schema } from '@livestore/utils/effect';
|
|
3
3
|
import type { LiveStoreSchema, MutationEvent } from './schema/index.js';
|
|
4
4
|
import type { PreparedBindValues } from './util.js';
|
|
@@ -28,11 +28,52 @@ export type NetworkStatus = {
|
|
|
28
28
|
isConnected: boolean;
|
|
29
29
|
timestampMs: number;
|
|
30
30
|
};
|
|
31
|
+
export declare const BootStateProgress: Schema.Struct<{
|
|
32
|
+
done: typeof Schema.Number;
|
|
33
|
+
total: typeof Schema.Number;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const BootStatus: Schema.Union<[Schema.Struct<{
|
|
36
|
+
stage: Schema.Literal<["loading"]>;
|
|
37
|
+
}>, Schema.Struct<{
|
|
38
|
+
stage: Schema.Literal<["migrating"]>;
|
|
39
|
+
progress: Schema.Struct<{
|
|
40
|
+
done: typeof Schema.Number;
|
|
41
|
+
total: typeof Schema.Number;
|
|
42
|
+
}>;
|
|
43
|
+
}>, Schema.Struct<{
|
|
44
|
+
stage: Schema.Literal<["rehydrating"]>;
|
|
45
|
+
progress: Schema.Struct<{
|
|
46
|
+
done: typeof Schema.Number;
|
|
47
|
+
total: typeof Schema.Number;
|
|
48
|
+
}>;
|
|
49
|
+
}>, Schema.Struct<{
|
|
50
|
+
stage: Schema.Literal<["syncing"]>;
|
|
51
|
+
progress: Schema.Struct<{
|
|
52
|
+
done: typeof Schema.Number;
|
|
53
|
+
total: typeof Schema.Number;
|
|
54
|
+
}>;
|
|
55
|
+
}>, Schema.Struct<{
|
|
56
|
+
stage: Schema.Literal<["done"]>;
|
|
57
|
+
}>]>;
|
|
58
|
+
export type BootStatus = typeof BootStatus.Type;
|
|
31
59
|
export type Coordinator = {
|
|
60
|
+
isShutdownRef: {
|
|
61
|
+
current: boolean;
|
|
62
|
+
};
|
|
32
63
|
devtools: {
|
|
64
|
+
enabled: boolean;
|
|
33
65
|
channelId: string;
|
|
66
|
+
/**
|
|
67
|
+
* Returns a dedicated message port for the store which is established over the message port passed in
|
|
68
|
+
*/
|
|
69
|
+
connect: (options: {
|
|
70
|
+
port: MessagePort;
|
|
71
|
+
connectionId: string;
|
|
72
|
+
}) => Effect.Effect<{
|
|
73
|
+
storeMessagePort: MessagePort;
|
|
74
|
+
}, UnexpectedError>;
|
|
34
75
|
};
|
|
35
|
-
|
|
76
|
+
lockStatus: SubscriptionRef.SubscriptionRef<LockStatus>;
|
|
36
77
|
syncMutations: Stream.Stream<MutationEvent.AnyEncoded, UnexpectedError>;
|
|
37
78
|
execute(queryStr: string, bindValues: PreparedBindValues | undefined): Effect.Effect<void, UnexpectedError>;
|
|
38
79
|
mutate(mutationEventEncoded: MutationEvent.Any, options: {
|
|
@@ -49,6 +90,7 @@ export type Coordinator = {
|
|
|
49
90
|
networkStatus: SubscriptionRef.SubscriptionRef<NetworkStatus>;
|
|
50
91
|
};
|
|
51
92
|
export type GetRowsChangedCount = () => number;
|
|
93
|
+
export type LockStatus = 'has-lock' | 'no-lock';
|
|
52
94
|
export type BootDb = {
|
|
53
95
|
_tag: 'BootDb';
|
|
54
96
|
execute(queryStr: string, bindValues?: PreparedBindValues): void;
|
|
@@ -59,10 +101,21 @@ export type BootDb = {
|
|
|
59
101
|
declare const UnexpectedError_base: Schema.TaggedErrorClass<UnexpectedError, "LiveStore.UnexpectedError", {
|
|
60
102
|
readonly _tag: Schema.PropertySignature<":", "LiveStore.UnexpectedError", never, ":", "LiveStore.UnexpectedError", true, never>;
|
|
61
103
|
} & {
|
|
62
|
-
|
|
104
|
+
cause: typeof Schema.AnyError;
|
|
63
105
|
}>;
|
|
64
106
|
export declare class UnexpectedError extends UnexpectedError_base {
|
|
65
|
-
|
|
107
|
+
}
|
|
108
|
+
declare const SqliteError_base: Schema.TaggedErrorClass<SqliteError, "LiveStore.SqliteError", {
|
|
109
|
+
readonly _tag: Schema.PropertySignature<":", "LiveStore.SqliteError", never, ":", "LiveStore.SqliteError", true, never>;
|
|
110
|
+
} & {
|
|
111
|
+
sql: typeof Schema.String;
|
|
112
|
+
bindValues: Schema.Record$<typeof Schema.String, typeof Schema.Any>;
|
|
113
|
+
/** The SQLite result code */
|
|
114
|
+
code: typeof Schema.Number;
|
|
115
|
+
/** The original SQLite3 error */
|
|
116
|
+
cause: typeof Schema.AnyError;
|
|
117
|
+
}>;
|
|
118
|
+
export declare class SqliteError extends SqliteError_base {
|
|
66
119
|
}
|
|
67
120
|
export type MigrationOptions<TSchema extends LiveStoreSchema = LiveStoreSchema> = MigrationOptionsFromMutationLog<TSchema> | {
|
|
68
121
|
strategy: 'hard-reset';
|
|
@@ -96,6 +149,8 @@ export type MigrationOptionsFromMutationLog<TSchema extends LiveStoreSchema = Li
|
|
|
96
149
|
};
|
|
97
150
|
export type StoreAdapterFactory = (opts: {
|
|
98
151
|
schema: LiveStoreSchema;
|
|
152
|
+
devtoolsEnabled: boolean;
|
|
153
|
+
bootStatusQueue: Queue.Queue<BootStatus>;
|
|
99
154
|
}) => Effect.Effect<StoreAdapter, UnexpectedError>;
|
|
100
155
|
export {};
|
|
101
156
|
//# sourceMappingURL=adapter-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE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AiI;IACjI,GAAG,EAAE,aAAa,CAAA;IAClB,0GAA0G;IAC1G,IAAI,EAAE,aAAa,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,EAAE,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAE1E,MAAM,MAAM,+BAA+B,CAAC,OAAO,SAAS,eAAe,GAAG,eAAe,IAAI;IAC/F,QAAQ,EAAE,mBAAmB,CAAA;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,OAAO,CAAC,qBAAqB,CAAC,GAAG,MAAM,CAAC,CAAA;IAC7E,KAAK,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;IAC/B,OAAO,CAAC,EAAE;QACR,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAA;KACnD,CAAA;CACF,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE;IACvC,MAAM,EAAE,eAAe,CAAA;IACvB,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;CACzC,KAAK,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAA"}
|
package/dist/adapter-types.js
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Schema } from '@livestore/utils/effect';
|
|
2
2
|
export const NetworkStatus = Schema.Struct({
|
|
3
3
|
isConnected: Schema.Boolean,
|
|
4
4
|
timestampMs: Schema.Number,
|
|
5
5
|
});
|
|
6
|
+
export const BootStateProgress = Schema.Struct({
|
|
7
|
+
done: Schema.Number,
|
|
8
|
+
total: Schema.Number,
|
|
9
|
+
});
|
|
10
|
+
export const BootStatus = Schema.Union(Schema.Struct({ stage: Schema.Literal('loading') }), Schema.Struct({ stage: Schema.Literal('migrating'), progress: BootStateProgress }), Schema.Struct({ stage: Schema.Literal('rehydrating'), progress: BootStateProgress }), Schema.Struct({ stage: Schema.Literal('syncing'), progress: BootStateProgress }), Schema.Struct({ stage: Schema.Literal('done') }));
|
|
6
11
|
export class UnexpectedError extends Schema.TaggedError()('LiveStore.UnexpectedError', {
|
|
7
|
-
|
|
12
|
+
cause: Schema.AnyError,
|
|
13
|
+
}) {
|
|
14
|
+
}
|
|
15
|
+
export class SqliteError extends Schema.TaggedError()('LiveStore.SqliteError', {
|
|
16
|
+
sql: Schema.String,
|
|
17
|
+
bindValues: Schema.Record(Schema.String, Schema.Any),
|
|
18
|
+
/** The SQLite result code */
|
|
19
|
+
code: Schema.Number,
|
|
20
|
+
/** The original SQLite3 error */
|
|
21
|
+
cause: Schema.AnyError,
|
|
8
22
|
}) {
|
|
9
|
-
get message() {
|
|
10
|
-
try {
|
|
11
|
-
return Cause.pretty(this.error);
|
|
12
|
-
}
|
|
13
|
-
catch (e) {
|
|
14
|
-
console.warn(`Error pretty printing error: ${e}`);
|
|
15
|
-
return this.error.toString();
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
23
|
}
|
|
19
24
|
//# sourceMappingURL=adapter-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-types.js","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"adapter-types.js","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AA2BhD,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,OAAO;IAC3B,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CAAC,CAAA;AAOF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC,MAAM;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StoreVersion: Schema.Literal<[string]>;
|
|
15
15
|
requestId: typeof Schema.String;
|
|
16
|
-
snapshot: Schema.Schema<Uint8Array,
|
|
16
|
+
snapshot: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
17
17
|
}>;
|
|
18
18
|
export declare class SnapshotRes extends SnapshotRes_base {
|
|
19
19
|
}
|
|
20
|
-
declare const
|
|
21
|
-
_tag: Schema.tag<"LSD.
|
|
20
|
+
declare const LoadDatabaseFileReq_base: Schema.Struct<{
|
|
21
|
+
_tag: Schema.tag<"LSD.LoadDatabaseFileReq">;
|
|
22
22
|
} & {
|
|
23
23
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
24
24
|
requestId: typeof Schema.String;
|
|
25
25
|
channelId: typeof Schema.String;
|
|
26
|
-
|
|
26
|
+
data: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
27
27
|
}>;
|
|
28
|
-
export declare class
|
|
28
|
+
export declare class LoadDatabaseFileReq extends LoadDatabaseFileReq_base {
|
|
29
29
|
}
|
|
30
|
-
declare const
|
|
31
|
-
_tag: Schema.tag<"LSD.
|
|
30
|
+
declare const LoadDatabaseFileRes_base: Schema.Struct<{
|
|
31
|
+
_tag: Schema.tag<"LSD.LoadDatabaseFileRes">;
|
|
32
32
|
} & {
|
|
33
33
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
34
34
|
requestId: typeof Schema.String;
|
|
35
|
+
status: Schema.Literal<["ok", "unsupported-file", "unsupported-database"]>;
|
|
35
36
|
}>;
|
|
36
|
-
export declare class
|
|
37
|
+
export declare class LoadDatabaseFileRes extends LoadDatabaseFileRes_base {
|
|
37
38
|
}
|
|
38
39
|
declare const DebugInfoReq_base: Schema.Struct<{
|
|
39
40
|
_tag: Schema.tag<"LSD.DebugInfoReq">;
|
|
@@ -53,38 +54,38 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
|
53
54
|
slowQueries: Schema.transform<Schema.Struct<{
|
|
54
55
|
size: typeof Schema.Number;
|
|
55
56
|
items: Schema.Array$<Schema.Schema<{
|
|
57
|
+
readonly queryStr: string;
|
|
56
58
|
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
57
59
|
readonly [x: string]: string | number | Uint8Array | null;
|
|
58
60
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
59
|
-
readonly queryStr: string;
|
|
60
61
|
readonly durationMs: number;
|
|
61
62
|
readonly rowsCount: number | undefined;
|
|
62
63
|
readonly queriedTables: ReadonlySet<string>;
|
|
63
64
|
readonly startTimePerfNow: number;
|
|
64
65
|
}, {
|
|
66
|
+
readonly queryStr: string;
|
|
65
67
|
readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
|
|
66
68
|
readonly [x: string]: string | number | readonly number[] | null;
|
|
67
69
|
} | undefined;
|
|
68
|
-
readonly queryStr: string;
|
|
69
70
|
readonly durationMs: number;
|
|
70
71
|
readonly rowsCount: number | undefined;
|
|
71
72
|
readonly queriedTables: readonly string[];
|
|
72
73
|
readonly startTimePerfNow: number;
|
|
73
74
|
}, never>>;
|
|
74
75
|
}>, Schema.Schema<import("../bounded-collections.js").BoundArray<{
|
|
76
|
+
readonly queryStr: string;
|
|
75
77
|
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
76
78
|
readonly [x: string]: string | number | Uint8Array | null;
|
|
77
79
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
78
|
-
readonly queryStr: string;
|
|
79
80
|
readonly durationMs: number;
|
|
80
81
|
readonly rowsCount: number | undefined;
|
|
81
82
|
readonly queriedTables: ReadonlySet<string>;
|
|
82
83
|
readonly startTimePerfNow: number;
|
|
83
84
|
}>, import("../bounded-collections.js").BoundArray<{
|
|
85
|
+
readonly queryStr: string;
|
|
84
86
|
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
85
87
|
readonly [x: string]: string | number | Uint8Array | null;
|
|
86
88
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
87
|
-
readonly queryStr: string;
|
|
88
89
|
readonly durationMs: number;
|
|
89
90
|
readonly rowsCount: number | undefined;
|
|
90
91
|
readonly queriedTables: ReadonlySet<string>;
|
|
@@ -189,28 +190,10 @@ declare const MutationLogRes_base: Schema.Struct<{
|
|
|
189
190
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
190
191
|
requestId: typeof Schema.String;
|
|
191
192
|
channelId: typeof Schema.String;
|
|
192
|
-
mutationLog: Schema.Schema<Uint8Array,
|
|
193
|
+
mutationLog: Schema.Schema<Uint8Array, Uint8Array, never>;
|
|
193
194
|
}>;
|
|
194
195
|
export declare class MutationLogRes extends MutationLogRes_base {
|
|
195
196
|
}
|
|
196
|
-
declare const LoadMutationLogReq_base: Schema.Struct<{
|
|
197
|
-
_tag: Schema.tag<"LSD.LoadMutationLogReq">;
|
|
198
|
-
} & {
|
|
199
|
-
liveStoreVersion: Schema.Literal<[string]>;
|
|
200
|
-
requestId: typeof Schema.String;
|
|
201
|
-
channelId: typeof Schema.String;
|
|
202
|
-
mutationLog: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
203
|
-
}>;
|
|
204
|
-
export declare class LoadMutationLogReq extends LoadMutationLogReq_base {
|
|
205
|
-
}
|
|
206
|
-
declare const LoadMutationLogRes_base: Schema.Struct<{
|
|
207
|
-
_tag: Schema.tag<"LSD.LoadMutationLogRes">;
|
|
208
|
-
} & {
|
|
209
|
-
liveStoreVersion: Schema.Literal<[string]>;
|
|
210
|
-
requestId: typeof Schema.String;
|
|
211
|
-
}>;
|
|
212
|
-
export declare class LoadMutationLogRes extends LoadMutationLogRes_base {
|
|
213
|
-
}
|
|
214
197
|
declare const ReactivityGraphSubscribe_base: Schema.Struct<{
|
|
215
198
|
_tag: Schema.tag<"LSD.ReactivityGraphSubscribe">;
|
|
216
199
|
} & {
|
|
@@ -300,6 +283,25 @@ declare const ResetAllDataRes_base: Schema.Struct<{
|
|
|
300
283
|
}>;
|
|
301
284
|
export declare class ResetAllDataRes extends ResetAllDataRes_base {
|
|
302
285
|
}
|
|
286
|
+
declare const MessagePortForStoreReq_base: Schema.Struct<{
|
|
287
|
+
_tag: Schema.tag<"LSD.MessagePortForStoreReq">;
|
|
288
|
+
} & {
|
|
289
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
290
|
+
requestId: typeof Schema.String;
|
|
291
|
+
channelId: typeof Schema.String;
|
|
292
|
+
}>;
|
|
293
|
+
export declare class MessagePortForStoreReq extends MessagePortForStoreReq_base {
|
|
294
|
+
}
|
|
295
|
+
declare const MessagePortForStoreRes_base: Schema.Struct<{
|
|
296
|
+
_tag: Schema.tag<"LSD.MessagePortForStoreRes">;
|
|
297
|
+
} & {
|
|
298
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
299
|
+
requestId: typeof Schema.String;
|
|
300
|
+
channelId: typeof Schema.String;
|
|
301
|
+
port: Schema.Schema<MessagePort, MessagePort, never>;
|
|
302
|
+
}>;
|
|
303
|
+
export declare class MessagePortForStoreRes extends MessagePortForStoreRes_base {
|
|
304
|
+
}
|
|
303
305
|
declare const NetworkStatusChanged_base: Schema.Struct<{
|
|
304
306
|
_tag: Schema.tag<"LSD.NetworkStatusChanged">;
|
|
305
307
|
} & {
|
|
@@ -361,13 +363,13 @@ declare const Pong_base: Schema.Struct<{
|
|
|
361
363
|
}>;
|
|
362
364
|
export declare class Pong extends Pong_base {
|
|
363
365
|
}
|
|
364
|
-
export declare const
|
|
365
|
-
export type
|
|
366
|
-
export declare const
|
|
367
|
-
export type
|
|
368
|
-
export declare const
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
366
|
+
export declare const MessageToAppHostCoordinator: Schema.Union<[typeof SnapshotReq, typeof LoadDatabaseFileReq, typeof MutationLogReq, typeof ResetAllDataReq, typeof MessagePortForStoreRes, typeof DevtoolsReady, typeof Disconnect, typeof DevtoolsConnected, typeof RunMutationReq, typeof Ping]>;
|
|
367
|
+
export type MessageToAppHostCoordinator = typeof MessageToAppHostCoordinator.Type;
|
|
368
|
+
export declare const MessageToAppHostStore: Schema.Union<[typeof DebugInfoReq, typeof DebugInfoResetReq, typeof DebugInfoRerunQueryReq, typeof ReactivityGraphSubscribe, typeof ReactivityGraphUnsubscribe, typeof LiveQueriesSubscribe, typeof LiveQueriesUnsubscribe]>;
|
|
369
|
+
export type MessageToAppHostStore = typeof MessageToAppHostStore.Type;
|
|
370
|
+
export declare const MessageFromAppHostCoordinator: Schema.Union<[typeof SnapshotRes, typeof LoadDatabaseFileRes, typeof MutationLogRes, typeof ResetAllDataRes, typeof MessagePortForStoreReq, typeof Disconnect, typeof MutationBroadcast, typeof AppHostReady, typeof NetworkStatusChanged, typeof RunMutationRes, typeof Pong]>;
|
|
371
|
+
export type MessageFromAppHostCoordinator = typeof MessageFromAppHostCoordinator.Type;
|
|
372
|
+
export declare const MessageFromAppHostStore: Schema.Union<[typeof DebugInfoRes, typeof DebugInfoResetRes, typeof DebugInfoRerunQueryRes, typeof ReactivityGraphRes, typeof LiveQueriesRes]>;
|
|
373
|
+
export type MessageFromAppHostStore = typeof MessageFromAppHostStore.Type;
|
|
372
374
|
export {};
|
|
373
375
|
//# sourceMappingURL=devtools-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-messages.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devtools-messages.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,yBAAyB,CAAA;;;;;;;;AAY9D,qBAAa,WAAY,SAAQ,gBAIgB;CAAG;;;;;;;;AAEpD,qBAAa,WAAY,SAAQ,gBAIgB;CAAG;;;;;;;;;AAEpD,qBAAa,mBAAoB,SAAQ,wBAKgB;CAAG;;;;;;;;AAE5D,qBAAa,mBAAoB,SAAQ,wBAIgB;CAAG;;;;;;;;AAE5D,qBAAa,YA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AQ,yBAIgB;CAAG;;;;;;AAE7D,qBAAa,aAAc,SAAQ,kBAEgB;CAAG;;;;;;;AAEtD,qBAAa,iBAAkB,SAAQ,sBAGgB;CAAG;;;;;;;AAE1D,qBAAa,YAAa,SAAQ,iBAGgB;CAAG;;;;;;;;AAErD,qBAAa,UAAW,SAAQ,eAIgB;CAAG;;;;;;;;AAEnD,qBAAa,IAAK,SAAQ,SAIgB;CAAG;;;;;;;AAE7C,qBAAa,IAAK,SAAQ,SAGgB;CAAG;AAE7C,eAAO,MAAM,2BAA2B,qPAWwB,CAAA;AAEhE,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,IAAI,CAAA;AAEjF,eAAO,MAAM,qBAAqB,8NASwB,CAAA;AAE1D,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAA;AAErE,eAAO,MAAM,6BAA6B,iRAYwB,CAAA;AAElE,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,IAAI,CAAA;AAErF,eAAO,MAAM,uBAAuB,gJAOwB,CAAA;AAE5D,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Schema } from '@livestore/utils/effect';
|
|
1
|
+
import { Schema, Transferable } from '@livestore/utils/effect';
|
|
3
2
|
import { NetworkStatus } from '../adapter-types.js';
|
|
4
3
|
import { DebugInfo } from '../debug-info.js';
|
|
5
4
|
import { mutationEventSchemaEncodedAny } from '../schema/mutations.js';
|
|
6
5
|
import { PreparedBindValues } from '../util.js';
|
|
6
|
+
import { liveStoreVersion as pkgVersion } from '../version.js';
|
|
7
7
|
const requestId = Schema.String;
|
|
8
8
|
const channelId = Schema.String;
|
|
9
9
|
const liveStoreVersion = Schema.Literal(pkgVersion);
|
|
@@ -16,20 +16,21 @@ export class SnapshotReq extends Schema.TaggedStruct('LSD.SnapshotReq', {
|
|
|
16
16
|
export class SnapshotRes extends Schema.TaggedStruct('LSD.SnapshotRes', {
|
|
17
17
|
liveStoreVersion,
|
|
18
18
|
requestId,
|
|
19
|
-
snapshot:
|
|
19
|
+
snapshot: Transferable.Uint8Array,
|
|
20
20
|
}).annotations({ identifier: 'LSD.SnapshotRes' }) {
|
|
21
21
|
}
|
|
22
|
-
export class
|
|
22
|
+
export class LoadDatabaseFileReq extends Schema.TaggedStruct('LSD.LoadDatabaseFileReq', {
|
|
23
23
|
liveStoreVersion,
|
|
24
24
|
requestId,
|
|
25
25
|
channelId,
|
|
26
|
-
|
|
27
|
-
}).annotations({ identifier: 'LSD.
|
|
26
|
+
data: Transferable.Uint8Array,
|
|
27
|
+
}).annotations({ identifier: 'LSD.LoadDatabaseFileReq' }) {
|
|
28
28
|
}
|
|
29
|
-
export class
|
|
29
|
+
export class LoadDatabaseFileRes extends Schema.TaggedStruct('LSD.LoadDatabaseFileRes', {
|
|
30
30
|
liveStoreVersion,
|
|
31
31
|
requestId,
|
|
32
|
-
|
|
32
|
+
status: Schema.Literal('ok', 'unsupported-file', 'unsupported-database'),
|
|
33
|
+
}).annotations({ identifier: 'LSD.LoadDatabaseFileRes' }) {
|
|
33
34
|
}
|
|
34
35
|
export class DebugInfoReq extends Schema.TaggedStruct('LSD.DebugInfoReq', {
|
|
35
36
|
liveStoreVersion,
|
|
@@ -98,21 +99,9 @@ export class MutationLogRes extends Schema.TaggedStruct('LSD.MutationLogRes', {
|
|
|
98
99
|
liveStoreVersion,
|
|
99
100
|
requestId,
|
|
100
101
|
channelId,
|
|
101
|
-
mutationLog:
|
|
102
|
+
mutationLog: Transferable.Uint8Array,
|
|
102
103
|
}).annotations({ identifier: 'LSD.MutationLogRes' }) {
|
|
103
104
|
}
|
|
104
|
-
export class LoadMutationLogReq extends Schema.TaggedStruct('LSD.LoadMutationLogReq', {
|
|
105
|
-
liveStoreVersion,
|
|
106
|
-
requestId,
|
|
107
|
-
channelId,
|
|
108
|
-
mutationLog: Schema.Uint8Array,
|
|
109
|
-
}).annotations({ identifier: 'LSD.LoadMutationLogReq' }) {
|
|
110
|
-
}
|
|
111
|
-
export class LoadMutationLogRes extends Schema.TaggedStruct('LSD.LoadMutationLogRes', {
|
|
112
|
-
liveStoreVersion,
|
|
113
|
-
requestId,
|
|
114
|
-
}).annotations({ identifier: 'LSD.LoadMutationLogRes' }) {
|
|
115
|
-
}
|
|
116
105
|
export class ReactivityGraphSubscribe extends Schema.TaggedStruct('LSD.ReactivityGraphSubscribe', {
|
|
117
106
|
liveStoreVersion,
|
|
118
107
|
requestId,
|
|
@@ -172,6 +161,19 @@ export class ResetAllDataRes extends Schema.TaggedStruct('LSD.ResetAllDataRes',
|
|
|
172
161
|
requestId,
|
|
173
162
|
}).annotations({ identifier: 'LSD.ResetAllDataRes' }) {
|
|
174
163
|
}
|
|
164
|
+
export class MessagePortForStoreReq extends Schema.TaggedStruct('LSD.MessagePortForStoreReq', {
|
|
165
|
+
liveStoreVersion,
|
|
166
|
+
requestId,
|
|
167
|
+
channelId,
|
|
168
|
+
}).annotations({ identifier: 'LSD.MessagePortForStoreReq' }) {
|
|
169
|
+
}
|
|
170
|
+
export class MessagePortForStoreRes extends Schema.TaggedStruct('LSD.MessagePortForStoreRes', {
|
|
171
|
+
liveStoreVersion,
|
|
172
|
+
requestId,
|
|
173
|
+
channelId,
|
|
174
|
+
port: Transferable.MessagePort,
|
|
175
|
+
}).annotations({ identifier: 'LSD.MessagePortForStoreRes' }) {
|
|
176
|
+
}
|
|
175
177
|
export class NetworkStatusChanged extends Schema.TaggedStruct('LSD.NetworkStatusChanged', {
|
|
176
178
|
liveStoreVersion,
|
|
177
179
|
channelId,
|
|
@@ -209,11 +211,8 @@ export class Pong extends Schema.TaggedStruct('LSD.Pong', {
|
|
|
209
211
|
requestId,
|
|
210
212
|
}).annotations({ identifier: 'LSD.Pong' }) {
|
|
211
213
|
}
|
|
212
|
-
export const
|
|
213
|
-
export const
|
|
214
|
-
|
|
215
|
-
export const
|
|
216
|
-
fromAppHost: new BroadcastChannel(`livestore-devtools-from-app-host`),
|
|
217
|
-
toAppHost: new BroadcastChannel(`livestore-devtools-to-app-host`),
|
|
218
|
-
});
|
|
214
|
+
export const MessageToAppHostCoordinator = Schema.Union(SnapshotReq, LoadDatabaseFileReq, MutationLogReq, ResetAllDataReq, MessagePortForStoreRes, DevtoolsReady, Disconnect, DevtoolsConnected, RunMutationReq, Ping).annotations({ identifier: 'LSD.MessageToAppHostCoordinator' });
|
|
215
|
+
export const MessageToAppHostStore = Schema.Union(DebugInfoReq, DebugInfoResetReq, DebugInfoRerunQueryReq, ReactivityGraphSubscribe, ReactivityGraphUnsubscribe, LiveQueriesSubscribe, LiveQueriesUnsubscribe).annotations({ identifier: 'LSD.MessageToAppHostStore' });
|
|
216
|
+
export const MessageFromAppHostCoordinator = Schema.Union(SnapshotRes, LoadDatabaseFileRes, MutationLogRes, ResetAllDataRes, MessagePortForStoreReq, Disconnect, MutationBroadcast, AppHostReady, NetworkStatusChanged, RunMutationRes, Pong).annotations({ identifier: 'LSD.MessageFromAppHostCoordinator' });
|
|
217
|
+
export const MessageFromAppHostStore = Schema.Union(DebugInfoRes, DebugInfoResetRes, DebugInfoRerunQueryRes, ReactivityGraphRes, LiveQueriesRes).annotations({ identifier: 'LSD.MessageFromAppHostStore' });
|
|
219
218
|
//# sourceMappingURL=devtools-messages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-messages.js","sourceRoot":"","sources":["../../src/devtools/devtools-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"devtools-messages.js","sourceRoot":"","sources":["../../src/devtools/devtools-messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAk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S;CACV,CAAC,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;CAAG;AAE7C,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,KAAK,CACrD,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,IAAI,CACL,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,iCAAiC,EAAE,CAAC,CAAA;AAIhE,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,KAAK,CAC/C,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,EACpB,sBAAsB,CAEvB,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,2BAA2B,EAAE,CAAC,CAAA;AAI1D,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,KAAK,CACvD,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,IAAI,CACL,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,mCAAmC,EAAE,CAAC,CAAA;AAIlE,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,KAAK,CACjD,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,cAAc,CAEf,CAAC,WAAW,CAAC,EAAE,UAAU,EAAE,6BAA6B,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Schema } from '@livestore/utils/effect';
|
|
2
|
+
export declare namespace DevtoolsWindowMessage {
|
|
3
|
+
const MessagePortReady_base: Schema.TaggedStruct<"LSD.WindowMessage.MessagePortForStore", {
|
|
4
|
+
port: Schema.Schema<MessagePort, MessagePort, never>;
|
|
5
|
+
channelId: typeof Schema.String;
|
|
6
|
+
}>;
|
|
7
|
+
/** Message is being created in contentscript-iframe, sent to contentscript and then sent to Store */
|
|
8
|
+
export class MessagePortReady extends MessagePortReady_base {
|
|
9
|
+
}
|
|
10
|
+
const ContentscriptListening_base: Schema.TaggedStruct<"LSD.WindowMessage.ContentscriptListening", {}>;
|
|
11
|
+
export class ContentscriptListening extends ContentscriptListening_base {
|
|
12
|
+
}
|
|
13
|
+
const StoreReady_base: Schema.TaggedStruct<"LSD.WindowMessage.StoreReady", {
|
|
14
|
+
channelId: typeof Schema.String;
|
|
15
|
+
}>;
|
|
16
|
+
export class StoreReady extends StoreReady_base {
|
|
17
|
+
}
|
|
18
|
+
const MessageForStore_base: Schema.Union<[typeof MessagePortReady, typeof ContentscriptListening]>;
|
|
19
|
+
export class MessageForStore extends MessageForStore_base {
|
|
20
|
+
}
|
|
21
|
+
const MessageForContentscript_base: typeof StoreReady;
|
|
22
|
+
export class MessageForContentscript extends MessageForContentscript_base {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=devtools-window-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtools-window-message.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-window-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,yBAAyB,CAAA;AAI9D,yBAAiB,qBAAqB,CAAC;;;;;IACrC,qGAAqG;IACrG,MAAM,OAAO,gBAAiB,SAAQ,qBAGpC;KAAG;;IAEL,MAAM,OAAO,sBAAuB,SAAQ,2BAAmE;KAAG;;;;IAMlH,MAAM,OAAO,UAAW,SAAQ,eAE9B;KAAG;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAAsD;KAAG;;IAE9F,MAAM,OAAO,uBAAwB,SAAQ,4BAAwB;KAAG;;CACzE"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Schema, Transferable } from '@livestore/utils/effect';
|
|
2
|
+
const channelId = Schema.String;
|
|
3
|
+
export var DevtoolsWindowMessage;
|
|
4
|
+
(function (DevtoolsWindowMessage) {
|
|
5
|
+
/** Message is being created in contentscript-iframe, sent to contentscript and then sent to Store */
|
|
6
|
+
class MessagePortReady extends Schema.TaggedStruct('LSD.WindowMessage.MessagePortForStore', {
|
|
7
|
+
port: Transferable.MessagePort,
|
|
8
|
+
channelId,
|
|
9
|
+
}) {
|
|
10
|
+
}
|
|
11
|
+
DevtoolsWindowMessage.MessagePortReady = MessagePortReady;
|
|
12
|
+
class ContentscriptListening extends Schema.TaggedStruct('LSD.WindowMessage.ContentscriptListening', {}) {
|
|
13
|
+
}
|
|
14
|
+
DevtoolsWindowMessage.ContentscriptListening = ContentscriptListening;
|
|
15
|
+
// export class ContentscriptReady extends Schema.TaggedStruct('LSD.WindowMessage.ContentscriptReady', {
|
|
16
|
+
// channelId,
|
|
17
|
+
// }) {}
|
|
18
|
+
class StoreReady extends Schema.TaggedStruct('LSD.WindowMessage.StoreReady', {
|
|
19
|
+
channelId,
|
|
20
|
+
}) {
|
|
21
|
+
}
|
|
22
|
+
DevtoolsWindowMessage.StoreReady = StoreReady;
|
|
23
|
+
class MessageForStore extends Schema.Union(MessagePortReady, ContentscriptListening) {
|
|
24
|
+
}
|
|
25
|
+
DevtoolsWindowMessage.MessageForStore = MessageForStore;
|
|
26
|
+
class MessageForContentscript extends Schema.Union(StoreReady) {
|
|
27
|
+
}
|
|
28
|
+
DevtoolsWindowMessage.MessageForContentscript = MessageForContentscript;
|
|
29
|
+
})(DevtoolsWindowMessage || (DevtoolsWindowMessage = {}));
|
|
30
|
+
//# sourceMappingURL=devtools-window-message.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devtools-window-message.js","sourceRoot":"","sources":["../../src/devtools/devtools-window-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAA;AAE/B,MAAM,KAAW,qBAAqB,CAoBrC;AApBD,WAAiB,qBAAqB;IACpC,qGAAqG;IACrG,MAAa,gBAAiB,SAAQ,MAAM,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACjG,IAAI,EAAE,YAAY,CAAC,WAAW;QAC9B,SAAS;KACV,CAAC;KAAG;IAHQ,sCAAgB,mBAGxB,CAAA;IAEL,MAAa,sBAAuB,SAAQ,MAAM,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAAE,CAAC;KAAG;IAArG,4CAAsB,yBAA+E,CAAA;IAElH,wGAAwG;IACxG,cAAc;IACd,QAAQ;IAER,MAAa,UAAW,SAAQ,MAAM,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAClF,SAAS;KACV,CAAC;KAAG;IAFQ,gCAAU,aAElB,CAAA;IAEL,MAAa,eAAgB,SAAQ,MAAM,CAAC,KAAK,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;KAAG;IAAjF,qCAAe,kBAAkE,CAAA;IAE9F,MAAa,uBAAwB,SAAQ,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC;KAAG;IAA3D,6CAAuB,0BAAoC,CAAA;AAC1E,CAAC,EApBgB,qBAAqB,KAArB,qBAAqB,QAoBrC"}
|
package/dist/devtools/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/devtools/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/devtools/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA"}
|
package/dist/devtools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/devtools/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/devtools/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mCAAmC,CAAA;AACjD,cAAc,eAAe,CAAA;AAC7B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mCAAmC,CAAA;AACjD,cAAc,eAAe,CAAA;AAC7B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mCAAmC,CAAA;AACjD,cAAc,eAAe,CAAA;AAC7B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mCAAmC,CAAA;AACjD,cAAc,eAAe,CAAA;AAC7B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAC/C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA"}
|