adaptic-backend 1.0.340 → 1.0.342
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 +2670 -2264
- package/Account.d.ts +19 -2
- package/Action.cjs +1195 -839
- package/Action.d.ts +19 -2
- package/Alert.cjs +2651 -2347
- package/Alert.d.ts +19 -2
- package/Allocation.cjs +2631 -2304
- package/Allocation.d.ts +19 -2
- package/AlpacaAccount.cjs +2654 -2104
- package/AlpacaAccount.d.ts +19 -2
- package/Asset.cjs +2611 -1544
- package/Asset.d.ts +19 -2
- package/Authenticator.cjs +2603 -2290
- package/Authenticator.d.ts +19 -2
- package/Customer.cjs +2506 -2220
- package/Customer.d.ts +19 -2
- package/EconomicEvent.cjs +708 -367
- package/EconomicEvent.d.ts +19 -2
- package/MarketSentiment.cjs +691 -340
- package/MarketSentiment.d.ts +19 -2
- package/NewsArticle.cjs +2114 -1655
- package/NewsArticle.d.ts +19 -2
- package/NewsArticleAssetSentiment.cjs +1873 -1564
- package/NewsArticleAssetSentiment.d.ts +19 -2
- package/ScheduledOptionOrder.cjs +607 -316
- package/ScheduledOptionOrder.d.ts +19 -2
- package/Session.cjs +2592 -2294
- package/Session.d.ts +19 -2
- package/Trade.cjs +1261 -795
- package/Trade.d.ts +19 -2
- package/User.cjs +2432 -2013
- package/User.d.ts +19 -2
- package/VerificationToken.cjs +637 -328
- package/VerificationToken.d.ts +19 -2
- package/esm/Account.d.ts +19 -2
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +2661 -2262
- package/esm/Action.d.ts +19 -2
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +1186 -837
- package/esm/Alert.d.ts +19 -2
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +2642 -2345
- package/esm/Allocation.d.ts +19 -2
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +2622 -2302
- package/esm/AlpacaAccount.d.ts +19 -2
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +2645 -2102
- package/esm/Asset.d.ts +19 -2
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +2602 -1542
- package/esm/Authenticator.d.ts +19 -2
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +2594 -2288
- package/esm/Customer.d.ts +19 -2
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +2497 -2218
- package/esm/EconomicEvent.d.ts +19 -2
- package/esm/EconomicEvent.d.ts.map +1 -1
- package/esm/EconomicEvent.js.map +1 -1
- package/esm/EconomicEvent.mjs +699 -365
- package/esm/MarketSentiment.d.ts +19 -2
- package/esm/MarketSentiment.d.ts.map +1 -1
- package/esm/MarketSentiment.js.map +1 -1
- package/esm/MarketSentiment.mjs +682 -338
- package/esm/NewsArticle.d.ts +19 -2
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +2105 -1653
- package/esm/NewsArticleAssetSentiment.d.ts +19 -2
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +1864 -1562
- package/esm/ScheduledOptionOrder.d.ts +19 -2
- package/esm/ScheduledOptionOrder.d.ts.map +1 -1
- package/esm/ScheduledOptionOrder.js.map +1 -1
- package/esm/ScheduledOptionOrder.mjs +598 -314
- package/esm/Session.d.ts +19 -2
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +2583 -2292
- package/esm/Trade.d.ts +19 -2
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +1252 -793
- package/esm/User.d.ts +19 -2
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +2423 -2011
- package/esm/VerificationToken.d.ts +19 -2
- package/esm/VerificationToken.d.ts.map +1 -1
- package/esm/VerificationToken.js.map +1 -1
- package/esm/VerificationToken.mjs +628 -326
- 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/esm/prismaClient.d.ts +4 -5
- package/esm/prismaClient.d.ts.map +1 -1
- package/esm/prismaClient.js.map +1 -1
- package/esm/prismaClient.mjs +13 -11
- 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/prismaClient.cjs +13 -11
- package/prismaClient.d.ts +4 -5
- package/server.cjs +37 -5
package/Trade.d.ts
CHANGED
@@ -7,9 +7,17 @@ export declare const Trade: {
|
|
7
7
|
* @param client - Apollo Client instance.
|
8
8
|
* @returns The created Trade or null.
|
9
9
|
*/
|
10
|
+
/**
|
11
|
+
* Create a new Trade record.
|
12
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
13
|
+
* @param props - Properties for the new record.
|
14
|
+
* @param globalClient - Apollo Client instance.
|
15
|
+
* @returns The created Trade or null.
|
16
|
+
*/
|
10
17
|
create(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType>;
|
11
18
|
/**
|
12
19
|
* Create multiple Trade records.
|
20
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
13
21
|
* @param props - Array of Trade objects for the new records.
|
14
22
|
* @param globalClient - Apollo Client instance.
|
15
23
|
* @returns The count of created records or null.
|
@@ -19,6 +27,7 @@ export declare const Trade: {
|
|
19
27
|
} | null>;
|
20
28
|
/**
|
21
29
|
* Update a single Trade record.
|
30
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
22
31
|
* @param props - Properties to update.
|
23
32
|
* @param globalClient - Apollo Client instance.
|
24
33
|
* @returns The updated Trade or null.
|
@@ -26,6 +35,7 @@ export declare const Trade: {
|
|
26
35
|
update(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType>;
|
27
36
|
/**
|
28
37
|
* Upsert a single Trade record.
|
38
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
29
39
|
* @param props - Properties to update.
|
30
40
|
* @param globalClient - Apollo Client instance.
|
31
41
|
* @returns The updated Trade or null.
|
@@ -33,6 +43,7 @@ export declare const Trade: {
|
|
33
43
|
upsert(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType>;
|
34
44
|
/**
|
35
45
|
* Update multiple Trade records.
|
46
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
36
47
|
* @param props - Array of Trade objects for the updated records.
|
37
48
|
* @param globalClient - Apollo Client instance.
|
38
49
|
* @returns The count of created records or null.
|
@@ -42,28 +53,34 @@ export declare const Trade: {
|
|
42
53
|
} | null>;
|
43
54
|
/**
|
44
55
|
* Delete a single Trade record.
|
45
|
-
*
|
56
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
57
|
+
* @param props - Properties to identify the record to delete.
|
46
58
|
* @param globalClient - Apollo Client instance.
|
47
59
|
* @returns The deleted Trade or null.
|
48
60
|
*/
|
49
61
|
delete(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType>;
|
50
62
|
/**
|
51
63
|
* Retrieve a single Trade record by ID.
|
52
|
-
*
|
64
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
65
|
+
* @param props - Properties to identify the record.
|
53
66
|
* @param globalClient - Apollo Client instance.
|
67
|
+
* @param whereInput - Optional custom where input.
|
54
68
|
* @returns The retrieved Trade or null.
|
55
69
|
*/
|
56
70
|
get(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<TradeType | null>;
|
57
71
|
/**
|
58
72
|
* Retrieve all Trades records.
|
73
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
59
74
|
* @param globalClient - Apollo Client instance.
|
60
75
|
* @returns An array of Trade records or null.
|
61
76
|
*/
|
62
77
|
getAll(globalClient?: ApolloClientType<NormalizedCacheObject>): Promise<TradeType[] | null>;
|
63
78
|
/**
|
64
79
|
* Find multiple Trade records based on conditions.
|
80
|
+
* Enhanced with connection resilience against Prisma connection errors.
|
65
81
|
* @param props - Conditions to find records.
|
66
82
|
* @param globalClient - Apollo Client instance.
|
83
|
+
* @param whereInput - Optional custom where input.
|
67
84
|
* @returns An array of found Trade records or null.
|
68
85
|
*/
|
69
86
|
findMany(props: TradeType, globalClient?: ApolloClientType<NormalizedCacheObject>, whereInput?: any): Promise<TradeType[] | null>;
|