Feat: Scoped JWT to organization, actorAuthMethod to create project DTO

This commit is contained in:
Daniel Hougaard
2024-03-12 14:26:14 +01:00
parent a9c1f278a1
commit 65776b7ab9

View File

@@ -1,7 +1,7 @@
import { ProjectMembershipRole, TProjectKeys } from "@app/db/schemas";
import { TProjectPermission } from "@app/lib/types";
import { ActorType } from "../auth/auth-type";
import { ActorAuthMethod, ActorType } from "../auth/auth-type";
export enum ProjectFilterType {
ID = "id",
@@ -21,6 +21,7 @@ export type Filter =
export type TCreateProjectDTO = {
actor: ActorType;
actorAuthMethod: ActorAuthMethod;
actorId: string;
actorOrgId?: string;
orgSlug: string;