@carlonicora/nextjs-jsonapi 1.78.0 → 1.80.0
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/{AssistantMessageInterface-DS_tyJTV.d.ts → AssistantMessageInterface-BpEhx2pC.d.ts} +19 -2
- package/dist/{AssistantMessageInterface-D0Kwf8CR.d.mts → AssistantMessageInterface-DJ3Me16Y.d.mts} +19 -2
- package/dist/{AuthComponent-Blbs06ud.d.ts → AuthComponent-B6DIk8Vf.d.ts} +1 -1
- package/dist/{AuthComponent-huIaK5rm.d.mts → AuthComponent-BKI0ZbtD.d.mts} +1 -1
- package/dist/{BlockNoteEditor-JXK3JGKJ.mjs → BlockNoteEditor-3M5PD3BZ.mjs} +4 -4
- package/dist/{BlockNoteEditor-2G5UYALC.js → BlockNoteEditor-YLTPJPTV.js} +14 -14
- package/dist/{BlockNoteEditor-2G5UYALC.js.map → BlockNoteEditor-YLTPJPTV.js.map} +1 -1
- package/dist/RbacTypes-BTbr27Ew.d.mts +43 -0
- package/dist/RbacTypes-BTbr27Ew.d.ts +43 -0
- package/dist/{auth.interface-CQJ6A2Cj.d.ts → auth.interface-BBUgMZzs.d.ts} +1 -1
- package/dist/{auth.interface-Bdq7-8iV.d.mts → auth.interface-XYEREOD6.d.mts} +1 -1
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-ZEDB6JVB.js → chunk-4NOQNTFI.js} +1585 -1405
- package/dist/chunk-4NOQNTFI.js.map +1 -0
- package/dist/{chunk-I65SSQ5Z.mjs → chunk-6UMB5LTQ.mjs} +157 -7
- package/dist/chunk-6UMB5LTQ.mjs.map +1 -0
- package/dist/{chunk-FDJQRIMY.js → chunk-N4YZ45SK.js} +174 -24
- package/dist/chunk-N4YZ45SK.js.map +1 -0
- package/dist/{chunk-NB6TIKHK.mjs → chunk-NQV5RDCK.mjs} +2524 -2344
- package/dist/chunk-NQV5RDCK.mjs.map +1 -0
- package/dist/{chunk-NZOUEN67.mjs → chunk-PV5V6CVW.mjs} +38 -29
- package/dist/{chunk-NZOUEN67.mjs.map → chunk-PV5V6CVW.mjs.map} +1 -1
- package/dist/{chunk-X4YDETTD.js → chunk-ZEJSPTHS.js} +39 -30
- package/dist/chunk-ZEJSPTHS.js.map +1 -0
- package/dist/client/index.d.mts +6 -24
- package/dist/client/index.d.ts +6 -24
- package/dist/client/index.js +4 -10
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +3 -9
- package/dist/components/index.d.mts +55 -39
- package/dist/components/index.d.ts +55 -39
- package/dist/components/index.js +4 -8
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -9
- package/dist/{config-B3jKt9P7.d.ts → config-B5oBQVEA.d.ts} +1 -1
- package/dist/{config-DkHF61xA.d.mts → config-Bx_uh22h.d.mts} +1 -1
- package/dist/contexts/index.d.mts +41 -4
- package/dist/contexts/index.d.ts +41 -4
- package/dist/contexts/index.js +8 -4
- package/dist/contexts/index.js.map +1 -1
- package/dist/contexts/index.mjs +7 -3
- package/dist/core/index.d.mts +51 -11
- package/dist/core/index.d.ts +51 -11
- package/dist/core/index.js +8 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +7 -1
- package/dist/index.d.mts +117 -20
- package/dist/index.d.ts +117 -20
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/{notification.interface-DG6obXUH.d.mts → notification.interface-DLZGtV7Z.d.mts} +1 -1
- package/dist/{notification.interface-DcSuc9CL.d.ts → notification.interface-aLEJbA_g.d.ts} +1 -1
- package/dist/{s3.service-DGilbikH.d.mts → s3.service-CVgLWaDc.d.mts} +2 -2
- package/dist/{s3.service-DjwEQJPe.d.ts → s3.service-SLlX0Zbz.d.ts} +2 -2
- package/dist/server/index.d.mts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/useDataListRetriever-BqJSFBck.d.mts +33 -0
- package/dist/useDataListRetriever-BqJSFBck.d.ts +33 -0
- package/dist/{useSocket-CmzVtg32.d.mts → useSocket-BkxHHujj.d.mts} +1 -1
- package/dist/{useSocket-8eUtnL7J.d.ts → useSocket-CMDjWFYm.d.ts} +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +0 -4
- package/src/components/index.ts +0 -3
- package/src/contexts/index.ts +1 -0
- package/src/core/index.ts +2 -0
- package/src/core/registry/ModuleRegistry.ts +2 -0
- package/src/features/assistant/components/parts/AssistantThread.tsx +1 -1
- package/src/features/assistant-message/AssistantMessageModule.ts +4 -0
- package/src/features/assistant-message/components/MessageItem.tsx +7 -7
- package/src/features/assistant-message/components/MessageList.tsx +1 -1
- package/src/features/assistant-message/components/__tests__/MessageItem.spec.tsx +11 -7
- package/src/features/assistant-message/components/index.ts +1 -0
- package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +135 -0
- package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +151 -0
- package/src/features/assistant-message/components/parts/RelevanceMeter.tsx +29 -0
- package/src/features/assistant-message/components/parts/__tests__/MessageSourcesPanel.spec.tsx +70 -0
- package/src/features/assistant-message/components/parts/tabs/CitationsTab.tsx +105 -0
- package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +88 -0
- package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +51 -0
- package/src/features/assistant-message/components/parts/tabs/SuggestedQuestionsTab.tsx +24 -0
- package/src/features/assistant-message/components/parts/tabs/UsersTab.tsx +142 -0
- package/src/features/assistant-message/data/AssistantMessage.ts +20 -0
- package/src/features/assistant-message/data/AssistantMessageInterface.ts +2 -0
- package/src/features/assistant-message/data/AssistantMessageService.ts +13 -4
- package/src/features/assistant-message/data/__tests__/AssistantMessage.citations.spec.ts +65 -0
- package/src/features/assistant-message/data/__tests__/AssistantMessage.spec.ts +8 -0
- package/src/features/chunk/ChunkModule.ts +18 -0
- package/src/features/chunk/data/Chunk.ts +49 -0
- package/src/features/chunk/data/ChunkInput.ts +3 -0
- package/src/features/chunk/data/ChunkInterface.ts +18 -0
- package/src/features/chunk/data/__tests__/Chunk.spec.ts +83 -0
- package/src/features/chunk/data/index.ts +3 -0
- package/src/features/chunk/index.ts +2 -0
- package/src/features/rbac/components/RbacContainer.tsx +318 -49
- package/src/features/rbac/components/RbacPermissionPicker.tsx +144 -121
- package/src/features/rbac/contexts/RbacContext.tsx +209 -0
- package/src/features/rbac/contexts/index.ts +1 -0
- package/src/features/rbac/data/RbacMatrixModel.ts +84 -0
- package/src/features/rbac/data/RbacService.ts +61 -33
- package/src/features/rbac/data/RbacTypes.ts +28 -0
- package/src/features/rbac/data/index.ts +1 -0
- package/src/features/rbac/index.ts +1 -10
- package/src/features/rbac/rbac.module.ts +13 -0
- package/dist/ModulePathsInterface-BrdqgteS.d.mts +0 -31
- package/dist/ModulePathsInterface-DJKs7s_s.d.ts +0 -31
- package/dist/chunk-FDJQRIMY.js.map +0 -1
- package/dist/chunk-I65SSQ5Z.mjs.map +0 -1
- package/dist/chunk-NB6TIKHK.mjs.map +0 -1
- package/dist/chunk-X4YDETTD.js.map +0 -1
- package/dist/chunk-ZEDB6JVB.js.map +0 -1
- package/dist/useRbacState-C88O-5L8.d.ts +0 -77
- package/dist/useRbacState-mqYiRp3J.d.mts +0 -77
- package/src/features/assistant-message/components/parts/ReferenceBadges.tsx +0 -46
- package/src/features/assistant-message/components/parts/SuggestedFollowUps.tsx +0 -52
- package/src/features/assistant-message/components/parts/__tests__/ReferenceBadges.spec.tsx +0 -59
- package/src/features/assistant-message/components/parts/__tests__/SuggestedFollowUps.spec.tsx +0 -29
- package/src/features/rbac/components/RbacFeatureSection.tsx +0 -66
- package/src/features/rbac/components/RbacModuleTable.tsx +0 -121
- package/src/features/rbac/components/RbacToolbar.tsx +0 -40
- package/src/features/rbac/hooks/useRbacState.test.ts +0 -180
- package/src/features/rbac/hooks/useRbacState.ts +0 -319
- package/src/features/rbac/utils/RbacMigrationGenerator.test.ts +0 -124
- package/src/features/rbac/utils/RbacMigrationGenerator.ts +0 -184
- /package/dist/{BlockNoteEditor-JXK3JGKJ.mjs.map → BlockNoteEditor-3M5PD3BZ.mjs.map} +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
3
3
|
import { J as JsonApiHydratedDataInterface } from '../ApiDataInterface-BcZeXy5X.mjs';
|
|
4
|
-
import { j as CompanyInterface, N as NotificationInterface,
|
|
4
|
+
import { j as CompanyInterface, N as NotificationInterface, l as RoleInterface, U as UserInterface, M as ModuleWithPermissions, A as Action } from '../notification.interface-DLZGtV7Z.mjs';
|
|
5
5
|
import { O as OnboardingProviderProps, a as OnboardingContextValue } from '../onboarding.interface-Djyl9qYu.mjs';
|
|
6
6
|
export { D as DEFAULT_ONBOARDING_LABELS, g as OnboardingCardRenderProps, f as OnboardingLabels, c as OnboardingStepConfig, b as OnboardingStepSide, d as OnboardingTourConfig, e as OnboardingTourPaths } from '../onboarding.interface-Djyl9qYu.mjs';
|
|
7
|
-
import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-
|
|
7
|
+
import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
|
|
8
|
+
import { R as RbacMatrix, A as ActionType, P as PermissionValue } from '../RbacTypes-BTbr27Ew.mjs';
|
|
8
9
|
import { a as AssistantInterface } from '../AssistantInterface-BYgI5z1-.mjs';
|
|
9
|
-
import { u as useSocket } from '../useSocket-
|
|
10
|
+
import { u as useSocket } from '../useSocket-BkxHHujj.mjs';
|
|
10
11
|
import * as jotai from 'jotai';
|
|
11
12
|
import * as jotai_utils from 'jotai/utils';
|
|
12
13
|
import 'lucide-react';
|
|
@@ -119,6 +120,42 @@ type HowToProviderProps = {
|
|
|
119
120
|
declare const HowToProvider: ({ children, dehydratedHowTo }: HowToProviderProps) => react_jsx_runtime.JSX.Element;
|
|
120
121
|
declare const useHowToContext: () => HowToContextType;
|
|
121
122
|
|
|
123
|
+
interface RbacContextType {
|
|
124
|
+
matrix: RbacMatrix | null;
|
|
125
|
+
modulePaths: Record<string, readonly string[]>;
|
|
126
|
+
loading: boolean;
|
|
127
|
+
error: string | null;
|
|
128
|
+
saving: boolean;
|
|
129
|
+
roleNames?: Record<string, string>;
|
|
130
|
+
moduleNames?: Record<string, string>;
|
|
131
|
+
updateCell: (moduleId: string, rowKey: "default" | string, action: ActionType, value: PermissionValue) => void;
|
|
132
|
+
clearCell: (moduleId: string, roleId: string, action: ActionType) => void;
|
|
133
|
+
}
|
|
134
|
+
type RbacProviderProps = {
|
|
135
|
+
children: ReactNode;
|
|
136
|
+
/** UUID → PascalCase map for roles (e.g. from `@neural-erp/shared`'s `RoleId`). */
|
|
137
|
+
roleNames?: Record<string, string>;
|
|
138
|
+
/** UUID → PascalCase map for modules (e.g. from `@neural-erp/shared`'s `ModuleId`). */
|
|
139
|
+
moduleNames?: Record<string, string>;
|
|
140
|
+
/**
|
|
141
|
+
* Output path for the serialized `permissions.ts` file. Absolute, or
|
|
142
|
+
* relative to the API's repo root. Defaults to
|
|
143
|
+
* `"apps/api/src/rbac/permissions.ts"`.
|
|
144
|
+
*/
|
|
145
|
+
outputPath?: string;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* RbacProvider — owns the matrix state, the save handler, and the breadcrumb +
|
|
149
|
+
* title wiring. Renders the "Save to permissions.ts" button into
|
|
150
|
+
* `title.functions` so it appears in the page header, following the same
|
|
151
|
+
* convention as CompanyContext / other context providers in this codebase.
|
|
152
|
+
*
|
|
153
|
+
* The child `RbacContainer` is stateless — it consumes state via
|
|
154
|
+
* `useRbacContext()`.
|
|
155
|
+
*/
|
|
156
|
+
declare const RbacProvider: ({ children, roleNames, moduleNames, outputPath, }: RbacProviderProps) => react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare const useRbacContext: () => RbacContextType;
|
|
158
|
+
|
|
122
159
|
interface AssistantContextValue {
|
|
123
160
|
assistant?: AssistantInterface;
|
|
124
161
|
messages: AssistantMessageInterface[];
|
|
@@ -224,4 +261,4 @@ interface RecentPage {
|
|
|
224
261
|
}
|
|
225
262
|
declare const recentPagesAtom: jotai.WritableAtom<RecentPage[], [RecentPage[] | typeof jotai_utils.RESET | ((prev: RecentPage[]) => RecentPage[] | typeof jotai_utils.RESET)], void>;
|
|
226
263
|
|
|
227
|
-
export { AssistantProvider, CommonProvider, CompanyProvider, type CurrentUserContextType, CurrentUserProvider, HeaderChildrenProvider, HeaderLeftContentProvider, HowToProvider, NotificationContextProvider, OnboardingContextValue, OnboardingProvider, OnboardingProviderProps, type RecentPage, RoleProvider, SharedProvider, SocketContext, SocketProvider, UserProvider, recentPagesAtom, useAssistantContext, useCommonContext, useCompanyContext, useCurrentUserContext, useHeaderChildren, useHeaderLeftContent, useHowToContext, useNotificationContext, useOnboarding, useRoleContext, useSharedContext, useSocketContext, useUserContext };
|
|
264
|
+
export { AssistantProvider, CommonProvider, CompanyProvider, type CurrentUserContextType, CurrentUserProvider, HeaderChildrenProvider, HeaderLeftContentProvider, HowToProvider, NotificationContextProvider, OnboardingContextValue, OnboardingProvider, OnboardingProviderProps, RbacProvider, type RecentPage, RoleProvider, SharedProvider, SocketContext, SocketProvider, UserProvider, recentPagesAtom, useAssistantContext, useCommonContext, useCompanyContext, useCurrentUserContext, useHeaderChildren, useHeaderLeftContent, useHowToContext, useNotificationContext, useOnboarding, useRbacContext, useRoleContext, useSharedContext, useSocketContext, useUserContext };
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, ReactElement } from 'react';
|
|
3
3
|
import { J as JsonApiHydratedDataInterface } from '../ApiDataInterface-BcZeXy5X.js';
|
|
4
|
-
import { j as CompanyInterface, N as NotificationInterface,
|
|
4
|
+
import { j as CompanyInterface, N as NotificationInterface, l as RoleInterface, U as UserInterface, M as ModuleWithPermissions, A as Action } from '../notification.interface-aLEJbA_g.js';
|
|
5
5
|
import { O as OnboardingProviderProps, a as OnboardingContextValue } from '../onboarding.interface-Djyl9qYu.js';
|
|
6
6
|
export { D as DEFAULT_ONBOARDING_LABELS, g as OnboardingCardRenderProps, f as OnboardingLabels, c as OnboardingStepConfig, b as OnboardingStepSide, d as OnboardingTourConfig, e as OnboardingTourPaths } from '../onboarding.interface-Djyl9qYu.js';
|
|
7
|
-
import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-
|
|
7
|
+
import { a as HowToInterface, c as AssistantMessageInterface, B as BreadcrumbItemData } from '../AssistantMessageInterface-BpEhx2pC.js';
|
|
8
|
+
import { R as RbacMatrix, A as ActionType, P as PermissionValue } from '../RbacTypes-BTbr27Ew.js';
|
|
8
9
|
import { a as AssistantInterface } from '../AssistantInterface-DfDcz0gJ.js';
|
|
9
|
-
import { u as useSocket } from '../useSocket-
|
|
10
|
+
import { u as useSocket } from '../useSocket-CMDjWFYm.js';
|
|
10
11
|
import * as jotai from 'jotai';
|
|
11
12
|
import * as jotai_utils from 'jotai/utils';
|
|
12
13
|
import 'lucide-react';
|
|
@@ -119,6 +120,42 @@ type HowToProviderProps = {
|
|
|
119
120
|
declare const HowToProvider: ({ children, dehydratedHowTo }: HowToProviderProps) => react_jsx_runtime.JSX.Element;
|
|
120
121
|
declare const useHowToContext: () => HowToContextType;
|
|
121
122
|
|
|
123
|
+
interface RbacContextType {
|
|
124
|
+
matrix: RbacMatrix | null;
|
|
125
|
+
modulePaths: Record<string, readonly string[]>;
|
|
126
|
+
loading: boolean;
|
|
127
|
+
error: string | null;
|
|
128
|
+
saving: boolean;
|
|
129
|
+
roleNames?: Record<string, string>;
|
|
130
|
+
moduleNames?: Record<string, string>;
|
|
131
|
+
updateCell: (moduleId: string, rowKey: "default" | string, action: ActionType, value: PermissionValue) => void;
|
|
132
|
+
clearCell: (moduleId: string, roleId: string, action: ActionType) => void;
|
|
133
|
+
}
|
|
134
|
+
type RbacProviderProps = {
|
|
135
|
+
children: ReactNode;
|
|
136
|
+
/** UUID → PascalCase map for roles (e.g. from `@neural-erp/shared`'s `RoleId`). */
|
|
137
|
+
roleNames?: Record<string, string>;
|
|
138
|
+
/** UUID → PascalCase map for modules (e.g. from `@neural-erp/shared`'s `ModuleId`). */
|
|
139
|
+
moduleNames?: Record<string, string>;
|
|
140
|
+
/**
|
|
141
|
+
* Output path for the serialized `permissions.ts` file. Absolute, or
|
|
142
|
+
* relative to the API's repo root. Defaults to
|
|
143
|
+
* `"apps/api/src/rbac/permissions.ts"`.
|
|
144
|
+
*/
|
|
145
|
+
outputPath?: string;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* RbacProvider — owns the matrix state, the save handler, and the breadcrumb +
|
|
149
|
+
* title wiring. Renders the "Save to permissions.ts" button into
|
|
150
|
+
* `title.functions` so it appears in the page header, following the same
|
|
151
|
+
* convention as CompanyContext / other context providers in this codebase.
|
|
152
|
+
*
|
|
153
|
+
* The child `RbacContainer` is stateless — it consumes state via
|
|
154
|
+
* `useRbacContext()`.
|
|
155
|
+
*/
|
|
156
|
+
declare const RbacProvider: ({ children, roleNames, moduleNames, outputPath, }: RbacProviderProps) => react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare const useRbacContext: () => RbacContextType;
|
|
158
|
+
|
|
122
159
|
interface AssistantContextValue {
|
|
123
160
|
assistant?: AssistantInterface;
|
|
124
161
|
messages: AssistantMessageInterface[];
|
|
@@ -224,4 +261,4 @@ interface RecentPage {
|
|
|
224
261
|
}
|
|
225
262
|
declare const recentPagesAtom: jotai.WritableAtom<RecentPage[], [RecentPage[] | typeof jotai_utils.RESET | ((prev: RecentPage[]) => RecentPage[] | typeof jotai_utils.RESET)], void>;
|
|
226
263
|
|
|
227
|
-
export { AssistantProvider, CommonProvider, CompanyProvider, type CurrentUserContextType, CurrentUserProvider, HeaderChildrenProvider, HeaderLeftContentProvider, HowToProvider, NotificationContextProvider, OnboardingContextValue, OnboardingProvider, OnboardingProviderProps, type RecentPage, RoleProvider, SharedProvider, SocketContext, SocketProvider, UserProvider, recentPagesAtom, useAssistantContext, useCommonContext, useCompanyContext, useCurrentUserContext, useHeaderChildren, useHeaderLeftContent, useHowToContext, useNotificationContext, useOnboarding, useRoleContext, useSharedContext, useSocketContext, useUserContext };
|
|
264
|
+
export { AssistantProvider, CommonProvider, CompanyProvider, type CurrentUserContextType, CurrentUserProvider, HeaderChildrenProvider, HeaderLeftContentProvider, HowToProvider, NotificationContextProvider, OnboardingContextValue, OnboardingProvider, OnboardingProviderProps, RbacProvider, type RecentPage, RoleProvider, SharedProvider, SocketContext, SocketProvider, UserProvider, recentPagesAtom, useAssistantContext, useCommonContext, useCompanyContext, useCurrentUserContext, useHeaderChildren, useHeaderLeftContent, useHowToContext, useNotificationContext, useOnboarding, useRbacContext, useRoleContext, useSharedContext, useSocketContext, useUserContext };
|
package/dist/contexts/index.js
CHANGED
|
@@ -29,9 +29,11 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
require('../chunk-
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
var _chunk4NOQNTFIjs = require('../chunk-4NOQNTFI.js');
|
|
35
|
+
require('../chunk-ZEJSPTHS.js');
|
|
36
|
+
require('../chunk-N4YZ45SK.js');
|
|
35
37
|
require('../chunk-LXKSUWAV.js');
|
|
36
38
|
require('../chunk-IBS6NI7D.js');
|
|
37
39
|
require('../chunk-4MN547K7.js');
|
|
@@ -67,5 +69,7 @@ require('../chunk-7QVYU63E.js');
|
|
|
67
69
|
|
|
68
70
|
|
|
69
71
|
|
|
70
|
-
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
exports.AssistantProvider = _chunk4NOQNTFIjs.AssistantProvider; exports.CommonProvider = _chunk4NOQNTFIjs.CommonProvider; exports.CompanyProvider = _chunk4NOQNTFIjs.CompanyProvider; exports.CurrentUserProvider = _chunk4NOQNTFIjs.CurrentUserProvider; exports.DEFAULT_ONBOARDING_LABELS = _chunk4NOQNTFIjs.DEFAULT_ONBOARDING_LABELS; exports.HeaderChildrenProvider = _chunk4NOQNTFIjs.HeaderChildrenProvider; exports.HeaderLeftContentProvider = _chunk4NOQNTFIjs.HeaderLeftContentProvider; exports.HowToProvider = _chunk4NOQNTFIjs.HowToProvider; exports.NotificationContextProvider = _chunk4NOQNTFIjs.NotificationContextProvider; exports.OnboardingProvider = _chunk4NOQNTFIjs.OnboardingProvider; exports.RbacProvider = _chunk4NOQNTFIjs.RbacProvider; exports.RoleProvider = _chunk4NOQNTFIjs.RoleProvider; exports.SharedProvider = _chunk4NOQNTFIjs.SharedProvider; exports.SocketContext = _chunk4NOQNTFIjs.SocketContext; exports.SocketProvider = _chunk4NOQNTFIjs.SocketProvider; exports.UserProvider = _chunk4NOQNTFIjs.UserProvider; exports.recentPagesAtom = _chunk4NOQNTFIjs.recentPagesAtom; exports.useAssistantContext = _chunk4NOQNTFIjs.useAssistantContext; exports.useCommonContext = _chunk4NOQNTFIjs.useCommonContext; exports.useCompanyContext = _chunk4NOQNTFIjs.useCompanyContext; exports.useCurrentUserContext = _chunk4NOQNTFIjs.useCurrentUserContext; exports.useHeaderChildren = _chunk4NOQNTFIjs.useHeaderChildren; exports.useHeaderLeftContent = _chunk4NOQNTFIjs.useHeaderLeftContent; exports.useHowToContext = _chunk4NOQNTFIjs.useHowToContext; exports.useNotificationContext = _chunk4NOQNTFIjs.useNotificationContext; exports.useOnboarding = _chunk4NOQNTFIjs.useOnboarding; exports.useRbacContext = _chunk4NOQNTFIjs.useRbacContext; exports.useRoleContext = _chunk4NOQNTFIjs.useRoleContext; exports.useSharedContext = _chunk4NOQNTFIjs.useSharedContext; exports.useSocketContext = _chunk4NOQNTFIjs.useSocketContext; exports.useUserContext = _chunk4NOQNTFIjs.useUserContext;
|
|
71
75
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m7DAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
|
package/dist/contexts/index.mjs
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
HowToProvider,
|
|
11
11
|
NotificationContextProvider,
|
|
12
12
|
OnboardingProvider,
|
|
13
|
+
RbacProvider,
|
|
13
14
|
RoleProvider,
|
|
14
15
|
SharedProvider,
|
|
15
16
|
SocketContext,
|
|
@@ -25,13 +26,14 @@ import {
|
|
|
25
26
|
useHowToContext,
|
|
26
27
|
useNotificationContext,
|
|
27
28
|
useOnboarding,
|
|
29
|
+
useRbacContext,
|
|
28
30
|
useRoleContext,
|
|
29
31
|
useSharedContext,
|
|
30
32
|
useSocketContext,
|
|
31
33
|
useUserContext
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-NQV5RDCK.mjs";
|
|
35
|
+
import "../chunk-PV5V6CVW.mjs";
|
|
36
|
+
import "../chunk-6UMB5LTQ.mjs";
|
|
35
37
|
import "../chunk-AUXK7QSA.mjs";
|
|
36
38
|
import "../chunk-C7C7VY4F.mjs";
|
|
37
39
|
import "../chunk-BTKJFMFL.mjs";
|
|
@@ -48,6 +50,7 @@ export {
|
|
|
48
50
|
HowToProvider,
|
|
49
51
|
NotificationContextProvider,
|
|
50
52
|
OnboardingProvider,
|
|
53
|
+
RbacProvider,
|
|
51
54
|
RoleProvider,
|
|
52
55
|
SharedProvider,
|
|
53
56
|
SocketContext,
|
|
@@ -63,6 +66,7 @@ export {
|
|
|
63
66
|
useHowToContext,
|
|
64
67
|
useNotificationContext,
|
|
65
68
|
useOnboarding,
|
|
69
|
+
useRbacContext,
|
|
66
70
|
useRoleContext,
|
|
67
71
|
useSharedContext,
|
|
68
72
|
useSocketContext,
|
package/dist/core/index.d.mts
CHANGED
|
@@ -3,24 +3,24 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
|
|
|
3
3
|
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
4
4
|
export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
5
5
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
|
|
6
|
-
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-
|
|
7
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-
|
|
8
|
-
import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory,
|
|
9
|
-
export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-
|
|
10
|
-
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageInput } from '../AssistantMessageInterface-
|
|
11
|
-
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-
|
|
6
|
+
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-CVgLWaDc.mjs';
|
|
7
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-CVgLWaDc.mjs';
|
|
8
|
+
import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-DLZGtV7Z.mjs';
|
|
9
|
+
export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-DLZGtV7Z.mjs';
|
|
10
|
+
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
|
|
11
|
+
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DJ3Me16Y.mjs';
|
|
12
12
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-Ck5lkQ5d.mjs';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
export { ClassValue } from 'clsx';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
|
|
17
17
|
import { z } from 'zod';
|
|
18
|
-
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-
|
|
19
|
-
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-
|
|
18
|
+
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-BKI0ZbtD.mjs';
|
|
19
|
+
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-BKI0ZbtD.mjs';
|
|
20
20
|
import { PartialBlock } from '@blocknote/core';
|
|
21
21
|
import { ExternalToast } from 'sonner';
|
|
22
|
-
import { b as AuthInterface, A as AuthInput } from '../auth.interface-
|
|
23
|
-
export { a as AuthQuery } from '../auth.interface-
|
|
22
|
+
import { b as AuthInterface, A as AuthInput } from '../auth.interface-XYEREOD6.mjs';
|
|
23
|
+
export { a as AuthQuery } from '../auth.interface-XYEREOD6.mjs';
|
|
24
24
|
import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
|
|
25
25
|
import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
|
|
26
26
|
export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-ClZ7DxS9.mjs';
|
|
@@ -236,6 +236,7 @@ interface FoundationModuleDefinitions {
|
|
|
236
236
|
HowTo: ModuleWithPermissions;
|
|
237
237
|
Assistant: ModuleWithPermissions;
|
|
238
238
|
AssistantMessage: ModuleWithPermissions;
|
|
239
|
+
Chunk: ModuleWithPermissions;
|
|
239
240
|
Billing: ModuleWithPermissions;
|
|
240
241
|
StripeCustomer: ModuleWithPermissions;
|
|
241
242
|
StripePaymentMethod: ModuleWithPermissions;
|
|
@@ -266,6 +267,7 @@ interface FoundationModuleDefinitions {
|
|
|
266
267
|
BackupCodeVerify: ModuleWithPermissions;
|
|
267
268
|
PermissionMapping: ModuleWithPermissions;
|
|
268
269
|
ModulePaths: ModuleWithPermissions;
|
|
270
|
+
RbacMatrix: ModuleWithPermissions;
|
|
269
271
|
AuditLog: ModuleWithPermissions;
|
|
270
272
|
}
|
|
271
273
|
interface AppModuleDefinitions {
|
|
@@ -1848,6 +1850,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1848
1850
|
private _inputTokens?;
|
|
1849
1851
|
private _outputTokens?;
|
|
1850
1852
|
private _references?;
|
|
1853
|
+
private _citations?;
|
|
1851
1854
|
get role(): AssistantMessageRole;
|
|
1852
1855
|
get content(): string;
|
|
1853
1856
|
get position(): number;
|
|
@@ -1855,6 +1858,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1855
1858
|
get inputTokens(): number | undefined;
|
|
1856
1859
|
get outputTokens(): number | undefined;
|
|
1857
1860
|
get references(): ApiDataInterface[];
|
|
1861
|
+
get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
|
|
1858
1862
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1859
1863
|
createJsonApi(data: AssistantMessageInput): {
|
|
1860
1864
|
data: {
|
|
@@ -1896,6 +1900,35 @@ declare class AssistantMessageService extends AbstractService {
|
|
|
1896
1900
|
}): Promise<void>;
|
|
1897
1901
|
}
|
|
1898
1902
|
|
|
1903
|
+
declare const ChunkModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
1904
|
+
|
|
1905
|
+
declare class Chunk extends AbstractApiData implements ChunkInterface {
|
|
1906
|
+
private _content?;
|
|
1907
|
+
private _nodeId?;
|
|
1908
|
+
private _nodeType?;
|
|
1909
|
+
private _imagePath?;
|
|
1910
|
+
private _source?;
|
|
1911
|
+
get content(): string;
|
|
1912
|
+
get nodeId(): string | undefined;
|
|
1913
|
+
get nodeType(): string | undefined;
|
|
1914
|
+
get imagePath(): string | undefined;
|
|
1915
|
+
get source(): ApiDataInterface | undefined;
|
|
1916
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1917
|
+
createJsonApi(): {
|
|
1918
|
+
data: {
|
|
1919
|
+
type: string;
|
|
1920
|
+
id: string;
|
|
1921
|
+
attributes: {};
|
|
1922
|
+
relationships: {};
|
|
1923
|
+
};
|
|
1924
|
+
included: never[];
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
type ChunkInput = {
|
|
1929
|
+
id: string;
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1899
1932
|
declare class Notification extends AbstractApiData implements NotificationInterface {
|
|
1900
1933
|
private _notificationType?;
|
|
1901
1934
|
private _isRead?;
|
|
@@ -2175,6 +2208,13 @@ declare const WaitlistStatsModule: (factory: ModuleFactory) => ModuleWithPermiss
|
|
|
2175
2208
|
|
|
2176
2209
|
declare const PermissionMappingModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2177
2210
|
declare const ModulePathsModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2211
|
+
/**
|
|
2212
|
+
* Dev-only matrix module. The `name` is the URL path of the dev singleton
|
|
2213
|
+
* endpoint (`GET|PUT _dev/rbac/matrix`), NOT a plural resource collection.
|
|
2214
|
+
* This module is only useful when the backend is running with `devMode: true`
|
|
2215
|
+
* on `RbacModule.register`.
|
|
2216
|
+
*/
|
|
2217
|
+
declare const RbacMatrixModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2178
2218
|
|
|
2179
2219
|
interface ReferralStatsInterface {
|
|
2180
2220
|
referralCode: string;
|
|
@@ -2253,4 +2293,4 @@ declare class AuditLogService extends AbstractService {
|
|
|
2253
2293
|
|
|
2254
2294
|
declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2255
2295
|
|
|
2256
|
-
export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
|
|
2296
|
+
export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
|
package/dist/core/index.d.ts
CHANGED
|
@@ -3,24 +3,24 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
|
|
|
3
3
|
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
4
4
|
export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
5
5
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
|
|
6
|
-
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-
|
|
7
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-
|
|
8
|
-
import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory,
|
|
9
|
-
export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-
|
|
10
|
-
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageInput } from '../AssistantMessageInterface-
|
|
11
|
-
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-
|
|
6
|
+
import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-SLlX0Zbz.js';
|
|
7
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-SLlX0Zbz.js';
|
|
8
|
+
import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-aLEJbA_g.js';
|
|
9
|
+
export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-aLEJbA_g.js';
|
|
10
|
+
import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, d as ChunkInterface, C as ChunkRelationshipMeta, b as AssistantMessageInput } from '../AssistantMessageInterface-BpEhx2pC.js';
|
|
11
|
+
export { B as BreadcrumbItemData } from '../AssistantMessageInterface-BpEhx2pC.js';
|
|
12
12
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-Ck5lkQ5d.js';
|
|
13
13
|
import { ClassValue } from 'clsx';
|
|
14
14
|
export { ClassValue } from 'clsx';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
|
|
17
17
|
import { z } from 'zod';
|
|
18
|
-
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-
|
|
19
|
-
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-
|
|
18
|
+
import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-B6DIk8Vf.js';
|
|
19
|
+
export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-B6DIk8Vf.js';
|
|
20
20
|
import { PartialBlock } from '@blocknote/core';
|
|
21
21
|
import { ExternalToast } from 'sonner';
|
|
22
|
-
import { b as AuthInterface, A as AuthInput } from '../auth.interface-
|
|
23
|
-
export { a as AuthQuery } from '../auth.interface-
|
|
22
|
+
import { b as AuthInterface, A as AuthInput } from '../auth.interface-BBUgMZzs.js';
|
|
23
|
+
export { a as AuthQuery } from '../auth.interface-BBUgMZzs.js';
|
|
24
24
|
import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
|
|
25
25
|
import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-C3qqh3mi.js';
|
|
26
26
|
export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
|
|
@@ -236,6 +236,7 @@ interface FoundationModuleDefinitions {
|
|
|
236
236
|
HowTo: ModuleWithPermissions;
|
|
237
237
|
Assistant: ModuleWithPermissions;
|
|
238
238
|
AssistantMessage: ModuleWithPermissions;
|
|
239
|
+
Chunk: ModuleWithPermissions;
|
|
239
240
|
Billing: ModuleWithPermissions;
|
|
240
241
|
StripeCustomer: ModuleWithPermissions;
|
|
241
242
|
StripePaymentMethod: ModuleWithPermissions;
|
|
@@ -266,6 +267,7 @@ interface FoundationModuleDefinitions {
|
|
|
266
267
|
BackupCodeVerify: ModuleWithPermissions;
|
|
267
268
|
PermissionMapping: ModuleWithPermissions;
|
|
268
269
|
ModulePaths: ModuleWithPermissions;
|
|
270
|
+
RbacMatrix: ModuleWithPermissions;
|
|
269
271
|
AuditLog: ModuleWithPermissions;
|
|
270
272
|
}
|
|
271
273
|
interface AppModuleDefinitions {
|
|
@@ -1848,6 +1850,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1848
1850
|
private _inputTokens?;
|
|
1849
1851
|
private _outputTokens?;
|
|
1850
1852
|
private _references?;
|
|
1853
|
+
private _citations?;
|
|
1851
1854
|
get role(): AssistantMessageRole;
|
|
1852
1855
|
get content(): string;
|
|
1853
1856
|
get position(): number;
|
|
@@ -1855,6 +1858,7 @@ declare class AssistantMessage extends AbstractApiData implements AssistantMessa
|
|
|
1855
1858
|
get inputTokens(): number | undefined;
|
|
1856
1859
|
get outputTokens(): number | undefined;
|
|
1857
1860
|
get references(): ApiDataInterface[];
|
|
1861
|
+
get citations(): (ChunkInterface & ChunkRelationshipMeta)[];
|
|
1858
1862
|
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1859
1863
|
createJsonApi(data: AssistantMessageInput): {
|
|
1860
1864
|
data: {
|
|
@@ -1896,6 +1900,35 @@ declare class AssistantMessageService extends AbstractService {
|
|
|
1896
1900
|
}): Promise<void>;
|
|
1897
1901
|
}
|
|
1898
1902
|
|
|
1903
|
+
declare const ChunkModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
1904
|
+
|
|
1905
|
+
declare class Chunk extends AbstractApiData implements ChunkInterface {
|
|
1906
|
+
private _content?;
|
|
1907
|
+
private _nodeId?;
|
|
1908
|
+
private _nodeType?;
|
|
1909
|
+
private _imagePath?;
|
|
1910
|
+
private _source?;
|
|
1911
|
+
get content(): string;
|
|
1912
|
+
get nodeId(): string | undefined;
|
|
1913
|
+
get nodeType(): string | undefined;
|
|
1914
|
+
get imagePath(): string | undefined;
|
|
1915
|
+
get source(): ApiDataInterface | undefined;
|
|
1916
|
+
rehydrate(data: JsonApiHydratedDataInterface): this;
|
|
1917
|
+
createJsonApi(): {
|
|
1918
|
+
data: {
|
|
1919
|
+
type: string;
|
|
1920
|
+
id: string;
|
|
1921
|
+
attributes: {};
|
|
1922
|
+
relationships: {};
|
|
1923
|
+
};
|
|
1924
|
+
included: never[];
|
|
1925
|
+
};
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
type ChunkInput = {
|
|
1929
|
+
id: string;
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1899
1932
|
declare class Notification extends AbstractApiData implements NotificationInterface {
|
|
1900
1933
|
private _notificationType?;
|
|
1901
1934
|
private _isRead?;
|
|
@@ -2175,6 +2208,13 @@ declare const WaitlistStatsModule: (factory: ModuleFactory) => ModuleWithPermiss
|
|
|
2175
2208
|
|
|
2176
2209
|
declare const PermissionMappingModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2177
2210
|
declare const ModulePathsModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2211
|
+
/**
|
|
2212
|
+
* Dev-only matrix module. The `name` is the URL path of the dev singleton
|
|
2213
|
+
* endpoint (`GET|PUT _dev/rbac/matrix`), NOT a plural resource collection.
|
|
2214
|
+
* This module is only useful when the backend is running with `devMode: true`
|
|
2215
|
+
* on `RbacModule.register`.
|
|
2216
|
+
*/
|
|
2217
|
+
declare const RbacMatrixModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2178
2218
|
|
|
2179
2219
|
interface ReferralStatsInterface {
|
|
2180
2220
|
referralCode: string;
|
|
@@ -2253,4 +2293,4 @@ declare class AuditLogService extends AbstractService {
|
|
|
2253
2293
|
|
|
2254
2294
|
declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
|
|
2255
2295
|
|
|
2256
|
-
export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
|
|
2296
|
+
export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, type ChunkInput, ChunkInterface, ChunkModule, ChunkRelationshipMeta, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
|
package/dist/core/index.js
CHANGED
|
@@ -169,7 +169,10 @@
|
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
var _chunkN4YZ45SKjs = require('../chunk-N4YZ45SK.js');
|
|
173
176
|
require('../chunk-LXKSUWAV.js');
|
|
174
177
|
require('../chunk-IBS6NI7D.js');
|
|
175
178
|
|
|
@@ -365,5 +368,8 @@ require('../chunk-7QVYU63E.js');
|
|
|
365
368
|
|
|
366
369
|
|
|
367
370
|
|
|
368
|
-
exports.AVAILABLE_OAUTH_SCOPES = _chunkFDJQRIMYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkFDJQRIMYjs.AbstractApiData; exports.AbstractService = _chunkFDJQRIMYjs.AbstractService; exports.Action = _chunkFDJQRIMYjs.Action; exports.Assistant = _chunkFDJQRIMYjs.Assistant; exports.AssistantMessage = _chunkFDJQRIMYjs.AssistantMessage; exports.AssistantMessageModule = _chunkFDJQRIMYjs.AssistantMessageModule; exports.AssistantMessageService = _chunkFDJQRIMYjs.AssistantMessageService; exports.AssistantModule = _chunkFDJQRIMYjs.AssistantModule; exports.AssistantService = _chunkFDJQRIMYjs.AssistantService; exports.AuditLog = _chunkFDJQRIMYjs.AuditLog; exports.AuditLogModule = _chunkFDJQRIMYjs.AuditLogModule; exports.AuditLogService = _chunkFDJQRIMYjs.AuditLogService; exports.Auth = _chunkFDJQRIMYjs.Auth; exports.AuthComponent = _chunkFDJQRIMYjs.AuthComponent; exports.AuthModule = _chunkFDJQRIMYjs.AuthModule; exports.AuthService = _chunkFDJQRIMYjs.AuthService; exports.AuthorModule = _chunkFDJQRIMYjs.AuthorModule; exports.BackupCodeVerify = _chunkFDJQRIMYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkFDJQRIMYjs.BackupCodeVerifyModule; exports.Billing = _chunkFDJQRIMYjs.Billing; exports.BillingModule = _chunkFDJQRIMYjs.BillingModule; exports.BillingService = _chunkFDJQRIMYjs.BillingService; exports.BlockNoteDiffUtil = _chunkFDJQRIMYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkFDJQRIMYjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkFDJQRIMYjs.ClientAbstractService; exports.ClientHttpMethod = _chunkFDJQRIMYjs.ClientHttpMethod; exports.Company = _chunkFDJQRIMYjs.Company; exports.CompanyFields = _chunkFDJQRIMYjs.CompanyFields; exports.CompanyModule = _chunkFDJQRIMYjs.CompanyModule; exports.CompanyService = _chunkFDJQRIMYjs.CompanyService; exports.Content = _chunkFDJQRIMYjs.Content; exports.ContentFields = _chunkFDJQRIMYjs.ContentFields; exports.ContentModule = _chunkFDJQRIMYjs.ContentModule; exports.ContentService = _chunkFDJQRIMYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkFDJQRIMYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkFDJQRIMYjs.EndpointCreator; exports.Feature = _chunkFDJQRIMYjs.Feature; exports.FeatureModule = _chunkFDJQRIMYjs.FeatureModule; exports.FeatureService = _chunkFDJQRIMYjs.FeatureService; exports.HowTo = _chunkFDJQRIMYjs.HowTo; exports.HowToFields = _chunkFDJQRIMYjs.HowToFields; exports.HowToModule = _chunkFDJQRIMYjs.HowToModule; exports.HowToService = _chunkFDJQRIMYjs.HowToService; exports.HttpMethod = _chunkFDJQRIMYjs.HttpMethod; exports.InvoiceStatus = _chunkFDJQRIMYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkFDJQRIMYjs.Module; exports.ModuleModule = _chunkFDJQRIMYjs.ModuleModule; exports.ModulePathsModule = _chunkFDJQRIMYjs.ModulePathsModule; exports.ModuleRegistrar = _chunkFDJQRIMYjs.ModuleRegistrar; exports.ModuleRegistry = _chunkFDJQRIMYjs.ModuleRegistry; exports.Modules = _chunkFDJQRIMYjs.Modules; exports.Notification = _chunkFDJQRIMYjs.Notification; exports.NotificationFields = _chunkFDJQRIMYjs.NotificationFields; exports.NotificationModule = _chunkFDJQRIMYjs.NotificationModule; exports.NotificationService = _chunkFDJQRIMYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkFDJQRIMYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkFDJQRIMYjs.OAuthClient; exports.OAuthModule = _chunkFDJQRIMYjs.OAuthModule; exports.OAuthService = _chunkFDJQRIMYjs.OAuthService; exports.Passkey = _chunkFDJQRIMYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkFDJQRIMYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkFDJQRIMYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkFDJQRIMYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkFDJQRIMYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkFDJQRIMYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkFDJQRIMYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkFDJQRIMYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkFDJQRIMYjs.PasskeyRename; exports.PasskeyRenameModule = _chunkFDJQRIMYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkFDJQRIMYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkFDJQRIMYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkFDJQRIMYjs.PaymentMethod; exports.PermissionMappingModule = _chunkFDJQRIMYjs.PermissionMappingModule; exports.Push = _chunkFDJQRIMYjs.Push; exports.PushModule = _chunkFDJQRIMYjs.PushModule; exports.PushService = _chunkFDJQRIMYjs.PushService; exports.ReferralModule = _chunkFDJQRIMYjs.ReferralModule; exports.ReferralService = _chunkFDJQRIMYjs.ReferralService; exports.ReferralStats = _chunkFDJQRIMYjs.ReferralStats; exports.ReferralStatsModule = _chunkFDJQRIMYjs.ReferralStatsModule; exports.RehydrationFactory = _chunkFDJQRIMYjs.RehydrationFactory; exports.Role = _chunkFDJQRIMYjs.Role; exports.RoleFields = _chunkFDJQRIMYjs.RoleFields; exports.RoleModule = _chunkFDJQRIMYjs.RoleModule; exports.RoleService = _chunkFDJQRIMYjs.RoleService; exports.S3 = _chunkFDJQRIMYjs.S3; exports.S3Module = _chunkFDJQRIMYjs.S3Module; exports.S3Service = _chunkFDJQRIMYjs.S3Service; exports.StripeCustomer = _chunkFDJQRIMYjs.StripeCustomer; exports.StripeCustomerModule = _chunkFDJQRIMYjs.StripeCustomerModule; exports.StripeCustomerService = _chunkFDJQRIMYjs.StripeCustomerService; exports.StripeInvoice = _chunkFDJQRIMYjs.StripeInvoice; exports.StripeInvoiceModule = _chunkFDJQRIMYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkFDJQRIMYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkFDJQRIMYjs.StripePaymentMethodModule; exports.StripePrice = _chunkFDJQRIMYjs.StripePrice; exports.StripePriceModule = _chunkFDJQRIMYjs.StripePriceModule; exports.StripePriceService = _chunkFDJQRIMYjs.StripePriceService; exports.StripeProduct = _chunkFDJQRIMYjs.StripeProduct; exports.StripeProductModule = _chunkFDJQRIMYjs.StripeProductModule; exports.StripeProductService = _chunkFDJQRIMYjs.StripeProductService; exports.StripePromotionCode = _chunkFDJQRIMYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkFDJQRIMYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkFDJQRIMYjs.StripePromotionCodeService; exports.StripeSubscription = _chunkFDJQRIMYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkFDJQRIMYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkFDJQRIMYjs.StripeSubscriptionService; exports.StripeUsage = _chunkFDJQRIMYjs.StripeUsage; exports.StripeUsageModule = _chunkFDJQRIMYjs.StripeUsageModule; exports.StripeUsageService = _chunkFDJQRIMYjs.StripeUsageService; exports.SubscriptionStatus = _chunkFDJQRIMYjs.SubscriptionStatus; exports.TableOptions = _chunkFDJQRIMYjs.TableOptions; exports.TotpAuthenticator = _chunkFDJQRIMYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkFDJQRIMYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkFDJQRIMYjs.TotpSetup; exports.TotpSetupModule = _chunkFDJQRIMYjs.TotpSetupModule; exports.TotpVerify = _chunkFDJQRIMYjs.TotpVerify; exports.TotpVerifyLogin = _chunkFDJQRIMYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkFDJQRIMYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkFDJQRIMYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkFDJQRIMYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkFDJQRIMYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkFDJQRIMYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkFDJQRIMYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkFDJQRIMYjs.TwoFactorService; exports.TwoFactorStatus = _chunkFDJQRIMYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkFDJQRIMYjs.TwoFactorStatusModule; exports.User = _chunkFDJQRIMYjs.User; exports.UserFields = _chunkFDJQRIMYjs.UserFields; exports.UserModule = _chunkFDJQRIMYjs.UserModule; exports.UserService = _chunkFDJQRIMYjs.UserService; exports.Waitlist = _chunkFDJQRIMYjs.Waitlist; exports.WaitlistModule = _chunkFDJQRIMYjs.WaitlistModule; exports.WaitlistService = _chunkFDJQRIMYjs.WaitlistService; exports.WaitlistStats = _chunkFDJQRIMYjs.WaitlistStats; exports.WaitlistStatsModule = _chunkFDJQRIMYjs.WaitlistStatsModule; exports.checkPermissions = _chunkFDJQRIMYjs.checkPermissions; exports.checkPermissionsFromServer = _chunkFDJQRIMYjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkFDJQRIMYjs.clearLastApiTotal; exports.cn = _chunkFDJQRIMYjs.cn; exports.composeRefs = _chunkFDJQRIMYjs.composeRefs; exports.createJsonApiInclusion = _chunkFDJQRIMYjs.createJsonApiInclusion; exports.dismissToast = _chunkFDJQRIMYjs.dismissToast; exports.entityObjectSchema = _chunkFDJQRIMYjs.entityObjectSchema; exports.exists = _chunkFDJQRIMYjs.exists; exports.formatDate = _chunkFDJQRIMYjs.formatDate; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkFDJQRIMYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkFDJQRIMYjs.getGlobalErrorHandler; exports.getIcon = _chunkFDJQRIMYjs.getIcon; exports.getIconByModule = _chunkFDJQRIMYjs.getIconByModule; exports.getIconByModuleName = _chunkFDJQRIMYjs.getIconByModuleName; exports.getInitials = _chunkFDJQRIMYjs.getInitials; exports.getLastApiTotal = _chunkFDJQRIMYjs.getLastApiTotal; exports.getLucideIcon = _chunkFDJQRIMYjs.getLucideIcon; exports.getLucideIconByModule = _chunkFDJQRIMYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkFDJQRIMYjs.getLucideIconByModuleName; exports.getTableComponents = _chunkFDJQRIMYjs.getTableComponents; exports.getTableOptions = _chunkFDJQRIMYjs.getTableOptions; exports.getValueFromPath = _chunkFDJQRIMYjs.getValueFromPath; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.rehydrate = _chunkFDJQRIMYjs.rehydrate; exports.rehydrateList = _chunkFDJQRIMYjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkFDJQRIMYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkFDJQRIMYjs.setGlobalErrorHandler; exports.showCustomToast = _chunkFDJQRIMYjs.showCustomToast; exports.showError = _chunkFDJQRIMYjs.showError; exports.showToast = _chunkFDJQRIMYjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkFDJQRIMYjs.useComposedRefs; exports.useIsMobile = _chunkFDJQRIMYjs.useIsMobile; exports.userObjectSchema = _chunkFDJQRIMYjs.userObjectSchema;
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
exports.AVAILABLE_OAUTH_SCOPES = _chunkN4YZ45SKjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkN4YZ45SKjs.AbstractApiData; exports.AbstractService = _chunkN4YZ45SKjs.AbstractService; exports.Action = _chunkN4YZ45SKjs.Action; exports.Assistant = _chunkN4YZ45SKjs.Assistant; exports.AssistantMessage = _chunkN4YZ45SKjs.AssistantMessage; exports.AssistantMessageModule = _chunkN4YZ45SKjs.AssistantMessageModule; exports.AssistantMessageService = _chunkN4YZ45SKjs.AssistantMessageService; exports.AssistantModule = _chunkN4YZ45SKjs.AssistantModule; exports.AssistantService = _chunkN4YZ45SKjs.AssistantService; exports.AuditLog = _chunkN4YZ45SKjs.AuditLog; exports.AuditLogModule = _chunkN4YZ45SKjs.AuditLogModule; exports.AuditLogService = _chunkN4YZ45SKjs.AuditLogService; exports.Auth = _chunkN4YZ45SKjs.Auth; exports.AuthComponent = _chunkN4YZ45SKjs.AuthComponent; exports.AuthModule = _chunkN4YZ45SKjs.AuthModule; exports.AuthService = _chunkN4YZ45SKjs.AuthService; exports.AuthorModule = _chunkN4YZ45SKjs.AuthorModule; exports.BackupCodeVerify = _chunkN4YZ45SKjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkN4YZ45SKjs.BackupCodeVerifyModule; exports.Billing = _chunkN4YZ45SKjs.Billing; exports.BillingModule = _chunkN4YZ45SKjs.BillingModule; exports.BillingService = _chunkN4YZ45SKjs.BillingService; exports.BlockNoteDiffUtil = _chunkN4YZ45SKjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkN4YZ45SKjs.BlockNoteWordDiffRendererUtil; exports.Chunk = _chunkN4YZ45SKjs.Chunk; exports.ChunkModule = _chunkN4YZ45SKjs.ChunkModule; exports.ClientAbstractService = _chunkN4YZ45SKjs.ClientAbstractService; exports.ClientHttpMethod = _chunkN4YZ45SKjs.ClientHttpMethod; exports.Company = _chunkN4YZ45SKjs.Company; exports.CompanyFields = _chunkN4YZ45SKjs.CompanyFields; exports.CompanyModule = _chunkN4YZ45SKjs.CompanyModule; exports.CompanyService = _chunkN4YZ45SKjs.CompanyService; exports.Content = _chunkN4YZ45SKjs.Content; exports.ContentFields = _chunkN4YZ45SKjs.ContentFields; exports.ContentModule = _chunkN4YZ45SKjs.ContentModule; exports.ContentService = _chunkN4YZ45SKjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkN4YZ45SKjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkN4YZ45SKjs.EndpointCreator; exports.Feature = _chunkN4YZ45SKjs.Feature; exports.FeatureModule = _chunkN4YZ45SKjs.FeatureModule; exports.FeatureService = _chunkN4YZ45SKjs.FeatureService; exports.HowTo = _chunkN4YZ45SKjs.HowTo; exports.HowToFields = _chunkN4YZ45SKjs.HowToFields; exports.HowToModule = _chunkN4YZ45SKjs.HowToModule; exports.HowToService = _chunkN4YZ45SKjs.HowToService; exports.HttpMethod = _chunkN4YZ45SKjs.HttpMethod; exports.InvoiceStatus = _chunkN4YZ45SKjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkN4YZ45SKjs.Module; exports.ModuleModule = _chunkN4YZ45SKjs.ModuleModule; exports.ModulePathsModule = _chunkN4YZ45SKjs.ModulePathsModule; exports.ModuleRegistrar = _chunkN4YZ45SKjs.ModuleRegistrar; exports.ModuleRegistry = _chunkN4YZ45SKjs.ModuleRegistry; exports.Modules = _chunkN4YZ45SKjs.Modules; exports.Notification = _chunkN4YZ45SKjs.Notification; exports.NotificationFields = _chunkN4YZ45SKjs.NotificationFields; exports.NotificationModule = _chunkN4YZ45SKjs.NotificationModule; exports.NotificationService = _chunkN4YZ45SKjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkN4YZ45SKjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkN4YZ45SKjs.OAuthClient; exports.OAuthModule = _chunkN4YZ45SKjs.OAuthModule; exports.OAuthService = _chunkN4YZ45SKjs.OAuthService; exports.Passkey = _chunkN4YZ45SKjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkN4YZ45SKjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkN4YZ45SKjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkN4YZ45SKjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkN4YZ45SKjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkN4YZ45SKjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkN4YZ45SKjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkN4YZ45SKjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkN4YZ45SKjs.PasskeyRename; exports.PasskeyRenameModule = _chunkN4YZ45SKjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkN4YZ45SKjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkN4YZ45SKjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkN4YZ45SKjs.PaymentMethod; exports.PermissionMappingModule = _chunkN4YZ45SKjs.PermissionMappingModule; exports.Push = _chunkN4YZ45SKjs.Push; exports.PushModule = _chunkN4YZ45SKjs.PushModule; exports.PushService = _chunkN4YZ45SKjs.PushService; exports.RbacMatrixModule = _chunkN4YZ45SKjs.RbacMatrixModule; exports.ReferralModule = _chunkN4YZ45SKjs.ReferralModule; exports.ReferralService = _chunkN4YZ45SKjs.ReferralService; exports.ReferralStats = _chunkN4YZ45SKjs.ReferralStats; exports.ReferralStatsModule = _chunkN4YZ45SKjs.ReferralStatsModule; exports.RehydrationFactory = _chunkN4YZ45SKjs.RehydrationFactory; exports.Role = _chunkN4YZ45SKjs.Role; exports.RoleFields = _chunkN4YZ45SKjs.RoleFields; exports.RoleModule = _chunkN4YZ45SKjs.RoleModule; exports.RoleService = _chunkN4YZ45SKjs.RoleService; exports.S3 = _chunkN4YZ45SKjs.S3; exports.S3Module = _chunkN4YZ45SKjs.S3Module; exports.S3Service = _chunkN4YZ45SKjs.S3Service; exports.StripeCustomer = _chunkN4YZ45SKjs.StripeCustomer; exports.StripeCustomerModule = _chunkN4YZ45SKjs.StripeCustomerModule; exports.StripeCustomerService = _chunkN4YZ45SKjs.StripeCustomerService; exports.StripeInvoice = _chunkN4YZ45SKjs.StripeInvoice; exports.StripeInvoiceModule = _chunkN4YZ45SKjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkN4YZ45SKjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkN4YZ45SKjs.StripePaymentMethodModule; exports.StripePrice = _chunkN4YZ45SKjs.StripePrice; exports.StripePriceModule = _chunkN4YZ45SKjs.StripePriceModule; exports.StripePriceService = _chunkN4YZ45SKjs.StripePriceService; exports.StripeProduct = _chunkN4YZ45SKjs.StripeProduct; exports.StripeProductModule = _chunkN4YZ45SKjs.StripeProductModule; exports.StripeProductService = _chunkN4YZ45SKjs.StripeProductService; exports.StripePromotionCode = _chunkN4YZ45SKjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkN4YZ45SKjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkN4YZ45SKjs.StripePromotionCodeService; exports.StripeSubscription = _chunkN4YZ45SKjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkN4YZ45SKjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkN4YZ45SKjs.StripeSubscriptionService; exports.StripeUsage = _chunkN4YZ45SKjs.StripeUsage; exports.StripeUsageModule = _chunkN4YZ45SKjs.StripeUsageModule; exports.StripeUsageService = _chunkN4YZ45SKjs.StripeUsageService; exports.SubscriptionStatus = _chunkN4YZ45SKjs.SubscriptionStatus; exports.TableOptions = _chunkN4YZ45SKjs.TableOptions; exports.TotpAuthenticator = _chunkN4YZ45SKjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkN4YZ45SKjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkN4YZ45SKjs.TotpSetup; exports.TotpSetupModule = _chunkN4YZ45SKjs.TotpSetupModule; exports.TotpVerify = _chunkN4YZ45SKjs.TotpVerify; exports.TotpVerifyLogin = _chunkN4YZ45SKjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkN4YZ45SKjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkN4YZ45SKjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkN4YZ45SKjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkN4YZ45SKjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkN4YZ45SKjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkN4YZ45SKjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkN4YZ45SKjs.TwoFactorService; exports.TwoFactorStatus = _chunkN4YZ45SKjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkN4YZ45SKjs.TwoFactorStatusModule; exports.User = _chunkN4YZ45SKjs.User; exports.UserFields = _chunkN4YZ45SKjs.UserFields; exports.UserModule = _chunkN4YZ45SKjs.UserModule; exports.UserService = _chunkN4YZ45SKjs.UserService; exports.Waitlist = _chunkN4YZ45SKjs.Waitlist; exports.WaitlistModule = _chunkN4YZ45SKjs.WaitlistModule; exports.WaitlistService = _chunkN4YZ45SKjs.WaitlistService; exports.WaitlistStats = _chunkN4YZ45SKjs.WaitlistStats; exports.WaitlistStatsModule = _chunkN4YZ45SKjs.WaitlistStatsModule; exports.checkPermissions = _chunkN4YZ45SKjs.checkPermissions; exports.checkPermissionsFromServer = _chunkN4YZ45SKjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkN4YZ45SKjs.clearLastApiTotal; exports.cn = _chunkN4YZ45SKjs.cn; exports.composeRefs = _chunkN4YZ45SKjs.composeRefs; exports.createJsonApiInclusion = _chunkN4YZ45SKjs.createJsonApiInclusion; exports.dismissToast = _chunkN4YZ45SKjs.dismissToast; exports.entityObjectSchema = _chunkN4YZ45SKjs.entityObjectSchema; exports.exists = _chunkN4YZ45SKjs.exists; exports.formatDate = _chunkN4YZ45SKjs.formatDate; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkN4YZ45SKjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkN4YZ45SKjs.getGlobalErrorHandler; exports.getIcon = _chunkN4YZ45SKjs.getIcon; exports.getIconByModule = _chunkN4YZ45SKjs.getIconByModule; exports.getIconByModuleName = _chunkN4YZ45SKjs.getIconByModuleName; exports.getInitials = _chunkN4YZ45SKjs.getInitials; exports.getLastApiTotal = _chunkN4YZ45SKjs.getLastApiTotal; exports.getLucideIcon = _chunkN4YZ45SKjs.getLucideIcon; exports.getLucideIconByModule = _chunkN4YZ45SKjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkN4YZ45SKjs.getLucideIconByModuleName; exports.getTableComponents = _chunkN4YZ45SKjs.getTableComponents; exports.getTableOptions = _chunkN4YZ45SKjs.getTableOptions; exports.getValueFromPath = _chunkN4YZ45SKjs.getValueFromPath; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.rehydrate = _chunkN4YZ45SKjs.rehydrate; exports.rehydrateList = _chunkN4YZ45SKjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkN4YZ45SKjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkN4YZ45SKjs.setGlobalErrorHandler; exports.showCustomToast = _chunkN4YZ45SKjs.showCustomToast; exports.showError = _chunkN4YZ45SKjs.showError; exports.showToast = _chunkN4YZ45SKjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkN4YZ45SKjs.useComposedRefs; exports.useIsMobile = _chunkN4YZ45SKjs.useIsMobile; exports.userObjectSchema = _chunkN4YZ45SKjs.userObjectSchema;
|
|
369
375
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,myVAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
|
package/dist/core/index.mjs
CHANGED
|
@@ -24,6 +24,8 @@ import {
|
|
|
24
24
|
BillingService,
|
|
25
25
|
BlockNoteDiffUtil,
|
|
26
26
|
BlockNoteWordDiffRendererUtil,
|
|
27
|
+
Chunk,
|
|
28
|
+
ChunkModule,
|
|
27
29
|
ClientAbstractService,
|
|
28
30
|
ClientHttpMethod,
|
|
29
31
|
Company,
|
|
@@ -76,6 +78,7 @@ import {
|
|
|
76
78
|
Push,
|
|
77
79
|
PushModule,
|
|
78
80
|
PushService,
|
|
81
|
+
RbacMatrixModule,
|
|
79
82
|
ReferralModule,
|
|
80
83
|
ReferralService,
|
|
81
84
|
ReferralStats,
|
|
@@ -169,7 +172,7 @@ import {
|
|
|
169
172
|
useComposedRefs,
|
|
170
173
|
useIsMobile,
|
|
171
174
|
userObjectSchema
|
|
172
|
-
} from "../chunk-
|
|
175
|
+
} from "../chunk-6UMB5LTQ.mjs";
|
|
173
176
|
import "../chunk-AUXK7QSA.mjs";
|
|
174
177
|
import "../chunk-C7C7VY4F.mjs";
|
|
175
178
|
import {
|
|
@@ -210,6 +213,8 @@ export {
|
|
|
210
213
|
BillingService,
|
|
211
214
|
BlockNoteDiffUtil,
|
|
212
215
|
BlockNoteWordDiffRendererUtil,
|
|
216
|
+
Chunk,
|
|
217
|
+
ChunkModule,
|
|
213
218
|
ClientAbstractService,
|
|
214
219
|
ClientHttpMethod,
|
|
215
220
|
Company,
|
|
@@ -265,6 +270,7 @@ export {
|
|
|
265
270
|
Push,
|
|
266
271
|
PushModule,
|
|
267
272
|
PushService,
|
|
273
|
+
RbacMatrixModule,
|
|
268
274
|
ReferralModule,
|
|
269
275
|
ReferralService,
|
|
270
276
|
ReferralStats,
|