adaptic-backend 1.0.341 → 1.0.343
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/Account.cjs +4 -12
- package/Alert.cjs +11 -33
- package/Allocation.cjs +11 -33
- package/AlpacaAccount.cjs +8 -24
- package/Authenticator.cjs +8 -24
- package/Customer.cjs +8 -24
- package/Session.cjs +8 -24
- package/User.cjs +5 -15
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +4 -12
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +11 -33
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +11 -33
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +8 -24
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +8 -24
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +8 -24
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +8 -24
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +5 -15
- package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/esm/generated/typegraphql-prisma/enhance.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.mjs +7 -7
- package/generated/typegraphql-prisma/enhance.cjs +1 -1
- package/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.cjs +6 -6
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
- package/package.json +1 -1
package/Account.cjs
CHANGED
@@ -503,12 +503,10 @@ exports.Account = {
|
|
503
503
|
const variables = {
|
504
504
|
where: {
|
505
505
|
id: props.id !== undefined ? props.id : undefined,
|
506
|
+
providerAccountId: props.providerAccountId !== undefined ? props.providerAccountId : undefined,
|
506
507
|
userId: props.userId !== undefined ? {
|
507
508
|
equals: props.userId
|
508
509
|
} : undefined,
|
509
|
-
providerAccountId: props.providerAccountId !== undefined ? {
|
510
|
-
equals: props.providerAccountId
|
511
|
-
} : undefined,
|
512
510
|
},
|
513
511
|
data: {
|
514
512
|
id: props.id !== undefined ? {
|
@@ -1188,12 +1186,10 @@ exports.Account = {
|
|
1188
1186
|
const variables = {
|
1189
1187
|
where: {
|
1190
1188
|
id: props.id !== undefined ? props.id : undefined,
|
1189
|
+
providerAccountId: props.providerAccountId !== undefined ? props.providerAccountId : undefined,
|
1191
1190
|
userId: props.userId !== undefined ? {
|
1192
1191
|
equals: props.userId
|
1193
1192
|
} : undefined,
|
1194
|
-
providerAccountId: props.providerAccountId !== undefined ? {
|
1195
|
-
equals: props.providerAccountId
|
1196
|
-
} : undefined,
|
1197
1193
|
},
|
1198
1194
|
create: {
|
1199
1195
|
type: props.type !== undefined ? props.type : undefined,
|
@@ -2055,12 +2051,10 @@ exports.Account = {
|
|
2055
2051
|
const variables = props.map(prop => ({
|
2056
2052
|
where: {
|
2057
2053
|
id: prop.id !== undefined ? prop.id : undefined,
|
2054
|
+
providerAccountId: prop.providerAccountId !== undefined ? prop.providerAccountId : undefined,
|
2058
2055
|
userId: prop.userId !== undefined ? {
|
2059
2056
|
equals: prop.userId
|
2060
2057
|
} : undefined,
|
2061
|
-
providerAccountId: prop.providerAccountId !== undefined ? {
|
2062
|
-
equals: prop.providerAccountId
|
2063
|
-
} : undefined,
|
2064
2058
|
},
|
2065
2059
|
data: {
|
2066
2060
|
id: prop.id !== undefined ? {
|
@@ -2814,12 +2808,10 @@ exports.Account = {
|
|
2814
2808
|
const variables = {
|
2815
2809
|
where: whereInput ? whereInput : {
|
2816
2810
|
id: props.id !== undefined ? props.id : undefined,
|
2811
|
+
providerAccountId: props.providerAccountId !== undefined ? props.providerAccountId : undefined,
|
2817
2812
|
userId: props.userId !== undefined ? {
|
2818
2813
|
equals: props.userId
|
2819
2814
|
} : undefined,
|
2820
|
-
providerAccountId: props.providerAccountId !== undefined ? {
|
2821
|
-
equals: props.providerAccountId
|
2822
|
-
} : undefined,
|
2823
2815
|
},
|
2824
2816
|
};
|
2825
2817
|
const filteredVariables = (0, utils_1.removeUndefinedProps)(variables);
|
package/Alert.cjs
CHANGED
@@ -182,12 +182,10 @@ exports.Alert = {
|
|
182
182
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
183
183
|
where: {
|
184
184
|
id: item.id !== undefined ? item.id : undefined,
|
185
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
185
186
|
userId: item.userId !== undefined ? {
|
186
187
|
equals: item.userId
|
187
188
|
} : undefined,
|
188
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
189
|
-
equals: item.providerAccountId
|
190
|
-
} : undefined,
|
191
189
|
},
|
192
190
|
create: {
|
193
191
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -668,12 +666,10 @@ exports.Alert = {
|
|
668
666
|
} : { upsert: props.alpacaAccount.user.accounts.map((item) => ({
|
669
667
|
where: {
|
670
668
|
id: item.id !== undefined ? item.id : undefined,
|
669
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
671
670
|
userId: item.userId !== undefined ? {
|
672
671
|
equals: item.userId
|
673
672
|
} : undefined,
|
674
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
675
|
-
equals: item.providerAccountId
|
676
|
-
} : undefined,
|
677
673
|
},
|
678
674
|
update: {
|
679
675
|
id: item.id !== undefined ? {
|
@@ -840,12 +836,10 @@ exports.Alert = {
|
|
840
836
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
841
837
|
where: {
|
842
838
|
id: item.id !== undefined ? item.id : undefined,
|
839
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
843
840
|
userId: item.userId !== undefined ? {
|
844
841
|
equals: item.userId
|
845
842
|
} : undefined,
|
846
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
847
|
-
equals: item.providerAccountId
|
848
|
-
} : undefined,
|
849
843
|
},
|
850
844
|
create: {
|
851
845
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1014,12 +1008,10 @@ exports.Alert = {
|
|
1014
1008
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1015
1009
|
where: {
|
1016
1010
|
id: item.id !== undefined ? item.id : undefined,
|
1011
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1017
1012
|
userId: item.userId !== undefined ? {
|
1018
1013
|
equals: item.userId
|
1019
1014
|
} : undefined,
|
1020
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1021
|
-
equals: item.providerAccountId
|
1022
|
-
} : undefined,
|
1023
1015
|
},
|
1024
1016
|
create: {
|
1025
1017
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1284,12 +1276,10 @@ exports.Alert = {
|
|
1284
1276
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1285
1277
|
where: {
|
1286
1278
|
id: item.id !== undefined ? item.id : undefined,
|
1279
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1287
1280
|
userId: item.userId !== undefined ? {
|
1288
1281
|
equals: item.userId
|
1289
1282
|
} : undefined,
|
1290
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1291
|
-
equals: item.providerAccountId
|
1292
|
-
} : undefined,
|
1293
1283
|
},
|
1294
1284
|
create: {
|
1295
1285
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1609,12 +1599,10 @@ exports.Alert = {
|
|
1609
1599
|
} : { upsert: props.alpacaAccount.user.accounts.map((item) => ({
|
1610
1600
|
where: {
|
1611
1601
|
id: item.id !== undefined ? item.id : undefined,
|
1602
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1612
1603
|
userId: item.userId !== undefined ? {
|
1613
1604
|
equals: item.userId
|
1614
1605
|
} : undefined,
|
1615
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1616
|
-
equals: item.providerAccountId
|
1617
|
-
} : undefined,
|
1618
1606
|
},
|
1619
1607
|
update: {
|
1620
1608
|
id: item.id !== undefined ? {
|
@@ -1781,12 +1769,10 @@ exports.Alert = {
|
|
1781
1769
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1782
1770
|
where: {
|
1783
1771
|
id: item.id !== undefined ? item.id : undefined,
|
1772
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1784
1773
|
userId: item.userId !== undefined ? {
|
1785
1774
|
equals: item.userId
|
1786
1775
|
} : undefined,
|
1787
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1788
|
-
equals: item.providerAccountId
|
1789
|
-
} : undefined,
|
1790
1776
|
},
|
1791
1777
|
create: {
|
1792
1778
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1955,12 +1941,10 @@ exports.Alert = {
|
|
1955
1941
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1956
1942
|
where: {
|
1957
1943
|
id: item.id !== undefined ? item.id : undefined,
|
1944
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1958
1945
|
userId: item.userId !== undefined ? {
|
1959
1946
|
equals: item.userId
|
1960
1947
|
} : undefined,
|
1961
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1962
|
-
equals: item.providerAccountId
|
1963
|
-
} : undefined,
|
1964
1948
|
},
|
1965
1949
|
create: {
|
1966
1950
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2365,12 +2349,10 @@ exports.Alert = {
|
|
2365
2349
|
} : { upsert: prop.alpacaAccount.user.accounts.map((item) => ({
|
2366
2350
|
where: {
|
2367
2351
|
id: item.id !== undefined ? item.id : undefined,
|
2352
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2368
2353
|
userId: item.userId !== undefined ? {
|
2369
2354
|
equals: item.userId
|
2370
2355
|
} : undefined,
|
2371
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2372
|
-
equals: item.providerAccountId
|
2373
|
-
} : undefined,
|
2374
2356
|
},
|
2375
2357
|
update: {
|
2376
2358
|
id: item.id !== undefined ? {
|
@@ -2537,12 +2519,10 @@ exports.Alert = {
|
|
2537
2519
|
: { connectOrCreate: prop.alpacaAccount.user.accounts.map((item) => ({
|
2538
2520
|
where: {
|
2539
2521
|
id: item.id !== undefined ? item.id : undefined,
|
2522
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2540
2523
|
userId: item.userId !== undefined ? {
|
2541
2524
|
equals: item.userId
|
2542
2525
|
} : undefined,
|
2543
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2544
|
-
equals: item.providerAccountId
|
2545
|
-
} : undefined,
|
2546
2526
|
},
|
2547
2527
|
create: {
|
2548
2528
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2711,12 +2691,10 @@ exports.Alert = {
|
|
2711
2691
|
: { connectOrCreate: prop.alpacaAccount.user.accounts.map((item) => ({
|
2712
2692
|
where: {
|
2713
2693
|
id: item.id !== undefined ? item.id : undefined,
|
2694
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2714
2695
|
userId: item.userId !== undefined ? {
|
2715
2696
|
equals: item.userId
|
2716
2697
|
} : undefined,
|
2717
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2718
|
-
equals: item.providerAccountId
|
2719
|
-
} : undefined,
|
2720
2698
|
},
|
2721
2699
|
create: {
|
2722
2700
|
type: item.type !== undefined ? item.type : undefined,
|
package/Allocation.cjs
CHANGED
@@ -218,12 +218,10 @@ exports.Allocation = {
|
|
218
218
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
219
219
|
where: {
|
220
220
|
id: item.id !== undefined ? item.id : undefined,
|
221
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
221
222
|
userId: item.userId !== undefined ? {
|
222
223
|
equals: item.userId
|
223
224
|
} : undefined,
|
224
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
225
|
-
equals: item.providerAccountId
|
226
|
-
} : undefined,
|
227
225
|
},
|
228
226
|
create: {
|
229
227
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -686,12 +684,10 @@ exports.Allocation = {
|
|
686
684
|
} : { upsert: props.alpacaAccount.user.accounts.map((item) => ({
|
687
685
|
where: {
|
688
686
|
id: item.id !== undefined ? item.id : undefined,
|
687
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
689
688
|
userId: item.userId !== undefined ? {
|
690
689
|
equals: item.userId
|
691
690
|
} : undefined,
|
692
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
693
|
-
equals: item.providerAccountId
|
694
|
-
} : undefined,
|
695
691
|
},
|
696
692
|
update: {
|
697
693
|
id: item.id !== undefined ? {
|
@@ -858,12 +854,10 @@ exports.Allocation = {
|
|
858
854
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
859
855
|
where: {
|
860
856
|
id: item.id !== undefined ? item.id : undefined,
|
857
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
861
858
|
userId: item.userId !== undefined ? {
|
862
859
|
equals: item.userId
|
863
860
|
} : undefined,
|
864
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
865
|
-
equals: item.providerAccountId
|
866
|
-
} : undefined,
|
867
861
|
},
|
868
862
|
create: {
|
869
863
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1047,12 +1041,10 @@ exports.Allocation = {
|
|
1047
1041
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1048
1042
|
where: {
|
1049
1043
|
id: item.id !== undefined ? item.id : undefined,
|
1044
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1050
1045
|
userId: item.userId !== undefined ? {
|
1051
1046
|
equals: item.userId
|
1052
1047
|
} : undefined,
|
1053
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1054
|
-
equals: item.providerAccountId
|
1055
|
-
} : undefined,
|
1056
1048
|
},
|
1057
1049
|
create: {
|
1058
1050
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1317,12 +1309,10 @@ exports.Allocation = {
|
|
1317
1309
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1318
1310
|
where: {
|
1319
1311
|
id: item.id !== undefined ? item.id : undefined,
|
1312
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1320
1313
|
userId: item.userId !== undefined ? {
|
1321
1314
|
equals: item.userId
|
1322
1315
|
} : undefined,
|
1323
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1324
|
-
equals: item.providerAccountId
|
1325
|
-
} : undefined,
|
1326
1316
|
},
|
1327
1317
|
create: {
|
1328
1318
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1626,12 +1616,10 @@ exports.Allocation = {
|
|
1626
1616
|
} : { upsert: props.alpacaAccount.user.accounts.map((item) => ({
|
1627
1617
|
where: {
|
1628
1618
|
id: item.id !== undefined ? item.id : undefined,
|
1619
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1629
1620
|
userId: item.userId !== undefined ? {
|
1630
1621
|
equals: item.userId
|
1631
1622
|
} : undefined,
|
1632
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1633
|
-
equals: item.providerAccountId
|
1634
|
-
} : undefined,
|
1635
1623
|
},
|
1636
1624
|
update: {
|
1637
1625
|
id: item.id !== undefined ? {
|
@@ -1798,12 +1786,10 @@ exports.Allocation = {
|
|
1798
1786
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1799
1787
|
where: {
|
1800
1788
|
id: item.id !== undefined ? item.id : undefined,
|
1789
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1801
1790
|
userId: item.userId !== undefined ? {
|
1802
1791
|
equals: item.userId
|
1803
1792
|
} : undefined,
|
1804
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1805
|
-
equals: item.providerAccountId
|
1806
|
-
} : undefined,
|
1807
1793
|
},
|
1808
1794
|
create: {
|
1809
1795
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1987,12 +1973,10 @@ exports.Allocation = {
|
|
1987
1973
|
: { connectOrCreate: props.alpacaAccount.user.accounts.map((item) => ({
|
1988
1974
|
where: {
|
1989
1975
|
id: item.id !== undefined ? item.id : undefined,
|
1976
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1990
1977
|
userId: item.userId !== undefined ? {
|
1991
1978
|
equals: item.userId
|
1992
1979
|
} : undefined,
|
1993
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1994
|
-
equals: item.providerAccountId
|
1995
|
-
} : undefined,
|
1996
1980
|
},
|
1997
1981
|
create: {
|
1998
1982
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2379,12 +2363,10 @@ exports.Allocation = {
|
|
2379
2363
|
} : { upsert: prop.alpacaAccount.user.accounts.map((item) => ({
|
2380
2364
|
where: {
|
2381
2365
|
id: item.id !== undefined ? item.id : undefined,
|
2366
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2382
2367
|
userId: item.userId !== undefined ? {
|
2383
2368
|
equals: item.userId
|
2384
2369
|
} : undefined,
|
2385
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2386
|
-
equals: item.providerAccountId
|
2387
|
-
} : undefined,
|
2388
2370
|
},
|
2389
2371
|
update: {
|
2390
2372
|
id: item.id !== undefined ? {
|
@@ -2551,12 +2533,10 @@ exports.Allocation = {
|
|
2551
2533
|
: { connectOrCreate: prop.alpacaAccount.user.accounts.map((item) => ({
|
2552
2534
|
where: {
|
2553
2535
|
id: item.id !== undefined ? item.id : undefined,
|
2536
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2554
2537
|
userId: item.userId !== undefined ? {
|
2555
2538
|
equals: item.userId
|
2556
2539
|
} : undefined,
|
2557
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2558
|
-
equals: item.providerAccountId
|
2559
|
-
} : undefined,
|
2560
2540
|
},
|
2561
2541
|
create: {
|
2562
2542
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2740,12 +2720,10 @@ exports.Allocation = {
|
|
2740
2720
|
: { connectOrCreate: prop.alpacaAccount.user.accounts.map((item) => ({
|
2741
2721
|
where: {
|
2742
2722
|
id: item.id !== undefined ? item.id : undefined,
|
2723
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2743
2724
|
userId: item.userId !== undefined ? {
|
2744
2725
|
equals: item.userId
|
2745
2726
|
} : undefined,
|
2746
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2747
|
-
equals: item.providerAccountId
|
2748
|
-
} : undefined,
|
2749
2727
|
},
|
2750
2728
|
create: {
|
2751
2729
|
type: item.type !== undefined ? item.type : undefined,
|
package/AlpacaAccount.cjs
CHANGED
@@ -222,12 +222,10 @@ exports.AlpacaAccount = {
|
|
222
222
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
223
223
|
where: {
|
224
224
|
id: item.id !== undefined ? item.id : undefined,
|
225
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
225
226
|
userId: item.userId !== undefined ? {
|
226
227
|
equals: item.userId
|
227
228
|
} : undefined,
|
228
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
229
|
-
equals: item.providerAccountId
|
230
|
-
} : undefined,
|
231
229
|
},
|
232
230
|
create: {
|
233
231
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -718,12 +716,10 @@ exports.AlpacaAccount = {
|
|
718
716
|
} : { upsert: props.user.accounts.map((item) => ({
|
719
717
|
where: {
|
720
718
|
id: item.id !== undefined ? item.id : undefined,
|
719
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
721
720
|
userId: item.userId !== undefined ? {
|
722
721
|
equals: item.userId
|
723
722
|
} : undefined,
|
724
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
725
|
-
equals: item.providerAccountId
|
726
|
-
} : undefined,
|
727
723
|
},
|
728
724
|
update: {
|
729
725
|
id: item.id !== undefined ? {
|
@@ -890,12 +886,10 @@ exports.AlpacaAccount = {
|
|
890
886
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
891
887
|
where: {
|
892
888
|
id: item.id !== undefined ? item.id : undefined,
|
889
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
893
890
|
userId: item.userId !== undefined ? {
|
894
891
|
equals: item.userId
|
895
892
|
} : undefined,
|
896
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
897
|
-
equals: item.providerAccountId
|
898
|
-
} : undefined,
|
899
893
|
},
|
900
894
|
create: {
|
901
895
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1173,12 +1167,10 @@ exports.AlpacaAccount = {
|
|
1173
1167
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1174
1168
|
where: {
|
1175
1169
|
id: item.id !== undefined ? item.id : undefined,
|
1170
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1176
1171
|
userId: item.userId !== undefined ? {
|
1177
1172
|
equals: item.userId
|
1178
1173
|
} : undefined,
|
1179
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1180
|
-
equals: item.providerAccountId
|
1181
|
-
} : undefined,
|
1182
1174
|
},
|
1183
1175
|
create: {
|
1184
1176
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1487,12 +1479,10 @@ exports.AlpacaAccount = {
|
|
1487
1479
|
} : { upsert: props.user.accounts.map((item) => ({
|
1488
1480
|
where: {
|
1489
1481
|
id: item.id !== undefined ? item.id : undefined,
|
1482
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1490
1483
|
userId: item.userId !== undefined ? {
|
1491
1484
|
equals: item.userId
|
1492
1485
|
} : undefined,
|
1493
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1494
|
-
equals: item.providerAccountId
|
1495
|
-
} : undefined,
|
1496
1486
|
},
|
1497
1487
|
update: {
|
1498
1488
|
id: item.id !== undefined ? {
|
@@ -1659,12 +1649,10 @@ exports.AlpacaAccount = {
|
|
1659
1649
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1660
1650
|
where: {
|
1661
1651
|
id: item.id !== undefined ? item.id : undefined,
|
1652
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1662
1653
|
userId: item.userId !== undefined ? {
|
1663
1654
|
equals: item.userId
|
1664
1655
|
} : undefined,
|
1665
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1666
|
-
equals: item.providerAccountId
|
1667
|
-
} : undefined,
|
1668
1656
|
},
|
1669
1657
|
create: {
|
1670
1658
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2071,12 +2059,10 @@ exports.AlpacaAccount = {
|
|
2071
2059
|
} : { upsert: prop.user.accounts.map((item) => ({
|
2072
2060
|
where: {
|
2073
2061
|
id: item.id !== undefined ? item.id : undefined,
|
2062
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2074
2063
|
userId: item.userId !== undefined ? {
|
2075
2064
|
equals: item.userId
|
2076
2065
|
} : undefined,
|
2077
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2078
|
-
equals: item.providerAccountId
|
2079
|
-
} : undefined,
|
2080
2066
|
},
|
2081
2067
|
update: {
|
2082
2068
|
id: item.id !== undefined ? {
|
@@ -2243,12 +2229,10 @@ exports.AlpacaAccount = {
|
|
2243
2229
|
: { connectOrCreate: prop.user.accounts.map((item) => ({
|
2244
2230
|
where: {
|
2245
2231
|
id: item.id !== undefined ? item.id : undefined,
|
2232
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2246
2233
|
userId: item.userId !== undefined ? {
|
2247
2234
|
equals: item.userId
|
2248
2235
|
} : undefined,
|
2249
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2250
|
-
equals: item.providerAccountId
|
2251
|
-
} : undefined,
|
2252
2236
|
},
|
2253
2237
|
create: {
|
2254
2238
|
type: item.type !== undefined ? item.type : undefined,
|
package/Authenticator.cjs
CHANGED
@@ -228,12 +228,10 @@ exports.Authenticator = {
|
|
228
228
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
229
229
|
where: {
|
230
230
|
id: item.id !== undefined ? item.id : undefined,
|
231
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
231
232
|
userId: item.userId !== undefined ? {
|
232
233
|
equals: item.userId
|
233
234
|
} : undefined,
|
234
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
235
|
-
equals: item.providerAccountId
|
236
|
-
} : undefined,
|
237
235
|
},
|
238
236
|
create: {
|
239
237
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -649,12 +647,10 @@ exports.Authenticator = {
|
|
649
647
|
} : { upsert: props.user.accounts.map((item) => ({
|
650
648
|
where: {
|
651
649
|
id: item.id !== undefined ? item.id : undefined,
|
650
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
652
651
|
userId: item.userId !== undefined ? {
|
653
652
|
equals: item.userId
|
654
653
|
} : undefined,
|
655
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
656
|
-
equals: item.providerAccountId
|
657
|
-
} : undefined,
|
658
654
|
},
|
659
655
|
update: {
|
660
656
|
id: item.id !== undefined ? {
|
@@ -1006,12 +1002,10 @@ exports.Authenticator = {
|
|
1006
1002
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1007
1003
|
where: {
|
1008
1004
|
id: item.id !== undefined ? item.id : undefined,
|
1005
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1009
1006
|
userId: item.userId !== undefined ? {
|
1010
1007
|
equals: item.userId
|
1011
1008
|
} : undefined,
|
1012
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1013
|
-
equals: item.providerAccountId
|
1014
|
-
} : undefined,
|
1015
1009
|
},
|
1016
1010
|
create: {
|
1017
1011
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1276,12 +1270,10 @@ exports.Authenticator = {
|
|
1276
1270
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1277
1271
|
where: {
|
1278
1272
|
id: item.id !== undefined ? item.id : undefined,
|
1273
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1279
1274
|
userId: item.userId !== undefined ? {
|
1280
1275
|
equals: item.userId
|
1281
1276
|
} : undefined,
|
1282
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1283
|
-
equals: item.providerAccountId
|
1284
|
-
} : undefined,
|
1285
1277
|
},
|
1286
1278
|
create: {
|
1287
1279
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -1536,12 +1528,10 @@ exports.Authenticator = {
|
|
1536
1528
|
} : { upsert: props.user.accounts.map((item) => ({
|
1537
1529
|
where: {
|
1538
1530
|
id: item.id !== undefined ? item.id : undefined,
|
1531
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1539
1532
|
userId: item.userId !== undefined ? {
|
1540
1533
|
equals: item.userId
|
1541
1534
|
} : undefined,
|
1542
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1543
|
-
equals: item.providerAccountId
|
1544
|
-
} : undefined,
|
1545
1535
|
},
|
1546
1536
|
update: {
|
1547
1537
|
id: item.id !== undefined ? {
|
@@ -1893,12 +1883,10 @@ exports.Authenticator = {
|
|
1893
1883
|
: { connectOrCreate: props.user.accounts.map((item) => ({
|
1894
1884
|
where: {
|
1895
1885
|
id: item.id !== undefined ? item.id : undefined,
|
1886
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
1896
1887
|
userId: item.userId !== undefined ? {
|
1897
1888
|
equals: item.userId
|
1898
1889
|
} : undefined,
|
1899
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
1900
|
-
equals: item.providerAccountId
|
1901
|
-
} : undefined,
|
1902
1890
|
},
|
1903
1891
|
create: {
|
1904
1892
|
type: item.type !== undefined ? item.type : undefined,
|
@@ -2238,12 +2226,10 @@ exports.Authenticator = {
|
|
2238
2226
|
} : { upsert: prop.user.accounts.map((item) => ({
|
2239
2227
|
where: {
|
2240
2228
|
id: item.id !== undefined ? item.id : undefined,
|
2229
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2241
2230
|
userId: item.userId !== undefined ? {
|
2242
2231
|
equals: item.userId
|
2243
2232
|
} : undefined,
|
2244
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2245
|
-
equals: item.providerAccountId
|
2246
|
-
} : undefined,
|
2247
2233
|
},
|
2248
2234
|
update: {
|
2249
2235
|
id: item.id !== undefined ? {
|
@@ -2595,12 +2581,10 @@ exports.Authenticator = {
|
|
2595
2581
|
: { connectOrCreate: prop.user.accounts.map((item) => ({
|
2596
2582
|
where: {
|
2597
2583
|
id: item.id !== undefined ? item.id : undefined,
|
2584
|
+
providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
|
2598
2585
|
userId: item.userId !== undefined ? {
|
2599
2586
|
equals: item.userId
|
2600
2587
|
} : undefined,
|
2601
|
-
providerAccountId: item.providerAccountId !== undefined ? {
|
2602
|
-
equals: item.providerAccountId
|
2603
|
-
} : undefined,
|
2604
2588
|
},
|
2605
2589
|
create: {
|
2606
2590
|
type: item.type !== undefined ? item.type : undefined,
|