fix: only tanstack usage in optimistic updates
This commit is contained in:
@ -229,9 +229,9 @@ export type DeleteStatusResponse = {
|
||||
*/
|
||||
export type GetBoardsResponse = {
|
||||
/**
|
||||
* Boards
|
||||
* Items
|
||||
*/
|
||||
boards: Array<BoardSchema>;
|
||||
items: Array<BoardSchema>;
|
||||
};
|
||||
|
||||
/**
|
||||
@ -239,9 +239,9 @@ export type GetBoardsResponse = {
|
||||
*/
|
||||
export type GetDealsResponse = {
|
||||
/**
|
||||
* Deals
|
||||
* Items
|
||||
*/
|
||||
deals: Array<DealSchema>;
|
||||
items: Array<DealSchema>;
|
||||
paginationInfo: PaginationInfoSchema;
|
||||
};
|
||||
|
||||
@ -250,9 +250,9 @@ export type GetDealsResponse = {
|
||||
*/
|
||||
export type GetProjectsResponse = {
|
||||
/**
|
||||
* Projects
|
||||
* Items
|
||||
*/
|
||||
projects: Array<ProjectSchema>;
|
||||
items: Array<ProjectSchema>;
|
||||
};
|
||||
|
||||
/**
|
||||
@ -260,9 +260,9 @@ export type GetProjectsResponse = {
|
||||
*/
|
||||
export type GetStatusesResponse = {
|
||||
/**
|
||||
* Statuses
|
||||
* Items
|
||||
*/
|
||||
statuses: Array<StatusSchema>;
|
||||
items: Array<StatusSchema>;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@ -168,7 +168,7 @@ export const zDeleteStatusResponse = z.object({
|
||||
* GetBoardsResponse
|
||||
*/
|
||||
export const zGetBoardsResponse = z.object({
|
||||
boards: z.array(zBoardSchema),
|
||||
items: z.array(zBoardSchema),
|
||||
});
|
||||
|
||||
/**
|
||||
@ -183,7 +183,7 @@ export const zPaginationInfoSchema = z.object({
|
||||
* GetDealsResponse
|
||||
*/
|
||||
export const zGetDealsResponse = z.object({
|
||||
deals: z.array(zDealSchema),
|
||||
items: z.array(zDealSchema),
|
||||
paginationInfo: zPaginationInfoSchema,
|
||||
});
|
||||
|
||||
@ -191,14 +191,14 @@ export const zGetDealsResponse = z.object({
|
||||
* GetProjectsResponse
|
||||
*/
|
||||
export const zGetProjectsResponse = z.object({
|
||||
projects: z.array(zProjectSchema),
|
||||
items: z.array(zProjectSchema),
|
||||
});
|
||||
|
||||
/**
|
||||
* GetStatusesResponse
|
||||
*/
|
||||
export const zGetStatusesResponse = z.object({
|
||||
statuses: z.array(zStatusSchema),
|
||||
items: z.array(zStatusSchema),
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user