square.ts 500 Bytes
import { User } from '@/types/user';

export interface Square {
  title: string;
  is_top: 0 | 1;
  status: 0 | 1;
  type?: number;
  created_at?: string;
  deleted_at?: string | null;
  view_count?: number;
  interact_count?: number;
  user?: User;

  attach_users?: [];
  attach_activities?: [];
  attach_images?: [];
  attach_musics?: [];
}

export interface SquareImage {
  id: number;
  value: string;
}

export interface SquareComment {
  id: number;
  content: string;
  created_at: string;
}