export enum CategoryType {
    EXPENSE = "EXPENSE",
    INCOME = "INCOME",
}

export const CategoryTypeName: Record<CategoryType, string> = {
    [CategoryType.EXPENSE]: 'Расходы',
    [CategoryType.INCOME]: 'Поступления',
}

export enum SettingType {
    PERIOD_START = "PERIOD_START",
    SUB_PERIOD_START = "SUB_PERIOD_START",
    NOTIFICATIONS_ENABLED = "NOTIFICATIONS_ENABLED",
    NOTIFICATIONS_DAYS = "NOTIFICATIONS_DAYS",
    NOTIFICATIONS_TIME = "NOTIFICATIONS_TIME",
}


export enum TransactionType {
    INCOME = "INCOME",
    EXPENSE = "EXPENSE",
}

export const TransactionTypeName: Record<TransactionType, string> = {
    [TransactionType.EXPENSE]: 'Расходы',
    [TransactionType.INCOME]: 'Поступления',
}

export enum TransactionKind {
    PLANNING = "PLANNING",
    INSTANT = "INSTANT",
}

export const TransactionKindName: Record<TransactionKind, string> = {
    [TransactionKind.INSTANT]: 'Текущие',
    [TransactionKind.PLANNING]: 'Плановые',
}


export enum TargetType {
    AUTO = "AUTO",
    LEISURE = "LEISURE",
    VACATION = "VACATION",
    GOODS = "GOODS",
    OTHER = "OTHER",
}

export const TargetTypeName: Record<TargetType, string> = {
    [TargetType.AUTO]: 'Авто',
    [TargetType.LEISURE]: 'Досуг',
    [TargetType.VACATION]: 'Отпуск',
    [TargetType.GOODS]: 'Покупка',
    [TargetType.OTHER]: 'Другое'
}
export const TargetTypeIcon: Record<TargetType, string> = {
    [TargetType.AUTO]: '🏎️',
    [TargetType.LEISURE]: '💃',
    [TargetType.VACATION]: '🏖',
    [TargetType.GOODS]: '🛍️',
    [TargetType.OTHER]: '💸'
}

