Interface: CreateFormServicesOptions
Defined in: server/forms/factory.ts:9
Properties
fileStore
fileStore: FileStore;Defined in: server/forms/factory.ts:13
File storage adapter.
formats?
optional formats?: FormatValidators;Defined in: server/forms/factory.ts:21
Optional map of field.format strings to Zod validators, e.g.
{ zipcode: usZipCodeSchema }. Applied to string-like fields at
validate-time. The package ships no formats of its own.
getActorId
getActorId: () => string | null;Defined in: server/forms/factory.ts:11
Returns the current actor's ID for audit fields, or null for system/anonymous.
Returns
string | null
hooks?
optional hooks?: FormFeatureHooks;Defined in: server/forms/factory.ts:15
Optional lifecycle hooks.