@powersync/management-client 0.0.0-dev.9f1dde73 → 0.0.0-dev.ec9d802b

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +52 -60
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -161,52 +161,40 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
161
161
  hostname?: string | undefined;
162
162
  port?: number | undefined;
163
163
  schema?: string | undefined;
164
- authentication?: ({
164
+ authentication?: {
165
165
  type: "default";
166
- options: {
167
- password: string;
168
- userName: string;
169
- };
170
- } & {
171
166
  options: {
172
167
  password: {
173
168
  secret: string;
174
169
  } | {
175
170
  secret_ref: string;
176
171
  };
177
- };
178
- }) | ({
179
- type: "azure-active-directory-password";
180
- options: {
181
- password: string;
182
172
  userName: string;
183
- clientId: string;
184
- tenantId: string;
185
173
  };
186
- } & {
174
+ } | {
175
+ type: "azure-active-directory-password";
187
176
  options: {
188
177
  password: {
189
178
  secret: string;
190
179
  } | {
191
180
  secret_ref: string;
192
181
  };
182
+ userName: string;
183
+ clientId: string;
184
+ tenantId: string;
193
185
  };
194
- }) | ({
186
+ } | {
195
187
  type: "azure-active-directory-service-principal-secret";
196
188
  options: {
197
189
  clientId: string;
198
190
  tenantId: string;
199
- clientSecret: string;
200
- };
201
- } & {
202
- options: {
203
191
  clientSecret: {
204
192
  secret: string;
205
193
  } | {
206
194
  secret_ref: string;
207
195
  };
208
196
  };
209
- }) | undefined;
197
+ } | undefined;
210
198
  additionalConfig?: {
211
199
  pollingIntervalMs?: number | undefined;
212
200
  pollingBatchSize?: number | undefined;
@@ -390,52 +378,40 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
390
378
  hostname?: string | undefined;
391
379
  port?: number | undefined;
392
380
  schema?: string | undefined;
393
- authentication?: ({
381
+ authentication?: {
394
382
  type: "default";
395
- options: {
396
- password: string;
397
- userName: string;
398
- };
399
- } & {
400
383
  options: {
401
384
  password: {
402
385
  secret: string;
403
386
  } | {
404
387
  secret_ref: string;
405
388
  };
406
- };
407
- }) | ({
408
- type: "azure-active-directory-password";
409
- options: {
410
- password: string;
411
389
  userName: string;
412
- clientId: string;
413
- tenantId: string;
414
390
  };
415
- } & {
391
+ } | {
392
+ type: "azure-active-directory-password";
416
393
  options: {
417
394
  password: {
418
395
  secret: string;
419
396
  } | {
420
397
  secret_ref: string;
421
398
  };
399
+ userName: string;
400
+ clientId: string;
401
+ tenantId: string;
422
402
  };
423
- }) | ({
403
+ } | {
424
404
  type: "azure-active-directory-service-principal-secret";
425
405
  options: {
426
406
  clientId: string;
427
407
  tenantId: string;
428
- clientSecret: string;
429
- };
430
- } & {
431
- options: {
432
408
  clientSecret: {
433
409
  secret: string;
434
410
  } | {
435
411
  secret_ref: string;
436
412
  };
437
413
  };
438
- }) | undefined;
414
+ } | undefined;
439
415
  additionalConfig?: {
440
416
  pollingIntervalMs?: number | undefined;
441
417
  pollingBatchSize?: number | undefined;
@@ -612,6 +588,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
612
588
  errors: {
613
589
  level: "warning" | "fatal";
614
590
  message: string;
591
+ location?: {
592
+ start_offset: number;
593
+ end_offset: number;
594
+ } | undefined;
615
595
  ts?: string | undefined;
616
596
  }[];
617
597
  }[];
@@ -619,6 +599,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
619
599
  errors: {
620
600
  level: "warning" | "fatal";
621
601
  message: string;
602
+ location?: {
603
+ start_offset: number;
604
+ end_offset: number;
605
+ } | undefined;
622
606
  ts?: string | undefined;
623
607
  }[];
624
608
  connections: {
@@ -635,6 +619,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
635
619
  errors: {
636
620
  level: "warning" | "fatal";
637
621
  message: string;
622
+ location?: {
623
+ start_offset: number;
624
+ end_offset: number;
625
+ } | undefined;
638
626
  ts?: string | undefined;
639
627
  }[];
640
628
  pattern?: string | undefined;
@@ -650,6 +638,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
650
638
  errors: {
651
639
  level: "warning" | "fatal";
652
640
  message: string;
641
+ location?: {
642
+ start_offset: number;
643
+ end_offset: number;
644
+ } | undefined;
653
645
  ts?: string | undefined;
654
646
  }[];
655
647
  connections: {
@@ -666,6 +658,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
666
658
  errors: {
667
659
  level: "warning" | "fatal";
668
660
  message: string;
661
+ location?: {
662
+ start_offset: number;
663
+ end_offset: number;
664
+ } | undefined;
669
665
  ts?: string | undefined;
670
666
  }[];
671
667
  pattern?: string | undefined;
@@ -808,52 +804,40 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
808
804
  hostname?: string | undefined;
809
805
  port?: number | undefined;
810
806
  schema?: string | undefined;
811
- authentication?: ({
807
+ authentication?: {
812
808
  type: "default";
813
- options: {
814
- password: string;
815
- userName: string;
816
- };
817
- } & {
818
809
  options: {
819
810
  password: {
820
811
  secret: string;
821
812
  } | {
822
813
  secret_ref: string;
823
814
  };
824
- };
825
- }) | ({
826
- type: "azure-active-directory-password";
827
- options: {
828
- password: string;
829
815
  userName: string;
830
- clientId: string;
831
- tenantId: string;
832
816
  };
833
- } & {
817
+ } | {
818
+ type: "azure-active-directory-password";
834
819
  options: {
835
820
  password: {
836
821
  secret: string;
837
822
  } | {
838
823
  secret_ref: string;
839
824
  };
825
+ userName: string;
826
+ clientId: string;
827
+ tenantId: string;
840
828
  };
841
- }) | ({
829
+ } | {
842
830
  type: "azure-active-directory-service-principal-secret";
843
831
  options: {
844
832
  clientId: string;
845
833
  tenantId: string;
846
- clientSecret: string;
847
- };
848
- } & {
849
- options: {
850
834
  clientSecret: {
851
835
  secret: string;
852
836
  } | {
853
837
  secret_ref: string;
854
838
  };
855
839
  };
856
- }) | undefined;
840
+ } | undefined;
857
841
  additionalConfig?: {
858
842
  pollingIntervalMs?: number | undefined;
859
843
  pollingBatchSize?: number | undefined;
@@ -1007,6 +991,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1007
991
  errors: {
1008
992
  level: "warning" | "fatal";
1009
993
  message: string;
994
+ location?: {
995
+ start_offset: number;
996
+ end_offset: number;
997
+ } | undefined;
1010
998
  ts?: string | undefined;
1011
999
  }[];
1012
1000
  schema: string;
@@ -1025,6 +1013,10 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
1025
1013
  errors: {
1026
1014
  level: "warning" | "fatal";
1027
1015
  message: string;
1016
+ location?: {
1017
+ start_offset: number;
1018
+ end_offset: number;
1019
+ } | undefined;
1028
1020
  ts?: string | undefined;
1029
1021
  }[];
1030
1022
  content?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powersync/management-client",
3
- "version": "0.0.0-dev.9f1dde73",
3
+ "version": "0.0.0-dev.ec9d802b",
4
4
  "description": "A TypeScript client for the PowerSync Management Service API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@journeyapps-labs/common-sdk": "^1.0.2",
24
- "@powersync/management-types": "0.0.0-dev.9f1dde73"
24
+ "@powersync/management-types": "0.0.0-dev.ec9d802b"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/json-schema": "^7.0.15"