@cranberry-money/shared-constants
Version:
Shared constants for Blueberry platform
35 lines • 1.47 kB
TypeScript
export declare const ACCOUNT_TYPE: {
readonly TRANSACTION: "TRANSACTION";
readonly SAVINGS: "SAVINGS";
readonly OTHER: "OTHER";
};
export type AccountType = (typeof ACCOUNT_TYPE)[keyof typeof ACCOUNT_TYPE];
export declare const ACCOUNT_TYPE_LABELS: Record<AccountType, string>;
export declare const SOURCE_OF_FUNDS_SALARY = "salary";
export declare const SOURCE_OF_FUNDS_SAVINGS = "savings";
export declare const SOURCE_OF_FUNDS_INHERITANCE = "inheritance";
export declare const SOURCE_OF_FUNDS_GIFT = "gift";
export declare const SOURCE_OF_FUNDS_OTHER = "other";
export declare const SOURCE_OF_FUNDS: {
readonly SALARY: "salary";
readonly SAVINGS: "savings";
readonly INHERITANCE: "inheritance";
readonly GIFT: "gift";
readonly OTHER: "other";
};
export type SourceOfFunds = (typeof SOURCE_OF_FUNDS)[keyof typeof SOURCE_OF_FUNDS];
export declare const SOURCE_OF_FUNDS_LABEL_SALARY = "Salary";
export declare const SOURCE_OF_FUNDS_LABEL_SAVINGS = "Savings";
export declare const SOURCE_OF_FUNDS_LABEL_INHERITANCE = "Inheritance";
export declare const SOURCE_OF_FUNDS_LABEL_GIFT = "Gift";
export declare const SOURCE_OF_FUNDS_LABEL_OTHER = "Other";
export declare const SOURCE_OF_FUNDS_LABELS: Record<SourceOfFunds, string>;
export declare const ACCOUNT_TYPE_OPTIONS: {
value: string;
label: string;
}[];
export declare const SOURCE_OF_FUNDS_OPTIONS: {
value: string;
label: string;
}[];
//# sourceMappingURL=accounts.d.ts.map