Application Load

IAppLoadCommonCurrency

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IAppLoadCommonCurrency

Currency symbols, conversion value and selection settings.

interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonCurrency.ts
TypeScript
export interface IAppLoadCommonCurrency {
	// Currency identifier.
	id: number;
	// currency code
	currency_code: string;
	// symbol displayed before a currency label or amount; may be empty
	symbol_left: string;
	// symbol displayed after a currency label or amount; may be empty
	symbol_right: string;
	// currency ID
	value?: number;
	// localized currency name
	locales: Record<string, IAppLoadCommonCurrencyLocale>;
	// Number of decimal places used for prices.
	decimal_place?: number;
	// whether the currency can be selected in the switcher
	allowed_select: boolean;
}