c0py: initial scaffolding for website registry tool
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
export interface Page {
|
||||
id: string;
|
||||
registryId: string;
|
||||
url: string;
|
||||
path: string;
|
||||
title: string | null;
|
||||
description: string | null;
|
||||
statusCode: number;
|
||||
contentType: string | null;
|
||||
discoveredAt: Date;
|
||||
analysis: Record<string, unknown> | null;
|
||||
}
|
||||
|
||||
export interface ScanRun {
|
||||
id: string;
|
||||
registryId: string;
|
||||
url: string;
|
||||
status: "pending" | "running" | "completed" | "failed";
|
||||
startedAt: Date;
|
||||
completedAt: Date | null;
|
||||
error: string | null;
|
||||
}
|
||||
|
||||
export interface Registry {
|
||||
id: string;
|
||||
url: string;
|
||||
name: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user