@hexclave/next 1.0.44 → 1.0.45
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/dist/{admin-app-impl-B4i11dbJ.d.ts → admin-app-impl-rh6q_LBv.d.ts} +10 -10
- package/dist/{admin-app-impl-B4i11dbJ.d.ts.map → admin-app-impl-rh6q_LBv.d.ts.map} +1 -1
- package/dist/clickmap/clickmap-core.d.ts +1 -1
- package/dist/clickmap/clickmap-core.js +2 -2
- package/dist/clickmap/index.d.ts +1 -1
- package/dist/clickmap/index.js +2 -2
- package/dist/{client-app-Bi8p4lxS.d.ts → client-app-pmcoC2IE.d.ts} +3 -3
- package/dist/client-app-pmcoC2IE.d.ts.map +1 -0
- package/dist/components/api-key-dialogs.js +2 -2
- package/dist/components/credential-sign-in.js +1 -1
- package/dist/components/credential-sign-up.js +1 -1
- package/dist/components/magic-link-sign-in.js +1 -1
- package/dist/components/selected-team-switcher.d.ts +1 -1
- package/dist/components/team-icon.d.ts +1 -1
- package/dist/components/team-switcher.d.ts +1 -1
- package/dist/components/team-switcher.js +1 -1
- package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +2 -2
- package/dist/components-page/account-settings/api-keys/api-keys-page.js +2 -2
- package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
- package/dist/components-page/account-settings/payments/payments-page.d.ts +1 -1
- package/dist/components-page/account-settings/teams/leave-team-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-api-keys-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-api-keys-section.js +2 -2
- package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
- package/dist/components-page/account-settings/teams/team-display-name-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-member-invitation-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
- package/dist/components-page/account-settings/teams/team-member-list-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-page.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-profile-image-section.d.ts +1 -1
- package/dist/components-page/account-settings/teams/team-profile-user-section.d.ts +1 -1
- package/dist/components-page/auth-page.js +1 -1
- package/dist/components-page/cli-auth-confirm.js +1 -1
- package/dist/components-page/cli-auth-confirm.test.js +1 -1
- package/dist/components-page/forgot-password.js +1 -1
- package/dist/components-page/hexclave-handler-client.d.ts +1 -1
- package/dist/components-page/hexclave-handler.d.ts +1 -1
- package/dist/components-page/oauth-callback.js +2 -2
- package/dist/components-page/oauth-callback.test.js +1 -1
- package/dist/components-page/onboarding.js +1 -1
- package/dist/components-page/password-reset.js +1 -1
- package/dist/components-page/team-creation.js +1 -1
- package/dist/dev-tool/dev-tool-core.d.ts +1 -1
- package/dist/dev-tool/dev-tool-core.js +2 -2
- package/dist/dev-tool/index.d.ts +1 -1
- package/dist/dev-tool/index.js +2 -2
- package/dist/esm/clickmap/clickmap-core.js +2 -2
- package/dist/esm/clickmap/index.js +2 -2
- package/dist/esm/components/api-key-dialogs.js +2 -2
- package/dist/esm/components/credential-sign-in.js +1 -1
- package/dist/esm/components/credential-sign-up.js +1 -1
- package/dist/esm/components/magic-link-sign-in.js +1 -1
- package/dist/esm/components/team-switcher.js +1 -1
- package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +2 -2
- package/dist/esm/components-page/account-settings/api-keys/api-keys-page.js +2 -2
- package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
- package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +2 -2
- package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
- package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
- package/dist/esm/components-page/auth-page.js +1 -1
- package/dist/esm/components-page/cli-auth-confirm.js +1 -1
- package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
- package/dist/esm/components-page/forgot-password.js +1 -1
- package/dist/esm/components-page/oauth-callback.js +2 -2
- package/dist/esm/components-page/oauth-callback.test.js +1 -1
- package/dist/esm/components-page/onboarding.js +1 -1
- package/dist/esm/components-page/password-reset.js +1 -1
- package/dist/esm/components-page/team-creation.js +1 -1
- package/dist/esm/dev-tool/dev-tool-core.js +2 -2
- package/dist/esm/dev-tool/index.js +2 -2
- package/dist/esm/lib/auth.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -7
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +0 -3
- package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
- package/dist/esm/lib/hexclave-app/apps/implementations/common.js +3 -3
- package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +2 -0
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +4 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
- package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.d.ts +0 -2
- package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.js.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.d.ts +2 -0
- package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.d.ts.map +1 -1
- package/dist/esm/lib/hexclave-app/apps/interfaces/server-app.js.map +1 -1
- package/dist/esm/providers/theme-provider.js +1 -1
- package/dist/esm/pushed-config-error-overlay/index.js +2 -2
- package/dist/{hexclave-provider-BdiqjaCz.d.ts → hexclave-provider-M0b2de8H.d.ts} +2 -2
- package/dist/{hexclave-provider-BdiqjaCz.d.ts.map → hexclave-provider-M0b2de8H.d.ts.map} +1 -1
- package/dist/{hooks-psPwqxZ4.d.ts → hooks-CG0UIKX2.d.ts} +2 -2
- package/dist/{hooks-psPwqxZ4.d.ts.map → hooks-CG0UIKX2.d.ts.map} +1 -1
- package/dist/{index-p0N9MbE5.d.ts → index-F-1uPt64.d.ts} +2 -2
- package/dist/{index-p0N9MbE5.d.ts.map → index-F-1uPt64.d.ts.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/lib/auth.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +0 -3
- package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
- package/dist/lib/hexclave-app/apps/implementations/common.js +3 -3
- package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
- package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +4 -1
- package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js.map +1 -1
- package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
- package/dist/lib/hexclave-app/apps/index.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/admin-app.js.map +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/server-app.d.ts +1 -1
- package/dist/lib/hexclave-app/apps/interfaces/server-app.js.map +1 -1
- package/dist/lib/hexclave-app/index.d.ts +1 -1
- package/dist/lib/hexclave-app/projects/index.d.ts +1 -1
- package/dist/lib/hexclave-app/teams/index.d.ts +1 -1
- package/dist/lib/hexclave-app/users/index.d.ts +1 -1
- package/dist/lib/hooks.d.ts +1 -1
- package/dist/providers/hexclave-context.d.ts +1 -1
- package/dist/providers/hexclave-provider-client.d.ts +1 -1
- package/dist/providers/hexclave-provider.d.ts +1 -1
- package/dist/providers/theme-provider.js +1 -1
- package/dist/pushed-config-error-overlay/index.d.ts +1 -1
- package/dist/pushed-config-error-overlay/index.js +2 -2
- package/package.json +4 -4
- package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +0 -5
- package/src/lib/hexclave-app/apps/implementations/server-app-impl.ts +5 -0
- package/src/lib/hexclave-app/apps/interfaces/admin-app.ts +0 -2
- package/src/lib/hexclave-app/apps/interfaces/server-app.ts +3 -0
- package/dist/client-app-Bi8p4lxS.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
3
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
4
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
5
5
|
let _hexclave_ui = require("@hexclave/ui");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
let ___index_js = require("../index.js");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
|
-
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
5
4
|
let _hexclave_ui = require("@hexclave/ui");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
let ___lib_translations_js = require("../lib/translations.js");
|
|
8
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
8
|
let ___lib_hooks_js = require("../lib/hooks.js");
|
|
10
9
|
let ___components_message_cards_message_card_js = require("../components/message-cards/message-card.js");
|
|
10
|
+
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
11
11
|
//#region src/components-page/cli-auth-confirm.tsx
|
|
12
12
|
async function postCliAuthComplete(app, body) {
|
|
13
13
|
return await app[___lib_hexclave_app_common_js.hexclaveAppInternalsSymbol].sendRequest("/auth/cli/complete", {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.js");
|
|
2
2
|
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
3
|
-
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
4
3
|
let react = require("react");
|
|
5
4
|
react = require_rolldown_runtime.__toESM(react);
|
|
6
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
let react_dom_client = require("react-dom/client");
|
|
8
7
|
let vitest = require("vitest");
|
|
8
|
+
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
9
9
|
let ___providers_hexclave_context_js = require("../providers/hexclave-context.js");
|
|
10
10
|
let __cli_auth_confirm_js = require("./cli-auth-confirm.js");
|
|
11
11
|
//#region src/components-page/cli-auth-confirm.test.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
3
|
let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
|
|
5
4
|
let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
|
|
5
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
6
|
let _hexclave_ui = require("@hexclave/ui");
|
|
7
7
|
let react = require("react");
|
|
8
8
|
let react_hook_form = require("react-hook-form");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as getRedirectToPageResult, l as BaseHandlerProps, u as HexclaveHandlerClient } from "../index-
|
|
1
|
+
import { d as getRedirectToPageResult, l as BaseHandlerProps, u as HexclaveHandlerClient } from "../index-F-1uPt64.js";
|
|
2
2
|
export { BaseHandlerProps, HexclaveHandlerClient, getRedirectToPageResult };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as StackHandler, s as HexclaveHandler } from "../index-
|
|
1
|
+
import { c as StackHandler, s as HexclaveHandler } from "../index-F-1uPt64.js";
|
|
2
2
|
export { HexclaveHandler, StackHandler, StackHandler as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
|
-
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
5
3
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
4
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
5
|
let _hexclave_ui = require("@hexclave/ui");
|
|
7
6
|
let react = require("react");
|
|
8
7
|
let ___index_js = require("../index.js");
|
|
@@ -11,6 +10,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
11
10
|
let _hexclave_shared = require("@hexclave/shared");
|
|
12
11
|
let ___components_elements_maybe_full_page_js = require("../components/elements/maybe-full-page.js");
|
|
13
12
|
let ___components_link_js = require("../components/link.js");
|
|
13
|
+
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
14
14
|
let __error_page_js = require("./error-page.js");
|
|
15
15
|
//#region src/components-page/oauth-callback.tsx
|
|
16
16
|
function OAuthCallback({ fullPage }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.js");
|
|
2
|
-
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
3
2
|
let react = require("react");
|
|
4
3
|
react = require_rolldown_runtime.__toESM(react);
|
|
5
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let _hexclave_shared = require("@hexclave/shared");
|
|
7
6
|
let react_dom_client = require("react-dom/client");
|
|
8
7
|
let vitest = require("vitest");
|
|
8
|
+
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
9
9
|
let __oauth_callback_js = require("./oauth-callback.js");
|
|
10
10
|
let ___providers_translation_provider_client_js = require("../providers/translation-provider-client.js");
|
|
11
11
|
//#region src/components-page/oauth-callback.test.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
3
|
let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
|
|
5
4
|
let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
|
|
5
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
6
|
let _hexclave_ui = require("@hexclave/ui");
|
|
7
7
|
let react = require("react");
|
|
8
8
|
let react_hook_form = require("react-hook-form");
|
|
@@ -4,9 +4,9 @@ Object.defineProperties(exports, {
|
|
|
4
4
|
[Symbol.toStringTag]: { value: "Module" }
|
|
5
5
|
});
|
|
6
6
|
const require_rolldown_runtime = require("../rolldown-runtime-D6vf50IK.js");
|
|
7
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
8
7
|
let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
|
|
9
8
|
let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
|
|
9
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
10
10
|
let _hexclave_ui = require("@hexclave/ui");
|
|
11
11
|
let react = require("react");
|
|
12
12
|
let react_hook_form = require("react-hook-form");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
3
|
let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
|
|
5
4
|
let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
|
|
5
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
6
6
|
let _hexclave_ui = require("@hexclave/ui");
|
|
7
7
|
let react = require("react");
|
|
8
8
|
let react_hook_form = require("react-hook-form");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
|
|
3
2
|
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
4
|
-
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
5
3
|
let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
|
|
6
4
|
let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
|
|
7
5
|
let ___lib_hexclave_app_url_targets_js = require("../lib/hexclave-app/url-targets.js");
|
|
6
|
+
let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
|
|
7
|
+
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
8
8
|
let ___generated_env_js = require("../generated/env.js");
|
|
9
9
|
let ___lib_hexclave_app_apps_implementations_common_js = require("../lib/hexclave-app/apps/implementations/common.js");
|
|
10
10
|
let __dev_tool_styles_js = require("./dev-tool-styles.js");
|
package/dist/dev-tool/index.d.ts
CHANGED
package/dist/dev-tool/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
3
|
-
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
4
2
|
let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
|
|
3
|
+
let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
|
|
5
4
|
let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
|
|
5
|
+
let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
|
|
6
6
|
let ___generated_env_js = require("../generated/env.js");
|
|
7
7
|
//#region src/dev-tool/index.ts
|
|
8
8
|
const OVERRIDE_KEY = "__hexclave-dev-tool-override";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
1
3
|
import { AnalyticsClickmapResponseBodySchema } from "@hexclave/shared/dist/interface/admin-metrics";
|
|
2
4
|
import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
|
|
3
5
|
import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
|
|
4
6
|
import { cssEscapeIdent } from "@hexclave/shared/dist/utils/dom";
|
|
5
7
|
import { buildElementsChain, parseElementsChain } from "@hexclave/shared/dist/utils/elements-chain";
|
|
6
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
7
8
|
import { stringCompare } from "@hexclave/shared/dist/utils/strings";
|
|
8
9
|
import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
|
|
9
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
10
10
|
import { clickmapCSS } from "./clickmap-styles.js";
|
|
11
11
|
//#region src/clickmap/clickmap-core.ts
|
|
12
12
|
const CLICKMAP_FILTERS_STORAGE_KEY = "hexclave-clickmap-overlay-filters";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
2
2
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
+
import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
|
|
3
4
|
import { canMountIntoDom } from "../in-page-ui/dom.js";
|
|
4
|
-
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
5
5
|
//#region src/clickmap/index.ts
|
|
6
6
|
function consumeResumeSentinel() {
|
|
7
7
|
try {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
4
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
5
3
|
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
5
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
6
6
|
import { ActionDialog, Button, CopyField, Input, Label, Typography } from "@hexclave/ui";
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, InputOTP, InputOTPGroup, InputOTPSlot, Label, Typography } from "@hexclave/ui";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
|
|
3
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Button, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Typography, cn } from "@hexclave/ui";
|
|
5
5
|
import { Suspense, useMemo } from "react";
|
|
6
6
|
import { useStackApp, useUser } from "../index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
2
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
3
|
import { ActionCell, Badge, Button, Skeleton, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { fromNow } from "@hexclave/shared/dist/utils/dates";
|
|
7
6
|
import { useUser } from "../../../lib/hooks.js";
|
|
8
7
|
import { useTranslation } from "../../../lib/translations.js";
|
|
9
8
|
import { PageLayout } from "../page-layout.js";
|
|
9
|
+
import { fromNow } from "@hexclave/shared/dist/utils/dates";
|
|
10
10
|
//#region src/components-page/account-settings/active-sessions/active-sessions-page.tsx
|
|
11
11
|
function ActiveSessionsPage(props) {
|
|
12
12
|
const { t } = useTranslation();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Button } from "@hexclave/ui";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
|
|
5
|
+
import { ApiKeyTable } from "../../../components/api-key-table.js";
|
|
4
6
|
import { useUser } from "../../../lib/hooks.js";
|
|
5
7
|
import { useTranslation } from "../../../lib/translations.js";
|
|
6
8
|
import { PageLayout } from "../page-layout.js";
|
|
7
|
-
import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
|
|
8
|
-
import { ApiKeyTable } from "../../../components/api-key-table.js";
|
|
9
9
|
//#region src/components-page/account-settings/api-keys/api-keys-page.tsx
|
|
10
10
|
function ApiKeysPage(props) {
|
|
11
11
|
const { t } = useTranslation();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
2
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
3
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
6
|
import { useForm } from "react-hook-form";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
2
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
3
|
import { Button, Input, Typography } from "@hexclave/ui";
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
2
|
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
3
|
+
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { useForm } from "react-hook-form";
|
|
@@ -2,10 +2,10 @@ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
|
|
|
2
2
|
import { Button } from "@hexclave/ui";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { useStackApp, useUser } from "../../../lib/hooks.js";
|
|
6
|
-
import { useTranslation } from "../../../lib/translations.js";
|
|
7
5
|
import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
|
|
8
6
|
import { ApiKeyTable } from "../../../components/api-key-table.js";
|
|
7
|
+
import { useStackApp, useUser } from "../../../lib/hooks.js";
|
|
8
|
+
import { useTranslation } from "../../../lib/translations.js";
|
|
9
9
|
import { Section } from "../section.js";
|
|
10
10
|
//#region src/components-page/account-settings/teams/team-api-keys-section.tsx
|
|
11
11
|
function TeamApiKeysSection(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
2
|
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
3
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Button, Input } from "@hexclave/ui";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { useForm } from "react-hook-form";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
2
1
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
3
2
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
3
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
6
|
import { useForm } from "react-hook-form";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
3
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
4
4
|
import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
|
|
5
5
|
import { Suspense, useMemo } from "react";
|
|
6
6
|
import { useStackApp, useUser } from "../index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
4
3
|
import { Typography } from "@hexclave/ui";
|
|
5
4
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
6
5
|
import { useTranslation } from "../lib/translations.js";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { useStackApp } from "../lib/hooks.js";
|
|
9
8
|
import { MessageCard } from "../components/message-cards/message-card.js";
|
|
9
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
10
10
|
//#region src/components-page/cli-auth-confirm.tsx
|
|
11
11
|
async function postCliAuthComplete(app, body) {
|
|
12
12
|
return await app[hexclaveAppInternalsSymbol].sendRequest("/auth/cli/complete", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
3
2
|
import { act } from "react";
|
|
4
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { createRoot } from "react-dom/client";
|
|
6
5
|
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
6
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
7
7
|
import { HexclaveContext } from "../providers/hexclave-context.js";
|
|
8
8
|
import { useCliAuthConfirmation } from "./cli-auth-confirm.js";
|
|
9
9
|
//#region src/components-page/cli-auth-confirm.test.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
4
2
|
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
3
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
5
4
|
import { Spinner, cn } from "@hexclave/ui";
|
|
6
5
|
import { useEffect, useRef, useState } from "react";
|
|
7
6
|
import { useStackApp } from "../index.js";
|
|
@@ -10,6 +9,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
10
9
|
import { KnownError } from "@hexclave/shared";
|
|
11
10
|
import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
|
|
12
11
|
import { StyledLink } from "../components/link.js";
|
|
12
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
13
13
|
import { ErrorPage } from "./error-page.js";
|
|
14
14
|
//#region src/components-page/oauth-callback.tsx
|
|
15
15
|
function OAuthCallback({ fullPage }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
2
1
|
import { act } from "react";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { KnownErrors } from "@hexclave/shared";
|
|
5
4
|
import { createRoot } from "react-dom/client";
|
|
6
5
|
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
6
|
+
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
7
7
|
import { OAuthCallback } from "./oauth-callback.js";
|
|
8
8
|
import { TranslationProviderClient } from "../providers/translation-provider-client.js";
|
|
9
9
|
//#region src/components-page/oauth-callback.test.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Typography } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
3
2
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
3
|
import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
|
|
4
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
5
5
|
import { Button, Input, Label, Typography } from "@hexclave/ui";
|
|
6
6
|
import { useState } from "react";
|
|
7
7
|
import { useForm } from "react-hook-form";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
|
|
2
1
|
import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
|
|
3
|
-
import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
|
|
4
2
|
import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
|
|
5
3
|
import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
|
|
6
4
|
import { getPagePrompt } from "../lib/hexclave-app/url-targets.js";
|
|
5
|
+
import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
|
|
6
|
+
import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
|
|
7
7
|
import { envVars } from "../generated/env.js";
|
|
8
8
|
import { getBaseUrl } from "../lib/hexclave-app/apps/implementations/common.js";
|
|
9
9
|
import { devToolCSS } from "./dev-tool-styles.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
2
|
-
import { canMountIntoDom } from "../in-page-ui/dom.js";
|
|
3
1
|
import { captureError } from "@hexclave/shared/dist/utils/errors";
|
|
2
|
+
import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
|
|
4
3
|
import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
|
|
4
|
+
import { canMountIntoDom } from "../in-page-ui/dom.js";
|
|
5
5
|
import { envVars } from "../generated/env.js";
|
|
6
6
|
//#region src/dev-tool/index.ts
|
|
7
7
|
const OVERRIDE_KEY = "__hexclave-dev-tool-override";
|
package/dist/esm/lib/auth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
2
1
|
import { HexclaveAssertionError, throwErr } from "@hexclave/shared/dist/utils/errors";
|
|
3
2
|
import { KnownError, KnownErrors } from "@hexclave/shared";
|
|
3
|
+
import { deindent } from "@hexclave/shared/dist/utils/strings";
|
|
4
4
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
5
5
|
import { constructRedirectUrl } from "../utils/url.js";
|
|
6
6
|
import { consumeVerifierAndStateCookie, saveVerifierAndState } from "./cookie.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapTokenResponse, MetricsResponse, MetricsUserCounts, UserActivityResponse } from "@hexclave/shared/dist/interface/admin-metrics";
|
|
2
1
|
import { RestrictedReason } from "@hexclave/shared/dist/schema-fields";
|
|
3
2
|
import { HexclaveAdminInterface } from "@hexclave/shared";
|
|
3
|
+
import { AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapTokenResponse, MetricsResponse, MetricsUserCounts, UserActivityResponse } from "@hexclave/shared/dist/interface/admin-metrics";
|
|
4
4
|
import { Result } from "@hexclave/shared/dist/utils/results";
|
|
5
5
|
import { AdminEmailOutbox, AdminSentEmail } from "../../index.js";
|
|
6
6
|
import { EmailConfig, hexclaveAppInternalsSymbol } from "../../common.js";
|
|
@@ -9,7 +9,6 @@ import { AdminProjectPermission, AdminProjectPermissionDefinition, AdminProjectP
|
|
|
9
9
|
import { AdminOwnedProject, AdminProject } from "../../projects/index.js";
|
|
10
10
|
import { _HexclaveServerAppImplIncomplete } from "./server-app-impl.js";
|
|
11
11
|
import { InternalApiKeyCreateCrudResponse } from "@hexclave/shared/dist/interface/admin-interface";
|
|
12
|
-
import { AnalyticsQueryOptions, AnalyticsQueryResponse } from "@hexclave/shared/dist/interface/crud/analytics";
|
|
13
12
|
import { EmailTemplateCrud } from "@hexclave/shared/dist/interface/crud/email-templates";
|
|
14
13
|
import { InternalApiKeysCrud } from "@hexclave/shared/dist/interface/crud/internal-api-keys";
|
|
15
14
|
import { ProjectsCrud } from "@hexclave/shared/dist/interface/crud/projects";
|
|
@@ -165,7 +164,7 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
165
164
|
} & {
|
|
166
165
|
uniqueIdentifier: string;
|
|
167
166
|
};
|
|
168
|
-
setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-
|
|
167
|
+
setCurrentUser: (userJsonPromise: Promise<import("@hexclave/shared/dist/current-user-BCkMYzHx").t["Client"]["Read"] | null>) => void;
|
|
169
168
|
getConstructorOptions: () => {
|
|
170
169
|
baseUrl?: string | {
|
|
171
170
|
browser: string;
|
|
@@ -197,11 +196,11 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
197
196
|
sendAnalyticsEventBatch: (body: string, options: {
|
|
198
197
|
keepalive: boolean;
|
|
199
198
|
}) => Promise<Result<Response, Error>>;
|
|
200
|
-
addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-
|
|
199
|
+
addRequestListener: (listener: import("@hexclave/shared/dist/client-interface-DjVtlQix").r) => () => void;
|
|
201
200
|
sendRequest: (path: string, requestOptions: RequestInit, requestType?: "client" | "server" | "admin") => Promise<Response & {
|
|
202
201
|
usedTokens: {
|
|
203
|
-
accessToken: import("@hexclave/shared/dist/sessions-
|
|
204
|
-
refreshToken: import("@hexclave/shared/dist/sessions-
|
|
202
|
+
accessToken: import("@hexclave/shared/dist/sessions-C0nM8bE_").t;
|
|
203
|
+
refreshToken: import("@hexclave/shared/dist/sessions-C0nM8bE_").i | null;
|
|
205
204
|
} | null;
|
|
206
205
|
}>;
|
|
207
206
|
getUrls: () => Readonly<import("@hexclave/shared/dist/handler-urls-BHt3v8Ai").s>;
|
|
@@ -413,7 +412,6 @@ declare class _HexclaveAdminAppImplIncomplete<HasTokenStore extends boolean, Pro
|
|
|
413
412
|
details_submitted: boolean;
|
|
414
413
|
payouts_enabled: boolean;
|
|
415
414
|
} | null;
|
|
416
|
-
queryAnalytics(options: AnalyticsQueryOptions): Promise<AnalyticsQueryResponse>;
|
|
417
415
|
getAnalyticsClickmap(options: AnalyticsClickmapOptions): Promise<AnalyticsClickmapResponse>;
|
|
418
416
|
createAnalyticsClickmapToken(options: {
|
|
419
417
|
origin: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-app-impl.d.ts","names":[],"sources":["../../../../../../src/lib/hexclave-app/apps/implementations/admin-app-impl.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"admin-app-impl.d.ts","names":[],"sources":["../../../../../../src/lib/hexclave-app/apps/implementations/admin-app-impl.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;KAuCK,iBAAA,GAAoB,OAAA,CAAQ,UAAA,CAAW,sBAAA;AAAA,cAqC/B,+BAAA,kEAAiG,gCAAA,CAAiC,aAAA,EAAe,SAAA,aAAsB,aAAA,CAAc,aAAA,EAAe,SAAA;EAAA,UAC7L,UAAA,EAAY,sBAAA;EAAA,iBAEb,kBAAA;EAAA,iBAGA,eAAA;EAAA,iBAGA,qBAAA;EAAA,iBAIA,qBAAA;EAAA,iBAGA,sBAAA;EAAA,iBAGA,yBAAA;EAAA,iBAGA,sBAAA;EAAA,iBAGA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AwB,OAAA;IAAiB,UAAA;IAAoB,eAAA;IAA0B,iBAAA;IAA4B,eAAA;EAAA;EAIzH,oBAAA;IAA0B,UAAA;IAAoB,eAAA;IAA0B,iBAAA;IAA4B,eAAA;EAAA;EAK9F,oBAAA,CAAqB,OAAA,EAAS,wBAAA,GAA2B,OAAA,CAAQ,yBAAA;EAkBjE,4BAAA,CAA6B,OAAA;IAAW,MAAA;EAAA,IAAmB,OAAA,CAAQ,8BAAA;EAInE,kBAAA,CAAmB,OAAA,GAAU,yBAAA,GAA4B,OAAA,CAAQ,wBAAA;EAgCjE,gBAAA,CAAiB,eAAA,WAA0B,OAAA,CAAQ,kBAAA;EAgBnD,uBAAA,CAAwB,eAAA,UAAyB,OAAA,GAAU,8BAAA,GAAiC,OAAA,CAAQ,6BAAA;EAwBpG,2BAAA,CAA4B,eAAA,UAAyB,OAAA,WAAkB,OAAA,CAAQ,wCAAA;EAI/E,sBAAA,CAAuB,eAAA,UAAyB,OAAA;IAAY,MAAA;IAAiB,KAAA;EAAA,IAAmB,OAAA,CAAQ,4BAAA;EAoBxG,sCAAA,CACJ,UAAA;IAAc,wBAAA;EAAA,GACd,KAAA,YACC,OAAA;IACD,aAAA,EAAe,KAAA;MACb,EAAA;MACA,WAAA;MACA,YAAA;MACA,gBAAA,EAAkB,gBAAA;IAAA;IAEpB,kBAAA;EAAA;AAAA"}
|
|
@@ -995,9 +995,6 @@ var _HexclaveAdminAppImplIncomplete = class extends _HexclaveServerAppImplIncomp
|
|
|
995
995
|
useStripeAccountInfo() {
|
|
996
996
|
return useAsyncCache(this._stripeAccountInfoCache, [], "adminApp.useStripeAccountInfo()");
|
|
997
997
|
}
|
|
998
|
-
async queryAnalytics(options) {
|
|
999
|
-
return await this._interface.queryAnalytics(options);
|
|
1000
|
-
}
|
|
1001
998
|
async getAnalyticsClickmap(options) {
|
|
1002
999
|
return await this._interface.getAnalyticsClickmap({
|
|
1003
1000
|
kind: options.kind,
|