← back to Trademarks Copyright
src/lib/types.ts
38 lines
export type ItemKind = "trademark" | "copyright";
export type ItemStatus = "abandoned" | "cancelled" | "expired" | "public_domain";
export interface Item {
id: number;
kind: ItemKind;
name: string;
registration_number: string | null;
original_owner: string | null;
nice_class: string | null;
goods_services: string | null;
status: ItemStatus;
filed_date: string | null;
registered_date: string | null;
expired_date: string;
source: string;
source_url: string | null;
notes: string | null;
distinctiveness_score: number | null;
recognition_score: number | null;
domain_available: boolean | null;
competing_active_marks: number | null;
monetization_breadth: number | null;
composite_score: number | null;
monetization_ideas: { title: string; description: string }[];
created_at: string;
updated_at: string;
}
export interface SwotQuadrant {
quadrant: "strength" | "weakness" | "opportunity" | "threat";
content: string;
generated_at: string;
}