From 65776b7ab98e4e5eeeb005b844264a6ccdf2c9a7 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Tue, 12 Mar 2024 14:26:14 +0100 Subject: [PATCH] Feat: Scoped JWT to organization, actorAuthMethod to create project DTO --- backend/src/services/project/project-types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/services/project/project-types.ts b/backend/src/services/project/project-types.ts index 69816882e..2b84dc1db 100644 --- a/backend/src/services/project/project-types.ts +++ b/backend/src/services/project/project-types.ts @@ -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;