Agent
Options
: { authSecret
: string; bodyParserOptions
?: { enableRawChecking
?: boolean; jsonLimit
?: number | string; }; customizeErrorMessage
?: ((error
: Error) => string | null) | null; envSecret
: string; experimental
?: { updateRecordCustomActions
?: boolean; webhookCustomActions
?: boolean; }; forestAdminClient
?: ForestAdminClient; forestServerUrl
?: string; ignoreMissingSchemaElementErrors
?: boolean; instantCacheRefresh
?: boolean; isProduction
: boolean; limitExportSize
?: number; logger
?: Logger; loggerLevel
?: LoggerLevel; maxBodySize
?: string; permissionsCacheDurationInSeconds
?: number; prefix
?: string; schemaPath
?: string; skipSchemaUpdate
?: boolean; typingsMaxDepth
?: number; typingsPath
?: string | null; useUnsafeActionEndpoint
?: boolean; }
Type declaration
-
authSecret: string
-
Optional bodyParserOptions?: {
enableRawChecking?: boolean;
jsonLimit?: number | string;
}
-
Optional enableRawChecking?: boolean
-
Optional jsonLimit?: number | string
-
Optional customizeErrorMessage?: ((error: Error) => string | null) | null
-
envSecret: string
-
Optional experimental?: {
updateRecordCustomActions?: boolean;
webhookCustomActions?: boolean;
}
-
Optional updateRecordCustomActions?: boolean
-
Optional webhookCustomActions?: boolean
-
Optional forestAdminClient?: ForestAdminClient
-
Optional forestServerUrl?: string
-
Optional ignoreMissingSchemaElementErrors?: boolean
-
Optional instantCacheRefresh?: boolean
-
isProduction: boolean
-
Optional limitExportSize?: number
-
Optional logger?: Logger
-
Optional loggerLevel?: LoggerLevel
-
Optional maxBodySize?: string
-
Optional permissionsCacheDurationInSeconds?: number
-
Optional prefix?: string
-
Optional schemaPath?: string
-
Optional skipSchemaUpdate?: boolean
-
Optional typingsMaxDepth?: number
-
Optional typingsPath?: string | null
-
Optional useUnsafeActionEndpoint?: boolean
Options to configure behavior of an agent's forestadmin driver