@powersync/cli-schemas 0.9.4 → 0.9.6

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.
@@ -157,7 +157,7 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
157
157
  } | {
158
158
  kty: "EC";
159
159
  alg: "ES256" | "ES384" | "ES512";
160
- crv: "P-256" | "P-384" | "P-512";
160
+ crv: "P-256" | "P-384" | "P-521";
161
161
  x: string;
162
162
  y: string;
163
163
  kid?: string | undefined;
@@ -322,7 +322,7 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
322
322
  } | {
323
323
  kty: "EC";
324
324
  alg: "ES256" | "ES384" | "ES512";
325
- crv: "P-256" | "P-384" | "P-512";
325
+ crv: "P-256" | "P-384" | "P-521";
326
326
  x: string;
327
327
  y: string;
328
328
  kid?: string | undefined;
@@ -40,7 +40,7 @@ export declare const BaseServiceSelfHostedConfig: t.Intersection<t.Codec<{
40
40
  } | {
41
41
  kty: "EC";
42
42
  alg: "ES256" | "ES384" | "ES512";
43
- crv: "P-256" | "P-384" | "P-512";
43
+ crv: "P-256" | "P-384" | "P-521";
44
44
  x: string;
45
45
  y: string;
46
46
  kid?: string | undefined;
@@ -135,7 +135,7 @@ export declare const BaseServiceSelfHostedConfig: t.Intersection<t.Codec<{
135
135
  } | {
136
136
  kty: "EC";
137
137
  alg: "ES256" | "ES384" | "ES512";
138
- crv: "P-256" | "P-384" | "P-512";
138
+ crv: "P-256" | "P-384" | "P-521";
139
139
  x: string;
140
140
  y: string;
141
141
  kid?: string | undefined;
@@ -235,7 +235,7 @@ export declare const ServiceSelfHostedConfig: t.Intersection<t.Codec<{
235
235
  } | {
236
236
  kty: "EC";
237
237
  alg: "ES256" | "ES384" | "ES512";
238
- crv: "P-256" | "P-384" | "P-512";
238
+ crv: "P-256" | "P-384" | "P-521";
239
239
  x: string;
240
240
  y: string;
241
241
  kid?: string | undefined;
@@ -332,7 +332,7 @@ export declare const ServiceSelfHostedConfig: t.Intersection<t.Codec<{
332
332
  } | {
333
333
  kty: "EC";
334
334
  alg: "ES256" | "ES384" | "ES512";
335
- crv: "P-256" | "P-384" | "P-512";
335
+ crv: "P-256" | "P-384" | "P-521";
336
336
  x: string;
337
337
  y: string;
338
338
  kid?: string | undefined;
@@ -723,7 +723,7 @@
723
723
  "type": "string"
724
724
  },
725
725
  "crv": {
726
- "description": "The cryptographic curve used with this key (P-256, P-384, or P-512).",
726
+ "description": "The cryptographic curve used with this key (P-256, P-384, or P-521).",
727
727
  "anyOf": [
728
728
  {
729
729
  "type": "string",
@@ -735,7 +735,7 @@
735
735
  },
736
736
  {
737
737
  "type": "string",
738
- "const": "P-512"
738
+ "const": "P-521"
739
739
  }
740
740
  ]
741
741
  },
@@ -1459,7 +1459,7 @@
1459
1459
  "type": "string"
1460
1460
  },
1461
1461
  "crv": {
1462
- "description": "The cryptographic curve used with this key (P-256, P-384, or P-512).",
1462
+ "description": "The cryptographic curve used with this key (P-256, P-384, or P-521).",
1463
1463
  "anyOf": [
1464
1464
  {
1465
1465
  "type": "string",
@@ -1471,7 +1471,7 @@
1471
1471
  },
1472
1472
  {
1473
1473
  "type": "string",
1474
- "const": "P-512"
1474
+ "const": "P-521"
1475
1475
  }
1476
1476
  ]
1477
1477
  },
@@ -1566,7 +1566,7 @@
1566
1566
  "type": "number"
1567
1567
  },
1568
1568
  "max_buckets_per_connection": {
1569
- "description": "Maximum number of buckets for each connection.\nMore buckets increase latency and memory usage. While the actual number is controlled by sync rules,\nhaving a hard limit ensures that the service errors instead of crashing when a sync rule is misconfigured.\nDefault of 1000.",
1569
+ "description": "Maximum number of buckets for each connection.\nMore buckets increase latency and memory usage. While the actual number is controlled by sync config,\nhaving a hard limit ensures that the service errors instead of crashing when the sync config is misconfigured.\nDefault of 1000.",
1570
1570
  "type": "number"
1571
1571
  },
1572
1572
  "max_parameter_query_results": {
@@ -1929,7 +1929,7 @@
1929
1929
  "required": []
1930
1930
  },
1931
1931
  "parameters": {
1932
- "description": "Global parameters that can be referenced in sync rules and other configurations.",
1932
+ "description": "Global parameters that can be referenced in sync config and other configurations.",
1933
1933
  "type": "object",
1934
1934
  "additionalProperties": {
1935
1935
  "anyOf": [
@@ -178,6 +178,15 @@
178
178
  "minimum": 1,
179
179
  "exclusiveMaximum": 4
180
180
  },
181
+ "storage_version": {
182
+ "type": "integer",
183
+ "description": "Storage version used by the storage database. By default, the latest stable version is used.",
184
+ "default": 2,
185
+ "enum": [
186
+ 2,
187
+ 3
188
+ ]
189
+ },
181
190
  "timestamp_max_precision": {
182
191
  "type": "string",
183
192
  "enum": [
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.9.4",
4
+ "version": "0.9.6",
5
5
  "author": "POWERSYNC",
6
6
  "license": "FSL-1.1-ALv2",
7
7
  "type": "module",
@@ -32,19 +32,18 @@
32
32
  },
33
33
  "bugs": "https://github.com/powersync-ja/powersync-cli/issues",
34
34
  "dependencies": {
35
- "@powersync/management-types": "^0.0.5",
36
- "@powersync/service-schema": "^1.20.2",
37
- "@powersync/service-types": "^0.15.0",
38
- "ajv": "^8.12.0",
35
+ "@powersync/management-types": "^0.2.0",
36
+ "@powersync/service-schema": "^1.21.0",
37
+ "@powersync/service-types": "^0.15.2",
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.34.0",
44
- "@types/node": "^22",
45
- "shx": "^0.3.3",
46
- "tsx": "^4",
47
- "typescript": "^5"
43
+ "@powersync/service-sync-rules": "^0.36.0",
44
+ "@types/node": "^22.19.17",
45
+ "tsx": "^4.21.0",
46
+ "typescript": "^5.9.3"
48
47
  },
49
48
  "engines": {
50
49
  "node": ">=18.0.0"