@powersync/cli-schemas 0.0.0-dev-20260305082615 → 0.0.0-dev-20260316080136

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.
@@ -37,52 +37,28 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
37
37
  hostname?: string | undefined;
38
38
  port?: number | undefined;
39
39
  schema?: string | undefined;
40
- authentication?: ({
40
+ authentication?: {
41
41
  type: "default";
42
- options: {
43
- password: string;
44
- userName: string;
45
- };
46
- } & {
47
42
  options: {
48
43
  password: {
49
44
  secret: string;
50
45
  } | {
51
46
  secret_ref: string;
52
47
  };
53
- };
54
- }) | ({
55
- type: "azure-active-directory-password";
56
- options: {
57
- password: string;
58
48
  userName: string;
59
- clientId: string;
60
- tenantId: string;
61
- };
62
- } & {
63
- options: {
64
- password: {
65
- secret: string;
66
- } | {
67
- secret_ref: string;
68
- };
69
49
  };
70
- }) | ({
50
+ } | {
71
51
  type: "azure-active-directory-service-principal-secret";
72
52
  options: {
73
53
  clientId: string;
74
- tenantId: string;
75
- clientSecret: string;
76
- };
77
- } & {
78
- options: {
79
54
  clientSecret: {
80
55
  secret: string;
81
56
  } | {
82
57
  secret_ref: string;
83
58
  };
59
+ tenantId: string;
84
60
  };
85
- }) | undefined;
61
+ } | undefined;
86
62
  additionalConfig?: {
87
63
  pollingIntervalMs?: number | undefined;
88
64
  pollingBatchSize?: number | undefined;
@@ -226,52 +202,28 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
226
202
  hostname?: string | undefined;
227
203
  port?: number | undefined;
228
204
  schema?: string | undefined;
229
- authentication?: ({
205
+ authentication?: {
230
206
  type: "default";
231
- options: {
232
- password: string;
233
- userName: string;
234
- };
235
- } & {
236
207
  options: {
237
208
  password: {
238
209
  secret: string;
239
210
  } | {
240
211
  secret_ref: string;
241
212
  };
242
- };
243
- }) | ({
244
- type: "azure-active-directory-password";
245
- options: {
246
- password: string;
247
213
  userName: string;
248
- clientId: string;
249
- tenantId: string;
250
- };
251
- } & {
252
- options: {
253
- password: {
254
- secret: string;
255
- } | {
256
- secret_ref: string;
257
- };
258
214
  };
259
- }) | ({
215
+ } | {
260
216
  type: "azure-active-directory-service-principal-secret";
261
217
  options: {
262
218
  clientId: string;
263
- tenantId: string;
264
- clientSecret: string;
265
- };
266
- } & {
267
- options: {
268
219
  clientSecret: {
269
220
  secret: string;
270
221
  } | {
271
222
  secret_ref: string;
272
223
  };
224
+ tenantId: string;
273
225
  };
274
- }) | undefined;
226
+ } | undefined;
275
227
  additionalConfig?: {
276
228
  pollingIntervalMs?: number | undefined;
277
229
  pollingBatchSize?: number | undefined;
@@ -385,6 +385,9 @@
385
385
  "options": {
386
386
  "type": "object",
387
387
  "properties": {
388
+ "userName": {
389
+ "type": "string"
390
+ },
388
391
  "password": {
389
392
  "anyOf": [
390
393
  {
@@ -416,57 +419,7 @@
416
419
  },
417
420
  "additionalProperties": false,
418
421
  "required": [
419
- "password"
420
- ]
421
- }
422
- },
423
- "additionalProperties": false,
424
- "required": [
425
- "type",
426
- "options"
427
- ]
428
- },
429
- {
430
- "type": "object",
431
- "properties": {
432
- "type": {
433
- "type": "string",
434
- "const": "azure-active-directory-password"
435
- },
436
- "options": {
437
- "type": "object",
438
- "properties": {
439
- "password": {
440
- "anyOf": [
441
- {
442
- "type": "object",
443
- "properties": {
444
- "secret_ref": {
445
- "type": "string"
446
- }
447
- },
448
- "additionalProperties": false,
449
- "required": [
450
- "secret_ref"
451
- ]
452
- },
453
- {
454
- "type": "object",
455
- "properties": {
456
- "secret": {
457
- "type": "string"
458
- }
459
- },
460
- "additionalProperties": false,
461
- "required": [
462
- "secret"
463
- ]
464
- }
465
- ]
466
- }
467
- },
468
- "additionalProperties": false,
469
- "required": [
422
+ "userName",
470
423
  "password"
471
424
  ]
472
425
  }
@@ -487,6 +440,9 @@
487
440
  "options": {
488
441
  "type": "object",
489
442
  "properties": {
443
+ "clientId": {
444
+ "type": "string"
445
+ },
490
446
  "clientSecret": {
491
447
  "anyOf": [
492
448
  {
@@ -514,11 +470,16 @@
514
470
  ]
515
471
  }
516
472
  ]
473
+ },
474
+ "tenantId": {
475
+ "type": "string"
517
476
  }
518
477
  },
519
478
  "additionalProperties": false,
520
479
  "required": [
521
- "clientSecret"
480
+ "clientId",
481
+ "clientSecret",
482
+ "tenantId"
522
483
  ]
523
484
  }
524
485
  },
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.0.0-dev-20260305082615",
4
+ "version": "0.0.0-dev-20260316080136",
5
5
  "author": "POWERSYNC",
6
6
  "license": "FSL-1.1-ALv2",
7
7
  "type": "module",
@@ -32,15 +32,15 @@
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.1",
37
+ "@powersync/service-types": "^0.15.0",
35
38
  "ajv": "^8.12.0",
36
39
  "better-ajv-errors": "^2.0.3",
37
- "ts-codec": "^1.3.0",
38
- "@powersync/service-types": "^0.15.0",
39
- "@powersync/service-schema": "^1.20.0",
40
- "@powersync/management-types": "^0.0.3"
40
+ "ts-codec": "^1.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@powersync/service-sync-rules": "^0.32.0",
43
+ "@powersync/service-sync-rules": "^0.33.0",
44
44
  "@types/node": "^22",
45
45
  "shx": "^0.3.3",
46
46
  "tsx": "^4",