feat: attributes in cards and projects
This commit is contained in:
@@ -4,12 +4,15 @@
|
||||
/* eslint-disable */
|
||||
import type { AttributeTypeSchema } from './AttributeTypeSchema';
|
||||
export type AttributeSchema = {
|
||||
id: number;
|
||||
label: string;
|
||||
name: string;
|
||||
isApplicableToGroup: boolean;
|
||||
isNullable: boolean;
|
||||
defaultValue: (boolean | number | string | null);
|
||||
typeId: number;
|
||||
description: string;
|
||||
id: number;
|
||||
type: AttributeTypeSchema;
|
||||
isDeleted: boolean;
|
||||
};
|
||||
|
||||
|
||||
14
src/client/models/BaseAttributeSchema.ts
Normal file
14
src/client/models/BaseAttributeSchema.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type BaseAttributeSchema = {
|
||||
label: string;
|
||||
name: string;
|
||||
isApplicableToGroup: boolean;
|
||||
isNullable: boolean;
|
||||
defaultValue: (boolean | number | string | null);
|
||||
typeId: number;
|
||||
description: string;
|
||||
};
|
||||
|
||||
@@ -14,5 +14,6 @@ export type CardGeneralInfoSchema = {
|
||||
boardId: number;
|
||||
statusId: number;
|
||||
isServicesProfitAccounted: boolean;
|
||||
clientId: (number | null);
|
||||
};
|
||||
|
||||
|
||||
9
src/client/models/CreateAttributeRequest.ts
Normal file
9
src/client/models/CreateAttributeRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BaseAttributeSchema } from './BaseAttributeSchema';
|
||||
export type CreateAttributeRequest = {
|
||||
attribute: BaseAttributeSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/CreateAttributeResponse.ts
Normal file
9
src/client/models/CreateAttributeResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type CreateAttributeResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DeleteAttributeResponse.ts
Normal file
9
src/client/models/DeleteAttributeResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DeleteAttributeResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/GetAllModulesResponse.ts
Normal file
9
src/client/models/GetAllModulesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ModuleSchema } from './ModuleSchema';
|
||||
export type GetAllModulesResponse = {
|
||||
modules: Array<ModuleSchema>;
|
||||
};
|
||||
|
||||
9
src/client/models/GetAttributeTypesResponse.ts
Normal file
9
src/client/models/GetAttributeTypesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { AttributeTypeSchema } from './AttributeTypeSchema';
|
||||
export type GetAttributeTypesResponse = {
|
||||
types: Array<AttributeTypeSchema>;
|
||||
};
|
||||
|
||||
9
src/client/models/GetAttributesResponse.ts
Normal file
9
src/client/models/GetAttributesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { AttributeSchema } from './AttributeSchema';
|
||||
export type GetAttributesResponse = {
|
||||
attributes: Array<AttributeSchema>;
|
||||
};
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
export type ModuleSchema = {
|
||||
id: number;
|
||||
key: string;
|
||||
label: string;
|
||||
isDeleted: boolean;
|
||||
};
|
||||
|
||||
|
||||
9
src/client/models/UpdateAttributeRequest.ts
Normal file
9
src/client/models/UpdateAttributeRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { AttributeSchema } from './AttributeSchema';
|
||||
export type UpdateAttributeRequest = {
|
||||
attribute: AttributeSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateAttributeResponse.ts
Normal file
9
src/client/models/UpdateAttributeResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateAttributeResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateAttributesRequest.ts
Normal file
9
src/client/models/UpdateAttributesRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateAttributesRequest = {
|
||||
projectId: number;
|
||||
attributeIds: Array<number>;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateAttributesResponse.ts
Normal file
9
src/client/models/UpdateAttributesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateAttributesResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateModulesRequest.ts
Normal file
9
src/client/models/UpdateModulesRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateModulesRequest = {
|
||||
projectId: number;
|
||||
moduleIds: Array<number>;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateModulesResponse.ts
Normal file
9
src/client/models/UpdateModulesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateModulesResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user