feat(core): migration for created by and updated by fields (#12171)

This commit is contained in:
EYHN
2025-05-08 19:34:21 +08:00
committed by GitHub
parent 11dfc1d1df
commit 7c8b977bf9
13 changed files with 458 additions and 2 deletions

View File

@@ -20,6 +20,9 @@ export class WorkspacePermission extends Entity {
);
isOwner$ = this.cache$.map(cache => cache?.isOwner ?? null);
isAdmin$ = this.cache$.map(cache => cache?.isAdmin ?? null);
isOwnerOrAdmin$ = this.cache$.map(
cache => (cache?.isOwner ?? null) || (cache?.isAdmin ?? null)
);
isTeam$ = this.cache$.map(cache => cache?.isTeam ?? null);
isRevalidating$ = new LiveData(false);