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:
翅膀 committed 2026-10-23 23:23:40 +08:00
1 parent db070411d3
commit be300d8643
1 file changed
+6
+6
View File
@@ -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;