c0py: initial scaffolding for website registry tool
CI (SIAX Cloud) / security (push) Successful in 12s
CI (SIAX Cloud) / contracts (push) Failing after 12s
CI (SIAX Cloud) / quality (push) Failing after 8s
Deploy to Coolify / deploy (push) Failing after 2s

This commit is contained in:
2026-09-16 13:15:21 +02:00
commit e6cc719f37
58 changed files with 1131 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"name": "@siax/c0py-types",
"version": "0.1.0",
"private": true,
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"scripts": {
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"devDependencies": {
"typescript": "^5.7.2",
"vitest": "^3.0.0"
}
}
+30
View File
@@ -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;
}
+19
View File
@@ -0,0 +1,19 @@
# C0PY Types Package -- tsconfig.json
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
"outDir": "dist",
"baseUrl": "."
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}
+1
View File
@@ -0,0 +1 @@
{"type": "vitest"}