@eaera-com/cms-sdk 0.1.66 → 0.1.68
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/LICENSE +28 -15
- package/THIRD-PARTY-NOTICES.md +135 -0
- package/dist/chunks/{_shared-DdBWuPm_.js → _shared-DZlTUzoa.js} +1 -2
- package/dist/chunks/auth.constant-CMI1lqQc.js +0 -1
- package/dist/chunks/authz.constant-BAarvacV.js +0 -1
- package/dist/chunks/http.constant-BzH5tJTG.js +0 -1
- package/dist/chunks/mt5Retcode-DlZLQOLA.js +0 -1
- package/dist/chunks/{storage.constant--64BDSPW.js → storage.constant-CVWam5ls.js} +1 -1
- package/dist/common/constants/storage.constant.d.ts +1 -0
- package/dist/common/constants/storage.constant.d.ts.map +1 -1
- package/dist/common/helpers/format.js +0 -1
- package/dist/common/helpers/mt5Retcode.js +0 -1
- package/dist/index.js +173 -121
- package/dist/nuxt.js +0 -1
- package/dist/runtime/plugin.js +0 -1
- package/dist/server/auth/cbs-callback.post.js +2 -3
- package/dist/server/auth/cbs-start.post.js +1 -2
- package/dist/server/auth/idp-callback.get.js +2 -3
- package/dist/server/auth/idp-link.post.js +2 -3
- package/dist/server/auth/idp-login.get.js +1 -2
- package/dist/server/auth/idp-unlink.delete.js +2 -3
- package/dist/server/auth/login.post.js +2 -3
- package/dist/server/auth/logout.post.js +2 -3
- package/dist/server/auth/refresh.post.js +2 -3
- package/dist/server/authz/portal-access.get.js +2 -3
- package/dist/server/clear-token.delete.js +1 -2
- package/dist/server/persist.post.js +1 -2
- package/dist/server/set-token.post.js +1 -2
- package/dist/services/executions/executions.type.d.ts +8 -0
- package/dist/services/executions/executions.type.d.ts.map +1 -1
- package/dist/services/notifications/index.d.ts.map +1 -1
- package/dist/services/notifications/notifications.type.d.ts +7 -0
- package/dist/services/notifications/notifications.type.d.ts.map +1 -1
- package/dist/services/people/packops/index.d.ts +13 -6
- package/dist/services/people/packops/index.d.ts.map +1 -1
- package/dist/services/people/process/actions.d.ts +8 -1
- package/dist/services/people/process/actions.d.ts.map +1 -1
- package/dist/services/people/process/ct.types.d.ts +7 -0
- package/dist/services/people/process/ct.types.d.ts.map +1 -1
- package/dist/stores/authz.d.ts +1 -1
- package/dist/stores/authz.d.ts.map +1 -1
- package/dist/stores/executions.d.ts +12 -0
- package/dist/stores/executions.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/chunks/_shared-DdBWuPm_.js.map +0 -1
- package/dist/chunks/auth.constant-CMI1lqQc.js.map +0 -1
- package/dist/chunks/authz.constant-BAarvacV.js.map +0 -1
- package/dist/chunks/http.constant-BzH5tJTG.js.map +0 -1
- package/dist/chunks/mt5Retcode-DlZLQOLA.js.map +0 -1
- package/dist/chunks/storage.constant--64BDSPW.js.map +0 -1
- package/dist/common/helpers/format.js.map +0 -1
- package/dist/common/helpers/mt5Retcode.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/nuxt.js.map +0 -1
- package/dist/runtime/plugin.js.map +0 -1
- package/dist/server/auth/cbs-callback.post.js.map +0 -1
- package/dist/server/auth/cbs-start.post.js.map +0 -1
- package/dist/server/auth/idp-callback.get.js.map +0 -1
- package/dist/server/auth/idp-link.post.js.map +0 -1
- package/dist/server/auth/idp-login.get.js.map +0 -1
- package/dist/server/auth/idp-unlink.delete.js.map +0 -1
- package/dist/server/auth/login.post.js.map +0 -1
- package/dist/server/auth/logout.post.js.map +0 -1
- package/dist/server/auth/refresh.post.js.map +0 -1
- package/dist/server/authz/portal-access.get.js.map +0 -1
- package/dist/server/clear-token.delete.js.map +0 -1
- package/dist/server/persist.post.js.map +0 -1
- package/dist/server/set-token.post.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
Copyright (c) 2026 EAERA. All rights reserved.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
services is permitted.
|
|
3
|
+
EAERA SOFTWARE LICENSE — DRAFT v2
|
|
4
|
+
[PENDING FINAL REVIEW BY EAERA LEGAL — DO NOT REMOVE THIS NOTICE UNTIL
|
|
5
|
+
THE TEXT IS APPROVED. CONSULT EAERA LEGAL BEFORE SWITCHING TO AN
|
|
6
|
+
OPEN-SOURCE LICENSE (MIT / APACHE-2.0).]
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
|
12
|
-
EVENT SHALL EAERA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
13
|
-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF
|
|
14
|
-
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
8
|
+
1. Ownership. This software and its documentation are proprietary to
|
|
9
|
+
EAERA. All rights not expressly granted below are reserved.
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
2. Permitted use. You may obtain, install, cache, and run this package
|
|
12
|
+
from the public npm registry (registry.npmjs.org), including through
|
|
13
|
+
corporate registries, mirrors, and proxies that cache registry
|
|
14
|
+
content (e.g. Artifactory, Verdaccio), solely for the purpose of
|
|
15
|
+
building, deploying, and operating applications that interact with
|
|
16
|
+
EAERA services ("Permitted Applications"). You may copy and bundle
|
|
17
|
+
portions of this package into Permitted Applications, including
|
|
18
|
+
modifications made for internal use within such applications.
|
|
19
|
+
|
|
20
|
+
3. Restrictions. Except as expressly permitted in Section 2 or provided
|
|
21
|
+
in writing by EAERA, you may NOT redistribute, publish, sublicense,
|
|
22
|
+
resell, or make available this software in source or binary form, in
|
|
23
|
+
whole or in part, and you may NOT use it to build products that
|
|
24
|
+
compete with EAERA services.
|
|
25
|
+
|
|
26
|
+
4. No warranty. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR
|
|
27
|
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
28
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
29
|
+
ARE DISCLAIMED. IN NO EVENT SHALL EAERA BE LIABLE FOR ANY DIRECT,
|
|
30
|
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
31
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
32
|
+
OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# Third-Party Software Notices
|
|
2
|
+
|
|
3
|
+
This package declares its dependencies in `package.json`; they are installed
|
|
4
|
+
by your package manager and are NOT bundled into the published artifacts.
|
|
5
|
+
Each dependency remains under its own license, listed below for the resolved
|
|
6
|
+
lockfile versions.
|
|
7
|
+
|
|
8
|
+
License metadata sourced from the npm registry (2026-09-17).
|
|
9
|
+
|
|
10
|
+
- `@babel/code-frame@7.29.7` — MIT
|
|
11
|
+
- `@babel/helper-string-parser@7.29.7` — MIT
|
|
12
|
+
- `@babel/helper-validator-identifier@7.29.7` — MIT
|
|
13
|
+
- `@babel/parser@7.29.7` — MIT
|
|
14
|
+
- `@babel/types@7.29.7` — MIT
|
|
15
|
+
- `@commitlint/cli@20.5.3` — MIT
|
|
16
|
+
- `@commitlint/config-validator@20.5.0` — MIT
|
|
17
|
+
- `@commitlint/ensure@20.5.3` — MIT
|
|
18
|
+
- `@commitlint/execute-rule@20.0.0` — MIT
|
|
19
|
+
- `@commitlint/format@20.5.0` — MIT
|
|
20
|
+
- `@commitlint/is-ignored@20.5.0` — MIT
|
|
21
|
+
- `@commitlint/lint@20.5.3` — MIT
|
|
22
|
+
- `@commitlint/load@20.5.3` — MIT
|
|
23
|
+
- `@commitlint/message@20.4.3` — MIT
|
|
24
|
+
- `@commitlint/parse@20.5.0` — MIT
|
|
25
|
+
- `@commitlint/read@20.5.0` — MIT
|
|
26
|
+
- `@commitlint/resolve-extends@20.5.3` — MIT
|
|
27
|
+
- `@commitlint/rules@20.5.3` — MIT
|
|
28
|
+
- `@commitlint/to-lines@20.0.0` — MIT
|
|
29
|
+
- `@commitlint/top-level@20.4.3` — MIT
|
|
30
|
+
- `@commitlint/types@20.5.0` — MIT
|
|
31
|
+
- `@conventional-changelog/git-client@2.7.0` — MIT
|
|
32
|
+
- `@esbuild/aix-ppc64@0.27.7` — MIT
|
|
33
|
+
- `@esbuild/android-arm@0.27.7` — MIT
|
|
34
|
+
- `@esbuild/android-arm64@0.27.7` — MIT
|
|
35
|
+
- `@esbuild/android-x64@0.27.7` — MIT
|
|
36
|
+
- `@esbuild/darwin-arm64@0.27.7` — MIT
|
|
37
|
+
- `@esbuild/darwin-x64@0.27.7` — MIT
|
|
38
|
+
- `@esbuild/freebsd-arm64@0.27.7` — MIT
|
|
39
|
+
- `@esbuild/freebsd-x64@0.27.7` — MIT
|
|
40
|
+
- `@esbuild/linux-arm@0.27.7` — MIT
|
|
41
|
+
- `@esbuild/linux-arm64@0.27.7` — MIT
|
|
42
|
+
- `@esbuild/linux-ia32@0.27.7` — MIT
|
|
43
|
+
- `@esbuild/linux-loong64@0.27.7` — MIT
|
|
44
|
+
- `@esbuild/linux-mips64el@0.27.7` — MIT
|
|
45
|
+
- `@esbuild/linux-ppc64@0.27.7` — MIT
|
|
46
|
+
- `@esbuild/linux-riscv64@0.27.7` — MIT
|
|
47
|
+
- `@esbuild/linux-s390x@0.27.7` — MIT
|
|
48
|
+
- `@esbuild/linux-x64@0.27.7` — MIT
|
|
49
|
+
- `@esbuild/netbsd-arm64@0.27.7` — MIT
|
|
50
|
+
- `@esbuild/netbsd-x64@0.27.7` — MIT
|
|
51
|
+
- `@esbuild/openbsd-arm64@0.27.7` — MIT
|
|
52
|
+
- `@esbuild/openbsd-x64@0.27.7` — MIT
|
|
53
|
+
- `@esbuild/openharmony-arm64@0.27.7` — MIT
|
|
54
|
+
- `@esbuild/sunos-x64@0.27.7` — MIT
|
|
55
|
+
- `@esbuild/win32-arm64@0.27.7` — MIT
|
|
56
|
+
- `@esbuild/win32-ia32@0.27.7` — MIT
|
|
57
|
+
- `@esbuild/win32-x64@0.27.7` — MIT
|
|
58
|
+
- `@jridgewell/gen-mapping@0.3.13` — MIT
|
|
59
|
+
- `@jridgewell/remapping@2.3.5` — MIT
|
|
60
|
+
- `@jridgewell/resolve-uri@3.1.2` — MIT
|
|
61
|
+
- `@jridgewell/sourcemap-codec@1.5.5` — MIT
|
|
62
|
+
- `@jridgewell/trace-mapping@0.3.31` — MIT
|
|
63
|
+
- `@nuxt/kit@4.4.8` — MIT
|
|
64
|
+
- `@nuxt/schema@4.4.8` — MIT
|
|
65
|
+
- `@pinia/nuxt@0.11.3` — MIT
|
|
66
|
+
- `@pnpm/exe.android-arm64@12.4.1` — MIT
|
|
67
|
+
- `@pnpm/exe.android-x64@12.4.1` — MIT
|
|
68
|
+
- `@pnpm/exe.darwin-arm64@12.4.1` — MIT
|
|
69
|
+
- `@pnpm/exe.darwin-x64@12.4.1` — MIT
|
|
70
|
+
- `@pnpm/exe.freebsd-x64@12.4.1` — MIT
|
|
71
|
+
- `@pnpm/exe.linux-arm64@12.4.1` — MIT
|
|
72
|
+
- `@pnpm/exe.linux-arm64-musl@12.4.1` — MIT
|
|
73
|
+
- `@pnpm/exe.linux-ppc64@12.4.1` — MIT
|
|
74
|
+
- `@pnpm/exe.linux-riscv64@12.4.1` — MIT
|
|
75
|
+
- `@pnpm/exe.linux-s390x@12.4.1` — MIT
|
|
76
|
+
- `@pnpm/exe.linux-x64@12.4.1` — MIT
|
|
77
|
+
- `@pnpm/exe.linux-x64-musl@12.4.1` — MIT
|
|
78
|
+
- `@pnpm/exe.win32-arm64@12.4.1` — MIT
|
|
79
|
+
- `@pnpm/exe.win32-x64@12.4.1` — MIT
|
|
80
|
+
- `@publint/pack@0.1.5` — MIT
|
|
81
|
+
- `@rollup/pluginutils@5.4.0` — MIT
|
|
82
|
+
- `@rollup/rollup-android-arm64@4.62.2` — MIT
|
|
83
|
+
- `@rollup/rollup-android-arm-eabi@4.62.2` — MIT
|
|
84
|
+
- `@rollup/rollup-darwin-arm64@4.62.2` — MIT
|
|
85
|
+
- `@rollup/rollup-darwin-x64@4.62.2` — MIT
|
|
86
|
+
- `@rollup/rollup-freebsd-arm64@4.62.2` — MIT
|
|
87
|
+
- `@rollup/rollup-freebsd-x64@4.62.2` — MIT
|
|
88
|
+
- `@rollup/rollup-linux-arm64-gnu@4.62.2` — MIT
|
|
89
|
+
- `@rollup/rollup-linux-arm64-musl@4.62.2` — MIT
|
|
90
|
+
- `@rollup/rollup-linux-arm-gnueabihf@4.62.2` — MIT
|
|
91
|
+
- `@rollup/rollup-linux-arm-musleabihf@4.62.2` — MIT
|
|
92
|
+
- `@rollup/rollup-linux-loong64-gnu@4.62.2` — MIT
|
|
93
|
+
- `@rollup/rollup-linux-loong64-musl@4.62.2` — MIT
|
|
94
|
+
- `@rollup/rollup-linux-ppc64-gnu@4.62.2` — MIT
|
|
95
|
+
- `@rollup/rollup-linux-ppc64-musl@4.62.2` — MIT
|
|
96
|
+
- `@rollup/rollup-linux-riscv64-gnu@4.62.2` — MIT
|
|
97
|
+
- `@rollup/rollup-linux-riscv64-musl@4.62.2` — MIT
|
|
98
|
+
- `@rollup/rollup-linux-s390x-gnu@4.62.2` — MIT
|
|
99
|
+
- `@rollup/rollup-linux-x64-gnu@4.62.2` — MIT
|
|
100
|
+
- `@rollup/rollup-linux-x64-musl@4.62.2` — MIT
|
|
101
|
+
- `@rollup/rollup-openbsd-x64@4.62.2` — MIT
|
|
102
|
+
- `@rollup/rollup-openharmony-arm64@4.62.2` — MIT
|
|
103
|
+
- `@rollup/rollup-win32-arm64-msvc@4.62.2` — MIT
|
|
104
|
+
- `@rollup/rollup-win32-ia32-msvc@4.62.2` — MIT
|
|
105
|
+
- `@rollup/rollup-win32-x64-gnu@4.62.2` — MIT
|
|
106
|
+
- `@rollup/rollup-win32-x64-msvc@4.62.2` — MIT
|
|
107
|
+
- `@simple-libs/child-process-utils@1.0.2` — MIT
|
|
108
|
+
- `@simple-libs/stream-utils@1.2.0` — MIT
|
|
109
|
+
- `@standard-schema/spec@1.1.0` — MIT
|
|
110
|
+
- `@types/chai@5.2.3` — MIT
|
|
111
|
+
- `@types/deep-eql@4.0.2` — MIT
|
|
112
|
+
- `@types/estree@1.0.9` — MIT
|
|
113
|
+
- `@types/node@22.20.0` — MIT
|
|
114
|
+
- `@vitest/expect@4.1.9` — MIT
|
|
115
|
+
- `@vitest/mocker@4.1.9` — MIT
|
|
116
|
+
- `@vitest/pretty-format@4.1.9` — MIT
|
|
117
|
+
- `@vitest/runner@4.1.9` — MIT
|
|
118
|
+
- `@vitest/snapshot@4.1.9` — MIT
|
|
119
|
+
- `@vitest/spy@4.1.9` — MIT
|
|
120
|
+
- `@vitest/utils@4.1.9` — MIT
|
|
121
|
+
- `@volar/language-core@2.4.28` — MIT
|
|
122
|
+
- `@volar/source-map@2.4.28` — MIT
|
|
123
|
+
- `@volar/typescript@2.4.28` — MIT
|
|
124
|
+
- `@vue/compiler-core@3.5.38` — MIT
|
|
125
|
+
- `@vue/compiler-dom@3.5.38` — MIT
|
|
126
|
+
- `@vue/compiler-sfc@3.5.38` — MIT
|
|
127
|
+
- `@vue/compiler-ssr@3.5.38` — MIT
|
|
128
|
+
- `@vue/devtools-api@7.7.9` — MIT
|
|
129
|
+
- `@vue/devtools-kit@7.7.9` — MIT
|
|
130
|
+
- `@vue/devtools-shared@7.7.9` — MIT
|
|
131
|
+
- `@vue/reactivity@3.5.38` — MIT
|
|
132
|
+
- `@vue/runtime-core@3.5.38` — MIT
|
|
133
|
+
- `@vue/runtime-dom@3.5.38` — MIT
|
|
134
|
+
- `@vue/server-renderer@3.5.38` — MIT
|
|
135
|
+
- `@vue/shared@3.5.38` — MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as COOKIE_DEFAULTS } from './storage.constant
|
|
1
|
+
import { a as COOKIE_DEFAULTS } from './storage.constant-CVWam5ls.js';
|
|
2
2
|
import { useRuntimeConfig } from '#imports';
|
|
3
3
|
|
|
4
4
|
const TOKEN_COOKIE_OPTIONS = {
|
|
@@ -24,4 +24,3 @@ function readSdkConfig(event) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { TOKEN_COOKIE_OPTIONS as T, readSdkConfig as r };
|
|
27
|
-
//# sourceMappingURL=_shared-DdBWuPm_.js.map
|
|
@@ -30,4 +30,3 @@ const HTTP_DEFAULTS = {
|
|
|
30
30
|
const HTTP_RETRY_STATUS_CODES = [408, 425, 429, 500, 502, 503, 504];
|
|
31
31
|
|
|
32
32
|
export { HTTP_DEFAULTS as H, RESPONSE_CASING_VALUE as R, SERIALIZATION_FORMAT as S, HTTP_RETRY_STATUS_CODES as a, HTTP_HEADER as b };
|
|
33
|
-
//# sourceMappingURL=http.constant-BzH5tJTG.js.map
|
|
@@ -175,4 +175,3 @@ function viewMt5Retcode(retcode) {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
export { viewMt5Retcode as A, MT5_RETCODE as M, WS_RECONNECT_INITIAL_MS as W, WS_RECONNECT_MAX_MS as a, WS_CONNECTION_STATE as b, WS_PING_INTERVAL_MS as c, WS_MESSAGE_TYPE as d, WS_CLOSE_CODE as e, WS_MAX_RECONNECT_ATTEMPTS as f, WS_AUTH_TIMEOUT_MS as g, WS_RECONNECT_JITTER_MS as h, WS_PING_WATCHDOG_CHECK_MS as i, WS_MAX_SUBSCRIPTIONS as j, WS_PING_WATCHDOG_FACTOR as k, WS_ACTION_ACCEPTED_ERROR_CODE as l, WS_ACTION_ERROR_CODE as m, WS_ACTION_RESULT_ERROR_CODE as n, WS_ACTION_RESULT_TTL_MS as o, WS_AUTH_ERROR_CODE as p, WS_CLOSE_REASON as q, WS_MT5_EVENT_TYPE as r, WS_TOPIC as s, WS_TOPIC_NAMESPACE as t, accountTopic as u, adminTopic as v, mt5Topic as w, streamTopic as x, symbolTopic as y, userTopic as z };
|
|
178
|
-
//# sourceMappingURL=mt5Retcode-DlZLQOLA.js.map
|
|
@@ -10,6 +10,7 @@ const COOKIE_DEFAULTS = {
|
|
|
10
10
|
};
|
|
11
11
|
const STORE_PERSIST_KEY = {
|
|
12
12
|
AUTH: "cms-auth-v1",
|
|
13
|
+
AUTHZ: "cms-authz-v1",
|
|
13
14
|
CONTENT: "cms-content-v1",
|
|
14
15
|
RULES: "cms-rules-v1",
|
|
15
16
|
EXECUTIONS: "cms-executions-v1",
|
|
@@ -41,4 +42,3 @@ const COOKIE_SAME_SITE = {
|
|
|
41
42
|
};
|
|
42
43
|
|
|
43
44
|
export { COOKIE_SAME_SITE as C, PERSIST_KEY as P, REFRESH_TOKEN_STORAGE_KEY as R, STORE_PERSIST_KEY as S, TOKEN_STORAGE_KEY as T, COOKIE_DEFAULTS as a, PERSIST_ALLOWED_KEYS as b, PERSIST_MAX_BYTES as c, PERSIST_PREFIX as d, STORAGE_NAME as e };
|
|
44
|
-
//# sourceMappingURL=storage.constant--64BDSPW.js.map
|
|
@@ -19,6 +19,7 @@ export declare const COOKIE_DEFAULTS: {
|
|
|
19
19
|
/** Pinia persistence keys (versioned for schema migration). */
|
|
20
20
|
export declare const STORE_PERSIST_KEY: {
|
|
21
21
|
readonly AUTH: "cms-auth-v1";
|
|
22
|
+
readonly AUTHZ: "cms-authz-v1";
|
|
22
23
|
readonly CONTENT: "cms-content-v1";
|
|
23
24
|
readonly RULES: "cms-rules-v1";
|
|
24
25
|
readonly EXECUTIONS: "cms-executions-v1";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.constant.d.ts","sourceRoot":"","sources":["../../../src/common/constants/storage.constant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAG,kBAA2B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAG,mBAA4B,CAAC;AAEtE,sEAAsE;AACtE,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AAEX,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"storage.constant.d.ts","sourceRoot":"","sources":["../../../src/common/constants/storage.constant.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAG,kBAA2B,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAG,mBAA4B,CAAC;AAEtE,sEAAsE;AACtE,eAAO,MAAM,eAAe;;;;;;CAMlB,CAAC;AAEX,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;CAcpB,CAAC;AAEX;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAG,cAAuB,CAAC;AAEtD,eAAO,MAAM,WAAW;;CAEd,CAAC;AAEX,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB,OAAO,CAAC;AAEtC,6DAA6D;AAC7D,eAAO,MAAM,oBAAoB,wCAA4C,CAAC;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;CAKf,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { H as HTTP_DEFAULTS, a as HTTP_RETRY_STATUS_CODES, b as HTTP_HEADER, R a
|
|
|
3
3
|
export { S as SERIALIZATION_FORMAT } from './chunks/http.constant-BzH5tJTG.js';
|
|
4
4
|
import { A as AUTH_PROXY_PATH, a as AUTH_ENDPOINT } from './chunks/auth.constant-CMI1lqQc.js';
|
|
5
5
|
import { A as AUTHZ_PROXY_PATH, a as AUTHZ_ENDPOINT } from './chunks/authz.constant-BAarvacV.js';
|
|
6
|
-
import { C as COOKIE_SAME_SITE, a as COOKIE_DEFAULTS, T as TOKEN_STORAGE_KEY, P as PERSIST_KEY, S as STORE_PERSIST_KEY } from './chunks/storage.constant
|
|
7
|
-
export { b as PERSIST_ALLOWED_KEYS, c as PERSIST_MAX_BYTES, d as PERSIST_PREFIX, e as STORAGE_NAME } from './chunks/storage.constant
|
|
6
|
+
import { C as COOKIE_SAME_SITE, a as COOKIE_DEFAULTS, T as TOKEN_STORAGE_KEY, P as PERSIST_KEY, S as STORE_PERSIST_KEY } from './chunks/storage.constant-CVWam5ls.js';
|
|
7
|
+
export { b as PERSIST_ALLOWED_KEYS, c as PERSIST_MAX_BYTES, d as PERSIST_PREFIX, e as STORAGE_NAME } from './chunks/storage.constant-CVWam5ls.js';
|
|
8
8
|
import { ref, shallowRef, watch, computed } from 'vue';
|
|
9
9
|
import { W as WS_RECONNECT_INITIAL_MS, a as WS_RECONNECT_MAX_MS, b as WS_CONNECTION_STATE, c as WS_PING_INTERVAL_MS, d as WS_MESSAGE_TYPE, e as WS_CLOSE_CODE, f as WS_MAX_RECONNECT_ATTEMPTS, g as WS_AUTH_TIMEOUT_MS, h as WS_RECONNECT_JITTER_MS, i as WS_PING_WATCHDOG_CHECK_MS, j as WS_MAX_SUBSCRIPTIONS, k as WS_PING_WATCHDOG_FACTOR } from './chunks/mt5Retcode-DlZLQOLA.js';
|
|
10
10
|
export { M as MT5_RETCODE, l as WS_ACTION_ACCEPTED_ERROR_CODE, m as WS_ACTION_ERROR_CODE, n as WS_ACTION_RESULT_ERROR_CODE, o as WS_ACTION_RESULT_TTL_MS, p as WS_AUTH_ERROR_CODE, q as WS_CLOSE_REASON, r as WS_MT5_EVENT_TYPE, s as WS_TOPIC, t as WS_TOPIC_NAMESPACE, u as accountTopic, v as adminTopic, w as mt5Topic, x as streamTopic, y as symbolTopic, z as userTopic, A as viewMt5Retcode } from './chunks/mt5Retcode-DlZLQOLA.js';
|
|
@@ -1192,7 +1192,7 @@ function createContentService(opts) {
|
|
|
1192
1192
|
if (mock())
|
|
1193
1193
|
return _okList(mockContentList(query));
|
|
1194
1194
|
return api(CONTENT_ENDPOINT.BASE, {
|
|
1195
|
-
query: _wireQuery(query)
|
|
1195
|
+
query: _wireQuery$1(query)
|
|
1196
1196
|
});
|
|
1197
1197
|
},
|
|
1198
1198
|
async detail(uuid) {
|
|
@@ -1247,7 +1247,7 @@ function createContentService(opts) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
};
|
|
1249
1249
|
}
|
|
1250
|
-
function _wireQuery(query) {
|
|
1250
|
+
function _wireQuery$1(query) {
|
|
1251
1251
|
const out = { ...query };
|
|
1252
1252
|
if (out.packId !== void 0) {
|
|
1253
1253
|
out.pack_id = out.packId;
|
|
@@ -1795,18 +1795,18 @@ function createExecutionsService(opts) {
|
|
|
1795
1795
|
};
|
|
1796
1796
|
}
|
|
1797
1797
|
if (params.contentId) {
|
|
1798
|
-
const { contentId: _id, offset = 0, limit = 50, ...
|
|
1798
|
+
const { contentId: _id, offset = 0, limit = 50, ...rest2 } = params;
|
|
1799
1799
|
const rows = await api(
|
|
1800
1800
|
EXECUTIONS_ENDPOINT.byContent(params.contentId),
|
|
1801
1801
|
{
|
|
1802
|
-
query: { offset, limit, ...
|
|
1802
|
+
query: { offset, limit, ..._wireQuery(rest2) }
|
|
1803
1803
|
}
|
|
1804
1804
|
);
|
|
1805
1805
|
const page = Math.floor(offset / Math.max(limit, 1)) + 1;
|
|
1806
1806
|
return { items: rows, total: rows.length, page, perPage: limit };
|
|
1807
1807
|
}
|
|
1808
|
-
const { contentId: _drop, offset: _o, limit: _l, sourceType: _s, ...
|
|
1809
|
-
return api(EXECUTIONS_ENDPOINT.BASE, { query });
|
|
1808
|
+
const { contentId: _drop, offset: _o, limit: _l, sourceType: _s, ...rest } = params;
|
|
1809
|
+
return api(EXECUTIONS_ENDPOINT.BASE, { query: _wireQuery(rest) });
|
|
1810
1810
|
},
|
|
1811
1811
|
async detail(uuid) {
|
|
1812
1812
|
if (mock()) return _mustFind$1(mockExecutionDetail(uuid), uuid);
|
|
@@ -1814,6 +1814,16 @@ function createExecutionsService(opts) {
|
|
|
1814
1814
|
}
|
|
1815
1815
|
};
|
|
1816
1816
|
}
|
|
1817
|
+
function _wireQuery(params) {
|
|
1818
|
+
const { contentUuid, perPage, excludeParams, includeUnlinked, llmOnly, ...rest } = params;
|
|
1819
|
+
const q = { ...rest };
|
|
1820
|
+
if (contentUuid != null) q.content_uuid = contentUuid;
|
|
1821
|
+
if (perPage != null) q.per_page = perPage;
|
|
1822
|
+
if (excludeParams != null) q.exclude_params = excludeParams;
|
|
1823
|
+
if (includeUnlinked != null) q.include_unlinked = includeUnlinked;
|
|
1824
|
+
if (llmOnly != null) q.llm_only = llmOnly;
|
|
1825
|
+
return q;
|
|
1826
|
+
}
|
|
1817
1827
|
function _mustFind$1(exec, uuid) {
|
|
1818
1828
|
if (!exec) throw _notFound$2(`Execution ${uuid} not found`);
|
|
1819
1829
|
return deepClone(exec);
|
|
@@ -3043,8 +3053,8 @@ const _MOCK_PROVIDERS = [
|
|
|
3043
3053
|
{
|
|
3044
3054
|
name: "openai-default",
|
|
3045
3055
|
providerType: LLM_PROVIDER_TYPE.OPENAI,
|
|
3046
|
-
baseUrl: "https://
|
|
3047
|
-
models: ["
|
|
3056
|
+
baseUrl: "https://llm.mock.example/v1",
|
|
3057
|
+
models: ["mock-model-pro", "mock-model-basic"],
|
|
3048
3058
|
config: { timeout: 180 },
|
|
3049
3059
|
isEnabled: true,
|
|
3050
3060
|
isHealthy: true
|
|
@@ -3216,6 +3226,8 @@ function createNotificationsService(opts) {
|
|
|
3216
3226
|
if (query.category) q.category = query.category;
|
|
3217
3227
|
if (query.page != null) q.page = query.page;
|
|
3218
3228
|
if (query.perPage != null) q.per_page = query.perPage;
|
|
3229
|
+
if (query.sortBy) q.sort_by = query.sortBy;
|
|
3230
|
+
if (query.sortDirection) q.sort_direction = query.sortDirection;
|
|
3219
3231
|
return q;
|
|
3220
3232
|
};
|
|
3221
3233
|
return {
|
|
@@ -4049,17 +4061,30 @@ function createPeoplePackOpsService(opts) {
|
|
|
4049
4061
|
async uninstall(slug, force = false) {
|
|
4050
4062
|
await api(`${PACKS_ENDPOINT}/${encodeURIComponent(slug)}`, {
|
|
4051
4063
|
method: "DELETE",
|
|
4052
|
-
|
|
4064
|
+
body: force ? { force: true } : void 0
|
|
4053
4065
|
});
|
|
4054
4066
|
},
|
|
4055
4067
|
async updateMetadata(slug, patch) {
|
|
4056
|
-
const
|
|
4057
|
-
|
|
4058
|
-
|
|
4068
|
+
const row = await api(
|
|
4069
|
+
`${PACKS_ENDPOINT}/${encodeURIComponent(slug)}`
|
|
4070
|
+
);
|
|
4071
|
+
const currentMeta = row?.metadata ?? {};
|
|
4072
|
+
const merged = {
|
|
4073
|
+
...currentMeta,
|
|
4074
|
+
...patch.metadata ?? {}
|
|
4059
4075
|
};
|
|
4076
|
+
if (patch.disabled !== void 0) merged["people.pack.disabled"] = patch.disabled;
|
|
4077
|
+
for (const key of [
|
|
4078
|
+
"installedRef",
|
|
4079
|
+
"installedRequestedRef",
|
|
4080
|
+
"installed_ref",
|
|
4081
|
+
"installed_requested_ref"
|
|
4082
|
+
]) {
|
|
4083
|
+
if (currentMeta[key] !== void 0) merged[key] = currentMeta[key];
|
|
4084
|
+
}
|
|
4060
4085
|
return api(`${PACKS_ENDPOINT}/${encodeURIComponent(slug)}`, {
|
|
4061
4086
|
method: "PUT",
|
|
4062
|
-
body: { metadata }
|
|
4087
|
+
body: { metadata: merged }
|
|
4063
4088
|
});
|
|
4064
4089
|
},
|
|
4065
4090
|
async conflicts(slug) {
|
|
@@ -6909,116 +6934,134 @@ function _noSdk$a() {
|
|
|
6909
6934
|
return new Error("Auth store: SDK not attached. Call setSdk() first.");
|
|
6910
6935
|
}
|
|
6911
6936
|
|
|
6912
|
-
const useAuthzStore = defineStore(
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
const
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
loaded.value = false;
|
|
6957
|
-
isLoading.value = false;
|
|
6958
|
-
errorCode.value = "";
|
|
6959
|
-
inFlight = null;
|
|
6960
|
-
};
|
|
6961
|
-
const loadPortalAccess = async (opts) => {
|
|
6962
|
-
if (!sdk.value) throw new Error("Authz store: SDK not attached. Call setSdk() first.");
|
|
6963
|
-
if (opts?.portal) portal.value = opts.portal;
|
|
6964
|
-
if (loaded.value && !opts?.force) return;
|
|
6965
|
-
if (inFlight) return inFlight;
|
|
6966
|
-
isLoading.value = true;
|
|
6967
|
-
inFlight = (async () => {
|
|
6968
|
-
try {
|
|
6969
|
-
portalAccess.value = await sdk.value.authz.portalAccess(portal.value || void 0);
|
|
6970
|
-
errorCode.value = "";
|
|
6971
|
-
} catch (e) {
|
|
6972
|
-
portalAccess.value = null;
|
|
6973
|
-
errorCode.value = _extractErrorCode(e);
|
|
6974
|
-
if (!errorCode.value) console.error("[cms-authz] portalAccess failed:", e);
|
|
6975
|
-
} finally {
|
|
6976
|
-
loaded.value = true;
|
|
6977
|
-
isLoading.value = false;
|
|
6978
|
-
inFlight = null;
|
|
6979
|
-
}
|
|
6980
|
-
})();
|
|
6981
|
-
return inFlight;
|
|
6982
|
-
};
|
|
6983
|
-
const auth = useAuthStore();
|
|
6984
|
-
watch(
|
|
6985
|
-
() => auth.loginEpoch,
|
|
6986
|
-
() => {
|
|
6937
|
+
const useAuthzStore = defineStore(
|
|
6938
|
+
"cms-authz",
|
|
6939
|
+
() => {
|
|
6940
|
+
const sdk = shallowRef(null);
|
|
6941
|
+
const portal = ref("");
|
|
6942
|
+
const portalAccess = ref(null);
|
|
6943
|
+
const loaded = ref(false);
|
|
6944
|
+
const isLoading = ref(false);
|
|
6945
|
+
const errorCode = ref("");
|
|
6946
|
+
let inFlight = null;
|
|
6947
|
+
const hasAccess = computed(() => portalAccess.value?.hasAccess ?? false);
|
|
6948
|
+
const permissions = computed(() => portalAccess.value?.permissions ?? []);
|
|
6949
|
+
const roles = computed(() => portalAccess.value?.roles ?? []);
|
|
6950
|
+
const SESSION_INVALID_CODES = /* @__PURE__ */ new Set([
|
|
6951
|
+
"UNAUTHENTICATED",
|
|
6952
|
+
"INVALID_TOKEN_AUDIENCE"
|
|
6953
|
+
]);
|
|
6954
|
+
const ACCESS_DENIED_CODE = "PORTAL_ACCESS_DENIED";
|
|
6955
|
+
const isSessionInvalid = computed(
|
|
6956
|
+
() => loaded.value && SESSION_INVALID_CODES.has(errorCode.value)
|
|
6957
|
+
);
|
|
6958
|
+
const isAccessDenied = computed(() => loaded.value && errorCode.value === ACCESS_DENIED_CODE);
|
|
6959
|
+
const can = (permission) => {
|
|
6960
|
+
if (!loaded.value || !hasAccess.value) return false;
|
|
6961
|
+
return permissions.value.some((g) => _permissionMatches(g, permission));
|
|
6962
|
+
};
|
|
6963
|
+
const hasRole = (role) => roles.value.includes(role);
|
|
6964
|
+
const hasAnyPermission = (list) => {
|
|
6965
|
+
if (!loaded.value || !hasAccess.value) return false;
|
|
6966
|
+
const granted = permissions.value;
|
|
6967
|
+
return list.some((p) => granted.some((g) => _permissionMatches(g, p)));
|
|
6968
|
+
};
|
|
6969
|
+
const hasAllPermissions = (list) => {
|
|
6970
|
+
if (!loaded.value || !hasAccess.value) return false;
|
|
6971
|
+
const granted = permissions.value;
|
|
6972
|
+
return list.every((p) => granted.some((g) => _permissionMatches(g, p)));
|
|
6973
|
+
};
|
|
6974
|
+
const setSdk = (instance) => {
|
|
6975
|
+
sdk.value = instance;
|
|
6976
|
+
};
|
|
6977
|
+
const setPortal = (id) => {
|
|
6978
|
+
portal.value = id;
|
|
6979
|
+
};
|
|
6980
|
+
const _reset = () => {
|
|
6987
6981
|
portalAccess.value = null;
|
|
6988
6982
|
loaded.value = false;
|
|
6983
|
+
isLoading.value = false;
|
|
6989
6984
|
errorCode.value = "";
|
|
6990
6985
|
inFlight = null;
|
|
6986
|
+
};
|
|
6987
|
+
const loadPortalAccess = async (opts) => {
|
|
6988
|
+
if (!sdk.value) throw new Error("Authz store: SDK not attached. Call setSdk() first.");
|
|
6989
|
+
if (opts?.portal) portal.value = opts.portal;
|
|
6990
|
+
if (loaded.value && !opts?.force) return;
|
|
6991
|
+
if (inFlight) return inFlight;
|
|
6992
|
+
isLoading.value = true;
|
|
6993
|
+
inFlight = (async () => {
|
|
6994
|
+
try {
|
|
6995
|
+
portalAccess.value = await sdk.value.authz.portalAccess(portal.value || void 0);
|
|
6996
|
+
errorCode.value = "";
|
|
6997
|
+
} catch (e) {
|
|
6998
|
+
portalAccess.value = null;
|
|
6999
|
+
errorCode.value = _extractErrorCode(e);
|
|
7000
|
+
if (!errorCode.value) console.error("[cms-authz] portalAccess failed:", e);
|
|
7001
|
+
} finally {
|
|
7002
|
+
loaded.value = true;
|
|
7003
|
+
isLoading.value = false;
|
|
7004
|
+
inFlight = null;
|
|
7005
|
+
}
|
|
7006
|
+
})();
|
|
7007
|
+
return inFlight;
|
|
7008
|
+
};
|
|
7009
|
+
const auth = useAuthStore();
|
|
7010
|
+
watch(
|
|
7011
|
+
() => auth.loginEpoch,
|
|
7012
|
+
() => {
|
|
7013
|
+
portalAccess.value = null;
|
|
7014
|
+
loaded.value = false;
|
|
7015
|
+
errorCode.value = "";
|
|
7016
|
+
inFlight = null;
|
|
7017
|
+
}
|
|
7018
|
+
);
|
|
7019
|
+
watch(
|
|
7020
|
+
() => auth.isLoggedIn,
|
|
7021
|
+
(loggedIn) => {
|
|
7022
|
+
if (!loggedIn) _reset();
|
|
7023
|
+
}
|
|
7024
|
+
);
|
|
7025
|
+
return {
|
|
7026
|
+
// state
|
|
7027
|
+
portal,
|
|
7028
|
+
portalAccess,
|
|
7029
|
+
loaded,
|
|
7030
|
+
isLoading,
|
|
7031
|
+
errorCode,
|
|
7032
|
+
// getters
|
|
7033
|
+
hasAccess,
|
|
7034
|
+
permissions,
|
|
7035
|
+
roles,
|
|
7036
|
+
isSessionInvalid,
|
|
7037
|
+
isAccessDenied,
|
|
7038
|
+
// actions
|
|
7039
|
+
setSdk,
|
|
7040
|
+
setPortal,
|
|
7041
|
+
loadPortalAccess,
|
|
7042
|
+
can,
|
|
7043
|
+
hasRole,
|
|
7044
|
+
hasAnyPermission,
|
|
7045
|
+
hasAllPermissions
|
|
7046
|
+
};
|
|
7047
|
+
},
|
|
7048
|
+
{
|
|
7049
|
+
// Rehydrate the portal-access cache across reloads — `permissions`,
|
|
7050
|
+
// `roles`, and `hasAccess` are computeds derived from `portalAccess`,
|
|
7051
|
+
// so persisting the source (plus `loaded` so `can()` trusts the cache
|
|
7052
|
+
// on the first render after F5, per the store contract "read the cache,
|
|
7053
|
+
// never fetch before rendering") restores the full authorization
|
|
7054
|
+
// surface. App-level session-restore middleware is expected to call
|
|
7055
|
+
// `loadPortalAccess({ force: true })` afterwards to refresh from the
|
|
7056
|
+
// server — same fetch-on-restore contract as login / `loginEpoch` bump.
|
|
7057
|
+
// Size: `IPortalAccess` is `{ portal, hasAccess, permissions[], roles[] }`,
|
|
7058
|
+
// well under the `PERSIST_MAX_BYTES` cookie cap.
|
|
7059
|
+
persist: {
|
|
7060
|
+
key: STORE_PERSIST_KEY.AUTHZ,
|
|
7061
|
+
pick: ["portalAccess", "loaded", "errorCode"]
|
|
6991
7062
|
}
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
() => auth.isLoggedIn,
|
|
6995
|
-
(loggedIn) => {
|
|
6996
|
-
if (!loggedIn) _reset();
|
|
6997
|
-
}
|
|
6998
|
-
);
|
|
6999
|
-
return {
|
|
7000
|
-
// state
|
|
7001
|
-
portal,
|
|
7002
|
-
portalAccess,
|
|
7003
|
-
loaded,
|
|
7004
|
-
isLoading,
|
|
7005
|
-
errorCode,
|
|
7006
|
-
// getters
|
|
7007
|
-
hasAccess,
|
|
7008
|
-
permissions,
|
|
7009
|
-
roles,
|
|
7010
|
-
isSessionInvalid,
|
|
7011
|
-
isAccessDenied,
|
|
7012
|
-
// actions
|
|
7013
|
-
setSdk,
|
|
7014
|
-
setPortal,
|
|
7015
|
-
loadPortalAccess,
|
|
7016
|
-
can,
|
|
7017
|
-
hasRole,
|
|
7018
|
-
hasAnyPermission,
|
|
7019
|
-
hasAllPermissions
|
|
7020
|
-
};
|
|
7021
|
-
});
|
|
7063
|
+
}
|
|
7064
|
+
);
|
|
7022
7065
|
function _extractErrorCode(e) {
|
|
7023
7066
|
const err = e;
|
|
7024
7067
|
const payload = err?.data?.data ?? err?.data;
|
|
@@ -7026,6 +7069,16 @@ function _extractErrorCode(e) {
|
|
|
7026
7069
|
const code = detail?.error ?? payload?.error;
|
|
7027
7070
|
return typeof code === "string" ? code : "";
|
|
7028
7071
|
}
|
|
7072
|
+
function _permissionMatches(granted, requested) {
|
|
7073
|
+
if (granted === "*") return true;
|
|
7074
|
+
const g = granted.split(":");
|
|
7075
|
+
if (g.every((seg) => seg === "*")) return true;
|
|
7076
|
+
const r = requested.split(":");
|
|
7077
|
+
if (g.length > r.length) return false;
|
|
7078
|
+
if (!g.every((seg, i) => seg === "*" || seg === r[i])) return false;
|
|
7079
|
+
if (g.length < r.length && g.at(-1) !== "*") return false;
|
|
7080
|
+
return true;
|
|
7081
|
+
}
|
|
7029
7082
|
|
|
7030
7083
|
const useBarsStore = defineStore(
|
|
7031
7084
|
"cms-bars",
|
|
@@ -8605,4 +8658,3 @@ const buildFilter = (conditions) => {
|
|
|
8605
8658
|
};
|
|
8606
8659
|
|
|
8607
8660
|
export { ACTION_KIND, ACTION_KINDS, ACTION_RESULT_FIELDS, AUTHZ_ENDPOINT, AUTHZ_PROXY_PATH, AUTH_ENDPOINT, BARS_DEFAULTS, BARS_ENDPOINT, CBS_STATE_KEY_STORAGE, CHART_INTERVAL, CONDITION_FIELDS, CONDITION_OPERATORS, CONDITION_OPERATOR_LABELS, CONDITION_OPERATOR_SYMBOL_TO_WORD, CONDITION_OPERATOR_VALUE_KINDS, CONDITION_TYPE, CONTENT_DEFAULTS, CONTENT_ENDPOINT, CONTENT_FILTER_OPERATOR, CONTENT_FILTER_SCALAR_OPERATOR, CONTENT_TYPE, CONTENT_TYPES_DEFAULTS, CONTENT_TYPES_ENDPOINT, CONTENT_TYPE_CATEGORY, CONTENT_TYPE_NAMES, COOKIE_SAME_SITE, CRON_PRESETS, CmsError, DEFAULT_CRON_SCHEDULE, DEFAULT_EVENT_CONTENT_TYPE, DEFAULT_LLM_QUERY_TOOLS, EVENT_PAYLOAD_FIELDS, EVENT_TYPE, EVENT_TYPE_OPTIONS, EXECUTIONS_DEFAULTS, EXECUTIONS_ENDPOINT, EXECUTION_STATUS, EXECUTION_STATUSES, EXECUTION_TRANSITION, EXECUTION_TYPE, GOV_ACTION_BY_CT, GOV_ACTION_NAME, GOV_CONTENT_TYPE, GOV_CONTENT_TYPE_NAMES, GOV_COST_GROUP, GOV_DEFAULTS, GOV_ENDPOINT, GOV_USAGE_WINDOW, HISTORY_DEAL_ENTRY, HISTORY_DEFAULTS, HISTORY_ENDPOINT, HISTORY_ORDER_STATUS, HISTORY_SORT_BY, HISTORY_SORT_DIRECTION, HISTORY_TAB, HTTP_DEFAULTS, HTTP_HEADER, HTTP_RETRY_STATUS_CODES, KALSHI_CHART_INTERVAL, KALSHI_ENDPOINT, KALSHI_FUTURE_STATUS, KALSHI_LAST_TICKS_DEFAULTS, KALSHI_LIFECYCLE_STATUS, KALSHI_SERVER_STATUS, KALSHI_SETTLEMENT_RESULT, KALSHI_SYMBOL_TICKS_DEFAULTS, KALSHI_TRENDING_DEFAULTS, LEVERAGE_OPTIONS, LLM_ENDPOINT, LLM_EVAL_BOUNDS, LLM_PROVIDER_TYPE, LLM_QUERY_TOOL, LLM_QUERY_TOOL_OPTIONS, MONITORED_GROUPS_TYPE, MT5_ACCOUNT_STATUS, MT5_ACTION_NAME, MT5_ALL_ACTIONS, MT5_CHART_BAR_SOURCE, MT5_COMMISSION_MODE, MT5_COMMISSION_VOLUME_TYPE, MT5_DEAL_ENTRY, MT5_EXECUTION_MODE, MT5_FINANCIAL_ACTIONS, MT5_INTERVAL, MT5_LOCAL_ACTIONS, MT5_MARKET_STATUS, MT5_OPERATIONAL_ACTIONS, MT5_ORDER_DURATION, MT5_ORDER_KIND, MT5_ORDER_STATE, MT5_ORDER_STATE_NAME, MT5_ORDER_TYPE, MT5_POSITION_TYPE, MT5_SERVER_NAME, MT5_SERVER_STATE, MT5_SYNC_PHASE, MT5_TRADE_MODE, MT5_TRADE_SIDE, MT5_TRADING_ACTIONS, MT5_VIEWER_ACTIONS, NOTIFICATIONS_ENDPOINT, NOTIFICATION_FALLBACK_POLICY, NOTIFICATION_TEMPLATE_STATE, PACKS_AUDIT_ENDPOINT, PACKS_ENDPOINT, PEOPLE_ACTION_BY_CT, PEOPLE_ACTION_NAME, PEOPLE_CONTENT_TYPE, PEOPLE_CONTENT_TYPE_NAMES, PEOPLE_COPILOT_ENDPOINT, PEOPLE_DEFAULTS, PEOPLE_ENDPOINT, PEOPLE_PACK_ID, PEOPLE_SUBJECT_KIND, PEOPLE_SYSTEM_ONLY_ACTIONS, PEOPLE_TARGET_TYPE, PERSIST_KEY, PUBLIC_MARKETS_TYPE, REPORT_TEMPLATES_ENDPOINT, RULES_DEFAULTS, RULES_ENDPOINT, SETTINGS_ENDPOINT, SILENT_LOGIN_MESSAGE, SORT_DIRECTION, STORE_PERSIST_KEY, SUM_WITHIN_DAYS, TOKEN_STORAGE_KEY, TRIGGER_MODE, TRIGGER_TYPE, TokenManager, WS_AUTH_TIMEOUT_MS, WS_CLOSE_CODE, WS_CONNECTION_STATE, WS_EVENT_NAME, WS_MAX_SUBSCRIPTIONS, WS_MESSAGE_TYPE, WS_PING_INTERVAL_MS, WS_RECONNECT_INITIAL_MS, WS_RECONNECT_JITTER_MS, WS_RECONNECT_MAX_MS, actionDefByActionName, actionDefByKind, actionsFromExecution, actionsToExecutionParams, buildCronTrigger, buildEventTrigger, buildFilter, buildSignalTrigger, clearCbsStateKey, coerceEventType, cookieStorage, createApi, createAuthService, createAuthzService, createBarsService, createCmsSDK, createContentService, createContentTypesService, createEaeraWebSocket, createExecutionsService, createGovService, createHistoryService, createKalshiService, createLlmService, createNotificationsService, createPeopleService, createPersistPlugin, createSettingsService, eventPayloadFieldsFor, isKnownEventType, isSystemOnlyAction, llmEvalOf, localStorageAdapter, memoryStorage, normalizeChartInterval, normalizeConditionOperator, promptNameOf, queryToolsOf, readCbsStateKey, resolveStorage, resultOutputOf, scheduleOf, serializeAction, serializeActionParams, signalNameOf, triggerModeOf, useAuthStore, useAuthzStore, useBarsStore, useContentStore, useExecutionsStore, useGovStore, useHistoryStore, useKalshiStore, useLlmProvidersStore, useLlmStore, usePeopleStore, useRulesStore, useSettingsStore, useWsStore };
|
|
8608
|
-
//# sourceMappingURL=index.js.map
|
package/dist/nuxt.js
CHANGED