@dyrected/core 2.19.0 → 2.20.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-CXF4MdJc.d.cts → app-v23fNf58.d.cts} +171 -28
- package/dist/{app-CXF4MdJc.d.ts → app-v23fNf58.d.ts} +171 -28
- package/dist/index.cjs +511 -21
- package/dist/index.d.cts +73 -5
- package/dist/index.d.ts +73 -5
- package/dist/index.js +491 -21
- package/dist/server.cjs +1167 -136
- package/dist/server.d.cts +79 -29
- package/dist/server.d.ts +79 -29
- package/dist/server.js +1158 -136
- package/package.json +1 -1
|
@@ -51,6 +51,8 @@ interface AuthenticatedUser {
|
|
|
51
51
|
|
|
52
52
|
interface AccessFunctionArgs<TDoc extends object = Record<string, unknown>, TUser extends AuthenticatedUser = AuthenticatedUser> {
|
|
53
53
|
user: TUser | undefined;
|
|
54
|
+
/** ID of the document being accessed, when the operation targets one. */
|
|
55
|
+
id?: string;
|
|
54
56
|
doc?: TDoc;
|
|
55
57
|
data?: Partial<TDoc>;
|
|
56
58
|
req: HookRequestContext;
|
|
@@ -2014,6 +2016,91 @@ type DetailItem<TDoc = any> = DetailSection | DetailTabs | DetailGrid | DetailFi
|
|
|
2014
2016
|
*/
|
|
2015
2017
|
type DetailSchema<TDoc = any> = DetailItem<TDoc>[];
|
|
2016
2018
|
|
|
2019
|
+
/**
|
|
2020
|
+
* Email template return value.
|
|
2021
|
+
*
|
|
2022
|
+
* Supports either direct HTML content or external provider template IDs with variables
|
|
2023
|
+
* (e.g. Seamailer, Postmark, SendGrid, Mailgun).
|
|
2024
|
+
*/
|
|
2025
|
+
type EmailTemplateResult = {
|
|
2026
|
+
subject?: string;
|
|
2027
|
+
html: string;
|
|
2028
|
+
text?: string;
|
|
2029
|
+
} | {
|
|
2030
|
+
/**
|
|
2031
|
+
* External provider template identifier:
|
|
2032
|
+
* - Seamailer: numeric template ID (e.g. 821354)
|
|
2033
|
+
* - Postmark: template alias (e.g. 'welcome-user') or numeric ID
|
|
2034
|
+
* - SendGrid: template ID (e.g. 'd-1234567890abcdef')
|
|
2035
|
+
*/
|
|
2036
|
+
template: string | number;
|
|
2037
|
+
variables: Record<string, unknown>;
|
|
2038
|
+
subject?: string;
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* Contextual arguments passed into email template builders.
|
|
2042
|
+
*/
|
|
2043
|
+
type EmailTemplateArgs<T = Record<string, unknown>> = T & {
|
|
2044
|
+
collection?: string;
|
|
2045
|
+
/** Readable singular name of the collection (falls back to plural, then a humanised slug). */
|
|
2046
|
+
collectionLabel?: string;
|
|
2047
|
+
/** The raw singular/plural labels configured on the collection. */
|
|
2048
|
+
collectionLabels?: {
|
|
2049
|
+
singular?: string;
|
|
2050
|
+
plural?: string;
|
|
2051
|
+
};
|
|
2052
|
+
siteName?: string;
|
|
2053
|
+
user?: Record<string, unknown>;
|
|
2054
|
+
};
|
|
2055
|
+
/**
|
|
2056
|
+
* The typed email payload passed to `config.email.send`.
|
|
2057
|
+
*
|
|
2058
|
+
* Supports both traditional HTML payloads and external provider template payloads.
|
|
2059
|
+
*/
|
|
2060
|
+
type OutboundEmail = {
|
|
2061
|
+
to: string;
|
|
2062
|
+
from?: string;
|
|
2063
|
+
collection?: string;
|
|
2064
|
+
purpose?: "invite" | "resetPassword" | "welcome" | "passwordChanged" | string;
|
|
2065
|
+
user?: Record<string, unknown>;
|
|
2066
|
+
} & ({
|
|
2067
|
+
type?: "html";
|
|
2068
|
+
subject: string;
|
|
2069
|
+
html: string;
|
|
2070
|
+
text?: string;
|
|
2071
|
+
} | {
|
|
2072
|
+
type: "template";
|
|
2073
|
+
template: string | number;
|
|
2074
|
+
variables: Record<string, unknown>;
|
|
2075
|
+
subject?: string;
|
|
2076
|
+
});
|
|
2077
|
+
/**
|
|
2078
|
+
* Collection-level email configuration.
|
|
2079
|
+
*/
|
|
2080
|
+
interface CollectionEmailConfig {
|
|
2081
|
+
/** Optional custom `from` address for emails sent by this collection. */
|
|
2082
|
+
from?: string;
|
|
2083
|
+
/** Collection-specific email templates. */
|
|
2084
|
+
templates?: {
|
|
2085
|
+
welcome?: (args: EmailTemplateArgs<{
|
|
2086
|
+
email: string;
|
|
2087
|
+
}>) => EmailTemplateResult;
|
|
2088
|
+
invite?: (args: EmailTemplateArgs<{
|
|
2089
|
+
token: string;
|
|
2090
|
+
url?: string;
|
|
2091
|
+
invitedByEmail?: string;
|
|
2092
|
+
data?: Record<string, unknown>;
|
|
2093
|
+
}>) => EmailTemplateResult;
|
|
2094
|
+
resetPassword?: (args: EmailTemplateArgs<{
|
|
2095
|
+
token: string;
|
|
2096
|
+
url?: string;
|
|
2097
|
+
}>) => EmailTemplateResult;
|
|
2098
|
+
passwordChanged?: (args: EmailTemplateArgs<{
|
|
2099
|
+
email: string;
|
|
2100
|
+
}>) => EmailTemplateResult;
|
|
2101
|
+
};
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2017
2104
|
/**
|
|
2018
2105
|
* Trash and retention configuration for a collection.
|
|
2019
2106
|
*/
|
|
@@ -2060,6 +2147,39 @@ interface AuthConfig {
|
|
|
2060
2147
|
* Defaults to `'admin'`.
|
|
2061
2148
|
*/
|
|
2062
2149
|
adminRole?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* How long invitation tokens remain valid for this collection.
|
|
2152
|
+
*
|
|
2153
|
+
* Accepts the same values as `jose`'s `setExpirationTime` (e.g. `'24h'`,
|
|
2154
|
+
* `'48h'`, `'7d'`, `'14d'`).
|
|
2155
|
+
*
|
|
2156
|
+
* Defaults to `'7d'`.
|
|
2157
|
+
*/
|
|
2158
|
+
inviteExpiration?: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* How long password reset tokens remain valid for this collection.
|
|
2161
|
+
*
|
|
2162
|
+
* Accepts the same values as `jose`'s `setExpirationTime` (e.g. `'15m'`,
|
|
2163
|
+
* `'30m'`, `'1h'`, `'2h'`).
|
|
2164
|
+
*
|
|
2165
|
+
* Defaults to `'1h'`.
|
|
2166
|
+
*/
|
|
2167
|
+
resetPasswordExpiration?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* Dedicated action URLs for this auth collection.
|
|
2170
|
+
*
|
|
2171
|
+
* When configured, invite and password reset emails for this collection
|
|
2172
|
+
* use these URLs instead of falling back to `admin.adminUrl` or `/admin`.
|
|
2173
|
+
*/
|
|
2174
|
+
urls?: {
|
|
2175
|
+
invite?: string;
|
|
2176
|
+
resetPassword?: string;
|
|
2177
|
+
login?: string;
|
|
2178
|
+
};
|
|
2179
|
+
/**
|
|
2180
|
+
* Collection-specific email templates and sender overrides.
|
|
2181
|
+
*/
|
|
2182
|
+
email?: CollectionEmailConfig;
|
|
2063
2183
|
}
|
|
2064
2184
|
/**
|
|
2065
2185
|
* Physical database index specification for a collection.
|
|
@@ -4038,42 +4158,50 @@ interface DyrectedConfig<TUser extends AuthenticatedUser = AuthenticatedUser> {
|
|
|
4038
4158
|
email?: {
|
|
4039
4159
|
/** The `From` address for all outbound emails. */
|
|
4040
4160
|
from: string;
|
|
4041
|
-
/**
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4161
|
+
/**
|
|
4162
|
+
* Whether admins can edit email templates via the Admin UI.
|
|
4163
|
+
* Defaults to true.
|
|
4164
|
+
*/
|
|
4165
|
+
adminEditable?: boolean;
|
|
4166
|
+
/** The send function. Wire in any email provider (Resend, SendGrid, SES, Seamailer, Postmark, etc.). */
|
|
4167
|
+
send: (args: OutboundEmail) => Promise<void>;
|
|
4168
|
+
/** Global default email templates. */
|
|
4048
4169
|
templates?: {
|
|
4049
|
-
welcome?: (args: {
|
|
4170
|
+
welcome?: (args: EmailTemplateArgs<{
|
|
4050
4171
|
email: string;
|
|
4051
|
-
}) =>
|
|
4052
|
-
|
|
4053
|
-
html: string;
|
|
4054
|
-
};
|
|
4055
|
-
invite?: (args: {
|
|
4172
|
+
}>) => EmailTemplateResult;
|
|
4173
|
+
invite?: (args: EmailTemplateArgs<{
|
|
4056
4174
|
token: string;
|
|
4057
4175
|
invitedByEmail?: string;
|
|
4058
4176
|
url?: string;
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
};
|
|
4063
|
-
resetPassword?: (args: {
|
|
4177
|
+
data?: Record<string, unknown>;
|
|
4178
|
+
}>) => EmailTemplateResult;
|
|
4179
|
+
resetPassword?: (args: EmailTemplateArgs<{
|
|
4064
4180
|
token: string;
|
|
4065
4181
|
url?: string;
|
|
4066
|
-
}) =>
|
|
4067
|
-
|
|
4068
|
-
html: string;
|
|
4069
|
-
};
|
|
4070
|
-
passwordChanged?: (args: {
|
|
4182
|
+
}>) => EmailTemplateResult;
|
|
4183
|
+
passwordChanged?: (args: EmailTemplateArgs<{
|
|
4071
4184
|
email: string;
|
|
4072
|
-
}) =>
|
|
4073
|
-
subject?: string;
|
|
4074
|
-
html: string;
|
|
4075
|
-
};
|
|
4185
|
+
}>) => EmailTemplateResult;
|
|
4076
4186
|
};
|
|
4187
|
+
/**
|
|
4188
|
+
* Additional transactional email purposes beyond the built-in auth lifecycle events.
|
|
4189
|
+
* Each entry appears as a selectable option in the Admin UI email template editor,
|
|
4190
|
+
* allowing admins to manage and test templates for business domain events
|
|
4191
|
+
* (e.g. order confirmations, booking reminders, webhook notifications).
|
|
4192
|
+
*
|
|
4193
|
+
* @example
|
|
4194
|
+
* email: {
|
|
4195
|
+
* purposes: [
|
|
4196
|
+
* { label: "Order Confirmation", value: "order_confirmation" },
|
|
4197
|
+
* { label: "Booking Reminder", value: "booking_reminder" },
|
|
4198
|
+
* ],
|
|
4199
|
+
* }
|
|
4200
|
+
*/
|
|
4201
|
+
purposes?: Array<{
|
|
4202
|
+
label: string;
|
|
4203
|
+
value: string;
|
|
4204
|
+
}>;
|
|
4077
4205
|
};
|
|
4078
4206
|
/**
|
|
4079
4207
|
* Redis connection URL. Required for distributed caching of dynamic option
|
|
@@ -4162,8 +4290,11 @@ interface CollectionTokenPayload extends JWTPayload {
|
|
|
4162
4290
|
purpose?: 'invite' | 'reset';
|
|
4163
4291
|
providerId?: string;
|
|
4164
4292
|
authSource?: 'local' | 'external';
|
|
4293
|
+
siteId?: string;
|
|
4165
4294
|
}
|
|
4166
4295
|
declare const DEFAULT_SESSION_EXPIRY = "7d";
|
|
4296
|
+
declare const DEFAULT_INVITE_EXPIRY = "48h";
|
|
4297
|
+
declare const DEFAULT_RESET_PASSWORD_EXPIRY = "2h";
|
|
4167
4298
|
/**
|
|
4168
4299
|
* Resolve the session JWT lifetime for an auth collection.
|
|
4169
4300
|
*
|
|
@@ -4172,6 +4303,18 @@ declare const DEFAULT_SESSION_EXPIRY = "7d";
|
|
|
4172
4303
|
* value) so existing behavior is unchanged.
|
|
4173
4304
|
*/
|
|
4174
4305
|
declare function resolveSessionTokenExpiry(collection: CollectionConfig): string;
|
|
4306
|
+
/**
|
|
4307
|
+
* Resolve the invite JWT lifetime for an auth collection.
|
|
4308
|
+
*
|
|
4309
|
+
* Reads `auth.inviteExpiration` when configured, and falls back to `'48h'`.
|
|
4310
|
+
*/
|
|
4311
|
+
declare function resolveInviteTokenExpiry(collection: CollectionConfig): string;
|
|
4312
|
+
/**
|
|
4313
|
+
* Resolve the reset password JWT lifetime for an auth collection.
|
|
4314
|
+
*
|
|
4315
|
+
* Reads `auth.resetPasswordExpiration` when configured, and falls back to `'2h'`.
|
|
4316
|
+
*/
|
|
4317
|
+
declare function resolveResetPasswordTokenExpiry(collection: CollectionConfig): string;
|
|
4175
4318
|
/**
|
|
4176
4319
|
* Issue a signed JWT for a user document in an auth collection.
|
|
4177
4320
|
*/
|
|
@@ -4321,4 +4464,4 @@ interface DyrectedContext {
|
|
|
4321
4464
|
*/
|
|
4322
4465
|
declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
|
|
4323
4466
|
|
|
4324
|
-
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
|
|
4467
|
+
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, buildRequestLogger 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 WorkflowOnTransitionContext as dA, type WorkflowOnTransitionHook as dB, type WorkflowRole as dC, type WorkflowState as dD, type WorkflowTransitionContext as dE, coerceBooleanWhere as dF, defineAction as dG, defineCalendarView as dH, defineCardsView as dI, defineGanttView as dJ, defineKanbanView as dK, defineTableView as dL, defineView as dM, defineWorkspace as dN, isAICollection as dO, parseMongoWhere as dP, parseSqlWhere as dQ, type CollectionTokenPayload as dR, DEFAULT_INVITE_EXPIRY as dS, DEFAULT_RESET_PASSWORD_EXPIRY as dT, DEFAULT_SESSION_EXPIRY as dU, type DyrectedObservabilityRuntime as dV, type RequestBodyCapture as dW, type RequestTraceContext as dX, type ResolvedObservabilityConfig as dY, attachRequestMetrics as dZ, bindObservabilityRuntime 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 ViewSubMetric as dt, type WhereClause as du, type WhereOperator as dv, type WhereOperatorName as dw, type WordLimitFieldAdmin as dx, type WordLimitFieldConfig as dy, type WorkflowMetadata as dz, type DatabaseAdapter as e, captureRequestBody as e0, createDyrectedApp as e1, createObservabilityRuntime as e2, createRequestSpan as e3, decodeCollectionToken as e4, endRequestSpan as e5, getConfigLogger as e6, getObservabilityRuntime as e7, getRequestLogger as e8, redactBody as e9, redactHeaders as ea, renderPrometheusMetrics as eb, resolveInviteTokenExpiry as ec, resolveObservabilityConfig as ed, resolveResetPasswordTokenExpiry as ee, resolveSessionTokenExpiry as ef, shouldSampleRequest as eg, signCollectionToken as eh, verifyCollectionToken as ei, 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 };
|
|
@@ -51,6 +51,8 @@ interface AuthenticatedUser {
|
|
|
51
51
|
|
|
52
52
|
interface AccessFunctionArgs<TDoc extends object = Record<string, unknown>, TUser extends AuthenticatedUser = AuthenticatedUser> {
|
|
53
53
|
user: TUser | undefined;
|
|
54
|
+
/** ID of the document being accessed, when the operation targets one. */
|
|
55
|
+
id?: string;
|
|
54
56
|
doc?: TDoc;
|
|
55
57
|
data?: Partial<TDoc>;
|
|
56
58
|
req: HookRequestContext;
|
|
@@ -2014,6 +2016,91 @@ type DetailItem<TDoc = any> = DetailSection | DetailTabs | DetailGrid | DetailFi
|
|
|
2014
2016
|
*/
|
|
2015
2017
|
type DetailSchema<TDoc = any> = DetailItem<TDoc>[];
|
|
2016
2018
|
|
|
2019
|
+
/**
|
|
2020
|
+
* Email template return value.
|
|
2021
|
+
*
|
|
2022
|
+
* Supports either direct HTML content or external provider template IDs with variables
|
|
2023
|
+
* (e.g. Seamailer, Postmark, SendGrid, Mailgun).
|
|
2024
|
+
*/
|
|
2025
|
+
type EmailTemplateResult = {
|
|
2026
|
+
subject?: string;
|
|
2027
|
+
html: string;
|
|
2028
|
+
text?: string;
|
|
2029
|
+
} | {
|
|
2030
|
+
/**
|
|
2031
|
+
* External provider template identifier:
|
|
2032
|
+
* - Seamailer: numeric template ID (e.g. 821354)
|
|
2033
|
+
* - Postmark: template alias (e.g. 'welcome-user') or numeric ID
|
|
2034
|
+
* - SendGrid: template ID (e.g. 'd-1234567890abcdef')
|
|
2035
|
+
*/
|
|
2036
|
+
template: string | number;
|
|
2037
|
+
variables: Record<string, unknown>;
|
|
2038
|
+
subject?: string;
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* Contextual arguments passed into email template builders.
|
|
2042
|
+
*/
|
|
2043
|
+
type EmailTemplateArgs<T = Record<string, unknown>> = T & {
|
|
2044
|
+
collection?: string;
|
|
2045
|
+
/** Readable singular name of the collection (falls back to plural, then a humanised slug). */
|
|
2046
|
+
collectionLabel?: string;
|
|
2047
|
+
/** The raw singular/plural labels configured on the collection. */
|
|
2048
|
+
collectionLabels?: {
|
|
2049
|
+
singular?: string;
|
|
2050
|
+
plural?: string;
|
|
2051
|
+
};
|
|
2052
|
+
siteName?: string;
|
|
2053
|
+
user?: Record<string, unknown>;
|
|
2054
|
+
};
|
|
2055
|
+
/**
|
|
2056
|
+
* The typed email payload passed to `config.email.send`.
|
|
2057
|
+
*
|
|
2058
|
+
* Supports both traditional HTML payloads and external provider template payloads.
|
|
2059
|
+
*/
|
|
2060
|
+
type OutboundEmail = {
|
|
2061
|
+
to: string;
|
|
2062
|
+
from?: string;
|
|
2063
|
+
collection?: string;
|
|
2064
|
+
purpose?: "invite" | "resetPassword" | "welcome" | "passwordChanged" | string;
|
|
2065
|
+
user?: Record<string, unknown>;
|
|
2066
|
+
} & ({
|
|
2067
|
+
type?: "html";
|
|
2068
|
+
subject: string;
|
|
2069
|
+
html: string;
|
|
2070
|
+
text?: string;
|
|
2071
|
+
} | {
|
|
2072
|
+
type: "template";
|
|
2073
|
+
template: string | number;
|
|
2074
|
+
variables: Record<string, unknown>;
|
|
2075
|
+
subject?: string;
|
|
2076
|
+
});
|
|
2077
|
+
/**
|
|
2078
|
+
* Collection-level email configuration.
|
|
2079
|
+
*/
|
|
2080
|
+
interface CollectionEmailConfig {
|
|
2081
|
+
/** Optional custom `from` address for emails sent by this collection. */
|
|
2082
|
+
from?: string;
|
|
2083
|
+
/** Collection-specific email templates. */
|
|
2084
|
+
templates?: {
|
|
2085
|
+
welcome?: (args: EmailTemplateArgs<{
|
|
2086
|
+
email: string;
|
|
2087
|
+
}>) => EmailTemplateResult;
|
|
2088
|
+
invite?: (args: EmailTemplateArgs<{
|
|
2089
|
+
token: string;
|
|
2090
|
+
url?: string;
|
|
2091
|
+
invitedByEmail?: string;
|
|
2092
|
+
data?: Record<string, unknown>;
|
|
2093
|
+
}>) => EmailTemplateResult;
|
|
2094
|
+
resetPassword?: (args: EmailTemplateArgs<{
|
|
2095
|
+
token: string;
|
|
2096
|
+
url?: string;
|
|
2097
|
+
}>) => EmailTemplateResult;
|
|
2098
|
+
passwordChanged?: (args: EmailTemplateArgs<{
|
|
2099
|
+
email: string;
|
|
2100
|
+
}>) => EmailTemplateResult;
|
|
2101
|
+
};
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2017
2104
|
/**
|
|
2018
2105
|
* Trash and retention configuration for a collection.
|
|
2019
2106
|
*/
|
|
@@ -2060,6 +2147,39 @@ interface AuthConfig {
|
|
|
2060
2147
|
* Defaults to `'admin'`.
|
|
2061
2148
|
*/
|
|
2062
2149
|
adminRole?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* How long invitation tokens remain valid for this collection.
|
|
2152
|
+
*
|
|
2153
|
+
* Accepts the same values as `jose`'s `setExpirationTime` (e.g. `'24h'`,
|
|
2154
|
+
* `'48h'`, `'7d'`, `'14d'`).
|
|
2155
|
+
*
|
|
2156
|
+
* Defaults to `'7d'`.
|
|
2157
|
+
*/
|
|
2158
|
+
inviteExpiration?: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* How long password reset tokens remain valid for this collection.
|
|
2161
|
+
*
|
|
2162
|
+
* Accepts the same values as `jose`'s `setExpirationTime` (e.g. `'15m'`,
|
|
2163
|
+
* `'30m'`, `'1h'`, `'2h'`).
|
|
2164
|
+
*
|
|
2165
|
+
* Defaults to `'1h'`.
|
|
2166
|
+
*/
|
|
2167
|
+
resetPasswordExpiration?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* Dedicated action URLs for this auth collection.
|
|
2170
|
+
*
|
|
2171
|
+
* When configured, invite and password reset emails for this collection
|
|
2172
|
+
* use these URLs instead of falling back to `admin.adminUrl` or `/admin`.
|
|
2173
|
+
*/
|
|
2174
|
+
urls?: {
|
|
2175
|
+
invite?: string;
|
|
2176
|
+
resetPassword?: string;
|
|
2177
|
+
login?: string;
|
|
2178
|
+
};
|
|
2179
|
+
/**
|
|
2180
|
+
* Collection-specific email templates and sender overrides.
|
|
2181
|
+
*/
|
|
2182
|
+
email?: CollectionEmailConfig;
|
|
2063
2183
|
}
|
|
2064
2184
|
/**
|
|
2065
2185
|
* Physical database index specification for a collection.
|
|
@@ -4038,42 +4158,50 @@ interface DyrectedConfig<TUser extends AuthenticatedUser = AuthenticatedUser> {
|
|
|
4038
4158
|
email?: {
|
|
4039
4159
|
/** The `From` address for all outbound emails. */
|
|
4040
4160
|
from: string;
|
|
4041
|
-
/**
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4161
|
+
/**
|
|
4162
|
+
* Whether admins can edit email templates via the Admin UI.
|
|
4163
|
+
* Defaults to true.
|
|
4164
|
+
*/
|
|
4165
|
+
adminEditable?: boolean;
|
|
4166
|
+
/** The send function. Wire in any email provider (Resend, SendGrid, SES, Seamailer, Postmark, etc.). */
|
|
4167
|
+
send: (args: OutboundEmail) => Promise<void>;
|
|
4168
|
+
/** Global default email templates. */
|
|
4048
4169
|
templates?: {
|
|
4049
|
-
welcome?: (args: {
|
|
4170
|
+
welcome?: (args: EmailTemplateArgs<{
|
|
4050
4171
|
email: string;
|
|
4051
|
-
}) =>
|
|
4052
|
-
|
|
4053
|
-
html: string;
|
|
4054
|
-
};
|
|
4055
|
-
invite?: (args: {
|
|
4172
|
+
}>) => EmailTemplateResult;
|
|
4173
|
+
invite?: (args: EmailTemplateArgs<{
|
|
4056
4174
|
token: string;
|
|
4057
4175
|
invitedByEmail?: string;
|
|
4058
4176
|
url?: string;
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
};
|
|
4063
|
-
resetPassword?: (args: {
|
|
4177
|
+
data?: Record<string, unknown>;
|
|
4178
|
+
}>) => EmailTemplateResult;
|
|
4179
|
+
resetPassword?: (args: EmailTemplateArgs<{
|
|
4064
4180
|
token: string;
|
|
4065
4181
|
url?: string;
|
|
4066
|
-
}) =>
|
|
4067
|
-
|
|
4068
|
-
html: string;
|
|
4069
|
-
};
|
|
4070
|
-
passwordChanged?: (args: {
|
|
4182
|
+
}>) => EmailTemplateResult;
|
|
4183
|
+
passwordChanged?: (args: EmailTemplateArgs<{
|
|
4071
4184
|
email: string;
|
|
4072
|
-
}) =>
|
|
4073
|
-
subject?: string;
|
|
4074
|
-
html: string;
|
|
4075
|
-
};
|
|
4185
|
+
}>) => EmailTemplateResult;
|
|
4076
4186
|
};
|
|
4187
|
+
/**
|
|
4188
|
+
* Additional transactional email purposes beyond the built-in auth lifecycle events.
|
|
4189
|
+
* Each entry appears as a selectable option in the Admin UI email template editor,
|
|
4190
|
+
* allowing admins to manage and test templates for business domain events
|
|
4191
|
+
* (e.g. order confirmations, booking reminders, webhook notifications).
|
|
4192
|
+
*
|
|
4193
|
+
* @example
|
|
4194
|
+
* email: {
|
|
4195
|
+
* purposes: [
|
|
4196
|
+
* { label: "Order Confirmation", value: "order_confirmation" },
|
|
4197
|
+
* { label: "Booking Reminder", value: "booking_reminder" },
|
|
4198
|
+
* ],
|
|
4199
|
+
* }
|
|
4200
|
+
*/
|
|
4201
|
+
purposes?: Array<{
|
|
4202
|
+
label: string;
|
|
4203
|
+
value: string;
|
|
4204
|
+
}>;
|
|
4077
4205
|
};
|
|
4078
4206
|
/**
|
|
4079
4207
|
* Redis connection URL. Required for distributed caching of dynamic option
|
|
@@ -4162,8 +4290,11 @@ interface CollectionTokenPayload extends JWTPayload {
|
|
|
4162
4290
|
purpose?: 'invite' | 'reset';
|
|
4163
4291
|
providerId?: string;
|
|
4164
4292
|
authSource?: 'local' | 'external';
|
|
4293
|
+
siteId?: string;
|
|
4165
4294
|
}
|
|
4166
4295
|
declare const DEFAULT_SESSION_EXPIRY = "7d";
|
|
4296
|
+
declare const DEFAULT_INVITE_EXPIRY = "48h";
|
|
4297
|
+
declare const DEFAULT_RESET_PASSWORD_EXPIRY = "2h";
|
|
4167
4298
|
/**
|
|
4168
4299
|
* Resolve the session JWT lifetime for an auth collection.
|
|
4169
4300
|
*
|
|
@@ -4172,6 +4303,18 @@ declare const DEFAULT_SESSION_EXPIRY = "7d";
|
|
|
4172
4303
|
* value) so existing behavior is unchanged.
|
|
4173
4304
|
*/
|
|
4174
4305
|
declare function resolveSessionTokenExpiry(collection: CollectionConfig): string;
|
|
4306
|
+
/**
|
|
4307
|
+
* Resolve the invite JWT lifetime for an auth collection.
|
|
4308
|
+
*
|
|
4309
|
+
* Reads `auth.inviteExpiration` when configured, and falls back to `'48h'`.
|
|
4310
|
+
*/
|
|
4311
|
+
declare function resolveInviteTokenExpiry(collection: CollectionConfig): string;
|
|
4312
|
+
/**
|
|
4313
|
+
* Resolve the reset password JWT lifetime for an auth collection.
|
|
4314
|
+
*
|
|
4315
|
+
* Reads `auth.resetPasswordExpiration` when configured, and falls back to `'2h'`.
|
|
4316
|
+
*/
|
|
4317
|
+
declare function resolveResetPasswordTokenExpiry(collection: CollectionConfig): string;
|
|
4175
4318
|
/**
|
|
4176
4319
|
* Issue a signed JWT for a user document in an auth collection.
|
|
4177
4320
|
*/
|
|
@@ -4321,4 +4464,4 @@ interface DyrectedContext {
|
|
|
4321
4464
|
*/
|
|
4322
4465
|
declare function createDyrectedApp(rawConfig: DyrectedConfig | any): Promise<Hono<DyrectedContext, hono_types.BlankSchema, "/">>;
|
|
4323
4466
|
|
|
4324
|
-
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
|
|
4467
|
+
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, buildRequestLogger 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 WorkflowOnTransitionContext as dA, type WorkflowOnTransitionHook as dB, type WorkflowRole as dC, type WorkflowState as dD, type WorkflowTransitionContext as dE, coerceBooleanWhere as dF, defineAction as dG, defineCalendarView as dH, defineCardsView as dI, defineGanttView as dJ, defineKanbanView as dK, defineTableView as dL, defineView as dM, defineWorkspace as dN, isAICollection as dO, parseMongoWhere as dP, parseSqlWhere as dQ, type CollectionTokenPayload as dR, DEFAULT_INVITE_EXPIRY as dS, DEFAULT_RESET_PASSWORD_EXPIRY as dT, DEFAULT_SESSION_EXPIRY as dU, type DyrectedObservabilityRuntime as dV, type RequestBodyCapture as dW, type RequestTraceContext as dX, type ResolvedObservabilityConfig as dY, attachRequestMetrics as dZ, bindObservabilityRuntime 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 ViewSubMetric as dt, type WhereClause as du, type WhereOperator as dv, type WhereOperatorName as dw, type WordLimitFieldAdmin as dx, type WordLimitFieldConfig as dy, type WorkflowMetadata as dz, type DatabaseAdapter as e, captureRequestBody as e0, createDyrectedApp as e1, createObservabilityRuntime as e2, createRequestSpan as e3, decodeCollectionToken as e4, endRequestSpan as e5, getConfigLogger as e6, getObservabilityRuntime as e7, getRequestLogger as e8, redactBody as e9, redactHeaders as ea, renderPrometheusMetrics as eb, resolveInviteTokenExpiry as ec, resolveObservabilityConfig as ed, resolveResetPasswordTokenExpiry as ee, resolveSessionTokenExpiry as ef, shouldSampleRequest as eg, signCollectionToken as eh, verifyCollectionToken as ei, 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 };
|