SettingsStoreScopes
SettingsStoreScopes
Pre-built scope functions for common scoping patterns.
Example
const config: VendureConfig = {
settingsStoreFields: {
dashboard: [
{
name: 'theme',
scope: SettingsStoreScopes.user, // User-specific
},
{
name: 'currency',
scope: SettingsStoreScopes.channel, // Channel-specific
},
{
name: 'tableFilters',
scope: SettingsStoreScopes.userAndChannel, // User-specific per channel
}
]
}
};