mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +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[];
|
owners?: string[];
|
||||||
providers?: ("github" | "gitea" | "gitlab")[];
|
providers?: ("github" | "gitea" | "gitlab")[];
|
||||||
installationId?: number;
|
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;
|
emoji?: boolean;
|
||||||
forgeSources?: ForgeSource[];
|
forgeSources?: ForgeSource[];
|
||||||
lang?: string;
|
lang?: string;
|
||||||
|
|||||||
Reference in new issue
Block a user