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:
2026-02-27 11:13:07 +00:00
parent 630b2502f3
commit 81ead52a72
22 changed files with 564 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
import * as plugins from '../plugins.ts';
import * as data from '../data/index.ts';
export interface IReq_GetActionLog extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IReq_GetActionLog
> {
method: 'getActionLog';
request: {
identity: data.IIdentity;
limit?: number;
offset?: number;
entityType?: data.TActionEntity;
};
response: {
entries: data.IActionLogEntry[];
total: number;
};
}

View File

@@ -63,6 +63,21 @@ export interface IReq_TestConnection extends plugins.typedrequestInterfaces.impl
};
}
export interface IReq_PauseConnection extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IReq_PauseConnection
> {
method: 'pauseConnection';
request: {
identity: data.IIdentity;
connectionId: string;
paused: boolean;
};
response: {
connection: data.IProviderConnection;
};
}
export interface IReq_DeleteConnection extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IReq_DeleteConnection

View File

@@ -7,3 +7,4 @@ export * from './pipelines.ts';
export * from './logs.ts';
export * from './webhook.ts';
export * from './actions.ts';
export * from './actionlog.ts';