purespectrum-lib
Version:
shared code between front and backend projects
62 lines (61 loc) • 1.48 kB
TypeScript
export declare const suppliersMock: {
id: number;
quantity: number;
percentage: number;
}[];
export declare const suppliersWithQuantityMock: {
id: number;
quantity: number;
percentage: number;
}[];
export declare const blendMock: {
suppliers: {
group_name: string;
id: string;
supplier_id: {
id: number;
allocation: number;
}[];
allocation_percentage: string;
is_custom_allocation: boolean;
}[];
config_name: string;
id: string;
is_default: boolean;
blend_flexibility: number;
};
export declare const blendsListResponseMock: {
suppliers: ({
group_name: string;
id: string;
supplier_id: {
id: number;
allocation: number;
}[];
allocation_percentage: string;
flexibility_percentage: string;
is_custom_allocation: boolean;
} | {
group_name: string;
id: string;
supplier_id: {
id: number;
allocation: number;
}[];
allocation_percentage: string;
is_custom_allocation: boolean;
flexibility_percentage?: undefined;
})[];
is_default: boolean;
is_active: boolean;
is_locked: boolean;
config_name: string;
buyer_id: number;
id: string;
blend_flexibility: number;
flexibilitySelectedType: {
key: number;
value: string;
};
locale: string;
}[];