import { MultiSelectOption } from '../../node_modules/tsv2-library/dist/src/types/options'; import { UserDataType } from './user.type'; export type AssetDataType = { _id: string; assetImageSmall: string; assetImageMedium: string; assetImageBig: string; name: AssetBrandModelValue; brand: AssetBrandModelValue; model: AssetBrandModelValue; group: TreeNode; user?: UserDataType; rfid: boolean | null; qr: boolean | null; tagType?: string; status?: string; hasLinked?: boolean; }; export type AssetBrandModelValue = { _id: string; nameWithSequence?: string; aliasCode?: string; sequence?: string; key: number; name?: string; category?: TreeNode; tagType?: string; }; export type AssetDataParams = { brand?: number[]; model?: number[]; group?: number[]; user?: number[]; tagType?: string[]; status?: string[]; excludeId?: string[]; name?: string[]; _id?: string; }; export type AssetDataFilterParams = Partial>; export type TreeNode = { _id: string; name: string; key: number; }; export type AssetOptionFilter = { brandOptions?: MultiSelectOption[]; modelOptions?: MultiSelectOption[]; nameOptions?: MultiSelectOption[]; userOptions?: MultiSelectOption[]; }; export type AssetOptionBoolean = { brandOptions?: boolean; modelOptions?: boolean; nameOptions?: boolean; userOptions?: boolean; _id?: string; excludeId?: string; };