@virtality/schema 0.0.1-alpha0.2.9 → 0.0.1-alpha0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -6
- package/prisma/generated/browser.d.ts +48 -43
- package/prisma/generated/client.d.ts +51 -46
- package/prisma/generated/client.js +3 -3
- package/prisma/generated/commonInputTypes.d.ts +170 -170
- package/prisma/generated/internal/class.d.ts +108 -97
- package/prisma/generated/internal/class.js +4 -4
- package/prisma/generated/internal/prismaNamespace.d.ts +1039 -940
- package/prisma/generated/internal/prismaNamespace.js +135 -128
- package/prisma/generated/internal/prismaNamespaceBrowser.d.ts +146 -138
- package/prisma/generated/internal/prismaNamespaceBrowser.js +131 -124
- package/prisma/generated/models/Account.d.ts +8 -20
- package/prisma/generated/models/Avatar.d.ts +6 -0
- package/prisma/generated/models/Device.d.ts +14 -8
- package/prisma/generated/models/Exercise.d.ts +42 -42
- package/prisma/generated/models/Patient.d.ts +60 -60
- package/prisma/generated/models/PatientProgram.d.ts +71 -71
- package/prisma/generated/models/PatientSession.d.ts +153 -153
- package/prisma/generated/models/PresetExercise.d.ts +0 -7
- package/prisma/generated/models/ReferralCode.d.ts +1153 -0
- package/prisma/generated/models/ReferralCode.js +1 -0
- package/prisma/generated/models/User.d.ts +268 -88
- package/prisma/generated/models.d.ts +15 -14
|
@@ -307,14 +307,6 @@ export type PatientSessionUncheckedUpdateManyInput = {
|
|
|
307
307
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
308
308
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
309
309
|
};
|
|
310
|
-
export type PatientSessionListRelationFilter = {
|
|
311
|
-
every?: Prisma.PatientSessionWhereInput;
|
|
312
|
-
some?: Prisma.PatientSessionWhereInput;
|
|
313
|
-
none?: Prisma.PatientSessionWhereInput;
|
|
314
|
-
};
|
|
315
|
-
export type PatientSessionOrderByRelationAggregateInput = {
|
|
316
|
-
_count?: Prisma.SortOrder;
|
|
317
|
-
};
|
|
318
310
|
export type PatientSessionCountOrderByAggregateInput = {
|
|
319
311
|
id?: Prisma.SortOrder;
|
|
320
312
|
patientId?: Prisma.SortOrder;
|
|
@@ -349,6 +341,56 @@ export type PatientSessionNullableScalarRelationFilter = {
|
|
|
349
341
|
is?: Prisma.PatientSessionWhereInput | null;
|
|
350
342
|
isNot?: Prisma.PatientSessionWhereInput | null;
|
|
351
343
|
};
|
|
344
|
+
export type PatientSessionListRelationFilter = {
|
|
345
|
+
every?: Prisma.PatientSessionWhereInput;
|
|
346
|
+
some?: Prisma.PatientSessionWhereInput;
|
|
347
|
+
none?: Prisma.PatientSessionWhereInput;
|
|
348
|
+
};
|
|
349
|
+
export type PatientSessionOrderByRelationAggregateInput = {
|
|
350
|
+
_count?: Prisma.SortOrder;
|
|
351
|
+
};
|
|
352
|
+
export type PatientSessionCreateNestedOneWithoutSessionExerciseInput = {
|
|
353
|
+
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionExerciseInput, Prisma.PatientSessionUncheckedCreateWithoutSessionExerciseInput>;
|
|
354
|
+
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionExerciseInput;
|
|
355
|
+
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
356
|
+
};
|
|
357
|
+
export type PatientSessionUpdateOneWithoutSessionExerciseNestedInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionExerciseInput, Prisma.PatientSessionUncheckedCreateWithoutSessionExerciseInput>;
|
|
359
|
+
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionExerciseInput;
|
|
360
|
+
upsert?: Prisma.PatientSessionUpsertWithoutSessionExerciseInput;
|
|
361
|
+
disconnect?: Prisma.PatientSessionWhereInput | boolean;
|
|
362
|
+
delete?: Prisma.PatientSessionWhereInput | boolean;
|
|
363
|
+
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
364
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PatientSessionUpdateToOneWithWhereWithoutSessionExerciseInput, Prisma.PatientSessionUpdateWithoutSessionExerciseInput>, Prisma.PatientSessionUncheckedUpdateWithoutSessionExerciseInput>;
|
|
365
|
+
};
|
|
366
|
+
export type PatientSessionCreateNestedOneWithoutSessionDataInput = {
|
|
367
|
+
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionDataInput, Prisma.PatientSessionUncheckedCreateWithoutSessionDataInput>;
|
|
368
|
+
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionDataInput;
|
|
369
|
+
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
370
|
+
};
|
|
371
|
+
export type PatientSessionUpdateOneWithoutSessionDataNestedInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionDataInput, Prisma.PatientSessionUncheckedCreateWithoutSessionDataInput>;
|
|
373
|
+
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionDataInput;
|
|
374
|
+
upsert?: Prisma.PatientSessionUpsertWithoutSessionDataInput;
|
|
375
|
+
disconnect?: Prisma.PatientSessionWhereInput | boolean;
|
|
376
|
+
delete?: Prisma.PatientSessionWhereInput | boolean;
|
|
377
|
+
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
378
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PatientSessionUpdateToOneWithWhereWithoutSessionDataInput, Prisma.PatientSessionUpdateWithoutSessionDataInput>, Prisma.PatientSessionUncheckedUpdateWithoutSessionDataInput>;
|
|
379
|
+
};
|
|
380
|
+
export type PatientSessionCreateNestedOneWithoutSupplementalTherapyInput = {
|
|
381
|
+
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSupplementalTherapyInput, Prisma.PatientSessionUncheckedCreateWithoutSupplementalTherapyInput>;
|
|
382
|
+
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSupplementalTherapyInput;
|
|
383
|
+
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
384
|
+
};
|
|
385
|
+
export type PatientSessionUpdateOneWithoutSupplementalTherapyNestedInput = {
|
|
386
|
+
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSupplementalTherapyInput, Prisma.PatientSessionUncheckedCreateWithoutSupplementalTherapyInput>;
|
|
387
|
+
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSupplementalTherapyInput;
|
|
388
|
+
upsert?: Prisma.PatientSessionUpsertWithoutSupplementalTherapyInput;
|
|
389
|
+
disconnect?: Prisma.PatientSessionWhereInput | boolean;
|
|
390
|
+
delete?: Prisma.PatientSessionWhereInput | boolean;
|
|
391
|
+
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
392
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PatientSessionUpdateToOneWithWhereWithoutSupplementalTherapyInput, Prisma.PatientSessionUpdateWithoutSupplementalTherapyInput>, Prisma.PatientSessionUncheckedUpdateWithoutSupplementalTherapyInput>;
|
|
393
|
+
};
|
|
352
394
|
export type PatientSessionCreateNestedManyWithoutPatientInput = {
|
|
353
395
|
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutPatientInput, Prisma.PatientSessionUncheckedCreateWithoutPatientInput> | Prisma.PatientSessionCreateWithoutPatientInput[] | Prisma.PatientSessionUncheckedCreateWithoutPatientInput[];
|
|
354
396
|
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutPatientInput | Prisma.PatientSessionCreateOrConnectWithoutPatientInput[];
|
|
@@ -425,151 +467,6 @@ export type PatientSessionUncheckedUpdateManyWithoutProgramNestedInput = {
|
|
|
425
467
|
updateMany?: Prisma.PatientSessionUpdateManyWithWhereWithoutProgramInput | Prisma.PatientSessionUpdateManyWithWhereWithoutProgramInput[];
|
|
426
468
|
deleteMany?: Prisma.PatientSessionScalarWhereInput | Prisma.PatientSessionScalarWhereInput[];
|
|
427
469
|
};
|
|
428
|
-
export type PatientSessionCreateNestedOneWithoutSessionExerciseInput = {
|
|
429
|
-
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionExerciseInput, Prisma.PatientSessionUncheckedCreateWithoutSessionExerciseInput>;
|
|
430
|
-
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionExerciseInput;
|
|
431
|
-
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
432
|
-
};
|
|
433
|
-
export type PatientSessionUpdateOneWithoutSessionExerciseNestedInput = {
|
|
434
|
-
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionExerciseInput, Prisma.PatientSessionUncheckedCreateWithoutSessionExerciseInput>;
|
|
435
|
-
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionExerciseInput;
|
|
436
|
-
upsert?: Prisma.PatientSessionUpsertWithoutSessionExerciseInput;
|
|
437
|
-
disconnect?: Prisma.PatientSessionWhereInput | boolean;
|
|
438
|
-
delete?: Prisma.PatientSessionWhereInput | boolean;
|
|
439
|
-
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
440
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PatientSessionUpdateToOneWithWhereWithoutSessionExerciseInput, Prisma.PatientSessionUpdateWithoutSessionExerciseInput>, Prisma.PatientSessionUncheckedUpdateWithoutSessionExerciseInput>;
|
|
441
|
-
};
|
|
442
|
-
export type PatientSessionCreateNestedOneWithoutSessionDataInput = {
|
|
443
|
-
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionDataInput, Prisma.PatientSessionUncheckedCreateWithoutSessionDataInput>;
|
|
444
|
-
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionDataInput;
|
|
445
|
-
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
446
|
-
};
|
|
447
|
-
export type PatientSessionUpdateOneWithoutSessionDataNestedInput = {
|
|
448
|
-
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSessionDataInput, Prisma.PatientSessionUncheckedCreateWithoutSessionDataInput>;
|
|
449
|
-
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSessionDataInput;
|
|
450
|
-
upsert?: Prisma.PatientSessionUpsertWithoutSessionDataInput;
|
|
451
|
-
disconnect?: Prisma.PatientSessionWhereInput | boolean;
|
|
452
|
-
delete?: Prisma.PatientSessionWhereInput | boolean;
|
|
453
|
-
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
454
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PatientSessionUpdateToOneWithWhereWithoutSessionDataInput, Prisma.PatientSessionUpdateWithoutSessionDataInput>, Prisma.PatientSessionUncheckedUpdateWithoutSessionDataInput>;
|
|
455
|
-
};
|
|
456
|
-
export type PatientSessionCreateNestedOneWithoutSupplementalTherapyInput = {
|
|
457
|
-
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSupplementalTherapyInput, Prisma.PatientSessionUncheckedCreateWithoutSupplementalTherapyInput>;
|
|
458
|
-
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSupplementalTherapyInput;
|
|
459
|
-
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
460
|
-
};
|
|
461
|
-
export type PatientSessionUpdateOneWithoutSupplementalTherapyNestedInput = {
|
|
462
|
-
create?: Prisma.XOR<Prisma.PatientSessionCreateWithoutSupplementalTherapyInput, Prisma.PatientSessionUncheckedCreateWithoutSupplementalTherapyInput>;
|
|
463
|
-
connectOrCreate?: Prisma.PatientSessionCreateOrConnectWithoutSupplementalTherapyInput;
|
|
464
|
-
upsert?: Prisma.PatientSessionUpsertWithoutSupplementalTherapyInput;
|
|
465
|
-
disconnect?: Prisma.PatientSessionWhereInput | boolean;
|
|
466
|
-
delete?: Prisma.PatientSessionWhereInput | boolean;
|
|
467
|
-
connect?: Prisma.PatientSessionWhereUniqueInput;
|
|
468
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PatientSessionUpdateToOneWithWhereWithoutSupplementalTherapyInput, Prisma.PatientSessionUpdateWithoutSupplementalTherapyInput>, Prisma.PatientSessionUncheckedUpdateWithoutSupplementalTherapyInput>;
|
|
469
|
-
};
|
|
470
|
-
export type PatientSessionCreateWithoutPatientInput = {
|
|
471
|
-
id: string;
|
|
472
|
-
nprs?: string | null;
|
|
473
|
-
notes?: string | null;
|
|
474
|
-
createdAt?: Date | string;
|
|
475
|
-
completedAt?: Date | string | null;
|
|
476
|
-
deletedAt?: Date | string | null;
|
|
477
|
-
program?: Prisma.PatientProgramCreateNestedOneWithoutPatientSessionInput;
|
|
478
|
-
sessionExercise?: Prisma.SessionExerciseCreateNestedManyWithoutPatientSessionInput;
|
|
479
|
-
sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput;
|
|
480
|
-
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelCreateNestedManyWithoutSessionInput;
|
|
481
|
-
};
|
|
482
|
-
export type PatientSessionUncheckedCreateWithoutPatientInput = {
|
|
483
|
-
id: string;
|
|
484
|
-
programId?: string | null;
|
|
485
|
-
nprs?: string | null;
|
|
486
|
-
notes?: string | null;
|
|
487
|
-
createdAt?: Date | string;
|
|
488
|
-
completedAt?: Date | string | null;
|
|
489
|
-
deletedAt?: Date | string | null;
|
|
490
|
-
sessionExercise?: Prisma.SessionExerciseUncheckedCreateNestedManyWithoutPatientSessionInput;
|
|
491
|
-
sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput;
|
|
492
|
-
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelUncheckedCreateNestedManyWithoutSessionInput;
|
|
493
|
-
};
|
|
494
|
-
export type PatientSessionCreateOrConnectWithoutPatientInput = {
|
|
495
|
-
where: Prisma.PatientSessionWhereUniqueInput;
|
|
496
|
-
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutPatientInput, Prisma.PatientSessionUncheckedCreateWithoutPatientInput>;
|
|
497
|
-
};
|
|
498
|
-
export type PatientSessionCreateManyPatientInputEnvelope = {
|
|
499
|
-
data: Prisma.PatientSessionCreateManyPatientInput | Prisma.PatientSessionCreateManyPatientInput[];
|
|
500
|
-
skipDuplicates?: boolean;
|
|
501
|
-
};
|
|
502
|
-
export type PatientSessionUpsertWithWhereUniqueWithoutPatientInput = {
|
|
503
|
-
where: Prisma.PatientSessionWhereUniqueInput;
|
|
504
|
-
update: Prisma.XOR<Prisma.PatientSessionUpdateWithoutPatientInput, Prisma.PatientSessionUncheckedUpdateWithoutPatientInput>;
|
|
505
|
-
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutPatientInput, Prisma.PatientSessionUncheckedCreateWithoutPatientInput>;
|
|
506
|
-
};
|
|
507
|
-
export type PatientSessionUpdateWithWhereUniqueWithoutPatientInput = {
|
|
508
|
-
where: Prisma.PatientSessionWhereUniqueInput;
|
|
509
|
-
data: Prisma.XOR<Prisma.PatientSessionUpdateWithoutPatientInput, Prisma.PatientSessionUncheckedUpdateWithoutPatientInput>;
|
|
510
|
-
};
|
|
511
|
-
export type PatientSessionUpdateManyWithWhereWithoutPatientInput = {
|
|
512
|
-
where: Prisma.PatientSessionScalarWhereInput;
|
|
513
|
-
data: Prisma.XOR<Prisma.PatientSessionUpdateManyMutationInput, Prisma.PatientSessionUncheckedUpdateManyWithoutPatientInput>;
|
|
514
|
-
};
|
|
515
|
-
export type PatientSessionScalarWhereInput = {
|
|
516
|
-
AND?: Prisma.PatientSessionScalarWhereInput | Prisma.PatientSessionScalarWhereInput[];
|
|
517
|
-
OR?: Prisma.PatientSessionScalarWhereInput[];
|
|
518
|
-
NOT?: Prisma.PatientSessionScalarWhereInput | Prisma.PatientSessionScalarWhereInput[];
|
|
519
|
-
id?: Prisma.StringFilter<"PatientSession"> | string;
|
|
520
|
-
patientId?: Prisma.StringFilter<"PatientSession"> | string;
|
|
521
|
-
programId?: Prisma.StringNullableFilter<"PatientSession"> | string | null;
|
|
522
|
-
nprs?: Prisma.StringNullableFilter<"PatientSession"> | string | null;
|
|
523
|
-
notes?: Prisma.StringNullableFilter<"PatientSession"> | string | null;
|
|
524
|
-
createdAt?: Prisma.DateTimeFilter<"PatientSession"> | Date | string;
|
|
525
|
-
completedAt?: Prisma.DateTimeNullableFilter<"PatientSession"> | Date | string | null;
|
|
526
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"PatientSession"> | Date | string | null;
|
|
527
|
-
};
|
|
528
|
-
export type PatientSessionCreateWithoutProgramInput = {
|
|
529
|
-
id: string;
|
|
530
|
-
nprs?: string | null;
|
|
531
|
-
notes?: string | null;
|
|
532
|
-
createdAt?: Date | string;
|
|
533
|
-
completedAt?: Date | string | null;
|
|
534
|
-
deletedAt?: Date | string | null;
|
|
535
|
-
patient: Prisma.PatientCreateNestedOneWithoutPatientSessionInput;
|
|
536
|
-
sessionExercise?: Prisma.SessionExerciseCreateNestedManyWithoutPatientSessionInput;
|
|
537
|
-
sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput;
|
|
538
|
-
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelCreateNestedManyWithoutSessionInput;
|
|
539
|
-
};
|
|
540
|
-
export type PatientSessionUncheckedCreateWithoutProgramInput = {
|
|
541
|
-
id: string;
|
|
542
|
-
patientId: string;
|
|
543
|
-
nprs?: string | null;
|
|
544
|
-
notes?: string | null;
|
|
545
|
-
createdAt?: Date | string;
|
|
546
|
-
completedAt?: Date | string | null;
|
|
547
|
-
deletedAt?: Date | string | null;
|
|
548
|
-
sessionExercise?: Prisma.SessionExerciseUncheckedCreateNestedManyWithoutPatientSessionInput;
|
|
549
|
-
sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput;
|
|
550
|
-
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelUncheckedCreateNestedManyWithoutSessionInput;
|
|
551
|
-
};
|
|
552
|
-
export type PatientSessionCreateOrConnectWithoutProgramInput = {
|
|
553
|
-
where: Prisma.PatientSessionWhereUniqueInput;
|
|
554
|
-
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutProgramInput, Prisma.PatientSessionUncheckedCreateWithoutProgramInput>;
|
|
555
|
-
};
|
|
556
|
-
export type PatientSessionCreateManyProgramInputEnvelope = {
|
|
557
|
-
data: Prisma.PatientSessionCreateManyProgramInput | Prisma.PatientSessionCreateManyProgramInput[];
|
|
558
|
-
skipDuplicates?: boolean;
|
|
559
|
-
};
|
|
560
|
-
export type PatientSessionUpsertWithWhereUniqueWithoutProgramInput = {
|
|
561
|
-
where: Prisma.PatientSessionWhereUniqueInput;
|
|
562
|
-
update: Prisma.XOR<Prisma.PatientSessionUpdateWithoutProgramInput, Prisma.PatientSessionUncheckedUpdateWithoutProgramInput>;
|
|
563
|
-
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutProgramInput, Prisma.PatientSessionUncheckedCreateWithoutProgramInput>;
|
|
564
|
-
};
|
|
565
|
-
export type PatientSessionUpdateWithWhereUniqueWithoutProgramInput = {
|
|
566
|
-
where: Prisma.PatientSessionWhereUniqueInput;
|
|
567
|
-
data: Prisma.XOR<Prisma.PatientSessionUpdateWithoutProgramInput, Prisma.PatientSessionUncheckedUpdateWithoutProgramInput>;
|
|
568
|
-
};
|
|
569
|
-
export type PatientSessionUpdateManyWithWhereWithoutProgramInput = {
|
|
570
|
-
where: Prisma.PatientSessionScalarWhereInput;
|
|
571
|
-
data: Prisma.XOR<Prisma.PatientSessionUpdateManyMutationInput, Prisma.PatientSessionUncheckedUpdateManyWithoutProgramInput>;
|
|
572
|
-
};
|
|
573
470
|
export type PatientSessionCreateWithoutSessionExerciseInput = {
|
|
574
471
|
id: string;
|
|
575
472
|
nprs?: string | null;
|
|
@@ -753,6 +650,109 @@ export type PatientSessionUncheckedUpdateWithoutSupplementalTherapyInput = {
|
|
|
753
650
|
sessionExercise?: Prisma.SessionExerciseUncheckedUpdateManyWithoutPatientSessionNestedInput;
|
|
754
651
|
sessionData?: Prisma.SessionDataUncheckedUpdateManyWithoutSessionNestedInput;
|
|
755
652
|
};
|
|
653
|
+
export type PatientSessionCreateWithoutPatientInput = {
|
|
654
|
+
id: string;
|
|
655
|
+
nprs?: string | null;
|
|
656
|
+
notes?: string | null;
|
|
657
|
+
createdAt?: Date | string;
|
|
658
|
+
completedAt?: Date | string | null;
|
|
659
|
+
deletedAt?: Date | string | null;
|
|
660
|
+
program?: Prisma.PatientProgramCreateNestedOneWithoutPatientSessionInput;
|
|
661
|
+
sessionExercise?: Prisma.SessionExerciseCreateNestedManyWithoutPatientSessionInput;
|
|
662
|
+
sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput;
|
|
663
|
+
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelCreateNestedManyWithoutSessionInput;
|
|
664
|
+
};
|
|
665
|
+
export type PatientSessionUncheckedCreateWithoutPatientInput = {
|
|
666
|
+
id: string;
|
|
667
|
+
programId?: string | null;
|
|
668
|
+
nprs?: string | null;
|
|
669
|
+
notes?: string | null;
|
|
670
|
+
createdAt?: Date | string;
|
|
671
|
+
completedAt?: Date | string | null;
|
|
672
|
+
deletedAt?: Date | string | null;
|
|
673
|
+
sessionExercise?: Prisma.SessionExerciseUncheckedCreateNestedManyWithoutPatientSessionInput;
|
|
674
|
+
sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput;
|
|
675
|
+
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelUncheckedCreateNestedManyWithoutSessionInput;
|
|
676
|
+
};
|
|
677
|
+
export type PatientSessionCreateOrConnectWithoutPatientInput = {
|
|
678
|
+
where: Prisma.PatientSessionWhereUniqueInput;
|
|
679
|
+
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutPatientInput, Prisma.PatientSessionUncheckedCreateWithoutPatientInput>;
|
|
680
|
+
};
|
|
681
|
+
export type PatientSessionCreateManyPatientInputEnvelope = {
|
|
682
|
+
data: Prisma.PatientSessionCreateManyPatientInput | Prisma.PatientSessionCreateManyPatientInput[];
|
|
683
|
+
skipDuplicates?: boolean;
|
|
684
|
+
};
|
|
685
|
+
export type PatientSessionUpsertWithWhereUniqueWithoutPatientInput = {
|
|
686
|
+
where: Prisma.PatientSessionWhereUniqueInput;
|
|
687
|
+
update: Prisma.XOR<Prisma.PatientSessionUpdateWithoutPatientInput, Prisma.PatientSessionUncheckedUpdateWithoutPatientInput>;
|
|
688
|
+
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutPatientInput, Prisma.PatientSessionUncheckedCreateWithoutPatientInput>;
|
|
689
|
+
};
|
|
690
|
+
export type PatientSessionUpdateWithWhereUniqueWithoutPatientInput = {
|
|
691
|
+
where: Prisma.PatientSessionWhereUniqueInput;
|
|
692
|
+
data: Prisma.XOR<Prisma.PatientSessionUpdateWithoutPatientInput, Prisma.PatientSessionUncheckedUpdateWithoutPatientInput>;
|
|
693
|
+
};
|
|
694
|
+
export type PatientSessionUpdateManyWithWhereWithoutPatientInput = {
|
|
695
|
+
where: Prisma.PatientSessionScalarWhereInput;
|
|
696
|
+
data: Prisma.XOR<Prisma.PatientSessionUpdateManyMutationInput, Prisma.PatientSessionUncheckedUpdateManyWithoutPatientInput>;
|
|
697
|
+
};
|
|
698
|
+
export type PatientSessionScalarWhereInput = {
|
|
699
|
+
AND?: Prisma.PatientSessionScalarWhereInput | Prisma.PatientSessionScalarWhereInput[];
|
|
700
|
+
OR?: Prisma.PatientSessionScalarWhereInput[];
|
|
701
|
+
NOT?: Prisma.PatientSessionScalarWhereInput | Prisma.PatientSessionScalarWhereInput[];
|
|
702
|
+
id?: Prisma.StringFilter<"PatientSession"> | string;
|
|
703
|
+
patientId?: Prisma.StringFilter<"PatientSession"> | string;
|
|
704
|
+
programId?: Prisma.StringNullableFilter<"PatientSession"> | string | null;
|
|
705
|
+
nprs?: Prisma.StringNullableFilter<"PatientSession"> | string | null;
|
|
706
|
+
notes?: Prisma.StringNullableFilter<"PatientSession"> | string | null;
|
|
707
|
+
createdAt?: Prisma.DateTimeFilter<"PatientSession"> | Date | string;
|
|
708
|
+
completedAt?: Prisma.DateTimeNullableFilter<"PatientSession"> | Date | string | null;
|
|
709
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"PatientSession"> | Date | string | null;
|
|
710
|
+
};
|
|
711
|
+
export type PatientSessionCreateWithoutProgramInput = {
|
|
712
|
+
id: string;
|
|
713
|
+
nprs?: string | null;
|
|
714
|
+
notes?: string | null;
|
|
715
|
+
createdAt?: Date | string;
|
|
716
|
+
completedAt?: Date | string | null;
|
|
717
|
+
deletedAt?: Date | string | null;
|
|
718
|
+
patient: Prisma.PatientCreateNestedOneWithoutPatientSessionInput;
|
|
719
|
+
sessionExercise?: Prisma.SessionExerciseCreateNestedManyWithoutPatientSessionInput;
|
|
720
|
+
sessionData?: Prisma.SessionDataCreateNestedManyWithoutSessionInput;
|
|
721
|
+
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelCreateNestedManyWithoutSessionInput;
|
|
722
|
+
};
|
|
723
|
+
export type PatientSessionUncheckedCreateWithoutProgramInput = {
|
|
724
|
+
id: string;
|
|
725
|
+
patientId: string;
|
|
726
|
+
nprs?: string | null;
|
|
727
|
+
notes?: string | null;
|
|
728
|
+
createdAt?: Date | string;
|
|
729
|
+
completedAt?: Date | string | null;
|
|
730
|
+
deletedAt?: Date | string | null;
|
|
731
|
+
sessionExercise?: Prisma.SessionExerciseUncheckedCreateNestedManyWithoutPatientSessionInput;
|
|
732
|
+
sessionData?: Prisma.SessionDataUncheckedCreateNestedManyWithoutSessionInput;
|
|
733
|
+
supplementalTherapy?: Prisma.PatientSessionSupplementalTherapyRelUncheckedCreateNestedManyWithoutSessionInput;
|
|
734
|
+
};
|
|
735
|
+
export type PatientSessionCreateOrConnectWithoutProgramInput = {
|
|
736
|
+
where: Prisma.PatientSessionWhereUniqueInput;
|
|
737
|
+
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutProgramInput, Prisma.PatientSessionUncheckedCreateWithoutProgramInput>;
|
|
738
|
+
};
|
|
739
|
+
export type PatientSessionCreateManyProgramInputEnvelope = {
|
|
740
|
+
data: Prisma.PatientSessionCreateManyProgramInput | Prisma.PatientSessionCreateManyProgramInput[];
|
|
741
|
+
skipDuplicates?: boolean;
|
|
742
|
+
};
|
|
743
|
+
export type PatientSessionUpsertWithWhereUniqueWithoutProgramInput = {
|
|
744
|
+
where: Prisma.PatientSessionWhereUniqueInput;
|
|
745
|
+
update: Prisma.XOR<Prisma.PatientSessionUpdateWithoutProgramInput, Prisma.PatientSessionUncheckedUpdateWithoutProgramInput>;
|
|
746
|
+
create: Prisma.XOR<Prisma.PatientSessionCreateWithoutProgramInput, Prisma.PatientSessionUncheckedCreateWithoutProgramInput>;
|
|
747
|
+
};
|
|
748
|
+
export type PatientSessionUpdateWithWhereUniqueWithoutProgramInput = {
|
|
749
|
+
where: Prisma.PatientSessionWhereUniqueInput;
|
|
750
|
+
data: Prisma.XOR<Prisma.PatientSessionUpdateWithoutProgramInput, Prisma.PatientSessionUncheckedUpdateWithoutProgramInput>;
|
|
751
|
+
};
|
|
752
|
+
export type PatientSessionUpdateManyWithWhereWithoutProgramInput = {
|
|
753
|
+
where: Prisma.PatientSessionScalarWhereInput;
|
|
754
|
+
data: Prisma.XOR<Prisma.PatientSessionUpdateManyMutationInput, Prisma.PatientSessionUncheckedUpdateManyWithoutProgramInput>;
|
|
755
|
+
};
|
|
756
756
|
export type PatientSessionCreateManyPatientInput = {
|
|
757
757
|
id: string;
|
|
758
758
|
programId?: string | null;
|
|
@@ -484,13 +484,6 @@ export type PresetExerciseUncheckedUpdateManyWithoutPresetNestedInput = {
|
|
|
484
484
|
updateMany?: Prisma.PresetExerciseUpdateManyWithWhereWithoutPresetInput | Prisma.PresetExerciseUpdateManyWithWhereWithoutPresetInput[];
|
|
485
485
|
deleteMany?: Prisma.PresetExerciseScalarWhereInput | Prisma.PresetExerciseScalarWhereInput[];
|
|
486
486
|
};
|
|
487
|
-
export type IntFieldUpdateOperationsInput = {
|
|
488
|
-
set?: number;
|
|
489
|
-
increment?: number;
|
|
490
|
-
decrement?: number;
|
|
491
|
-
multiply?: number;
|
|
492
|
-
divide?: number;
|
|
493
|
-
};
|
|
494
487
|
export type FloatFieldUpdateOperationsInput = {
|
|
495
488
|
set?: number;
|
|
496
489
|
increment?: number;
|