@powersync/cli-schemas 0.9.6 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,6 +23,26 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
|
|
|
23
23
|
secret_ref: string;
|
|
24
24
|
} | undefined;
|
|
25
25
|
database?: string | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
type: managementTypes.ConnectionType.CONVEX;
|
|
28
|
+
deployment_url: string;
|
|
29
|
+
deploy_key: {
|
|
30
|
+
secret: string;
|
|
31
|
+
} | {
|
|
32
|
+
secret_ref: string;
|
|
33
|
+
};
|
|
34
|
+
}) | ({
|
|
35
|
+
type: managementTypes.ConnectionType;
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
id?: string | undefined;
|
|
38
|
+
tag?: string | undefined;
|
|
39
|
+
username?: string | undefined;
|
|
40
|
+
password?: {
|
|
41
|
+
secret: string;
|
|
42
|
+
} | {
|
|
43
|
+
secret_ref: string;
|
|
44
|
+
} | undefined;
|
|
45
|
+
database?: string | undefined;
|
|
26
46
|
} & {
|
|
27
47
|
type: managementTypes.ConnectionType.MONGODB;
|
|
28
48
|
uri: string;
|
|
@@ -188,6 +208,26 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
|
|
|
188
208
|
secret_ref: string;
|
|
189
209
|
} | undefined;
|
|
190
210
|
database?: string | undefined;
|
|
211
|
+
} & {
|
|
212
|
+
type: managementTypes.ConnectionType.CONVEX;
|
|
213
|
+
deployment_url: string;
|
|
214
|
+
deploy_key: {
|
|
215
|
+
secret: string;
|
|
216
|
+
} | {
|
|
217
|
+
secret_ref: string;
|
|
218
|
+
};
|
|
219
|
+
}) | ({
|
|
220
|
+
type: managementTypes.ConnectionType;
|
|
221
|
+
name?: string | undefined;
|
|
222
|
+
id?: string | undefined;
|
|
223
|
+
tag?: string | undefined;
|
|
224
|
+
username?: string | undefined;
|
|
225
|
+
password?: {
|
|
226
|
+
secret: string;
|
|
227
|
+
} | {
|
|
228
|
+
secret_ref: string;
|
|
229
|
+
} | undefined;
|
|
230
|
+
database?: string | undefined;
|
|
191
231
|
} & {
|
|
192
232
|
type: managementTypes.ConnectionType.MONGODB;
|
|
193
233
|
uri: string;
|
|
@@ -515,6 +515,95 @@
|
|
|
515
515
|
"required": [
|
|
516
516
|
"type"
|
|
517
517
|
]
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"type": "object",
|
|
521
|
+
"properties": {
|
|
522
|
+
"type": {
|
|
523
|
+
"type": "string",
|
|
524
|
+
"const": "convex"
|
|
525
|
+
},
|
|
526
|
+
"name": {
|
|
527
|
+
"type": "string"
|
|
528
|
+
},
|
|
529
|
+
"id": {
|
|
530
|
+
"type": "string"
|
|
531
|
+
},
|
|
532
|
+
"tag": {
|
|
533
|
+
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
"username": {
|
|
536
|
+
"type": "string"
|
|
537
|
+
},
|
|
538
|
+
"password": {
|
|
539
|
+
"anyOf": [
|
|
540
|
+
{
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"secret_ref": {
|
|
544
|
+
"type": "string"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"additionalProperties": false,
|
|
548
|
+
"required": [
|
|
549
|
+
"secret_ref"
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"type": "object",
|
|
554
|
+
"properties": {
|
|
555
|
+
"secret": {
|
|
556
|
+
"type": "string"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"additionalProperties": false,
|
|
560
|
+
"required": [
|
|
561
|
+
"secret"
|
|
562
|
+
]
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
"database": {
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"deployment_url": {
|
|
570
|
+
"type": "string"
|
|
571
|
+
},
|
|
572
|
+
"deploy_key": {
|
|
573
|
+
"anyOf": [
|
|
574
|
+
{
|
|
575
|
+
"type": "object",
|
|
576
|
+
"properties": {
|
|
577
|
+
"secret_ref": {
|
|
578
|
+
"type": "string"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"additionalProperties": false,
|
|
582
|
+
"required": [
|
|
583
|
+
"secret_ref"
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"type": "object",
|
|
588
|
+
"properties": {
|
|
589
|
+
"secret": {
|
|
590
|
+
"type": "string"
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"additionalProperties": false,
|
|
594
|
+
"required": [
|
|
595
|
+
"secret"
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"additionalProperties": false,
|
|
602
|
+
"required": [
|
|
603
|
+
"type",
|
|
604
|
+
"deployment_url",
|
|
605
|
+
"deploy_key"
|
|
606
|
+
]
|
|
518
607
|
}
|
|
519
608
|
]
|
|
520
609
|
}
|
|
@@ -1253,6 +1342,51 @@
|
|
|
1253
1342
|
"required": [
|
|
1254
1343
|
"type"
|
|
1255
1344
|
]
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"type": "object",
|
|
1348
|
+
"properties": {
|
|
1349
|
+
"type": {
|
|
1350
|
+
"type": "string",
|
|
1351
|
+
"const": "convex"
|
|
1352
|
+
},
|
|
1353
|
+
"id": {
|
|
1354
|
+
"description": "Unique identifier for the connection. Optional when only a single connection is present.",
|
|
1355
|
+
"type": "string"
|
|
1356
|
+
},
|
|
1357
|
+
"tag": {
|
|
1358
|
+
"description": "Additional meta tag for the connection, used for categorization or grouping.",
|
|
1359
|
+
"type": "string"
|
|
1360
|
+
},
|
|
1361
|
+
"debug_api": {
|
|
1362
|
+
"description": "When enabled, allows query execution.",
|
|
1363
|
+
"type": "boolean"
|
|
1364
|
+
},
|
|
1365
|
+
"deployment_url": {
|
|
1366
|
+
"type": "string"
|
|
1367
|
+
},
|
|
1368
|
+
"deploy_key": {
|
|
1369
|
+
"type": "string"
|
|
1370
|
+
},
|
|
1371
|
+
"polling_interval_ms": {
|
|
1372
|
+
"type": "number"
|
|
1373
|
+
},
|
|
1374
|
+
"request_timeout_ms": {
|
|
1375
|
+
"type": "number"
|
|
1376
|
+
},
|
|
1377
|
+
"reject_ip_ranges": {
|
|
1378
|
+
"type": "array",
|
|
1379
|
+
"items": {
|
|
1380
|
+
"type": "string"
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
},
|
|
1384
|
+
"additionalProperties": true,
|
|
1385
|
+
"required": [
|
|
1386
|
+
"type",
|
|
1387
|
+
"deployment_url",
|
|
1388
|
+
"deploy_key"
|
|
1389
|
+
]
|
|
1256
1390
|
}
|
|
1257
1391
|
]
|
|
1258
1392
|
}
|
|
@@ -211,6 +211,10 @@
|
|
|
211
211
|
"custom_postgres_types": {
|
|
212
212
|
"type": "boolean",
|
|
213
213
|
"description": "Enabled by default starting from edition 2: Map custom Postgres types into appropriate structures instead of syncing the raw string."
|
|
214
|
+
},
|
|
215
|
+
"unstable_sqlite_expression_engine": {
|
|
216
|
+
"type": "boolean",
|
|
217
|
+
"description": "Enabled by default starting from edition null: Experimental option to evaluate functions and operators in Sync Streams with SQLite instead of a JavaScript implementation."
|
|
214
218
|
}
|
|
215
219
|
},
|
|
216
220
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/cli-schemas",
|
|
3
3
|
"description": "PowerSync CLI schema definitions and JSON Schema generation",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.1",
|
|
5
5
|
"author": "POWERSYNC",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
7
7
|
"type": "module",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
},
|
|
33
33
|
"bugs": "https://github.com/powersync-ja/powersync-cli/issues",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@powersync/management-types": "^0.2.
|
|
36
|
-
"@powersync/service-schema": "^1.
|
|
35
|
+
"@powersync/management-types": "^0.2.2",
|
|
36
|
+
"@powersync/service-schema": "^1.22.0",
|
|
37
37
|
"@powersync/service-types": "^0.15.2",
|
|
38
38
|
"ajv": "^8.20.0",
|
|
39
39
|
"better-ajv-errors": "^2.0.3",
|
|
40
40
|
"ts-codec": "^1.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@powersync/service-sync-rules": "^0.
|
|
44
|
-
"@types/node": "^
|
|
43
|
+
"@powersync/service-sync-rules": "^0.37.0",
|
|
44
|
+
"@types/node": "^24.12.2",
|
|
45
45
|
"tsx": "^4.21.0",
|
|
46
46
|
"typescript": "^5.9.3"
|
|
47
47
|
},
|