mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
import payee field as tags when importing a QIF file (#356)
This commit is contained in:
@@ -75,6 +75,11 @@ export interface NameNumeralValue {
|
||||
readonly value: number;
|
||||
}
|
||||
|
||||
export interface KeyAndName {
|
||||
readonly key: string;
|
||||
readonly name: string;
|
||||
}
|
||||
|
||||
export interface TypeAndName {
|
||||
readonly type: number;
|
||||
readonly name: string;
|
||||
|
||||
@@ -68,6 +68,14 @@ export interface ImportFileCategoryAndTypes {
|
||||
readonly fileTypes: ImportFileType[];
|
||||
}
|
||||
|
||||
export interface ImportFileTypeSupportedAdditionalOptions extends Record<string, boolean | undefined> {
|
||||
readonly payeeAsTag?: boolean;
|
||||
readonly payeeAsDescription?: boolean;
|
||||
readonly memberAsTag?: boolean;
|
||||
readonly projectAsTag?: boolean;
|
||||
readonly merchantAsTag?: boolean;
|
||||
}
|
||||
|
||||
export interface ImportFileType extends ImportFileTypeAndExtensions {
|
||||
readonly type: string;
|
||||
readonly name: string;
|
||||
@@ -75,6 +83,7 @@ export interface ImportFileType extends ImportFileTypeAndExtensions {
|
||||
readonly subTypes?: ImportFileTypeSubType[];
|
||||
readonly supportedEncodings?: string[];
|
||||
readonly dataFromTextbox?: boolean;
|
||||
readonly supportedAdditionalOptions?: ImportFileTypeSupportedAdditionalOptions;
|
||||
readonly document?: {
|
||||
readonly supportMultiLanguages: boolean | string;
|
||||
readonly anchor: string;
|
||||
@@ -99,6 +108,7 @@ export interface LocalizedImportFileType extends ImportFileTypeAndExtensions {
|
||||
readonly subTypes?: LocalizedImportFileTypeSubType[];
|
||||
readonly supportedEncodings?: LocalizedImportFileTypeSupportedEncodings[];
|
||||
readonly dataFromTextbox?: boolean;
|
||||
readonly supportedAdditionalOptions?: ImportFileTypeSupportedAdditionalOptions;
|
||||
readonly document?: LocalizedImportFileDocument;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user