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:
19
ts_interfaces/requests/actionlog.ts
Normal file
19
ts_interfaces/requests/actionlog.ts
Normal 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;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -7,3 +7,4 @@ export * from './pipelines.ts';
|
||||
export * from './logs.ts';
|
||||
export * from './webhook.ts';
|
||||
export * from './actions.ts';
|
||||
export * from './actionlog.ts';
|
||||
|
||||
Reference in New Issue
Block a user