UNPKG

@r1tsu/payload

Version:

45 lines (44 loc) 1.04 kB
export const defaults = { admin: { avatar: 'default', components: {}, custom: {}, dateFormat: 'MMMM do yyyy, h:mm a', disable: false, inactivityRoute: '/logout-inactivity', logoutRoute: '/logout', meta: { titleSuffix: '- Payload' } }, bin: [], collections: [], cookiePrefix: 'payload', cors: [], csrf: [], custom: {}, defaultDepth: 2, defaultMaxTextLength: 40000, endpoints: [], globals: [], graphQL: { disablePlaygroundInProduction: true, maxComplexity: 1000 }, hooks: {}, localization: false, maxDepth: 10, routes: { admin: '/admin', api: '/api', graphQL: '/graphql', graphQLPlayground: '/graphql-playground' }, serverURL: '', telemetry: true, typescript: { outputFile: `${typeof process?.cwd === 'function' ? process.cwd() : ''}/payload-types.ts` }, upload: {} }; //# sourceMappingURL=defaults.js.map