Skip to content

VexConfig

Defined in: packages/core/src/config/types.ts:293

Resolved Vex CMS configuration after defaults are applied by defineConfig().

optional access?: VexAccessConfig<Record<string, SubjectEntry>, readonly AccessResource[], string, string | undefined, Partial<Record<string, CustomActionsInput>>>

Defined in: packages/core/src/config/types.ts:296


admin: AdminConfig

Defined in: packages/core/src/config/types.ts:295

Resolved admin panel configuration — always fully populated after defaults are applied.


optional auth?: VexAuthAdapter

Defined in: packages/core/src/config/types.ts:314

Auth adapter registered with this config. Auth collections are merged with user-defined collections — protected collections and locked fields are preserved during merge.


basePath: string

Defined in: packages/core/src/config/types.ts:302

URL prefix for all admin panel routes — always set after defaults are applied.


collections: CollectionConfig<{ }, { }, string, string, ComponentHKT>[]

Defined in: packages/core/src/config/types.ts:298

All registered content collections — always an array after defaults are applied.


globals: GlobalConfig<{ }, { }, string, string, ComponentHKT>[]

Defined in: packages/core/src/config/types.ts:300

Resolved global configs. Always present; defaults to [].


mediaCollections: MediaCollectionConfig[]

Defined in: packages/core/src/config/types.ts:329

Media collections — processed by storage adapters and stored separately from user-defined collections. These appear in the admin panel under a dedicated “Media” section. Each collection is tagged with meta.storageAdapterName indicating which adapter owns it.


schema: SchemaConfig

Defined in: packages/core/src/config/types.ts:304

Resolved schema generation configuration — always fully populated after defaults are applied.


optional storage?: object

Defined in: packages/core/src/config/types.ts:319

Storage adapters registered with this config. Processed media collections from all adapters are available via mediaCollections.

adapters: StorageAdapterPresignedUrlInterface[]

Storage adapters configured for the project.


types: TypesConfig

Defined in: packages/core/src/config/types.ts:305