We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ac752 commit 40cc2acCopy full SHA for 40cc2ac
1 file changed
apps/api/src/sessions/dto/create-session.dto.ts
@@ -2,11 +2,13 @@ import { ValidationSchema } from '@douglasneuroinformatics/libnest';
2
import { $CreateSessionData } from '@opendatacapture/schemas/session';
3
import type { SessionType } from '@opendatacapture/schemas/session';
4
import type { CreateSubjectData } from '@opendatacapture/schemas/subject';
5
+import type { CreateUserData } from '@opendatacapture/schemas/user';
6
7
@ValidationSchema($CreateSessionData)
8
export class CreateSessionDto {
9
date: Date;
10
groupId: null | string;
11
subjectData: CreateSubjectData;
12
type: SessionType;
13
+ userData: CreateUserData;
14
}
0 commit comments