@powersync/management-types 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.
- package/dist/config/HostedConfig.d.ts +47 -119
- package/dist/config/connections/HostedMSSQLConnection.d.ts +92 -128
- package/dist/config/connections/HostedMSSQLConnection.js +57 -11
- package/dist/config/connections/HostedMSSQLConnection.js.map +1 -1
- package/dist/routes/dev-routes.d.ts +29 -39
- package/dist/routes/manage-routes.d.ts +71 -80
- package/json-schema/powersync-config.json +26 -2
- package/package.json +2 -3
|
@@ -165,97 +165,73 @@ export declare const AnyHostedConnection: t.Union<t.Codec<({
|
|
|
165
165
|
hostname: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
166
166
|
port: t.OptionalCodec<t.Codec<number, number, string, t.CodecProps>>;
|
|
167
167
|
schema: t.OptionalCodec<t.Codec<string, string, string, t.CodecProps>>;
|
|
168
|
-
authentication: t.OptionalCodec<t.Codec<
|
|
168
|
+
authentication: t.OptionalCodec<t.Codec<{
|
|
169
169
|
type: "default";
|
|
170
|
-
options: {
|
|
171
|
-
password: string;
|
|
172
|
-
userName: string;
|
|
173
|
-
};
|
|
174
|
-
} & {
|
|
175
170
|
options: {
|
|
176
171
|
password: {
|
|
177
172
|
secret: string;
|
|
178
173
|
} | {
|
|
179
174
|
secret_ref: string;
|
|
180
175
|
};
|
|
181
|
-
};
|
|
182
|
-
}) | ({
|
|
183
|
-
type: "azure-active-directory-password";
|
|
184
|
-
options: {
|
|
185
|
-
password: string;
|
|
186
176
|
userName: string;
|
|
187
|
-
clientId: string;
|
|
188
|
-
tenantId: string;
|
|
189
177
|
};
|
|
190
|
-
}
|
|
178
|
+
} | {
|
|
179
|
+
type: "azure-active-directory-password";
|
|
191
180
|
options: {
|
|
192
181
|
password: {
|
|
193
182
|
secret: string;
|
|
194
183
|
} | {
|
|
195
184
|
secret_ref: string;
|
|
196
185
|
};
|
|
186
|
+
userName: string;
|
|
187
|
+
clientId: string;
|
|
188
|
+
tenantId: string;
|
|
197
189
|
};
|
|
198
|
-
}
|
|
190
|
+
} | {
|
|
199
191
|
type: "azure-active-directory-service-principal-secret";
|
|
200
192
|
options: {
|
|
201
193
|
clientId: string;
|
|
202
194
|
tenantId: string;
|
|
203
|
-
clientSecret: string;
|
|
204
|
-
};
|
|
205
|
-
} & {
|
|
206
|
-
options: {
|
|
207
195
|
clientSecret: {
|
|
208
196
|
secret: string;
|
|
209
197
|
} | {
|
|
210
198
|
secret_ref: string;
|
|
211
199
|
};
|
|
212
200
|
};
|
|
213
|
-
}
|
|
201
|
+
}, {
|
|
214
202
|
type: "default";
|
|
215
|
-
options: {
|
|
216
|
-
password: string;
|
|
217
|
-
userName: string;
|
|
218
|
-
};
|
|
219
|
-
} & {
|
|
220
203
|
options: {
|
|
221
204
|
password: {
|
|
222
205
|
secret: string;
|
|
223
206
|
} | {
|
|
224
207
|
secret_ref: string;
|
|
225
208
|
};
|
|
226
|
-
};
|
|
227
|
-
}) | ({
|
|
228
|
-
type: "azure-active-directory-password";
|
|
229
|
-
options: {
|
|
230
|
-
password: string;
|
|
231
209
|
userName: string;
|
|
232
|
-
clientId: string;
|
|
233
|
-
tenantId: string;
|
|
234
210
|
};
|
|
235
|
-
}
|
|
211
|
+
} | {
|
|
212
|
+
type: "azure-active-directory-password";
|
|
236
213
|
options: {
|
|
237
214
|
password: {
|
|
238
215
|
secret: string;
|
|
239
216
|
} | {
|
|
240
217
|
secret_ref: string;
|
|
241
218
|
};
|
|
219
|
+
userName: string;
|
|
220
|
+
clientId: string;
|
|
221
|
+
tenantId: string;
|
|
242
222
|
};
|
|
243
|
-
}
|
|
223
|
+
} | {
|
|
244
224
|
type: "azure-active-directory-service-principal-secret";
|
|
245
225
|
options: {
|
|
246
226
|
clientId: string;
|
|
247
227
|
tenantId: string;
|
|
248
|
-
clientSecret: string;
|
|
249
|
-
};
|
|
250
|
-
} & {
|
|
251
|
-
options: {
|
|
252
228
|
clientSecret: {
|
|
253
229
|
secret: string;
|
|
254
230
|
} | {
|
|
255
231
|
secret_ref: string;
|
|
256
232
|
};
|
|
257
233
|
};
|
|
258
|
-
}
|
|
234
|
+
}, string, t.CodecProps>>;
|
|
259
235
|
additionalConfig: t.OptionalCodec<t.Codec<{
|
|
260
236
|
pollingIntervalMs?: number | undefined;
|
|
261
237
|
pollingBatchSize?: number | undefined;
|
|
@@ -610,52 +586,40 @@ declare const ReplicationConfig: t.ObjectCodec<{
|
|
|
610
586
|
hostname?: string | undefined;
|
|
611
587
|
port?: number | undefined;
|
|
612
588
|
schema?: string | undefined;
|
|
613
|
-
authentication?:
|
|
589
|
+
authentication?: {
|
|
614
590
|
type: "default";
|
|
615
|
-
options: {
|
|
616
|
-
password: string;
|
|
617
|
-
userName: string;
|
|
618
|
-
};
|
|
619
|
-
} & {
|
|
620
591
|
options: {
|
|
621
592
|
password: {
|
|
622
593
|
secret: string;
|
|
623
594
|
} | {
|
|
624
595
|
secret_ref: string;
|
|
625
596
|
};
|
|
626
|
-
};
|
|
627
|
-
}) | ({
|
|
628
|
-
type: "azure-active-directory-password";
|
|
629
|
-
options: {
|
|
630
|
-
password: string;
|
|
631
597
|
userName: string;
|
|
632
|
-
clientId: string;
|
|
633
|
-
tenantId: string;
|
|
634
598
|
};
|
|
635
|
-
}
|
|
599
|
+
} | {
|
|
600
|
+
type: "azure-active-directory-password";
|
|
636
601
|
options: {
|
|
637
602
|
password: {
|
|
638
603
|
secret: string;
|
|
639
604
|
} | {
|
|
640
605
|
secret_ref: string;
|
|
641
606
|
};
|
|
607
|
+
userName: string;
|
|
608
|
+
clientId: string;
|
|
609
|
+
tenantId: string;
|
|
642
610
|
};
|
|
643
|
-
}
|
|
611
|
+
} | {
|
|
644
612
|
type: "azure-active-directory-service-principal-secret";
|
|
645
613
|
options: {
|
|
646
614
|
clientId: string;
|
|
647
615
|
tenantId: string;
|
|
648
|
-
clientSecret: string;
|
|
649
|
-
};
|
|
650
|
-
} & {
|
|
651
|
-
options: {
|
|
652
616
|
clientSecret: {
|
|
653
617
|
secret: string;
|
|
654
618
|
} | {
|
|
655
619
|
secret_ref: string;
|
|
656
620
|
};
|
|
657
621
|
};
|
|
658
|
-
}
|
|
622
|
+
} | undefined;
|
|
659
623
|
additionalConfig?: {
|
|
660
624
|
pollingIntervalMs?: number | undefined;
|
|
661
625
|
pollingBatchSize?: number | undefined;
|
|
@@ -748,52 +712,40 @@ declare const ReplicationConfig: t.ObjectCodec<{
|
|
|
748
712
|
hostname?: string | undefined;
|
|
749
713
|
port?: number | undefined;
|
|
750
714
|
schema?: string | undefined;
|
|
751
|
-
authentication?:
|
|
715
|
+
authentication?: {
|
|
752
716
|
type: "default";
|
|
753
|
-
options: {
|
|
754
|
-
password: string;
|
|
755
|
-
userName: string;
|
|
756
|
-
};
|
|
757
|
-
} & {
|
|
758
717
|
options: {
|
|
759
718
|
password: {
|
|
760
719
|
secret: string;
|
|
761
720
|
} | {
|
|
762
721
|
secret_ref: string;
|
|
763
722
|
};
|
|
764
|
-
};
|
|
765
|
-
}) | ({
|
|
766
|
-
type: "azure-active-directory-password";
|
|
767
|
-
options: {
|
|
768
|
-
password: string;
|
|
769
723
|
userName: string;
|
|
770
|
-
clientId: string;
|
|
771
|
-
tenantId: string;
|
|
772
724
|
};
|
|
773
|
-
}
|
|
725
|
+
} | {
|
|
726
|
+
type: "azure-active-directory-password";
|
|
774
727
|
options: {
|
|
775
728
|
password: {
|
|
776
729
|
secret: string;
|
|
777
730
|
} | {
|
|
778
731
|
secret_ref: string;
|
|
779
732
|
};
|
|
733
|
+
userName: string;
|
|
734
|
+
clientId: string;
|
|
735
|
+
tenantId: string;
|
|
780
736
|
};
|
|
781
|
-
}
|
|
737
|
+
} | {
|
|
782
738
|
type: "azure-active-directory-service-principal-secret";
|
|
783
739
|
options: {
|
|
784
740
|
clientId: string;
|
|
785
741
|
tenantId: string;
|
|
786
|
-
clientSecret: string;
|
|
787
|
-
};
|
|
788
|
-
} & {
|
|
789
|
-
options: {
|
|
790
742
|
clientSecret: {
|
|
791
743
|
secret: string;
|
|
792
744
|
} | {
|
|
793
745
|
secret_ref: string;
|
|
794
746
|
};
|
|
795
747
|
};
|
|
796
|
-
}
|
|
748
|
+
} | undefined;
|
|
797
749
|
additionalConfig?: {
|
|
798
750
|
pollingIntervalMs?: number | undefined;
|
|
799
751
|
pollingBatchSize?: number | undefined;
|
|
@@ -977,52 +929,40 @@ export declare const BasePowerSyncHostedConfig: t.ObjectCodec<{
|
|
|
977
929
|
hostname?: string | undefined;
|
|
978
930
|
port?: number | undefined;
|
|
979
931
|
schema?: string | undefined;
|
|
980
|
-
authentication?:
|
|
932
|
+
authentication?: {
|
|
981
933
|
type: "default";
|
|
982
|
-
options: {
|
|
983
|
-
password: string;
|
|
984
|
-
userName: string;
|
|
985
|
-
};
|
|
986
|
-
} & {
|
|
987
934
|
options: {
|
|
988
935
|
password: {
|
|
989
936
|
secret: string;
|
|
990
937
|
} | {
|
|
991
938
|
secret_ref: string;
|
|
992
939
|
};
|
|
993
|
-
};
|
|
994
|
-
}) | ({
|
|
995
|
-
type: "azure-active-directory-password";
|
|
996
|
-
options: {
|
|
997
|
-
password: string;
|
|
998
940
|
userName: string;
|
|
999
|
-
clientId: string;
|
|
1000
|
-
tenantId: string;
|
|
1001
941
|
};
|
|
1002
|
-
}
|
|
942
|
+
} | {
|
|
943
|
+
type: "azure-active-directory-password";
|
|
1003
944
|
options: {
|
|
1004
945
|
password: {
|
|
1005
946
|
secret: string;
|
|
1006
947
|
} | {
|
|
1007
948
|
secret_ref: string;
|
|
1008
949
|
};
|
|
950
|
+
userName: string;
|
|
951
|
+
clientId: string;
|
|
952
|
+
tenantId: string;
|
|
1009
953
|
};
|
|
1010
|
-
}
|
|
954
|
+
} | {
|
|
1011
955
|
type: "azure-active-directory-service-principal-secret";
|
|
1012
956
|
options: {
|
|
1013
957
|
clientId: string;
|
|
1014
958
|
tenantId: string;
|
|
1015
|
-
clientSecret: string;
|
|
1016
|
-
};
|
|
1017
|
-
} & {
|
|
1018
|
-
options: {
|
|
1019
959
|
clientSecret: {
|
|
1020
960
|
secret: string;
|
|
1021
961
|
} | {
|
|
1022
962
|
secret_ref: string;
|
|
1023
963
|
};
|
|
1024
964
|
};
|
|
1025
|
-
}
|
|
965
|
+
} | undefined;
|
|
1026
966
|
additionalConfig?: {
|
|
1027
967
|
pollingIntervalMs?: number | undefined;
|
|
1028
968
|
pollingBatchSize?: number | undefined;
|
|
@@ -1117,52 +1057,40 @@ export declare const BasePowerSyncHostedConfig: t.ObjectCodec<{
|
|
|
1117
1057
|
hostname?: string | undefined;
|
|
1118
1058
|
port?: number | undefined;
|
|
1119
1059
|
schema?: string | undefined;
|
|
1120
|
-
authentication?:
|
|
1060
|
+
authentication?: {
|
|
1121
1061
|
type: "default";
|
|
1122
|
-
options: {
|
|
1123
|
-
password: string;
|
|
1124
|
-
userName: string;
|
|
1125
|
-
};
|
|
1126
|
-
} & {
|
|
1127
1062
|
options: {
|
|
1128
1063
|
password: {
|
|
1129
1064
|
secret: string;
|
|
1130
1065
|
} | {
|
|
1131
1066
|
secret_ref: string;
|
|
1132
1067
|
};
|
|
1133
|
-
};
|
|
1134
|
-
}) | ({
|
|
1135
|
-
type: "azure-active-directory-password";
|
|
1136
|
-
options: {
|
|
1137
|
-
password: string;
|
|
1138
1068
|
userName: string;
|
|
1139
|
-
clientId: string;
|
|
1140
|
-
tenantId: string;
|
|
1141
1069
|
};
|
|
1142
|
-
}
|
|
1070
|
+
} | {
|
|
1071
|
+
type: "azure-active-directory-password";
|
|
1143
1072
|
options: {
|
|
1144
1073
|
password: {
|
|
1145
1074
|
secret: string;
|
|
1146
1075
|
} | {
|
|
1147
1076
|
secret_ref: string;
|
|
1148
1077
|
};
|
|
1078
|
+
userName: string;
|
|
1079
|
+
clientId: string;
|
|
1080
|
+
tenantId: string;
|
|
1149
1081
|
};
|
|
1150
|
-
}
|
|
1082
|
+
} | {
|
|
1151
1083
|
type: "azure-active-directory-service-principal-secret";
|
|
1152
1084
|
options: {
|
|
1153
1085
|
clientId: string;
|
|
1154
1086
|
tenantId: string;
|
|
1155
|
-
clientSecret: string;
|
|
1156
|
-
};
|
|
1157
|
-
} & {
|
|
1158
|
-
options: {
|
|
1159
1087
|
clientSecret: {
|
|
1160
1088
|
secret: string;
|
|
1161
1089
|
} | {
|
|
1162
1090
|
secret_ref: string;
|
|
1163
1091
|
};
|
|
1164
1092
|
};
|
|
1165
|
-
}
|
|
1093
|
+
} | undefined;
|
|
1166
1094
|
additionalConfig?: {
|
|
1167
1095
|
pollingIntervalMs?: number | undefined;
|
|
1168
1096
|
pollingBatchSize?: number | undefined;
|