adaptic-backend 1.0.9 → 1.0.10
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/AIRecommendation.js +1 -1
- package/Account.js +1 -1
- package/Alert.js +1 -1
- package/Asset.js +1 -1
- package/Authenticator.js +1 -1
- package/Customer.js +1 -1
- package/EconomicEvent.js +1 -1
- package/EnvironmentVariable.js +1 -1
- package/Holding.js +1 -1
- package/News.js +1 -1
- package/Order.js +1 -1
- package/PerformanceMetric.js +1 -1
- package/Portfolio.js +1 -1
- package/PortfolioAllocation.js +1 -1
- package/PortfolioUser.js +1 -1
- package/RiskAllocation.js +1 -1
- package/Session.js +1 -1
- package/Trade.js +1 -1
- package/TradeStep.js +1 -1
- package/User.js +1 -1
- package/VerificationToken.js +1 -1
- package/package.json +1 -1
- package/server/AIRecommendation.mjs +1 -1
- package/server/Account.mjs +1 -1
- package/server/Alert.mjs +1 -1
- package/server/Asset.mjs +1 -1
- package/server/Authenticator.mjs +1 -1
- package/server/Customer.mjs +1 -1
- package/server/EconomicEvent.mjs +1 -1
- package/server/EnvironmentVariable.mjs +1 -1
- package/server/Holding.mjs +1 -1
- package/server/News.mjs +1 -1
- package/server/Order.mjs +1 -1
- package/server/PerformanceMetric.mjs +1 -1
- package/server/Portfolio.mjs +1 -1
- package/server/PortfolioAllocation.mjs +1 -1
- package/server/PortfolioUser.mjs +1 -1
- package/server/RiskAllocation.mjs +1 -1
- package/server/Session.mjs +1 -1
- package/server/Trade.mjs +1 -1
- package/server/TradeStep.mjs +1 -1
- package/server/User.mjs +1 -1
- package/server/VerificationToken.mjs +1 -1
package/AIRecommendation.js
CHANGED
|
@@ -2492,7 +2492,7 @@ exports.AIRecommendation = {
|
|
|
2492
2492
|
var _a, _b;
|
|
2493
2493
|
const GET_ONE_AIRECOMMENDATION = (0, client_1.gql) `
|
|
2494
2494
|
query getOneAIRecommendation($where: AIRecommendationWhereUniqueInput!) {
|
|
2495
|
-
|
|
2495
|
+
aIRecommendations(where: $where) {
|
|
2496
2496
|
id
|
|
2497
2497
|
userId
|
|
2498
2498
|
portfolioId
|
package/Account.js
CHANGED
package/Alert.js
CHANGED
package/Asset.js
CHANGED
package/Authenticator.js
CHANGED
|
@@ -1703,7 +1703,7 @@ exports.Authenticator = {
|
|
|
1703
1703
|
var _a, _b;
|
|
1704
1704
|
const GET_ONE_AUTHENTICATOR = (0, client_1.gql) `
|
|
1705
1705
|
query getOneAuthenticator($where: AuthenticatorWhereUniqueInput!) {
|
|
1706
|
-
|
|
1706
|
+
authenticators(where: $where) {
|
|
1707
1707
|
id
|
|
1708
1708
|
userId
|
|
1709
1709
|
credentialID
|
package/Customer.js
CHANGED
|
@@ -1686,7 +1686,7 @@ exports.Customer = {
|
|
|
1686
1686
|
var _a, _b;
|
|
1687
1687
|
const GET_ONE_CUSTOMER = (0, client_1.gql) `
|
|
1688
1688
|
query getOneCustomer($where: CustomerWhereUniqueInput!) {
|
|
1689
|
-
|
|
1689
|
+
customers(where: $where) {
|
|
1690
1690
|
id
|
|
1691
1691
|
authUserId
|
|
1692
1692
|
name
|
package/EconomicEvent.js
CHANGED
|
@@ -193,7 +193,7 @@ exports.EconomicEvent = {
|
|
|
193
193
|
var _a, _b;
|
|
194
194
|
const GET_ONE_ECONOMICEVENT = (0, client_1.gql) `
|
|
195
195
|
query getOneEconomicEvent($where: EconomicEventWhereUniqueInput!) {
|
|
196
|
-
|
|
196
|
+
economicEvents(where: $where) {
|
|
197
197
|
id
|
|
198
198
|
title
|
|
199
199
|
description
|
package/EnvironmentVariable.js
CHANGED
|
@@ -1424,7 +1424,7 @@ exports.EnvironmentVariable = {
|
|
|
1424
1424
|
var _a, _b;
|
|
1425
1425
|
const GET_ONE_ENVIRONMENTVARIABLE = (0, client_1.gql) `
|
|
1426
1426
|
query getOneEnvironmentVariable($where: EnvironmentVariableWhereUniqueInput!) {
|
|
1427
|
-
|
|
1427
|
+
environmentVariables(where: $where) {
|
|
1428
1428
|
id
|
|
1429
1429
|
key
|
|
1430
1430
|
value
|
package/Holding.js
CHANGED
|
@@ -2489,7 +2489,7 @@ exports.Holding = {
|
|
|
2489
2489
|
var _a, _b;
|
|
2490
2490
|
const GET_ONE_HOLDING = (0, client_1.gql) `
|
|
2491
2491
|
query getOneHolding($where: HoldingWhereUniqueInput!) {
|
|
2492
|
-
|
|
2492
|
+
holdings(where: $where) {
|
|
2493
2493
|
id
|
|
2494
2494
|
userId
|
|
2495
2495
|
portfolioId
|
package/News.js
CHANGED
package/Order.js
CHANGED
package/PerformanceMetric.js
CHANGED
|
@@ -2166,7 +2166,7 @@ exports.PerformanceMetric = {
|
|
|
2166
2166
|
var _a, _b;
|
|
2167
2167
|
const GET_ONE_PERFORMANCEMETRIC = (0, client_1.gql) `
|
|
2168
2168
|
query getOnePerformanceMetric($where: PerformanceMetricWhereUniqueInput!) {
|
|
2169
|
-
|
|
2169
|
+
performanceMetrics(where: $where) {
|
|
2170
2170
|
id
|
|
2171
2171
|
userId
|
|
2172
2172
|
portfolioId
|
package/Portfolio.js
CHANGED
|
@@ -2655,7 +2655,7 @@ exports.Portfolio = {
|
|
|
2655
2655
|
var _a, _b;
|
|
2656
2656
|
const GET_ONE_PORTFOLIO = (0, client_1.gql) `
|
|
2657
2657
|
query getOnePortfolio($where: PortfolioWhereUniqueInput!) {
|
|
2658
|
-
|
|
2658
|
+
portfolios(where: $where) {
|
|
2659
2659
|
id
|
|
2660
2660
|
name
|
|
2661
2661
|
slug
|
package/PortfolioAllocation.js
CHANGED
|
@@ -1758,7 +1758,7 @@ exports.PortfolioAllocation = {
|
|
|
1758
1758
|
var _a, _b;
|
|
1759
1759
|
const GET_ONE_PORTFOLIOALLOCATION = (0, client_1.gql) `
|
|
1760
1760
|
query getOnePortfolioAllocation($where: PortfolioAllocationWhereUniqueInput!) {
|
|
1761
|
-
|
|
1761
|
+
portfolioAllocations(where: $where) {
|
|
1762
1762
|
id
|
|
1763
1763
|
portfolioId
|
|
1764
1764
|
assetId
|
package/PortfolioUser.js
CHANGED
|
@@ -2179,7 +2179,7 @@ exports.PortfolioUser = {
|
|
|
2179
2179
|
var _a, _b;
|
|
2180
2180
|
const GET_ONE_PORTFOLIOUSER = (0, client_1.gql) `
|
|
2181
2181
|
query getOnePortfolioUser($where: PortfolioUserWhereUniqueInput!) {
|
|
2182
|
-
|
|
2182
|
+
portfolioUsers(where: $where) {
|
|
2183
2183
|
id
|
|
2184
2184
|
userId
|
|
2185
2185
|
portfolioId
|
package/RiskAllocation.js
CHANGED
|
@@ -2169,7 +2169,7 @@ exports.RiskAllocation = {
|
|
|
2169
2169
|
var _a, _b;
|
|
2170
2170
|
const GET_ONE_RISKALLOCATION = (0, client_1.gql) `
|
|
2171
2171
|
query getOneRiskAllocation($where: RiskAllocationWhereUniqueInput!) {
|
|
2172
|
-
|
|
2172
|
+
riskAllocations(where: $where) {
|
|
2173
2173
|
id
|
|
2174
2174
|
userId
|
|
2175
2175
|
portfolioId
|
package/Session.js
CHANGED
|
@@ -1707,7 +1707,7 @@ exports.Session = {
|
|
|
1707
1707
|
var _a, _b;
|
|
1708
1708
|
const GET_ONE_SESSION = (0, client_1.gql) `
|
|
1709
1709
|
query getOneSession($where: SessionWhereUniqueInput!) {
|
|
1710
|
-
|
|
1710
|
+
sessions(where: $where) {
|
|
1711
1711
|
id
|
|
1712
1712
|
sessionToken
|
|
1713
1713
|
userId
|
package/Trade.js
CHANGED
package/TradeStep.js
CHANGED
|
@@ -1457,7 +1457,7 @@ exports.TradeStep = {
|
|
|
1457
1457
|
var _a, _b;
|
|
1458
1458
|
const GET_ONE_TRADESTEP = (0, client_1.gql) `
|
|
1459
1459
|
query getOneTradeStep($where: TradeStepWhereUniqueInput!) {
|
|
1460
|
-
|
|
1460
|
+
tradeSteps(where: $where) {
|
|
1461
1461
|
id
|
|
1462
1462
|
tradeId
|
|
1463
1463
|
sequence
|
package/User.js
CHANGED
package/VerificationToken.js
CHANGED
|
@@ -172,7 +172,7 @@ exports.VerificationToken = {
|
|
|
172
172
|
var _a, _b;
|
|
173
173
|
const GET_ONE_VERIFICATIONTOKEN = (0, client_1.gql) `
|
|
174
174
|
query getOneVerificationToken($where: VerificationTokenWhereUniqueInput!) {
|
|
175
|
-
|
|
175
|
+
verificationTokens(where: $where) {
|
|
176
176
|
id
|
|
177
177
|
identifier
|
|
178
178
|
token
|
package/package.json
CHANGED
|
@@ -2489,7 +2489,7 @@ export const AIRecommendation = {
|
|
|
2489
2489
|
async get(props, client) {
|
|
2490
2490
|
const GET_ONE_AIRECOMMENDATION = gql `
|
|
2491
2491
|
query getOneAIRecommendation($where: AIRecommendationWhereUniqueInput!) {
|
|
2492
|
-
|
|
2492
|
+
aIRecommendations(where: $where) {
|
|
2493
2493
|
id
|
|
2494
2494
|
userId
|
|
2495
2495
|
portfolioId
|
package/server/Account.mjs
CHANGED
package/server/Alert.mjs
CHANGED
package/server/Asset.mjs
CHANGED
package/server/Authenticator.mjs
CHANGED
|
@@ -1700,7 +1700,7 @@ export const Authenticator = {
|
|
|
1700
1700
|
async get(props, client) {
|
|
1701
1701
|
const GET_ONE_AUTHENTICATOR = gql `
|
|
1702
1702
|
query getOneAuthenticator($where: AuthenticatorWhereUniqueInput!) {
|
|
1703
|
-
|
|
1703
|
+
authenticators(where: $where) {
|
|
1704
1704
|
id
|
|
1705
1705
|
userId
|
|
1706
1706
|
credentialID
|
package/server/Customer.mjs
CHANGED
|
@@ -1683,7 +1683,7 @@ export const Customer = {
|
|
|
1683
1683
|
async get(props, client) {
|
|
1684
1684
|
const GET_ONE_CUSTOMER = gql `
|
|
1685
1685
|
query getOneCustomer($where: CustomerWhereUniqueInput!) {
|
|
1686
|
-
|
|
1686
|
+
customers(where: $where) {
|
|
1687
1687
|
id
|
|
1688
1688
|
authUserId
|
|
1689
1689
|
name
|
package/server/EconomicEvent.mjs
CHANGED
|
@@ -190,7 +190,7 @@ export const EconomicEvent = {
|
|
|
190
190
|
async get(props, client) {
|
|
191
191
|
const GET_ONE_ECONOMICEVENT = gql `
|
|
192
192
|
query getOneEconomicEvent($where: EconomicEventWhereUniqueInput!) {
|
|
193
|
-
|
|
193
|
+
economicEvents(where: $where) {
|
|
194
194
|
id
|
|
195
195
|
title
|
|
196
196
|
description
|
|
@@ -1421,7 +1421,7 @@ export const EnvironmentVariable = {
|
|
|
1421
1421
|
async get(props, client) {
|
|
1422
1422
|
const GET_ONE_ENVIRONMENTVARIABLE = gql `
|
|
1423
1423
|
query getOneEnvironmentVariable($where: EnvironmentVariableWhereUniqueInput!) {
|
|
1424
|
-
|
|
1424
|
+
environmentVariables(where: $where) {
|
|
1425
1425
|
id
|
|
1426
1426
|
key
|
|
1427
1427
|
value
|
package/server/Holding.mjs
CHANGED
|
@@ -2486,7 +2486,7 @@ export const Holding = {
|
|
|
2486
2486
|
async get(props, client) {
|
|
2487
2487
|
const GET_ONE_HOLDING = gql `
|
|
2488
2488
|
query getOneHolding($where: HoldingWhereUniqueInput!) {
|
|
2489
|
-
|
|
2489
|
+
holdings(where: $where) {
|
|
2490
2490
|
id
|
|
2491
2491
|
userId
|
|
2492
2492
|
portfolioId
|
package/server/News.mjs
CHANGED
package/server/Order.mjs
CHANGED
|
@@ -2163,7 +2163,7 @@ export const PerformanceMetric = {
|
|
|
2163
2163
|
async get(props, client) {
|
|
2164
2164
|
const GET_ONE_PERFORMANCEMETRIC = gql `
|
|
2165
2165
|
query getOnePerformanceMetric($where: PerformanceMetricWhereUniqueInput!) {
|
|
2166
|
-
|
|
2166
|
+
performanceMetrics(where: $where) {
|
|
2167
2167
|
id
|
|
2168
2168
|
userId
|
|
2169
2169
|
portfolioId
|
package/server/Portfolio.mjs
CHANGED
|
@@ -2652,7 +2652,7 @@ export const Portfolio = {
|
|
|
2652
2652
|
async get(props, client) {
|
|
2653
2653
|
const GET_ONE_PORTFOLIO = gql `
|
|
2654
2654
|
query getOnePortfolio($where: PortfolioWhereUniqueInput!) {
|
|
2655
|
-
|
|
2655
|
+
portfolios(where: $where) {
|
|
2656
2656
|
id
|
|
2657
2657
|
name
|
|
2658
2658
|
slug
|
|
@@ -1755,7 +1755,7 @@ export const PortfolioAllocation = {
|
|
|
1755
1755
|
async get(props, client) {
|
|
1756
1756
|
const GET_ONE_PORTFOLIOALLOCATION = gql `
|
|
1757
1757
|
query getOnePortfolioAllocation($where: PortfolioAllocationWhereUniqueInput!) {
|
|
1758
|
-
|
|
1758
|
+
portfolioAllocations(where: $where) {
|
|
1759
1759
|
id
|
|
1760
1760
|
portfolioId
|
|
1761
1761
|
assetId
|
package/server/PortfolioUser.mjs
CHANGED
|
@@ -2176,7 +2176,7 @@ export const PortfolioUser = {
|
|
|
2176
2176
|
async get(props, client) {
|
|
2177
2177
|
const GET_ONE_PORTFOLIOUSER = gql `
|
|
2178
2178
|
query getOnePortfolioUser($where: PortfolioUserWhereUniqueInput!) {
|
|
2179
|
-
|
|
2179
|
+
portfolioUsers(where: $where) {
|
|
2180
2180
|
id
|
|
2181
2181
|
userId
|
|
2182
2182
|
portfolioId
|
|
@@ -2166,7 +2166,7 @@ export const RiskAllocation = {
|
|
|
2166
2166
|
async get(props, client) {
|
|
2167
2167
|
const GET_ONE_RISKALLOCATION = gql `
|
|
2168
2168
|
query getOneRiskAllocation($where: RiskAllocationWhereUniqueInput!) {
|
|
2169
|
-
|
|
2169
|
+
riskAllocations(where: $where) {
|
|
2170
2170
|
id
|
|
2171
2171
|
userId
|
|
2172
2172
|
portfolioId
|
package/server/Session.mjs
CHANGED
|
@@ -1704,7 +1704,7 @@ export const Session = {
|
|
|
1704
1704
|
async get(props, client) {
|
|
1705
1705
|
const GET_ONE_SESSION = gql `
|
|
1706
1706
|
query getOneSession($where: SessionWhereUniqueInput!) {
|
|
1707
|
-
|
|
1707
|
+
sessions(where: $where) {
|
|
1708
1708
|
id
|
|
1709
1709
|
sessionToken
|
|
1710
1710
|
userId
|
package/server/Trade.mjs
CHANGED
package/server/TradeStep.mjs
CHANGED
|
@@ -1454,7 +1454,7 @@ export const TradeStep = {
|
|
|
1454
1454
|
async get(props, client) {
|
|
1455
1455
|
const GET_ONE_TRADESTEP = gql `
|
|
1456
1456
|
query getOneTradeStep($where: TradeStepWhereUniqueInput!) {
|
|
1457
|
-
|
|
1457
|
+
tradeSteps(where: $where) {
|
|
1458
1458
|
id
|
|
1459
1459
|
tradeId
|
|
1460
1460
|
sequence
|
package/server/User.mjs
CHANGED
|
@@ -169,7 +169,7 @@ export const VerificationToken = {
|
|
|
169
169
|
async get(props, client) {
|
|
170
170
|
const GET_ONE_VERIFICATIONTOKEN = gql `
|
|
171
171
|
query getOneVerificationToken($where: VerificationTokenWhereUniqueInput!) {
|
|
172
|
-
|
|
172
|
+
verificationTokens(where: $where) {
|
|
173
173
|
id
|
|
174
174
|
identifier
|
|
175
175
|
token
|