Fix: Better types

This commit is contained in:
Daniel Hougaard
2024-03-17 18:49:30 +01:00
parent 52fd09b87b
commit 6904cd3bda
+2 -2
View File
@@ -1,4 +1,4 @@
import { ActorAuthMethod, ActorType, AuthMethod } from "@app/services/auth/auth-type"; import { ActorAuthMethod, ActorType } from "@app/services/auth/auth-type";
export type TOrgPermission = { export type TOrgPermission = {
actor: ActorType; actor: ActorType;
@@ -12,7 +12,7 @@ export type TProjectPermission = {
actor: ActorType; actor: ActorType;
actorId: string; actorId: string;
projectId: string; projectId: string;
actorAuthMethod: AuthMethod | null; actorAuthMethod: ActorAuthMethod;
actorOrgId: string | undefined; actorOrgId: string | undefined;
}; };