@adaptic/backend-legacy 0.0.82 → 0.0.83
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/esm/index.d.ts +10 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js.map +1 -1
- package/esm/index.mjs +5 -0
- package/index.cjs +14 -1
- package/index.d.ts +10 -0
- package/package.json +1 -1
package/esm/index.d.ts
CHANGED
|
@@ -5,6 +5,16 @@ export * from './generated/typeStrings/index';
|
|
|
5
5
|
export * from './resolvers/custom/index';
|
|
6
6
|
export { getApolloClient, getApolloModules, configureConnectionPool, setTokenProvider, client } from './client';
|
|
7
7
|
export type { ApolloClientType, InMemoryCacheType, HttpLinkType, NormalizedCacheObject, TokenProvider, } from './client';
|
|
8
|
+
export type { TradingPolicyJson } from './types/trading-policy';
|
|
9
|
+
export { DEFAULT_TRADING_POLICY } from './types/trading-policy';
|
|
10
|
+
export type { LlmConfigurationJson, LlmProvider, } from './types/llm-configuration';
|
|
11
|
+
export { DEFAULT_LLM_CONFIGURATION } from './types/llm-configuration';
|
|
12
|
+
export type { PolicyOverlayEntry, OverlayType, OverlaySeverity, OverlayStatus, } from './types/policy-overlay';
|
|
13
|
+
export { effectivePolicy, EffectivePolicyContextError, brokerageAccountWithPolicyContextSelectionSet, } from './helpers/effective-policy';
|
|
14
|
+
export type { BrokerageAccountWithPolicyContext } from './helpers/effective-policy';
|
|
15
|
+
export { effectiveLlmConfig } from './helpers/effective-llm-config';
|
|
16
|
+
export type { EncryptedApiKey } from './helpers/kms-envelope';
|
|
17
|
+
export { encryptApiKey, decryptApiKey } from './helpers/kms-envelope';
|
|
8
18
|
declare const adaptic: {
|
|
9
19
|
aBTest: {
|
|
10
20
|
create(props: import("./generated/typegraphql-prisma/models/ABTest.js").ABTest, globalClient?: import("@apollo/client/core/ApolloClient.js").ApolloClient<import("@apollo/client/cache/inmemory/types.js").NormalizedCacheObject>): Promise<import("./generated/typegraphql-prisma/models/ABTest.js").ABTest>;
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAE1B,YAAY,KAAK,KAAK,MAAM,kDAAkD,CAAC;AAC/E,OAAO,KAAK,KAAK,MAAM,4CAA4C,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAG9C,cAAc,0BAA0B,CAAC;AAGzC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,MAAM,EACP,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,EACrB,aAAa,GACd,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,kBAAkB,CAAC;AAE1B,YAAY,KAAK,KAAK,MAAM,kDAAkD,CAAC;AAC/E,OAAO,KAAK,KAAK,MAAM,4CAA4C,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAG9C,cAAc,0BAA0B,CAAC;AAGzC,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,MAAM,EACP,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,EACrB,aAAa,GACd,MAAM,UAAU,CAAC;AAMlB,YAAY,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,YAAY,EACV,oBAAoB,EACpB,WAAW,GACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,sEAAsE;AACtE,mEAAmE;AACnE,OAAO,kBAAkB,CAAC;AAG1B,OAAO,KAAK,KAAK,MAAM,4CAA4C,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAE9C,0BAA0B;AAC1B,cAAc,0BAA0B,CAAC;AAEzC,mDAAmD;AACnD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,MAAM,EACP,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,sEAAsE;AACtE,mEAAmE;AACnE,OAAO,kBAAkB,CAAC;AAG1B,OAAO,KAAK,KAAK,MAAM,4CAA4C,CAAC;AACpE,cAAc,+BAA+B,CAAC;AAE9C,0BAA0B;AAC1B,cAAc,0BAA0B,CAAC;AAEzC,mDAAmD;AACnD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,MAAM,EACP,MAAM,UAAU,CAAC;AAelB,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAKhE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAOtE,OAAO,EACL,eAAe,EACf,2BAA2B,EAC3B,6CAA6C,GA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iBAAiB,EAAE,iBAAiB;IACpC,aAAa,EAAE,aAAa;CAC7B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
package/esm/index.mjs
CHANGED
|
@@ -8,6 +8,11 @@ export * from './generated/typeStrings/index.mjs';
|
|
|
8
8
|
export * from "./resolvers/custom/index.mjs";
|
|
9
9
|
// Re-export Apollo Client functions from client.ts
|
|
10
10
|
export { getApolloClient, getApolloModules, configureConnectionPool, setTokenProvider, client } from "./client.mjs";
|
|
11
|
+
export { DEFAULT_TRADING_POLICY } from './types/trading-policy.mjs';
|
|
12
|
+
export { DEFAULT_LLM_CONFIGURATION } from './types/llm-configuration.mjs';
|
|
13
|
+
export { effectivePolicy, EffectivePolicyContextError, brokerageAccountWithPolicyContextSelectionSet, } from './helpers/effective-policy.mjs';
|
|
14
|
+
export { effectiveLlmConfig } from './helpers/effective-llm-config.mjs';
|
|
15
|
+
export { encryptApiKey, decryptApiKey } from './helpers/kms-envelope.mjs';
|
|
11
16
|
import { ABTest } from './ABTest.mjs';
|
|
12
17
|
import { Account } from './Account.mjs';
|
|
13
18
|
import { AccountLinkingRequest } from './AccountLinkingRequest.mjs';
|
package/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.client = exports.setTokenProvider = exports.configureConnectionPool = exports.getApolloModules = exports.getApolloClient = exports.enums = void 0;
|
|
39
|
+
exports.decryptApiKey = exports.encryptApiKey = exports.effectiveLlmConfig = exports.brokerageAccountWithPolicyContextSelectionSet = exports.EffectivePolicyContextError = exports.effectivePolicy = exports.DEFAULT_LLM_CONFIGURATION = exports.DEFAULT_TRADING_POLICY = exports.client = exports.setTokenProvider = exports.configureConnectionPool = exports.getApolloModules = exports.getApolloClient = exports.enums = void 0;
|
|
40
40
|
// This file is auto-generated by modules/index.d.ts
|
|
41
41
|
// CRITICAL: Import reflect-metadata FIRST before any TypeGraphQL code
|
|
42
42
|
// This polyfill must be loaded before any decorators are evaluated
|
|
@@ -52,6 +52,19 @@ Object.defineProperty(exports, "getApolloModules", { enumerable: true, get: func
|
|
|
52
52
|
Object.defineProperty(exports, "configureConnectionPool", { enumerable: true, get: function () { return client_1.configureConnectionPool; } });
|
|
53
53
|
Object.defineProperty(exports, "setTokenProvider", { enumerable: true, get: function () { return client_1.setTokenProvider; } });
|
|
54
54
|
Object.defineProperty(exports, "client", { enumerable: true, get: function () { return client_1.client; } });
|
|
55
|
+
var trading_policy_1 = require("./types/trading-policy.cjs");
|
|
56
|
+
Object.defineProperty(exports, "DEFAULT_TRADING_POLICY", { enumerable: true, get: function () { return trading_policy_1.DEFAULT_TRADING_POLICY; } });
|
|
57
|
+
var llm_configuration_1 = require("./types/llm-configuration.cjs");
|
|
58
|
+
Object.defineProperty(exports, "DEFAULT_LLM_CONFIGURATION", { enumerable: true, get: function () { return llm_configuration_1.DEFAULT_LLM_CONFIGURATION; } });
|
|
59
|
+
var effective_policy_1 = require("./helpers/effective-policy.cjs");
|
|
60
|
+
Object.defineProperty(exports, "effectivePolicy", { enumerable: true, get: function () { return effective_policy_1.effectivePolicy; } });
|
|
61
|
+
Object.defineProperty(exports, "EffectivePolicyContextError", { enumerable: true, get: function () { return effective_policy_1.EffectivePolicyContextError; } });
|
|
62
|
+
Object.defineProperty(exports, "brokerageAccountWithPolicyContextSelectionSet", { enumerable: true, get: function () { return effective_policy_1.brokerageAccountWithPolicyContextSelectionSet; } });
|
|
63
|
+
var effective_llm_config_1 = require("./helpers/effective-llm-config.cjs");
|
|
64
|
+
Object.defineProperty(exports, "effectiveLlmConfig", { enumerable: true, get: function () { return effective_llm_config_1.effectiveLlmConfig; } });
|
|
65
|
+
var kms_envelope_1 = require("./helpers/kms-envelope.cjs");
|
|
66
|
+
Object.defineProperty(exports, "encryptApiKey", { enumerable: true, get: function () { return kms_envelope_1.encryptApiKey; } });
|
|
67
|
+
Object.defineProperty(exports, "decryptApiKey", { enumerable: true, get: function () { return kms_envelope_1.decryptApiKey; } });
|
|
55
68
|
const ABTest_1 = require("./ABTest.cjs");
|
|
56
69
|
const Account_1 = require("./Account.cjs");
|
|
57
70
|
const AccountLinkingRequest_1 = require("./AccountLinkingRequest.cjs");
|
package/index.d.ts
CHANGED
|
@@ -5,6 +5,16 @@ export * from './generated/typeStrings/index';
|
|
|
5
5
|
export * from './resolvers/custom/index';
|
|
6
6
|
export { getApolloClient, getApolloModules, configureConnectionPool, setTokenProvider, client } from './client';
|
|
7
7
|
export type { ApolloClientType, InMemoryCacheType, HttpLinkType, NormalizedCacheObject, TokenProvider, } from './client';
|
|
8
|
+
export type { TradingPolicyJson } from './types/trading-policy';
|
|
9
|
+
export { DEFAULT_TRADING_POLICY } from './types/trading-policy';
|
|
10
|
+
export type { LlmConfigurationJson, LlmProvider, } from './types/llm-configuration';
|
|
11
|
+
export { DEFAULT_LLM_CONFIGURATION } from './types/llm-configuration';
|
|
12
|
+
export type { PolicyOverlayEntry, OverlayType, OverlaySeverity, OverlayStatus, } from './types/policy-overlay';
|
|
13
|
+
export { effectivePolicy, EffectivePolicyContextError, brokerageAccountWithPolicyContextSelectionSet, } from './helpers/effective-policy';
|
|
14
|
+
export type { BrokerageAccountWithPolicyContext } from './helpers/effective-policy';
|
|
15
|
+
export { effectiveLlmConfig } from './helpers/effective-llm-config';
|
|
16
|
+
export type { EncryptedApiKey } from './helpers/kms-envelope';
|
|
17
|
+
export { encryptApiKey, decryptApiKey } from './helpers/kms-envelope';
|
|
8
18
|
declare const adaptic: {
|
|
9
19
|
aBTest: {
|
|
10
20
|
create(props: import("./generated/typegraphql-prisma/models/ABTest.js").ABTest, globalClient?: import("@apollo/client/core/ApolloClient.js").ApolloClient<import("@apollo/client/cache/inmemory/types.js").NormalizedCacheObject>): Promise<import("./generated/typegraphql-prisma/models/ABTest.js").ABTest>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptic/backend-legacy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.83",
|
|
4
4
|
"description": "Backend executable CRUD functions with dynamic variables construction, and type definitions for the Adaptic AI platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "index.d.ts",
|