feat: processing of modules in card, renaming

This commit is contained in:
2025-02-20 20:21:08 +04:00
parent dc9455966e
commit 8083bdf3d0
29 changed files with 240 additions and 768 deletions

View File

@@ -13,5 +13,6 @@ export type CardGeneralInfoSchema = {
manager?: (UserSchema | null);
boardId: number;
statusId: number;
isServicesProfitAccounted: boolean;
};

View File

@@ -5,11 +5,11 @@
import type { BaseMarketplaceSchema } from './BaseMarketplaceSchema';
export type CardQuickCreateRequest = {
name: string;
clientName: string;
clientName: (string | null);
comment: string;
acceptanceDate: string;
shippingWarehouse: string;
baseMarketplace: BaseMarketplaceSchema;
shippingWarehouse: (string | null);
baseMarketplace: (BaseMarketplaceSchema | null);
statusId: number;
};

View File

@@ -26,11 +26,12 @@ export type CardSchema = {
statusHistory: Array<CardStatusHistorySchema>;
isDeleted: boolean;
isCompleted: boolean;
isServicesProfitAccounted: boolean;
isLocked: boolean;
services: Array<CardServiceSchema>;
products: Array<CardProductSchema>;
clientId: number;
client: ClientSchema;
clientId: (number | null);
client: (ClientSchema | null);
shippingWarehouse?: (ShippingWarehouseSchema | string | null);
billRequest?: (CardBillRequestSchema | null);
group?: (CardGroupSchema | null);

View File

@@ -10,7 +10,7 @@ import type { StatusSchema } from './StatusSchema';
export type CardSummary = {
id: number;
name: string;
clientName: string;
clientName: (string | null);
createdAt: string;
status: StatusSchema;
board: BoardSchema;