This commit is contained in:
hamid zarghami
2025-12-29 14:32:07 +03:30
parent 782ceae3e5
commit fe07425d7e
7 changed files with 327 additions and 151 deletions
-44
View File
@@ -1,44 +0,0 @@
import { IResponse } from "../../../../types/response.types";
export type CreateGroupIconType = {
name: string;
};
export type GroupIconType = {
id: string;
createdAt: string;
updatedAt: string;
deletedAt: string | null;
name: string;
icons: unknown[];
};
export interface GroupIconsResponse extends IResponse<GroupIconType[]> {
statusCode: number;
}
export type CreateIconType = {
url: string;
groupId: string;
};
export type IconGroupType = {
id: string;
createdAt: string;
updatedAt: string;
deletedAt: string | null;
name: string;
};
export type IconType = {
id: string;
createdAt: string;
updatedAt: string;
deletedAt: string | null;
url: string;
group: IconGroupType;
};
export interface IconsResponse extends IResponse<IconType[]> {
statusCode: number;
}