@powersync/management-client 0.0.0-dev.ccbd04ad → 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.
- package/dist/index.d.ts +24 -60
- 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
|
-
}
|
|
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
|
-
}
|
|
414
|
+
} | undefined;
|
|
439
415
|
additionalConfig?: {
|
|
440
416
|
pollingIntervalMs?: number | undefined;
|
|
441
417
|
pollingBatchSize?: number | undefined;
|
|
@@ -828,52 +804,40 @@ export declare class PowerSyncManagementClient<C extends sdk.NetworkClient = sdk
|
|
|
828
804
|
hostname?: string | undefined;
|
|
829
805
|
port?: number | undefined;
|
|
830
806
|
schema?: string | undefined;
|
|
831
|
-
authentication?:
|
|
807
|
+
authentication?: {
|
|
832
808
|
type: "default";
|
|
833
|
-
options: {
|
|
834
|
-
password: string;
|
|
835
|
-
userName: string;
|
|
836
|
-
};
|
|
837
|
-
} & {
|
|
838
809
|
options: {
|
|
839
810
|
password: {
|
|
840
811
|
secret: string;
|
|
841
812
|
} | {
|
|
842
813
|
secret_ref: string;
|
|
843
814
|
};
|
|
844
|
-
};
|
|
845
|
-
}) | ({
|
|
846
|
-
type: "azure-active-directory-password";
|
|
847
|
-
options: {
|
|
848
|
-
password: string;
|
|
849
815
|
userName: string;
|
|
850
|
-
clientId: string;
|
|
851
|
-
tenantId: string;
|
|
852
816
|
};
|
|
853
|
-
}
|
|
817
|
+
} | {
|
|
818
|
+
type: "azure-active-directory-password";
|
|
854
819
|
options: {
|
|
855
820
|
password: {
|
|
856
821
|
secret: string;
|
|
857
822
|
} | {
|
|
858
823
|
secret_ref: string;
|
|
859
824
|
};
|
|
825
|
+
userName: string;
|
|
826
|
+
clientId: string;
|
|
827
|
+
tenantId: string;
|
|
860
828
|
};
|
|
861
|
-
}
|
|
829
|
+
} | {
|
|
862
830
|
type: "azure-active-directory-service-principal-secret";
|
|
863
831
|
options: {
|
|
864
832
|
clientId: string;
|
|
865
833
|
tenantId: string;
|
|
866
|
-
clientSecret: string;
|
|
867
|
-
};
|
|
868
|
-
} & {
|
|
869
|
-
options: {
|
|
870
834
|
clientSecret: {
|
|
871
835
|
secret: string;
|
|
872
836
|
} | {
|
|
873
837
|
secret_ref: string;
|
|
874
838
|
};
|
|
875
839
|
};
|
|
876
|
-
}
|
|
840
|
+
} | undefined;
|
|
877
841
|
additionalConfig?: {
|
|
878
842
|
pollingIntervalMs?: number | undefined;
|
|
879
843
|
pollingBatchSize?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powersync/management-client",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
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.
|
|
24
|
+
"@powersync/management-types": "0.0.0-dev.ec9d802b"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/json-schema": "^7.0.15"
|