Configuration for a settings store field, defining how it should be stored, scoped, validated, and accessed.
stringThe name of the field. This will be combined with the namespace to create the full key (e.g., 'dashboard.theme').
SettingsStoreScopeFunctionFunction that determines how this field should be scoped. Defaults to global scoping (no isolation).
booleanfalseWhether this field is readonly via the GraphQL API. Readonly fields can still be modified programmatically via a service.
| Array<Permission | string> | Permission | string | { read?: Array<Permission | string> | Permission | string; write?: Array<Permission | string> | Permission | string; }v3.5.0 - Added support for object with read/write propertiesPermissions required to access this field. If not specified, basic authentication is required for admin API access.
Can be either:
read and write properties for granular controlExample
( value: any, injector: Injector, ctx: RequestContext, ) => string | LocalizedString[] | void | Promise<string | LocalizedString[] | void>Custom validation function for field values.
Architecture reviews, custom plugin work, migrations, ongoing support. Get a hand from the team that builds Vendure.
Talk to the team