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

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,40 @@ 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
49
  };
62
- } & {
50
+ } | {
51
+ type: "azure-active-directory-password";
63
52
  options: {
64
53
  password: {
65
54
  secret: string;
66
55
  } | {
67
56
  secret_ref: string;
68
57
  };
58
+ userName: string;
59
+ clientId: string;
60
+ tenantId: string;
69
61
  };
70
- }) | ({
62
+ } | {
71
63
  type: "azure-active-directory-service-principal-secret";
72
64
  options: {
73
65
  clientId: string;
74
66
  tenantId: string;
75
- clientSecret: string;
76
- };
77
- } & {
78
- options: {
79
67
  clientSecret: {
80
68
  secret: string;
81
69
  } | {
82
70
  secret_ref: string;
83
71
  };
84
72
  };
85
- }) | undefined;
73
+ } | undefined;
86
74
  additionalConfig?: {
87
75
  pollingIntervalMs?: number | undefined;
88
76
  pollingBatchSize?: number | undefined;
@@ -226,52 +214,40 @@ export declare const ServiceCloudConfig: t.Intersection<t.Codec<{
226
214
  hostname?: string | undefined;
227
215
  port?: number | undefined;
228
216
  schema?: string | undefined;
229
- authentication?: ({
217
+ authentication?: {
230
218
  type: "default";
231
- options: {
232
- password: string;
233
- userName: string;
234
- };
235
- } & {
236
219
  options: {
237
220
  password: {
238
221
  secret: string;
239
222
  } | {
240
223
  secret_ref: string;
241
224
  };
242
- };
243
- }) | ({
244
- type: "azure-active-directory-password";
245
- options: {
246
- password: string;
247
225
  userName: string;
248
- clientId: string;
249
- tenantId: string;
250
226
  };
251
- } & {
227
+ } | {
228
+ type: "azure-active-directory-password";
252
229
  options: {
253
230
  password: {
254
231
  secret: string;
255
232
  } | {
256
233
  secret_ref: string;
257
234
  };
235
+ userName: string;
236
+ clientId: string;
237
+ tenantId: string;
258
238
  };
259
- }) | ({
239
+ } | {
260
240
  type: "azure-active-directory-service-principal-secret";
261
241
  options: {
262
242
  clientId: string;
263
243
  tenantId: string;
264
- clientSecret: string;
265
- };
266
- } & {
267
- options: {
268
244
  clientSecret: {
269
245
  secret: string;
270
246
  } | {
271
247
  secret_ref: string;
272
248
  };
273
249
  };
274
- }) | undefined;
250
+ } | undefined;
275
251
  additionalConfig?: {
276
252
  pollingIntervalMs?: number | undefined;
277
253
  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,6 +419,7 @@
416
419
  },
417
420
  "additionalProperties": false,
418
421
  "required": [
422
+ "userName",
419
423
  "password"
420
424
  ]
421
425
  }
@@ -436,6 +440,9 @@
436
440
  "options": {
437
441
  "type": "object",
438
442
  "properties": {
443
+ "userName": {
444
+ "type": "string"
445
+ },
439
446
  "password": {
440
447
  "anyOf": [
441
448
  {
@@ -463,11 +470,20 @@
463
470
  ]
464
471
  }
465
472
  ]
473
+ },
474
+ "clientId": {
475
+ "type": "string"
476
+ },
477
+ "tenantId": {
478
+ "type": "string"
466
479
  }
467
480
  },
468
481
  "additionalProperties": false,
469
482
  "required": [
470
- "password"
483
+ "userName",
484
+ "password",
485
+ "clientId",
486
+ "tenantId"
471
487
  ]
472
488
  }
473
489
  },
@@ -487,6 +503,9 @@
487
503
  "options": {
488
504
  "type": "object",
489
505
  "properties": {
506
+ "clientId": {
507
+ "type": "string"
508
+ },
490
509
  "clientSecret": {
491
510
  "anyOf": [
492
511
  {
@@ -514,11 +533,16 @@
514
533
  ]
515
534
  }
516
535
  ]
536
+ },
537
+ "tenantId": {
538
+ "type": "string"
517
539
  }
518
540
  },
519
541
  "additionalProperties": false,
520
542
  "required": [
521
- "clientSecret"
543
+ "clientId",
544
+ "clientSecret",
545
+ "tenantId"
522
546
  ]
523
547
  }
524
548
  },
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-20260305101740",
5
5
  "author": "POWERSYNC",
6
6
  "license": "FSL-1.1-ALv2",
7
7
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "ts-codec": "^1.3.0",
38
38
  "@powersync/service-types": "^0.15.0",
39
39
  "@powersync/service-schema": "^1.20.0",
40
- "@powersync/management-types": "^0.0.3"
40
+ "@powersync/management-types": "0.0.0-dev.ec9d802b"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@powersync/service-sync-rules": "^0.32.0",