import { IResponse } from "../../../types/response.types";

export type CreateStickerType = {
  url: string;
  groupId: string;
};

export type StickerGroupType = {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  name: string;
};

export type StickerType = {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  url: string;
  group: StickerGroupType;
};

export interface StickersResponse extends IResponse<StickerType[]> {
  statusCode: number;
}

export type GroupStickerType = {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  name: string;
  stickers: unknown[];
};

export interface GroupStickersResponse extends IResponse<GroupStickerType[]> {
  statusCode: number;
}
