@powersync/service-schema 1.19.2 → 1.20.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.
|
@@ -430,6 +430,9 @@
|
|
|
430
430
|
},
|
|
431
431
|
"max_pool_size": {
|
|
432
432
|
"type": "number"
|
|
433
|
+
},
|
|
434
|
+
"connect_timeout": {
|
|
435
|
+
"type": "number"
|
|
433
436
|
}
|
|
434
437
|
},
|
|
435
438
|
"additionalProperties": true,
|
|
@@ -862,6 +865,9 @@
|
|
|
862
865
|
"slot_name_prefix": {
|
|
863
866
|
"type": "string"
|
|
864
867
|
},
|
|
868
|
+
"connect_timeout": {
|
|
869
|
+
"type": "number"
|
|
870
|
+
},
|
|
865
871
|
"batch_limits": {
|
|
866
872
|
"type": "object",
|
|
867
873
|
"properties": {
|
|
@@ -929,20 +935,40 @@
|
|
|
929
935
|
}
|
|
930
936
|
]
|
|
931
937
|
},
|
|
932
|
-
"
|
|
938
|
+
"sync_config": {
|
|
933
939
|
"description": "Configuration for synchronization rules that define data access patterns.",
|
|
934
940
|
"type": "object",
|
|
935
941
|
"properties": {
|
|
936
942
|
"path": {
|
|
937
|
-
"description": "Path to the sync
|
|
943
|
+
"description": "Path to the sync config YAML file.",
|
|
944
|
+
"type": "string"
|
|
945
|
+
},
|
|
946
|
+
"content": {
|
|
947
|
+
"description": "Inline sync config content as a string.",
|
|
948
|
+
"type": "string"
|
|
949
|
+
},
|
|
950
|
+
"exit_on_error": {
|
|
951
|
+
"description": "Whether to exit the process if there is an error parsing sync config.",
|
|
952
|
+
"type": "boolean"
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
"additionalProperties": true,
|
|
956
|
+
"required": []
|
|
957
|
+
},
|
|
958
|
+
"sync_rules": {
|
|
959
|
+
"description": "Deprecated. Use sync_config instead.",
|
|
960
|
+
"type": "object",
|
|
961
|
+
"properties": {
|
|
962
|
+
"path": {
|
|
963
|
+
"description": "Path to the sync config YAML file.",
|
|
938
964
|
"type": "string"
|
|
939
965
|
},
|
|
940
966
|
"content": {
|
|
941
|
-
"description": "Inline sync
|
|
967
|
+
"description": "Inline sync config content as a string.",
|
|
942
968
|
"type": "string"
|
|
943
969
|
},
|
|
944
970
|
"exit_on_error": {
|
|
945
|
-
"description": "Whether to exit the process if there is an error parsing sync
|
|
971
|
+
"description": "Whether to exit the process if there is an error parsing sync config.",
|
|
946
972
|
"type": "boolean"
|
|
947
973
|
}
|
|
948
974
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/service-schema",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -23,13 +23,13 @@
|
|
|
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.
|
|
27
|
-
"@powersync/service-module-postgres-storage": "0.
|
|
28
|
-
"@powersync/service-module-mongodb": "0.
|
|
29
|
-
"@powersync/service-module-mongodb-storage": "0.
|
|
30
|
-
"@powersync/service-module-mysql": "0.
|
|
31
|
-
"@powersync/service-module-mssql": "0.
|
|
32
|
-
"@powersync/service-types": "0.
|
|
26
|
+
"@powersync/service-module-postgres": "0.18.0",
|
|
27
|
+
"@powersync/service-module-postgres-storage": "0.12.0",
|
|
28
|
+
"@powersync/service-module-mongodb": "0.14.0",
|
|
29
|
+
"@powersync/service-module-mongodb-storage": "0.14.0",
|
|
30
|
+
"@powersync/service-module-mysql": "0.11.0",
|
|
31
|
+
"@powersync/service-module-mssql": "0.4.0",
|
|
32
|
+
"@powersync/service-types": "0.15.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"clean": "rm -r ./dist && tsc -b --clean",
|