feat: statuses colors

This commit is contained in:
2025-10-11 12:15:03 +04:00
parent 5e56daa765
commit a899177623
15 changed files with 222 additions and 130 deletions

View File

@ -748,6 +748,10 @@ export type CreateStatusSchema = {
* Lexorank
*/
lexorank: string;
/**
* Color
*/
color: string;
};
/**
@ -1522,6 +1526,10 @@ export type StatusSchema = {
* Lexorank
*/
lexorank: string;
/**
* Color
*/
color: string;
};
/**
@ -2013,6 +2021,10 @@ export type UpdateStatusSchema = {
* Lexorank
*/
lexorank?: string | null;
/**
* Color
*/
color?: string | null;
};
/**

View File

@ -312,6 +312,7 @@ export const zStatusSchema = z.object({
id: z.int(),
name: z.string(),
lexorank: z.string(),
color: z.string(),
});
/**
@ -556,6 +557,7 @@ export const zCreateStatusSchema = z.object({
name: z.string(),
boardId: z.int(),
lexorank: z.string(),
color: z.string(),
});
/**
@ -1190,6 +1192,7 @@ export const zUpdateServicesKitResponse = z.object({
export const zUpdateStatusSchema = z.object({
name: z.optional(z.union([z.string(), z.null()])),
lexorank: z.optional(z.union([z.string(), z.null()])),
color: z.optional(z.union([z.string(), z.null()])),
});
/**