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,55 @@
import * as plugins from '../plugins.ts';
import * as data from '../data/index.ts';
// ============================================================================
// Token Requests
// ============================================================================
export interface IReq_GetTokens extends
plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IReq_GetTokens
> {
method: 'getTokens';
request: {
identity: data.IIdentity;
organizationId?: string;
};
response: {
tokens: data.IToken[];
};
}
export interface IReq_CreateToken extends
plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IReq_CreateToken
> {
method: 'createToken';
request: {
identity: data.IIdentity;
name: string;
organizationId?: string;
protocols: data.TRegistryProtocol[];
scopes: data.ITokenScope[];
expiresInDays?: number;
};
response: {
token: data.ITokenCreateResult;
};
}
export interface IReq_RevokeToken extends
plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IReq_RevokeToken
> {
method: 'revokeToken';
request: {
identity: data.IIdentity;
tokenId: string;
};
response: {
message: string;
};
}