@evolu/common 6.0.1-preview.2 → 6.0.1-preview.21
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/src/Assert.d.ts +6 -3
- package/dist/src/Assert.d.ts.map +1 -1
- package/dist/src/Assert.js +7 -4
- package/dist/src/Brand.d.ts +75 -0
- package/dist/src/Brand.d.ts.map +1 -0
- package/dist/src/Brand.js +1 -0
- package/dist/src/Buffer.d.ts +1 -1
- package/dist/src/Buffer.d.ts.map +1 -1
- package/dist/src/Buffer.js +1 -1
- package/dist/src/CallbackRegistry.d.ts +53 -0
- package/dist/src/CallbackRegistry.d.ts.map +1 -0
- package/dist/src/CallbackRegistry.js +25 -0
- package/dist/src/Console.d.ts +31 -6
- package/dist/src/Console.d.ts.map +1 -1
- package/dist/src/Console.js +72 -9
- package/dist/src/Crypto.d.ts +61 -34
- package/dist/src/Crypto.d.ts.map +1 -1
- package/dist/src/Crypto.js +29 -42
- package/dist/src/Evolu/Db.d.ts +159 -66
- package/dist/src/Evolu/Db.d.ts.map +1 -1
- package/dist/src/Evolu/Db.js +300 -705
- package/dist/src/Evolu/Diff.d.ts +3 -3
- package/dist/src/Evolu/Diff.d.ts.map +1 -1
- package/dist/src/Evolu/Diff.js +7 -5
- package/dist/src/Evolu/Evolu.d.ts +200 -115
- package/dist/src/Evolu/Evolu.d.ts.map +1 -1
- package/dist/src/Evolu/Evolu.js +287 -157
- package/dist/src/Evolu/Internal.d.ts +0 -2
- package/dist/src/Evolu/Internal.d.ts.map +1 -1
- package/dist/src/Evolu/Internal.js +0 -2
- package/dist/src/Evolu/LocalAuth.d.ts +144 -0
- package/dist/src/Evolu/LocalAuth.d.ts.map +1 -0
- package/dist/src/Evolu/LocalAuth.js +171 -0
- package/dist/src/Evolu/Owner.d.ts +209 -124
- package/dist/src/Evolu/Owner.d.ts.map +1 -1
- package/dist/src/Evolu/Owner.js +118 -104
- package/dist/src/Evolu/Platform.d.ts +9 -7
- package/dist/src/Evolu/Platform.d.ts.map +1 -1
- package/dist/src/Evolu/Protocol.d.ts +256 -211
- package/dist/src/Evolu/Protocol.d.ts.map +1 -1
- package/dist/src/Evolu/Protocol.js +558 -359
- package/dist/src/Evolu/Public.d.ts +6 -8
- package/dist/src/Evolu/Public.d.ts.map +1 -1
- package/dist/src/Evolu/Public.js +2 -3
- package/dist/src/Evolu/PublicKysely.js +3 -3
- package/dist/src/Evolu/Query.d.ts +2 -1
- package/dist/src/Evolu/Query.d.ts.map +1 -1
- package/dist/src/Evolu/Relay.d.ts +72 -4
- package/dist/src/Evolu/Relay.d.ts.map +1 -1
- package/dist/src/Evolu/Relay.js +124 -13
- package/dist/src/Evolu/Schema.d.ts +129 -73
- package/dist/src/Evolu/Schema.d.ts.map +1 -1
- package/dist/src/Evolu/Schema.js +169 -89
- package/dist/src/Evolu/Storage.d.ts +159 -14
- package/dist/src/Evolu/Storage.d.ts.map +1 -1
- package/dist/src/Evolu/Storage.js +42 -32
- package/dist/src/Evolu/Sync.d.ts +68 -13
- package/dist/src/Evolu/Sync.d.ts.map +1 -1
- package/dist/src/Evolu/Sync.js +414 -20
- package/dist/src/Evolu/Timestamp.d.ts +35 -27
- package/dist/src/Evolu/Timestamp.d.ts.map +1 -1
- package/dist/src/Evolu/Timestamp.js +27 -18
- package/dist/src/ManyToManyMap.d.ts +74 -10
- package/dist/src/ManyToManyMap.d.ts.map +1 -1
- package/dist/src/ManyToManyMap.js +41 -6
- package/dist/src/Number.d.ts +2 -1
- package/dist/src/Number.d.ts.map +1 -1
- package/dist/src/Random.d.ts +3 -2
- package/dist/src/Random.d.ts.map +1 -1
- package/dist/src/RefCountedResourceManager.d.ts +119 -0
- package/dist/src/RefCountedResourceManager.d.ts.map +1 -0
- package/dist/src/RefCountedResourceManager.js +197 -0
- package/dist/src/Result.d.ts +176 -51
- package/dist/src/Result.d.ts.map +1 -1
- package/dist/src/Result.js +30 -241
- package/dist/src/Sqlite.d.ts +21 -4
- package/dist/src/Sqlite.d.ts.map +1 -1
- package/dist/src/Sqlite.js +50 -8
- package/dist/src/Task.d.ts +511 -0
- package/dist/src/Task.d.ts.map +1 -0
- package/dist/src/Task.js +410 -0
- package/dist/src/Time.d.ts +59 -0
- package/dist/src/Time.d.ts.map +1 -1
- package/dist/src/Time.js +87 -4
- package/dist/src/Type.d.ts +474 -327
- package/dist/src/Type.d.ts.map +1 -1
- package/dist/src/Type.js +502 -436
- package/dist/src/Types.d.ts +0 -74
- package/dist/src/Types.d.ts.map +1 -1
- package/dist/src/WebSocket.d.ts +5 -2
- package/dist/src/WebSocket.d.ts.map +1 -1
- package/dist/src/WebSocket.js +12 -13
- package/dist/src/Worker.d.ts +39 -11
- package/dist/src/Worker.d.ts.map +1 -1
- package/dist/src/Worker.js +22 -4
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -3
- package/package.json +14 -13
- package/src/Assert.ts +8 -7
- package/src/Brand.ts +75 -0
- package/src/Buffer.ts +1 -1
- package/src/CallbackRegistry.ts +84 -0
- package/src/Console.ts +91 -11
- package/src/Crypto.ts +94 -79
- package/src/Evolu/Db.ts +528 -1027
- package/src/Evolu/Diff.ts +7 -5
- package/src/Evolu/Evolu.ts +682 -329
- package/src/Evolu/Internal.ts +0 -2
- package/src/Evolu/LocalAuth.ts +422 -0
- package/src/Evolu/Owner.ts +282 -227
- package/src/Evolu/Platform.ts +9 -9
- package/src/Evolu/Protocol.ts +788 -640
- package/src/Evolu/Public.ts +7 -14
- package/src/Evolu/PublicKysely.ts +3 -3
- package/src/Evolu/Query.ts +2 -1
- package/src/Evolu/Relay.ts +238 -18
- package/src/Evolu/Schema.ts +391 -191
- package/src/Evolu/Storage.ts +275 -55
- package/src/Evolu/Sync.ts +708 -37
- package/src/Evolu/Timestamp.ts +38 -35
- package/src/ManyToManyMap.ts +127 -24
- package/src/Number.ts +2 -6
- package/src/Random.ts +3 -2
- package/src/RefCountedResourceManager.ts +368 -0
- package/src/Result.ts +183 -53
- package/src/Sqlite.ts +59 -23
- package/src/Task.ts +779 -0
- package/src/Time.ts +168 -4
- package/src/Type.ts +708 -660
- package/src/Types.ts +0 -76
- package/src/WebSocket.ts +23 -17
- package/src/Worker.ts +72 -23
- package/src/index.ts +3 -3
- package/dist/src/Callbacks.d.ts +0 -20
- package/dist/src/Callbacks.d.ts.map +0 -1
- package/dist/src/Callbacks.js +0 -18
- package/dist/src/Evolu/Config.d.ts +0 -69
- package/dist/src/Evolu/Config.d.ts.map +0 -1
- package/dist/src/Evolu/Config.js +0 -9
- package/dist/src/Evolu/Kysely.d.ts +0 -6
- package/dist/src/Evolu/Kysely.d.ts.map +0 -1
- package/dist/src/Evolu/Kysely.js +0 -21
- package/dist/src/NanoId.d.ts +0 -27
- package/dist/src/NanoId.d.ts.map +0 -1
- package/dist/src/NanoId.js +0 -6
- package/dist/src/Promise.d.ts +0 -180
- package/dist/src/Promise.d.ts.map +0 -1
- package/dist/src/Promise.js +0 -176
- package/src/Callbacks.ts +0 -43
- package/src/Evolu/Config.ts +0 -83
- package/src/Evolu/Kysely.ts +0 -38
- package/src/NanoId.ts +0 -39
- package/src/Promise.ts +0 -295
package/dist/src/Evolu/Owner.js
CHANGED
|
@@ -1,131 +1,145 @@
|
|
|
1
|
+
import * as bip39 from "@scure/bip39";
|
|
2
|
+
import { wordlist } from "@scure/bip39/wordlists/english.js";
|
|
3
|
+
import { createSlip21, EncryptionKey, Entropy16, Entropy32, } from "../Crypto.js";
|
|
4
|
+
import { brand, Id, IdBytes, idBytesToId, idToIdBytes, } from "../Type.js";
|
|
5
|
+
import { getOrNull } from "../Result.js";
|
|
1
6
|
/**
|
|
2
|
-
*
|
|
7
|
+
* 32 bytes of cryptographic entropy used to derive {@link Owner} keys.
|
|
3
8
|
*
|
|
4
|
-
* @
|
|
9
|
+
* Can be created using {@link createOwnerSecret} or converted from a
|
|
10
|
+
* {@link Mnemonic} using {@link mnemonicToOwnerSecret}.
|
|
5
11
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
export const OwnerSecret = brand("OwnerSecret", Entropy32);
|
|
13
|
+
/** Creates a {@link OwnerSecret}. */
|
|
14
|
+
export const createOwnerSecret = (deps) => deps.randomBytes.create(32);
|
|
15
|
+
/** Converts an {@link OwnerSecret} to a {@link Mnemonic}. */
|
|
16
|
+
export const ownerSecretToMnemonic = (secret) => bip39.entropyToMnemonic(secret, wordlist);
|
|
17
|
+
/** Converts a {@link Mnemonic} to an {@link OwnerSecret}. */
|
|
18
|
+
export const mnemonicToOwnerSecret = (mnemonic) => bip39.mnemonicToEntropy(mnemonic, wordlist);
|
|
10
19
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* This branded {@link Id} type, generated by {@link createSlip21Id}, is a
|
|
14
|
-
* 21-character {@link Base64Url} string (126 bits of entropy), providing a
|
|
15
|
-
* compact, shareable, and secure identifier for UI use, tied to the owner's
|
|
16
|
-
* mnemonic and derivation path.
|
|
20
|
+
* OwnerId is a branded {@link Id} that uniquely identifies an {@link Owner}.
|
|
21
|
+
* Branded from {@link Id} to leverage existing helpers like {@link idToIdBytes}.
|
|
17
22
|
*/
|
|
18
23
|
export const OwnerId = brand("OwnerId", Id);
|
|
19
|
-
|
|
24
|
+
/** Bytes representation of {@link OwnerId}. */
|
|
25
|
+
export const OwnerIdBytes = brand("OwnerIdBytes", IdBytes);
|
|
26
|
+
export const ownerIdToOwnerIdBytes = (ownerId) => idToIdBytes(ownerId);
|
|
27
|
+
export const ownerIdBytesToOwnerId = (ownerIdBytes) => idBytesToId(ownerIdBytes);
|
|
28
|
+
export const ownerWriteKeyLength = 16;
|
|
29
|
+
export const OwnerEncryptionKey = brand("OwnerEncryptionKey", EncryptionKey);
|
|
20
30
|
/**
|
|
21
|
-
* A secure token
|
|
22
|
-
*
|
|
31
|
+
* A secure token for write operations. It's derived from {@link OwnerSecret} by
|
|
32
|
+
* default and can be rotated via {@link createOwnerWriteKey}.
|
|
23
33
|
*/
|
|
24
|
-
export const
|
|
34
|
+
export const OwnerWriteKey = brand("OwnerWriteKey", Entropy16);
|
|
35
|
+
/** Creates a randomly generated {@link OwnerWriteKey}. */
|
|
36
|
+
export const createOwnerWriteKey = (deps) => deps.randomBytes.create(16);
|
|
25
37
|
/**
|
|
26
|
-
* Creates an {@link
|
|
27
|
-
*
|
|
38
|
+
* Creates an {@link Owner} from a {@link OwnerSecret} using SLIP-21 key
|
|
39
|
+
* derivation.
|
|
40
|
+
*
|
|
41
|
+
* This is an internal helper function, use:
|
|
42
|
+
*
|
|
43
|
+
* - {@link createAppOwner}
|
|
44
|
+
* - {@link createShardOwner}
|
|
45
|
+
* - {@link createSharedOwner}
|
|
46
|
+
* - {@link createSharedReadonlyOwner}
|
|
28
47
|
*/
|
|
29
|
-
export const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
48
|
+
export const createOwner = (secret) => ({
|
|
49
|
+
id: ownerIdBytesToOwnerId(OwnerIdBytes.orThrow(createSlip21(secret, ["Evolu", "OwnerIdBytes"]).slice(0, 16))),
|
|
50
|
+
encryptionKey: OwnerEncryptionKey.orThrow(createSlip21(secret, ["Evolu", "OwnerEncryptionKey"])),
|
|
51
|
+
writeKey: OwnerWriteKey.orThrow(createSlip21(secret, ["Evolu", "OwnerWriteKey"]).slice(0, 16)),
|
|
52
|
+
});
|
|
53
|
+
/** Creates an {@link AppOwner} from an {@link OwnerSecret}. */
|
|
54
|
+
export const createAppOwner = (secret) => ({
|
|
55
|
+
type: "AppOwner",
|
|
56
|
+
mnemonic: ownerSecretToMnemonic(secret),
|
|
57
|
+
...createOwner(secret),
|
|
58
|
+
});
|
|
33
59
|
/**
|
|
34
|
-
* Creates a {@link
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
60
|
+
* Creates a {@link WebSocketTransportConfig} for the given relay URL and
|
|
61
|
+
* {@link OwnerId}.
|
|
62
|
+
*
|
|
63
|
+
* ### Example
|
|
64
|
+
*
|
|
65
|
+
* ```ts
|
|
66
|
+
* const transport = createWebSocketTransportConfig({
|
|
67
|
+
* relayUrl: "wss://relay.evolu.dev",
|
|
68
|
+
* ownerId: owner.id,
|
|
69
|
+
* });
|
|
70
|
+
* // Result: { type: "WebSocket", url: "wss://relay.evolu.dev?ownerId=..." }
|
|
71
|
+
* ```
|
|
38
72
|
*/
|
|
39
|
-
export const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
mnemonic: owner.mnemonic,
|
|
44
|
-
writeKey: owner.writeKey,
|
|
45
|
-
};
|
|
46
|
-
};
|
|
73
|
+
export const createWebSocketTransportConfig = ({ relayUrl, ownerId, }) => ({
|
|
74
|
+
type: "WebSocket",
|
|
75
|
+
url: `${relayUrl}?ownerId=${ownerId}`,
|
|
76
|
+
});
|
|
47
77
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
78
|
+
* Extracts {@link OwnerId} from a URL query string.
|
|
79
|
+
*
|
|
80
|
+
* Parses the query string `?ownerId=...` and validates that the extracted value
|
|
81
|
+
* is a valid {@link OwnerId}.
|
|
82
|
+
*
|
|
83
|
+
* ### Example
|
|
84
|
+
*
|
|
85
|
+
* ```ts
|
|
86
|
+
* parseOwnerIdFromUrl("/sync?ownerId=_12345678abcdefgh");
|
|
87
|
+
* // Returns: OwnerId or null
|
|
88
|
+
* ```
|
|
52
89
|
*/
|
|
53
|
-
export const
|
|
54
|
-
|
|
55
|
-
|
|
90
|
+
export const parseOwnerIdFromUrl = (url) => getOrNull(OwnerId.fromUnknown(url?.split("=")[1]));
|
|
91
|
+
/** Creates a {@link ShardOwner} from an {@link OwnerSecret}. */
|
|
92
|
+
export const createShardOwner = (secret, transports) => {
|
|
56
93
|
return {
|
|
57
|
-
type: "
|
|
58
|
-
|
|
59
|
-
|
|
94
|
+
type: "ShardOwner",
|
|
95
|
+
...createOwner(secret),
|
|
96
|
+
...(transports && { transports }),
|
|
60
97
|
};
|
|
61
98
|
};
|
|
62
99
|
/**
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
100
|
+
* Derives a {@link ShardOwner} from an {@link AppOwner} using the specified path.
|
|
101
|
+
*
|
|
102
|
+
* **Advantages of derived owners:**
|
|
103
|
+
*
|
|
104
|
+
* - **Deterministic**: Same path always produces the same ShardOwner across all
|
|
105
|
+
* devices
|
|
106
|
+
* - **Immediate availability**: Can be hardcoded and used before sync occurs
|
|
107
|
+
* - **Consistent setup**: All devices start with identical data structure
|
|
108
|
+
* - **Lifecycle management**: Can implement epoch patterns for clean data
|
|
109
|
+
* deletion and recreation
|
|
110
|
+
*
|
|
111
|
+
* **Common patterns:**
|
|
112
|
+
*
|
|
113
|
+
* - Use paths like `["shard", 1]` for versioned data lifecycle
|
|
114
|
+
* - Use paths like `["project", "MyApp", 1]` for named partitions with versions
|
|
115
|
+
* - Each device can derive the same owners and set up initial structure
|
|
66
116
|
*/
|
|
67
|
-
export const
|
|
68
|
-
|
|
69
|
-
type: "SharedReadonlyOwner",
|
|
70
|
-
mnemonic: sharedOwner.mnemonic,
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
/** Creates an {@link Owner} with optional `mnemonic` and `writeKey`. */
|
|
74
|
-
export const createOwner = (deps) => (mnemonic = deps.createMnemonic(), writeKey) => {
|
|
75
|
-
const seed = mnemonicToMnemonicSeed(mnemonic);
|
|
76
|
-
const id = createSlip21Id(seed, ["Evolu", "Owner Id"]);
|
|
77
|
-
const encryptionKey = createEncryptionKey(seed);
|
|
78
|
-
const createdAt = DateIso.fromParent(new Date(deps.time.now()));
|
|
79
|
-
assert(createdAt.ok, "Invalid DateIso: bad system clock");
|
|
117
|
+
export const deriveShardOwner = (owner, path, transports) => {
|
|
118
|
+
const secret = createSlip21(owner.encryptionKey, path);
|
|
80
119
|
return {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
encryptionKey,
|
|
85
|
-
writeKey: writeKey ?? createWriteKey(deps)(seed),
|
|
120
|
+
type: "ShardOwner",
|
|
121
|
+
...createOwner(secret),
|
|
122
|
+
...(transports && { transports }),
|
|
86
123
|
};
|
|
87
124
|
};
|
|
88
|
-
export const createWriteKey = (deps) => (seed) => {
|
|
89
|
-
const key = seed
|
|
90
|
-
? createSlip21(seed, ["Evolu", "Write Key"]).slice(0, 16)
|
|
91
|
-
: deps.createRandomBytes(16);
|
|
92
|
-
const writeKey = WriteKey.from(key);
|
|
93
|
-
assert(writeKey.ok, "Ensure valid WriteKey");
|
|
94
|
-
return writeKey.value;
|
|
95
|
-
};
|
|
96
125
|
/**
|
|
97
|
-
* Creates
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
const timestamp = timestampToTimestampString(createInitialTimestamp(deps));
|
|
103
|
-
switch (owner.type) {
|
|
104
|
-
case "AppOwner": {
|
|
105
|
-
const { type, ...rest } = owner;
|
|
106
|
-
return { ...rest, timestamp };
|
|
107
|
-
}
|
|
108
|
-
case "ShardOwner":
|
|
109
|
-
case "SharedOwner":
|
|
110
|
-
return {
|
|
111
|
-
...createOwner(deps)(owner.mnemonic, owner.writeKey),
|
|
112
|
-
timestamp,
|
|
113
|
-
};
|
|
114
|
-
case "SharedReadonlyOwner":
|
|
115
|
-
return {
|
|
116
|
-
...createOwner(deps)(owner.mnemonic),
|
|
117
|
-
writeKey: null,
|
|
118
|
-
timestamp,
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
/**
|
|
123
|
-
* Rotates the {@link WriteKey} for an {@link AppOwner}, {@link ShardOwner}, or
|
|
124
|
-
* {@link SharedOwner}, returning a new instance with the updated key.
|
|
126
|
+
* Creates a {@link SharedOwner} from an {@link OwnerSecret} for collaborative
|
|
127
|
+
* write access.
|
|
128
|
+
*
|
|
129
|
+
* Use {@link createSharedReadonlyOwner} to create a read-only version for
|
|
130
|
+
* sharing.
|
|
125
131
|
*/
|
|
126
|
-
export const
|
|
132
|
+
export const createSharedOwner = (secret, transports) => {
|
|
127
133
|
return {
|
|
128
|
-
|
|
129
|
-
|
|
134
|
+
type: "SharedOwner",
|
|
135
|
+
...createOwner(secret),
|
|
136
|
+
...(transports && { transports }),
|
|
130
137
|
};
|
|
131
138
|
};
|
|
139
|
+
/** Creates a {@link SharedReadonlyOwner} from a {@link SharedOwner}. */
|
|
140
|
+
export const createSharedReadonlyOwner = (sharedOwner) => ({
|
|
141
|
+
type: "SharedReadonlyOwner",
|
|
142
|
+
id: sharedOwner.id,
|
|
143
|
+
encryptionKey: sharedOwner.encryptionKey,
|
|
144
|
+
...(sharedOwner.transports && { transports: sharedOwner.transports }),
|
|
145
|
+
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Config } from "./Config.js";
|
|
2
1
|
/**
|
|
3
2
|
* FlushSync is for libraries like React to flush updates synchronously inside
|
|
4
3
|
* the provided callback to ensure the DOM is updated immediately.
|
|
@@ -13,11 +12,14 @@ export type FlushSync = (callback: () => void) => void;
|
|
|
13
12
|
export interface FlushSyncDep {
|
|
14
13
|
readonly flushSync: FlushSync;
|
|
15
14
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Reload the app in a platform-specific way.
|
|
17
|
+
*
|
|
18
|
+
* - **Web**: Redirects to the specified URL
|
|
19
|
+
* - **React Native**: Restarts the app (URL parameter ignored)
|
|
20
|
+
*/
|
|
21
|
+
export type ReloadApp = (url: string) => void;
|
|
22
|
+
export interface ReloadAppDep {
|
|
23
|
+
readonly reloadApp: ReloadApp;
|
|
22
24
|
}
|
|
23
25
|
//# sourceMappingURL=Platform.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Platform.d.ts","sourceRoot":"","sources":["../../../src/Evolu/Platform.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Platform.d.ts","sourceRoot":"","sources":["../../../src/Evolu/Platform.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;AAEvD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;CAC/B;AAED;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;CAC/B"}
|