mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 07:05:24 +00:00
feat: turn session recording into a plugin (B13)
This commit is contained in:
1 parent
a276f6898c
commit
0af2c94983
147 files changed
+25915
-2074
No files matched your search
@@ -47,6 +47,13 @@ export const TOPICS = {
|
||||
* the row is not gone, only unrecoverable, and should go with it.
|
||||
*/
|
||||
userDataWiped: "user.data_wiped",
|
||||
/**
|
||||
* A user account was deleted. For a plugin whose rows should outlive the
|
||||
* account (evidence, audit trail) rather than cascade with a refUser()
|
||||
* column: it keeps a plain userId column and anonymizes its own rows here,
|
||||
* the way core's own session recordings did before this event existed.
|
||||
*/
|
||||
userDeleted: "user.deleted",
|
||||
} as const;
|
||||
|
||||
export type EventListener = (payload: unknown) => void;
|
||||
|
||||
Reference in new issue
Block a user