Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tailor-platform/sdk/llms.txt
Use this file to discover all available pages before exploring further.
Function Signature
Parameters
Application configuration object
Application name (required)
Environment variables accessible via
context.env in resolvers and via the second argument { env } in workflow job bodiesAllowed CORS origins. Must be an array of strings, e.g.
["https://example.com"]IP addresses allowed to access the application
Disable GraphQL introspection in production
TailorDB service configuration with type definition files
Identity Provider configurations. Must be an array, e.g.
[myIdp]Auth configuration (single object, not an array)
Executor service configuration with executor files
Array of file glob patterns for executor files
Workflow service configuration with workflow files
Array of file glob patterns for workflow files
Static website configurations. Must be an array, e.g.
[website]Enable inline sourcemaps in bundled functions for better error stack traces. Set to
false to disable (e.g., if bundle size exceeds limits)Returns
The same configuration object passed as input, with type safety enforced
Example
Notes
- The function enforces shallow exactness, preventing extra properties at the top level of the config object
- This is the main entry point for configuring your Tailor Platform application
- Export the result as the default export in your
tailor.config.tsfile - The
corsfield accepts static website URLs via the.urlproperty, which are resolved at deployment time - The
authfield is a single object, not an array, whileidpandstaticWebsitesare arrays