Stores global settings for the whole application
class GlobalSettings extends VendureEntity implements HasCustomFields { constructor(input?: DeepPartial<GlobalSettings>) @Column('simple-array') availableLanguages: LanguageCode[]; @Column({ default: true }) trackInventory: boolean; @Column({ default: 0 }) outOfStockThreshold: number; @Column(type => CustomGlobalSettingsFields) customFields: CustomGlobalSettingsFields;}Extends: VendureEntity
Implements: HasCustomFields
LanguageCode[]booleanSpecifies the default value for inventory tracking for ProductVariants. Can be overridden per ProductVariant, but this value determines the default if not otherwise specified.
numberSpecifies the value of stockOnHand at which a given ProductVariant is considered out of stock.
CustomGlobalSettingsFields