@carlonicora/nextjs-jsonapi 1.108.0 → 1.110.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/{AssistantInterface-BYgI5z1-.d.mts → AssistantInterface-B1c8FhGA.d.mts} +2 -0
- package/dist/{AssistantInterface-DfDcz0gJ.d.ts → AssistantInterface-BBUHxOCd.d.ts} +2 -0
- package/dist/{AssistantMessageInterface-BpEhx2pC.d.ts → AssistantMessageInterface-BNzf1etU.d.ts} +16 -1
- package/dist/{AssistantMessageInterface-DJ3Me16Y.d.mts → AssistantMessageInterface-DrgHDjZ5.d.mts} +16 -1
- package/dist/{AuthComponent-B6DIk8Vf.d.ts → AuthComponent-Cd7lcYif.d.ts} +1 -1
- package/dist/{AuthComponent-BKI0ZbtD.d.mts → AuthComponent-DdxCFgUZ.d.mts} +1 -1
- package/dist/{BlockNoteEditor-2AXSTGGG.js → BlockNoteEditor-7OKW6HHN.js} +19 -19
- package/dist/{BlockNoteEditor-2AXSTGGG.js.map → BlockNoteEditor-7OKW6HHN.js.map} +1 -1
- package/dist/{BlockNoteEditor-XVIBGXHF.mjs → BlockNoteEditor-K7IIWM3S.mjs} +4 -4
- package/dist/BlockNoteViewer-OPSCTHKJ.mjs +31 -0
- package/dist/BlockNoteViewer-OPSCTHKJ.mjs.map +1 -0
- package/dist/BlockNoteViewer-UW5VZ5UF.js +31 -0
- package/dist/BlockNoteViewer-UW5VZ5UF.js.map +1 -0
- package/dist/{auth.interface-BBUgMZzs.d.ts → auth.interface-8b601idJ.d.ts} +1 -1
- package/dist/{auth.interface-XYEREOD6.d.mts → auth.interface-CXBF8Mhi.d.mts} +1 -1
- package/dist/billing/index.d.mts +41 -41
- package/dist/billing/index.d.ts +41 -41
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-VLDLERJN.js → chunk-6XWW67F2.js} +29 -9
- package/dist/chunk-6XWW67F2.js.map +1 -0
- package/dist/{chunk-HC3JFN3C.js → chunk-AKXUNE3A.js} +1004 -862
- package/dist/chunk-AKXUNE3A.js.map +1 -0
- package/dist/{chunk-CFECWLHH.mjs → chunk-CWVYU4YZ.mjs} +23 -3
- package/dist/chunk-CWVYU4YZ.mjs.map +1 -0
- package/dist/{chunk-56XBGQGU.mjs → chunk-TXVVZLUQ.mjs} +1422 -1280
- package/dist/chunk-TXVVZLUQ.mjs.map +1 -0
- package/dist/{chunk-RXXZGPC3.js → chunk-U2HR57MY.js} +265 -113
- package/dist/chunk-U2HR57MY.js.map +1 -0
- package/dist/chunk-WPAQRB5Q.mjs +7 -0
- package/dist/chunk-WPAQRB5Q.mjs.map +1 -0
- package/dist/chunk-YBZVWLPH.js +7 -0
- package/dist/chunk-YBZVWLPH.js.map +1 -0
- package/dist/{chunk-N3NVIPSU.mjs → chunk-ZYPNVEHB.mjs} +235 -83
- package/dist/{chunk-N3NVIPSU.mjs.map → chunk-ZYPNVEHB.mjs.map} +1 -1
- package/dist/client/index.d.mts +9 -18
- package/dist/client/index.d.ts +9 -18
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +421 -417
- package/dist/components/index.d.ts +421 -417
- package/dist/components/index.js +6 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -3
- package/dist/{config-CLQynoaa.d.ts → config-BrkU_Ynz.d.ts} +4 -1
- package/dist/{config-k61pe_o2.d.mts → config-snd2ToEB.d.mts} +4 -1
- package/dist/contexts/index.d.mts +31 -20
- package/dist/contexts/index.d.ts +31 -20
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +75 -11
- package/dist/core/index.d.ts +75 -11
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.css +29 -0
- package/dist/features/help/index.css.map +1 -0
- package/dist/features/help/index.d.mts +74 -0
- package/dist/features/help/index.d.ts +74 -0
- package/dist/features/help/index.js +522 -0
- package/dist/features/help/index.js.map +1 -0
- package/dist/features/help/index.mjs +522 -0
- package/dist/features/help/index.mjs.map +1 -0
- package/dist/features/help/server.d.mts +33 -0
- package/dist/features/help/server.d.ts +33 -0
- package/dist/features/help/server.js +8 -0
- package/dist/features/help/server.js.map +1 -0
- package/dist/features/help/server.mjs +8 -0
- package/dist/features/help/server.mjs.map +1 -0
- package/dist/help-content-config.interface-C5ESIod9.d.mts +13 -0
- package/dist/help-content-config.interface-C5ESIod9.d.ts +13 -0
- package/dist/index.d.mts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{notification.interface-aLEJbA_g.d.ts → notification.interface-C1T1C2ee.d.ts} +1 -100
- package/dist/{notification.interface-DLZGtV7Z.d.mts → notification.interface-DIxR23eS.d.mts} +1 -100
- package/dist/{s3.service-CVgLWaDc.d.mts → s3.service-0BTClOYO.d.mts} +2 -2
- package/dist/{s3.service-SLlX0Zbz.d.ts → s3.service-CT27Fm1s.d.ts} +2 -2
- package/dist/server/index.d.mts +4 -3
- package/dist/server/index.d.ts +4 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/testing/index.d.mts +1 -2
- package/dist/testing/index.d.ts +1 -2
- package/dist/types-CQSjy7et.d.mts +101 -0
- package/dist/types-DHOxe8rc.d.ts +101 -0
- package/dist/usePageUrlGenerator-tjq2mlDV.d.ts +14 -0
- package/dist/usePageUrlGenerator-uOnyJ6j2.d.mts +14 -0
- package/dist/{useSocket-BkxHHujj.d.mts → useSocket-B1fMIr17.d.mts} +1 -1
- package/dist/{useSocket-CMDjWFYm.d.ts → useSocket-BdJTBXKv.d.ts} +1 -1
- package/package.json +15 -1
- package/src/client/config.ts +9 -1
- package/src/components/index.ts +1 -0
- package/src/components/viewers/BlockNoteViewer.tsx +27 -0
- package/src/components/viewers/BlockNoteViewerContainer.tsx +10 -0
- package/src/core/registry/helpStore.ts +28 -0
- package/src/features/assistant/contexts/AssistantContext.tsx +35 -19
- package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +66 -6
- package/src/features/assistant/data/Assistant.ts +2 -0
- package/src/features/assistant/data/AssistantInterface.ts +2 -0
- package/src/features/assistant/data/AssistantService.ts +18 -8
- package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +4 -0
- package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +6 -4
- package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +5 -1
- package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +3 -1
- package/src/features/assistant-message/data/AssistantMessage.ts +27 -1
- package/src/features/assistant-message/data/AssistantMessageInterface.ts +1 -0
- package/src/features/assistant-message/data/__tests__/AssistantMessage.spec.ts +7 -3
- package/src/features/help/components/HelpArticleBody.tsx +62 -0
- package/src/features/help/components/HelpAskAi.tsx +36 -0
- package/src/features/help/components/HelpAssistantSheet.tsx +53 -0
- package/src/features/help/components/HelpHeader.tsx +40 -0
- package/src/features/help/components/HelpHint.tsx +86 -0
- package/src/features/help/components/HelpSearchResultRow.tsx +61 -0
- package/src/features/help/components/HelpSideNav.tsx +119 -0
- package/src/features/help/components/HelpTOC.tsx +49 -0
- package/src/features/help/components/__tests__/HelpAskAi.spec.tsx +68 -0
- package/src/features/help/components/__tests__/HelpAssistantSheet.spec.tsx +36 -0
- package/src/features/help/components/__tests__/HelpHint.spec.tsx +50 -0
- package/src/features/help/components/__tests__/HelpSearchResultRow.spec.tsx +58 -0
- package/src/features/help/components/__tests__/HelpSideNav.spec.tsx +50 -0
- package/src/features/help/contexts/HelpContext.spec.tsx +26 -0
- package/src/features/help/contexts/HelpContext.tsx +24 -0
- package/src/features/help/hooks/useHelp.ts +1 -0
- package/src/features/help/hooks/useHelpFilter.ts +27 -0
- package/src/features/help/i18n-keys.ts +34 -0
- package/src/features/help/index.ts +24 -0
- package/src/features/help/interfaces/help-content-config.interface.ts +12 -0
- package/src/features/help/server-entry.ts +11 -0
- package/src/features/help/types/help-article.types.ts +35 -0
- package/src/features/help/utils/articleUrl.ts +13 -0
- package/src/features/how-to/HowToModule.ts +14 -1
- package/src/features/how-to/components/forms/HowToEditor.tsx +108 -4
- package/src/features/how-to/data/HowTo.spec.ts +43 -0
- package/src/features/how-to/data/HowTo.ts +64 -3
- package/src/features/how-to/data/HowToInterface.ts +14 -0
- package/src/features/how-to/data/HowToService.ts +61 -0
- package/src/index.ts +4 -0
- package/dist/chunk-56XBGQGU.mjs.map +0 -1
- package/dist/chunk-CFECWLHH.mjs.map +0 -1
- package/dist/chunk-HC3JFN3C.js.map +0 -1
- package/dist/chunk-RXXZGPC3.js.map +0 -1
- package/dist/chunk-VLDLERJN.js.map +0 -1
- /package/dist/{BlockNoteEditor-XVIBGXHF.mjs.map → BlockNoteEditor-K7IIWM3S.mjs.map} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Help-article types for the frontend help feature. Self-contained — the
|
|
3
|
+
* published frontend library stays decoupled from `@carlonicora/nestjs-neo4jsonapi`.
|
|
4
|
+
*/
|
|
5
|
+
declare const HELP_MODES: readonly ["tutorial", "how-to", "reference", "explanation"];
|
|
6
|
+
type HelpMode = (typeof HELP_MODES)[number];
|
|
7
|
+
interface HelpHeading {
|
|
8
|
+
depth: 2 | 3;
|
|
9
|
+
slug: string;
|
|
10
|
+
text: string;
|
|
11
|
+
}
|
|
12
|
+
interface HelpArticle {
|
|
13
|
+
id: string;
|
|
14
|
+
slug: string;
|
|
15
|
+
mode: HelpMode;
|
|
16
|
+
title: string;
|
|
17
|
+
summary: string;
|
|
18
|
+
order: number;
|
|
19
|
+
tags: readonly string[];
|
|
20
|
+
contextualKeys: readonly string[];
|
|
21
|
+
aiIndexed: boolean;
|
|
22
|
+
draft: boolean;
|
|
23
|
+
path: string;
|
|
24
|
+
headings: readonly HelpHeading[];
|
|
25
|
+
relatedSlugs: readonly string[];
|
|
26
|
+
lastUpdated: string;
|
|
27
|
+
}
|
|
28
|
+
interface HelpRedirect {
|
|
29
|
+
from: string;
|
|
30
|
+
to: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { HELP_MODES, type HelpArticle, type HelpHeading, type HelpMode, type HelpRedirect };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
4
|
+
require('../../chunk-7QVYU63E.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.HELP_MODES = _chunkYBZVWLPHjs.HELP_MODES;
|
|
8
|
+
//# sourceMappingURL=server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/features/help/server.js"],"names":[],"mappings":"AAAA;AACE;AACF,0DAAgC;AAChC,mCAAgC;AAChC;AACE;AACF,iDAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/features/help/server.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface HelpBrandConfig {
|
|
2
|
+
/** URL of the brand logo image (served by the consuming app). */
|
|
3
|
+
logo?: string;
|
|
4
|
+
/** Brand label shown in the help header. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Where the "Open app" button navigates for logged-in users. Defaults to "/". */
|
|
7
|
+
appHref?: string;
|
|
8
|
+
}
|
|
9
|
+
interface HelpContentConfig {
|
|
10
|
+
brand?: HelpBrandConfig;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type { HelpContentConfig as H, HelpBrandConfig as a };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface HelpBrandConfig {
|
|
2
|
+
/** URL of the brand logo image (served by the consuming app). */
|
|
3
|
+
logo?: string;
|
|
4
|
+
/** Brand label shown in the help header. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Where the "Open app" button navigates for logged-in users. Defaults to "/". */
|
|
7
|
+
appHref?: string;
|
|
8
|
+
}
|
|
9
|
+
interface HelpContentConfig {
|
|
10
|
+
brand?: HelpBrandConfig;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type { HelpContentConfig as H, HelpBrandConfig as a };
|
package/dist/index.d.mts
CHANGED
|
@@ -4,19 +4,20 @@ export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys,
|
|
|
4
4
|
export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
|
|
5
5
|
import { AbstractApiData } from './core/index.mjs';
|
|
6
6
|
export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
|
|
7
|
-
import { b as AbstractService } from './s3.service-
|
|
8
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-
|
|
9
|
-
export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-
|
|
7
|
+
import { b as AbstractService } from './s3.service-0BTClOYO.mjs';
|
|
8
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-0BTClOYO.mjs';
|
|
9
|
+
export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DrgHDjZ5.mjs';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.mjs';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
|
12
|
-
export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-
|
|
13
|
-
export { A as Action,
|
|
14
|
-
export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-
|
|
12
|
+
export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-DdxCFgUZ.mjs';
|
|
13
|
+
export { A as Action, c as ModuleDefinition, g as ModuleFactory, b as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, a as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser } from './types-CQSjy7et.mjs';
|
|
14
|
+
export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-CXBF8Mhi.mjs';
|
|
15
15
|
export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-ClZ7DxS9.mjs';
|
|
16
|
-
export {
|
|
16
|
+
export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-DIxR23eS.mjs';
|
|
17
|
+
export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-B1c8FhGA.mjs';
|
|
17
18
|
export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-CXb1-vNq.mjs';
|
|
18
19
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-o5FLpiN7.mjs';
|
|
19
|
-
export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-
|
|
20
|
+
export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-snd2ToEB.mjs';
|
|
20
21
|
export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.mjs';
|
|
21
22
|
import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.mjs';
|
|
22
23
|
export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.mjs';
|
|
@@ -27,6 +28,7 @@ import 'sonner';
|
|
|
27
28
|
import '@simplewebauthn/browser';
|
|
28
29
|
import 'd3';
|
|
29
30
|
import 'lucide-react';
|
|
31
|
+
import './help-content-config.interface-C5ESIod9.mjs';
|
|
30
32
|
|
|
31
33
|
type RegistrationMode = "open" | "closed" | "waitlist";
|
|
32
34
|
interface LoginConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,19 +4,20 @@ export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys,
|
|
|
4
4
|
export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
|
|
5
5
|
import { AbstractApiData } from './core/index.js';
|
|
6
6
|
export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
|
|
7
|
-
import { b as AbstractService } from './s3.service-
|
|
8
|
-
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-
|
|
9
|
-
export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-
|
|
7
|
+
import { b as AbstractService } from './s3.service-CT27Fm1s.js';
|
|
8
|
+
export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-CT27Fm1s.js';
|
|
9
|
+
export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-BNzf1etU.js';
|
|
10
10
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.js';
|
|
11
11
|
export { ClassValue } from 'clsx';
|
|
12
|
-
export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-
|
|
13
|
-
export { A as Action,
|
|
14
|
-
export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-
|
|
12
|
+
export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-Cd7lcYif.js';
|
|
13
|
+
export { A as Action, c as ModuleDefinition, g as ModuleFactory, b as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, a as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser } from './types-DHOxe8rc.js';
|
|
14
|
+
export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-8b601idJ.js';
|
|
15
15
|
export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-C3qqh3mi.js';
|
|
16
|
-
export {
|
|
16
|
+
export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-C1T1C2ee.js';
|
|
17
|
+
export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-BBUHxOCd.js';
|
|
17
18
|
export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-BO25VLlx.js';
|
|
18
19
|
export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-B6xmfDzK.js';
|
|
19
|
-
export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-
|
|
20
|
+
export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-BrkU_Ynz.js';
|
|
20
21
|
export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.js';
|
|
21
22
|
import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.js';
|
|
22
23
|
export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.js';
|
|
@@ -27,6 +28,7 @@ import 'sonner';
|
|
|
27
28
|
import '@simplewebauthn/browser';
|
|
28
29
|
import 'd3';
|
|
29
30
|
import 'lucide-react';
|
|
31
|
+
import './help-content-config.interface-C5ESIod9.js';
|
|
30
32
|
|
|
31
33
|
type RegistrationMode = "open" | "closed" | "waitlist";
|
|
32
34
|
interface LoginConfig {
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk6XWW67F2js = require('./chunk-6XWW67F2.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -199,7 +199,7 @@ var _chunkVLDLERJNjs = require('./chunk-VLDLERJN.js');
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
|
|
202
|
-
var
|
|
202
|
+
var _chunkU2HR57MYjs = require('./chunk-U2HR57MY.js');
|
|
203
203
|
require('./chunk-LXKSUWAV.js');
|
|
204
204
|
require('./chunk-IBS6NI7D.js');
|
|
205
205
|
|
|
@@ -423,5 +423,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
exports.ACTION_TYPES = _chunkVLDLERJNjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkRXXZGPC3js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkRXXZGPC3js.AbstractApiData; exports.AbstractService = _chunkRXXZGPC3js.AbstractService; exports.Action = _chunkRXXZGPC3js.Action; exports.Assistant = _chunkRXXZGPC3js.Assistant; exports.AssistantMessage = _chunkRXXZGPC3js.AssistantMessage; exports.AssistantMessageModule = _chunkRXXZGPC3js.AssistantMessageModule; exports.AssistantMessageService = _chunkRXXZGPC3js.AssistantMessageService; exports.AssistantModule = _chunkRXXZGPC3js.AssistantModule; exports.AssistantService = _chunkRXXZGPC3js.AssistantService; exports.AuditLog = _chunkRXXZGPC3js.AuditLog; exports.AuditLogModule = _chunkRXXZGPC3js.AuditLogModule; exports.AuditLogService = _chunkRXXZGPC3js.AuditLogService; exports.Auth = _chunkRXXZGPC3js.Auth; exports.AuthComponent = _chunkRXXZGPC3js.AuthComponent; exports.AuthModule = _chunkRXXZGPC3js.AuthModule; exports.AuthService = _chunkRXXZGPC3js.AuthService; exports.AuthorModule = _chunkRXXZGPC3js.AuthorModule; exports.BackupCodeVerify = _chunkRXXZGPC3js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkRXXZGPC3js.BackupCodeVerifyModule; exports.Billing = _chunkRXXZGPC3js.Billing; exports.BillingModule = _chunkRXXZGPC3js.BillingModule; exports.BillingService = _chunkRXXZGPC3js.BillingService; exports.BlockNoteDiffUtil = _chunkRXXZGPC3js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkRXXZGPC3js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkVLDLERJNjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkRXXZGPC3js.Chunk; exports.ChunkModule = _chunkRXXZGPC3js.ChunkModule; exports.ClientAbstractService = _chunkRXXZGPC3js.ClientAbstractService; exports.ClientHttpMethod = _chunkRXXZGPC3js.ClientHttpMethod; exports.Company = _chunkRXXZGPC3js.Company; exports.CompanyFields = _chunkRXXZGPC3js.CompanyFields; exports.CompanyModule = _chunkRXXZGPC3js.CompanyModule; exports.CompanyService = _chunkRXXZGPC3js.CompanyService; exports.Content = _chunkRXXZGPC3js.Content; exports.ContentFields = _chunkRXXZGPC3js.ContentFields; exports.ContentModule = _chunkRXXZGPC3js.ContentModule; exports.ContentService = _chunkRXXZGPC3js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkRXXZGPC3js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkRXXZGPC3js.EndpointCreator; exports.Feature = _chunkRXXZGPC3js.Feature; exports.FeatureModule = _chunkRXXZGPC3js.FeatureModule; exports.FeatureService = _chunkRXXZGPC3js.FeatureService; exports.HowTo = _chunkRXXZGPC3js.HowTo; exports.HowToFields = _chunkRXXZGPC3js.HowToFields; exports.HowToModule = _chunkRXXZGPC3js.HowToModule; exports.HowToService = _chunkRXXZGPC3js.HowToService; exports.HttpMethod = _chunkRXXZGPC3js.HttpMethod; exports.InvoiceStatus = _chunkRXXZGPC3js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkRXXZGPC3js.Module; exports.ModuleModule = _chunkRXXZGPC3js.ModuleModule; exports.ModulePaths = _chunkRXXZGPC3js.ModulePaths; exports.ModulePathsModule = _chunkRXXZGPC3js.ModulePathsModule; exports.ModuleRegistrar = _chunkRXXZGPC3js.ModuleRegistrar; exports.ModuleRegistry = _chunkRXXZGPC3js.ModuleRegistry; exports.Modules = _chunkRXXZGPC3js.Modules; exports.Notification = _chunkRXXZGPC3js.Notification; exports.NotificationFields = _chunkRXXZGPC3js.NotificationFields; exports.NotificationModule = _chunkRXXZGPC3js.NotificationModule; exports.NotificationService = _chunkRXXZGPC3js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkRXXZGPC3js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkRXXZGPC3js.OAuthClient; exports.OAuthModule = _chunkRXXZGPC3js.OAuthModule; exports.OAuthService = _chunkRXXZGPC3js.OAuthService; exports.Passkey = _chunkRXXZGPC3js.Passkey; exports.PasskeyAuthenticationOptions = _chunkRXXZGPC3js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkRXXZGPC3js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkRXXZGPC3js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkRXXZGPC3js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkRXXZGPC3js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkRXXZGPC3js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkRXXZGPC3js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkRXXZGPC3js.PasskeyRename; exports.PasskeyRenameModule = _chunkRXXZGPC3js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkRXXZGPC3js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkRXXZGPC3js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkRXXZGPC3js.PaymentMethod; exports.PermissionMapping = _chunkRXXZGPC3js.PermissionMapping; exports.PermissionMappingModule = _chunkRXXZGPC3js.PermissionMappingModule; exports.Push = _chunkRXXZGPC3js.Push; exports.PushModule = _chunkRXXZGPC3js.PushModule; exports.PushService = _chunkRXXZGPC3js.PushService; exports.RbacMatrixModel = _chunkRXXZGPC3js.RbacMatrixModel; exports.RbacMatrixModule = _chunkRXXZGPC3js.RbacMatrixModule; exports.RbacService = _chunkVLDLERJNjs.RbacService; exports.ReferralModule = _chunkRXXZGPC3js.ReferralModule; exports.ReferralService = _chunkRXXZGPC3js.ReferralService; exports.ReferralStats = _chunkRXXZGPC3js.ReferralStats; exports.ReferralStatsModule = _chunkRXXZGPC3js.ReferralStatsModule; exports.RehydrationFactory = _chunkRXXZGPC3js.RehydrationFactory; exports.Role = _chunkRXXZGPC3js.Role; exports.RoleFields = _chunkRXXZGPC3js.RoleFields; exports.RoleModule = _chunkRXXZGPC3js.RoleModule; exports.RoleService = _chunkRXXZGPC3js.RoleService; exports.S3 = _chunkRXXZGPC3js.S3; exports.S3Module = _chunkRXXZGPC3js.S3Module; exports.S3Service = _chunkRXXZGPC3js.S3Service; exports.StripeCustomer = _chunkRXXZGPC3js.StripeCustomer; exports.StripeCustomerModule = _chunkRXXZGPC3js.StripeCustomerModule; exports.StripeCustomerService = _chunkRXXZGPC3js.StripeCustomerService; exports.StripeInvoice = _chunkRXXZGPC3js.StripeInvoice; exports.StripeInvoiceModule = _chunkRXXZGPC3js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkRXXZGPC3js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkRXXZGPC3js.StripePaymentMethodModule; exports.StripePrice = _chunkRXXZGPC3js.StripePrice; exports.StripePriceModule = _chunkRXXZGPC3js.StripePriceModule; exports.StripePriceService = _chunkRXXZGPC3js.StripePriceService; exports.StripeProduct = _chunkRXXZGPC3js.StripeProduct; exports.StripeProductModule = _chunkRXXZGPC3js.StripeProductModule; exports.StripeProductService = _chunkRXXZGPC3js.StripeProductService; exports.StripePromotionCode = _chunkRXXZGPC3js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkRXXZGPC3js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkRXXZGPC3js.StripePromotionCodeService; exports.StripeSubscription = _chunkRXXZGPC3js.StripeSubscription; exports.StripeSubscriptionModule = _chunkRXXZGPC3js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkRXXZGPC3js.StripeSubscriptionService; exports.StripeUsage = _chunkRXXZGPC3js.StripeUsage; exports.StripeUsageModule = _chunkRXXZGPC3js.StripeUsageModule; exports.StripeUsageService = _chunkRXXZGPC3js.StripeUsageService; exports.SubscriptionStatus = _chunkRXXZGPC3js.SubscriptionStatus; exports.TableOptions = _chunkRXXZGPC3js.TableOptions; exports.TotpAuthenticator = _chunkRXXZGPC3js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkRXXZGPC3js.TotpAuthenticatorModule; exports.TotpSetup = _chunkRXXZGPC3js.TotpSetup; exports.TotpSetupModule = _chunkRXXZGPC3js.TotpSetupModule; exports.TotpVerify = _chunkRXXZGPC3js.TotpVerify; exports.TotpVerifyLogin = _chunkRXXZGPC3js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkRXXZGPC3js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkRXXZGPC3js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkRXXZGPC3js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkRXXZGPC3js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkRXXZGPC3js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkRXXZGPC3js.TwoFactorEnableModule; exports.TwoFactorService = _chunkRXXZGPC3js.TwoFactorService; exports.TwoFactorStatus = _chunkRXXZGPC3js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkRXXZGPC3js.TwoFactorStatusModule; exports.User = _chunkRXXZGPC3js.User; exports.UserFields = _chunkRXXZGPC3js.UserFields; exports.UserModule = _chunkRXXZGPC3js.UserModule; exports.UserService = _chunkRXXZGPC3js.UserService; exports.Waitlist = _chunkRXXZGPC3js.Waitlist; exports.WaitlistModule = _chunkRXXZGPC3js.WaitlistModule; exports.WaitlistService = _chunkRXXZGPC3js.WaitlistService; exports.WaitlistStats = _chunkRXXZGPC3js.WaitlistStats; exports.WaitlistStatsModule = _chunkRXXZGPC3js.WaitlistStatsModule; exports.checkPermissions = _chunkRXXZGPC3js.checkPermissions; exports.checkPermissionsFromServer = _chunkRXXZGPC3js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkRXXZGPC3js.clearLastApiTotal; exports.cn = _chunkRXXZGPC3js.cn; exports.composeRefs = _chunkRXXZGPC3js.composeRefs; exports.configureAuth = _chunkRXXZGPC3js.configureAuth; exports.configureI18n = _chunkVLDLERJNjs.configureI18n; exports.configureJsonApi = _chunkVLDLERJNjs.configureJsonApi; exports.configureLogin = _chunkVLDLERJNjs.configureLogin; exports.configureReferral = _chunkVLDLERJNjs.configureReferral; exports.configureRoles = _chunkVLDLERJNjs.configureRoles; exports.configureWaitlist = _chunkVLDLERJNjs.configureWaitlist; exports.createJsonApiInclusion = _chunkRXXZGPC3js.createJsonApiInclusion; exports.dismissToast = _chunkRXXZGPC3js.dismissToast; exports.entityObjectSchema = _chunkRXXZGPC3js.entityObjectSchema; exports.exists = _chunkRXXZGPC3js.exists; exports.formatDate = _chunkRXXZGPC3js.formatDate; exports.formatLocalDate = _chunkRXXZGPC3js.formatLocalDate; exports.getApiUrl = _chunkVLDLERJNjs.getApiUrl; exports.getAppUrl = _chunkVLDLERJNjs.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkRXXZGPC3js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkRXXZGPC3js.getGlobalErrorHandler; exports.getIcon = _chunkRXXZGPC3js.getIcon; exports.getIconByModule = _chunkRXXZGPC3js.getIconByModule; exports.getIconByModuleName = _chunkRXXZGPC3js.getIconByModuleName; exports.getInitials = _chunkRXXZGPC3js.getInitials; exports.getLastApiTotal = _chunkRXXZGPC3js.getLastApiTotal; exports.getLucideIcon = _chunkRXXZGPC3js.getLucideIcon; exports.getLucideIconByModule = _chunkRXXZGPC3js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkRXXZGPC3js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkVLDLERJNjs.getPublicApiUrl; exports.getReferralConfig = _chunkVLDLERJNjs.getReferralConfig; exports.getRoleId = _chunkVLDLERJNjs.getRoleId; exports.getStripePublishableKey = _chunkVLDLERJNjs.getStripePublishableKey; exports.getTableComponents = _chunkRXXZGPC3js.getTableComponents; exports.getTableOptions = _chunkRXXZGPC3js.getTableOptions; exports.getTokenHandler = _chunkRXXZGPC3js.getTokenHandler; exports.getTrackablePages = _chunkVLDLERJNjs.getTrackablePages; exports.getValueFromPath = _chunkRXXZGPC3js.getValueFromPath; exports.getWaitlistConfig = _chunkVLDLERJNjs.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunkVLDLERJNjs.isReferralEnabled; exports.isRolesConfigured = _chunkVLDLERJNjs.isRolesConfigured; exports.rehydrate = _chunkRXXZGPC3js.rehydrate; exports.rehydrateList = _chunkRXXZGPC3js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkRXXZGPC3js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkRXXZGPC3js.setGlobalErrorHandler; exports.showCustomToast = _chunkRXXZGPC3js.showCustomToast; exports.showError = _chunkRXXZGPC3js.showError; exports.showToast = _chunkRXXZGPC3js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkRXXZGPC3js.useComposedRefs; exports.useIsMobile = _chunkRXXZGPC3js.useIsMobile; exports.userObjectSchema = _chunkRXXZGPC3js.userObjectSchema;
|
|
426
|
+
exports.ACTION_TYPES = _chunk6XWW67F2js.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkU2HR57MYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkU2HR57MYjs.AbstractApiData; exports.AbstractService = _chunkU2HR57MYjs.AbstractService; exports.Action = _chunkU2HR57MYjs.Action; exports.Assistant = _chunkU2HR57MYjs.Assistant; exports.AssistantMessage = _chunkU2HR57MYjs.AssistantMessage; exports.AssistantMessageModule = _chunkU2HR57MYjs.AssistantMessageModule; exports.AssistantMessageService = _chunkU2HR57MYjs.AssistantMessageService; exports.AssistantModule = _chunkU2HR57MYjs.AssistantModule; exports.AssistantService = _chunkU2HR57MYjs.AssistantService; exports.AuditLog = _chunkU2HR57MYjs.AuditLog; exports.AuditLogModule = _chunkU2HR57MYjs.AuditLogModule; exports.AuditLogService = _chunkU2HR57MYjs.AuditLogService; exports.Auth = _chunkU2HR57MYjs.Auth; exports.AuthComponent = _chunkU2HR57MYjs.AuthComponent; exports.AuthModule = _chunkU2HR57MYjs.AuthModule; exports.AuthService = _chunkU2HR57MYjs.AuthService; exports.AuthorModule = _chunkU2HR57MYjs.AuthorModule; exports.BackupCodeVerify = _chunkU2HR57MYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkU2HR57MYjs.BackupCodeVerifyModule; exports.Billing = _chunkU2HR57MYjs.Billing; exports.BillingModule = _chunkU2HR57MYjs.BillingModule; exports.BillingService = _chunkU2HR57MYjs.BillingService; exports.BlockNoteDiffUtil = _chunkU2HR57MYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkU2HR57MYjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk6XWW67F2js.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkU2HR57MYjs.Chunk; exports.ChunkModule = _chunkU2HR57MYjs.ChunkModule; exports.ClientAbstractService = _chunkU2HR57MYjs.ClientAbstractService; exports.ClientHttpMethod = _chunkU2HR57MYjs.ClientHttpMethod; exports.Company = _chunkU2HR57MYjs.Company; exports.CompanyFields = _chunkU2HR57MYjs.CompanyFields; exports.CompanyModule = _chunkU2HR57MYjs.CompanyModule; exports.CompanyService = _chunkU2HR57MYjs.CompanyService; exports.Content = _chunkU2HR57MYjs.Content; exports.ContentFields = _chunkU2HR57MYjs.ContentFields; exports.ContentModule = _chunkU2HR57MYjs.ContentModule; exports.ContentService = _chunkU2HR57MYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkU2HR57MYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkU2HR57MYjs.EndpointCreator; exports.Feature = _chunkU2HR57MYjs.Feature; exports.FeatureModule = _chunkU2HR57MYjs.FeatureModule; exports.FeatureService = _chunkU2HR57MYjs.FeatureService; exports.HowTo = _chunkU2HR57MYjs.HowTo; exports.HowToFields = _chunkU2HR57MYjs.HowToFields; exports.HowToModule = _chunkU2HR57MYjs.HowToModule; exports.HowToService = _chunkU2HR57MYjs.HowToService; exports.HttpMethod = _chunkU2HR57MYjs.HttpMethod; exports.InvoiceStatus = _chunkU2HR57MYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkU2HR57MYjs.Module; exports.ModuleModule = _chunkU2HR57MYjs.ModuleModule; exports.ModulePaths = _chunkU2HR57MYjs.ModulePaths; exports.ModulePathsModule = _chunkU2HR57MYjs.ModulePathsModule; exports.ModuleRegistrar = _chunkU2HR57MYjs.ModuleRegistrar; exports.ModuleRegistry = _chunkU2HR57MYjs.ModuleRegistry; exports.Modules = _chunkU2HR57MYjs.Modules; exports.Notification = _chunkU2HR57MYjs.Notification; exports.NotificationFields = _chunkU2HR57MYjs.NotificationFields; exports.NotificationModule = _chunkU2HR57MYjs.NotificationModule; exports.NotificationService = _chunkU2HR57MYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkU2HR57MYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkU2HR57MYjs.OAuthClient; exports.OAuthModule = _chunkU2HR57MYjs.OAuthModule; exports.OAuthService = _chunkU2HR57MYjs.OAuthService; exports.Passkey = _chunkU2HR57MYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkU2HR57MYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkU2HR57MYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkU2HR57MYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkU2HR57MYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkU2HR57MYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkU2HR57MYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkU2HR57MYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkU2HR57MYjs.PasskeyRename; exports.PasskeyRenameModule = _chunkU2HR57MYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkU2HR57MYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkU2HR57MYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkU2HR57MYjs.PaymentMethod; exports.PermissionMapping = _chunkU2HR57MYjs.PermissionMapping; exports.PermissionMappingModule = _chunkU2HR57MYjs.PermissionMappingModule; exports.Push = _chunkU2HR57MYjs.Push; exports.PushModule = _chunkU2HR57MYjs.PushModule; exports.PushService = _chunkU2HR57MYjs.PushService; exports.RbacMatrixModel = _chunkU2HR57MYjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkU2HR57MYjs.RbacMatrixModule; exports.RbacService = _chunk6XWW67F2js.RbacService; exports.ReferralModule = _chunkU2HR57MYjs.ReferralModule; exports.ReferralService = _chunkU2HR57MYjs.ReferralService; exports.ReferralStats = _chunkU2HR57MYjs.ReferralStats; exports.ReferralStatsModule = _chunkU2HR57MYjs.ReferralStatsModule; exports.RehydrationFactory = _chunkU2HR57MYjs.RehydrationFactory; exports.Role = _chunkU2HR57MYjs.Role; exports.RoleFields = _chunkU2HR57MYjs.RoleFields; exports.RoleModule = _chunkU2HR57MYjs.RoleModule; exports.RoleService = _chunkU2HR57MYjs.RoleService; exports.S3 = _chunkU2HR57MYjs.S3; exports.S3Module = _chunkU2HR57MYjs.S3Module; exports.S3Service = _chunkU2HR57MYjs.S3Service; exports.StripeCustomer = _chunkU2HR57MYjs.StripeCustomer; exports.StripeCustomerModule = _chunkU2HR57MYjs.StripeCustomerModule; exports.StripeCustomerService = _chunkU2HR57MYjs.StripeCustomerService; exports.StripeInvoice = _chunkU2HR57MYjs.StripeInvoice; exports.StripeInvoiceModule = _chunkU2HR57MYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkU2HR57MYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkU2HR57MYjs.StripePaymentMethodModule; exports.StripePrice = _chunkU2HR57MYjs.StripePrice; exports.StripePriceModule = _chunkU2HR57MYjs.StripePriceModule; exports.StripePriceService = _chunkU2HR57MYjs.StripePriceService; exports.StripeProduct = _chunkU2HR57MYjs.StripeProduct; exports.StripeProductModule = _chunkU2HR57MYjs.StripeProductModule; exports.StripeProductService = _chunkU2HR57MYjs.StripeProductService; exports.StripePromotionCode = _chunkU2HR57MYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkU2HR57MYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkU2HR57MYjs.StripePromotionCodeService; exports.StripeSubscription = _chunkU2HR57MYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkU2HR57MYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkU2HR57MYjs.StripeSubscriptionService; exports.StripeUsage = _chunkU2HR57MYjs.StripeUsage; exports.StripeUsageModule = _chunkU2HR57MYjs.StripeUsageModule; exports.StripeUsageService = _chunkU2HR57MYjs.StripeUsageService; exports.SubscriptionStatus = _chunkU2HR57MYjs.SubscriptionStatus; exports.TableOptions = _chunkU2HR57MYjs.TableOptions; exports.TotpAuthenticator = _chunkU2HR57MYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkU2HR57MYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkU2HR57MYjs.TotpSetup; exports.TotpSetupModule = _chunkU2HR57MYjs.TotpSetupModule; exports.TotpVerify = _chunkU2HR57MYjs.TotpVerify; exports.TotpVerifyLogin = _chunkU2HR57MYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkU2HR57MYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkU2HR57MYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkU2HR57MYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkU2HR57MYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkU2HR57MYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkU2HR57MYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkU2HR57MYjs.TwoFactorService; exports.TwoFactorStatus = _chunkU2HR57MYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkU2HR57MYjs.TwoFactorStatusModule; exports.User = _chunkU2HR57MYjs.User; exports.UserFields = _chunkU2HR57MYjs.UserFields; exports.UserModule = _chunkU2HR57MYjs.UserModule; exports.UserService = _chunkU2HR57MYjs.UserService; exports.Waitlist = _chunkU2HR57MYjs.Waitlist; exports.WaitlistModule = _chunkU2HR57MYjs.WaitlistModule; exports.WaitlistService = _chunkU2HR57MYjs.WaitlistService; exports.WaitlistStats = _chunkU2HR57MYjs.WaitlistStats; exports.WaitlistStatsModule = _chunkU2HR57MYjs.WaitlistStatsModule; exports.checkPermissions = _chunkU2HR57MYjs.checkPermissions; exports.checkPermissionsFromServer = _chunkU2HR57MYjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkU2HR57MYjs.clearLastApiTotal; exports.cn = _chunkU2HR57MYjs.cn; exports.composeRefs = _chunkU2HR57MYjs.composeRefs; exports.configureAuth = _chunkU2HR57MYjs.configureAuth; exports.configureI18n = _chunk6XWW67F2js.configureI18n; exports.configureJsonApi = _chunk6XWW67F2js.configureJsonApi; exports.configureLogin = _chunk6XWW67F2js.configureLogin; exports.configureReferral = _chunk6XWW67F2js.configureReferral; exports.configureRoles = _chunk6XWW67F2js.configureRoles; exports.configureWaitlist = _chunk6XWW67F2js.configureWaitlist; exports.createJsonApiInclusion = _chunkU2HR57MYjs.createJsonApiInclusion; exports.dismissToast = _chunkU2HR57MYjs.dismissToast; exports.entityObjectSchema = _chunkU2HR57MYjs.entityObjectSchema; exports.exists = _chunkU2HR57MYjs.exists; exports.formatDate = _chunkU2HR57MYjs.formatDate; exports.formatLocalDate = _chunkU2HR57MYjs.formatLocalDate; exports.getApiUrl = _chunk6XWW67F2js.getApiUrl; exports.getAppUrl = _chunk6XWW67F2js.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkU2HR57MYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkU2HR57MYjs.getGlobalErrorHandler; exports.getIcon = _chunkU2HR57MYjs.getIcon; exports.getIconByModule = _chunkU2HR57MYjs.getIconByModule; exports.getIconByModuleName = _chunkU2HR57MYjs.getIconByModuleName; exports.getInitials = _chunkU2HR57MYjs.getInitials; exports.getLastApiTotal = _chunkU2HR57MYjs.getLastApiTotal; exports.getLucideIcon = _chunkU2HR57MYjs.getLucideIcon; exports.getLucideIconByModule = _chunkU2HR57MYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkU2HR57MYjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk6XWW67F2js.getPublicApiUrl; exports.getReferralConfig = _chunk6XWW67F2js.getReferralConfig; exports.getRoleId = _chunk6XWW67F2js.getRoleId; exports.getStripePublishableKey = _chunk6XWW67F2js.getStripePublishableKey; exports.getTableComponents = _chunkU2HR57MYjs.getTableComponents; exports.getTableOptions = _chunkU2HR57MYjs.getTableOptions; exports.getTokenHandler = _chunkU2HR57MYjs.getTokenHandler; exports.getTrackablePages = _chunk6XWW67F2js.getTrackablePages; exports.getValueFromPath = _chunkU2HR57MYjs.getValueFromPath; exports.getWaitlistConfig = _chunk6XWW67F2js.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk6XWW67F2js.isReferralEnabled; exports.isRolesConfigured = _chunk6XWW67F2js.isRolesConfigured; exports.rehydrate = _chunkU2HR57MYjs.rehydrate; exports.rehydrateList = _chunkU2HR57MYjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkU2HR57MYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkU2HR57MYjs.setGlobalErrorHandler; exports.showCustomToast = _chunkU2HR57MYjs.showCustomToast; exports.showError = _chunkU2HR57MYjs.showError; exports.showToast = _chunkU2HR57MYjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkU2HR57MYjs.useComposedRefs; exports.useIsMobile = _chunkU2HR57MYjs.useIsMobile; exports.userObjectSchema = _chunkU2HR57MYjs.userObjectSchema;
|
|
427
427
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getWaitlistConfig,
|
|
19
19
|
isReferralEnabled,
|
|
20
20
|
isRolesConfigured
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CWVYU4YZ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AVAILABLE_OAUTH_SCOPES,
|
|
24
24
|
AbstractApiData,
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
useComposedRefs,
|
|
200
200
|
useIsMobile,
|
|
201
201
|
userObjectSchema
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-ZYPNVEHB.mjs";
|
|
203
203
|
import "./chunk-AUXK7QSA.mjs";
|
|
204
204
|
import "./chunk-C7C7VY4F.mjs";
|
|
205
205
|
import {
|
|
@@ -1,105 +1,6 @@
|
|
|
1
|
-
import { LucideIcon } from 'lucide-react';
|
|
2
|
-
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
3
1
|
import { A as ApiDataInterface } from './ApiDataInterface-BcZeXy5X.js';
|
|
4
2
|
import { F as FeatureInterface, M as ModuleInterface } from './feature.interface-BO25VLlx.js';
|
|
5
3
|
|
|
6
|
-
/**
|
|
7
|
-
* Permission actions
|
|
8
|
-
*/
|
|
9
|
-
declare enum Action {
|
|
10
|
-
Read = "read",
|
|
11
|
-
Create = "create",
|
|
12
|
-
Update = "update",
|
|
13
|
-
Delete = "delete"
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Generic permission check type.
|
|
17
|
-
* Can be a boolean or a function that checks permissions dynamically.
|
|
18
|
-
* @template T - The data type being checked
|
|
19
|
-
* @template U - The user type (defaults to PermissionUser)
|
|
20
|
-
*/
|
|
21
|
-
type PermissionCheck<T, U = PermissionUser> = boolean | ((user?: U | string, data?: T) => boolean);
|
|
22
|
-
/**
|
|
23
|
-
* Page URL configuration for modules
|
|
24
|
-
*/
|
|
25
|
-
type PageUrl = {
|
|
26
|
-
pageUrl?: string;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Module permission definition wrapper
|
|
30
|
-
*/
|
|
31
|
-
type ModulePermissionDefinition<T> = {
|
|
32
|
-
interface: T;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Base module definition
|
|
36
|
-
*/
|
|
37
|
-
type ModuleDefinition = {
|
|
38
|
-
pageUrl?: string;
|
|
39
|
-
name: string;
|
|
40
|
-
model: any;
|
|
41
|
-
feature?: string;
|
|
42
|
-
moduleId?: string;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Permission configuration for a module.
|
|
46
|
-
* Can be a boolean (allow/deny all) or a string path for dynamic checks.
|
|
47
|
-
*/
|
|
48
|
-
interface PermissionConfig {
|
|
49
|
-
create: boolean | string;
|
|
50
|
-
read: boolean | string;
|
|
51
|
-
update: boolean | string;
|
|
52
|
-
delete: boolean | string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Generic interface for a module that has permissions.
|
|
56
|
-
* Apps should ensure their Module class implements this.
|
|
57
|
-
*/
|
|
58
|
-
interface PermissionModule {
|
|
59
|
-
id: string;
|
|
60
|
-
permissions: PermissionConfig;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Generic interface for a user that has modules with permissions.
|
|
64
|
-
* Apps should ensure their User class implements this.
|
|
65
|
-
*/
|
|
66
|
-
interface PermissionUser {
|
|
67
|
-
id: string;
|
|
68
|
-
modules: PermissionModule[];
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Module definition with permissions - extends ApiRequestDataTypeInterface
|
|
72
|
-
*/
|
|
73
|
-
type ModuleWithPermissions = ApiRequestDataTypeInterface & {
|
|
74
|
-
pageUrl?: string;
|
|
75
|
-
feature?: string;
|
|
76
|
-
moduleId?: string;
|
|
77
|
-
icon?: LucideIcon;
|
|
78
|
-
inclusions?: Record<string, {
|
|
79
|
-
types?: string[];
|
|
80
|
-
fields?: FieldSelector<any>[];
|
|
81
|
-
include?: string[];
|
|
82
|
-
}>;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Factory type for creating module definitions
|
|
86
|
-
*/
|
|
87
|
-
type ModuleFactory = (params: {
|
|
88
|
-
pageUrl?: string;
|
|
89
|
-
name: string;
|
|
90
|
-
cache?: string | "days" | "default" | "hours" | "max" | "minutes" | "seconds" | "weeks";
|
|
91
|
-
model: any;
|
|
92
|
-
feature?: string;
|
|
93
|
-
moduleId?: string;
|
|
94
|
-
icon?: LucideIcon;
|
|
95
|
-
identifier?: string[];
|
|
96
|
-
inclusions?: Record<string, {
|
|
97
|
-
types?: string[];
|
|
98
|
-
fields?: FieldSelector<any>[];
|
|
99
|
-
include?: string[];
|
|
100
|
-
}>;
|
|
101
|
-
}) => ModuleWithPermissions;
|
|
102
|
-
|
|
103
4
|
type CompanyInput = {
|
|
104
5
|
id: string;
|
|
105
6
|
name?: string;
|
|
@@ -219,4 +120,4 @@ interface NotificationInterface extends ApiDataInterface {
|
|
|
219
120
|
get actor(): UserInterface | undefined;
|
|
220
121
|
}
|
|
221
122
|
|
|
222
|
-
export {
|
|
123
|
+
export type { ContentInterface as C, NotificationInterface as N, RoleInput as R, UserInterface as U, ContentInput as a, CompanyInput as b, CompanyInterface as c, NotificationInput as d, RoleInterface as e, UserInput as f };
|
package/dist/{notification.interface-DLZGtV7Z.d.mts → notification.interface-DIxR23eS.d.mts}
RENAMED
|
@@ -1,105 +1,6 @@
|
|
|
1
|
-
import { LucideIcon } from 'lucide-react';
|
|
2
|
-
import { A as ApiRequestDataTypeInterface, F as FieldSelector } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
3
1
|
import { A as ApiDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
|
|
4
2
|
import { F as FeatureInterface, M as ModuleInterface } from './feature.interface-CXb1-vNq.mjs';
|
|
5
3
|
|
|
6
|
-
/**
|
|
7
|
-
* Permission actions
|
|
8
|
-
*/
|
|
9
|
-
declare enum Action {
|
|
10
|
-
Read = "read",
|
|
11
|
-
Create = "create",
|
|
12
|
-
Update = "update",
|
|
13
|
-
Delete = "delete"
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Generic permission check type.
|
|
17
|
-
* Can be a boolean or a function that checks permissions dynamically.
|
|
18
|
-
* @template T - The data type being checked
|
|
19
|
-
* @template U - The user type (defaults to PermissionUser)
|
|
20
|
-
*/
|
|
21
|
-
type PermissionCheck<T, U = PermissionUser> = boolean | ((user?: U | string, data?: T) => boolean);
|
|
22
|
-
/**
|
|
23
|
-
* Page URL configuration for modules
|
|
24
|
-
*/
|
|
25
|
-
type PageUrl = {
|
|
26
|
-
pageUrl?: string;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Module permission definition wrapper
|
|
30
|
-
*/
|
|
31
|
-
type ModulePermissionDefinition<T> = {
|
|
32
|
-
interface: T;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Base module definition
|
|
36
|
-
*/
|
|
37
|
-
type ModuleDefinition = {
|
|
38
|
-
pageUrl?: string;
|
|
39
|
-
name: string;
|
|
40
|
-
model: any;
|
|
41
|
-
feature?: string;
|
|
42
|
-
moduleId?: string;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Permission configuration for a module.
|
|
46
|
-
* Can be a boolean (allow/deny all) or a string path for dynamic checks.
|
|
47
|
-
*/
|
|
48
|
-
interface PermissionConfig {
|
|
49
|
-
create: boolean | string;
|
|
50
|
-
read: boolean | string;
|
|
51
|
-
update: boolean | string;
|
|
52
|
-
delete: boolean | string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Generic interface for a module that has permissions.
|
|
56
|
-
* Apps should ensure their Module class implements this.
|
|
57
|
-
*/
|
|
58
|
-
interface PermissionModule {
|
|
59
|
-
id: string;
|
|
60
|
-
permissions: PermissionConfig;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Generic interface for a user that has modules with permissions.
|
|
64
|
-
* Apps should ensure their User class implements this.
|
|
65
|
-
*/
|
|
66
|
-
interface PermissionUser {
|
|
67
|
-
id: string;
|
|
68
|
-
modules: PermissionModule[];
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Module definition with permissions - extends ApiRequestDataTypeInterface
|
|
72
|
-
*/
|
|
73
|
-
type ModuleWithPermissions = ApiRequestDataTypeInterface & {
|
|
74
|
-
pageUrl?: string;
|
|
75
|
-
feature?: string;
|
|
76
|
-
moduleId?: string;
|
|
77
|
-
icon?: LucideIcon;
|
|
78
|
-
inclusions?: Record<string, {
|
|
79
|
-
types?: string[];
|
|
80
|
-
fields?: FieldSelector<any>[];
|
|
81
|
-
include?: string[];
|
|
82
|
-
}>;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Factory type for creating module definitions
|
|
86
|
-
*/
|
|
87
|
-
type ModuleFactory = (params: {
|
|
88
|
-
pageUrl?: string;
|
|
89
|
-
name: string;
|
|
90
|
-
cache?: string | "days" | "default" | "hours" | "max" | "minutes" | "seconds" | "weeks";
|
|
91
|
-
model: any;
|
|
92
|
-
feature?: string;
|
|
93
|
-
moduleId?: string;
|
|
94
|
-
icon?: LucideIcon;
|
|
95
|
-
identifier?: string[];
|
|
96
|
-
inclusions?: Record<string, {
|
|
97
|
-
types?: string[];
|
|
98
|
-
fields?: FieldSelector<any>[];
|
|
99
|
-
include?: string[];
|
|
100
|
-
}>;
|
|
101
|
-
}) => ModuleWithPermissions;
|
|
102
|
-
|
|
103
4
|
type CompanyInput = {
|
|
104
5
|
id: string;
|
|
105
6
|
name?: string;
|
|
@@ -219,4 +120,4 @@ interface NotificationInterface extends ApiDataInterface {
|
|
|
219
120
|
get actor(): UserInterface | undefined;
|
|
220
121
|
}
|
|
221
122
|
|
|
222
|
-
export {
|
|
123
|
+
export type { ContentInterface as C, NotificationInterface as N, RoleInput as R, UserInterface as U, ContentInput as a, CompanyInput as b, CompanyInterface as c, NotificationInput as d, RoleInterface as e, UserInput as f };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { F as FeatureInterface } from './feature.interface-CXb1-vNq.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { e as RoleInterface, U as UserInterface, f as UserInput, c as CompanyInterface, b as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-DIxR23eS.mjs';
|
|
3
3
|
import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
|
|
4
|
-
import { A as AuthInput, b as AuthInterface } from './auth.interface-
|
|
4
|
+
import { A as AuthInput, b as AuthInterface } from './auth.interface-CXBF8Mhi.mjs';
|
|
5
5
|
import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
6
6
|
|
|
7
7
|
declare enum HttpMethod {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { F as FeatureInterface } from './feature.interface-BO25VLlx.js';
|
|
2
|
-
import {
|
|
2
|
+
import { e as RoleInterface, U as UserInterface, f as UserInput, c as CompanyInterface, b as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-C1T1C2ee.js';
|
|
3
3
|
import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
|
|
4
|
-
import { A as AuthInput, b as AuthInterface } from './auth.interface-
|
|
4
|
+
import { A as AuthInput, b as AuthInterface } from './auth.interface-8b601idJ.js';
|
|
5
5
|
import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
6
6
|
|
|
7
7
|
declare enum HttpMethod {
|
package/dist/server/index.d.mts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
|
|
2
|
-
import { M as ModuleWithPermissions, A as Action } from '../
|
|
2
|
+
import { M as ModuleWithPermissions, A as Action } from '../types-CQSjy7et.mjs';
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
|
|
5
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
5
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-0BTClOYO.mjs';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.mjs';
|
|
8
8
|
import '../feature.interface-CXb1-vNq.mjs';
|
|
9
|
-
import '../
|
|
9
|
+
import '../notification.interface-DIxR23eS.mjs';
|
|
10
|
+
import '../auth.interface-CXBF8Mhi.mjs';
|
|
10
11
|
|
|
11
12
|
type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
|
|
12
13
|
/**
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { A as ApiData } from '../ApiData-DPKNfY-9.js';
|
|
2
|
-
import { M as ModuleWithPermissions, A as Action } from '../
|
|
2
|
+
import { M as ModuleWithPermissions, A as Action } from '../types-DHOxe8rc.js';
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
|
|
5
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
5
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CT27Fm1s.js';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.js';
|
|
8
8
|
import '../feature.interface-BO25VLlx.js';
|
|
9
|
-
import '../
|
|
9
|
+
import '../notification.interface-C1T1C2ee.js';
|
|
10
|
+
import '../auth.interface-8b601idJ.js';
|
|
10
11
|
|
|
11
12
|
type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
|
|
12
13
|
/**
|
package/dist/server/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkU2HR57MYjs = require('../chunk-U2HR57MY.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
@@ -86,7 +86,7 @@ var ServerSession = class {
|
|
|
86
86
|
if (!rawModules) return false;
|
|
87
87
|
const modules = JSON.parse(_pako2.default.ungzip(Buffer.from(rawModules, "base64"), { to: "string" }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
|
-
return
|
|
89
|
+
return _chunkU2HR57MYjs.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
|
91
91
|
action: params.action,
|
|
92
92
|
data: params.data,
|
|
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
exports.ServerAuthService =
|
|
299
|
+
exports.ServerAuthService = _chunkU2HR57MYjs.AuthService; exports.ServerCompanyService = _chunkU2HR57MYjs.CompanyService; exports.ServerContentService = _chunkU2HR57MYjs.ContentService; exports.ServerFeatureService = _chunkU2HR57MYjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkU2HR57MYjs.NotificationService; exports.ServerPushService = _chunkU2HR57MYjs.PushService; exports.ServerRoleService = _chunkU2HR57MYjs.RoleService; exports.ServerS3Service = _chunkU2HR57MYjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkU2HR57MYjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
|
|
300
300
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
package/dist/testing/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default, { ReactElement } from 'react';
|
|
3
2
|
import { J as JsonApiConfig } from '../JsonApiContext-Bsm_Q2oe.mjs';
|
|
4
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
@@ -37,7 +36,7 @@ declare const defaultMockConfig: JsonApiConfig;
|
|
|
37
36
|
* );
|
|
38
37
|
* ```
|
|
39
38
|
*/
|
|
40
|
-
declare function MockJsonApiProvider({ children, config }: MockJsonApiProviderProps):
|
|
39
|
+
declare function MockJsonApiProvider({ children, config }: MockJsonApiProviderProps): React__default.JSX.Element;
|
|
41
40
|
|
|
42
41
|
interface CreateMockModuleOptions {
|
|
43
42
|
name: string;
|