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:
33
ts_interfaces/requests/audit.ts
Normal file
33
ts_interfaces/requests/audit.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import * as plugins from '../plugins.ts';
|
||||
import * as data from '../data/index.ts';
|
||||
|
||||
// ============================================================================
|
||||
// Audit Requests
|
||||
// ============================================================================
|
||||
|
||||
export interface IReq_QueryAudit extends
|
||||
plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IReq_QueryAudit
|
||||
> {
|
||||
method: 'queryAudit';
|
||||
request: {
|
||||
identity: data.IIdentity;
|
||||
organizationId?: string;
|
||||
repositoryId?: string;
|
||||
resourceType?: data.TAuditResourceType;
|
||||
actions?: data.TAuditAction[];
|
||||
success?: boolean;
|
||||
startDate?: string;
|
||||
endDate?: string;
|
||||
actorId?: string;
|
||||
limit?: number;
|
||||
offset?: number;
|
||||
};
|
||||
response: {
|
||||
logs: data.IAuditEntry[];
|
||||
total: number;
|
||||
limit: number;
|
||||
offset: number;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user