adaptic-backend 1.0.178 → 1.0.180

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 (91) hide show
  1. package/Account.cjs +8 -16
  2. package/Action.cjs +8 -16
  3. package/Alert.cjs +8 -16
  4. package/AlpacaAccount.cjs +8 -16
  5. package/Asset.cjs +8 -16
  6. package/Authenticator.cjs +8 -16
  7. package/Customer.cjs +8 -16
  8. package/EconomicEvent.cjs +8 -16
  9. package/MarketSentiment.cjs +8 -16
  10. package/NewsArticle.cjs +8 -16
  11. package/NewsArticleAssetSentiment.cjs +8 -16
  12. package/Order.cjs +8 -16
  13. package/Position.cjs +8 -16
  14. package/ScheduledOptionOrder.cjs +8 -16
  15. package/Session.cjs +8 -16
  16. package/StopLoss.cjs +8 -16
  17. package/TakeProfit.cjs +8 -16
  18. package/Trade.cjs +8 -16
  19. package/User.cjs +8 -16
  20. package/VerificationToken.cjs +8 -16
  21. package/client.cjs +3 -0
  22. package/client.d.ts +1 -0
  23. package/generated/typegraphql-prisma/models/Order.cjs +1 -1
  24. package/generated/typegraphql-prisma/models/Order.js.map +1 -1
  25. package/package.json +1 -1
  26. package/server/Account.d.ts.map +1 -1
  27. package/server/Account.js.map +1 -1
  28. package/server/Account.mjs +1 -9
  29. package/server/Action.d.ts.map +1 -1
  30. package/server/Action.js.map +1 -1
  31. package/server/Action.mjs +1 -9
  32. package/server/Alert.d.ts.map +1 -1
  33. package/server/Alert.js.map +1 -1
  34. package/server/Alert.mjs +1 -9
  35. package/server/AlpacaAccount.d.ts.map +1 -1
  36. package/server/AlpacaAccount.js.map +1 -1
  37. package/server/AlpacaAccount.mjs +1 -9
  38. package/server/Asset.d.ts.map +1 -1
  39. package/server/Asset.js.map +1 -1
  40. package/server/Asset.mjs +1 -9
  41. package/server/Authenticator.d.ts.map +1 -1
  42. package/server/Authenticator.js.map +1 -1
  43. package/server/Authenticator.mjs +1 -9
  44. package/server/Customer.d.ts.map +1 -1
  45. package/server/Customer.js.map +1 -1
  46. package/server/Customer.mjs +1 -9
  47. package/server/EconomicEvent.d.ts.map +1 -1
  48. package/server/EconomicEvent.js.map +1 -1
  49. package/server/EconomicEvent.mjs +1 -9
  50. package/server/MarketSentiment.d.ts.map +1 -1
  51. package/server/MarketSentiment.js.map +1 -1
  52. package/server/MarketSentiment.mjs +1 -9
  53. package/server/NewsArticle.d.ts.map +1 -1
  54. package/server/NewsArticle.js.map +1 -1
  55. package/server/NewsArticle.mjs +1 -9
  56. package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
  57. package/server/NewsArticleAssetSentiment.js.map +1 -1
  58. package/server/NewsArticleAssetSentiment.mjs +1 -9
  59. package/server/Order.d.ts.map +1 -1
  60. package/server/Order.js.map +1 -1
  61. package/server/Order.mjs +1 -9
  62. package/server/Position.d.ts.map +1 -1
  63. package/server/Position.js.map +1 -1
  64. package/server/Position.mjs +1 -9
  65. package/server/ScheduledOptionOrder.d.ts.map +1 -1
  66. package/server/ScheduledOptionOrder.js.map +1 -1
  67. package/server/ScheduledOptionOrder.mjs +1 -9
  68. package/server/Session.d.ts.map +1 -1
  69. package/server/Session.js.map +1 -1
  70. package/server/Session.mjs +1 -9
  71. package/server/StopLoss.d.ts.map +1 -1
  72. package/server/StopLoss.js.map +1 -1
  73. package/server/StopLoss.mjs +1 -9
  74. package/server/TakeProfit.d.ts.map +1 -1
  75. package/server/TakeProfit.js.map +1 -1
  76. package/server/TakeProfit.mjs +1 -9
  77. package/server/Trade.d.ts.map +1 -1
  78. package/server/Trade.js.map +1 -1
  79. package/server/Trade.mjs +1 -9
  80. package/server/User.d.ts.map +1 -1
  81. package/server/User.js.map +1 -1
  82. package/server/User.mjs +1 -9
  83. package/server/VerificationToken.d.ts.map +1 -1
  84. package/server/VerificationToken.js.map +1 -1
  85. package/server/VerificationToken.mjs +1 -9
  86. package/server/client.d.ts +1 -0
  87. package/server/client.d.ts.map +1 -1
  88. package/server/client.js.map +1 -1
  89. package/server/client.mjs +2 -0
  90. package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
  91. package/server/generated/typegraphql-prisma/models/Order.mjs +1 -1
@@ -1,6 +1,6 @@
1
1
  import pkg from '@apollo/client';
2
2
  const { ApolloError, gql } = pkg;
3
- import { createApolloClient } from './client.mjs';
3
+ import { client } from './client.mjs';
4
4
  import { removeUndefinedProps } from './utils.mjs';
5
5
  /**
6
6
  * CRUD operations for the NewsArticleAssetSentiment model.
@@ -101,7 +101,6 @@ export const NewsArticleAssetSentiment = {
101
101
  * @returns The created NewsArticleAssetSentiment or null.
102
102
  */
103
103
  async create(props) {
104
- const client = createApolloClient();
105
104
  const CREATE_ONE_NEWSARTICLEASSETSENTIMENT = gql `
106
105
  mutation createOneNewsArticleAssetSentiment($data: NewsArticleAssetSentimentCreateInput!) {
107
106
  createOneNewsArticleAssetSentiment(data: $data) {
@@ -511,7 +510,6 @@ export const NewsArticleAssetSentiment = {
511
510
  * @returns The count of created records or null.
512
511
  */
513
512
  async createMany(props) {
514
- const client = createApolloClient();
515
513
  const CREATE_MANY_NEWSARTICLEASSETSENTIMENT = gql `
516
514
  mutation createManyNewsArticleAssetSentiment($data: [NewsArticleAssetSentimentCreateManyInput!]!) {
517
515
  createManyNewsArticleAssetSentiment(data: $data) {
@@ -551,7 +549,6 @@ export const NewsArticleAssetSentiment = {
551
549
  * @returns The updated NewsArticleAssetSentiment or null.
552
550
  */
553
551
  async update(props) {
554
- const client = createApolloClient();
555
552
  const UPDATE_ONE_NEWSARTICLEASSETSENTIMENT = gql `
556
553
  mutation updateOneNewsArticleAssetSentiment($data: NewsArticleAssetSentimentUpdateInput!, $where: NewsArticleAssetSentimentWhereUniqueInput!) {
557
554
  updateOneNewsArticleAssetSentiment(data: $data, where: $where) {
@@ -1912,7 +1909,6 @@ export const NewsArticleAssetSentiment = {
1912
1909
  * @returns The count of created records or null.
1913
1910
  */
1914
1911
  async updateMany(props) {
1915
- const client = createApolloClient();
1916
1912
  const UPDATE_MANY_NEWSARTICLEASSETSENTIMENT = gql `
1917
1913
  mutation updateManyNewsArticleAssetSentiment($data: [NewsArticleAssetSentimentCreateManyInput!]!) {
1918
1914
  updateManyNewsArticleAssetSentiment(data: $data) {
@@ -3273,7 +3269,6 @@ export const NewsArticleAssetSentiment = {
3273
3269
  * @returns The deleted NewsArticleAssetSentiment or null.
3274
3270
  */
3275
3271
  async delete(props) {
3276
- const client = createApolloClient();
3277
3272
  const DELETE_ONE_NEWSARTICLEASSETSENTIMENT = gql `
3278
3273
  mutation deleteOneNewsArticleAssetSentiment($where: NewsArticleAssetSentimentWhereUniqueInput!) {
3279
3274
  deleteOneNewsArticleAssetSentiment(where: $where) {
@@ -3308,7 +3303,6 @@ export const NewsArticleAssetSentiment = {
3308
3303
  * @returns The retrieved NewsArticleAssetSentiment or null.
3309
3304
  */
3310
3305
  async get(props) {
3311
- const client = createApolloClient();
3312
3306
  const GET_NEWSARTICLEASSETSENTIMENT = gql `
3313
3307
  query getNewsArticleAssetSentiment($where: NewsArticleAssetSentimentWhereUniqueInput!) {
3314
3308
  getNewsArticleAssetSentiment(where: $where) {
@@ -3352,7 +3346,6 @@ export const NewsArticleAssetSentiment = {
3352
3346
  * @returns An array of NewsArticleAssetSentiment records or null.
3353
3347
  */
3354
3348
  async getAll() {
3355
- const client = createApolloClient();
3356
3349
  const GET_ALL_NEWSARTICLEASSETSENTIMENT = gql `
3357
3350
  query getAllNewsArticleAssetSentiment {
3358
3351
  newsArticleAssetSentiments {
@@ -3381,7 +3374,6 @@ export const NewsArticleAssetSentiment = {
3381
3374
  * @returns An array of found NewsArticleAssetSentiment records or null.
3382
3375
  */
3383
3376
  async findMany(props) {
3384
- const client = createApolloClient();
3385
3377
  const FIND_MANY_NEWSARTICLEASSETSENTIMENT = gql `
3386
3378
  query findManyNewsArticleAssetSentiment($where: NewsArticleAssetSentimentWhereInput!) {
3387
3379
  newsArticleAssetSentiments(where: $where) {
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","source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