@dyrected/core 2.22.0 → 2.23.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/{app-BBHBP-6V.d.cts → app-DregJnqR.d.cts} +121 -7
- package/dist/{app-BBHBP-6V.d.ts → app-DregJnqR.d.ts} +121 -7
- package/dist/index.cjs +219 -8
- package/dist/index.d.cts +36 -4
- package/dist/index.d.ts +36 -4
- package/dist/index.js +215 -8
- package/dist/server.cjs +89 -20
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +89 -20
- package/package.json +1 -1
|
@@ -661,8 +661,9 @@ type ViewComponentSlots = CollectionViewComponentSlots;
|
|
|
661
661
|
* - `'calendar'`: Event schedule grid plotting records across month/week/day views by date.
|
|
662
662
|
* - `'gantt'`: Timeline bars plotted across start and end dates.
|
|
663
663
|
* - `'cards'`: Visual image/thumbnail gallery grid.
|
|
664
|
+
* - `'custom'`: A host-supplied component registered under `AdminComponents.viewLayouts`.
|
|
664
665
|
*/
|
|
665
|
-
type ViewLayout = 'table' | 'spreadsheet' | 'kanban' | 'calendar' | 'gantt' | 'cards';
|
|
666
|
+
type ViewLayout = 'table' | 'spreadsheet' | 'kanban' | 'calendar' | 'gantt' | 'cards' | 'custom';
|
|
666
667
|
/**
|
|
667
668
|
* Scope and placement for an operational view action:
|
|
668
669
|
* - `'row'`: Renders as an inline action button on each document/row.
|
|
@@ -725,6 +726,8 @@ interface ViewMetricGroupByConfig {
|
|
|
725
726
|
where?: Record<string, unknown>;
|
|
726
727
|
/** Time interval bucket when grouping by a date or datetime field: `'day' | 'week' | 'month' | 'quarter' | 'year'`. */
|
|
727
728
|
bucket?: 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
729
|
+
/** When true (or by default for dynamic groupBy), omits groups with zero or null aggregate values from the breakdown. Set to `false` to retain zero-count groups. */
|
|
730
|
+
filterZero?: boolean;
|
|
728
731
|
}
|
|
729
732
|
type ViewMetricGroupBy = string | ViewMetricGroupByConfig;
|
|
730
733
|
/**
|
|
@@ -983,10 +986,43 @@ interface CardsViewConfig extends ViewConfigBase {
|
|
|
983
986
|
/** Field name used to organize records into groups. */
|
|
984
987
|
groupBy?: string;
|
|
985
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* Custom view — the host app supplies the component that renders documents.
|
|
991
|
+
*
|
|
992
|
+
* Dyrected keeps owning the header, KPI metrics, search, pagination, selection,
|
|
993
|
+
* bulk actions and action execution. The component only renders documents and
|
|
994
|
+
* reads everything else through `useCollectionView()` / `useViewActions()`.
|
|
995
|
+
*/
|
|
996
|
+
interface CustomViewConfig extends ViewConfigBase {
|
|
997
|
+
layout: 'custom';
|
|
998
|
+
/** Key in `AdminComponents.viewLayouts`, for example `"guests.seatingChart"`. */
|
|
999
|
+
component: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Serializable options handed to the component through
|
|
1002
|
+
* `useCollectionView().config.options`. Never put functions here: the config
|
|
1003
|
+
* travels to the admin as JSON.
|
|
1004
|
+
*/
|
|
1005
|
+
options?: Record<string, unknown>;
|
|
1006
|
+
/** How the host loads documents for this layout. Defaults to `{ pageSize: 50 }`. */
|
|
1007
|
+
data?: CustomViewDataConfig;
|
|
1008
|
+
}
|
|
1009
|
+
/** Document loading strategy for a custom view. */
|
|
1010
|
+
interface CustomViewDataConfig {
|
|
1011
|
+
/** Documents per page. Defaults to 50, and is capped at 100 by the API. */
|
|
1012
|
+
pageSize?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* Load every matching document, up to {@link CUSTOM_VIEW_FETCH_ALL_LIMIT}.
|
|
1015
|
+
* Use it for layouts that need the full set (a map, a seating chart). A
|
|
1016
|
+
* visible notice tells the user when the result was truncated.
|
|
1017
|
+
*/
|
|
1018
|
+
fetchAll?: boolean;
|
|
1019
|
+
}
|
|
1020
|
+
/** Safety cap on documents loaded when `data.fetchAll` is set. */
|
|
1021
|
+
declare const CUSTOM_VIEW_FETCH_ALL_LIMIT = 1000;
|
|
986
1022
|
/**
|
|
987
1023
|
* Complete configuration for a tailored operational view.
|
|
988
1024
|
*/
|
|
989
|
-
type ViewConfig = TableViewConfig | KanbanViewConfig | CalendarViewConfig | GanttViewConfig | CardsViewConfig;
|
|
1025
|
+
type ViewConfig = TableViewConfig | KanbanViewConfig | CalendarViewConfig | GanttViewConfig | CardsViewConfig | CustomViewConfig;
|
|
990
1026
|
/**
|
|
991
1027
|
* Backwards-compatible aliases for builder types.
|
|
992
1028
|
*/
|
|
@@ -996,6 +1032,7 @@ type DefineKanbanViewOptions = KanbanViewConfig;
|
|
|
996
1032
|
type DefineCalendarViewOptions = CalendarViewConfig;
|
|
997
1033
|
type DefineGanttViewOptions = GanttViewConfig;
|
|
998
1034
|
type DefineCardsViewOptions = CardsViewConfig;
|
|
1035
|
+
type DefineCustomViewOptions = CustomViewConfig;
|
|
999
1036
|
type DefineViewOptions = ViewConfig;
|
|
1000
1037
|
/**
|
|
1001
1038
|
* Options for defining a custom workflow action with `defineAction`.
|
|
@@ -1076,6 +1113,7 @@ declare function defineView(config: DefineKanbanViewOptions): DefineKanbanViewOp
|
|
|
1076
1113
|
declare function defineView(config: DefineCalendarViewOptions): DefineCalendarViewOptions;
|
|
1077
1114
|
declare function defineView(config: DefineGanttViewOptions): DefineGanttViewOptions;
|
|
1078
1115
|
declare function defineView(config: DefineCardsViewOptions): DefineCardsViewOptions;
|
|
1116
|
+
declare function defineView(config: DefineCustomViewOptions): DefineCustomViewOptions;
|
|
1079
1117
|
declare function defineView<const T extends DefineViewOptions>(config: T): T;
|
|
1080
1118
|
/** Convenience helper for table views. Enforces no view-specific required fields. */
|
|
1081
1119
|
declare function defineTableView(config: DefineTableViewOptions): DefineTableViewOptions;
|
|
@@ -1085,6 +1123,8 @@ declare function defineKanbanView(config: DefineKanbanViewOptions): DefineKanban
|
|
|
1085
1123
|
declare function defineCalendarView(config: DefineCalendarViewOptions): DefineCalendarViewOptions;
|
|
1086
1124
|
/** Convenience helper for gantt views. Enforces `startDateField` and `endDateField` are provided. */
|
|
1087
1125
|
declare function defineGanttView(config: DefineGanttViewOptions): DefineGanttViewOptions;
|
|
1126
|
+
/** Convenience helper for custom-layout views. Enforces `component` is provided. */
|
|
1127
|
+
declare function defineCustomView(config: DefineCustomViewOptions): DefineCustomViewOptions;
|
|
1088
1128
|
/** Convenience helper for cards views. Optional `groupBy`. */
|
|
1089
1129
|
declare function defineCardsView(config: DefineCardsViewOptions): DefineCardsViewOptions;
|
|
1090
1130
|
/**
|
|
@@ -1104,6 +1144,73 @@ declare function defineCardsView(config: DefineCardsViewOptions): DefineCardsVie
|
|
|
1104
1144
|
*/
|
|
1105
1145
|
declare function defineAction<const T extends DefineActionOptions>(config: T): T;
|
|
1106
1146
|
|
|
1147
|
+
interface PageAction {
|
|
1148
|
+
label: string;
|
|
1149
|
+
icon?: AdminIconName | string;
|
|
1150
|
+
onClick?: () => void;
|
|
1151
|
+
disabled?: boolean;
|
|
1152
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
1153
|
+
}
|
|
1154
|
+
interface PageBreadcrumbItem {
|
|
1155
|
+
label: string;
|
|
1156
|
+
to?: string;
|
|
1157
|
+
}
|
|
1158
|
+
interface PageConfig {
|
|
1159
|
+
/** URL slug → /pages/:slug. Lowercase kebab, unique. Optional if defined on workspace. */
|
|
1160
|
+
slug?: string;
|
|
1161
|
+
/** Label shown in the navigation sidebar and default title. Optional if defined on workspace. */
|
|
1162
|
+
label?: string;
|
|
1163
|
+
/** Lucide icon name for navigation. Optional if defined on workspace. */
|
|
1164
|
+
icon?: AdminIconName | string;
|
|
1165
|
+
/** Key in AdminComponents.pages. */
|
|
1166
|
+
component: string;
|
|
1167
|
+
/** Sidebar group. Same semantics as workspace groups. Omitted → ungrouped. */
|
|
1168
|
+
group?: string | NavGroup;
|
|
1169
|
+
/** Relative position: insert immediately after this collection or nav item slug. */
|
|
1170
|
+
after?: string;
|
|
1171
|
+
/** Relative position: insert immediately before this collection or nav item slug. */
|
|
1172
|
+
before?: string;
|
|
1173
|
+
/** Numeric sort weight within its group (lower numbers first, default 100). */
|
|
1174
|
+
order?: number;
|
|
1175
|
+
/** Fast shortcut to pin item to start or end of its group: 'first' | 'last'. */
|
|
1176
|
+
position?: "first" | "last";
|
|
1177
|
+
/** Live badge in navigation. Reuses NavBadgeConfig. */
|
|
1178
|
+
badge?: NavBadgeConfig | string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Declarative UI gating rule controlling navigation visibility and route access.
|
|
1181
|
+
*
|
|
1182
|
+
* IMPORTANT: This is a best-effort client-side UI gate. Pages calling the SDK
|
|
1183
|
+
* or host API must rely on server-side access control for true security.
|
|
1184
|
+
*/
|
|
1185
|
+
access?: string[] | AccessRule | {
|
|
1186
|
+
read?: AccessRule<any>;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Layout presentation style.
|
|
1190
|
+
* - 'contained' (default): padded, centered with responsive max-width.
|
|
1191
|
+
* - 'full': edge-to-edge layout without horizontal padding.
|
|
1192
|
+
*/
|
|
1193
|
+
layout?: "contained" | "full";
|
|
1194
|
+
/**
|
|
1195
|
+
* Whether to display the admin host header/chrome.
|
|
1196
|
+
* Set to `false` for full custom kiosk interfaces or custom headers.
|
|
1197
|
+
* @default true
|
|
1198
|
+
*/
|
|
1199
|
+
chrome?: boolean;
|
|
1200
|
+
/** Serializable options readable via usePageMeta / props. */
|
|
1201
|
+
options?: Record<string, unknown>;
|
|
1202
|
+
}
|
|
1203
|
+
type DefinePageInput = PageConfig & {
|
|
1204
|
+
slug: string;
|
|
1205
|
+
label: string;
|
|
1206
|
+
component: string;
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Type-safe helper to define a custom admin page in navigation.
|
|
1210
|
+
* Returns a navigation workspace item configured for the page.
|
|
1211
|
+
*/
|
|
1212
|
+
declare function definePage<const T extends DefinePageInput>(config: T): DefineWorkspaceOptions;
|
|
1213
|
+
|
|
1107
1214
|
/**
|
|
1108
1215
|
* Definition of a navigation group in the Dyrected admin sidebar.
|
|
1109
1216
|
*/
|
|
@@ -1171,11 +1278,13 @@ interface DefineWorkspaceOptions {
|
|
|
1171
1278
|
access?: string[] | AccessRule;
|
|
1172
1279
|
/** Custom internal route or external URL. */
|
|
1173
1280
|
href?: string;
|
|
1281
|
+
/** References or defines a custom admin page. Can be a PageConfig or component key. */
|
|
1282
|
+
page?: PageConfig | string;
|
|
1174
1283
|
/** Views belonging to this item. The first view is automatically the default. */
|
|
1175
1284
|
views?: ViewConfig[];
|
|
1176
1285
|
}
|
|
1177
1286
|
/**
|
|
1178
|
-
* Helper to define an operational workspace or customize placement of collections/globals.
|
|
1287
|
+
* Helper to define an operational workspace or customize placement of collections/globals/pages.
|
|
1179
1288
|
*
|
|
1180
1289
|
* @example
|
|
1181
1290
|
* ```ts
|
|
@@ -1196,7 +1305,7 @@ declare function defineWorkspace(options: DefineWorkspaceOptions): DefineWorkspa
|
|
|
1196
1305
|
*/
|
|
1197
1306
|
interface CompiledNavItem {
|
|
1198
1307
|
id: string;
|
|
1199
|
-
type: "workspace" | "collection" | "global" | "dashboard" | "trash" | "link";
|
|
1308
|
+
type: "workspace" | "collection" | "global" | "dashboard" | "trash" | "link" | "page";
|
|
1200
1309
|
slug: string;
|
|
1201
1310
|
label: string;
|
|
1202
1311
|
icon?: string;
|
|
@@ -1207,6 +1316,7 @@ interface CompiledNavItem {
|
|
|
1207
1316
|
order: number;
|
|
1208
1317
|
collection?: string;
|
|
1209
1318
|
global?: string;
|
|
1319
|
+
page?: PageConfig;
|
|
1210
1320
|
views: ViewConfig[];
|
|
1211
1321
|
}
|
|
1212
1322
|
/**
|
|
@@ -1229,7 +1339,7 @@ interface CompiledNavTree {
|
|
|
1229
1339
|
ungrouped: CompiledNavItem[];
|
|
1230
1340
|
}
|
|
1231
1341
|
interface PinnedNavItemRef {
|
|
1232
|
-
type: "workspace" | "collection" | "global" | "trash" | "link" | "dashboard";
|
|
1342
|
+
type: "workspace" | "collection" | "global" | "trash" | "link" | "dashboard" | "page";
|
|
1233
1343
|
slug: string;
|
|
1234
1344
|
view?: string;
|
|
1235
1345
|
label?: string;
|
|
@@ -1293,6 +1403,8 @@ interface AdminConfig {
|
|
|
1293
1403
|
* If omitted, all collections and globals appear in default sections.
|
|
1294
1404
|
*/
|
|
1295
1405
|
navigation?: DefineWorkspaceOptions[];
|
|
1406
|
+
/** Optional custom landing page slug replacing the dashboard as the root view. */
|
|
1407
|
+
homePage?: string;
|
|
1296
1408
|
/** Custom component slots around the built-in dashboard. */
|
|
1297
1409
|
components?: AdminDashboardComponentSlots;
|
|
1298
1410
|
branding?: {
|
|
@@ -2612,7 +2724,9 @@ interface CollectionConfig<TDoc extends object = Record<string, unknown>> {
|
|
|
2612
2724
|
description?: string;
|
|
2613
2725
|
/**
|
|
2614
2726
|
* Field names included in backend free-text search for this collection.
|
|
2615
|
-
* When omitted, Dyrected
|
|
2727
|
+
* When omitted, Dyrected searches `useAsTitle` plus every visible `text`, `textarea`,
|
|
2728
|
+
* `richText`, `email` and `url` field (up to eight), chosen by field type, not name.
|
|
2729
|
+
* Relationship fields are searched only when listed here. Matching is case-insensitive.
|
|
2616
2730
|
*/
|
|
2617
2731
|
searchableFields?: string[];
|
|
2618
2732
|
/**
|
|
@@ -4550,4 +4664,4 @@ interface DyrectedContext {
|
|
|
4550
4664
|
*/
|
|
4551
4665
|
declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
|
|
4552
4666
|
|
|
4553
|
-
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
|
|
4667
|
+
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 OIDCAdminAuthProvider as c$, type DistinctValuesOperation as c0, type DynamicOptionItem as c1, type DynamicOptionsConfig as c2, type DynamicOptionsResolver as c3, type DynamicOptionsResolverArgs as c4, type DyrectedAIContext as c5, type DyrectedLoggerConfig as c6, type DyrectedObservabilityConfig as c7, type EmailFieldAdmin as c8, type EmailTemplateArgs as c9, type GlobalSummaryResult as cA, type HeadingLevel as cB, type HookFunction as cC, type IconFieldAdmin as cD, type ImageService as cE, type ImageTransformOptions as cF, type InferAggregateResult as cG, type JoinFieldAdmin as cH, type JsonFieldAdmin as cI, type JsonFormat as cJ, type KanbanViewConfig as cK, LIFECYCLE_EVENT_NAMES as cL, type LifecycleEventHandler as cM, type LinkFormat as cN, type MetricColor as cO, type MoneyFieldAdmin as cP, type MoneyFieldConfig as cQ, type MultiSelectFieldAdmin as cR, type NamedAccessPolicy as cS, type NavBadgeConfig as cT, type NavGroup as cU, type NumberFieldAdmin as cV, type NumberFormat as cW, type NumberLimitFieldAdmin as cX, type NumberLimitFieldConfig as cY, type NumericOperation as cZ, type NumericUpdateOperator as c_, type EmailTemplateResult as ca, type FieldAdminHooks as cb, type FieldAdminOnChangeHook as cc, type FieldAdminOnChangeHookArgs as cd, type FieldAdminOptionsHook as ce, type FieldAdminOptionsHookArgs as cf, type FieldAdminOptionsHookResult as cg, type FieldAfterReadHook as ch, type FieldAfterReadHookArgs as ci, type FieldBase as cj, type FieldBeforeChangeHook as ck, type FieldBeforeChangeHookArgs as cl, type FieldHook as cm, type FieldHooks as cn, type FileData as co, type GanttViewConfig as cp, type GetDocumentResult as cq, type GlobalAfterChangeHook as cr, type GlobalAfterReadHook as cs, type GlobalAfterReadHookEntry as ct, type GlobalBeforeChangeHook as cu, type GlobalBeforeChangeHookEntry as cv, type GlobalBeforeReadHook as cw, type GlobalBeforeReadHookEntry as cx, type GlobalRAGConfig as cy, type GlobalSchemaResult as cz, type LifecycleEvent as d, isAICollection as d$, type OptionFormat as d0, type OutboundEmail as d1, type PageAction as d2, type PageBreadcrumbItem as d3, type PageConfig as d4, type PaginatedResult as d5, type PinnedNavItemRef as d6, type PublicAdminAuthProvider as d7, type QueryCollectionResult as d8, type RAGSearchResult as d9, type ViewMetric as dA, type ViewMetricGroupBy as dB, type ViewMetricGroupByConfig as dC, type ViewMetricTrendConfig as dD, type ViewSubMetric as dE, type WhereClause as dF, type WhereOperator as dG, type WhereOperatorName as dH, type WordLimitFieldAdmin as dI, type WordLimitFieldConfig as dJ, type WorkflowMetadata as dK, type WorkflowOnTransitionContext as dL, type WorkflowOnTransitionHook as dM, type WorkflowRole as dN, type WorkflowState as dO, type WorkflowTransitionContext as dP, coerceBooleanWhere as dQ, defineAction as dR, defineCalendarView as dS, defineCardsView as dT, defineCustomView as dU, defineGanttView as dV, defineKanbanView as dW, definePage as dX, defineTableView as dY, defineView as dZ, defineWorkspace as d_, type RadioFieldAdmin as da, type RateLimitConfig as db, type ReadonlyDatabaseAdapter as dc, type RichTextFeature as dd, type RichTextFieldConfig as de, type SelectFieldAdmin as df, type SqlWhereResult as dg, type StorageAdapter as dh, type TableViewConfig as di, type TaskContext as dj, type TaskLogger as dk, type TaskRunStatus as dl, type TextFieldAdmin as dm, type TextFormat as dn, type TextareaFieldAdmin as dp, type TrashConfig as dq, type TrustProxyConfig as dr, type TypedField as ds, type UploadConfig as dt, type UrlFieldAdmin as du, type UrlLinkValue as dv, type ViewActionFeatures as dw, type ViewComponentSlots as dx, type ViewConfigBase as dy, type ViewLayout as dz, type DatabaseAdapter as e, parseMongoWhere as e0, parseSqlWhere as e1, type CollectionTokenPayload as e2, DEFAULT_INVITE_EXPIRY as e3, DEFAULT_RESET_PASSWORD_EXPIRY as e4, DEFAULT_SESSION_EXPIRY as e5, type DyrectedObservabilityRuntime as e6, type RequestBodyCapture as e7, type RequestTraceContext as e8, type ResolvedObservabilityConfig as e9, attachRequestMetrics as ea, bindObservabilityRuntime as eb, buildRequestLogger as ec, captureRequestBody as ed, createDyrectedApp as ee, createObservabilityRuntime as ef, createRequestSpan as eg, decodeCollectionToken as eh, endRequestSpan as ei, getConfigLogger as ej, getObservabilityRuntime as ek, getRequestLogger as el, redactBody as em, redactHeaders as en, renderPrometheusMetrics as eo, resolveInviteTokenExpiry as ep, resolveObservabilityConfig as eq, resolveResetPasswordTokenExpiry as er, resolveSessionTokenExpiry as es, shouldSampleRequest as et, signCollectionToken as eu, verifyCollectionToken as ev, 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 };
|
|
@@ -661,8 +661,9 @@ type ViewComponentSlots = CollectionViewComponentSlots;
|
|
|
661
661
|
* - `'calendar'`: Event schedule grid plotting records across month/week/day views by date.
|
|
662
662
|
* - `'gantt'`: Timeline bars plotted across start and end dates.
|
|
663
663
|
* - `'cards'`: Visual image/thumbnail gallery grid.
|
|
664
|
+
* - `'custom'`: A host-supplied component registered under `AdminComponents.viewLayouts`.
|
|
664
665
|
*/
|
|
665
|
-
type ViewLayout = 'table' | 'spreadsheet' | 'kanban' | 'calendar' | 'gantt' | 'cards';
|
|
666
|
+
type ViewLayout = 'table' | 'spreadsheet' | 'kanban' | 'calendar' | 'gantt' | 'cards' | 'custom';
|
|
666
667
|
/**
|
|
667
668
|
* Scope and placement for an operational view action:
|
|
668
669
|
* - `'row'`: Renders as an inline action button on each document/row.
|
|
@@ -725,6 +726,8 @@ interface ViewMetricGroupByConfig {
|
|
|
725
726
|
where?: Record<string, unknown>;
|
|
726
727
|
/** Time interval bucket when grouping by a date or datetime field: `'day' | 'week' | 'month' | 'quarter' | 'year'`. */
|
|
727
728
|
bucket?: 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
729
|
+
/** When true (or by default for dynamic groupBy), omits groups with zero or null aggregate values from the breakdown. Set to `false` to retain zero-count groups. */
|
|
730
|
+
filterZero?: boolean;
|
|
728
731
|
}
|
|
729
732
|
type ViewMetricGroupBy = string | ViewMetricGroupByConfig;
|
|
730
733
|
/**
|
|
@@ -983,10 +986,43 @@ interface CardsViewConfig extends ViewConfigBase {
|
|
|
983
986
|
/** Field name used to organize records into groups. */
|
|
984
987
|
groupBy?: string;
|
|
985
988
|
}
|
|
989
|
+
/**
|
|
990
|
+
* Custom view — the host app supplies the component that renders documents.
|
|
991
|
+
*
|
|
992
|
+
* Dyrected keeps owning the header, KPI metrics, search, pagination, selection,
|
|
993
|
+
* bulk actions and action execution. The component only renders documents and
|
|
994
|
+
* reads everything else through `useCollectionView()` / `useViewActions()`.
|
|
995
|
+
*/
|
|
996
|
+
interface CustomViewConfig extends ViewConfigBase {
|
|
997
|
+
layout: 'custom';
|
|
998
|
+
/** Key in `AdminComponents.viewLayouts`, for example `"guests.seatingChart"`. */
|
|
999
|
+
component: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Serializable options handed to the component through
|
|
1002
|
+
* `useCollectionView().config.options`. Never put functions here: the config
|
|
1003
|
+
* travels to the admin as JSON.
|
|
1004
|
+
*/
|
|
1005
|
+
options?: Record<string, unknown>;
|
|
1006
|
+
/** How the host loads documents for this layout. Defaults to `{ pageSize: 50 }`. */
|
|
1007
|
+
data?: CustomViewDataConfig;
|
|
1008
|
+
}
|
|
1009
|
+
/** Document loading strategy for a custom view. */
|
|
1010
|
+
interface CustomViewDataConfig {
|
|
1011
|
+
/** Documents per page. Defaults to 50, and is capped at 100 by the API. */
|
|
1012
|
+
pageSize?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* Load every matching document, up to {@link CUSTOM_VIEW_FETCH_ALL_LIMIT}.
|
|
1015
|
+
* Use it for layouts that need the full set (a map, a seating chart). A
|
|
1016
|
+
* visible notice tells the user when the result was truncated.
|
|
1017
|
+
*/
|
|
1018
|
+
fetchAll?: boolean;
|
|
1019
|
+
}
|
|
1020
|
+
/** Safety cap on documents loaded when `data.fetchAll` is set. */
|
|
1021
|
+
declare const CUSTOM_VIEW_FETCH_ALL_LIMIT = 1000;
|
|
986
1022
|
/**
|
|
987
1023
|
* Complete configuration for a tailored operational view.
|
|
988
1024
|
*/
|
|
989
|
-
type ViewConfig = TableViewConfig | KanbanViewConfig | CalendarViewConfig | GanttViewConfig | CardsViewConfig;
|
|
1025
|
+
type ViewConfig = TableViewConfig | KanbanViewConfig | CalendarViewConfig | GanttViewConfig | CardsViewConfig | CustomViewConfig;
|
|
990
1026
|
/**
|
|
991
1027
|
* Backwards-compatible aliases for builder types.
|
|
992
1028
|
*/
|
|
@@ -996,6 +1032,7 @@ type DefineKanbanViewOptions = KanbanViewConfig;
|
|
|
996
1032
|
type DefineCalendarViewOptions = CalendarViewConfig;
|
|
997
1033
|
type DefineGanttViewOptions = GanttViewConfig;
|
|
998
1034
|
type DefineCardsViewOptions = CardsViewConfig;
|
|
1035
|
+
type DefineCustomViewOptions = CustomViewConfig;
|
|
999
1036
|
type DefineViewOptions = ViewConfig;
|
|
1000
1037
|
/**
|
|
1001
1038
|
* Options for defining a custom workflow action with `defineAction`.
|
|
@@ -1076,6 +1113,7 @@ declare function defineView(config: DefineKanbanViewOptions): DefineKanbanViewOp
|
|
|
1076
1113
|
declare function defineView(config: DefineCalendarViewOptions): DefineCalendarViewOptions;
|
|
1077
1114
|
declare function defineView(config: DefineGanttViewOptions): DefineGanttViewOptions;
|
|
1078
1115
|
declare function defineView(config: DefineCardsViewOptions): DefineCardsViewOptions;
|
|
1116
|
+
declare function defineView(config: DefineCustomViewOptions): DefineCustomViewOptions;
|
|
1079
1117
|
declare function defineView<const T extends DefineViewOptions>(config: T): T;
|
|
1080
1118
|
/** Convenience helper for table views. Enforces no view-specific required fields. */
|
|
1081
1119
|
declare function defineTableView(config: DefineTableViewOptions): DefineTableViewOptions;
|
|
@@ -1085,6 +1123,8 @@ declare function defineKanbanView(config: DefineKanbanViewOptions): DefineKanban
|
|
|
1085
1123
|
declare function defineCalendarView(config: DefineCalendarViewOptions): DefineCalendarViewOptions;
|
|
1086
1124
|
/** Convenience helper for gantt views. Enforces `startDateField` and `endDateField` are provided. */
|
|
1087
1125
|
declare function defineGanttView(config: DefineGanttViewOptions): DefineGanttViewOptions;
|
|
1126
|
+
/** Convenience helper for custom-layout views. Enforces `component` is provided. */
|
|
1127
|
+
declare function defineCustomView(config: DefineCustomViewOptions): DefineCustomViewOptions;
|
|
1088
1128
|
/** Convenience helper for cards views. Optional `groupBy`. */
|
|
1089
1129
|
declare function defineCardsView(config: DefineCardsViewOptions): DefineCardsViewOptions;
|
|
1090
1130
|
/**
|
|
@@ -1104,6 +1144,73 @@ declare function defineCardsView(config: DefineCardsViewOptions): DefineCardsVie
|
|
|
1104
1144
|
*/
|
|
1105
1145
|
declare function defineAction<const T extends DefineActionOptions>(config: T): T;
|
|
1106
1146
|
|
|
1147
|
+
interface PageAction {
|
|
1148
|
+
label: string;
|
|
1149
|
+
icon?: AdminIconName | string;
|
|
1150
|
+
onClick?: () => void;
|
|
1151
|
+
disabled?: boolean;
|
|
1152
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
1153
|
+
}
|
|
1154
|
+
interface PageBreadcrumbItem {
|
|
1155
|
+
label: string;
|
|
1156
|
+
to?: string;
|
|
1157
|
+
}
|
|
1158
|
+
interface PageConfig {
|
|
1159
|
+
/** URL slug → /pages/:slug. Lowercase kebab, unique. Optional if defined on workspace. */
|
|
1160
|
+
slug?: string;
|
|
1161
|
+
/** Label shown in the navigation sidebar and default title. Optional if defined on workspace. */
|
|
1162
|
+
label?: string;
|
|
1163
|
+
/** Lucide icon name for navigation. Optional if defined on workspace. */
|
|
1164
|
+
icon?: AdminIconName | string;
|
|
1165
|
+
/** Key in AdminComponents.pages. */
|
|
1166
|
+
component: string;
|
|
1167
|
+
/** Sidebar group. Same semantics as workspace groups. Omitted → ungrouped. */
|
|
1168
|
+
group?: string | NavGroup;
|
|
1169
|
+
/** Relative position: insert immediately after this collection or nav item slug. */
|
|
1170
|
+
after?: string;
|
|
1171
|
+
/** Relative position: insert immediately before this collection or nav item slug. */
|
|
1172
|
+
before?: string;
|
|
1173
|
+
/** Numeric sort weight within its group (lower numbers first, default 100). */
|
|
1174
|
+
order?: number;
|
|
1175
|
+
/** Fast shortcut to pin item to start or end of its group: 'first' | 'last'. */
|
|
1176
|
+
position?: "first" | "last";
|
|
1177
|
+
/** Live badge in navigation. Reuses NavBadgeConfig. */
|
|
1178
|
+
badge?: NavBadgeConfig | string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Declarative UI gating rule controlling navigation visibility and route access.
|
|
1181
|
+
*
|
|
1182
|
+
* IMPORTANT: This is a best-effort client-side UI gate. Pages calling the SDK
|
|
1183
|
+
* or host API must rely on server-side access control for true security.
|
|
1184
|
+
*/
|
|
1185
|
+
access?: string[] | AccessRule | {
|
|
1186
|
+
read?: AccessRule<any>;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Layout presentation style.
|
|
1190
|
+
* - 'contained' (default): padded, centered with responsive max-width.
|
|
1191
|
+
* - 'full': edge-to-edge layout without horizontal padding.
|
|
1192
|
+
*/
|
|
1193
|
+
layout?: "contained" | "full";
|
|
1194
|
+
/**
|
|
1195
|
+
* Whether to display the admin host header/chrome.
|
|
1196
|
+
* Set to `false` for full custom kiosk interfaces or custom headers.
|
|
1197
|
+
* @default true
|
|
1198
|
+
*/
|
|
1199
|
+
chrome?: boolean;
|
|
1200
|
+
/** Serializable options readable via usePageMeta / props. */
|
|
1201
|
+
options?: Record<string, unknown>;
|
|
1202
|
+
}
|
|
1203
|
+
type DefinePageInput = PageConfig & {
|
|
1204
|
+
slug: string;
|
|
1205
|
+
label: string;
|
|
1206
|
+
component: string;
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Type-safe helper to define a custom admin page in navigation.
|
|
1210
|
+
* Returns a navigation workspace item configured for the page.
|
|
1211
|
+
*/
|
|
1212
|
+
declare function definePage<const T extends DefinePageInput>(config: T): DefineWorkspaceOptions;
|
|
1213
|
+
|
|
1107
1214
|
/**
|
|
1108
1215
|
* Definition of a navigation group in the Dyrected admin sidebar.
|
|
1109
1216
|
*/
|
|
@@ -1171,11 +1278,13 @@ interface DefineWorkspaceOptions {
|
|
|
1171
1278
|
access?: string[] | AccessRule;
|
|
1172
1279
|
/** Custom internal route or external URL. */
|
|
1173
1280
|
href?: string;
|
|
1281
|
+
/** References or defines a custom admin page. Can be a PageConfig or component key. */
|
|
1282
|
+
page?: PageConfig | string;
|
|
1174
1283
|
/** Views belonging to this item. The first view is automatically the default. */
|
|
1175
1284
|
views?: ViewConfig[];
|
|
1176
1285
|
}
|
|
1177
1286
|
/**
|
|
1178
|
-
* Helper to define an operational workspace or customize placement of collections/globals.
|
|
1287
|
+
* Helper to define an operational workspace or customize placement of collections/globals/pages.
|
|
1179
1288
|
*
|
|
1180
1289
|
* @example
|
|
1181
1290
|
* ```ts
|
|
@@ -1196,7 +1305,7 @@ declare function defineWorkspace(options: DefineWorkspaceOptions): DefineWorkspa
|
|
|
1196
1305
|
*/
|
|
1197
1306
|
interface CompiledNavItem {
|
|
1198
1307
|
id: string;
|
|
1199
|
-
type: "workspace" | "collection" | "global" | "dashboard" | "trash" | "link";
|
|
1308
|
+
type: "workspace" | "collection" | "global" | "dashboard" | "trash" | "link" | "page";
|
|
1200
1309
|
slug: string;
|
|
1201
1310
|
label: string;
|
|
1202
1311
|
icon?: string;
|
|
@@ -1207,6 +1316,7 @@ interface CompiledNavItem {
|
|
|
1207
1316
|
order: number;
|
|
1208
1317
|
collection?: string;
|
|
1209
1318
|
global?: string;
|
|
1319
|
+
page?: PageConfig;
|
|
1210
1320
|
views: ViewConfig[];
|
|
1211
1321
|
}
|
|
1212
1322
|
/**
|
|
@@ -1229,7 +1339,7 @@ interface CompiledNavTree {
|
|
|
1229
1339
|
ungrouped: CompiledNavItem[];
|
|
1230
1340
|
}
|
|
1231
1341
|
interface PinnedNavItemRef {
|
|
1232
|
-
type: "workspace" | "collection" | "global" | "trash" | "link" | "dashboard";
|
|
1342
|
+
type: "workspace" | "collection" | "global" | "trash" | "link" | "dashboard" | "page";
|
|
1233
1343
|
slug: string;
|
|
1234
1344
|
view?: string;
|
|
1235
1345
|
label?: string;
|
|
@@ -1293,6 +1403,8 @@ interface AdminConfig {
|
|
|
1293
1403
|
* If omitted, all collections and globals appear in default sections.
|
|
1294
1404
|
*/
|
|
1295
1405
|
navigation?: DefineWorkspaceOptions[];
|
|
1406
|
+
/** Optional custom landing page slug replacing the dashboard as the root view. */
|
|
1407
|
+
homePage?: string;
|
|
1296
1408
|
/** Custom component slots around the built-in dashboard. */
|
|
1297
1409
|
components?: AdminDashboardComponentSlots;
|
|
1298
1410
|
branding?: {
|
|
@@ -2612,7 +2724,9 @@ interface CollectionConfig<TDoc extends object = Record<string, unknown>> {
|
|
|
2612
2724
|
description?: string;
|
|
2613
2725
|
/**
|
|
2614
2726
|
* Field names included in backend free-text search for this collection.
|
|
2615
|
-
* When omitted, Dyrected
|
|
2727
|
+
* When omitted, Dyrected searches `useAsTitle` plus every visible `text`, `textarea`,
|
|
2728
|
+
* `richText`, `email` and `url` field (up to eight), chosen by field type, not name.
|
|
2729
|
+
* Relationship fields are searched only when listed here. Matching is case-insensitive.
|
|
2616
2730
|
*/
|
|
2617
2731
|
searchableFields?: string[];
|
|
2618
2732
|
/**
|
|
@@ -4550,4 +4664,4 @@ interface DyrectedContext {
|
|
|
4550
4664
|
*/
|
|
4551
4665
|
declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
|
|
4552
4666
|
|
|
4553
|
-
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
|
|
4667
|
+
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 OIDCAdminAuthProvider as c$, type DistinctValuesOperation as c0, type DynamicOptionItem as c1, type DynamicOptionsConfig as c2, type DynamicOptionsResolver as c3, type DynamicOptionsResolverArgs as c4, type DyrectedAIContext as c5, type DyrectedLoggerConfig as c6, type DyrectedObservabilityConfig as c7, type EmailFieldAdmin as c8, type EmailTemplateArgs as c9, type GlobalSummaryResult as cA, type HeadingLevel as cB, type HookFunction as cC, type IconFieldAdmin as cD, type ImageService as cE, type ImageTransformOptions as cF, type InferAggregateResult as cG, type JoinFieldAdmin as cH, type JsonFieldAdmin as cI, type JsonFormat as cJ, type KanbanViewConfig as cK, LIFECYCLE_EVENT_NAMES as cL, type LifecycleEventHandler as cM, type LinkFormat as cN, type MetricColor as cO, type MoneyFieldAdmin as cP, type MoneyFieldConfig as cQ, type MultiSelectFieldAdmin as cR, type NamedAccessPolicy as cS, type NavBadgeConfig as cT, type NavGroup as cU, type NumberFieldAdmin as cV, type NumberFormat as cW, type NumberLimitFieldAdmin as cX, type NumberLimitFieldConfig as cY, type NumericOperation as cZ, type NumericUpdateOperator as c_, type EmailTemplateResult as ca, type FieldAdminHooks as cb, type FieldAdminOnChangeHook as cc, type FieldAdminOnChangeHookArgs as cd, type FieldAdminOptionsHook as ce, type FieldAdminOptionsHookArgs as cf, type FieldAdminOptionsHookResult as cg, type FieldAfterReadHook as ch, type FieldAfterReadHookArgs as ci, type FieldBase as cj, type FieldBeforeChangeHook as ck, type FieldBeforeChangeHookArgs as cl, type FieldHook as cm, type FieldHooks as cn, type FileData as co, type GanttViewConfig as cp, type GetDocumentResult as cq, type GlobalAfterChangeHook as cr, type GlobalAfterReadHook as cs, type GlobalAfterReadHookEntry as ct, type GlobalBeforeChangeHook as cu, type GlobalBeforeChangeHookEntry as cv, type GlobalBeforeReadHook as cw, type GlobalBeforeReadHookEntry as cx, type GlobalRAGConfig as cy, type GlobalSchemaResult as cz, type LifecycleEvent as d, isAICollection as d$, type OptionFormat as d0, type OutboundEmail as d1, type PageAction as d2, type PageBreadcrumbItem as d3, type PageConfig as d4, type PaginatedResult as d5, type PinnedNavItemRef as d6, type PublicAdminAuthProvider as d7, type QueryCollectionResult as d8, type RAGSearchResult as d9, type ViewMetric as dA, type ViewMetricGroupBy as dB, type ViewMetricGroupByConfig as dC, type ViewMetricTrendConfig as dD, type ViewSubMetric as dE, type WhereClause as dF, type WhereOperator as dG, type WhereOperatorName as dH, type WordLimitFieldAdmin as dI, type WordLimitFieldConfig as dJ, type WorkflowMetadata as dK, type WorkflowOnTransitionContext as dL, type WorkflowOnTransitionHook as dM, type WorkflowRole as dN, type WorkflowState as dO, type WorkflowTransitionContext as dP, coerceBooleanWhere as dQ, defineAction as dR, defineCalendarView as dS, defineCardsView as dT, defineCustomView as dU, defineGanttView as dV, defineKanbanView as dW, definePage as dX, defineTableView as dY, defineView as dZ, defineWorkspace as d_, type RadioFieldAdmin as da, type RateLimitConfig as db, type ReadonlyDatabaseAdapter as dc, type RichTextFeature as dd, type RichTextFieldConfig as de, type SelectFieldAdmin as df, type SqlWhereResult as dg, type StorageAdapter as dh, type TableViewConfig as di, type TaskContext as dj, type TaskLogger as dk, type TaskRunStatus as dl, type TextFieldAdmin as dm, type TextFormat as dn, type TextareaFieldAdmin as dp, type TrashConfig as dq, type TrustProxyConfig as dr, type TypedField as ds, type UploadConfig as dt, type UrlFieldAdmin as du, type UrlLinkValue as dv, type ViewActionFeatures as dw, type ViewComponentSlots as dx, type ViewConfigBase as dy, type ViewLayout as dz, type DatabaseAdapter as e, parseMongoWhere as e0, parseSqlWhere as e1, type CollectionTokenPayload as e2, DEFAULT_INVITE_EXPIRY as e3, DEFAULT_RESET_PASSWORD_EXPIRY as e4, DEFAULT_SESSION_EXPIRY as e5, type DyrectedObservabilityRuntime as e6, type RequestBodyCapture as e7, type RequestTraceContext as e8, type ResolvedObservabilityConfig as e9, attachRequestMetrics as ea, bindObservabilityRuntime as eb, buildRequestLogger as ec, captureRequestBody as ed, createDyrectedApp as ee, createObservabilityRuntime as ef, createRequestSpan as eg, decodeCollectionToken as eh, endRequestSpan as ei, getConfigLogger as ej, getObservabilityRuntime as ek, getRequestLogger as el, redactBody as em, redactHeaders as en, renderPrometheusMetrics as eo, resolveInviteTokenExpiry as ep, resolveObservabilityConfig as eq, resolveResetPasswordTokenExpiry as er, resolveSessionTokenExpiry as es, shouldSampleRequest as et, signCollectionToken as eu, verifyCollectionToken as ev, 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 };
|