Remove REST API, keep GraphQL as sole API
- Add missing GraphQL mutations: retryJob, updateAsset, deleteAsset - Add UpdateAssetRequest and DeleteResult to schema source of truth - Move Lambda callback endpoint to main.py (only REST endpoint) - Remove REST routes, pydantic schemas, and deps - Remove pydantic target from modelgen.json - Update architecture diagrams and documentation
This commit is contained in:
@@ -82,6 +82,11 @@ export interface CreateJobRequest {
|
||||
priority: number;
|
||||
}
|
||||
|
||||
export interface UpdateAssetRequest {
|
||||
comments: string | null;
|
||||
tags: string[] | null;
|
||||
}
|
||||
|
||||
export interface SystemStatus {
|
||||
status: string;
|
||||
version: string;
|
||||
@@ -94,6 +99,10 @@ export interface ScanResult {
|
||||
files: string[];
|
||||
}
|
||||
|
||||
export interface DeleteResult {
|
||||
ok: boolean;
|
||||
}
|
||||
|
||||
export interface WorkerStatus {
|
||||
available: boolean;
|
||||
active_jobs: number;
|
||||
|
||||
Reference in New Issue
Block a user