update permission

This commit is contained in:
Timi
2026-08-11 12:02:38 +08:00
parent e5473eb499
commit bb1fdb5547
4 changed files with 100 additions and 4 deletions
+7
View File
@@ -7,11 +7,18 @@ export interface Permission {
nameLangId?: string;
name?: string;
description?: string;
builtin?: boolean;
protectedPermission?: boolean;
ownerType?: AuthOwnerType;
ownerId?: string;
createdBy?: string;
createdAt?: number;
updatedAt?: number;
deletedAt?: number;
}
export type AuthOwnerType = "SYSTEM" | "MODULE" | "TENANT" | "STORE" | "USER";
export type PermissionPayload = Pick<Permission, "moduleCode" | "code" | "nameLangId" | "name" | "description"> & {
id?: string;
};