@dyrected/core 2.24.3 → 2.25.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.
@@ -1318,6 +1318,13 @@ interface CompiledNavItem {
1318
1318
  global?: string;
1319
1319
  page?: PageConfig;
1320
1320
  views: ViewConfig[];
1321
+ /**
1322
+ * Set by `reconcileNavigation` on items that came from a user's navigation
1323
+ * preferences and do not exist in the server-built tree. They carry no `access`
1324
+ * rule of their own, so consumers must check the user can read the collection
1325
+ * or global they point at before showing them.
1326
+ */
1327
+ userDefined?: boolean;
1321
1328
  }
1322
1329
  /**
1323
1330
  * Runtime compiled representation of a navigation group containing items.
@@ -1337,6 +1344,12 @@ interface CompiledNavGroup {
1337
1344
  interface CompiledNavTree {
1338
1345
  groups: CompiledNavGroup[];
1339
1346
  ungrouped: CompiledNavItem[];
1347
+ /**
1348
+ * True when an administrator has enforced a menu for the user's role. A locked
1349
+ * tree is the complete menu: clients must not add items from personal
1350
+ * preferences (`reconcileNavigation` with `allowUserItems: false`).
1351
+ */
1352
+ locked?: boolean;
1340
1353
  }
1341
1354
  interface PinnedNavItemRef {
1342
1355
  type: "workspace" | "collection" | "global" | "trash" | "link" | "dashboard" | "page";
@@ -1354,6 +1367,24 @@ interface UserNavigationPreferences {
1354
1367
  groups?: NavGroup[];
1355
1368
  items?: DefineWorkspaceOptions[];
1356
1369
  }
1370
+ /** Preference key under which an administrator's enforced menu for a role is stored (role scope). */
1371
+ declare const NAVIGATION_POLICY_KEY = "admin:navigation-policy";
1372
+ /**
1373
+ * A menu an administrator has designed for a role.
1374
+ *
1375
+ * When `enforced` is true, users whose roles are all covered by an enforced
1376
+ * policy see only the items listed in `allowed` (that they also pass `access`
1377
+ * for), arranged by `layout`. Personal preferences cannot add anything back.
1378
+ */
1379
+ interface NavigationRolePolicy {
1380
+ _version: number;
1381
+ /** When false the policy is stored but ignored. */
1382
+ enforced: boolean;
1383
+ /** Ids or slugs of the navigation items this role may see. */
1384
+ allowed: string[];
1385
+ /** Order, groups and renames applied to the allowed items. */
1386
+ layout?: Pick<UserNavigationPreferences, "_version" | "hidden" | "groupOrder" | "itemOrder" | "groups" | "items">;
1387
+ }
1357
1388
  declare const CURRENT_NAV_PREFERENCES_VERSION = 1;
1358
1389
  declare const DEFAULT_USER_NAV_PREFERENCES: UserNavigationPreferences;
1359
1390
 
@@ -1414,6 +1445,17 @@ interface CollectionListComponentSlots extends DocumentFormComponentSlots {
1414
1445
  afterViewContent?: string[];
1415
1446
  collectionView?: CollectionViewComponentSlots;
1416
1447
  }
1448
+ /**
1449
+ * Keys of the admin copy that can be overridden with `admin.strings`.
1450
+ *
1451
+ * - `auth.signIn.title` / `auth.signIn.subtitle`: heading and subtitle on the sign-in screen.
1452
+ * - `auth.firstUser.title` / `auth.firstUser.subtitle`: heading and subtitle when creating the first account.
1453
+ * - `auth.activate.subtitle`: sentence shown above the password field when activating an account.
1454
+ * - `media.storageMissing`: message shown when file uploads are not configured.
1455
+ */
1456
+ type AdminStringKey = "auth.signIn.title" | "auth.signIn.subtitle" | "auth.firstUser.title" | "auth.firstUser.subtitle" | "auth.activate.subtitle" | "media.storageMissing";
1457
+ /** Map of overridable admin copy. See {@link AdminStringKey}. */
1458
+ type AdminStrings = Partial<Record<AdminStringKey, string>>;
1417
1459
  /**
1418
1460
  * Branding and metadata options for the Dyrected Admin UI.
1419
1461
  *
@@ -1439,8 +1481,35 @@ interface AdminConfig {
1439
1481
  /** Custom component slots around the built-in dashboard. */
1440
1482
  components?: AdminDashboardComponentSlots;
1441
1483
  branding?: {
1484
+ /**
1485
+ * The name editors know your product by, for example `"Acme Studio"`.
1486
+ *
1487
+ * This is the one place to set it. It is used in the browser tab title, the
1488
+ * sign-in screens, the sidebar (when no logo is set), transactional emails,
1489
+ * the API documentation page and the AI assistant. When omitted, Dyrected
1490
+ * falls back to {@link logoText}, then to the name in `meta.titleSuffix`, and
1491
+ * finally shows no product name at all. It never falls back to "Dyrected".
1492
+ * @example 'Acme Studio'
1493
+ */
1494
+ appName?: string;
1442
1495
  /** Full logo image shown in the expanded sidebar. URL or imported image asset. */
1443
1496
  logo?: string;
1497
+ /**
1498
+ * Logo variant for dark mode, used wherever {@link logo} is shown (sidebar and
1499
+ * sign-in screens). When omitted, {@link logo} is used in both themes.
1500
+ */
1501
+ logoDark?: string;
1502
+ /**
1503
+ * Accessible description of the logo image (its `alt` text). Defaults to the
1504
+ * resolved app name.
1505
+ */
1506
+ logoAlt?: string;
1507
+ /**
1508
+ * Hide the "Dyrected CMS" credit shown at the bottom of the sign-in and
1509
+ * first-user screens.
1510
+ * @default false
1511
+ */
1512
+ hidePoweredBy?: boolean;
1444
1513
  /** Compact logo mark used in the collapsed sidebar state. */
1445
1514
  logoMark?: string;
1446
1515
  /** Text alternative or addition to the logo image. */
@@ -1481,11 +1550,52 @@ interface AdminConfig {
1481
1550
  };
1482
1551
  meta?: {
1483
1552
  /**
1484
- * String appended to every Admin page's `<title>`.
1485
- * @default '- Dyrected'
1553
+ * String appended to every Admin page's `<title>`, for example `'- Acme Studio'`.
1554
+ *
1555
+ * When omitted it is derived from `branding.appName` (as `- <appName>`), so most
1556
+ * projects only need to set the app name. If no name is configured anywhere the
1557
+ * title has no suffix.
1486
1558
  */
1487
1559
  titleSuffix?: string;
1488
1560
  };
1561
+ /**
1562
+ * Switches for parts of the admin that are aimed at developers rather than editors.
1563
+ * Turn them off when you ship the admin to clients under your own brand.
1564
+ */
1565
+ features?: {
1566
+ /**
1567
+ * Show the "System Info & Updates" panel (version, update notices, upgrade command).
1568
+ * The panel is only ever shown to administrators.
1569
+ * @default true
1570
+ */
1571
+ systemInfo?: boolean;
1572
+ /**
1573
+ * Show the "Set up" screen that generates an AI prompt for wiring a website to this CMS.
1574
+ * @default true
1575
+ */
1576
+ setupPrompt?: boolean;
1577
+ };
1578
+ /**
1579
+ * Where help links in the admin point.
1580
+ */
1581
+ links?: {
1582
+ /**
1583
+ * Documentation URL used by "Help" and "Docs" links. Set to `false` to hide them.
1584
+ * @default 'https://docs.dyrected.com'
1585
+ */
1586
+ docs?: string | false;
1587
+ };
1588
+ /**
1589
+ * Overrides for the user-facing wording of the admin. Every key is optional; missing
1590
+ * keys use the built-in text. `{appName}` in a value is replaced with the resolved app name.
1591
+ *
1592
+ * @example
1593
+ * strings: {
1594
+ * 'auth.signIn.title': 'Welcome to {appName}',
1595
+ * 'auth.signIn.subtitle': 'Sign in to manage your content.',
1596
+ * }
1597
+ */
1598
+ strings?: AdminStrings;
1489
1599
  /**
1490
1600
  * The canonical/base URL of the frontend website for links and iframe live previews.
1491
1601
  */
@@ -4697,4 +4807,4 @@ interface DyrectedContext {
4697
4807
  */
4698
4808
  declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
4699
4809
 
4700
- export { type RelationshipField as $, type AdminAuthConfig as A, type Block as B, type CollectionConfig as C, type DyrectedConfig as D, type DetailTab as E, type Field as F, type GlobalConfig as G, type HookRequestContext as H, type DetailTabsOptions as I, type DetailTabs as J, type DetailTextOptions as K, type LifecycleEventName as L, type DetailText as M, type DetailSchema as N, type DyrectedContext as O, type PublicAdminAuthConfig as P, type AIConfig as Q, type AIPIIConfig as R, type IdStrategy as S, type TaskRunResult as T, type CompiledNavTree as U, type CompiledNavItem as V, type WorkflowConfig as W, type UserNavigationPreferences as X, type DefineWorkspaceOptions as Y, type ViewConfig as Z, type DateTimeField as _, type DeclarativeHookExpression as a, type AggregateArgs as a$, type SelectField as a0, type ArrayField as a1, type FieldType as a2, type BooleanField as a3, type AuthConfig as a4, type AccessPolicyResolver as a5, type DateField as a6, type TextField as a7, type EmailField as a8, type IconField as a9, AI_ACTIONS_COLLECTION as aA, AI_AUDIT_COLLECTION as aB, AI_CHUNKS_COLLECTION as aC, AI_MESSAGES_COLLECTION as aD, AI_THREADS_COLLECTION as aE, type AccessConfig as aF, type AccessFunction as aG, type AccessFunctionArgs as aH, type AccessResult as aI, type AccessRule as aJ, type ActionConfig as aK, type ActionConfigBase as aL, type ActionConfigWithHandler as aM, type ActionConfigWithMutation as aN, type ActionContext as aO, type ActionType as aP, type AdminAuthAccessResolution as aQ, type AdminAuthClaimMapping as aR, type AdminAuthMember as aS, type AdminAuthProvider as aT, type AdminAuthProviderMembersConfig as aU, type AdminAuthProvisioningMode as aV, type AdminAuthResolveAccessArgs as aW, type AdminAuthResolvedIdentity as aX, type AdminConfig as aY, type AdminDashboardComponentSlots as aZ, type AdminIconName as a_, type ImageField as aa, type JoinField as ab, type JsonField as ac, type MoneyField as ad, type MultiSelectField as ae, type NumberField as af, type ObjectField as ag, type RadioField as ah, type RichTextField as ai, type RowField as aj, type TextareaField as ak, type TimeField as al, type UrlField as am, type AIAction as an, type AIActionStatus as ao, type AIActionType as ap, type AIAuditActionType as aq, type AIAuditRecord as ar, type AIChunk as as, type AIMessage as at, type AIPIIPattern as au, type AIRateLimitResult as av, type AIRateLimitStore as aw, type AIThread as ax, type AIToolContext as ay, type AIToolDefinition as az, type AuthenticatedUser as b, type DistinctCountOperation as b$, type AggregateCastType as b0, type AggregateCollectionResult as b1, type AggregateInput as b2, type AggregateOperation as b3, type AggregateResult as b4, type AppTrashConfig as b5, type BaseAdminAuthProvider as b6, type BaseFieldAdmin as b7, type BlockVariant as b8, type BlocksField as b9, type CollectionListComponentSlots as bA, type CollectionRAGConfig as bB, type CollectionSchemaResult as bC, type CollectionSummaryResult as bD, type CollectionViewComponentSlots as bE, type CompiledNavGroup as bF, type CountOperation as bG, type CustomAdminAuthProvider as bH, type CustomViewConfig as bI, type CustomViewDataConfig as bJ, DEFAULT_USER_NAV_PREFERENCES as bK, type DateFieldAdmin as bL, type DateFormat as bM, type DefaultValueContext as bN, type DefineActionOptions as bO, type DefineCalendarViewOptions as bP, type DefineCardsViewOptions as bQ, type DefineCustomViewOptions as bR, type DefineGanttViewOptions as bS, type DefineKanbanViewOptions as bT, type DefinePageInput as bU, type DefineTableViewOptions as bV, type DefineViewBaseOptions as bW, type DefineViewOptions as bX, type DetailSpan as bY, type DisplayTone as bZ, type DisplayVariant as b_, type BooleanFieldAdmin as ba, type BooleanFormat as bb, CURRENT_NAV_PREFERENCES_VERSION as bc, CUSTOM_VIEW_FETCH_ALL_LIMIT as bd, type CalendarViewConfig as be, type CardsViewConfig as bf, type CharacterLimitFieldAdmin as bg, type CharacterLimitFieldConfig as bh, type CollectionAfterChangeHook as bi, type CollectionAfterDeleteHook as bj, type CollectionAfterReadHook as bk, type CollectionAfterReadHookEntry as bl, type CollectionAfterRestoreHook as bm, type CollectionAfterTransitionHook as bn, type CollectionAfterTrashHook as bo, type CollectionBeforeChangeHook as bp, type CollectionBeforeChangeHookEntry as bq, type CollectionBeforeCommitHook as br, type CollectionBeforeDeleteHook as bs, type CollectionBeforeReadHook as bt, type CollectionBeforeReadHookEntry as bu, type CollectionBeforeRestoreHook as bv, type CollectionBeforeTransitionHook as bw, type CollectionBeforeTrashHook as bx, type CollectionEmailConfig as by, type CollectionIndex as bz, type WorkflowTransition as c, type NumberLimitFieldAdmin as c$, type DistinctValuesOperation as c0, type DocumentFormComponentSlots as c1, type DynamicOptionItem as c2, type DynamicOptionsConfig as c3, type DynamicOptionsResolver as c4, type DynamicOptionsResolverArgs as c5, type DyrectedAIContext as c6, type DyrectedLoggerConfig as c7, type DyrectedObservabilityConfig as c8, type EmailFieldAdmin as c9, type GlobalBeforeReadHookEntry as cA, type GlobalFormComponentSlots as cB, type GlobalRAGConfig as cC, type GlobalSchemaResult as cD, type GlobalSummaryResult as cE, type HeadingLevel as cF, type HookFunction as cG, type IconFieldAdmin as cH, type ImageService as cI, type ImageTransformOptions as cJ, type InferAggregateResult as cK, type JoinFieldAdmin as cL, type JsonFieldAdmin as cM, type JsonFormat as cN, type KanbanViewConfig as cO, LIFECYCLE_EVENT_NAMES as cP, type LifecycleEventHandler as cQ, type LinkFormat as cR, type MetricColor as cS, type MoneyFieldAdmin as cT, type MoneyFieldConfig as cU, type MultiSelectFieldAdmin as cV, type NamedAccessPolicy as cW, type NavBadgeConfig as cX, type NavGroup as cY, type NumberFieldAdmin as cZ, type NumberFormat as c_, type EmailTemplateArgs as ca, type EmailTemplateResult as cb, FORM_SHELLS as cc, type FieldAdminHooks as cd, type FieldAdminOnChangeHook as ce, type FieldAdminOnChangeHookArgs as cf, type FieldAdminOptionsHook as cg, type FieldAdminOptionsHookArgs as ch, type FieldAdminOptionsHookResult as ci, type FieldAfterReadHook as cj, type FieldAfterReadHookArgs as ck, type FieldBase as cl, type FieldBeforeChangeHook as cm, type FieldBeforeChangeHookArgs as cn, type FieldHook as co, type FieldHooks as cp, type FileData as cq, type FormShell as cr, type GanttViewConfig as cs, type GetDocumentResult as ct, type GlobalAfterChangeHook as cu, type GlobalAfterReadHook as cv, type GlobalAfterReadHookEntry as cw, type GlobalBeforeChangeHook as cx, type GlobalBeforeChangeHookEntry as cy, type GlobalBeforeReadHook as cz, type LifecycleEvent as d, definePage as d$, type NumberLimitFieldConfig as d0, type NumericOperation as d1, type NumericUpdateOperator as d2, type OIDCAdminAuthProvider as d3, type OptionFormat as d4, type OutboundEmail as d5, type PageAction as d6, type PageBreadcrumbItem as d7, type PageConfig as d8, type PaginatedResult as d9, type ViewActionFeatures as dA, type ViewComponentSlots as dB, type ViewConfigBase as dC, type ViewLayout as dD, type ViewMetric as dE, type ViewMetricGroupBy as dF, type ViewMetricGroupByConfig as dG, type ViewMetricTrendConfig as dH, type ViewSubMetric as dI, type WhereClause as dJ, type WhereOperator as dK, type WhereOperatorName as dL, type WordLimitFieldAdmin as dM, type WordLimitFieldConfig as dN, type WorkflowMetadata as dO, type WorkflowOnTransitionContext as dP, type WorkflowOnTransitionHook as dQ, type WorkflowRole as dR, type WorkflowState as dS, type WorkflowTransitionContext as dT, coerceBooleanWhere as dU, defineAction as dV, defineCalendarView as dW, defineCardsView as dX, defineCustomView as dY, defineGanttView as dZ, defineKanbanView as d_, type PinnedNavItemRef as da, type PublicAdminAuthProvider as db, type QueryCollectionResult as dc, type RAGSearchResult as dd, type RadioFieldAdmin as de, type RateLimitConfig as df, type ReadonlyDatabaseAdapter as dg, type RichTextFeature as dh, type RichTextFieldConfig as di, type SelectFieldAdmin as dj, type SqlWhereResult as dk, type StorageAdapter as dl, type TableViewConfig as dm, type TaskContext as dn, type TaskLogger as dp, type TaskRunStatus as dq, type TextFieldAdmin as dr, type TextFormat as ds, type TextareaFieldAdmin as dt, type TrashConfig as du, type TrustProxyConfig as dv, type TypedField as dw, type UploadConfig as dx, type UrlFieldAdmin as dy, type UrlLinkValue as dz, type DatabaseAdapter as e, defineTableView as e0, defineView as e1, defineWorkspace as e2, isAICollection as e3, parseMongoWhere as e4, parseSqlWhere as e5, type CollectionTokenPayload as e6, DEFAULT_INVITE_EXPIRY as e7, DEFAULT_RESET_PASSWORD_EXPIRY as e8, DEFAULT_SESSION_EXPIRY as e9, type DyrectedObservabilityRuntime as ea, type RequestBodyCapture as eb, type RequestTraceContext as ec, type ResolvedObservabilityConfig as ed, attachRequestMetrics as ee, bindObservabilityRuntime as ef, buildRequestLogger as eg, captureRequestBody as eh, createDyrectedApp as ei, createObservabilityRuntime as ej, createRequestSpan as ek, decodeCollectionToken as el, endRequestSpan as em, getConfigLogger as en, getObservabilityRuntime as eo, getRequestLogger as ep, redactBody as eq, redactHeaders as er, renderPrometheusMetrics as es, resolveInviteTokenExpiry as et, resolveObservabilityConfig as eu, resolveResetPasswordTokenExpiry as ev, resolveSessionTokenExpiry as ew, shouldSampleRequest as ex, signCollectionToken as ey, verifyCollectionToken as ez, type BaseDocument as f, type TaskConfig as g, type DetailActionOptions as h, type DetailAction as i, type DetailComputedOptions as j, type ComputedHandler as k, type DetailComputed as l, type DetailCustomOptions as m, type DetailCustom as n, type DetailDividerOptions as o, type DetailDivider as p, type DisplayFieldOptions as q, type DetailField as r, type DetailItem as s, type DetailGridOptions as t, type DetailGrid as u, type DetailRepeatOptions as v, type DetailRepeat as w, type DetailSectionOptions as x, type DetailSection as y, type DetailTabOptions as z };
4810
+ export { type AdminConfig as $, type AdminAuthConfig as A, type Block as B, type CollectionConfig as C, type DyrectedConfig as D, type DetailTab as E, type Field as F, type GlobalConfig as G, type HookRequestContext as H, type DetailTabsOptions as I, type DetailTabs as J, type DetailTextOptions as K, type LifecycleEventName as L, type DetailText as M, type DetailSchema as N, type DyrectedContext as O, type PublicAdminAuthConfig as P, type AIConfig as Q, type AIPIIConfig as R, type IdStrategy as S, type TaskRunResult as T, type CompiledNavTree as U, type CompiledNavItem as V, type WorkflowConfig as W, type UserNavigationPreferences as X, type NavigationRolePolicy as Y, type DefineWorkspaceOptions as Z, type ViewConfig as _, type DeclarativeHookExpression as a, type AdminDashboardComponentSlots as a$, type AdminStringKey as a0, type DateTimeField as a1, type RelationshipField as a2, type SelectField as a3, type ArrayField as a4, type FieldType as a5, type BooleanField as a6, type AuthConfig as a7, type AccessPolicyResolver as a8, type DateField as a9, type AIThread as aA, type AIToolContext as aB, type AIToolDefinition as aC, AI_ACTIONS_COLLECTION as aD, AI_AUDIT_COLLECTION as aE, AI_CHUNKS_COLLECTION as aF, AI_MESSAGES_COLLECTION as aG, AI_THREADS_COLLECTION as aH, type AccessConfig as aI, type AccessFunction as aJ, type AccessFunctionArgs as aK, type AccessResult as aL, type AccessRule as aM, type ActionConfig as aN, type ActionConfigBase as aO, type ActionConfigWithHandler as aP, type ActionConfigWithMutation as aQ, type ActionContext as aR, type ActionType as aS, type AdminAuthAccessResolution as aT, type AdminAuthClaimMapping as aU, type AdminAuthMember as aV, type AdminAuthProvider as aW, type AdminAuthProviderMembersConfig as aX, type AdminAuthProvisioningMode as aY, type AdminAuthResolveAccessArgs as aZ, type AdminAuthResolvedIdentity as a_, type TextField as aa, type EmailField as ab, type IconField as ac, type ImageField as ad, type JoinField as ae, type JsonField as af, type MoneyField as ag, type MultiSelectField as ah, type NumberField as ai, type ObjectField as aj, type RadioField as ak, type RichTextField as al, type RowField as am, type TextareaField as an, type TimeField as ao, type UrlField as ap, type AIAction as aq, type AIActionStatus as ar, type AIActionType as as, type AIAuditActionType as at, type AIAuditRecord as au, type AIChunk as av, type AIMessage as aw, type AIPIIPattern as ax, type AIRateLimitResult as ay, type AIRateLimitStore as az, type AuthenticatedUser as b, type DetailSpan as b$, type AdminIconName as b0, type AdminStrings as b1, type AggregateArgs as b2, type AggregateCastType as b3, type AggregateCollectionResult as b4, type AggregateInput as b5, type AggregateOperation as b6, type AggregateResult as b7, type AppTrashConfig as b8, type BaseAdminAuthProvider as b9, type CollectionBeforeTrashHook as bA, type CollectionEmailConfig as bB, type CollectionIndex as bC, type CollectionListComponentSlots as bD, type CollectionRAGConfig as bE, type CollectionSchemaResult as bF, type CollectionSummaryResult as bG, type CollectionViewComponentSlots as bH, type CompiledNavGroup as bI, type CountOperation as bJ, type CustomAdminAuthProvider as bK, type CustomViewConfig as bL, type CustomViewDataConfig as bM, DEFAULT_USER_NAV_PREFERENCES as bN, type DateFieldAdmin as bO, type DateFormat as bP, type DefaultValueContext as bQ, type DefineActionOptions as bR, type DefineCalendarViewOptions as bS, type DefineCardsViewOptions as bT, type DefineCustomViewOptions as bU, type DefineGanttViewOptions as bV, type DefineKanbanViewOptions as bW, type DefinePageInput as bX, type DefineTableViewOptions as bY, type DefineViewBaseOptions as bZ, type DefineViewOptions as b_, type BaseFieldAdmin as ba, type BlockVariant as bb, type BlocksField as bc, type BooleanFieldAdmin as bd, type BooleanFormat as be, CURRENT_NAV_PREFERENCES_VERSION as bf, CUSTOM_VIEW_FETCH_ALL_LIMIT as bg, type CalendarViewConfig as bh, type CardsViewConfig as bi, type CharacterLimitFieldAdmin as bj, type CharacterLimitFieldConfig as bk, type CollectionAfterChangeHook as bl, type CollectionAfterDeleteHook as bm, type CollectionAfterReadHook as bn, type CollectionAfterReadHookEntry as bo, type CollectionAfterRestoreHook as bp, type CollectionAfterTransitionHook as bq, type CollectionAfterTrashHook as br, type CollectionBeforeChangeHook as bs, type CollectionBeforeChangeHookEntry as bt, type CollectionBeforeCommitHook as bu, type CollectionBeforeDeleteHook as bv, type CollectionBeforeReadHook as bw, type CollectionBeforeReadHookEntry as bx, type CollectionBeforeRestoreHook as by, type CollectionBeforeTransitionHook as bz, type WorkflowTransition as c, type NavBadgeConfig as c$, type DisplayTone as c0, type DisplayVariant as c1, type DistinctCountOperation as c2, type DistinctValuesOperation as c3, type DocumentFormComponentSlots as c4, type DynamicOptionItem as c5, type DynamicOptionsConfig as c6, type DynamicOptionsResolver as c7, type DynamicOptionsResolverArgs as c8, type DyrectedAIContext as c9, type GlobalBeforeChangeHook as cA, type GlobalBeforeChangeHookEntry as cB, type GlobalBeforeReadHook as cC, type GlobalBeforeReadHookEntry as cD, type GlobalFormComponentSlots as cE, type GlobalRAGConfig as cF, type GlobalSchemaResult as cG, type GlobalSummaryResult as cH, type HeadingLevel as cI, type HookFunction as cJ, type IconFieldAdmin as cK, type ImageService as cL, type ImageTransformOptions as cM, type InferAggregateResult as cN, type JoinFieldAdmin as cO, type JsonFieldAdmin as cP, type JsonFormat as cQ, type KanbanViewConfig as cR, LIFECYCLE_EVENT_NAMES as cS, type LifecycleEventHandler as cT, type LinkFormat as cU, type MetricColor as cV, type MoneyFieldAdmin as cW, type MoneyFieldConfig as cX, type MultiSelectFieldAdmin as cY, NAVIGATION_POLICY_KEY as cZ, type NamedAccessPolicy as c_, type DyrectedLoggerConfig as ca, type DyrectedObservabilityConfig as cb, type EmailFieldAdmin as cc, type EmailTemplateArgs as cd, type EmailTemplateResult as ce, FORM_SHELLS as cf, type FieldAdminHooks as cg, type FieldAdminOnChangeHook as ch, type FieldAdminOnChangeHookArgs as ci, type FieldAdminOptionsHook as cj, type FieldAdminOptionsHookArgs as ck, type FieldAdminOptionsHookResult as cl, type FieldAfterReadHook as cm, type FieldAfterReadHookArgs as cn, type FieldBase as co, type FieldBeforeChangeHook as cp, type FieldBeforeChangeHookArgs as cq, type FieldHook as cr, type FieldHooks as cs, type FileData as ct, type FormShell as cu, type GanttViewConfig as cv, type GetDocumentResult as cw, type GlobalAfterChangeHook as cx, type GlobalAfterReadHook as cy, type GlobalAfterReadHookEntry as cz, type LifecycleEvent as d, defineCardsView as d$, type NavGroup as d0, type NumberFieldAdmin as d1, type NumberFormat as d2, type NumberLimitFieldAdmin as d3, type NumberLimitFieldConfig as d4, type NumericOperation as d5, type NumericUpdateOperator as d6, type OIDCAdminAuthProvider as d7, type OptionFormat as d8, type OutboundEmail as d9, type TypedField as dA, type UploadConfig as dB, type UrlFieldAdmin as dC, type UrlLinkValue as dD, type ViewActionFeatures as dE, type ViewComponentSlots as dF, type ViewConfigBase as dG, type ViewLayout as dH, type ViewMetric as dI, type ViewMetricGroupBy as dJ, type ViewMetricGroupByConfig as dK, type ViewMetricTrendConfig as dL, type ViewSubMetric as dM, type WhereClause as dN, type WhereOperator as dO, type WhereOperatorName as dP, type WordLimitFieldAdmin as dQ, type WordLimitFieldConfig as dR, type WorkflowMetadata as dS, type WorkflowOnTransitionContext as dT, type WorkflowOnTransitionHook as dU, type WorkflowRole as dV, type WorkflowState as dW, type WorkflowTransitionContext as dX, coerceBooleanWhere as dY, defineAction as dZ, defineCalendarView as d_, type PageAction as da, type PageBreadcrumbItem as db, type PageConfig as dc, type PaginatedResult as dd, type PinnedNavItemRef as de, type PublicAdminAuthProvider as df, type QueryCollectionResult as dg, type RAGSearchResult as dh, type RadioFieldAdmin as di, type RateLimitConfig as dj, type ReadonlyDatabaseAdapter as dk, type RichTextFeature as dl, type RichTextFieldConfig as dm, type SelectFieldAdmin as dn, type SqlWhereResult as dp, type StorageAdapter as dq, type TableViewConfig as dr, type TaskContext as ds, type TaskLogger as dt, type TaskRunStatus as du, type TextFieldAdmin as dv, type TextFormat as dw, type TextareaFieldAdmin as dx, type TrashConfig as dy, type TrustProxyConfig as dz, type DatabaseAdapter as e, defineCustomView as e0, defineGanttView as e1, defineKanbanView as e2, definePage as e3, defineTableView as e4, defineView as e5, defineWorkspace as e6, isAICollection as e7, parseMongoWhere as e8, parseSqlWhere as e9, resolveSessionTokenExpiry as eA, shouldSampleRequest as eB, signCollectionToken as eC, verifyCollectionToken as eD, type CollectionTokenPayload as ea, DEFAULT_INVITE_EXPIRY as eb, DEFAULT_RESET_PASSWORD_EXPIRY as ec, DEFAULT_SESSION_EXPIRY as ed, type DyrectedObservabilityRuntime as ee, type RequestBodyCapture as ef, type RequestTraceContext as eg, type ResolvedObservabilityConfig as eh, attachRequestMetrics as ei, bindObservabilityRuntime as ej, buildRequestLogger as ek, captureRequestBody as el, createDyrectedApp as em, createObservabilityRuntime as en, createRequestSpan as eo, decodeCollectionToken as ep, endRequestSpan as eq, getConfigLogger as er, getObservabilityRuntime as es, getRequestLogger as et, redactBody as eu, redactHeaders as ev, renderPrometheusMetrics as ew, resolveInviteTokenExpiry as ex, resolveObservabilityConfig as ey, resolveResetPasswordTokenExpiry as ez, type BaseDocument as f, type TaskConfig as g, type DetailActionOptions as h, type DetailAction as i, type DetailComputedOptions as j, type ComputedHandler as k, type DetailComputed as l, type DetailCustomOptions as m, type DetailCustom as n, type DetailDividerOptions as o, type DetailDivider as p, type DisplayFieldOptions as q, type DetailField as r, type DetailItem as s, type DetailGridOptions as t, type DetailGrid as u, type DetailRepeatOptions as v, type DetailRepeat as w, type DetailSectionOptions as x, type DetailSection as y, type DetailTabOptions as z };
@@ -1318,6 +1318,13 @@ interface CompiledNavItem {
1318
1318
  global?: string;
1319
1319
  page?: PageConfig;
1320
1320
  views: ViewConfig[];
1321
+ /**
1322
+ * Set by `reconcileNavigation` on items that came from a user's navigation
1323
+ * preferences and do not exist in the server-built tree. They carry no `access`
1324
+ * rule of their own, so consumers must check the user can read the collection
1325
+ * or global they point at before showing them.
1326
+ */
1327
+ userDefined?: boolean;
1321
1328
  }
1322
1329
  /**
1323
1330
  * Runtime compiled representation of a navigation group containing items.
@@ -1337,6 +1344,12 @@ interface CompiledNavGroup {
1337
1344
  interface CompiledNavTree {
1338
1345
  groups: CompiledNavGroup[];
1339
1346
  ungrouped: CompiledNavItem[];
1347
+ /**
1348
+ * True when an administrator has enforced a menu for the user's role. A locked
1349
+ * tree is the complete menu: clients must not add items from personal
1350
+ * preferences (`reconcileNavigation` with `allowUserItems: false`).
1351
+ */
1352
+ locked?: boolean;
1340
1353
  }
1341
1354
  interface PinnedNavItemRef {
1342
1355
  type: "workspace" | "collection" | "global" | "trash" | "link" | "dashboard" | "page";
@@ -1354,6 +1367,24 @@ interface UserNavigationPreferences {
1354
1367
  groups?: NavGroup[];
1355
1368
  items?: DefineWorkspaceOptions[];
1356
1369
  }
1370
+ /** Preference key under which an administrator's enforced menu for a role is stored (role scope). */
1371
+ declare const NAVIGATION_POLICY_KEY = "admin:navigation-policy";
1372
+ /**
1373
+ * A menu an administrator has designed for a role.
1374
+ *
1375
+ * When `enforced` is true, users whose roles are all covered by an enforced
1376
+ * policy see only the items listed in `allowed` (that they also pass `access`
1377
+ * for), arranged by `layout`. Personal preferences cannot add anything back.
1378
+ */
1379
+ interface NavigationRolePolicy {
1380
+ _version: number;
1381
+ /** When false the policy is stored but ignored. */
1382
+ enforced: boolean;
1383
+ /** Ids or slugs of the navigation items this role may see. */
1384
+ allowed: string[];
1385
+ /** Order, groups and renames applied to the allowed items. */
1386
+ layout?: Pick<UserNavigationPreferences, "_version" | "hidden" | "groupOrder" | "itemOrder" | "groups" | "items">;
1387
+ }
1357
1388
  declare const CURRENT_NAV_PREFERENCES_VERSION = 1;
1358
1389
  declare const DEFAULT_USER_NAV_PREFERENCES: UserNavigationPreferences;
1359
1390
 
@@ -1414,6 +1445,17 @@ interface CollectionListComponentSlots extends DocumentFormComponentSlots {
1414
1445
  afterViewContent?: string[];
1415
1446
  collectionView?: CollectionViewComponentSlots;
1416
1447
  }
1448
+ /**
1449
+ * Keys of the admin copy that can be overridden with `admin.strings`.
1450
+ *
1451
+ * - `auth.signIn.title` / `auth.signIn.subtitle`: heading and subtitle on the sign-in screen.
1452
+ * - `auth.firstUser.title` / `auth.firstUser.subtitle`: heading and subtitle when creating the first account.
1453
+ * - `auth.activate.subtitle`: sentence shown above the password field when activating an account.
1454
+ * - `media.storageMissing`: message shown when file uploads are not configured.
1455
+ */
1456
+ type AdminStringKey = "auth.signIn.title" | "auth.signIn.subtitle" | "auth.firstUser.title" | "auth.firstUser.subtitle" | "auth.activate.subtitle" | "media.storageMissing";
1457
+ /** Map of overridable admin copy. See {@link AdminStringKey}. */
1458
+ type AdminStrings = Partial<Record<AdminStringKey, string>>;
1417
1459
  /**
1418
1460
  * Branding and metadata options for the Dyrected Admin UI.
1419
1461
  *
@@ -1439,8 +1481,35 @@ interface AdminConfig {
1439
1481
  /** Custom component slots around the built-in dashboard. */
1440
1482
  components?: AdminDashboardComponentSlots;
1441
1483
  branding?: {
1484
+ /**
1485
+ * The name editors know your product by, for example `"Acme Studio"`.
1486
+ *
1487
+ * This is the one place to set it. It is used in the browser tab title, the
1488
+ * sign-in screens, the sidebar (when no logo is set), transactional emails,
1489
+ * the API documentation page and the AI assistant. When omitted, Dyrected
1490
+ * falls back to {@link logoText}, then to the name in `meta.titleSuffix`, and
1491
+ * finally shows no product name at all. It never falls back to "Dyrected".
1492
+ * @example 'Acme Studio'
1493
+ */
1494
+ appName?: string;
1442
1495
  /** Full logo image shown in the expanded sidebar. URL or imported image asset. */
1443
1496
  logo?: string;
1497
+ /**
1498
+ * Logo variant for dark mode, used wherever {@link logo} is shown (sidebar and
1499
+ * sign-in screens). When omitted, {@link logo} is used in both themes.
1500
+ */
1501
+ logoDark?: string;
1502
+ /**
1503
+ * Accessible description of the logo image (its `alt` text). Defaults to the
1504
+ * resolved app name.
1505
+ */
1506
+ logoAlt?: string;
1507
+ /**
1508
+ * Hide the "Dyrected CMS" credit shown at the bottom of the sign-in and
1509
+ * first-user screens.
1510
+ * @default false
1511
+ */
1512
+ hidePoweredBy?: boolean;
1444
1513
  /** Compact logo mark used in the collapsed sidebar state. */
1445
1514
  logoMark?: string;
1446
1515
  /** Text alternative or addition to the logo image. */
@@ -1481,11 +1550,52 @@ interface AdminConfig {
1481
1550
  };
1482
1551
  meta?: {
1483
1552
  /**
1484
- * String appended to every Admin page's `<title>`.
1485
- * @default '- Dyrected'
1553
+ * String appended to every Admin page's `<title>`, for example `'- Acme Studio'`.
1554
+ *
1555
+ * When omitted it is derived from `branding.appName` (as `- <appName>`), so most
1556
+ * projects only need to set the app name. If no name is configured anywhere the
1557
+ * title has no suffix.
1486
1558
  */
1487
1559
  titleSuffix?: string;
1488
1560
  };
1561
+ /**
1562
+ * Switches for parts of the admin that are aimed at developers rather than editors.
1563
+ * Turn them off when you ship the admin to clients under your own brand.
1564
+ */
1565
+ features?: {
1566
+ /**
1567
+ * Show the "System Info & Updates" panel (version, update notices, upgrade command).
1568
+ * The panel is only ever shown to administrators.
1569
+ * @default true
1570
+ */
1571
+ systemInfo?: boolean;
1572
+ /**
1573
+ * Show the "Set up" screen that generates an AI prompt for wiring a website to this CMS.
1574
+ * @default true
1575
+ */
1576
+ setupPrompt?: boolean;
1577
+ };
1578
+ /**
1579
+ * Where help links in the admin point.
1580
+ */
1581
+ links?: {
1582
+ /**
1583
+ * Documentation URL used by "Help" and "Docs" links. Set to `false` to hide them.
1584
+ * @default 'https://docs.dyrected.com'
1585
+ */
1586
+ docs?: string | false;
1587
+ };
1588
+ /**
1589
+ * Overrides for the user-facing wording of the admin. Every key is optional; missing
1590
+ * keys use the built-in text. `{appName}` in a value is replaced with the resolved app name.
1591
+ *
1592
+ * @example
1593
+ * strings: {
1594
+ * 'auth.signIn.title': 'Welcome to {appName}',
1595
+ * 'auth.signIn.subtitle': 'Sign in to manage your content.',
1596
+ * }
1597
+ */
1598
+ strings?: AdminStrings;
1489
1599
  /**
1490
1600
  * The canonical/base URL of the frontend website for links and iframe live previews.
1491
1601
  */
@@ -4697,4 +4807,4 @@ interface DyrectedContext {
4697
4807
  */
4698
4808
  declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
4699
4809
 
4700
- export { type RelationshipField as $, type AdminAuthConfig as A, type Block as B, type CollectionConfig as C, type DyrectedConfig as D, type DetailTab as E, type Field as F, type GlobalConfig as G, type HookRequestContext as H, type DetailTabsOptions as I, type DetailTabs as J, type DetailTextOptions as K, type LifecycleEventName as L, type DetailText as M, type DetailSchema as N, type DyrectedContext as O, type PublicAdminAuthConfig as P, type AIConfig as Q, type AIPIIConfig as R, type IdStrategy as S, type TaskRunResult as T, type CompiledNavTree as U, type CompiledNavItem as V, type WorkflowConfig as W, type UserNavigationPreferences as X, type DefineWorkspaceOptions as Y, type ViewConfig as Z, type DateTimeField as _, type DeclarativeHookExpression as a, type AggregateArgs as a$, type SelectField as a0, type ArrayField as a1, type FieldType as a2, type BooleanField as a3, type AuthConfig as a4, type AccessPolicyResolver as a5, type DateField as a6, type TextField as a7, type EmailField as a8, type IconField as a9, AI_ACTIONS_COLLECTION as aA, AI_AUDIT_COLLECTION as aB, AI_CHUNKS_COLLECTION as aC, AI_MESSAGES_COLLECTION as aD, AI_THREADS_COLLECTION as aE, type AccessConfig as aF, type AccessFunction as aG, type AccessFunctionArgs as aH, type AccessResult as aI, type AccessRule as aJ, type ActionConfig as aK, type ActionConfigBase as aL, type ActionConfigWithHandler as aM, type ActionConfigWithMutation as aN, type ActionContext as aO, type ActionType as aP, type AdminAuthAccessResolution as aQ, type AdminAuthClaimMapping as aR, type AdminAuthMember as aS, type AdminAuthProvider as aT, type AdminAuthProviderMembersConfig as aU, type AdminAuthProvisioningMode as aV, type AdminAuthResolveAccessArgs as aW, type AdminAuthResolvedIdentity as aX, type AdminConfig as aY, type AdminDashboardComponentSlots as aZ, type AdminIconName as a_, type ImageField as aa, type JoinField as ab, type JsonField as ac, type MoneyField as ad, type MultiSelectField as ae, type NumberField as af, type ObjectField as ag, type RadioField as ah, type RichTextField as ai, type RowField as aj, type TextareaField as ak, type TimeField as al, type UrlField as am, type AIAction as an, type AIActionStatus as ao, type AIActionType as ap, type AIAuditActionType as aq, type AIAuditRecord as ar, type AIChunk as as, type AIMessage as at, type AIPIIPattern as au, type AIRateLimitResult as av, type AIRateLimitStore as aw, type AIThread as ax, type AIToolContext as ay, type AIToolDefinition as az, type AuthenticatedUser as b, type DistinctCountOperation as b$, type AggregateCastType as b0, type AggregateCollectionResult as b1, type AggregateInput as b2, type AggregateOperation as b3, type AggregateResult as b4, type AppTrashConfig as b5, type BaseAdminAuthProvider as b6, type BaseFieldAdmin as b7, type BlockVariant as b8, type BlocksField as b9, type CollectionListComponentSlots as bA, type CollectionRAGConfig as bB, type CollectionSchemaResult as bC, type CollectionSummaryResult as bD, type CollectionViewComponentSlots as bE, type CompiledNavGroup as bF, type CountOperation as bG, type CustomAdminAuthProvider as bH, type CustomViewConfig as bI, type CustomViewDataConfig as bJ, DEFAULT_USER_NAV_PREFERENCES as bK, type DateFieldAdmin as bL, type DateFormat as bM, type DefaultValueContext as bN, type DefineActionOptions as bO, type DefineCalendarViewOptions as bP, type DefineCardsViewOptions as bQ, type DefineCustomViewOptions as bR, type DefineGanttViewOptions as bS, type DefineKanbanViewOptions as bT, type DefinePageInput as bU, type DefineTableViewOptions as bV, type DefineViewBaseOptions as bW, type DefineViewOptions as bX, type DetailSpan as bY, type DisplayTone as bZ, type DisplayVariant as b_, type BooleanFieldAdmin as ba, type BooleanFormat as bb, CURRENT_NAV_PREFERENCES_VERSION as bc, CUSTOM_VIEW_FETCH_ALL_LIMIT as bd, type CalendarViewConfig as be, type CardsViewConfig as bf, type CharacterLimitFieldAdmin as bg, type CharacterLimitFieldConfig as bh, type CollectionAfterChangeHook as bi, type CollectionAfterDeleteHook as bj, type CollectionAfterReadHook as bk, type CollectionAfterReadHookEntry as bl, type CollectionAfterRestoreHook as bm, type CollectionAfterTransitionHook as bn, type CollectionAfterTrashHook as bo, type CollectionBeforeChangeHook as bp, type CollectionBeforeChangeHookEntry as bq, type CollectionBeforeCommitHook as br, type CollectionBeforeDeleteHook as bs, type CollectionBeforeReadHook as bt, type CollectionBeforeReadHookEntry as bu, type CollectionBeforeRestoreHook as bv, type CollectionBeforeTransitionHook as bw, type CollectionBeforeTrashHook as bx, type CollectionEmailConfig as by, type CollectionIndex as bz, type WorkflowTransition as c, type NumberLimitFieldAdmin as c$, type DistinctValuesOperation as c0, type DocumentFormComponentSlots as c1, type DynamicOptionItem as c2, type DynamicOptionsConfig as c3, type DynamicOptionsResolver as c4, type DynamicOptionsResolverArgs as c5, type DyrectedAIContext as c6, type DyrectedLoggerConfig as c7, type DyrectedObservabilityConfig as c8, type EmailFieldAdmin as c9, type GlobalBeforeReadHookEntry as cA, type GlobalFormComponentSlots as cB, type GlobalRAGConfig as cC, type GlobalSchemaResult as cD, type GlobalSummaryResult as cE, type HeadingLevel as cF, type HookFunction as cG, type IconFieldAdmin as cH, type ImageService as cI, type ImageTransformOptions as cJ, type InferAggregateResult as cK, type JoinFieldAdmin as cL, type JsonFieldAdmin as cM, type JsonFormat as cN, type KanbanViewConfig as cO, LIFECYCLE_EVENT_NAMES as cP, type LifecycleEventHandler as cQ, type LinkFormat as cR, type MetricColor as cS, type MoneyFieldAdmin as cT, type MoneyFieldConfig as cU, type MultiSelectFieldAdmin as cV, type NamedAccessPolicy as cW, type NavBadgeConfig as cX, type NavGroup as cY, type NumberFieldAdmin as cZ, type NumberFormat as c_, type EmailTemplateArgs as ca, type EmailTemplateResult as cb, FORM_SHELLS as cc, type FieldAdminHooks as cd, type FieldAdminOnChangeHook as ce, type FieldAdminOnChangeHookArgs as cf, type FieldAdminOptionsHook as cg, type FieldAdminOptionsHookArgs as ch, type FieldAdminOptionsHookResult as ci, type FieldAfterReadHook as cj, type FieldAfterReadHookArgs as ck, type FieldBase as cl, type FieldBeforeChangeHook as cm, type FieldBeforeChangeHookArgs as cn, type FieldHook as co, type FieldHooks as cp, type FileData as cq, type FormShell as cr, type GanttViewConfig as cs, type GetDocumentResult as ct, type GlobalAfterChangeHook as cu, type GlobalAfterReadHook as cv, type GlobalAfterReadHookEntry as cw, type GlobalBeforeChangeHook as cx, type GlobalBeforeChangeHookEntry as cy, type GlobalBeforeReadHook as cz, type LifecycleEvent as d, definePage as d$, type NumberLimitFieldConfig as d0, type NumericOperation as d1, type NumericUpdateOperator as d2, type OIDCAdminAuthProvider as d3, type OptionFormat as d4, type OutboundEmail as d5, type PageAction as d6, type PageBreadcrumbItem as d7, type PageConfig as d8, type PaginatedResult as d9, type ViewActionFeatures as dA, type ViewComponentSlots as dB, type ViewConfigBase as dC, type ViewLayout as dD, type ViewMetric as dE, type ViewMetricGroupBy as dF, type ViewMetricGroupByConfig as dG, type ViewMetricTrendConfig as dH, type ViewSubMetric as dI, type WhereClause as dJ, type WhereOperator as dK, type WhereOperatorName as dL, type WordLimitFieldAdmin as dM, type WordLimitFieldConfig as dN, type WorkflowMetadata as dO, type WorkflowOnTransitionContext as dP, type WorkflowOnTransitionHook as dQ, type WorkflowRole as dR, type WorkflowState as dS, type WorkflowTransitionContext as dT, coerceBooleanWhere as dU, defineAction as dV, defineCalendarView as dW, defineCardsView as dX, defineCustomView as dY, defineGanttView as dZ, defineKanbanView as d_, type PinnedNavItemRef as da, type PublicAdminAuthProvider as db, type QueryCollectionResult as dc, type RAGSearchResult as dd, type RadioFieldAdmin as de, type RateLimitConfig as df, type ReadonlyDatabaseAdapter as dg, type RichTextFeature as dh, type RichTextFieldConfig as di, type SelectFieldAdmin as dj, type SqlWhereResult as dk, type StorageAdapter as dl, type TableViewConfig as dm, type TaskContext as dn, type TaskLogger as dp, type TaskRunStatus as dq, type TextFieldAdmin as dr, type TextFormat as ds, type TextareaFieldAdmin as dt, type TrashConfig as du, type TrustProxyConfig as dv, type TypedField as dw, type UploadConfig as dx, type UrlFieldAdmin as dy, type UrlLinkValue as dz, type DatabaseAdapter as e, defineTableView as e0, defineView as e1, defineWorkspace as e2, isAICollection as e3, parseMongoWhere as e4, parseSqlWhere as e5, type CollectionTokenPayload as e6, DEFAULT_INVITE_EXPIRY as e7, DEFAULT_RESET_PASSWORD_EXPIRY as e8, DEFAULT_SESSION_EXPIRY as e9, type DyrectedObservabilityRuntime as ea, type RequestBodyCapture as eb, type RequestTraceContext as ec, type ResolvedObservabilityConfig as ed, attachRequestMetrics as ee, bindObservabilityRuntime as ef, buildRequestLogger as eg, captureRequestBody as eh, createDyrectedApp as ei, createObservabilityRuntime as ej, createRequestSpan as ek, decodeCollectionToken as el, endRequestSpan as em, getConfigLogger as en, getObservabilityRuntime as eo, getRequestLogger as ep, redactBody as eq, redactHeaders as er, renderPrometheusMetrics as es, resolveInviteTokenExpiry as et, resolveObservabilityConfig as eu, resolveResetPasswordTokenExpiry as ev, resolveSessionTokenExpiry as ew, shouldSampleRequest as ex, signCollectionToken as ey, verifyCollectionToken as ez, type BaseDocument as f, type TaskConfig as g, type DetailActionOptions as h, type DetailAction as i, type DetailComputedOptions as j, type ComputedHandler as k, type DetailComputed as l, type DetailCustomOptions as m, type DetailCustom as n, type DetailDividerOptions as o, type DetailDivider as p, type DisplayFieldOptions as q, type DetailField as r, type DetailItem as s, type DetailGridOptions as t, type DetailGrid as u, type DetailRepeatOptions as v, type DetailRepeat as w, type DetailSectionOptions as x, type DetailSection as y, type DetailTabOptions as z };
4810
+ export { type AdminConfig as $, type AdminAuthConfig as A, type Block as B, type CollectionConfig as C, type DyrectedConfig as D, type DetailTab as E, type Field as F, type GlobalConfig as G, type HookRequestContext as H, type DetailTabsOptions as I, type DetailTabs as J, type DetailTextOptions as K, type LifecycleEventName as L, type DetailText as M, type DetailSchema as N, type DyrectedContext as O, type PublicAdminAuthConfig as P, type AIConfig as Q, type AIPIIConfig as R, type IdStrategy as S, type TaskRunResult as T, type CompiledNavTree as U, type CompiledNavItem as V, type WorkflowConfig as W, type UserNavigationPreferences as X, type NavigationRolePolicy as Y, type DefineWorkspaceOptions as Z, type ViewConfig as _, type DeclarativeHookExpression as a, type AdminDashboardComponentSlots as a$, type AdminStringKey as a0, type DateTimeField as a1, type RelationshipField as a2, type SelectField as a3, type ArrayField as a4, type FieldType as a5, type BooleanField as a6, type AuthConfig as a7, type AccessPolicyResolver as a8, type DateField as a9, type AIThread as aA, type AIToolContext as aB, type AIToolDefinition as aC, AI_ACTIONS_COLLECTION as aD, AI_AUDIT_COLLECTION as aE, AI_CHUNKS_COLLECTION as aF, AI_MESSAGES_COLLECTION as aG, AI_THREADS_COLLECTION as aH, type AccessConfig as aI, type AccessFunction as aJ, type AccessFunctionArgs as aK, type AccessResult as aL, type AccessRule as aM, type ActionConfig as aN, type ActionConfigBase as aO, type ActionConfigWithHandler as aP, type ActionConfigWithMutation as aQ, type ActionContext as aR, type ActionType as aS, type AdminAuthAccessResolution as aT, type AdminAuthClaimMapping as aU, type AdminAuthMember as aV, type AdminAuthProvider as aW, type AdminAuthProviderMembersConfig as aX, type AdminAuthProvisioningMode as aY, type AdminAuthResolveAccessArgs as aZ, type AdminAuthResolvedIdentity as a_, type TextField as aa, type EmailField as ab, type IconField as ac, type ImageField as ad, type JoinField as ae, type JsonField as af, type MoneyField as ag, type MultiSelectField as ah, type NumberField as ai, type ObjectField as aj, type RadioField as ak, type RichTextField as al, type RowField as am, type TextareaField as an, type TimeField as ao, type UrlField as ap, type AIAction as aq, type AIActionStatus as ar, type AIActionType as as, type AIAuditActionType as at, type AIAuditRecord as au, type AIChunk as av, type AIMessage as aw, type AIPIIPattern as ax, type AIRateLimitResult as ay, type AIRateLimitStore as az, type AuthenticatedUser as b, type DetailSpan as b$, type AdminIconName as b0, type AdminStrings as b1, type AggregateArgs as b2, type AggregateCastType as b3, type AggregateCollectionResult as b4, type AggregateInput as b5, type AggregateOperation as b6, type AggregateResult as b7, type AppTrashConfig as b8, type BaseAdminAuthProvider as b9, type CollectionBeforeTrashHook as bA, type CollectionEmailConfig as bB, type CollectionIndex as bC, type CollectionListComponentSlots as bD, type CollectionRAGConfig as bE, type CollectionSchemaResult as bF, type CollectionSummaryResult as bG, type CollectionViewComponentSlots as bH, type CompiledNavGroup as bI, type CountOperation as bJ, type CustomAdminAuthProvider as bK, type CustomViewConfig as bL, type CustomViewDataConfig as bM, DEFAULT_USER_NAV_PREFERENCES as bN, type DateFieldAdmin as bO, type DateFormat as bP, type DefaultValueContext as bQ, type DefineActionOptions as bR, type DefineCalendarViewOptions as bS, type DefineCardsViewOptions as bT, type DefineCustomViewOptions as bU, type DefineGanttViewOptions as bV, type DefineKanbanViewOptions as bW, type DefinePageInput as bX, type DefineTableViewOptions as bY, type DefineViewBaseOptions as bZ, type DefineViewOptions as b_, type BaseFieldAdmin as ba, type BlockVariant as bb, type BlocksField as bc, type BooleanFieldAdmin as bd, type BooleanFormat as be, CURRENT_NAV_PREFERENCES_VERSION as bf, CUSTOM_VIEW_FETCH_ALL_LIMIT as bg, type CalendarViewConfig as bh, type CardsViewConfig as bi, type CharacterLimitFieldAdmin as bj, type CharacterLimitFieldConfig as bk, type CollectionAfterChangeHook as bl, type CollectionAfterDeleteHook as bm, type CollectionAfterReadHook as bn, type CollectionAfterReadHookEntry as bo, type CollectionAfterRestoreHook as bp, type CollectionAfterTransitionHook as bq, type CollectionAfterTrashHook as br, type CollectionBeforeChangeHook as bs, type CollectionBeforeChangeHookEntry as bt, type CollectionBeforeCommitHook as bu, type CollectionBeforeDeleteHook as bv, type CollectionBeforeReadHook as bw, type CollectionBeforeReadHookEntry as bx, type CollectionBeforeRestoreHook as by, type CollectionBeforeTransitionHook as bz, type WorkflowTransition as c, type NavBadgeConfig as c$, type DisplayTone as c0, type DisplayVariant as c1, type DistinctCountOperation as c2, type DistinctValuesOperation as c3, type DocumentFormComponentSlots as c4, type DynamicOptionItem as c5, type DynamicOptionsConfig as c6, type DynamicOptionsResolver as c7, type DynamicOptionsResolverArgs as c8, type DyrectedAIContext as c9, type GlobalBeforeChangeHook as cA, type GlobalBeforeChangeHookEntry as cB, type GlobalBeforeReadHook as cC, type GlobalBeforeReadHookEntry as cD, type GlobalFormComponentSlots as cE, type GlobalRAGConfig as cF, type GlobalSchemaResult as cG, type GlobalSummaryResult as cH, type HeadingLevel as cI, type HookFunction as cJ, type IconFieldAdmin as cK, type ImageService as cL, type ImageTransformOptions as cM, type InferAggregateResult as cN, type JoinFieldAdmin as cO, type JsonFieldAdmin as cP, type JsonFormat as cQ, type KanbanViewConfig as cR, LIFECYCLE_EVENT_NAMES as cS, type LifecycleEventHandler as cT, type LinkFormat as cU, type MetricColor as cV, type MoneyFieldAdmin as cW, type MoneyFieldConfig as cX, type MultiSelectFieldAdmin as cY, NAVIGATION_POLICY_KEY as cZ, type NamedAccessPolicy as c_, type DyrectedLoggerConfig as ca, type DyrectedObservabilityConfig as cb, type EmailFieldAdmin as cc, type EmailTemplateArgs as cd, type EmailTemplateResult as ce, FORM_SHELLS as cf, type FieldAdminHooks as cg, type FieldAdminOnChangeHook as ch, type FieldAdminOnChangeHookArgs as ci, type FieldAdminOptionsHook as cj, type FieldAdminOptionsHookArgs as ck, type FieldAdminOptionsHookResult as cl, type FieldAfterReadHook as cm, type FieldAfterReadHookArgs as cn, type FieldBase as co, type FieldBeforeChangeHook as cp, type FieldBeforeChangeHookArgs as cq, type FieldHook as cr, type FieldHooks as cs, type FileData as ct, type FormShell as cu, type GanttViewConfig as cv, type GetDocumentResult as cw, type GlobalAfterChangeHook as cx, type GlobalAfterReadHook as cy, type GlobalAfterReadHookEntry as cz, type LifecycleEvent as d, defineCardsView as d$, type NavGroup as d0, type NumberFieldAdmin as d1, type NumberFormat as d2, type NumberLimitFieldAdmin as d3, type NumberLimitFieldConfig as d4, type NumericOperation as d5, type NumericUpdateOperator as d6, type OIDCAdminAuthProvider as d7, type OptionFormat as d8, type OutboundEmail as d9, type TypedField as dA, type UploadConfig as dB, type UrlFieldAdmin as dC, type UrlLinkValue as dD, type ViewActionFeatures as dE, type ViewComponentSlots as dF, type ViewConfigBase as dG, type ViewLayout as dH, type ViewMetric as dI, type ViewMetricGroupBy as dJ, type ViewMetricGroupByConfig as dK, type ViewMetricTrendConfig as dL, type ViewSubMetric as dM, type WhereClause as dN, type WhereOperator as dO, type WhereOperatorName as dP, type WordLimitFieldAdmin as dQ, type WordLimitFieldConfig as dR, type WorkflowMetadata as dS, type WorkflowOnTransitionContext as dT, type WorkflowOnTransitionHook as dU, type WorkflowRole as dV, type WorkflowState as dW, type WorkflowTransitionContext as dX, coerceBooleanWhere as dY, defineAction as dZ, defineCalendarView as d_, type PageAction as da, type PageBreadcrumbItem as db, type PageConfig as dc, type PaginatedResult as dd, type PinnedNavItemRef as de, type PublicAdminAuthProvider as df, type QueryCollectionResult as dg, type RAGSearchResult as dh, type RadioFieldAdmin as di, type RateLimitConfig as dj, type ReadonlyDatabaseAdapter as dk, type RichTextFeature as dl, type RichTextFieldConfig as dm, type SelectFieldAdmin as dn, type SqlWhereResult as dp, type StorageAdapter as dq, type TableViewConfig as dr, type TaskContext as ds, type TaskLogger as dt, type TaskRunStatus as du, type TextFieldAdmin as dv, type TextFormat as dw, type TextareaFieldAdmin as dx, type TrashConfig as dy, type TrustProxyConfig as dz, type DatabaseAdapter as e, defineCustomView as e0, defineGanttView as e1, defineKanbanView as e2, definePage as e3, defineTableView as e4, defineView as e5, defineWorkspace as e6, isAICollection as e7, parseMongoWhere as e8, parseSqlWhere as e9, resolveSessionTokenExpiry as eA, shouldSampleRequest as eB, signCollectionToken as eC, verifyCollectionToken as eD, type CollectionTokenPayload as ea, DEFAULT_INVITE_EXPIRY as eb, DEFAULT_RESET_PASSWORD_EXPIRY as ec, DEFAULT_SESSION_EXPIRY as ed, type DyrectedObservabilityRuntime as ee, type RequestBodyCapture as ef, type RequestTraceContext as eg, type ResolvedObservabilityConfig as eh, attachRequestMetrics as ei, bindObservabilityRuntime as ej, buildRequestLogger as ek, captureRequestBody as el, createDyrectedApp as em, createObservabilityRuntime as en, createRequestSpan as eo, decodeCollectionToken as ep, endRequestSpan as eq, getConfigLogger as er, getObservabilityRuntime as es, getRequestLogger as et, redactBody as eu, redactHeaders as ev, renderPrometheusMetrics as ew, resolveInviteTokenExpiry as ex, resolveObservabilityConfig as ey, resolveResetPasswordTokenExpiry as ez, type BaseDocument as f, type TaskConfig as g, type DetailActionOptions as h, type DetailAction as i, type DetailComputedOptions as j, type ComputedHandler as k, type DetailComputed as l, type DetailCustomOptions as m, type DetailCustom as n, type DetailDividerOptions as o, type DetailDivider as p, type DisplayFieldOptions as q, type DetailField as r, type DetailItem as s, type DetailGridOptions as t, type DetailGrid as u, type DetailRepeatOptions as v, type DetailRepeat as w, type DetailSectionOptions as x, type DetailSection as y, type DetailTabOptions as z };