@powersync/service-types 0.2.0 → 0.3.0
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/CHANGELOG.md +15 -0
- package/dist/config/PowerSyncConfig.d.ts +51 -52
- package/dist/config/PowerSyncConfig.js +26 -27
- package/dist/config/PowerSyncConfig.js.map +1 -1
- package/dist/config/normalize.d.ts +1 -32
- package/dist/config/normalize.js +0 -108
- package/dist/config/normalize.js.map +1 -1
- package/dist/definitions.d.ts +82 -0
- package/dist/definitions.js +49 -15
- package/dist/definitions.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js.map +1 -1
- package/dist/routes.d.ts +5 -0
- package/package.json +1 -1
- package/src/config/PowerSyncConfig.ts +32 -29
- package/src/config/normalize.ts +0 -114
- package/src/definitions.ts +57 -16
- package/src/index.ts +0 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @powersync/service-types
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 57bd18b: - Introduced modules to the powersync service architecture
|
|
8
|
+
- Core functionality has been moved to "engine" classes. Modules can register additional functionality with these engines.
|
|
9
|
+
- The sync API functionality used by the routes has been abstracted to an interface. API routes are now managed by the RouterEngine.
|
|
10
|
+
- Replication is managed by the ReplicationEngine and new replication data sources can be registered to the engine by modules.
|
|
11
|
+
- Refactored existing Postgres replication as a module.
|
|
12
|
+
- Removed Postgres specific code from the core service packages.
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 57bd18b: Updates from Replication events changes
|
|
17
|
+
|
|
3
18
|
## 0.2.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import * as t from 'ts-codec';
|
|
2
|
+
/**
|
|
3
|
+
* Users might specify ports as strings if using YAML custom tag environment substitutions
|
|
4
|
+
*/
|
|
5
|
+
export declare const portCodec: t.Codec<number, string | number, string, t.CodecProps>;
|
|
2
6
|
/**
|
|
3
7
|
* This gets used whenever generating a JSON schema
|
|
4
8
|
*/
|
|
@@ -10,34 +14,52 @@ export declare const portParser: {
|
|
|
10
14
|
}[];
|
|
11
15
|
};
|
|
12
16
|
};
|
|
13
|
-
export declare const
|
|
14
|
-
type: t.
|
|
17
|
+
export declare const DataSourceConfig: t.ObjectCodec<{
|
|
18
|
+
type: t.IdentityCodec<t.CodecType.String>;
|
|
15
19
|
/** Unique identifier for the connection - optional when a single connection is present. */
|
|
16
20
|
id: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
17
|
-
/**
|
|
21
|
+
/** Additional meta tag for connection */
|
|
18
22
|
tag: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
19
|
-
uri: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
20
|
-
hostname: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
21
|
-
port: t.OptionalCodec<t.Codec<number, string | number, string, t.CodecProps>>;
|
|
22
|
-
username: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
23
|
-
password: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
24
|
-
database: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
25
|
-
/** Defaults to verify-full */
|
|
26
|
-
sslmode: t.OptionalCodec<t.Codec<"verify-full" | "verify-ca" | "disable", "verify-full" | "verify-ca" | "disable", string, t.CodecProps>>;
|
|
27
|
-
/** Required for verify-ca, optional for verify-full */
|
|
28
|
-
cacert: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
29
|
-
client_certificate: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
30
|
-
client_private_key: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
31
|
-
/** Expose database credentials */
|
|
32
|
-
demo_database: t.OptionalCodec<t.Codec<boolean, boolean, string, t.CodecProps>>;
|
|
33
|
-
/** Expose "execute-sql" */
|
|
34
|
-
debug_api: t.OptionalCodec<t.Codec<boolean, boolean, string, t.CodecProps>>;
|
|
35
23
|
/**
|
|
36
|
-
*
|
|
24
|
+
* Allows for debug query execution
|
|
37
25
|
*/
|
|
38
|
-
|
|
26
|
+
debug_api: t.OptionalCodec<t.Codec<boolean, boolean, string, t.CodecProps>>;
|
|
39
27
|
}>;
|
|
40
|
-
export type
|
|
28
|
+
export type DataSourceConfig = t.Decoded<typeof DataSourceConfig>;
|
|
29
|
+
/**
|
|
30
|
+
* Resolved version of {@link DataSourceConfig} where the optional
|
|
31
|
+
* `id` and `tag` field is now required.
|
|
32
|
+
*/
|
|
33
|
+
export declare const ResolvedDataSourceConfig: t.Intersection<t.Codec<{
|
|
34
|
+
type: string;
|
|
35
|
+
id?: string | undefined;
|
|
36
|
+
tag?: string | undefined;
|
|
37
|
+
debug_api?: boolean | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
type: string;
|
|
40
|
+
id?: string | undefined;
|
|
41
|
+
tag?: string | undefined;
|
|
42
|
+
debug_api?: boolean | undefined;
|
|
43
|
+
}, string, t.CodecProps>, t.ObjectCodec<{
|
|
44
|
+
id: t.IdentityCodec<t.CodecType.String>;
|
|
45
|
+
tag: t.IdentityCodec<t.CodecType.String>;
|
|
46
|
+
}>>;
|
|
47
|
+
export type ResolvedDataSourceConfig = t.Decoded<typeof ResolvedDataSourceConfig>;
|
|
48
|
+
/**
|
|
49
|
+
* This essentially allows any extra fields on this type
|
|
50
|
+
*/
|
|
51
|
+
export declare const genericDataSourceConfig: t.Intersection<t.Codec<{
|
|
52
|
+
type: string;
|
|
53
|
+
id?: string | undefined;
|
|
54
|
+
tag?: string | undefined;
|
|
55
|
+
debug_api?: boolean | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
type: string;
|
|
58
|
+
id?: string | undefined;
|
|
59
|
+
tag?: string | undefined;
|
|
60
|
+
debug_api?: boolean | undefined;
|
|
61
|
+
}, string, t.CodecProps>, t.RecordCodec<t.Codec<any, any, t.CodecType.Any, t.CodecProps>>>;
|
|
62
|
+
export type GenericDataSourceConfig = t.Decoded<typeof genericDataSourceConfig>;
|
|
41
63
|
export declare const jwkRSA: t.ObjectCodec<{
|
|
42
64
|
kty: t.LiteralCodec<"RSA">;
|
|
43
65
|
kid: t.IdentityCodec<t.CodecType.String>;
|
|
@@ -106,43 +128,19 @@ export declare const storageConfig: t.ObjectCodec<{
|
|
|
106
128
|
export type StorageConfig = t.Decoded<typeof storageConfig>;
|
|
107
129
|
export declare const powerSyncConfig: t.ObjectCodec<{
|
|
108
130
|
replication: t.OptionalCodec<t.Codec<{
|
|
109
|
-
connections?: {
|
|
110
|
-
type:
|
|
131
|
+
connections?: ({
|
|
132
|
+
type: string;
|
|
111
133
|
id?: string | undefined;
|
|
112
134
|
tag?: string | undefined;
|
|
113
|
-
uri?: string | undefined;
|
|
114
|
-
hostname?: string | undefined;
|
|
115
|
-
port?: number | undefined;
|
|
116
|
-
username?: string | undefined;
|
|
117
|
-
password?: string | undefined;
|
|
118
|
-
database?: string | undefined;
|
|
119
|
-
sslmode?: "verify-full" | "verify-ca" | "disable" | undefined;
|
|
120
|
-
cacert?: string | undefined;
|
|
121
|
-
client_certificate?: string | undefined;
|
|
122
|
-
client_private_key?: string | undefined;
|
|
123
|
-
demo_database?: boolean | undefined;
|
|
124
135
|
debug_api?: boolean | undefined;
|
|
125
|
-
|
|
126
|
-
}[] | undefined;
|
|
136
|
+
} & Record<string, any>)[] | undefined;
|
|
127
137
|
}, {
|
|
128
|
-
connections?: {
|
|
129
|
-
type:
|
|
138
|
+
connections?: ({
|
|
139
|
+
type: string;
|
|
130
140
|
id?: string | undefined;
|
|
131
141
|
tag?: string | undefined;
|
|
132
|
-
uri?: string | undefined;
|
|
133
|
-
hostname?: string | undefined;
|
|
134
|
-
port?: string | number | undefined;
|
|
135
|
-
username?: string | undefined;
|
|
136
|
-
password?: string | undefined;
|
|
137
|
-
database?: string | undefined;
|
|
138
|
-
sslmode?: "verify-full" | "verify-ca" | "disable" | undefined;
|
|
139
|
-
cacert?: string | undefined;
|
|
140
|
-
client_certificate?: string | undefined;
|
|
141
|
-
client_private_key?: string | undefined;
|
|
142
|
-
demo_database?: boolean | undefined;
|
|
143
142
|
debug_api?: boolean | undefined;
|
|
144
|
-
|
|
145
|
-
}[] | undefined;
|
|
143
|
+
} & Record<string, any>)[] | undefined;
|
|
146
144
|
}, string, t.CodecProps>>;
|
|
147
145
|
dev: t.OptionalCodec<t.Codec<{
|
|
148
146
|
demo_auth?: boolean | undefined;
|
|
@@ -231,6 +229,7 @@ export declare const powerSyncConfig: t.ObjectCodec<{
|
|
|
231
229
|
disable_telemetry_sharing: boolean;
|
|
232
230
|
internal_service_endpoint?: string | undefined;
|
|
233
231
|
}, string, t.CodecProps>>;
|
|
232
|
+
parameters: t.OptionalCodec<t.Codec<Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>, string, t.CodecProps>>;
|
|
234
233
|
}>;
|
|
235
234
|
export type PowerSyncConfig = t.Decoded<typeof powerSyncConfig>;
|
|
236
235
|
export type SerializedPowerSyncConfig = t.Encoded<typeof powerSyncConfig>;
|
|
@@ -23,48 +23,45 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.powerSyncConfig = exports.storageConfig = exports.strictJwks = exports.jwkHmac = exports.jwkRSA = exports.
|
|
26
|
+
exports.powerSyncConfig = exports.storageConfig = exports.strictJwks = exports.jwkHmac = exports.jwkRSA = exports.genericDataSourceConfig = exports.ResolvedDataSourceConfig = exports.DataSourceConfig = exports.portParser = exports.portCodec = void 0;
|
|
27
27
|
const t = __importStar(require("ts-codec"));
|
|
28
28
|
/**
|
|
29
29
|
* Users might specify ports as strings if using YAML custom tag environment substitutions
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
exports.portCodec = t.codec('Port', (value) => value, (value) => (typeof value == 'number' ? value : parseInt(value)));
|
|
32
32
|
/**
|
|
33
33
|
* This gets used whenever generating a JSON schema
|
|
34
34
|
*/
|
|
35
35
|
exports.portParser = {
|
|
36
|
-
tag: portCodec._tag,
|
|
36
|
+
tag: exports.portCodec._tag,
|
|
37
37
|
parse: () => ({
|
|
38
38
|
anyOf: [{ type: 'number' }, { type: 'string' }]
|
|
39
39
|
})
|
|
40
40
|
};
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.DataSourceConfig = t.object({
|
|
42
|
+
// Unique string identifier for the data source
|
|
43
|
+
type: t.string,
|
|
43
44
|
/** Unique identifier for the connection - optional when a single connection is present. */
|
|
44
45
|
id: t.string.optional(),
|
|
45
|
-
/**
|
|
46
|
+
/** Additional meta tag for connection */
|
|
46
47
|
tag: t.string.optional(),
|
|
47
|
-
uri: t.string.optional(),
|
|
48
|
-
hostname: t.string.optional(),
|
|
49
|
-
port: portCodec.optional(),
|
|
50
|
-
username: t.string.optional(),
|
|
51
|
-
password: t.string.optional(),
|
|
52
|
-
database: t.string.optional(),
|
|
53
|
-
/** Defaults to verify-full */
|
|
54
|
-
sslmode: t.literal('verify-full').or(t.literal('verify-ca')).or(t.literal('disable')).optional(),
|
|
55
|
-
/** Required for verify-ca, optional for verify-full */
|
|
56
|
-
cacert: t.string.optional(),
|
|
57
|
-
client_certificate: t.string.optional(),
|
|
58
|
-
client_private_key: t.string.optional(),
|
|
59
|
-
/** Expose database credentials */
|
|
60
|
-
demo_database: t.boolean.optional(),
|
|
61
|
-
/** Expose "execute-sql" */
|
|
62
|
-
debug_api: t.boolean.optional(),
|
|
63
48
|
/**
|
|
64
|
-
*
|
|
49
|
+
* Allows for debug query execution
|
|
65
50
|
*/
|
|
66
|
-
|
|
51
|
+
debug_api: t.boolean.optional()
|
|
67
52
|
});
|
|
53
|
+
/**
|
|
54
|
+
* Resolved version of {@link DataSourceConfig} where the optional
|
|
55
|
+
* `id` and `tag` field is now required.
|
|
56
|
+
*/
|
|
57
|
+
exports.ResolvedDataSourceConfig = exports.DataSourceConfig.and(t.object({
|
|
58
|
+
id: t.string,
|
|
59
|
+
tag: t.string
|
|
60
|
+
}));
|
|
61
|
+
/**
|
|
62
|
+
* This essentially allows any extra fields on this type
|
|
63
|
+
*/
|
|
64
|
+
exports.genericDataSourceConfig = exports.DataSourceConfig.and(t.record(t.any));
|
|
68
65
|
exports.jwkRSA = t.object({
|
|
69
66
|
kty: t.literal('RSA'),
|
|
70
67
|
kid: t.string,
|
|
@@ -98,7 +95,8 @@ exports.storageConfig = t.object({
|
|
|
98
95
|
exports.powerSyncConfig = t.object({
|
|
99
96
|
replication: t
|
|
100
97
|
.object({
|
|
101
|
-
|
|
98
|
+
// This uses the generic config which may have additional fields
|
|
99
|
+
connections: t.array(exports.genericDataSourceConfig).optional()
|
|
102
100
|
})
|
|
103
101
|
.optional(),
|
|
104
102
|
dev: t
|
|
@@ -124,7 +122,7 @@ exports.powerSyncConfig = t.object({
|
|
|
124
122
|
})
|
|
125
123
|
.optional(),
|
|
126
124
|
storage: exports.storageConfig,
|
|
127
|
-
port: portCodec.optional(),
|
|
125
|
+
port: exports.portCodec.optional(),
|
|
128
126
|
sync_rules: t
|
|
129
127
|
.object({
|
|
130
128
|
path: t.string.optional(),
|
|
@@ -142,6 +140,7 @@ exports.powerSyncConfig = t.object({
|
|
|
142
140
|
disable_telemetry_sharing: t.boolean,
|
|
143
141
|
internal_service_endpoint: t.string.optional()
|
|
144
142
|
})
|
|
145
|
-
.optional()
|
|
143
|
+
.optional(),
|
|
144
|
+
parameters: t.record(t.number.or(t.string).or(t.boolean).or(t.Null)).optional()
|
|
146
145
|
});
|
|
147
146
|
//# sourceMappingURL=PowerSyncConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PowerSyncConfig.js","sourceRoot":"","sources":["../../src/config/PowerSyncConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA8B;AAE9B;;GAEG;
|
|
1
|
+
{"version":3,"file":"PowerSyncConfig.js","sourceRoot":"","sources":["../../src/config/PowerSyncConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA8B;AAE9B;;GAEG;AACU,QAAA,SAAS,GAAG,CAAC,CAAC,KAAK,CAC9B,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAChB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAChE,CAAC;AAEF;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,GAAG,EAAE,iBAAS,CAAC,IAAI;IACnB,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;QACZ,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KAChD,CAAC;CACH,CAAC;AAEW,QAAA,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,+CAA+C;IAC/C,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,2FAA2F;IAC3F,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IACvB,yCAAyC;IACzC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IACxB;;OAEG;IACH,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAIH;;;GAGG;AACU,QAAA,wBAAwB,GAAG,wBAAgB,CAAC,GAAG,CAC1D,CAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,CAAC,CAAC,MAAM;IACZ,GAAG,EAAE,CAAC,CAAC,MAAM;CACd,CAAC,CACH,CAAC;AAIF;;GAEG;AACU,QAAA,uBAAuB,GAAG,wBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAGhE,QAAA,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7B,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACrB,GAAG,EAAE,CAAC,CAAC,MAAM;IACb,CAAC,EAAE,CAAC,CAAC,MAAM;IACX,CAAC,EAAE,CAAC,CAAC,MAAM;IACX,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAAE;IAChF,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;CACzB,CAAC,CAAC;AAEU,QAAA,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACrB;;;OAGG;IACH,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IACxB,CAAC,EAAE,CAAC,CAAC,MAAM;IACX,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;CACzB,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,cAAM,EAAE,eAAO,CAAC,CAAC;AAExB,QAAA,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC;CACnB,CAAC,CAAC;AAIU,QAAA,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1B,GAAG,EAAE,CAAC,CAAC,MAAM;IACb,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAIU,QAAA,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,WAAW,EAAE,CAAC;SACX,MAAM,CAAC;QACN,gEAAgE;QAChE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,+BAAuB,CAAC,CAAC,QAAQ,EAAE;KACzD,CAAC;SACD,QAAQ,EAAE;IAEb,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;QAC/B,aAAa,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;QAClC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;QAC9B,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;KAClC,CAAC;SACD,QAAQ,EAAE;IAEb,WAAW,EAAE,CAAC;SACX,MAAM,CAAC;QACN,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;QACnD,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;QACtC,IAAI,EAAE,kBAAU,CAAC,QAAQ,EAAE;QAC3B,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;QAC9B,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;KACvC,CAAC;SACD,QAAQ,EAAE;IAEb,GAAG,EAAE,CAAC;SACH,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;KACrC,CAAC;SACD,QAAQ,EAAE;IAEb,OAAO,EAAE,qBAAa;IAEtB,IAAI,EAAE,iBAAS,CAAC,QAAQ,EAAE;IAC1B,UAAU,EAAE,CAAC;SACV,MAAM,CAAC;QACN,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;QACzB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;KAC7B,CAAC;SACD,QAAQ,EAAE;IAEb,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;IAEvC,UAAU,EAAE,CAAC;SACV,MAAM,CAAC;QACN,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE;KAC7C,CAAC;SACD,QAAQ,EAAE;IAEb,SAAS,EAAE,CAAC;SACT,MAAM,CAAC;QACN,yBAAyB,EAAE,CAAC,CAAC,OAAO;QACpC,yBAAyB,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;KAC/C,CAAC;SACD,QAAQ,EAAE;IAEb,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE;CAChF,CAAC,CAAC"}
|
|
@@ -1,32 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Validate and normalize connection options.
|
|
4
|
-
*
|
|
5
|
-
* Returns destructured options.
|
|
6
|
-
*/
|
|
7
|
-
export declare function normalizeConnection(options: PostgresConnection): NormalizedPostgresConnection;
|
|
8
|
-
export interface NormalizedPostgresConnection {
|
|
9
|
-
id: string;
|
|
10
|
-
tag: string;
|
|
11
|
-
hostname: string;
|
|
12
|
-
port: number;
|
|
13
|
-
database: string;
|
|
14
|
-
username: string;
|
|
15
|
-
password: string;
|
|
16
|
-
sslmode: 'verify-full' | 'verify-ca' | 'disable';
|
|
17
|
-
cacert: string | undefined;
|
|
18
|
-
client_certificate: string | undefined;
|
|
19
|
-
client_private_key: string | undefined;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Check whether the port is in a "safe" range.
|
|
23
|
-
*
|
|
24
|
-
* We do not support connecting to "privileged" ports.
|
|
25
|
-
*/
|
|
26
|
-
export declare function validatePort(port: string | number): number;
|
|
27
|
-
/**
|
|
28
|
-
* Construct a postgres URI, without username, password or ssl options.
|
|
29
|
-
*
|
|
30
|
-
* Only contains hostname, port, database.
|
|
31
|
-
*/
|
|
32
|
-
export declare function baseUri(options: NormalizedPostgresConnection): string;
|
|
1
|
+
export {};
|
package/dist/config/normalize.js
CHANGED
|
@@ -1,111 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.baseUri = exports.validatePort = exports.normalizeConnection = void 0;
|
|
27
|
-
const urijs = __importStar(require("uri-js"));
|
|
28
|
-
/**
|
|
29
|
-
* Validate and normalize connection options.
|
|
30
|
-
*
|
|
31
|
-
* Returns destructured options.
|
|
32
|
-
*/
|
|
33
|
-
function normalizeConnection(options) {
|
|
34
|
-
let uri;
|
|
35
|
-
if (options.uri) {
|
|
36
|
-
uri = urijs.parse(options.uri);
|
|
37
|
-
if (uri.scheme != 'postgresql' && uri.scheme != 'postgres') {
|
|
38
|
-
`Invalid URI - protocol must be postgresql, got ${uri.scheme}`;
|
|
39
|
-
}
|
|
40
|
-
else if (uri.scheme != 'postgresql') {
|
|
41
|
-
uri.scheme = 'postgresql';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
uri = urijs.parse('postgresql:///');
|
|
46
|
-
}
|
|
47
|
-
const hostname = options.hostname ?? uri.host ?? '';
|
|
48
|
-
const port = validatePort(options.port ?? uri.port ?? 5432);
|
|
49
|
-
const database = options.database ?? uri.path?.substring(1) ?? '';
|
|
50
|
-
const [uri_username, uri_password] = (uri.userinfo ?? '').split(':');
|
|
51
|
-
const username = options.username ?? uri_username ?? '';
|
|
52
|
-
const password = options.password ?? uri_password ?? '';
|
|
53
|
-
const sslmode = options.sslmode ?? 'verify-full'; // Configuration not supported via URI
|
|
54
|
-
const cacert = options.cacert;
|
|
55
|
-
if (sslmode == 'verify-ca' && cacert == null) {
|
|
56
|
-
throw new Error('Explicit cacert is required for sslmode=verify-ca');
|
|
57
|
-
}
|
|
58
|
-
if (hostname == '') {
|
|
59
|
-
throw new Error(`hostname required`);
|
|
60
|
-
}
|
|
61
|
-
if (username == '') {
|
|
62
|
-
throw new Error(`username required`);
|
|
63
|
-
}
|
|
64
|
-
if (password == '') {
|
|
65
|
-
throw new Error(`password required`);
|
|
66
|
-
}
|
|
67
|
-
if (database == '') {
|
|
68
|
-
throw new Error(`database required`);
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
id: options.id ?? 'default',
|
|
72
|
-
tag: options.tag ?? 'default',
|
|
73
|
-
hostname,
|
|
74
|
-
port,
|
|
75
|
-
database,
|
|
76
|
-
username,
|
|
77
|
-
password,
|
|
78
|
-
sslmode,
|
|
79
|
-
cacert,
|
|
80
|
-
client_certificate: options.client_certificate ?? undefined,
|
|
81
|
-
client_private_key: options.client_private_key ?? undefined
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
exports.normalizeConnection = normalizeConnection;
|
|
85
|
-
/**
|
|
86
|
-
* Check whether the port is in a "safe" range.
|
|
87
|
-
*
|
|
88
|
-
* We do not support connecting to "privileged" ports.
|
|
89
|
-
*/
|
|
90
|
-
function validatePort(port) {
|
|
91
|
-
if (typeof port == 'string') {
|
|
92
|
-
port = parseInt(port);
|
|
93
|
-
}
|
|
94
|
-
if (port >= 1024 && port <= 49151) {
|
|
95
|
-
return port;
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
throw new Error(`Port ${port} not supported`);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
exports.validatePort = validatePort;
|
|
102
|
-
/**
|
|
103
|
-
* Construct a postgres URI, without username, password or ssl options.
|
|
104
|
-
*
|
|
105
|
-
* Only contains hostname, port, database.
|
|
106
|
-
*/
|
|
107
|
-
function baseUri(options) {
|
|
108
|
-
return `postgresql://${options.hostname}:${options.port}/${options.database}`;
|
|
109
|
-
}
|
|
110
|
-
exports.baseUri = baseUri;
|
|
111
3
|
//# sourceMappingURL=normalize.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.js","sourceRoot":"","sources":["../../src/config/normalize.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"normalize.js","sourceRoot":"","sources":["../../src/config/normalize.ts"],"names":[],"mappings":""}
|
package/dist/definitions.d.ts
CHANGED
|
@@ -94,18 +94,83 @@ export declare const ConnectionStatus: t.ObjectCodec<{
|
|
|
94
94
|
}>>;
|
|
95
95
|
}>;
|
|
96
96
|
export type ConnectionStatus = t.Encoded<typeof ConnectionStatus>;
|
|
97
|
+
export declare const ConnectionStatusV2: t.ObjectCodec<{
|
|
98
|
+
id: t.IdentityCodec<t.CodecType.String>;
|
|
99
|
+
uri: t.IdentityCodec<t.CodecType.String>;
|
|
100
|
+
connected: t.IdentityCodec<t.CodecType.Boolean>;
|
|
101
|
+
/** Connection-level errors */
|
|
102
|
+
errors: t.ArrayCodec<t.ObjectCodec<{
|
|
103
|
+
/** Warning: Could indicate an issue. Fatal: Prevents replicating. */
|
|
104
|
+
level: t.Union<t.Codec<"warning", "warning", string, t.CodecProps>, t.LiteralCodec<"fatal">>;
|
|
105
|
+
message: t.IdentityCodec<t.CodecType.String>;
|
|
106
|
+
}>>;
|
|
107
|
+
}>;
|
|
108
|
+
export type ConnectionStatusV2 = t.Encoded<typeof ConnectionStatusV2>;
|
|
109
|
+
export declare enum SqliteSchemaTypeText {
|
|
110
|
+
null = "null",
|
|
111
|
+
blob = "blob",
|
|
112
|
+
text = "text",
|
|
113
|
+
integer = "integer",
|
|
114
|
+
real = "real",
|
|
115
|
+
numeric = "numeric"
|
|
116
|
+
}
|
|
117
|
+
export declare const TableSchema: t.ObjectCodec<{
|
|
118
|
+
name: t.IdentityCodec<t.CodecType.String>;
|
|
119
|
+
columns: t.ArrayCodec<t.ObjectCodec<{
|
|
120
|
+
name: t.IdentityCodec<t.CodecType.String>;
|
|
121
|
+
/**
|
|
122
|
+
* Option 1: SQLite type flags - see ExpressionType.typeFlags.
|
|
123
|
+
* Option 2: SQLite type name in lowercase - 'text' | 'integer' | 'real' | 'numeric' | 'blob' | 'null'
|
|
124
|
+
*/
|
|
125
|
+
sqlite_type: t.Union<t.Codec<number, number, string, t.CodecProps>, t.EnumCodec<typeof SqliteSchemaTypeText>>;
|
|
126
|
+
/**
|
|
127
|
+
* Type name from the source database, e.g. "character varying(255)[]"
|
|
128
|
+
*/
|
|
129
|
+
internal_type: t.IdentityCodec<t.CodecType.String>;
|
|
130
|
+
/**
|
|
131
|
+
* Description for the field if available.
|
|
132
|
+
*/
|
|
133
|
+
description: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
134
|
+
/**
|
|
135
|
+
* Full type name, e.g. "character varying(255)[]"
|
|
136
|
+
* @deprecated - use internal_type
|
|
137
|
+
*/
|
|
138
|
+
type: t.IdentityCodec<t.CodecType.String>;
|
|
139
|
+
/**
|
|
140
|
+
* Internal postgres type, e.g. "varchar[]".
|
|
141
|
+
* @deprecated - use internal_type instead
|
|
142
|
+
*/
|
|
143
|
+
pg_type: t.IdentityCodec<t.CodecType.String>;
|
|
144
|
+
}>>;
|
|
145
|
+
}>;
|
|
146
|
+
export type TableSchema = t.Encoded<typeof TableSchema>;
|
|
97
147
|
export declare const DatabaseSchema: t.ObjectCodec<{
|
|
98
148
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
99
149
|
tables: t.ArrayCodec<t.ObjectCodec<{
|
|
100
150
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
101
151
|
columns: t.ArrayCodec<t.ObjectCodec<{
|
|
102
152
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
153
|
+
/**
|
|
154
|
+
* Option 1: SQLite type flags - see ExpressionType.typeFlags.
|
|
155
|
+
* Option 2: SQLite type name in lowercase - 'text' | 'integer' | 'real' | 'numeric' | 'blob' | 'null'
|
|
156
|
+
*/
|
|
157
|
+
sqlite_type: t.Union<t.Codec<number, number, string, t.CodecProps>, t.EnumCodec<typeof SqliteSchemaTypeText>>;
|
|
158
|
+
/**
|
|
159
|
+
* Type name from the source database, e.g. "character varying(255)[]"
|
|
160
|
+
*/
|
|
161
|
+
internal_type: t.IdentityCodec<t.CodecType.String>;
|
|
162
|
+
/**
|
|
163
|
+
* Description for the field if available.
|
|
164
|
+
*/
|
|
165
|
+
description: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
103
166
|
/**
|
|
104
167
|
* Full type name, e.g. "character varying(255)[]"
|
|
168
|
+
* @deprecated - use internal_type
|
|
105
169
|
*/
|
|
106
170
|
type: t.IdentityCodec<t.CodecType.String>;
|
|
107
171
|
/**
|
|
108
172
|
* Internal postgres type, e.g. "varchar[]".
|
|
173
|
+
* @deprecated - use internal_type instead
|
|
109
174
|
*/
|
|
110
175
|
pg_type: t.IdentityCodec<t.CodecType.String>;
|
|
111
176
|
}>>;
|
|
@@ -122,17 +187,34 @@ export declare const InstanceSchema: t.ObjectCodec<{
|
|
|
122
187
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
123
188
|
columns: t.ArrayCodec<t.ObjectCodec<{
|
|
124
189
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
190
|
+
/**
|
|
191
|
+
* Option 1: SQLite type flags - see ExpressionType.typeFlags.
|
|
192
|
+
* Option 2: SQLite type name in lowercase - 'text' | 'integer' | 'real' | 'numeric' | 'blob' | 'null'
|
|
193
|
+
*/
|
|
194
|
+
sqlite_type: t.Union<t.Codec<number, number, string, t.CodecProps>, t.EnumCodec<typeof SqliteSchemaTypeText>>;
|
|
195
|
+
/**
|
|
196
|
+
* Type name from the source database, e.g. "character varying(255)[]"
|
|
197
|
+
*/
|
|
198
|
+
internal_type: t.IdentityCodec<t.CodecType.String>;
|
|
199
|
+
/**
|
|
200
|
+
* Description for the field if available.
|
|
201
|
+
*/
|
|
202
|
+
description: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
125
203
|
/**
|
|
126
204
|
* Full type name, e.g. "character varying(255)[]"
|
|
205
|
+
* @deprecated - use internal_type
|
|
127
206
|
*/
|
|
128
207
|
type: t.IdentityCodec<t.CodecType.String>;
|
|
129
208
|
/**
|
|
130
209
|
* Internal postgres type, e.g. "varchar[]".
|
|
210
|
+
* @deprecated - use internal_type instead
|
|
131
211
|
*/
|
|
132
212
|
pg_type: t.IdentityCodec<t.CodecType.String>;
|
|
133
213
|
}>>;
|
|
134
214
|
}>>;
|
|
135
215
|
}>>;
|
|
136
216
|
}>>;
|
|
217
|
+
defaultConnectionTag: t.IdentityCodec<t.CodecType.String>;
|
|
218
|
+
defaultSchema: t.IdentityCodec<t.CodecType.String>;
|
|
137
219
|
}>;
|
|
138
220
|
export type InstanceSchema = t.Encoded<typeof InstanceSchema>;
|
package/dist/definitions.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.InstanceSchema = exports.DatabaseSchema = exports.ConnectionStatus = exports.SyncRulesStatus = exports.TableInfo = exports.ReplicationError = void 0;
|
|
26
|
+
exports.InstanceSchema = exports.DatabaseSchema = exports.TableSchema = exports.SqliteSchemaTypeText = exports.ConnectionStatusV2 = exports.ConnectionStatus = exports.SyncRulesStatus = exports.TableInfo = exports.ReplicationError = void 0;
|
|
27
27
|
const t = __importStar(require("ts-codec"));
|
|
28
28
|
exports.ReplicationError = t.object({
|
|
29
29
|
/** Warning: Could indicate an issue. Fatal: Prevents replicating. */
|
|
@@ -87,28 +87,62 @@ exports.ConnectionStatus = t.object({
|
|
|
87
87
|
/** Connection-level errors */
|
|
88
88
|
errors: t.array(exports.ReplicationError)
|
|
89
89
|
});
|
|
90
|
-
exports.
|
|
90
|
+
exports.ConnectionStatusV2 = t.object({
|
|
91
|
+
id: t.string,
|
|
92
|
+
uri: t.string,
|
|
93
|
+
connected: t.boolean,
|
|
94
|
+
/** Connection-level errors */
|
|
95
|
+
errors: t.array(exports.ReplicationError)
|
|
96
|
+
});
|
|
97
|
+
var SqliteSchemaTypeText;
|
|
98
|
+
(function (SqliteSchemaTypeText) {
|
|
99
|
+
SqliteSchemaTypeText["null"] = "null";
|
|
100
|
+
SqliteSchemaTypeText["blob"] = "blob";
|
|
101
|
+
SqliteSchemaTypeText["text"] = "text";
|
|
102
|
+
SqliteSchemaTypeText["integer"] = "integer";
|
|
103
|
+
SqliteSchemaTypeText["real"] = "real";
|
|
104
|
+
SqliteSchemaTypeText["numeric"] = "numeric";
|
|
105
|
+
})(SqliteSchemaTypeText || (exports.SqliteSchemaTypeText = SqliteSchemaTypeText = {}));
|
|
106
|
+
exports.TableSchema = t.object({
|
|
91
107
|
name: t.string,
|
|
92
|
-
|
|
108
|
+
columns: t.array(t.object({
|
|
93
109
|
name: t.string,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
110
|
+
/**
|
|
111
|
+
* Option 1: SQLite type flags - see ExpressionType.typeFlags.
|
|
112
|
+
* Option 2: SQLite type name in lowercase - 'text' | 'integer' | 'real' | 'numeric' | 'blob' | 'null'
|
|
113
|
+
*/
|
|
114
|
+
sqlite_type: t.number.or(t.Enum(SqliteSchemaTypeText)),
|
|
115
|
+
/**
|
|
116
|
+
* Type name from the source database, e.g. "character varying(255)[]"
|
|
117
|
+
*/
|
|
118
|
+
internal_type: t.string,
|
|
119
|
+
/**
|
|
120
|
+
* Description for the field if available.
|
|
121
|
+
*/
|
|
122
|
+
description: t.string.optional(),
|
|
123
|
+
/**
|
|
124
|
+
* Full type name, e.g. "character varying(255)[]"
|
|
125
|
+
* @deprecated - use internal_type
|
|
126
|
+
*/
|
|
127
|
+
type: t.string,
|
|
128
|
+
/**
|
|
129
|
+
* Internal postgres type, e.g. "varchar[]".
|
|
130
|
+
* @deprecated - use internal_type instead
|
|
131
|
+
*/
|
|
132
|
+
pg_type: t.string
|
|
105
133
|
}))
|
|
106
134
|
});
|
|
135
|
+
exports.DatabaseSchema = t.object({
|
|
136
|
+
name: t.string,
|
|
137
|
+
tables: t.array(exports.TableSchema)
|
|
138
|
+
});
|
|
107
139
|
exports.InstanceSchema = t.object({
|
|
108
140
|
connections: t.array(t.object({
|
|
109
141
|
id: t.string.optional(),
|
|
110
142
|
tag: t.string,
|
|
111
143
|
schemas: t.array(exports.DatabaseSchema)
|
|
112
|
-
}))
|
|
144
|
+
})),
|
|
145
|
+
defaultConnectionTag: t.string,
|
|
146
|
+
defaultSchema: t.string
|
|
113
147
|
});
|
|
114
148
|
//# sourceMappingURL=definitions.js.map
|
package/dist/definitions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../src/definitions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA8B;AAEjB,QAAA,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,qEAAqE;IACrE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM;CAClB,CAAC,CAAC;AAGU,QAAA,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,MAAM,EAAE,CAAC,CAAC,MAAM;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM;IAEd,6DAA6D;IAC7D,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IAE5B,0BAA0B;IAC1B,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC;IACjC,+BAA+B;IAC/B,YAAY,EAAE,CAAC,CAAC,OAAO;IACvB,2CAA2C;IAC3C,iBAAiB,EAAE,CAAC,CAAC,OAAO;IAE5B,gDAAgD;IAChD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC;CAClC,CAAC,CAAC;AAGU,QAAA,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,CAAC,CAAC,KAAK,CAClB,CAAC,CAAC,MAAM,CAAC;QACP,EAAE,EAAE,CAAC,CAAC,MAAM;QACZ,GAAG,EAAE,CAAC,CAAC,MAAM;QAEb;;WAEG;QACH,SAAS,EAAE,CAAC,CAAC,MAAM;QAEnB;;;WAGG;QACH,wBAAwB,EAAE,CAAC,CAAC,OAAO;QAEnC;;WAEG;QACH,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;QAE7B;;;;WAIG;QACH,iBAAiB,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;QAEtC;;;WAGG;QACH,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;QAEvC,uEAAuE;QACvE,qBAAqB,EAAE,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE;QAE1C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAS,CAAC;KAC3B,CAAC,CACH;IACD,6BAA6B;IAC7B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC;CAClC,CAAC,CAAC;AAGU,QAAA,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,CAAC,CAAC,MAAM;IACZ,YAAY,EAAE,CAAC,CAAC,MAAM;IACtB,SAAS,EAAE,CAAC,CAAC,OAAO;IACpB,8BAA8B;IAC9B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAgB,CAAC;CAClC,CAAC,CAAC;AAGU,QAAA,
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../src/definitions.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0EAA0D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0EAA0D;AAE1D,mDAAiC;AACjC,wDAAsC;AACtC,+DAA+C"}
|
package/dist/routes.d.ts
CHANGED
|
@@ -11,12 +11,17 @@ export declare const GetSchemaResponse: t.ObjectCodec<{
|
|
|
11
11
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
12
12
|
columns: t.ArrayCodec<t.ObjectCodec<{
|
|
13
13
|
name: t.IdentityCodec<t.CodecType.String>;
|
|
14
|
+
sqlite_type: t.Union<t.Codec<number, number, string, t.CodecProps>, t.EnumCodec<typeof import("./definitions").SqliteSchemaTypeText>>;
|
|
15
|
+
internal_type: t.IdentityCodec<t.CodecType.String>;
|
|
16
|
+
description: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
14
17
|
type: t.IdentityCodec<t.CodecType.String>;
|
|
15
18
|
pg_type: t.IdentityCodec<t.CodecType.String>;
|
|
16
19
|
}>>;
|
|
17
20
|
}>>;
|
|
18
21
|
}>>;
|
|
19
22
|
}>>;
|
|
23
|
+
defaultConnectionTag: t.IdentityCodec<t.CodecType.String>;
|
|
24
|
+
defaultSchema: t.IdentityCodec<t.CodecType.String>;
|
|
20
25
|
}>;
|
|
21
26
|
export type GetSchemaResponse = t.Encoded<typeof GetSchemaResponse>;
|
|
22
27
|
export declare const ExecuteSqlRequest: t.ObjectCodec<{
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import * as t from 'ts-codec';
|
|
|
3
3
|
/**
|
|
4
4
|
* Users might specify ports as strings if using YAML custom tag environment substitutions
|
|
5
5
|
*/
|
|
6
|
-
const portCodec = t.codec<number, number | string>(
|
|
6
|
+
export const portCodec = t.codec<number, number | string>(
|
|
7
7
|
'Port',
|
|
8
8
|
(value) => value,
|
|
9
9
|
(value) => (typeof value == 'number' ? value : parseInt(value))
|
|
@@ -19,39 +19,39 @@ export const portParser = {
|
|
|
19
19
|
})
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
export const
|
|
23
|
-
|
|
22
|
+
export const DataSourceConfig = t.object({
|
|
23
|
+
// Unique string identifier for the data source
|
|
24
|
+
type: t.string,
|
|
24
25
|
/** Unique identifier for the connection - optional when a single connection is present. */
|
|
25
26
|
id: t.string.optional(),
|
|
26
|
-
/**
|
|
27
|
+
/** Additional meta tag for connection */
|
|
27
28
|
tag: t.string.optional(),
|
|
28
|
-
uri: t.string.optional(),
|
|
29
|
-
hostname: t.string.optional(),
|
|
30
|
-
port: portCodec.optional(),
|
|
31
|
-
username: t.string.optional(),
|
|
32
|
-
password: t.string.optional(),
|
|
33
|
-
database: t.string.optional(),
|
|
34
|
-
|
|
35
|
-
/** Defaults to verify-full */
|
|
36
|
-
sslmode: t.literal('verify-full').or(t.literal('verify-ca')).or(t.literal('disable')).optional(),
|
|
37
|
-
/** Required for verify-ca, optional for verify-full */
|
|
38
|
-
cacert: t.string.optional(),
|
|
39
|
-
|
|
40
|
-
client_certificate: t.string.optional(),
|
|
41
|
-
client_private_key: t.string.optional(),
|
|
42
|
-
|
|
43
|
-
/** Expose database credentials */
|
|
44
|
-
demo_database: t.boolean.optional(),
|
|
45
|
-
/** Expose "execute-sql" */
|
|
46
|
-
debug_api: t.boolean.optional(),
|
|
47
|
-
|
|
48
29
|
/**
|
|
49
|
-
*
|
|
30
|
+
* Allows for debug query execution
|
|
50
31
|
*/
|
|
51
|
-
|
|
32
|
+
debug_api: t.boolean.optional()
|
|
52
33
|
});
|
|
53
34
|
|
|
54
|
-
export type
|
|
35
|
+
export type DataSourceConfig = t.Decoded<typeof DataSourceConfig>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Resolved version of {@link DataSourceConfig} where the optional
|
|
39
|
+
* `id` and `tag` field is now required.
|
|
40
|
+
*/
|
|
41
|
+
export const ResolvedDataSourceConfig = DataSourceConfig.and(
|
|
42
|
+
t.object({
|
|
43
|
+
id: t.string,
|
|
44
|
+
tag: t.string
|
|
45
|
+
})
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
export type ResolvedDataSourceConfig = t.Decoded<typeof ResolvedDataSourceConfig>;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* This essentially allows any extra fields on this type
|
|
52
|
+
*/
|
|
53
|
+
export const genericDataSourceConfig = DataSourceConfig.and(t.record(t.any));
|
|
54
|
+
export type GenericDataSourceConfig = t.Decoded<typeof genericDataSourceConfig>;
|
|
55
55
|
|
|
56
56
|
export const jwkRSA = t.object({
|
|
57
57
|
kty: t.literal('RSA'),
|
|
@@ -95,7 +95,8 @@ export type StorageConfig = t.Decoded<typeof storageConfig>;
|
|
|
95
95
|
export const powerSyncConfig = t.object({
|
|
96
96
|
replication: t
|
|
97
97
|
.object({
|
|
98
|
-
|
|
98
|
+
// This uses the generic config which may have additional fields
|
|
99
|
+
connections: t.array(genericDataSourceConfig).optional()
|
|
99
100
|
})
|
|
100
101
|
.optional(),
|
|
101
102
|
|
|
@@ -147,7 +148,9 @@ export const powerSyncConfig = t.object({
|
|
|
147
148
|
disable_telemetry_sharing: t.boolean,
|
|
148
149
|
internal_service_endpoint: t.string.optional()
|
|
149
150
|
})
|
|
150
|
-
.optional()
|
|
151
|
+
.optional(),
|
|
152
|
+
|
|
153
|
+
parameters: t.record(t.number.or(t.string).or(t.boolean).or(t.Null)).optional()
|
|
151
154
|
});
|
|
152
155
|
|
|
153
156
|
export type PowerSyncConfig = t.Decoded<typeof powerSyncConfig>;
|
package/src/config/normalize.ts
CHANGED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { PostgresConnection } from './PowerSyncConfig.js';
|
|
2
|
-
import * as urijs from 'uri-js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Validate and normalize connection options.
|
|
6
|
-
*
|
|
7
|
-
* Returns destructured options.
|
|
8
|
-
*/
|
|
9
|
-
export function normalizeConnection(options: PostgresConnection): NormalizedPostgresConnection {
|
|
10
|
-
let uri: urijs.URIComponents;
|
|
11
|
-
if (options.uri) {
|
|
12
|
-
uri = urijs.parse(options.uri);
|
|
13
|
-
if (uri.scheme != 'postgresql' && uri.scheme != 'postgres') {
|
|
14
|
-
`Invalid URI - protocol must be postgresql, got ${uri.scheme}`;
|
|
15
|
-
} else if (uri.scheme != 'postgresql') {
|
|
16
|
-
uri.scheme = 'postgresql';
|
|
17
|
-
}
|
|
18
|
-
} else {
|
|
19
|
-
uri = urijs.parse('postgresql:///');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const hostname = options.hostname ?? uri.host ?? '';
|
|
23
|
-
const port = validatePort(options.port ?? uri.port ?? 5432);
|
|
24
|
-
|
|
25
|
-
const database = options.database ?? uri.path?.substring(1) ?? '';
|
|
26
|
-
|
|
27
|
-
const [uri_username, uri_password] = (uri.userinfo ?? '').split(':');
|
|
28
|
-
|
|
29
|
-
const username = options.username ?? uri_username ?? '';
|
|
30
|
-
const password = options.password ?? uri_password ?? '';
|
|
31
|
-
|
|
32
|
-
const sslmode = options.sslmode ?? 'verify-full'; // Configuration not supported via URI
|
|
33
|
-
const cacert = options.cacert;
|
|
34
|
-
|
|
35
|
-
if (sslmode == 'verify-ca' && cacert == null) {
|
|
36
|
-
throw new Error('Explicit cacert is required for sslmode=verify-ca');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
if (hostname == '') {
|
|
40
|
-
throw new Error(`hostname required`);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (username == '') {
|
|
44
|
-
throw new Error(`username required`);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
if (password == '') {
|
|
48
|
-
throw new Error(`password required`);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
if (database == '') {
|
|
52
|
-
throw new Error(`database required`);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
return {
|
|
56
|
-
id: options.id ?? 'default',
|
|
57
|
-
tag: options.tag ?? 'default',
|
|
58
|
-
|
|
59
|
-
hostname,
|
|
60
|
-
port,
|
|
61
|
-
database,
|
|
62
|
-
|
|
63
|
-
username,
|
|
64
|
-
password,
|
|
65
|
-
sslmode,
|
|
66
|
-
cacert,
|
|
67
|
-
|
|
68
|
-
client_certificate: options.client_certificate ?? undefined,
|
|
69
|
-
client_private_key: options.client_private_key ?? undefined
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export interface NormalizedPostgresConnection {
|
|
74
|
-
id: string;
|
|
75
|
-
tag: string;
|
|
76
|
-
|
|
77
|
-
hostname: string;
|
|
78
|
-
port: number;
|
|
79
|
-
database: string;
|
|
80
|
-
|
|
81
|
-
username: string;
|
|
82
|
-
password: string;
|
|
83
|
-
|
|
84
|
-
sslmode: 'verify-full' | 'verify-ca' | 'disable';
|
|
85
|
-
cacert: string | undefined;
|
|
86
|
-
|
|
87
|
-
client_certificate: string | undefined;
|
|
88
|
-
client_private_key: string | undefined;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Check whether the port is in a "safe" range.
|
|
93
|
-
*
|
|
94
|
-
* We do not support connecting to "privileged" ports.
|
|
95
|
-
*/
|
|
96
|
-
export function validatePort(port: string | number): number {
|
|
97
|
-
if (typeof port == 'string') {
|
|
98
|
-
port = parseInt(port);
|
|
99
|
-
}
|
|
100
|
-
if (port >= 1024 && port <= 49151) {
|
|
101
|
-
return port;
|
|
102
|
-
} else {
|
|
103
|
-
throw new Error(`Port ${port} not supported`);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Construct a postgres URI, without username, password or ssl options.
|
|
109
|
-
*
|
|
110
|
-
* Only contains hostname, port, database.
|
|
111
|
-
*/
|
|
112
|
-
export function baseUri(options: NormalizedPostgresConnection) {
|
|
113
|
-
return `postgresql://${options.hostname}:${options.port}/${options.database}`;
|
|
114
|
-
}
|
package/src/definitions.ts
CHANGED
|
@@ -82,27 +82,66 @@ export const ConnectionStatus = t.object({
|
|
|
82
82
|
});
|
|
83
83
|
export type ConnectionStatus = t.Encoded<typeof ConnectionStatus>;
|
|
84
84
|
|
|
85
|
-
export const
|
|
85
|
+
export const ConnectionStatusV2 = t.object({
|
|
86
|
+
id: t.string,
|
|
87
|
+
uri: t.string,
|
|
88
|
+
connected: t.boolean,
|
|
89
|
+
/** Connection-level errors */
|
|
90
|
+
errors: t.array(ReplicationError)
|
|
91
|
+
});
|
|
92
|
+
export type ConnectionStatusV2 = t.Encoded<typeof ConnectionStatusV2>;
|
|
93
|
+
|
|
94
|
+
export enum SqliteSchemaTypeText {
|
|
95
|
+
null = 'null',
|
|
96
|
+
blob = 'blob',
|
|
97
|
+
text = 'text',
|
|
98
|
+
integer = 'integer',
|
|
99
|
+
real = 'real',
|
|
100
|
+
numeric = 'numeric'
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const TableSchema = t.object({
|
|
86
104
|
name: t.string,
|
|
87
|
-
|
|
105
|
+
columns: t.array(
|
|
88
106
|
t.object({
|
|
89
107
|
name: t.string,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Option 1: SQLite type flags - see ExpressionType.typeFlags.
|
|
111
|
+
* Option 2: SQLite type name in lowercase - 'text' | 'integer' | 'real' | 'numeric' | 'blob' | 'null'
|
|
112
|
+
*/
|
|
113
|
+
sqlite_type: t.number.or(t.Enum(SqliteSchemaTypeText)),
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Type name from the source database, e.g. "character varying(255)[]"
|
|
117
|
+
*/
|
|
118
|
+
internal_type: t.string,
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Description for the field if available.
|
|
122
|
+
*/
|
|
123
|
+
description: t.string.optional(),
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Full type name, e.g. "character varying(255)[]"
|
|
127
|
+
* @deprecated - use internal_type
|
|
128
|
+
*/
|
|
129
|
+
type: t.string,
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Internal postgres type, e.g. "varchar[]".
|
|
133
|
+
* @deprecated - use internal_type instead
|
|
134
|
+
*/
|
|
135
|
+
pg_type: t.string
|
|
103
136
|
})
|
|
104
137
|
)
|
|
105
138
|
});
|
|
139
|
+
export type TableSchema = t.Encoded<typeof TableSchema>;
|
|
140
|
+
|
|
141
|
+
export const DatabaseSchema = t.object({
|
|
142
|
+
name: t.string,
|
|
143
|
+
tables: t.array(TableSchema)
|
|
144
|
+
});
|
|
106
145
|
export type DatabaseSchema = t.Encoded<typeof DatabaseSchema>;
|
|
107
146
|
|
|
108
147
|
export const InstanceSchema = t.object({
|
|
@@ -112,6 +151,8 @@ export const InstanceSchema = t.object({
|
|
|
112
151
|
tag: t.string,
|
|
113
152
|
schemas: t.array(DatabaseSchema)
|
|
114
153
|
})
|
|
115
|
-
)
|
|
154
|
+
),
|
|
155
|
+
defaultConnectionTag: t.string,
|
|
156
|
+
defaultSchema: t.string
|
|
116
157
|
});
|
|
117
158
|
export type InstanceSchema = t.Encoded<typeof InstanceSchema>;
|
package/src/index.ts
CHANGED
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/definitions.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/definitions.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/generator.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/combinators.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/primitives.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/recursive.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/objects.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/arrays.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/root.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/index.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/utils.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/index.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/combinators.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/primitives.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/recursive.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/arrays.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/codec.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/maps.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/utils.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/index.d.ts","./src/definitions.ts","./src/config/PowerSyncConfig.ts","../../node_modules/.pnpm/uri-js@4.4.1/node_modules/uri-js/dist/es5/uri.all.d.ts","./src/config/normalize.ts","./src/routes.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/globals.global.d.ts","../../node_modules/.pnpm/@types+node@18.11.11/node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true,"impliedFormat":1},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc496ef4377553e461efcf7cc5a5a57cf59f9962aea06b5e722d54a36bf66ea1","affectsGlobalScope":true,"impliedFormat":1},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true,"impliedFormat":1},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true,"impliedFormat":1},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4adea1841ed26c17fc7b2fe888e30072e8a0bbcfd29c209e7268e24b19acad5d","impliedFormat":1},{"version":"6d1fd9a6b9823303554af5c59287dab3013be39720e6e18416956f4b88e2e3da","impliedFormat":1},{"version":"e7b9d145da1e25419ac57a6f804da356a3e9b99e4d81d3045d534e1dbefad14c","impliedFormat":1},{"version":"0fb7e2fd9a55a699b721005f9b971bb102b8bfe6aba92b0431d974b542fdabd7","impliedFormat":1},{"version":"8db3b7b47410ccabea0234d975dffea72f5ed4586305dc54b22a164721804cc5","impliedFormat":1},{"version":"3c33b043fbba511e7af9b21cf6ffdfd77a5b33114cf13bcd93871545bdbcc5cb","impliedFormat":1},{"version":"fffd95262f9eaa6988088f5b3fefed8af0719d60e913e63f6fbe724eba3f118d","impliedFormat":1},{"version":"3c683aee5744dedcb460b2e1c47804f4010ac8fba73f3093f88ccbb013a3c678","impliedFormat":1},{"version":"51ebb8f5a78bf7b58c0479fd51a3d39c1f91075a6a31620c3e510e6295ef43f1","impliedFormat":1},{"version":"a34327c4c9e71742f9248374e9506fb555d724121ddbd57e45e14cc9ee99e857","impliedFormat":1},{"version":"28febab4f39ed27ad0bac2705f35d83a434c74a3c49328f02f7d2a813ac937ab","impliedFormat":1},{"version":"dfe421b0e52e642279c9ebb5473acf33c091d5714ac09b75592067ee641deff2","impliedFormat":1},{"version":"aa5f3aa895ba91f1a0e3db5f9737f72d11e6d753cd9783b44aba6f105f0631d5","impliedFormat":1},{"version":"d3762251e9a5dc6f0d407a8877b89856428a3f27af1e82b236c21bde779d4c6d","impliedFormat":1},{"version":"cf95c55d326a751f162723f17a88a499399dc288729ce8b8568baaff249425ba","impliedFormat":1},{"version":"4cde2fc9f63efcd3c7a22f47f7e57dcbc69a2ca3656bda166493105d8ec218b9","impliedFormat":1},{"version":"502128497b075e263f1288795506807fe1bc4766adc74a51095aced7d5e6e16b","impliedFormat":1},{"version":"8e785000e355e822b7794e1be735fbe27853ffcca6ae07ff3ee6e1da4cfb4119","impliedFormat":1},{"version":"62d71a517af7dfc46dc0f7047f31eb47f21cbc99eb8ee2a817114a55e6470380","impliedFormat":1},{"version":"a22b4fc7c03f685be422cc8ed799a2a9b7218d28a9f20dfe27f45396c7e58036","impliedFormat":1},{"version":"faa88cd90fecf290a95da9623937f17e621416f32eccfcac36b316a5f2706154","signature":"9ea2b5a003602de111c40f95cc9d942e2ab34110a9cab650fb78172128c3c409","impliedFormat":1},{"version":"e39cf68c2164b83f74c6f1d77401ce5aebdd835c9c1721b2419898fd52ebd1cb","signature":"a5a8f714986130028049a051005daa89a1b6d24c18e0176a8f4c9a4f18571ce1","impliedFormat":1},{"version":"9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","impliedFormat":1},{"version":"c477c4209917b2264db1bd5224bfb432af75233c683749a15e7e651088ac690c","signature":"74d21e99d2613d9584ba056c0c3b3c2bb46a7afaff201aa4f6d2e271b91e4d4a","impliedFormat":1},{"version":"65fef26d029a710227b7a83265d1812efbfe72bd8f0f26700581f21d11fd844f","signature":"9e28616dd35535bded8f1dd4b090a1078166fba9e9d559c6379ff21cb50c6824","impliedFormat":1},{"version":"1ca9a65a1f636c62a4b196757de406a9166fa44f3dac37f608b2ef9890379368","signature":"1cb7b96dfade5ac12ad8a964c8029fac26e0d473a2a7a360309dc918a956236f","impliedFormat":1},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true,"impliedFormat":1},{"version":"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9","impliedFormat":1},{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"afcc1c426b76db7ec80e563d4fb0ba9e6bcc6e63c2d7e9342e649dc56d26347f","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","impliedFormat":1},{"version":"f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true,"impliedFormat":1},{"version":"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","impliedFormat":1},{"version":"d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","impliedFormat":1},{"version":"b01a80007e448d035a16c74b5c95a5405b2e81b12fabcf18b75aa9eb9ef28990","impliedFormat":1},{"version":"04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","impliedFormat":1},{"version":"dbe5aa5a5dd8bd1c6a8d11b1310c3f0cdabaacc78a37b394a8c7b14faeb5fb84","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","impliedFormat":1},{"version":"7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"213fc4f2b172d8beb74b77d7c1b41488d67348066d185e4263470cbb010cd6e8","impliedFormat":1},{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7db71191aa7aac5d6bc927ed6e7075c2763d22c7238227ec0c63c8cf5cb6a8b","affectsGlobalScope":true,"impliedFormat":1},{"version":"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","impliedFormat":1},{"version":"ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e9a8d4274033cb520ee12d6f68d161ba2b9128b87399645d3916b71187032836","impliedFormat":1}],"root":[70,71,[73,75]],"options":{"composite":true,"declaration":true,"declarationDir":"./dist","module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useUnknownInCatchVariables":false},"fileIdsList":[[76,122],[79,122],[80,85,113,122],[81,92,93,100,110,121,122],[81,82,92,100,122],[83,122],[84,85,93,101,122],[85,110,118,122],[86,88,92,100,122],[87,122],[88,89,122],[92,122],[90,92,122],[92,93,94,110,121,122],[92,93,94,107,110,113,122],[122,126],[122],[95,100,110,121,122],[92,93,95,96,100,110,118,121,122],[95,97,110,118,121,122],[76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],[92,98,122],[99,121,122],[88,92,100,110,122],[101,122],[102,122],[79,103,122],[104,120,122,126],[105,122],[106,122],[92,107,108,122],[107,109,122,124],[80,92,110,111,112,113,122],[80,110,112,122],[110,111,122],[113,122],[114,122],[92,116,117,122],[116,117,122],[85,100,110,118,122],[119,122],[100,120,122],[80,95,106,121,122],[85,122],[110,122,123],[122,124],[122,125],[80,85,92,94,103,110,121,122,124,126],[110,122,127],[50,61,62,63,64,65,66,67,68,122],[50,122],[50,51,122],[51,52,59,60,122],[50,61,122],[53,54,55,56,57,58,122],[69,122],[71,72,122],[70,71,73,74,122],[69,70,122],[69],[71],[70,71,73,74]],"referencedMap":[[76,1],[77,1],[79,2],[80,3],[81,4],[82,5],[83,6],[84,7],[85,8],[86,9],[87,10],[88,11],[89,11],[91,12],[90,13],[92,12],[93,14],[94,15],[78,16],[128,17],[95,18],[96,19],[97,20],[129,21],[98,22],[99,23],[100,24],[101,25],[102,26],[103,27],[104,28],[105,29],[106,30],[107,31],[108,31],[109,32],[110,33],[112,34],[111,35],[113,36],[114,37],[115,17],[116,38],[117,39],[118,40],[119,41],[120,42],[121,43],[122,44],[123,45],[124,46],[125,47],[126,48],[127,49],[50,17],[69,50],[51,51],[52,52],[61,53],[57,54],[53,54],[59,55],[56,54],[54,54],[55,54],[58,52],[60,52],[65,51],[66,51],[62,51],[67,51],[63,51],[64,51],[68,51],[48,17],[49,17],[10,17],[9,17],[2,17],[11,17],[12,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[3,17],[4,17],[19,17],[23,17],[20,17],[21,17],[22,17],[24,17],[25,17],[26,17],[5,17],[27,17],[28,17],[29,17],[30,17],[6,17],[34,17],[31,17],[32,17],[33,17],[35,17],[7,17],[36,17],[41,17],[42,17],[37,17],[38,17],[39,17],[40,17],[8,17],[46,17],[43,17],[44,17],[45,17],[1,17],[47,17],[72,17],[71,56],[73,57],[70,56],[75,58],[74,59]],"exportedModulesMap":[[76,1],[77,1],[79,2],[80,3],[81,4],[82,5],[83,6],[84,7],[85,8],[86,9],[87,10],[88,11],[89,11],[91,12],[90,13],[92,12],[93,14],[94,15],[78,16],[128,17],[95,18],[96,19],[97,20],[129,21],[98,22],[99,23],[100,24],[101,25],[102,26],[103,27],[104,28],[105,29],[106,30],[107,31],[108,31],[109,32],[110,33],[112,34],[111,35],[113,36],[114,37],[115,17],[116,38],[117,39],[118,40],[119,41],[120,42],[121,43],[122,44],[123,45],[124,46],[125,47],[126,48],[127,49],[50,17],[69,50],[51,51],[52,52],[61,53],[57,54],[53,54],[59,55],[56,54],[54,54],[55,54],[58,52],[60,52],[65,51],[66,51],[62,51],[67,51],[63,51],[64,51],[68,51],[48,17],[49,17],[10,17],[9,17],[2,17],[11,17],[12,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[3,17],[4,17],[19,17],[23,17],[20,17],[21,17],[22,17],[24,17],[25,17],[26,17],[5,17],[27,17],[28,17],[29,17],[30,17],[6,17],[34,17],[31,17],[32,17],[33,17],[35,17],[7,17],[36,17],[41,17],[42,17],[37,17],[38,17],[39,17],[40,17],[8,17],[46,17],[43,17],[44,17],[45,17],[1,17],[47,17],[72,17],[71,60],[73,61],[70,60],[75,62],[74,60]],"semanticDiagnosticsPerFile":[76,77,79,80,81,82,83,84,85,86,87,88,89,91,90,92,93,94,78,128,95,96,97,129,98,99,100,101,102,103,104,105,106,107,108,109,110,112,111,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,50,69,51,52,61,57,53,59,56,54,55,58,60,65,66,62,67,63,64,68,48,49,10,9,2,11,12,13,14,15,16,17,18,3,4,19,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,8,46,43,44,45,1,47,72,71,73,70,75,74],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.2.2"}
|
|
1
|
+
{"fileNames":["../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.6.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/definitions.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/definitions.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/generator.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/combinators.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/primitives.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/recursive.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/objects.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/arrays.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/root.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/parsers/index.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/utils.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/json-schema/index.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/combinators.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/primitives.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/recursive.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/arrays.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/codec.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/types/maps.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/utils.d.ts","../../node_modules/.pnpm/ts-codec@1.2.2/node_modules/ts-codec/dist/@types/index.d.ts","./src/definitions.ts","./src/config/PowerSyncConfig.ts","./src/config/normalize.ts","./src/routes.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.19.8/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/sqlite.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/globals.global.d.ts","../../node_modules/.pnpm/@types+node@22.5.5/node_modules/@types/node/index.d.ts"],"fileIdsList":[[76],[117],[118,123,153],[119,124,130,131,138,150,161],[119,120,130,138],[121,162],[122,123,131,139],[123,150,158],[124,126,130,138],[117,125],[126,127],[130],[128,130],[117,130],[130,131,132,150,161],[130,131,132,145,150,153],[115,166],[115,126,130,133,138,150,161],[130,131,133,134,138,150,158,161],[133,135,150,158,161],[76,77,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168],[130,136],[137,161,166],[126,130,138,150],[139],[140],[117,141],[76,77,117,118,119,120,121,122,123,124,125,126,127,128,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167],[143],[144],[130,145,146],[145,147,162,164],[118,130,150,151,152,153],[118,150,152],[150,151],[153],[154],[76,150],[130,156,157],[156,157],[123,138,150,158],[159],[138,160],[118,133,144,161],[123,162],[150,163],[137,164],[165],[118,123,130,132,141,150,161,164,166],[150,167],[51,62,63,64,65,66,67,68,69],[51],[51,52],[52,53,60,61],[51,62],[54,55,56,57,58,59],[87,91,161],[87,150,161],[82],[84,87,158,161],[138,158],[169],[82,169],[84,87,138,161],[79,80,83,86,118,130,150,161],[87,94],[79,85],[87,108,109],[83,87,118,153,161,169],[118,169],[108,118,169],[81,82,169],[87],[81,82,83,84,85,86,87,88,89,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,109,110,111,112,113,114],[87,102],[87,94,95],[85,87,95,96],[86],[79,82,87],[87,91,95,96],[91],[85,87,90,161],[79,84,87,94],[118,150],[82,87,108,118,166,169],[70],[71,72,73,74],[70,71]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true,"impliedFormat":1},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"4adea1841ed26c17fc7b2fe888e30072e8a0bbcfd29c209e7268e24b19acad5d","impliedFormat":1},{"version":"6d1fd9a6b9823303554af5c59287dab3013be39720e6e18416956f4b88e2e3da","impliedFormat":1},{"version":"e7b9d145da1e25419ac57a6f804da356a3e9b99e4d81d3045d534e1dbefad14c","impliedFormat":1},{"version":"0fb7e2fd9a55a699b721005f9b971bb102b8bfe6aba92b0431d974b542fdabd7","impliedFormat":1},{"version":"8db3b7b47410ccabea0234d975dffea72f5ed4586305dc54b22a164721804cc5","impliedFormat":1},{"version":"3c33b043fbba511e7af9b21cf6ffdfd77a5b33114cf13bcd93871545bdbcc5cb","impliedFormat":1},{"version":"fffd95262f9eaa6988088f5b3fefed8af0719d60e913e63f6fbe724eba3f118d","impliedFormat":1},{"version":"3c683aee5744dedcb460b2e1c47804f4010ac8fba73f3093f88ccbb013a3c678","impliedFormat":1},{"version":"51ebb8f5a78bf7b58c0479fd51a3d39c1f91075a6a31620c3e510e6295ef43f1","impliedFormat":1},{"version":"a34327c4c9e71742f9248374e9506fb555d724121ddbd57e45e14cc9ee99e857","impliedFormat":1},{"version":"28febab4f39ed27ad0bac2705f35d83a434c74a3c49328f02f7d2a813ac937ab","impliedFormat":1},{"version":"dfe421b0e52e642279c9ebb5473acf33c091d5714ac09b75592067ee641deff2","impliedFormat":1},{"version":"aa5f3aa895ba91f1a0e3db5f9737f72d11e6d753cd9783b44aba6f105f0631d5","impliedFormat":1},{"version":"d3762251e9a5dc6f0d407a8877b89856428a3f27af1e82b236c21bde779d4c6d","impliedFormat":1},{"version":"cf95c55d326a751f162723f17a88a499399dc288729ce8b8568baaff249425ba","impliedFormat":1},{"version":"4cde2fc9f63efcd3c7a22f47f7e57dcbc69a2ca3656bda166493105d8ec218b9","impliedFormat":1},{"version":"502128497b075e263f1288795506807fe1bc4766adc74a51095aced7d5e6e16b","impliedFormat":1},{"version":"8e785000e355e822b7794e1be735fbe27853ffcca6ae07ff3ee6e1da4cfb4119","impliedFormat":1},{"version":"62d71a517af7dfc46dc0f7047f31eb47f21cbc99eb8ee2a817114a55e6470380","impliedFormat":1},{"version":"a22b4fc7c03f685be422cc8ed799a2a9b7218d28a9f20dfe27f45396c7e58036","impliedFormat":1},{"version":"b776c0826a8198ff91dc197f150bf11282f812131578c47fa0e240a0fab9b65f","signature":"0132b907cfb23c99b50628e472a20b64243273c48434e24e89db10d0cbc6e253","impliedFormat":1},{"version":"306b60d6876427109c62d268ea21ae4e658fb4d19c2801864d61564ab01b5ee2","signature":"a2406ab05834596ed2f76014d64ca10bebf657e00ae5755a11c5fb9fef69eb9a","impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":1},{"version":"65fef26d029a710227b7a83265d1812efbfe72bd8f0f26700581f21d11fd844f","signature":"2190532df9a7c255a3017ecdb2c8e718b37f013db5880e20c3db8992f0d84706","impliedFormat":1},{"version":"0169891b28139c22f248a5b0c8f5ffc9a5d453c035c2055866c7e99281bd9ea8","signature":"df938d95b4d9dc4d1f867f919c40663f84c9c68c43f86c07071a065977b15ce7","impliedFormat":1},{"version":"e142fda89ed689ea53d6f2c93693898464c7d29a0ae71c6dc8cdfe5a1d76c775","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","impliedFormat":1},{"version":"93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"964f307d249df0d7e8eb16d594536c0ac6cc63c8d467edf635d05542821dec8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"db3ec8993b7596a4ef47f309c7b25ee2505b519c13050424d9c34701e5973315","impliedFormat":1},{"version":"6a1ebd564896d530364f67b3257c62555b61d60494a73dfe8893274878c6589d","affectsGlobalScope":true,"impliedFormat":1},{"version":"af49b066a76ce26673fe49d1885cc6b44153f1071ed2d952f2a90fccba1095c9","impliedFormat":1},{"version":"f22fd1dc2df53eaf5ce0ff9e0a3326fc66f880d6a652210d50563ae72625455f","impliedFormat":1},{"version":"3ddbdb519e87a7827c4f0c4007013f3628ca0ebb9e2b018cf31e5b2f61c593f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"6d498d4fd8036ea02a4edcae10375854a0eb1df0496cf0b9d692577d3c0fd603","affectsGlobalScope":true,"impliedFormat":1},{"version":"24642567d3729bcc545bacb65ee7c0db423400c7f1ef757cab25d05650064f98","impliedFormat":1},{"version":"fd09b892597ab93e7f79745ce725a3aaf6dd005e8db20f0c63a5d10984cba328","impliedFormat":1},{"version":"a3be878ff1e1964ab2dc8e0a3b67087cf838731c7f3d8f603337e7b712fdd558","impliedFormat":1},{"version":"5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","impliedFormat":1},{"version":"9be74296ee565af0c12d7071541fdd23260f53c3da7731fb6361f61150a791f6","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"f501a53b94ba382d9ba396a5c486969a3abc68309828fa67f916035f5d37fe2b","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa658b5d765f630c312ac9202d110bbaf2b82d180376457f0a9d57b42629714a","impliedFormat":1},{"version":"312ac7cbd070107766a9886fd27f9faad997ef57d93fdfb4095df2c618ac8162","impliedFormat":1},{"version":"2e9b4e7f9942af902eb85bae6066d04ef1afee51d61554a62d144df3da7dec94","impliedFormat":1},{"version":"672ad3045f329e94002256f8ed460cfd06173a50c92cde41edaadfacffd16808","impliedFormat":1},{"version":"64da4965d1e0559e134d9c1621ae400279a216f87ed00c4cce4f2c7c78021712","impliedFormat":1},{"version":"2205527b976f4f1844adc46a3f0528729fb68cac70027a5fb13c49ca23593797","impliedFormat":1},{"version":"0166fce1204d520fdfd6b5febb3cda3deee438bcbf8ce9ffeb2b1bcde7155346","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8b13eab85b532285031b06a971fa051bf0175d8fff68065a24a6da9c1c986cf","impliedFormat":1},{"version":"50c382ba1827988c59aa9cc9d046e386d55d70f762e9e352e95ee8cb7337cdb8","impliedFormat":1},{"version":"bb9627ab9d078c79bb5623de4ac8e5d08f806ec9b970962dfc83b3211373690d","impliedFormat":1},{"version":"21d7e87f271e72d02f8d167edc902f90b04525edc7918f00f01dd0bd00599f7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f6abdaf8764ef01a552a958f45e795b5e79153b87ddad3af5264b86d2681b72","affectsGlobalScope":true,"impliedFormat":1},{"version":"a215554477f7629e3dcbc8cde104bec036b78673650272f5ffdc5a2cee399a0a","impliedFormat":1},{"version":"c3497fc242aabfedcd430b5932412f94f157b5906568e737f6a18cc77b36a954","impliedFormat":1},{"version":"cdc1de3b672f9ef03ff15c443aa1b631edca35b6ae6970a7da6400647ff74d95","impliedFormat":1},{"version":"139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","impliedFormat":1},{"version":"bf01fdd3b93cf633b3f7420718457af19c57ab8cbfea49268df60bae2e84d627","impliedFormat":1},{"version":"15c5e91b5f08be34a78e3d976179bf5b7a9cc28dc0ef1ffebffeb3c7812a2dca","impliedFormat":1},{"version":"5f461d6f5d9ff474f1121cc3fd86aa3cd67476c701f55c306d323c5112201207","impliedFormat":1},{"version":"65b39cc6b610a4a4aecc321f6efb436f10c0509d686124795b4c36a5e915b89e","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"83fe38aa2243059ea859325c006da3964ead69b773429fe049ebb0426e75424d","affectsGlobalScope":true,"impliedFormat":1},{"version":"d3edb86744e2c19f2c1503849ac7594a5e06024f2451bacae032390f2e20314a","impliedFormat":1},{"version":"e501cbca25bd54f0bcb89c00f092d3cae227e970b93fd76207287fd8110b123d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a3e61347b8f80aa5af532094498bceb0c0b257b25a6aa8ab4880fd6ed57c95a","affectsGlobalScope":true,"impliedFormat":1},{"version":"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","impliedFormat":1},{"version":"950f6810f7c80e0cffefcf1bcc6ade3485c94394720e334c3c2be3c16b6922fb","impliedFormat":1},{"version":"5475df7cfc493a08483c9d7aa61cc04791aecba9d0a2efc213f23c4006d4d3cd","impliedFormat":1},{"version":"000720870b275764c65e9f28ac97cc9e4d9e4a36942d4750ca8603e416e9c57c","impliedFormat":1},{"version":"54412c70bacb9ed547ed6caae8836f712a83ccf58d94466f3387447ec4e82dc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8701e60428b700ed0206c805d702cfb2a7b4b0b76423439451d1018fa70610e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"4c48e931a72f6971b5add7fdb1136be1d617f124594e94595f7114af749395e0","impliedFormat":1},{"version":"478eb5c32250678a906d91e0529c70243fc4d75477a08f3da408e2615396f558","impliedFormat":1},{"version":"e686a88c9ee004c8ba12ffc9d674ca3192a4c50ed0ca6bd5b2825c289e2b2bfe","impliedFormat":1},{"version":"0d27932df2fbc3728e78b98892540e24084424ce12d3bd32f62a23cf307f411f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4423fb3d6abe6eefb8d7f79eb2df9510824a216ec1c6feee46718c9b18e6d89f","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"01c47d1c006b3a15b51d89d7764fff7e4fabc4e412b3a61ee5357bd74b822879","impliedFormat":1}],"root":[[71,75]],"options":{"composite":true,"declaration":true,"declarationDir":"./dist","module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useUnknownInCatchVariables":false},"referencedMap":[[76,1],[77,1],[117,2],[118,3],[119,4],[120,5],[121,6],[122,7],[123,8],[124,9],[125,10],[126,11],[127,11],[129,12],[128,13],[130,14],[131,15],[132,16],[116,17],[133,18],[134,19],[135,20],[169,21],[136,22],[137,23],[138,24],[139,25],[140,26],[141,27],[142,28],[143,29],[144,30],[145,31],[146,31],[147,32],[150,33],[152,34],[151,35],[153,36],[154,37],[155,38],[156,39],[157,40],[158,41],[159,42],[160,43],[161,44],[162,45],[163,46],[164,47],[165,48],[166,49],[167,50],[70,51],[52,52],[53,53],[62,54],[58,55],[54,55],[60,56],[57,55],[55,55],[56,55],[59,53],[61,53],[66,52],[67,52],[63,52],[68,52],[64,52],[65,52],[69,52],[94,57],[104,58],[93,57],[114,59],[85,60],[84,61],[113,62],[107,63],[112,64],[87,65],[101,66],[86,67],[110,68],[82,69],[81,70],[111,71],[83,72],[88,73],[92,73],[115,74],[105,75],[96,76],[97,77],[99,78],[95,79],[98,80],[108,62],[90,81],[91,82],[100,83],[80,84],[103,75],[102,73],[109,85],[72,86],[71,86],[75,87],[74,88]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.6.2"}
|