feat(opsserver,web): replace the Angular UI and REST management layer with a TypedRequest-based ops server and bundled web frontend

This commit is contained in:
2026-03-20 16:43:44 +00:00
parent 0fc74ff995
commit d4f758ce0f
159 changed files with 12465 additions and 14861 deletions

View File

@@ -0,0 +1,33 @@
// ============================================================================
// Token Data Types
// ============================================================================
import type { TRegistryProtocol } from './package.ts';
export type TTokenAction = 'read' | 'write' | 'delete' | '*';
export interface ITokenScope {
protocol: TRegistryProtocol | '*';
organizationId?: string;
repositoryId?: string;
actions: TTokenAction[];
}
export interface IToken {
id: string;
name: string;
tokenPrefix: string;
protocols: TRegistryProtocol[];
scopes: ITokenScope[];
organizationId?: string;
createdById?: string;
expiresAt?: string;
lastUsedAt?: string;
usageCount: number;
createdAt: string;
}
export interface ITokenCreateResult extends IToken {
token: string;
warning: string;
}