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.
Files changed (45) hide show
  1. package/Account.cjs +4 -12
  2. package/Alert.cjs +11 -33
  3. package/Allocation.cjs +11 -33
  4. package/AlpacaAccount.cjs +8 -24
  5. package/Authenticator.cjs +8 -24
  6. package/Customer.cjs +8 -24
  7. package/Session.cjs +8 -24
  8. package/User.cjs +5 -15
  9. package/esm/Account.d.ts.map +1 -1
  10. package/esm/Account.js.map +1 -1
  11. package/esm/Account.mjs +4 -12
  12. package/esm/Alert.d.ts.map +1 -1
  13. package/esm/Alert.js.map +1 -1
  14. package/esm/Alert.mjs +11 -33
  15. package/esm/Allocation.d.ts.map +1 -1
  16. package/esm/Allocation.js.map +1 -1
  17. package/esm/Allocation.mjs +11 -33
  18. package/esm/AlpacaAccount.d.ts.map +1 -1
  19. package/esm/AlpacaAccount.js.map +1 -1
  20. package/esm/AlpacaAccount.mjs +8 -24
  21. package/esm/Authenticator.d.ts.map +1 -1
  22. package/esm/Authenticator.js.map +1 -1
  23. package/esm/Authenticator.mjs +8 -24
  24. package/esm/Customer.d.ts.map +1 -1
  25. package/esm/Customer.js.map +1 -1
  26. package/esm/Customer.mjs +8 -24
  27. package/esm/Session.d.ts.map +1 -1
  28. package/esm/Session.js.map +1 -1
  29. package/esm/Session.mjs +8 -24
  30. package/esm/User.d.ts.map +1 -1
  31. package/esm/User.js.map +1 -1
  32. package/esm/User.mjs +5 -15
  33. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  34. package/esm/generated/typegraphql-prisma/enhance.mjs +1 -1
  35. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
  36. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
  37. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
  38. package/esm/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.mjs +7 -7
  39. package/generated/typegraphql-prisma/enhance.cjs +1 -1
  40. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  41. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.cjs +6 -6
  42. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts +1 -1
  43. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.d.ts.map +1 -1
  44. package/generated/typegraphql-prisma/resolvers/inputs/AccountWhereUniqueInput.js.map +1 -1
  45. package/package.json +1 -1
package/esm/Session.mjs CHANGED
@@ -177,12 +177,10 @@ export const Session = {
177
177
  : { connectOrCreate: props.user.accounts.map((item) => ({
178
178
  where: {
179
179
  id: item.id !== undefined ? item.id : undefined,
180
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
180
181
  userId: item.userId !== undefined ? {
181
182
  equals: item.userId
182
183
  } : undefined,
183
- providerAccountId: item.providerAccountId !== undefined ? {
184
- equals: item.providerAccountId
185
- } : undefined,
186
184
  },
187
185
  create: {
188
186
  type: item.type !== undefined ? item.type : undefined,
@@ -593,12 +591,10 @@ export const Session = {
593
591
  } : { upsert: props.user.accounts.map((item) => ({
594
592
  where: {
595
593
  id: item.id !== undefined ? item.id : undefined,
594
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
596
595
  userId: item.userId !== undefined ? {
597
596
  equals: item.userId
598
597
  } : undefined,
599
- providerAccountId: item.providerAccountId !== undefined ? {
600
- equals: item.providerAccountId
601
- } : undefined,
602
598
  },
603
599
  update: {
604
600
  id: item.id !== undefined ? {
@@ -954,12 +950,10 @@ export const Session = {
954
950
  : { connectOrCreate: props.user.accounts.map((item) => ({
955
951
  where: {
956
952
  id: item.id !== undefined ? item.id : undefined,
953
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
957
954
  userId: item.userId !== undefined ? {
958
955
  equals: item.userId
959
956
  } : undefined,
960
- providerAccountId: item.providerAccountId !== undefined ? {
961
- equals: item.providerAccountId
962
- } : undefined,
963
957
  },
964
958
  create: {
965
959
  type: item.type !== undefined ? item.type : undefined,
@@ -1223,12 +1217,10 @@ export const Session = {
1223
1217
  : { connectOrCreate: props.user.accounts.map((item) => ({
1224
1218
  where: {
1225
1219
  id: item.id !== undefined ? item.id : undefined,
1220
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1226
1221
  userId: item.userId !== undefined ? {
1227
1222
  equals: item.userId
1228
1223
  } : undefined,
1229
- providerAccountId: item.providerAccountId !== undefined ? {
1230
- equals: item.providerAccountId
1231
- } : undefined,
1232
1224
  },
1233
1225
  create: {
1234
1226
  type: item.type !== undefined ? item.type : undefined,
@@ -1481,12 +1473,10 @@ export const Session = {
1481
1473
  } : { upsert: props.user.accounts.map((item) => ({
1482
1474
  where: {
1483
1475
  id: item.id !== undefined ? item.id : undefined,
1476
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1484
1477
  userId: item.userId !== undefined ? {
1485
1478
  equals: item.userId
1486
1479
  } : undefined,
1487
- providerAccountId: item.providerAccountId !== undefined ? {
1488
- equals: item.providerAccountId
1489
- } : undefined,
1490
1480
  },
1491
1481
  update: {
1492
1482
  id: item.id !== undefined ? {
@@ -1842,12 +1832,10 @@ export const Session = {
1842
1832
  : { connectOrCreate: props.user.accounts.map((item) => ({
1843
1833
  where: {
1844
1834
  id: item.id !== undefined ? item.id : undefined,
1835
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
1845
1836
  userId: item.userId !== undefined ? {
1846
1837
  equals: item.userId
1847
1838
  } : undefined,
1848
- providerAccountId: item.providerAccountId !== undefined ? {
1849
- equals: item.providerAccountId
1850
- } : undefined,
1851
1839
  },
1852
1840
  create: {
1853
1841
  type: item.type !== undefined ? item.type : undefined,
@@ -2184,12 +2172,10 @@ export const Session = {
2184
2172
  } : { upsert: prop.user.accounts.map((item) => ({
2185
2173
  where: {
2186
2174
  id: item.id !== undefined ? item.id : undefined,
2175
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
2187
2176
  userId: item.userId !== undefined ? {
2188
2177
  equals: item.userId
2189
2178
  } : undefined,
2190
- providerAccountId: item.providerAccountId !== undefined ? {
2191
- equals: item.providerAccountId
2192
- } : undefined,
2193
2179
  },
2194
2180
  update: {
2195
2181
  id: item.id !== undefined ? {
@@ -2545,12 +2531,10 @@ export const Session = {
2545
2531
  : { connectOrCreate: prop.user.accounts.map((item) => ({
2546
2532
  where: {
2547
2533
  id: item.id !== undefined ? item.id : undefined,
2534
+ providerAccountId: item.providerAccountId !== undefined ? item.providerAccountId : undefined,
2548
2535
  userId: item.userId !== undefined ? {
2549
2536
  equals: item.userId
2550
2537
  } : undefined,
2551
- providerAccountId: item.providerAccountId !== undefined ? {
2552
- equals: item.providerAccountId
2553
- } : undefined,
2554
2538
  },
2555
2539
  create: {
2556
2540
  type: item.type !== undefined ? item.type : undefined,
package/esm/User.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../src/User.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAA4B,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAyH7G,eAAO,MAAM,IAAI;IAEf;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,QAAQ,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;IA2Q1G;;;;;;OAMG;sBACqB,QAAQ,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAsF9H;;;;;;OAMG;kBACiB,QAAQ,iBAAiB,gBAAgB,CAAC,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