@dyrected/core 2.22.0 → 2.24.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-BpQPL2hY.d.cts} +155 -8
- package/dist/{app-BBHBP-6V.d.ts → app-BpQPL2hY.d.ts} +155 -8
- package/dist/index.cjs +286 -9
- package/dist/index.d.cts +46 -6
- package/dist/index.d.ts +46 -6
- package/dist/index.js +280 -9
- package/dist/server.cjs +397 -93
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +397 -93
- 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;
|
|
@@ -1261,8 +1371,39 @@ interface CollectionViewComponentSlots {
|
|
|
1261
1371
|
beforeViewContent?: string[];
|
|
1262
1372
|
afterViewContent?: string[];
|
|
1263
1373
|
}
|
|
1374
|
+
/**
|
|
1375
|
+
* How much of the default edit screen's chrome surrounds a custom form.
|
|
1376
|
+
*
|
|
1377
|
+
* - `full` (default): header, status badge, default save bar, and the unsaved-changes guard.
|
|
1378
|
+
* - `header`: header and the unsaved-changes guard. The form supplies its own actions.
|
|
1379
|
+
* - `none`: nothing. The form owns the whole screen.
|
|
1380
|
+
*/
|
|
1381
|
+
type FormShell = "full" | "header" | "none";
|
|
1382
|
+
/** The values `formShell` accepts. */
|
|
1383
|
+
declare const FORM_SHELLS: readonly FormShell[];
|
|
1384
|
+
/**
|
|
1385
|
+
* Registry keys of custom components that replace the body of a create or edit screen.
|
|
1386
|
+
* Each key is resolved against `components.forms` in the host's admin registration.
|
|
1387
|
+
*/
|
|
1388
|
+
interface DocumentFormComponentSlots {
|
|
1389
|
+
/** Used when creating a record. Falls back to `form`, then the built-in form. */
|
|
1390
|
+
createForm?: string;
|
|
1391
|
+
/** Used when editing a record. Falls back to `form`, then the built-in form. */
|
|
1392
|
+
editForm?: string;
|
|
1393
|
+
/** Fallback for both create and edit. */
|
|
1394
|
+
form?: string;
|
|
1395
|
+
/** How much default chrome surrounds the custom form. Defaults to `full`. */
|
|
1396
|
+
formShell?: FormShell;
|
|
1397
|
+
}
|
|
1398
|
+
/** Component keys a global can replace. A global is always edited, never created. */
|
|
1399
|
+
type GlobalFormComponentSlots = Pick<DocumentFormComponentSlots, "editForm" | "form" | "formShell">;
|
|
1264
1400
|
/** Ordered custom component keys rendered around a collection's list content. */
|
|
1265
|
-
interface CollectionListComponentSlots {
|
|
1401
|
+
interface CollectionListComponentSlots extends DocumentFormComponentSlots {
|
|
1402
|
+
/**
|
|
1403
|
+
* Set to `false` to keep the built-in form when this collection is created or edited
|
|
1404
|
+
* in a drawer (inline relationship creation), even if `createForm` is set.
|
|
1405
|
+
*/
|
|
1406
|
+
formInDrawer?: boolean;
|
|
1266
1407
|
beforeList?: string[];
|
|
1267
1408
|
beforeListTable?: string[];
|
|
1268
1409
|
afterListTable?: string[];
|
|
@@ -1293,6 +1434,8 @@ interface AdminConfig {
|
|
|
1293
1434
|
* If omitted, all collections and globals appear in default sections.
|
|
1294
1435
|
*/
|
|
1295
1436
|
navigation?: DefineWorkspaceOptions[];
|
|
1437
|
+
/** Optional custom landing page slug replacing the dashboard as the root view. */
|
|
1438
|
+
homePage?: string;
|
|
1296
1439
|
/** Custom component slots around the built-in dashboard. */
|
|
1297
1440
|
components?: AdminDashboardComponentSlots;
|
|
1298
1441
|
branding?: {
|
|
@@ -2612,7 +2755,9 @@ interface CollectionConfig<TDoc extends object = Record<string, unknown>> {
|
|
|
2612
2755
|
description?: string;
|
|
2613
2756
|
/**
|
|
2614
2757
|
* Field names included in backend free-text search for this collection.
|
|
2615
|
-
* When omitted, Dyrected
|
|
2758
|
+
* When omitted, Dyrected searches `useAsTitle` plus every visible `text`, `textarea`,
|
|
2759
|
+
* `richText`, `email` and `url` field (up to eight), chosen by field type, not name.
|
|
2760
|
+
* Relationship fields are searched only when listed here. Matching is case-insensitive.
|
|
2616
2761
|
*/
|
|
2617
2762
|
searchableFields?: string[];
|
|
2618
2763
|
/**
|
|
@@ -2893,6 +3038,8 @@ interface GlobalConfig<TDoc extends object = Record<string, unknown>> {
|
|
|
2893
3038
|
order?: number;
|
|
2894
3039
|
/** If `true`, this global is not shown in the Admin UI sidebar. */
|
|
2895
3040
|
hidden?: boolean;
|
|
3041
|
+
/** Custom components that replace this global's edit form. */
|
|
3042
|
+
components?: GlobalFormComponentSlots;
|
|
2896
3043
|
};
|
|
2897
3044
|
/**
|
|
2898
3045
|
* Optional custom AI assistant instructions for this global singleton.
|
|
@@ -4550,4 +4697,4 @@ interface DyrectedContext {
|
|
|
4550
4697
|
*/
|
|
4551
4698
|
declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
|
|
4552
4699
|
|
|
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 DynamicOptionsResolverArgs 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 CollectionRAGConfig as bA, type CollectionSchemaResult as bB, type CollectionSummaryResult as bC, type CollectionViewComponentSlots as bD, type CompiledNavGroup as bE, type CountOperation as bF, type CustomAdminAuthProvider as bG, DEFAULT_USER_NAV_PREFERENCES as bH, type DateFieldAdmin as bI, type DateFormat as bJ, type DefaultValueContext as bK, type DefineActionOptions as bL, type DefineCalendarViewOptions as bM, type DefineCardsViewOptions as bN, type DefineGanttViewOptions as bO, type DefineKanbanViewOptions as bP, type DefineTableViewOptions as bQ, type DefineViewBaseOptions as bR, type DefineViewOptions as bS, type DetailSpan as bT, type DisplayTone as bU, type DisplayVariant as bV, type DistinctCountOperation as bW, type DistinctValuesOperation as bX, type DynamicOptionItem as bY, type DynamicOptionsConfig as bZ, type DynamicOptionsResolver as b_, type BooleanFieldAdmin as ba, type BooleanFormat as bb, CURRENT_NAV_PREFERENCES_VERSION as bc, type CalendarViewConfig as bd, type CardsViewConfig as be, type CharacterLimitFieldAdmin as bf, type CharacterLimitFieldConfig as bg, type CollectionAfterChangeHook as bh, type CollectionAfterDeleteHook as bi, type CollectionAfterReadHook as bj, type CollectionAfterReadHookEntry as bk, type CollectionAfterRestoreHook as bl, type CollectionAfterTransitionHook as bm, type CollectionAfterTrashHook as bn, type CollectionBeforeChangeHook as bo, type CollectionBeforeChangeHookEntry as bp, type CollectionBeforeCommitHook as bq, type CollectionBeforeDeleteHook as br, type CollectionBeforeReadHook as bs, type CollectionBeforeReadHookEntry as bt, type CollectionBeforeRestoreHook as bu, type CollectionBeforeTransitionHook as bv, type CollectionBeforeTrashHook as bw, type CollectionEmailConfig as bx, type CollectionIndex as by, type CollectionListComponentSlots as bz, type WorkflowTransition as c, type PublicAdminAuthProvider as c$, type DyrectedAIContext as c0, type DyrectedLoggerConfig as c1, type DyrectedObservabilityConfig as c2, type EmailFieldAdmin as c3, type EmailTemplateArgs as c4, type EmailTemplateResult as c5, type FieldAdminHooks as c6, type FieldAdminOnChangeHook as c7, type FieldAdminOnChangeHookArgs as c8, type FieldAdminOptionsHook as c9, type ImageTransformOptions as cA, type InferAggregateResult as cB, type JoinFieldAdmin as cC, type JsonFieldAdmin as cD, type JsonFormat as cE, type KanbanViewConfig as cF, LIFECYCLE_EVENT_NAMES as cG, type LifecycleEventHandler as cH, type LinkFormat as cI, type MetricColor as cJ, type MoneyFieldAdmin as cK, type MoneyFieldConfig as cL, type MultiSelectFieldAdmin as cM, type NamedAccessPolicy as cN, type NavBadgeConfig as cO, type NavGroup as cP, type NumberFieldAdmin as cQ, type NumberFormat as cR, type NumberLimitFieldAdmin as cS, type NumberLimitFieldConfig as cT, type NumericOperation as cU, type NumericUpdateOperator as cV, type OIDCAdminAuthProvider as cW, type OptionFormat as cX, type OutboundEmail as cY, type PaginatedResult as cZ, type PinnedNavItemRef as c_, type FieldAdminOptionsHookArgs as ca, type FieldAdminOptionsHookResult as cb, type FieldAfterReadHook as cc, type FieldAfterReadHookArgs as cd, type FieldBase as ce, type FieldBeforeChangeHook as cf, type FieldBeforeChangeHookArgs as cg, type FieldHook as ch, type FieldHooks as ci, type FileData as cj, type GanttViewConfig as ck, type GetDocumentResult as cl, type GlobalAfterChangeHook as cm, type GlobalAfterReadHook as cn, type GlobalAfterReadHookEntry as co, type GlobalBeforeChangeHook as cp, type GlobalBeforeChangeHookEntry as cq, type GlobalBeforeReadHook as cr, type GlobalBeforeReadHookEntry as cs, type GlobalRAGConfig as ct, type GlobalSchemaResult as cu, type GlobalSummaryResult as cv, type HeadingLevel as cw, type HookFunction as cx, type IconFieldAdmin as cy, type ImageService as cz, type LifecycleEvent as d, type ResolvedObservabilityConfig as d$, type QueryCollectionResult as d0, type RAGSearchResult as d1, type RadioFieldAdmin as d2, type RateLimitConfig as d3, type ReadonlyDatabaseAdapter as d4, type RichTextFeature as d5, type RichTextFieldConfig as d6, type SelectFieldAdmin as d7, type SqlWhereResult as d8, type StorageAdapter as d9, type WordLimitFieldAdmin as dA, type WordLimitFieldConfig as dB, type WorkflowMetadata as dC, type WorkflowOnTransitionContext as dD, type WorkflowOnTransitionHook as dE, type WorkflowRole as dF, type WorkflowState as dG, type WorkflowTransitionContext as dH, coerceBooleanWhere as dI, defineAction as dJ, defineCalendarView as dK, defineCardsView as dL, defineGanttView as dM, defineKanbanView as dN, defineTableView as dO, defineView as dP, defineWorkspace as dQ, isAICollection as dR, parseMongoWhere as dS, parseSqlWhere as dT, type CollectionTokenPayload as dU, DEFAULT_INVITE_EXPIRY as dV, DEFAULT_RESET_PASSWORD_EXPIRY as dW, DEFAULT_SESSION_EXPIRY as dX, type DyrectedObservabilityRuntime as dY, type RequestBodyCapture as dZ, type RequestTraceContext as d_, type TableViewConfig as da, type TaskContext as db, type TaskLogger as dc, type TaskRunStatus as dd, type TextFieldAdmin as de, type TextFormat as df, type TextareaFieldAdmin as dg, type TrashConfig as dh, type TrustProxyConfig as di, type TypedField as dj, type UploadConfig as dk, type UrlFieldAdmin as dl, type UrlLinkValue as dm, type ViewActionFeatures as dn, type ViewComponentSlots as dp, type ViewConfigBase as dq, type ViewLayout as dr, type ViewMetric as ds, type ViewMetricGroupBy as dt, type ViewMetricGroupByConfig as du, type ViewMetricTrendConfig as dv, type ViewSubMetric as dw, type WhereClause as dx, type WhereOperator as dy, type WhereOperatorName as dz, type DatabaseAdapter as e, attachRequestMetrics as e0, bindObservabilityRuntime as e1, buildRequestLogger as e2, captureRequestBody as e3, createDyrectedApp as e4, createObservabilityRuntime as e5, createRequestSpan as e6, decodeCollectionToken as e7, endRequestSpan as e8, getConfigLogger as e9, getObservabilityRuntime as ea, getRequestLogger as eb, redactBody as ec, redactHeaders as ed, renderPrometheusMetrics as ee, resolveInviteTokenExpiry as ef, resolveObservabilityConfig as eg, resolveResetPasswordTokenExpiry as eh, resolveSessionTokenExpiry as ei, shouldSampleRequest as ej, signCollectionToken as ek, verifyCollectionToken as el, 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 };
|
|
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 };
|
|
@@ -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;
|
|
@@ -1261,8 +1371,39 @@ interface CollectionViewComponentSlots {
|
|
|
1261
1371
|
beforeViewContent?: string[];
|
|
1262
1372
|
afterViewContent?: string[];
|
|
1263
1373
|
}
|
|
1374
|
+
/**
|
|
1375
|
+
* How much of the default edit screen's chrome surrounds a custom form.
|
|
1376
|
+
*
|
|
1377
|
+
* - `full` (default): header, status badge, default save bar, and the unsaved-changes guard.
|
|
1378
|
+
* - `header`: header and the unsaved-changes guard. The form supplies its own actions.
|
|
1379
|
+
* - `none`: nothing. The form owns the whole screen.
|
|
1380
|
+
*/
|
|
1381
|
+
type FormShell = "full" | "header" | "none";
|
|
1382
|
+
/** The values `formShell` accepts. */
|
|
1383
|
+
declare const FORM_SHELLS: readonly FormShell[];
|
|
1384
|
+
/**
|
|
1385
|
+
* Registry keys of custom components that replace the body of a create or edit screen.
|
|
1386
|
+
* Each key is resolved against `components.forms` in the host's admin registration.
|
|
1387
|
+
*/
|
|
1388
|
+
interface DocumentFormComponentSlots {
|
|
1389
|
+
/** Used when creating a record. Falls back to `form`, then the built-in form. */
|
|
1390
|
+
createForm?: string;
|
|
1391
|
+
/** Used when editing a record. Falls back to `form`, then the built-in form. */
|
|
1392
|
+
editForm?: string;
|
|
1393
|
+
/** Fallback for both create and edit. */
|
|
1394
|
+
form?: string;
|
|
1395
|
+
/** How much default chrome surrounds the custom form. Defaults to `full`. */
|
|
1396
|
+
formShell?: FormShell;
|
|
1397
|
+
}
|
|
1398
|
+
/** Component keys a global can replace. A global is always edited, never created. */
|
|
1399
|
+
type GlobalFormComponentSlots = Pick<DocumentFormComponentSlots, "editForm" | "form" | "formShell">;
|
|
1264
1400
|
/** Ordered custom component keys rendered around a collection's list content. */
|
|
1265
|
-
interface CollectionListComponentSlots {
|
|
1401
|
+
interface CollectionListComponentSlots extends DocumentFormComponentSlots {
|
|
1402
|
+
/**
|
|
1403
|
+
* Set to `false` to keep the built-in form when this collection is created or edited
|
|
1404
|
+
* in a drawer (inline relationship creation), even if `createForm` is set.
|
|
1405
|
+
*/
|
|
1406
|
+
formInDrawer?: boolean;
|
|
1266
1407
|
beforeList?: string[];
|
|
1267
1408
|
beforeListTable?: string[];
|
|
1268
1409
|
afterListTable?: string[];
|
|
@@ -1293,6 +1434,8 @@ interface AdminConfig {
|
|
|
1293
1434
|
* If omitted, all collections and globals appear in default sections.
|
|
1294
1435
|
*/
|
|
1295
1436
|
navigation?: DefineWorkspaceOptions[];
|
|
1437
|
+
/** Optional custom landing page slug replacing the dashboard as the root view. */
|
|
1438
|
+
homePage?: string;
|
|
1296
1439
|
/** Custom component slots around the built-in dashboard. */
|
|
1297
1440
|
components?: AdminDashboardComponentSlots;
|
|
1298
1441
|
branding?: {
|
|
@@ -2612,7 +2755,9 @@ interface CollectionConfig<TDoc extends object = Record<string, unknown>> {
|
|
|
2612
2755
|
description?: string;
|
|
2613
2756
|
/**
|
|
2614
2757
|
* Field names included in backend free-text search for this collection.
|
|
2615
|
-
* When omitted, Dyrected
|
|
2758
|
+
* When omitted, Dyrected searches `useAsTitle` plus every visible `text`, `textarea`,
|
|
2759
|
+
* `richText`, `email` and `url` field (up to eight), chosen by field type, not name.
|
|
2760
|
+
* Relationship fields are searched only when listed here. Matching is case-insensitive.
|
|
2616
2761
|
*/
|
|
2617
2762
|
searchableFields?: string[];
|
|
2618
2763
|
/**
|
|
@@ -2893,6 +3038,8 @@ interface GlobalConfig<TDoc extends object = Record<string, unknown>> {
|
|
|
2893
3038
|
order?: number;
|
|
2894
3039
|
/** If `true`, this global is not shown in the Admin UI sidebar. */
|
|
2895
3040
|
hidden?: boolean;
|
|
3041
|
+
/** Custom components that replace this global's edit form. */
|
|
3042
|
+
components?: GlobalFormComponentSlots;
|
|
2896
3043
|
};
|
|
2897
3044
|
/**
|
|
2898
3045
|
* Optional custom AI assistant instructions for this global singleton.
|
|
@@ -4550,4 +4697,4 @@ interface DyrectedContext {
|
|
|
4550
4697
|
*/
|
|
4551
4698
|
declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
|
|
4552
4699
|
|
|
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 DynamicOptionsResolverArgs 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 CollectionRAGConfig as bA, type CollectionSchemaResult as bB, type CollectionSummaryResult as bC, type CollectionViewComponentSlots as bD, type CompiledNavGroup as bE, type CountOperation as bF, type CustomAdminAuthProvider as bG, DEFAULT_USER_NAV_PREFERENCES as bH, type DateFieldAdmin as bI, type DateFormat as bJ, type DefaultValueContext as bK, type DefineActionOptions as bL, type DefineCalendarViewOptions as bM, type DefineCardsViewOptions as bN, type DefineGanttViewOptions as bO, type DefineKanbanViewOptions as bP, type DefineTableViewOptions as bQ, type DefineViewBaseOptions as bR, type DefineViewOptions as bS, type DetailSpan as bT, type DisplayTone as bU, type DisplayVariant as bV, type DistinctCountOperation as bW, type DistinctValuesOperation as bX, type DynamicOptionItem as bY, type DynamicOptionsConfig as bZ, type DynamicOptionsResolver as b_, type BooleanFieldAdmin as ba, type BooleanFormat as bb, CURRENT_NAV_PREFERENCES_VERSION as bc, type CalendarViewConfig as bd, type CardsViewConfig as be, type CharacterLimitFieldAdmin as bf, type CharacterLimitFieldConfig as bg, type CollectionAfterChangeHook as bh, type CollectionAfterDeleteHook as bi, type CollectionAfterReadHook as bj, type CollectionAfterReadHookEntry as bk, type CollectionAfterRestoreHook as bl, type CollectionAfterTransitionHook as bm, type CollectionAfterTrashHook as bn, type CollectionBeforeChangeHook as bo, type CollectionBeforeChangeHookEntry as bp, type CollectionBeforeCommitHook as bq, type CollectionBeforeDeleteHook as br, type CollectionBeforeReadHook as bs, type CollectionBeforeReadHookEntry as bt, type CollectionBeforeRestoreHook as bu, type CollectionBeforeTransitionHook as bv, type CollectionBeforeTrashHook as bw, type CollectionEmailConfig as bx, type CollectionIndex as by, type CollectionListComponentSlots as bz, type WorkflowTransition as c, type PublicAdminAuthProvider as c$, type DyrectedAIContext as c0, type DyrectedLoggerConfig as c1, type DyrectedObservabilityConfig as c2, type EmailFieldAdmin as c3, type EmailTemplateArgs as c4, type EmailTemplateResult as c5, type FieldAdminHooks as c6, type FieldAdminOnChangeHook as c7, type FieldAdminOnChangeHookArgs as c8, type FieldAdminOptionsHook as c9, type ImageTransformOptions as cA, type InferAggregateResult as cB, type JoinFieldAdmin as cC, type JsonFieldAdmin as cD, type JsonFormat as cE, type KanbanViewConfig as cF, LIFECYCLE_EVENT_NAMES as cG, type LifecycleEventHandler as cH, type LinkFormat as cI, type MetricColor as cJ, type MoneyFieldAdmin as cK, type MoneyFieldConfig as cL, type MultiSelectFieldAdmin as cM, type NamedAccessPolicy as cN, type NavBadgeConfig as cO, type NavGroup as cP, type NumberFieldAdmin as cQ, type NumberFormat as cR, type NumberLimitFieldAdmin as cS, type NumberLimitFieldConfig as cT, type NumericOperation as cU, type NumericUpdateOperator as cV, type OIDCAdminAuthProvider as cW, type OptionFormat as cX, type OutboundEmail as cY, type PaginatedResult as cZ, type PinnedNavItemRef as c_, type FieldAdminOptionsHookArgs as ca, type FieldAdminOptionsHookResult as cb, type FieldAfterReadHook as cc, type FieldAfterReadHookArgs as cd, type FieldBase as ce, type FieldBeforeChangeHook as cf, type FieldBeforeChangeHookArgs as cg, type FieldHook as ch, type FieldHooks as ci, type FileData as cj, type GanttViewConfig as ck, type GetDocumentResult as cl, type GlobalAfterChangeHook as cm, type GlobalAfterReadHook as cn, type GlobalAfterReadHookEntry as co, type GlobalBeforeChangeHook as cp, type GlobalBeforeChangeHookEntry as cq, type GlobalBeforeReadHook as cr, type GlobalBeforeReadHookEntry as cs, type GlobalRAGConfig as ct, type GlobalSchemaResult as cu, type GlobalSummaryResult as cv, type HeadingLevel as cw, type HookFunction as cx, type IconFieldAdmin as cy, type ImageService as cz, type LifecycleEvent as d, type ResolvedObservabilityConfig as d$, type QueryCollectionResult as d0, type RAGSearchResult as d1, type RadioFieldAdmin as d2, type RateLimitConfig as d3, type ReadonlyDatabaseAdapter as d4, type RichTextFeature as d5, type RichTextFieldConfig as d6, type SelectFieldAdmin as d7, type SqlWhereResult as d8, type StorageAdapter as d9, type WordLimitFieldAdmin as dA, type WordLimitFieldConfig as dB, type WorkflowMetadata as dC, type WorkflowOnTransitionContext as dD, type WorkflowOnTransitionHook as dE, type WorkflowRole as dF, type WorkflowState as dG, type WorkflowTransitionContext as dH, coerceBooleanWhere as dI, defineAction as dJ, defineCalendarView as dK, defineCardsView as dL, defineGanttView as dM, defineKanbanView as dN, defineTableView as dO, defineView as dP, defineWorkspace as dQ, isAICollection as dR, parseMongoWhere as dS, parseSqlWhere as dT, type CollectionTokenPayload as dU, DEFAULT_INVITE_EXPIRY as dV, DEFAULT_RESET_PASSWORD_EXPIRY as dW, DEFAULT_SESSION_EXPIRY as dX, type DyrectedObservabilityRuntime as dY, type RequestBodyCapture as dZ, type RequestTraceContext as d_, type TableViewConfig as da, type TaskContext as db, type TaskLogger as dc, type TaskRunStatus as dd, type TextFieldAdmin as de, type TextFormat as df, type TextareaFieldAdmin as dg, type TrashConfig as dh, type TrustProxyConfig as di, type TypedField as dj, type UploadConfig as dk, type UrlFieldAdmin as dl, type UrlLinkValue as dm, type ViewActionFeatures as dn, type ViewComponentSlots as dp, type ViewConfigBase as dq, type ViewLayout as dr, type ViewMetric as ds, type ViewMetricGroupBy as dt, type ViewMetricGroupByConfig as du, type ViewMetricTrendConfig as dv, type ViewSubMetric as dw, type WhereClause as dx, type WhereOperator as dy, type WhereOperatorName as dz, type DatabaseAdapter as e, attachRequestMetrics as e0, bindObservabilityRuntime as e1, buildRequestLogger as e2, captureRequestBody as e3, createDyrectedApp as e4, createObservabilityRuntime as e5, createRequestSpan as e6, decodeCollectionToken as e7, endRequestSpan as e8, getConfigLogger as e9, getObservabilityRuntime as ea, getRequestLogger as eb, redactBody as ec, redactHeaders as ed, renderPrometheusMetrics as ee, resolveInviteTokenExpiry as ef, resolveObservabilityConfig as eg, resolveResetPasswordTokenExpiry as eh, resolveSessionTokenExpiry as ei, shouldSampleRequest as ej, signCollectionToken as ek, verifyCollectionToken as el, 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 };
|
|
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 };
|