feat: added tags for cards, aligned status headers
This commit is contained in:
9
src/client/models/BaseCardTagSchema.ts
Normal file
9
src/client/models/BaseCardTagSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type BaseCardTagSchema = {
|
||||
name: string;
|
||||
projectId: number;
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ export type CardGeneralInfoSchema = {
|
||||
manager?: (UserSchema | null);
|
||||
boardId: number;
|
||||
statusId: number;
|
||||
isServicesProfitAccounted: boolean;
|
||||
clientId: (number | null);
|
||||
tags: Array<string>;
|
||||
};
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import type { CardGroupSchema } from './CardGroupSchema';
|
||||
import type { CardProductSchema } from './CardProductSchema';
|
||||
import type { CardServiceSchema } from './CardServiceSchema';
|
||||
import type { CardStatusHistorySchema } from './CardStatusHistorySchema';
|
||||
import type { CardTagSchema } from './CardTagSchema';
|
||||
import type { ClientSchema } from './ClientSchema';
|
||||
import type { PalletSchema } from './PalletSchema';
|
||||
import type { ShippingWarehouseSchema } from './ShippingWarehouseSchema';
|
||||
@@ -39,6 +40,7 @@ export type CardSchema = {
|
||||
pallets?: Array<PalletSchema>;
|
||||
boxes?: Array<BoxSchema>;
|
||||
employees?: Array<CardEmployeesSchema>;
|
||||
tags?: Array<CardTagSchema>;
|
||||
attributes: Array<CardAttributeSchema>;
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { BaseMarketplaceSchema } from './BaseMarketplaceSchema';
|
||||
import type { BoardSchema } from './BoardSchema';
|
||||
import type { CardBillRequestSchema } from './CardBillRequestSchema';
|
||||
import type { CardGroupSchema } from './CardGroupSchema';
|
||||
import type { CardTagSchema } from './CardTagSchema';
|
||||
import type { StatusSchema } from './StatusSchema';
|
||||
export type CardSummary = {
|
||||
id: number;
|
||||
@@ -18,6 +19,7 @@ export type CardSummary = {
|
||||
rank: number;
|
||||
baseMarketplace?: (BaseMarketplaceSchema | null);
|
||||
totalProducts: number;
|
||||
tags: Array<CardTagSchema>;
|
||||
shipmentWarehouseId: (number | null);
|
||||
shipmentWarehouseName: (string | null);
|
||||
billRequest?: (CardBillRequestSchema | null);
|
||||
|
||||
10
src/client/models/CardTagSchema.ts
Normal file
10
src/client/models/CardTagSchema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type CardTagSchema = {
|
||||
name: string;
|
||||
projectId: number;
|
||||
id: number;
|
||||
};
|
||||
|
||||
9
src/client/models/CreateTagRequest.ts
Normal file
9
src/client/models/CreateTagRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BaseCardTagSchema } from './BaseCardTagSchema';
|
||||
export type CreateTagRequest = {
|
||||
tag: BaseCardTagSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/CreateTagResponse.ts
Normal file
9
src/client/models/CreateTagResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type CreateTagResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DeleteTagResponse.ts
Normal file
9
src/client/models/DeleteTagResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DeleteTagResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
@@ -3,12 +3,14 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { AttributeSchema } from './AttributeSchema';
|
||||
import type { CardTagSchema } from './CardTagSchema';
|
||||
import type { ModuleSchema } from './ModuleSchema';
|
||||
export type FullProjectSchema = {
|
||||
name: string;
|
||||
id: number;
|
||||
attributes: Array<AttributeSchema>;
|
||||
modules: Array<ModuleSchema>;
|
||||
tags: Array<CardTagSchema>;
|
||||
boardsCount: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ export type GetProfitChartDataRequest = {
|
||||
projectId: number;
|
||||
boardId: number;
|
||||
cardStatusId: number;
|
||||
cardTagId: number;
|
||||
managerId: number;
|
||||
expenseTagId: number;
|
||||
incomeTagId: number;
|
||||
|
||||
@@ -10,6 +10,7 @@ export type GetProfitTableDataRequest = {
|
||||
projectId: number;
|
||||
boardId: number;
|
||||
cardStatusId: number;
|
||||
cardTagId: number;
|
||||
managerId: number;
|
||||
expenseTagId: number;
|
||||
incomeTagId: number;
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
/* eslint-disable */
|
||||
export type ProductsAndServicesGeneralInfoSchema = {
|
||||
shippingWarehouse?: (string | null);
|
||||
isServicesProfitAccounted: boolean;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProfitTableGroupBy = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
||||
export type ProfitTableGroupBy = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
||||
|
||||
@@ -3,11 +3,13 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { AttributeSchema } from './AttributeSchema';
|
||||
import type { CardTagSchema } from './CardTagSchema';
|
||||
import type { ModuleSchema } from './ModuleSchema';
|
||||
export type ProjectSchema = {
|
||||
name: string;
|
||||
id: number;
|
||||
attributes: Array<AttributeSchema>;
|
||||
modules: Array<ModuleSchema>;
|
||||
tags: Array<CardTagSchema>;
|
||||
};
|
||||
|
||||
|
||||
10
src/client/models/SwitchTagRequest.ts
Normal file
10
src/client/models/SwitchTagRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type SwitchTagRequest = {
|
||||
tagId: number;
|
||||
cardId?: (number | null);
|
||||
groupId?: (number | null);
|
||||
};
|
||||
|
||||
9
src/client/models/SwitchTagResponse.ts
Normal file
9
src/client/models/SwitchTagResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type SwitchTagResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateTagRequest.ts
Normal file
9
src/client/models/UpdateTagRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { CardTagSchema } from './CardTagSchema';
|
||||
export type UpdateTagRequest = {
|
||||
tag: CardTagSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateTagResponse.ts
Normal file
9
src/client/models/UpdateTagResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateTagResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user