VexConfig
Defined in: packages/core/src/config/types.ts:293
Resolved Vex CMS configuration after defaults are applied by defineConfig().
- VexConfigInput for the user-facing input type
- defineConfig for the config function
Properties
Section titled “Properties”access?
Section titled “access?”
optionalaccess?:VexAccessConfig<Record<string,SubjectEntry>, readonlyAccessResource[],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.
optionalauth?: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.
- VexAuthAdapter for the adapter interface
- better-auth/src!betterAuthAdapter for the Better Auth implementation
basePath
Section titled “basePath”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
Section titled “collections”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
Section titled “globals”globals:
GlobalConfig<{ }, { },string,string,ComponentHKT>[]
Defined in: packages/core/src/config/types.ts:300
Resolved global configs. Always present; defaults to [].
mediaCollections
Section titled “mediaCollections”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
Section titled “schema”schema:
SchemaConfig
Defined in: packages/core/src/config/types.ts:304
Resolved schema generation configuration — always fully populated after defaults are applied.
storage?
Section titled “storage?”
optionalstorage?: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
Section titled “adapters”adapters:
StorageAdapterPresignedUrlInterface[]
Storage adapters configured for the project.
types:
TypesConfig
Defined in: packages/core/src/config/types.ts:305