Skip to content

GlobalsListView

GlobalsListView(props): Element

Defined in: packages/react/src/components/views/GlobalsListView.tsx:15

Landing page listing every configured global as a clickable card.

Each card links to /admin/globals/{slug} for that global’s edit view.

Component props.

{ admin: { sidebar: { collapsible: "none" | "offcanvas" | "icon"; side: "left" | "right"; }; }; auth?: { collections: object[]; name: string; userCollection: string; }; basePath: string; collections: object[]; globals: object[]; mediaCollections: object[]; schema: { outputPath: string; }; storage?: { adapters: object[]; }; types: { outputPath: string; }; }

The client-side Vex config; reads config.globals.

{ sidebar: { collapsible: "none" | "offcanvas" | "icon"; side: "left" | "right"; }; }

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

{ collapsible: "none" | "offcanvas" | "icon"; side: "left" | "right"; }

Navigation sidebar configuration — always present after defaults are applied.

"none" | "offcanvas" | "icon"

How the sidebar in the admin panel collapses

"left" | "right"

Which side of the viewport the admin sidebar is anchored to.

{ collections: object[]; name: string; userCollection: string; }

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

See

object[]

Auth collections to register alongside user-defined collections.

These are merged into VexConfig.collections automatically by defineConfig(). Each collection uses standard Vex field builders (text(), relationship(), etc.) and may carry admin.readOnly defaults on system fields.

string

Provider identifier for debugging and telemetry.

string

The slug of the collection that stores user documents.

Used by the admin panel to resolve user references and by auth-aware components to look up the current user collection.

string

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

object[]

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

object[]

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

object[]

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.

{ outputPath: string; }

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

string

Path where vex.schema.ts is written. Always set after defaults are applied.

{ adapters: object[]; }

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

object[]

Storage adapters configured for the project.

{ outputPath: string; }

string

Path where vex.types.ts is written. Always set after defaults are applied.

Element

The grid of global cards.