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.
- package/Account.cjs +8 -16
- package/Action.cjs +8 -16
- package/Alert.cjs +8 -16
- package/AlpacaAccount.cjs +8 -16
- package/Asset.cjs +8 -16
- package/Authenticator.cjs +8 -16
- package/Customer.cjs +8 -16
- package/EconomicEvent.cjs +8 -16
- package/MarketSentiment.cjs +8 -16
- package/NewsArticle.cjs +8 -16
- package/NewsArticleAssetSentiment.cjs +8 -16
- package/Order.cjs +8 -16
- package/Position.cjs +8 -16
- package/ScheduledOptionOrder.cjs +8 -16
- package/Session.cjs +8 -16
- package/StopLoss.cjs +8 -16
- package/TakeProfit.cjs +8 -16
- package/Trade.cjs +8 -16
- package/User.cjs +8 -16
- package/VerificationToken.cjs +8 -16
- package/client.cjs +3 -0
- package/client.d.ts +1 -0
- package/generated/typegraphql-prisma/models/Order.cjs +1 -1
- package/generated/typegraphql-prisma/models/Order.js.map +1 -1
- package/package.json +1 -1
- package/server/Account.d.ts.map +1 -1
- package/server/Account.js.map +1 -1
- package/server/Account.mjs +1 -9
- package/server/Action.d.ts.map +1 -1
- package/server/Action.js.map +1 -1
- package/server/Action.mjs +1 -9
- package/server/Alert.d.ts.map +1 -1
- package/server/Alert.js.map +1 -1
- package/server/Alert.mjs +1 -9
- package/server/AlpacaAccount.d.ts.map +1 -1
- package/server/AlpacaAccount.js.map +1 -1
- package/server/AlpacaAccount.mjs +1 -9
- package/server/Asset.d.ts.map +1 -1
- package/server/Asset.js.map +1 -1
- package/server/Asset.mjs +1 -9
- package/server/Authenticator.d.ts.map +1 -1
- package/server/Authenticator.js.map +1 -1
- package/server/Authenticator.mjs +1 -9
- package/server/Customer.d.ts.map +1 -1
- package/server/Customer.js.map +1 -1
- package/server/Customer.mjs +1 -9
- package/server/EconomicEvent.d.ts.map +1 -1
- package/server/EconomicEvent.js.map +1 -1
- package/server/EconomicEvent.mjs +1 -9
- package/server/MarketSentiment.d.ts.map +1 -1
- package/server/MarketSentiment.js.map +1 -1
- package/server/MarketSentiment.mjs +1 -9
- package/server/NewsArticle.d.ts.map +1 -1
- package/server/NewsArticle.js.map +1 -1
- package/server/NewsArticle.mjs +1 -9
- package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/NewsArticleAssetSentiment.js.map +1 -1
- package/server/NewsArticleAssetSentiment.mjs +1 -9
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +1 -9
- package/server/Position.d.ts.map +1 -1
- package/server/Position.js.map +1 -1
- package/server/Position.mjs +1 -9
- package/server/ScheduledOptionOrder.d.ts.map +1 -1
- package/server/ScheduledOptionOrder.js.map +1 -1
- package/server/ScheduledOptionOrder.mjs +1 -9
- package/server/Session.d.ts.map +1 -1
- package/server/Session.js.map +1 -1
- package/server/Session.mjs +1 -9
- package/server/StopLoss.d.ts.map +1 -1
- package/server/StopLoss.js.map +1 -1
- package/server/StopLoss.mjs +1 -9
- package/server/TakeProfit.d.ts.map +1 -1
- package/server/TakeProfit.js.map +1 -1
- package/server/TakeProfit.mjs +1 -9
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +1 -9
- package/server/User.d.ts.map +1 -1
- package/server/User.js.map +1 -1
- package/server/User.mjs +1 -9
- package/server/VerificationToken.d.ts.map +1 -1
- package/server/VerificationToken.js.map +1 -1
- package/server/VerificationToken.mjs +1 -9
- package/server/client.d.ts +1 -0
- package/server/client.d.ts.map +1 -1
- package/server/client.js.map +1 -1
- package/server/client.mjs +2 -0
- package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
- 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 {
|
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) {
|
package/server/Order.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../src/Order.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,6CAA6C,CAAC;AA2L/E,eAAO,MAAM,KAAK;IAEhB;;;;OAIG;kBAEiB,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../src/Order.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,6CAA6C,CAAC;AA2L/E,eAAO,MAAM,KAAK;IAEhB;;;;OAIG;kBAEiB,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAg5BpD;;;;OAIG;sBACqB,SAAS,EAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA0DvE;;;;OAIG;kBACiB,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAyzGlD;;;;OAIG;sBACqB,SAAS,EAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA4zGvE;;;;OAIG;kBACiB,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IA+BlD;;;;OAIG;eACc,SAAS,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAoDtD;;;OAGG;cACa,OAAO,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC;IAuB3C;;;;OAIG;oBACmB,SAAS,GAAG,OAAO,CAAC,SAAS,EAAE,GAAG,IAAI,CAAC;CA0D9D,CAAC"}
|