@livestore/adapter-web 0.4.0 → 0.5.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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/common/connection.d.ts.map +1 -1
- package/dist/in-memory/in-memory-adapter.d.ts +7 -8
- package/dist/in-memory/in-memory-adapter.d.ts.map +1 -1
- package/dist/in-memory/in-memory-adapter.js +37 -30
- package/dist/in-memory/in-memory-adapter.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/single-tab/mod.js +1 -1
- package/dist/single-tab/single-tab-adapter.d.ts.map +1 -1
- package/dist/single-tab/single-tab-adapter.js +63 -83
- package/dist/single-tab/single-tab-adapter.js.map +1 -1
- package/dist/web-worker/client-session/client-session-devtools.d.ts +3 -4
- package/dist/web-worker/client-session/client-session-devtools.d.ts.map +1 -1
- package/dist/web-worker/client-session/client-session-devtools.js +7 -5
- package/dist/web-worker/client-session/client-session-devtools.js.map +1 -1
- package/dist/web-worker/client-session/devtools-web-channel.d.ts +20 -0
- package/dist/web-worker/client-session/devtools-web-channel.d.ts.map +1 -0
- package/dist/web-worker/client-session/devtools-web-channel.js +34 -0
- package/dist/web-worker/client-session/devtools-web-channel.js.map +1 -0
- package/dist/web-worker/client-session/persisted-adapter.d.ts.map +1 -1
- package/dist/web-worker/client-session/persisted-adapter.js +76 -85
- package/dist/web-worker/client-session/persisted-adapter.js.map +1 -1
- package/dist/web-worker/client-session/sqlite-loader.js.map +1 -1
- package/dist/web-worker/common/persisted-sqlite.d.ts +23 -10
- package/dist/web-worker/common/persisted-sqlite.d.ts.map +1 -1
- package/dist/web-worker/common/persisted-sqlite.js +29 -25
- package/dist/web-worker/common/persisted-sqlite.js.map +1 -1
- package/dist/web-worker/common/persisted-sqlite.test-fixture.d.ts +2 -0
- package/dist/web-worker/common/persisted-sqlite.test-fixture.d.ts.map +1 -0
- package/dist/web-worker/common/persisted-sqlite.test-fixture.js +57 -0
- package/dist/web-worker/common/persisted-sqlite.test-fixture.js.map +1 -0
- package/dist/web-worker/common/rpc-worker.d.ts +14 -0
- package/dist/web-worker/common/rpc-worker.d.ts.map +1 -0
- package/dist/web-worker/common/rpc-worker.js +8 -0
- package/dist/web-worker/common/rpc-worker.js.map +1 -0
- package/dist/web-worker/common/shutdown-channel.d.ts.map +1 -1
- package/dist/web-worker/common/webmesh-node-names.d.ts +4 -0
- package/dist/web-worker/common/webmesh-node-names.d.ts.map +1 -0
- package/dist/web-worker/common/webmesh-node-names.js +2 -0
- package/dist/web-worker/common/webmesh-node-names.js.map +1 -0
- package/dist/web-worker/common/worker-disconnect-channel.d.ts +1 -4
- package/dist/web-worker/common/worker-disconnect-channel.d.ts.map +1 -1
- package/dist/web-worker/common/worker-disconnect-channel.js +1 -2
- package/dist/web-worker/common/worker-disconnect-channel.js.map +1 -1
- package/dist/web-worker/common/worker-schema.d.ts +275 -211
- package/dist/web-worker/common/worker-schema.d.ts.map +1 -1
- package/dist/web-worker/common/worker-schema.js +71 -52
- package/dist/web-worker/common/worker-schema.js.map +1 -1
- package/dist/web-worker/leader-worker/make-leader-worker.d.ts +6 -8
- package/dist/web-worker/leader-worker/make-leader-worker.d.ts.map +1 -1
- package/dist/web-worker/leader-worker/make-leader-worker.js +147 -94
- package/dist/web-worker/leader-worker/make-leader-worker.js.map +1 -1
- package/dist/web-worker/shared-worker/make-shared-worker.d.ts +2 -2
- package/dist/web-worker/shared-worker/make-shared-worker.d.ts.map +1 -1
- package/dist/web-worker/shared-worker/make-shared-worker.js +54 -66
- package/dist/web-worker/shared-worker/make-shared-worker.js.map +1 -1
- package/dist/web-worker/vite-dev-polyfill.js +1 -2
- package/dist/web-worker/vite-dev-polyfill.js.map +1 -1
- package/package.json +38 -48
- package/src/in-memory/in-memory-adapter.ts +73 -58
- package/src/single-tab/single-tab-adapter.ts +112 -114
- package/src/web-worker/client-session/client-session-devtools.ts +16 -8
- package/src/web-worker/client-session/devtools-web-channel.ts +57 -0
- package/src/web-worker/client-session/persisted-adapter.ts +122 -124
- package/src/web-worker/common/persisted-sqlite.test-fixture.ts +68 -0
- package/src/web-worker/common/persisted-sqlite.ts +72 -50
- package/src/web-worker/common/rpc-worker.ts +39 -0
- package/src/web-worker/common/webmesh-node-names.ts +1 -0
- package/src/web-worker/common/worker-disconnect-channel.ts +1 -1
- package/src/web-worker/common/worker-schema.ts +132 -162
- package/src/web-worker/leader-worker/make-leader-worker.ts +347 -219
- package/src/web-worker/shared-worker/make-shared-worker.ts +95 -85
- package/src/web-worker/vite-dev-polyfill.ts +1 -2
|
@@ -1,314 +1,378 @@
|
|
|
1
1
|
import { Devtools, SyncState, UnknownError } from '@livestore/common';
|
|
2
|
-
import { EventSequenceNumber } from '@livestore/common/schema';
|
|
3
|
-
import
|
|
4
|
-
import { Schema } from '@livestore/utils/effect';
|
|
2
|
+
import { EventSequenceNumber, LiveStoreEvent } from '@livestore/common/schema';
|
|
3
|
+
import { Rpc, RpcGroup, Schema, Transferable } from '@livestore/utils/effect';
|
|
5
4
|
export declare const StorageTypeOpfs: Schema.Struct<{
|
|
6
|
-
type: Schema.Literal<
|
|
5
|
+
readonly type: Schema.Literal<"opfs">;
|
|
7
6
|
/**
|
|
8
7
|
* Default is `livestore-${storeId}`
|
|
9
8
|
*
|
|
10
9
|
* When providing this option, make sure to include the `storeId` in the path to avoid
|
|
11
10
|
* conflicts with other LiveStore apps.
|
|
12
11
|
*/
|
|
13
|
-
directory: Schema.optional<
|
|
12
|
+
readonly directory: Schema.optional<Schema.String>;
|
|
14
13
|
}>;
|
|
15
14
|
export type StorageTypeOpfs = typeof StorageTypeOpfs.Type;
|
|
16
|
-
export declare const StorageType: Schema.Struct<{
|
|
17
|
-
type: Schema.Literal<
|
|
15
|
+
export declare const StorageType: Schema.Union<readonly [Schema.Struct<{
|
|
16
|
+
readonly type: Schema.Literal<"opfs">;
|
|
18
17
|
/**
|
|
19
18
|
* Default is `livestore-${storeId}`
|
|
20
19
|
*
|
|
21
20
|
* When providing this option, make sure to include the `storeId` in the path to avoid
|
|
22
21
|
* conflicts with other LiveStore apps.
|
|
23
22
|
*/
|
|
24
|
-
directory: Schema.optional<
|
|
25
|
-
}>;
|
|
23
|
+
readonly directory: Schema.optional<Schema.String>;
|
|
24
|
+
}>]>;
|
|
26
25
|
export type StorageType = typeof StorageType.Type;
|
|
27
26
|
export type StorageTypeEncoded = typeof StorageType.Encoded;
|
|
28
|
-
export declare const SyncBackendOptions: Schema
|
|
29
|
-
export type SyncBackendOptions = Record<string, Schema.
|
|
30
|
-
declare const LeaderWorkerOuterInitialMessage_base:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
clientId: typeof Schema.String;
|
|
36
|
-
}, typeof Schema.Void, typeof Schema.Never>;
|
|
27
|
+
export declare const SyncBackendOptions: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
28
|
+
export type SyncBackendOptions = Record<string, Schema.Json>;
|
|
29
|
+
declare const LeaderWorkerOuterInitialMessage_base: Rpc.Rpc<"InitialMessage", Schema.Struct<{
|
|
30
|
+
port: Transferable.Transferable<Schema.declare<MessagePort, MessagePort>>;
|
|
31
|
+
storeId: Schema.String;
|
|
32
|
+
clientId: Schema.String;
|
|
33
|
+
}>, Schema.Void, Schema.Never, never, never>;
|
|
37
34
|
export declare class LeaderWorkerOuterInitialMessage extends LeaderWorkerOuterInitialMessage_base {
|
|
38
35
|
}
|
|
39
|
-
declare const
|
|
40
|
-
export declare class
|
|
36
|
+
declare const LeaderWorkerOuterRpcs_base: RpcGroup.RpcGroup<typeof LeaderWorkerOuterInitialMessage>;
|
|
37
|
+
export declare class LeaderWorkerOuterRpcs extends LeaderWorkerOuterRpcs_base {
|
|
41
38
|
}
|
|
42
|
-
declare const
|
|
43
|
-
readonly
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
export declare const LeaderWorkerParams: Schema.Struct<{
|
|
40
|
+
readonly stateRebuildBatchSize: Schema.Int;
|
|
41
|
+
}>;
|
|
42
|
+
declare const LeaderWorkerInnerInitialMessage_base: Rpc.Rpc<"InitialMessage", Schema.Struct<{
|
|
43
|
+
storageOptions: Schema.Union<readonly [Schema.Struct<{
|
|
44
|
+
readonly type: Schema.Literal<"opfs">;
|
|
47
45
|
/**
|
|
48
46
|
* Default is `livestore-${storeId}`
|
|
49
47
|
*
|
|
50
48
|
* When providing this option, make sure to include the `storeId` in the path to avoid
|
|
51
49
|
* conflicts with other LiveStore apps.
|
|
52
50
|
*/
|
|
53
|
-
directory: Schema.optional<
|
|
51
|
+
readonly directory: Schema.optional<Schema.String>;
|
|
52
|
+
}>]>;
|
|
53
|
+
devtoolsEnabled: Schema.Boolean;
|
|
54
|
+
storeId: Schema.String;
|
|
55
|
+
clientId: Schema.String;
|
|
56
|
+
debugInstanceId: Schema.String;
|
|
57
|
+
syncPayloadEncoded: Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
58
|
+
params: Schema.Struct<{
|
|
59
|
+
readonly stateRebuildBatchSize: Schema.Int;
|
|
54
60
|
}>;
|
|
55
|
-
|
|
56
|
-
storeId: typeof Schema.String;
|
|
57
|
-
clientId: typeof Schema.String;
|
|
58
|
-
debugInstanceId: typeof Schema.String;
|
|
59
|
-
syncPayloadEncoded: Schema.UndefinedOr<Schema.Schema<Schema.JsonValue, Schema.JsonValue, never>>;
|
|
60
|
-
}, typeof Schema.Void, typeof UnknownError>;
|
|
61
|
+
}>, Schema.Void, typeof UnknownError, never, never>;
|
|
61
62
|
export declare class LeaderWorkerInnerInitialMessage extends LeaderWorkerInnerInitialMessage_base {
|
|
62
63
|
}
|
|
63
|
-
declare const LeaderWorkerInnerBootStatusStream_base:
|
|
64
|
-
readonly
|
|
65
|
-
}, Schema.Union<[Schema.Struct<{
|
|
66
|
-
stage: Schema.Literal<["loading"]>;
|
|
64
|
+
declare const LeaderWorkerInnerBootStatusStream_base: Rpc.Rpc<"BootStatusStream", Schema.Struct<{}>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.Struct<{
|
|
65
|
+
readonly stage: Schema.Literal<"loading">;
|
|
67
66
|
}>, Schema.Struct<{
|
|
68
|
-
stage: Schema.Literal<
|
|
69
|
-
progress: Schema.Struct<{
|
|
70
|
-
done:
|
|
71
|
-
total:
|
|
67
|
+
readonly stage: Schema.Literal<"migrating">;
|
|
68
|
+
readonly progress: Schema.Struct<{
|
|
69
|
+
readonly done: Schema.Finite;
|
|
70
|
+
readonly total: Schema.Finite;
|
|
72
71
|
}>;
|
|
73
72
|
}>, Schema.Struct<{
|
|
74
|
-
stage: Schema.Literal<
|
|
75
|
-
progress: Schema.Struct<{
|
|
76
|
-
done:
|
|
77
|
-
total:
|
|
73
|
+
readonly stage: Schema.Literal<"rehydrating">;
|
|
74
|
+
readonly progress: Schema.Struct<{
|
|
75
|
+
readonly done: Schema.Finite;
|
|
76
|
+
readonly total: Schema.Finite;
|
|
78
77
|
}>;
|
|
79
78
|
}>, Schema.Struct<{
|
|
80
|
-
stage: Schema.Literal<
|
|
81
|
-
progress: Schema.Struct<{
|
|
82
|
-
done:
|
|
83
|
-
total:
|
|
79
|
+
readonly stage: Schema.Literal<"syncing">;
|
|
80
|
+
readonly progress: Schema.Struct<{
|
|
81
|
+
readonly done: Schema.Finite;
|
|
82
|
+
readonly total: Schema.Finite;
|
|
84
83
|
}>;
|
|
85
84
|
}>, Schema.Struct<{
|
|
86
|
-
stage: Schema.Literal<
|
|
85
|
+
readonly stage: Schema.Literal<"done">;
|
|
87
86
|
}>, Schema.Struct<{
|
|
88
|
-
stage: Schema.Literal<
|
|
89
|
-
reason: Schema.
|
|
90
|
-
message:
|
|
91
|
-
}>]>,
|
|
87
|
+
readonly stage: Schema.Literal<"warning">;
|
|
88
|
+
readonly reason: Schema.Literals<readonly ["private-browsing", "storage-unavailable", "unknown"]>;
|
|
89
|
+
readonly message: Schema.String;
|
|
90
|
+
}>]>, Schema.Never>, Schema.Never, never, never>;
|
|
92
91
|
export declare class LeaderWorkerInnerBootStatusStream extends LeaderWorkerInnerBootStatusStream_base {
|
|
93
92
|
}
|
|
94
|
-
declare const LeaderWorkerInnerPushToLeader_base:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
readonly
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
readonly client: number & import("effect/Brand").Brand<"ClientEventSequenceNumber">;
|
|
105
|
-
readonly rebaseGeneration: number;
|
|
93
|
+
declare const LeaderWorkerInnerPushToLeader_base: Rpc.Rpc<"PushToLeader", Schema.Struct<{
|
|
94
|
+
batch: Schema.$Array<Schema.toType<Schema.Struct<{
|
|
95
|
+
readonly name: Schema.String;
|
|
96
|
+
readonly args: Schema.Any;
|
|
97
|
+
readonly seqNum: Schema.Struct<{
|
|
98
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
99
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
100
|
+
readonly rebaseGeneration: Schema.Int;
|
|
101
|
+
}> & {
|
|
102
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
106
103
|
};
|
|
107
|
-
readonly parentSeqNum: {
|
|
108
|
-
readonly global:
|
|
109
|
-
readonly client:
|
|
110
|
-
readonly rebaseGeneration:
|
|
104
|
+
readonly parentSeqNum: Schema.Struct<{
|
|
105
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
106
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
107
|
+
readonly rebaseGeneration: Schema.Int;
|
|
108
|
+
}> & {
|
|
109
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
111
110
|
};
|
|
112
|
-
|
|
113
|
-
readonly
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
readonly args: any;
|
|
117
|
-
readonly seqNum: {
|
|
118
|
-
readonly global: number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">;
|
|
119
|
-
readonly client: number & import("effect/Brand").Brand<"ClientEventSequenceNumber">;
|
|
120
|
-
readonly rebaseGeneration: number;
|
|
121
|
-
};
|
|
122
|
-
readonly parentSeqNum: {
|
|
123
|
-
readonly global: number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">;
|
|
124
|
-
readonly client: number & import("effect/Brand").Brand<"ClientEventSequenceNumber">;
|
|
125
|
-
readonly rebaseGeneration: number;
|
|
126
|
-
};
|
|
127
|
-
}, never>>;
|
|
128
|
-
}, Schema.Schema<void, void, never>, Schema.Union<[typeof import("@livestore/common").LeaderAheadError, typeof import("@livestore/common").NonMonotonicBatchError, typeof import("@livestore/common").StaleRebaseGenerationError]>>;
|
|
111
|
+
readonly clientId: Schema.String;
|
|
112
|
+
readonly sessionId: Schema.String;
|
|
113
|
+
}>>>;
|
|
114
|
+
}>, Schema.Void, Schema.Union<readonly [typeof import("@livestore/common").LeaderAheadError, typeof import("@livestore/common").NonContiguousBatchError, typeof import("@livestore/common").NonMonotonicBatchError, typeof import("@livestore/common").StaleRebaseGenerationError]>, never, never>;
|
|
129
115
|
export declare class LeaderWorkerInnerPushToLeader extends LeaderWorkerInnerPushToLeader_base {
|
|
130
116
|
}
|
|
131
|
-
declare const LeaderWorkerInnerPullStream_base:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
readonly
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
readonly
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
}
|
|
117
|
+
declare const LeaderWorkerInnerPullStream_base: Rpc.Rpc<"PullStream", Schema.Struct<{
|
|
118
|
+
cursor: Schema.toType<Schema.Struct<{
|
|
119
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
120
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
121
|
+
readonly rebaseGeneration: Schema.Int;
|
|
122
|
+
}> & {
|
|
123
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
124
|
+
}>;
|
|
125
|
+
}>, import("effect/rpc/RpcSchema").Stream<Schema.Struct<{
|
|
126
|
+
readonly payload: Schema.Union<readonly [Schema.TaggedStruct<"upstream-rebase", {
|
|
127
|
+
readonly rollbackEvents: Schema.$Array<typeof LiveStoreEvent.Client.EncodedWithMeta>;
|
|
128
|
+
readonly newEvents: Schema.$Array<typeof LiveStoreEvent.Client.EncodedWithMeta>;
|
|
129
|
+
}>, Schema.TaggedStruct<"upstream-advance", {
|
|
130
|
+
readonly newEvents: Schema.$Array<typeof LiveStoreEvent.Client.EncodedWithMeta>;
|
|
131
|
+
}>]>;
|
|
132
|
+
}>, Schema.Never>, Schema.Never, never, never>;
|
|
146
133
|
export declare class LeaderWorkerInnerPullStream extends LeaderWorkerInnerPullStream_base {
|
|
147
134
|
}
|
|
148
|
-
declare const LeaderWorkerInnerStreamEvents_base:
|
|
149
|
-
readonly _tag: Schema.tag<"StreamEvents">;
|
|
150
|
-
} & {
|
|
135
|
+
declare const LeaderWorkerInnerStreamEvents_base: Rpc.Rpc<"StreamEvents", Schema.Struct<{
|
|
151
136
|
readonly since: Schema.optional<Schema.Struct<{
|
|
152
|
-
global: Schema.
|
|
153
|
-
client: Schema.
|
|
154
|
-
rebaseGeneration:
|
|
137
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
138
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
139
|
+
readonly rebaseGeneration: Schema.Int;
|
|
155
140
|
}> & {
|
|
156
|
-
make
|
|
141
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
157
142
|
}>;
|
|
158
143
|
readonly until: Schema.optional<Schema.Struct<{
|
|
159
|
-
global: Schema.
|
|
160
|
-
client: Schema.
|
|
161
|
-
rebaseGeneration:
|
|
144
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
145
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
146
|
+
readonly rebaseGeneration: Schema.Int;
|
|
162
147
|
}> & {
|
|
163
|
-
make
|
|
148
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
164
149
|
}>;
|
|
165
|
-
readonly filter: Schema.optional<Schema
|
|
166
|
-
readonly clientIds: Schema.optional<Schema
|
|
167
|
-
readonly sessionIds: Schema.optional<Schema
|
|
168
|
-
readonly batchSize: Schema.optional<Schema.
|
|
169
|
-
readonly includeClientOnly: Schema.optional<
|
|
170
|
-
}
|
|
171
|
-
name:
|
|
172
|
-
args:
|
|
173
|
-
seqNum: Schema.Struct<{
|
|
174
|
-
global: Schema.
|
|
175
|
-
client: Schema.
|
|
176
|
-
rebaseGeneration:
|
|
150
|
+
readonly filter: Schema.optional<Schema.$Array<Schema.String>>;
|
|
151
|
+
readonly clientIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
152
|
+
readonly sessionIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
153
|
+
readonly batchSize: Schema.optional<Schema.Int>;
|
|
154
|
+
readonly includeClientOnly: Schema.optional<Schema.Boolean>;
|
|
155
|
+
}>, import("effect/rpc/RpcSchema").Stream<Schema.Struct<{
|
|
156
|
+
readonly name: Schema.String;
|
|
157
|
+
readonly args: Schema.Any;
|
|
158
|
+
readonly seqNum: Schema.Struct<{
|
|
159
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
160
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
161
|
+
readonly rebaseGeneration: Schema.Int;
|
|
177
162
|
}> & {
|
|
178
|
-
make
|
|
163
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
179
164
|
};
|
|
180
|
-
parentSeqNum: Schema.Struct<{
|
|
181
|
-
global: Schema.
|
|
182
|
-
client: Schema.
|
|
183
|
-
rebaseGeneration:
|
|
165
|
+
readonly parentSeqNum: Schema.Struct<{
|
|
166
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
167
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
168
|
+
readonly rebaseGeneration: Schema.Int;
|
|
184
169
|
}> & {
|
|
185
|
-
make
|
|
170
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
186
171
|
};
|
|
187
|
-
clientId:
|
|
188
|
-
sessionId:
|
|
189
|
-
}>,
|
|
172
|
+
readonly clientId: Schema.String;
|
|
173
|
+
readonly sessionId: Schema.String;
|
|
174
|
+
}>, Schema.Never>, Schema.Never, never, never>;
|
|
190
175
|
export declare class LeaderWorkerInnerStreamEvents extends LeaderWorkerInnerStreamEvents_base {
|
|
191
176
|
}
|
|
192
|
-
declare const LeaderWorkerInnerExport_base:
|
|
193
|
-
readonly _tag: Schema.tag<"Export">;
|
|
194
|
-
}, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Never>;
|
|
177
|
+
declare const LeaderWorkerInnerExport_base: Rpc.Rpc<"Export", Schema.Struct<{}>, Schema.Codec<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never, never>, Schema.Never, never, never>;
|
|
195
178
|
export declare class LeaderWorkerInnerExport extends LeaderWorkerInnerExport_base {
|
|
196
179
|
}
|
|
197
|
-
declare const LeaderWorkerInnerExportEventlog_base:
|
|
198
|
-
readonly _tag: Schema.tag<"ExportEventlog">;
|
|
199
|
-
}, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Never>;
|
|
180
|
+
declare const LeaderWorkerInnerExportEventlog_base: Rpc.Rpc<"ExportEventlog", Schema.Struct<{}>, Schema.Codec<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never, never>, Schema.Never, never, never>;
|
|
200
181
|
export declare class LeaderWorkerInnerExportEventlog extends LeaderWorkerInnerExportEventlog_base {
|
|
201
182
|
}
|
|
202
|
-
declare const LeaderWorkerInnerGetRecreateSnapshot_base:
|
|
203
|
-
readonly
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
expected: typeof Schema.Number;
|
|
211
|
-
actual: Schema.optional<typeof Schema.Number>;
|
|
183
|
+
declare const LeaderWorkerInnerGetRecreateSnapshot_base: Rpc.Rpc<"GetRecreateSnapshot", Schema.Struct<{}>, Schema.Struct<{
|
|
184
|
+
readonly snapshot: Schema.Codec<Uint8Array<ArrayBuffer>>;
|
|
185
|
+
readonly migrationsReport: Schema.Struct<{
|
|
186
|
+
readonly migrations: Schema.$Array<Schema.Struct<{
|
|
187
|
+
readonly tableName: Schema.String;
|
|
188
|
+
readonly hashes: Schema.Struct<{
|
|
189
|
+
readonly expected: Schema.String;
|
|
190
|
+
readonly actual: Schema.optional<Schema.String>;
|
|
212
191
|
}>;
|
|
213
192
|
}>>;
|
|
214
193
|
}>;
|
|
215
|
-
}>,
|
|
194
|
+
}>, Schema.Never, never, never>;
|
|
216
195
|
export declare class LeaderWorkerInnerGetRecreateSnapshot extends LeaderWorkerInnerGetRecreateSnapshot_base {
|
|
217
196
|
}
|
|
218
|
-
declare const LeaderWorkerInnerGetLeaderHead_base:
|
|
219
|
-
readonly
|
|
220
|
-
|
|
221
|
-
readonly
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
},
|
|
225
|
-
readonly global: number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">;
|
|
226
|
-
readonly client: number & import("effect/Brand").Brand<"ClientEventSequenceNumber">;
|
|
227
|
-
readonly rebaseGeneration: number;
|
|
228
|
-
}, never>, typeof Schema.Never>;
|
|
197
|
+
declare const LeaderWorkerInnerGetLeaderHead_base: Rpc.Rpc<"GetLeaderHead", Schema.Struct<{}>, Schema.toType<Schema.Struct<{
|
|
198
|
+
readonly global: Schema.brand<Schema.Int, "GlobalEventSequenceNumber">;
|
|
199
|
+
readonly client: Schema.brand<Schema.Int, "ClientEventSequenceNumber">;
|
|
200
|
+
readonly rebaseGeneration: Schema.Int;
|
|
201
|
+
}> & {
|
|
202
|
+
make(seqNum: EventSequenceNumber.Client.CompositeInput): EventSequenceNumber.Client.Composite;
|
|
203
|
+
}>, Schema.Never, never, never>;
|
|
229
204
|
export declare class LeaderWorkerInnerGetLeaderHead extends LeaderWorkerInnerGetLeaderHead_base {
|
|
230
205
|
}
|
|
231
|
-
declare const LeaderWorkerInnerGetLeaderSyncState_base:
|
|
232
|
-
readonly _tag: Schema.tag<"GetLeaderSyncState">;
|
|
233
|
-
}, typeof SyncState.SyncState, typeof Schema.Never>;
|
|
206
|
+
declare const LeaderWorkerInnerGetLeaderSyncState_base: Rpc.Rpc<"GetLeaderSyncState", Schema.Struct<{}>, typeof SyncState.SyncState, Schema.Never, never, never>;
|
|
234
207
|
export declare class LeaderWorkerInnerGetLeaderSyncState extends LeaderWorkerInnerGetLeaderSyncState_base {
|
|
235
208
|
}
|
|
236
|
-
declare const LeaderWorkerInnerSyncStateStream_base:
|
|
237
|
-
readonly _tag: Schema.tag<"SyncStateStream">;
|
|
238
|
-
}, typeof SyncState.SyncState, typeof Schema.Never>;
|
|
209
|
+
declare const LeaderWorkerInnerSyncStateStream_base: Rpc.Rpc<"SyncStateStream", Schema.Struct<{}>, import("effect/rpc/RpcSchema").Stream<typeof SyncState.SyncState, Schema.Never>, Schema.Never, never, never>;
|
|
239
210
|
export declare class LeaderWorkerInnerSyncStateStream extends LeaderWorkerInnerSyncStateStream_base {
|
|
240
211
|
}
|
|
241
|
-
declare const LeaderWorkerInnerGetNetworkStatus_base:
|
|
242
|
-
readonly
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
devtools: Schema.Struct<{
|
|
247
|
-
latchClosed: typeof Schema.Boolean;
|
|
212
|
+
declare const LeaderWorkerInnerGetNetworkStatus_base: Rpc.Rpc<"GetNetworkStatus", Schema.Struct<{}>, Schema.Struct<{
|
|
213
|
+
readonly isConnected: Schema.Boolean;
|
|
214
|
+
readonly timestampMs: Schema.Finite;
|
|
215
|
+
readonly devtools: Schema.Struct<{
|
|
216
|
+
readonly latchClosed: Schema.Boolean;
|
|
248
217
|
}>;
|
|
249
|
-
}>,
|
|
218
|
+
}>, Schema.Never, never, never>;
|
|
250
219
|
export declare class LeaderWorkerInnerGetNetworkStatus extends LeaderWorkerInnerGetNetworkStatus_base {
|
|
251
220
|
}
|
|
252
|
-
declare const LeaderWorkerInnerNetworkStatusStream_base:
|
|
253
|
-
readonly
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
devtools: Schema.Struct<{
|
|
258
|
-
latchClosed: typeof Schema.Boolean;
|
|
221
|
+
declare const LeaderWorkerInnerNetworkStatusStream_base: Rpc.Rpc<"NetworkStatusStream", Schema.Struct<{}>, import("effect/rpc/RpcSchema").Stream<Schema.Struct<{
|
|
222
|
+
readonly isConnected: Schema.Boolean;
|
|
223
|
+
readonly timestampMs: Schema.Finite;
|
|
224
|
+
readonly devtools: Schema.Struct<{
|
|
225
|
+
readonly latchClosed: Schema.Boolean;
|
|
259
226
|
}>;
|
|
260
|
-
}>,
|
|
227
|
+
}>, Schema.Never>, Schema.Never, never, never>;
|
|
261
228
|
export declare class LeaderWorkerInnerNetworkStatusStream extends LeaderWorkerInnerNetworkStatusStream_base {
|
|
262
229
|
}
|
|
263
|
-
declare const LeaderWorkerInnerShutdown_base:
|
|
264
|
-
readonly _tag: Schema.tag<"Shutdown">;
|
|
265
|
-
}, typeof Schema.Void, typeof Schema.Never>;
|
|
230
|
+
declare const LeaderWorkerInnerShutdown_base: Rpc.Rpc<"Shutdown", Schema.Struct<{}>, Schema.Void, Schema.Never, never, never>;
|
|
266
231
|
export declare class LeaderWorkerInnerShutdown extends LeaderWorkerInnerShutdown_base {
|
|
267
232
|
}
|
|
268
|
-
declare const LeaderWorkerInnerExtraDevtoolsMessage_base:
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
233
|
+
declare const LeaderWorkerInnerExtraDevtoolsMessage_base: Rpc.Rpc<"ExtraDevtoolsMessage", Schema.Struct<{
|
|
234
|
+
message: Schema.Union<readonly [Schema.Struct<{
|
|
235
|
+
readonly _tag: Schema.tag<"LSD.Leader.SnapshotReq">;
|
|
236
|
+
readonly liveStoreVersion: Schema.String;
|
|
237
|
+
clientId: Schema.String;
|
|
238
|
+
requestId: Schema.String;
|
|
239
|
+
}>, Schema.TaggedStruct<"LSD.Leader.LoadDatabaseFile.Request", {
|
|
240
|
+
data: Schema.Codec<Uint8Array<ArrayBuffer>>;
|
|
241
|
+
batchId: Schema.optional<Schema.String>;
|
|
274
242
|
} & {
|
|
275
243
|
readonly requestId: typeof Schema.String;
|
|
276
|
-
readonly liveStoreVersion:
|
|
244
|
+
readonly liveStoreVersion: Schema.String;
|
|
277
245
|
readonly clientId: typeof Schema.String;
|
|
278
|
-
}>,
|
|
279
|
-
|
|
246
|
+
}>, Schema.Struct<{
|
|
247
|
+
readonly _tag: Schema.tag<"LSD.Leader.EventlogReq">;
|
|
248
|
+
readonly liveStoreVersion: Schema.String;
|
|
249
|
+
clientId: Schema.String;
|
|
250
|
+
requestId: Schema.String;
|
|
251
|
+
}>, Schema.TaggedStruct<"LSD.Leader.ResetAllData.Request", {
|
|
252
|
+
mode: Schema.Literals<readonly ["all-data", "only-app-db"]>;
|
|
280
253
|
} & {
|
|
281
254
|
readonly requestId: typeof Schema.String;
|
|
282
|
-
readonly liveStoreVersion:
|
|
255
|
+
readonly liveStoreVersion: Schema.String;
|
|
283
256
|
readonly clientId: typeof Schema.String;
|
|
284
|
-
}>,
|
|
285
|
-
|
|
257
|
+
}>, Schema.Struct<{
|
|
258
|
+
readonly _tag: Schema.tag<"LSD.Leader.NetworkStatusSubscribe">;
|
|
259
|
+
readonly liveStoreVersion: Schema.String;
|
|
260
|
+
clientId: Schema.String;
|
|
261
|
+
requestId: Schema.String;
|
|
262
|
+
subscriptionId: Schema.String;
|
|
263
|
+
}>, Schema.Struct<{
|
|
264
|
+
readonly _tag: Schema.tag<"LSD.Leader.NetworkStatusUnsubscribe">;
|
|
265
|
+
readonly liveStoreVersion: Schema.String;
|
|
266
|
+
clientId: Schema.String;
|
|
267
|
+
requestId: Schema.String;
|
|
268
|
+
subscriptionId: Schema.String;
|
|
269
|
+
}>, Schema.Struct<{
|
|
270
|
+
readonly _tag: Schema.tag<"LSD.Leader.Disconnect">;
|
|
271
|
+
readonly liveStoreVersion: Schema.String;
|
|
272
|
+
clientId: Schema.String;
|
|
273
|
+
requestId: Schema.String;
|
|
274
|
+
}>, Schema.Struct<{
|
|
275
|
+
readonly _tag: Schema.tag<"LSD.Leader.CommitEventReq">;
|
|
276
|
+
readonly liveStoreVersion: Schema.String;
|
|
277
|
+
clientId: Schema.String;
|
|
278
|
+
requestId: Schema.String;
|
|
279
|
+
eventEncoded: Schema.Struct<{
|
|
280
|
+
readonly name: Schema.String;
|
|
281
|
+
readonly args: Schema.Any;
|
|
282
|
+
}>;
|
|
283
|
+
}>, Schema.Struct<{
|
|
284
|
+
readonly _tag: Schema.tag<"LSD.Leader.Ping">;
|
|
285
|
+
readonly liveStoreVersion: Schema.String;
|
|
286
|
+
clientId: Schema.String;
|
|
287
|
+
requestId: Schema.String;
|
|
288
|
+
devtoolsProtocolVersion: Schema.optional<Schema.Finite>;
|
|
289
|
+
}>, Schema.Struct<{
|
|
290
|
+
readonly _tag: Schema.tag<"LSD.Leader.DatabaseFileInfoReq">;
|
|
291
|
+
readonly liveStoreVersion: Schema.String;
|
|
292
|
+
clientId: Schema.String;
|
|
293
|
+
requestId: Schema.String;
|
|
294
|
+
}>, Schema.Struct<{
|
|
295
|
+
readonly _tag: Schema.tag<"LSD.Leader.SyncHistorySubscribe">;
|
|
296
|
+
readonly liveStoreVersion: Schema.String;
|
|
297
|
+
clientId: Schema.String;
|
|
298
|
+
requestId: Schema.String;
|
|
299
|
+
subscriptionId: Schema.String;
|
|
300
|
+
}>, Schema.Struct<{
|
|
301
|
+
readonly _tag: Schema.tag<"LSD.Leader.SyncHistoryUnsubscribe">;
|
|
302
|
+
readonly liveStoreVersion: Schema.String;
|
|
303
|
+
clientId: Schema.String;
|
|
304
|
+
requestId: Schema.String;
|
|
305
|
+
subscriptionId: Schema.String;
|
|
306
|
+
}>, Schema.Struct<{
|
|
307
|
+
readonly _tag: Schema.tag<"LSD.Leader.SyncingInfoReq">;
|
|
308
|
+
readonly liveStoreVersion: Schema.String;
|
|
309
|
+
clientId: Schema.String;
|
|
310
|
+
requestId: Schema.String;
|
|
311
|
+
}>, Schema.Struct<{
|
|
312
|
+
readonly _tag: Schema.tag<"LSD.Leader.SyncHeadSubscribe">;
|
|
313
|
+
readonly liveStoreVersion: Schema.String;
|
|
314
|
+
clientId: Schema.String;
|
|
315
|
+
requestId: Schema.String;
|
|
316
|
+
subscriptionId: Schema.String;
|
|
317
|
+
}>, Schema.Struct<{
|
|
318
|
+
readonly _tag: Schema.tag<"LSD.Leader.SyncHeadUnsubscribe">;
|
|
319
|
+
readonly liveStoreVersion: Schema.String;
|
|
320
|
+
clientId: Schema.String;
|
|
321
|
+
requestId: Schema.String;
|
|
322
|
+
subscriptionId: Schema.String;
|
|
323
|
+
}>, Schema.TaggedStruct<"LSD.Leader.SetSyncLatch.Request", {
|
|
324
|
+
closeLatch: Schema.Boolean;
|
|
286
325
|
} & {
|
|
287
326
|
readonly requestId: typeof Schema.String;
|
|
288
|
-
readonly liveStoreVersion:
|
|
327
|
+
readonly liveStoreVersion: Schema.String;
|
|
289
328
|
readonly clientId: typeof Schema.String;
|
|
290
329
|
}>]>;
|
|
291
|
-
}
|
|
330
|
+
}>, Schema.Void, Schema.Never, never, never>;
|
|
292
331
|
export declare class LeaderWorkerInnerExtraDevtoolsMessage extends LeaderWorkerInnerExtraDevtoolsMessage_base {
|
|
293
332
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
333
|
+
declare const WebmeshWorkerCreateConnection_base: Rpc.Rpc<"WebmeshWorker.CreateConnection", Schema.TaggedStruct<"WebmeshWorker.CreateConnection", {
|
|
334
|
+
readonly from: Schema.String;
|
|
335
|
+
readonly port: Transferable.Transferable<Schema.declare<MessagePort, MessagePort>>;
|
|
336
|
+
}>, import("effect/rpc/RpcSchema").Stream<Schema.Struct<{}>, Schema.Never>, Schema.Never, never, never>;
|
|
337
|
+
export declare class WebmeshWorkerCreateConnection extends WebmeshWorkerCreateConnection_base {
|
|
338
|
+
}
|
|
339
|
+
declare const LeaderWorkerInnerRpcs_base: RpcGroup.RpcGroup<typeof LeaderWorkerInnerBootStatusStream | typeof LeaderWorkerInnerPushToLeader | typeof LeaderWorkerInnerPullStream | typeof LeaderWorkerInnerStreamEvents | typeof LeaderWorkerInnerExport | typeof LeaderWorkerInnerExportEventlog | typeof LeaderWorkerInnerGetRecreateSnapshot | typeof LeaderWorkerInnerGetLeaderHead | typeof LeaderWorkerInnerGetLeaderSyncState | typeof LeaderWorkerInnerSyncStateStream | typeof LeaderWorkerInnerGetNetworkStatus | typeof LeaderWorkerInnerNetworkStatusStream | typeof LeaderWorkerInnerShutdown | typeof LeaderWorkerInnerExtraDevtoolsMessage | typeof WebmeshWorkerCreateConnection>;
|
|
340
|
+
export declare class LeaderWorkerInnerRpcs extends LeaderWorkerInnerRpcs_base {
|
|
341
|
+
}
|
|
342
|
+
declare const SharedWorkerUpdateMessagePort_base: Rpc.Rpc<"UpdateMessagePort", Schema.Struct<{
|
|
343
|
+
port: Transferable.Transferable<Schema.declare<MessagePort, MessagePort>>;
|
|
344
|
+
liveStoreVersion: Schema.Literal<string>;
|
|
301
345
|
/**
|
|
302
346
|
* Initial configuration for the leader worker. This replaces the previous
|
|
303
347
|
* two-phase SharedWorker handshake and is sent under the tab lock by the
|
|
304
348
|
* elected leader. Subsequent calls can omit changes and will simply rebind
|
|
305
349
|
* the port (join) without reinitializing the store.
|
|
306
350
|
*/
|
|
307
|
-
initial:
|
|
308
|
-
|
|
351
|
+
initial: Schema.Struct<{
|
|
352
|
+
storageOptions: Schema.Union<readonly [Schema.Struct<{
|
|
353
|
+
readonly type: Schema.Literal<"opfs">;
|
|
354
|
+
/**
|
|
355
|
+
* Default is `livestore-${storeId}`
|
|
356
|
+
*
|
|
357
|
+
* When providing this option, make sure to include the `storeId` in the path to avoid
|
|
358
|
+
* conflicts with other LiveStore apps.
|
|
359
|
+
*/
|
|
360
|
+
readonly directory: Schema.optional<Schema.String>;
|
|
361
|
+
}>]>;
|
|
362
|
+
devtoolsEnabled: Schema.Boolean;
|
|
363
|
+
storeId: Schema.String;
|
|
364
|
+
clientId: Schema.String;
|
|
365
|
+
debugInstanceId: Schema.String;
|
|
366
|
+
syncPayloadEncoded: Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
367
|
+
params: Schema.Struct<{
|
|
368
|
+
readonly stateRebuildBatchSize: Schema.Int;
|
|
369
|
+
}>;
|
|
370
|
+
}>;
|
|
371
|
+
}>, Schema.Void, typeof UnknownError, never, never>;
|
|
309
372
|
export declare class SharedWorkerUpdateMessagePort extends SharedWorkerUpdateMessagePort_base {
|
|
310
373
|
}
|
|
311
|
-
|
|
312
|
-
export
|
|
374
|
+
declare const SharedWorkerRpcs_base: RpcGroup.RpcGroup<typeof LeaderWorkerInnerBootStatusStream | typeof LeaderWorkerInnerPushToLeader | typeof LeaderWorkerInnerPullStream | typeof LeaderWorkerInnerStreamEvents | typeof LeaderWorkerInnerExport | typeof LeaderWorkerInnerExportEventlog | typeof LeaderWorkerInnerGetRecreateSnapshot | typeof LeaderWorkerInnerGetLeaderHead | typeof LeaderWorkerInnerGetLeaderSyncState | typeof LeaderWorkerInnerSyncStateStream | typeof LeaderWorkerInnerGetNetworkStatus | typeof LeaderWorkerInnerNetworkStatusStream | typeof LeaderWorkerInnerShutdown | typeof LeaderWorkerInnerExtraDevtoolsMessage | typeof WebmeshWorkerCreateConnection | typeof SharedWorkerUpdateMessagePort>;
|
|
375
|
+
export declare class SharedWorkerRpcs extends SharedWorkerRpcs_base {
|
|
376
|
+
}
|
|
313
377
|
export {};
|
|
314
378
|
//# sourceMappingURL=worker-schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-schema.d.ts","sourceRoot":"","sources":["../../../src/web-worker/common/worker-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAKR,SAAS,EACT,YAAY,EACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"worker-schema.d.ts","sourceRoot":"","sources":["../../../src/web-worker/common/worker-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAKR,SAAS,EACT,YAAY,EACb,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9E,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAG7E,eAAO,MAAM,eAAe;;IAE1B;;;;;OAKG;;EAEH,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAA;AAUzD,eAAO,MAAM,WAAW;;IAnBtB;;;;;OAKG;;IAiBH,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,IAAI,CAAA;AACjD,MAAM,MAAM,kBAAkB,GAAG,OAAO,WAAW,CAAC,OAAO,CAAA;AAG3D,eAAO,MAAM,kBAAkB,qFAA4C,CAAA;AAC3E,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAA;;;;;;AAE5D,qBAAa,+BAAgC,SAAQ,oCAInD;CAAG;;AAEL,qBAAa,qBAAsB,SAAQ,0BAA8C;CAAG;AAE5F,eAAO,MAAM,kBAAkB;;EAAwE,CAAA;;;;QAtCrG;;;;;WAKG;;;;;;;;;;;;AAoCL,qBAAa,+BAAgC,SAAQ,oCAYnD;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,iCAAkC,SAAQ,sCAKrD;CAAG;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,6BAA8B,SAAQ,kCAMjD;CAAG;;;;;;;;;;;;;;;;;AAEL,qBAAa,2BAA4B,SAAQ,gCAS/C;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,6BAA8B,SAAQ,kCAKjD;CAAG;;AAEL,qBAAa,uBAAwB,SAAQ,4BAI3C;CAAG;;AAEL,qBAAa,+BAAgC,SAAQ,oCAInD;CAAG;;uBAKoC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;;;;;;;;;;;AAH9E,qBAAa,oCAAqC,SAAQ,yCAOxD;CAAG;;;;;;;;AAEL,qBAAa,8BAA+B,SAAQ,mCAIlD;CAAG;;AAEL,qBAAa,mCAAoC,SAAQ,wCAIvD;CAAG;;AAEL,qBAAa,gCAAiC,SAAQ,qCAKpD;CAAG;;;;;;;;AAEL,qBAAa,iCAAkC,SAAQ,sCAIrD;CAAG;;;;;;;;AAEL,qBAAa,oCAAqC,SAAQ,yCAKxD;CAAG;;AAEL,qBAAa,yBAA0B,SAAQ,8BAI7C;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,qCAAsC,SAAQ,0CAMzD;CAAG;;;;;AAEL,qBAAa,6BAA8B,SAAQ,kCAKjD;CAAG;;AAEL,qBAAa,qBAAsB,SAAQ,0BAgB1C;CAAG;;;;IAOA;;;;;OAKG;;;;YA9LL;;;;;eAKG;;;;;;;;;;;;;AA+KL,qBAAa,6BAA8B,SAAQ,kCAejD;CAAG;;AAEL,qBAAa,gBAAiB,SAAQ,qBAoBrC;CAAG"}
|