@powersync/service-schema 0.0.0-dev-20260511080634 → 0.0.0-dev-20260515144844
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConvexConnectionConfig } from '@powersync/service-module-convex/types';
|
|
1
2
|
import { MongoStorageConfig } from '@powersync/service-module-mongodb-storage/types';
|
|
2
3
|
import { MongoConnectionConfig } from '@powersync/service-module-mongodb/types';
|
|
3
4
|
import { MSSQLConnectionConfig } from '@powersync/service-module-mssql/types';
|
|
@@ -18,7 +19,8 @@ const mergedDataSourceConfig = configFile.genericDataSourceConfig
|
|
|
18
19
|
.or(MongoConnectionConfig)
|
|
19
20
|
.or(MSSQLConnectionConfig)
|
|
20
21
|
.or(MySQLConnectionConfig)
|
|
21
|
-
.or(PostgresConnectionConfig)
|
|
22
|
+
.or(PostgresConnectionConfig)
|
|
23
|
+
.or(ConvexConnectionConfig);
|
|
22
24
|
const mergedStorageConfig = configFile.GenericStorageConfig.or(PostgresStorageConfig).or(MongoStorageConfig);
|
|
23
25
|
const mergedConfig = t.object({
|
|
24
26
|
...baseShape,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile-json-schema.js","sourceRoot":"","sources":["../../src/scripts/compile-json-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,M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EAAE;IAC5D,eAAe,EAAE,IAAI;IACrB,OAAO,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;CACjC,CAAC,CAAC;AAEH,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,uBAAuB,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -401,6 +401,51 @@
|
|
|
401
401
|
"required": [
|
|
402
402
|
"type"
|
|
403
403
|
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": "object",
|
|
407
|
+
"properties": {
|
|
408
|
+
"type": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"const": "convex"
|
|
411
|
+
},
|
|
412
|
+
"id": {
|
|
413
|
+
"description": "Unique identifier for the connection. Optional when only a single connection is present.",
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"tag": {
|
|
417
|
+
"description": "Additional meta tag for the connection, used for categorization or grouping.",
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"debug_api": {
|
|
421
|
+
"description": "When enabled, allows query execution.",
|
|
422
|
+
"type": "boolean"
|
|
423
|
+
},
|
|
424
|
+
"deployment_url": {
|
|
425
|
+
"type": "string"
|
|
426
|
+
},
|
|
427
|
+
"deploy_key": {
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
"polling_interval_ms": {
|
|
431
|
+
"type": "number"
|
|
432
|
+
},
|
|
433
|
+
"request_timeout_ms": {
|
|
434
|
+
"type": "number"
|
|
435
|
+
},
|
|
436
|
+
"reject_ip_ranges": {
|
|
437
|
+
"type": "array",
|
|
438
|
+
"items": {
|
|
439
|
+
"type": "string"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"additionalProperties": true,
|
|
444
|
+
"required": [
|
|
445
|
+
"type",
|
|
446
|
+
"deployment_url",
|
|
447
|
+
"deploy_key"
|
|
448
|
+
]
|
|
404
449
|
}
|
|
405
450
|
]
|
|
406
451
|
}
|
|
@@ -607,7 +652,7 @@
|
|
|
607
652
|
"type": "string"
|
|
608
653
|
},
|
|
609
654
|
"crv": {
|
|
610
|
-
"description": "The cryptographic curve used with this key (P-256, P-384, or P-
|
|
655
|
+
"description": "The cryptographic curve used with this key (P-256, P-384, or P-521).",
|
|
611
656
|
"anyOf": [
|
|
612
657
|
{
|
|
613
658
|
"type": "string",
|
|
@@ -619,7 +664,7 @@
|
|
|
619
664
|
},
|
|
620
665
|
{
|
|
621
666
|
"type": "string",
|
|
622
|
-
"const": "P-
|
|
667
|
+
"const": "P-521"
|
|
623
668
|
}
|
|
624
669
|
]
|
|
625
670
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/service-schema",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260515144844",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -23,13 +23,14 @@
|
|
|
23
23
|
"repository": "https://github.com/powersync-ja/powersync-service",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"ts-codec": "^1.3.0",
|
|
26
|
-
"@powersync/service-module-postgres": "0.0.0-dev-
|
|
27
|
-
"@powersync/service-module-postgres-storage": "0.0.0-dev-
|
|
28
|
-
"@powersync/service-module-mongodb": "0.0.0-dev-
|
|
29
|
-
"@powersync/service-module-
|
|
30
|
-
"@powersync/service-module-
|
|
31
|
-
"@powersync/service-module-mssql": "0.0.0-dev-
|
|
32
|
-
"@powersync/service-types": "0.
|
|
26
|
+
"@powersync/service-module-postgres": "0.0.0-dev-20260515144844",
|
|
27
|
+
"@powersync/service-module-postgres-storage": "0.0.0-dev-20260515144844",
|
|
28
|
+
"@powersync/service-module-mongodb": "0.0.0-dev-20260515144844",
|
|
29
|
+
"@powersync/service-module-mysql": "0.0.0-dev-20260515144844",
|
|
30
|
+
"@powersync/service-module-mongodb-storage": "0.0.0-dev-20260515144844",
|
|
31
|
+
"@powersync/service-module-mssql": "0.0.0-dev-20260515144844",
|
|
32
|
+
"@powersync/service-types": "0.15.2",
|
|
33
|
+
"@powersync/service-module-convex": "0.0.0-dev-20260515144844"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
35
36
|
"clean": "rm -r ./dist && tsc -b --clean",
|