adaptic-backend 1.0.331 → 1.0.334

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 (51) hide show
  1. package/Action.cjs +4 -15
  2. package/Trade.cjs +5 -15
  3. package/esm/Action.d.ts.map +1 -1
  4. package/esm/Action.js.map +1 -1
  5. package/esm/Action.mjs +4 -15
  6. package/esm/Trade.d.ts.map +1 -1
  7. package/esm/Trade.js.map +1 -1
  8. package/esm/Trade.mjs +5 -15
  9. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  10. package/esm/generated/typegraphql-prisma/enhance.mjs +5 -5
  11. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +2 -2
  12. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
  13. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
  14. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.mjs +2 -2
  15. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +2 -2
  16. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
  17. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
  18. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.mjs +2 -2
  19. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +2 -2
  20. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
  21. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
  22. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.mjs +2 -2
  23. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +1 -2
  24. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
  25. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
  26. package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.mjs +7 -8
  27. package/esm/index.d.ts +154 -153
  28. package/esm/index.d.ts.map +1 -1
  29. package/esm/index.js.map +1 -1
  30. package/esm/index.mjs +2 -0
  31. package/generated/typegraphql-prisma/enhance.cjs +5 -5
  32. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  33. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.cjs +2 -2
  34. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +2 -2
  35. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
  36. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
  37. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.cjs +2 -2
  38. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +2 -2
  39. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
  40. package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
  41. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.cjs +2 -2
  42. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +2 -2
  43. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
  44. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
  45. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.cjs +6 -7
  46. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +1 -2
  47. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
  48. package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
  49. package/index.cjs +7 -0
  50. package/index.d.ts +154 -153
  51. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,KAAK,KAAK,MAAM,kDAAkD,CAAC;AAC/E,YAAY,KAAK,KAAK,MAAM,iDAAiD,CAAC;AAC9E,cAAc,+BAA+B,CAAC;AAoB9C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,KAAK,KAAK,MAAM,kDAAkD,CAAC;AAC/E,YAAY,KAAK,KAAK,MAAM,iDAAiD,CAAC;AAC9E,cAAc,+BAA+B,CAAC;AAG9C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,EACP,MAAM,UAAU,CAAC;AAoBlB,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,OAAO,GAAG;IACd,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE,UAAU;IACtB,aAAa,EAAE,aAAa;IAC5B,KAAK,EAAE,KAAK;IACZ,aAAa,EAAE,aAAa;IAC5B,QAAQ,EAAE,QAAQ;IAClB,aAAa,EAAE,aAAa;IAC5B,eAAe,EAAE,eAAe;IAChC,WAAW,EAAE,WAAW;IACxB,yBAAyB,EAAE,yBAAyB;IACpD,oBAAoB,EAAE,oBAAoB;IAC1C,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,IAAI;IACV,iBAAiB,EAAE,iBAAiB;CACrC,CAAC;AAEF,eAAe,OAAO,CAAC"}
package/esm/index.mjs CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './generated/typeStrings/index.mjs';
2
+ // Re-export Apollo Client functions from client.ts
3
+ export { getApolloClient, getApolloModules, configureConnectionPool, client } from './client';
2
4
  import { Account } from './Account.mjs';
3
5
  import { Action } from './Action.mjs';
4
6
  import { Alert } from './Alert.mjs';
@@ -969,7 +969,7 @@ const inputsInfo = {
969
969
  TradeScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "qty", "price", "total", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "symbol"],
970
970
  ActionWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
971
971
  ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
972
- ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "trade"],
972
+ ActionWhereUniqueInput: ["id", "alpacaOrderId", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "trade"],
973
973
  ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId", "_count", "_avg", "_max", "_min", "_sum"],
974
974
  ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
975
975
  AlertWhereInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt", "alpacaAccount"],
@@ -1180,6 +1180,7 @@ const inputsInfo = {
1180
1180
  EnumTradeStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1181
1181
  EnumActionTypeFilter: ["equals", "in", "notIn", "not"],
1182
1182
  EnumActionStatusFilter: ["equals", "in", "notIn", "not"],
1183
+ UuidNullableFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "mode", "not"],
1183
1184
  TradeRelationFilter: ["is", "isNot"],
1184
1185
  ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "createdAt", "updatedAt", "alpacaOrderId"],
1185
1186
  ActionAvgOrderByAggregateInput: ["sequence"],
@@ -1188,6 +1189,7 @@ const inputsInfo = {
1188
1189
  ActionSumOrderByAggregateInput: ["sequence"],
1189
1190
  EnumActionTypeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1190
1191
  EnumActionStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1192
+ UuidNullableWithAggregatesFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "mode", "not", "_count", "_min", "_max"],
1191
1193
  EnumAlertTypeFilter: ["equals", "in", "notIn", "not"],
1192
1194
  AlertCountOrderByAggregateInput: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
1193
1195
  AlertMaxOrderByAggregateInput: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
@@ -1196,13 +1198,11 @@ const inputsInfo = {
1196
1198
  NewsArticleCountOrderByAggregateInput: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "authors", "summary", "bannerImage", "timePublished", "category", "topics", "logo", "createdAt", "updatedAt"],
1197
1199
  NewsArticleMaxOrderByAggregateInput: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "summary", "bannerImage", "timePublished", "category", "logo", "createdAt", "updatedAt"],
1198
1200
  NewsArticleMinOrderByAggregateInput: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "summary", "bannerImage", "timePublished", "category", "logo", "createdAt", "updatedAt"],
1199
- UuidNullableFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "mode", "not"],
1200
1201
  NewsArticleRelationFilter: ["is", "isNot"],
1201
1202
  AssetNullableRelationFilter: ["is", "isNot"],
1202
1203
  NewsArticleAssetSentimentCountOrderByAggregateInput: ["id", "assetId", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
1203
1204
  NewsArticleAssetSentimentMaxOrderByAggregateInput: ["id", "assetId", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
1204
1205
  NewsArticleAssetSentimentMinOrderByAggregateInput: ["id", "assetId", "newsArticleId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
1205
- UuidNullableWithAggregatesFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "mode", "not", "_count", "_min", "_max"],
1206
1206
  EnumEventImportanceFilter: ["equals", "in", "notIn", "not"],
1207
1207
  EconomicEventCountOrderByAggregateInput: ["id", "title", "description", "date", "importance", "createdAt", "updatedAt"],
1208
1208
  EconomicEventMaxOrderByAggregateInput: ["id", "title", "description", "date", "importance", "createdAt", "updatedAt"],
@@ -1325,12 +1325,12 @@ const inputsInfo = {
1325
1325
  NestedEnumTradeStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1326
1326
  NestedEnumActionTypeFilter: ["equals", "in", "notIn", "not"],
1327
1327
  NestedEnumActionStatusFilter: ["equals", "in", "notIn", "not"],
1328
+ NestedUuidNullableFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "not"],
1328
1329
  NestedEnumActionTypeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1329
1330
  NestedEnumActionStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1331
+ NestedUuidNullableWithAggregatesFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "not", "_count", "_min", "_max"],
1330
1332
  NestedEnumAlertTypeFilter: ["equals", "in", "notIn", "not"],
1331
1333
  NestedEnumAlertTypeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1332
- NestedUuidNullableFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "not"],
1333
- NestedUuidNullableWithAggregatesFilter: ["equals", "in", "notIn", "lt", "lte", "gt", "gte", "not", "_count", "_min", "_max"],
1334
1334
  NestedEnumEventImportanceFilter: ["equals", "in", "notIn", "not"],
1335
1335
  NestedEnumEventImportanceWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
1336
1336
  NestedEnumScheduledOptionOrderStatusFilter: ["equals", "in", "notIn", "not"],