feat(core): add table actions (edit, pause, delete confirmation) and global action log
- Add Edit and Pause/Resume actions to connections table - Add delete confirmation modal to secrets table - Add 'paused' status to connections with full backend support - Skip paused connections in health checks and secrets scanning - Add global ActionLog service with filesystem persistence - Instrument all mutation handlers (connections, secrets, pipelines) with action logging - Add Action Log view with entity type filtering to dashboard
This commit is contained in:
13
ts_interfaces/data/actionlog.ts
Normal file
13
ts_interfaces/data/actionlog.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export type TActionType = 'create' | 'update' | 'delete' | 'pause' | 'resume' | 'test' | 'scan';
|
||||
export type TActionEntity = 'connection' | 'secret' | 'pipeline';
|
||||
|
||||
export interface IActionLogEntry {
|
||||
id: string;
|
||||
timestamp: number;
|
||||
actionType: TActionType;
|
||||
entityType: TActionEntity;
|
||||
entityId: string;
|
||||
entityName: string;
|
||||
details: string;
|
||||
username: string;
|
||||
}
|
||||
@@ -7,5 +7,5 @@ export interface IProviderConnection {
|
||||
baseUrl: string;
|
||||
token: string;
|
||||
createdAt: number;
|
||||
status: 'connected' | 'disconnected' | 'error';
|
||||
status: 'connected' | 'disconnected' | 'error' | 'paused';
|
||||
}
|
||||
|
||||
@@ -4,3 +4,4 @@ export * from './project.ts';
|
||||
export * from './group.ts';
|
||||
export * from './secret.ts';
|
||||
export * from './pipeline.ts';
|
||||
export * from './actionlog.ts';
|
||||
|
||||
Reference in New Issue
Block a user