mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
refactor(console): model group revisions
Carry server revisions explicitly so console writes can reject changes based on an outdated group snapshot.
This commit is contained in:
1 parent
db070411d3
commit
be300d8643
1 file changed
+6
@@ -85,6 +85,12 @@ export interface Group {
|
||||
owners?: string[];
|
||||
providers?: ("github" | "gitea" | "gitlab")[];
|
||||
installationId?: number;
|
||||
/** Self-service group: only its own webhook ingress dispatches to it (super-only). */
|
||||
isolated?: boolean;
|
||||
/** Immutable server-assigned group identity (kept across renames). */
|
||||
instance?: string;
|
||||
/** Server revision of the stored group; sent back on update to detect stale edits. */
|
||||
revision?: string;
|
||||
emoji?: boolean;
|
||||
forgeSources?: ForgeSource[];
|
||||
lang?: string;
|
||||
|
||||
Reference in new issue
Block a user