{"version":3,"file":"configSchema.mjs","sources":["../../../lib/configurations/config-schema/configSchema.ts"],"sourcesContent":["import * as z from 'zod'\nimport {\n  apiSchema,\n  authenticationSchema,\n  contentSchema,\n  languagesSchema,\n  metadataSchema,\n  routingSchema,\n  themesSchema,\n  trackerSchema,\n} from './'\nimport type { DeepPartial } from './utils'\n\nexport const configSchema = z.object({\n  api: apiSchema,\n  authentication: authenticationSchema,\n  /**\n   * Routing options (optional).\n   */\n  routing: routingSchema,\n\n  /**\n   * Metadata options (optional).\n   */\n  metadata: metadataSchema,\n\n  /**\n   * Content options (optional).\n   */\n  content: contentSchema,\n\n  /**\n   * Language options (optional).\n   */\n  languages: languagesSchema,\n\n  /**\n   * Theming options (optional).\n   */\n  themes: themesSchema,\n\n  /**\n   * Tracker options (optional).\n   */\n  tracker: trackerSchema,\n})\n\nexport type ResolvedConfig = z.infer<typeof configSchema>\nexport type Config = DeepPartial<ResolvedConfig> & {\n  api: ResolvedConfig['api']\n  services: ResolvedConfig['services']\n}\n"],"names":["configSchema","z.object","apiSchema","authenticationSchema","routingSchema","metadataSchema","contentSchema","languagesSchema","themesSchema","trackerSchema"],"mappings":";;;;;;;;;AAaa,MAAAA,IAAeC,EAAS;AAAA,EACnC,KAAKC;AAAA,EACL,gBAAgBC;AAAA;AAAA;AAAA;AAAA,EAIhB,SAASC;AAAA;AAAA;AAAA;AAAA,EAKT,UAAUC;AAAA;AAAA;AAAA;AAAA,EAKV,SAASC;AAAA;AAAA;AAAA;AAAA,EAKT,WAAWC;AAAA;AAAA;AAAA;AAAA,EAKX,QAAQC;AAAA;AAAA;AAAA;AAAA,EAKR,SAASC;AACX,CAAC;"}