Portal: move Schedule to per-License-Key with daily/weekly and Block.day
Adds Schedule.licenseKeyId (unique, nullable) and Schedule.type, makes the legacy userId optional/non-unique, adds Block.day and flips Block dynamicAudio default to true. The migration backfills each existing per-user schedule onto that account's oldest License Key as a daily schedule, preserves unmappable schedules (licenseKeyId NULL) with a NOTICE, and is reversible. Tested up/down against a scratch schema.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
-- Phase 3: move Schedule from per-user to per-License-Key, add weekly support.
|
||||
|
||||
-- AlterTable: Schedule gains licenseKeyId + type, userId becomes optional.
|
||||
ALTER TABLE "Schedule" ADD COLUMN "licenseKeyId" TEXT,
|
||||
ADD COLUMN "type" TEXT;
|
||||
|
||||
-- AlterTable: Block gains day; new Blocks default dynamicAudio true.
|
||||
ALTER TABLE "Block" ADD COLUMN "day" TEXT;
|
||||
ALTER TABLE "Block" ALTER COLUMN "dynamicAudio" SET DEFAULT true;
|
||||
|
||||
-- DropIndex: userId is no longer the schedule identity.
|
||||
DROP INDEX "Schedule_userId_key";
|
||||
|
||||
-- AlterTable: legacy owner becomes optional and non-unique.
|
||||
ALTER TABLE "Schedule" ALTER COLUMN "userId" DROP NOT NULL;
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "Schedule_licenseKeyId_key" ON "Schedule"("licenseKeyId");
|
||||
CREATE INDEX "Schedule_userId_idx" ON "Schedule"("userId");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "Schedule" ADD CONSTRAINT "Schedule_licenseKeyId_fkey" FOREIGN KEY ("licenseKeyId") REFERENCES "LicenseKey"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
|
||||
-- Backfill: map each existing per-user Schedule to the account's oldest
|
||||
-- License Key. Existing content was daily-only.
|
||||
UPDATE "Schedule" s
|
||||
SET "licenseKeyId" = lk."id",
|
||||
"type" = COALESCE(s."type", 'daily')
|
||||
FROM (
|
||||
SELECT DISTINCT ON ("userId") "id", "userId"
|
||||
FROM "LicenseKey"
|
||||
WHERE "userId" IS NOT NULL
|
||||
ORDER BY "userId", "createdAt" ASC, "id" ASC
|
||||
) lk
|
||||
WHERE s."userId" = lk."userId"
|
||||
AND s."licenseKeyId" IS NULL;
|
||||
|
||||
-- Report (do not silently drop) schedules that cannot be mapped to a key.
|
||||
DO $$
|
||||
DECLARE unmapped integer;
|
||||
BEGIN
|
||||
SELECT count(*) INTO unmapped FROM "Schedule" WHERE "licenseKeyId" IS NULL;
|
||||
IF unmapped > 0 THEN
|
||||
RAISE NOTICE 'Phase 3 migration: % Schedule row(s) could not be mapped to a License Key (no owning user/license); retained with licenseKeyId NULL.', unmapped;
|
||||
END IF;
|
||||
END $$;
|
||||
+24
-12
@@ -28,7 +28,7 @@ model User {
|
||||
profiles Profile[]
|
||||
licenseKeys LicenseKey[]
|
||||
userProclamations UserProclamations[]
|
||||
schedule Schedule?
|
||||
schedules Schedule[]
|
||||
|
||||
@@unique([email])
|
||||
@@map("user")
|
||||
@@ -205,6 +205,7 @@ model LicenseKey {
|
||||
userId String?
|
||||
user User? @relation(fields: [userId], references: [id], onDelete: SetNull)
|
||||
email String?
|
||||
schedule Schedule?
|
||||
// Human-readable label set only by the Kiosk (e.g. "Living Room"). Trimmed,
|
||||
// 1-40 chars. Never a reference or foreign key; the License Key is the only
|
||||
// identifier. `systemNameLower` is a case-folded copy used to enforce
|
||||
@@ -263,31 +264,42 @@ model AuditLog {
|
||||
@@map("AuditLog")
|
||||
}
|
||||
|
||||
// A user's daily listening schedule. Exactly one per user (enforced by the
|
||||
// unique userId); contains 0-4 time Blocks. Times are wall-clock minutes from
|
||||
// midnight (0-1440), interpreted by the kiosk in the user's configured
|
||||
// timezone. The portal never stores a timezone.
|
||||
// A listening schedule assigned to one License Key (at most one per key).
|
||||
// `type` is "daily" | "weekly" | null (null = no schedule). Times are
|
||||
// wall-clock minutes from midnight (0-1440), interpreted by the kiosk in its
|
||||
// own configured timezone. The portal never stores a timezone.
|
||||
//
|
||||
// `userId` is a legacy owner retained while per-user schedules are migrated to
|
||||
// per-license-key; new schedules set `licenseKeyId` and leave `userId` null.
|
||||
model Schedule {
|
||||
id String @id @default(uuid())
|
||||
userId String @unique
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
licenseKeyId String? @unique
|
||||
licenseKey LicenseKey? @relation(fields: [licenseKeyId], references: [id], onDelete: Cascade)
|
||||
userId String?
|
||||
user User? @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
type String?
|
||||
blocks Block[]
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@index([userId])
|
||||
}
|
||||
|
||||
// A single non-overlapping time range within a Schedule, plus the ordered set
|
||||
// of selected Proclamations to play during it. Overnight ranges are disallowed
|
||||
// in v1, so startMinutes is always less than endMinutes.
|
||||
// A single time range within a Schedule, plus the ordered set of selected
|
||||
// Proclamations to play during it. `day` is null for daily schedules and
|
||||
// "mon".."sun" for weekly schedules. Overnight (midnight-crossing) ranges are
|
||||
// valid: an end clock time before the start belongs to the start day and spills
|
||||
// into the next day.
|
||||
model Block {
|
||||
id String @id @default(uuid())
|
||||
scheduleId String
|
||||
schedule Schedule @relation(fields: [scheduleId], references: [id], onDelete: Cascade)
|
||||
day String?
|
||||
startMinutes Int
|
||||
endMinutes Int
|
||||
// When true, the kiosk enables dynamic audio for the duration of this block,
|
||||
// overriding any audio selections made on the device.
|
||||
dynamicAudio Boolean @default(false)
|
||||
// overriding any audio selections made on the device. Portal default: true.
|
||||
dynamicAudio Boolean @default(true)
|
||||
proclamations BlockProclamations[]
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2069,7 +2069,9 @@ export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typ
|
||||
|
||||
export const ScheduleScalarFieldEnum = {
|
||||
id: 'id',
|
||||
licenseKeyId: 'licenseKeyId',
|
||||
userId: 'userId',
|
||||
type: 'type',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
@@ -2080,6 +2082,7 @@ export type ScheduleScalarFieldEnum = (typeof ScheduleScalarFieldEnum)[keyof typ
|
||||
export const BlockScalarFieldEnum = {
|
||||
id: 'id',
|
||||
scheduleId: 'scheduleId',
|
||||
day: 'day',
|
||||
startMinutes: 'startMinutes',
|
||||
endMinutes: 'endMinutes',
|
||||
dynamicAudio: 'dynamicAudio',
|
||||
|
||||
@@ -290,7 +290,9 @@ export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typ
|
||||
|
||||
export const ScheduleScalarFieldEnum = {
|
||||
id: 'id',
|
||||
licenseKeyId: 'licenseKeyId',
|
||||
userId: 'userId',
|
||||
type: 'type',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
@@ -301,6 +303,7 @@ export type ScheduleScalarFieldEnum = (typeof ScheduleScalarFieldEnum)[keyof typ
|
||||
export const BlockScalarFieldEnum = {
|
||||
id: 'id',
|
||||
scheduleId: 'scheduleId',
|
||||
day: 'day',
|
||||
startMinutes: 'startMinutes',
|
||||
endMinutes: 'endMinutes',
|
||||
dynamicAudio: 'dynamicAudio',
|
||||
|
||||
@@ -39,6 +39,7 @@ export type BlockSumAggregateOutputType = {
|
||||
export type BlockMinAggregateOutputType = {
|
||||
id: string | null
|
||||
scheduleId: string | null
|
||||
day: string | null
|
||||
startMinutes: number | null
|
||||
endMinutes: number | null
|
||||
dynamicAudio: boolean | null
|
||||
@@ -49,6 +50,7 @@ export type BlockMinAggregateOutputType = {
|
||||
export type BlockMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
scheduleId: string | null
|
||||
day: string | null
|
||||
startMinutes: number | null
|
||||
endMinutes: number | null
|
||||
dynamicAudio: boolean | null
|
||||
@@ -59,6 +61,7 @@ export type BlockMaxAggregateOutputType = {
|
||||
export type BlockCountAggregateOutputType = {
|
||||
id: number
|
||||
scheduleId: number
|
||||
day: number
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio: number
|
||||
@@ -81,6 +84,7 @@ export type BlockSumAggregateInputType = {
|
||||
export type BlockMinAggregateInputType = {
|
||||
id?: true
|
||||
scheduleId?: true
|
||||
day?: true
|
||||
startMinutes?: true
|
||||
endMinutes?: true
|
||||
dynamicAudio?: true
|
||||
@@ -91,6 +95,7 @@ export type BlockMinAggregateInputType = {
|
||||
export type BlockMaxAggregateInputType = {
|
||||
id?: true
|
||||
scheduleId?: true
|
||||
day?: true
|
||||
startMinutes?: true
|
||||
endMinutes?: true
|
||||
dynamicAudio?: true
|
||||
@@ -101,6 +106,7 @@ export type BlockMaxAggregateInputType = {
|
||||
export type BlockCountAggregateInputType = {
|
||||
id?: true
|
||||
scheduleId?: true
|
||||
day?: true
|
||||
startMinutes?: true
|
||||
endMinutes?: true
|
||||
dynamicAudio?: true
|
||||
@@ -198,6 +204,7 @@ export type BlockGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
export type BlockGroupByOutputType = {
|
||||
id: string
|
||||
scheduleId: string
|
||||
day: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio: boolean
|
||||
@@ -231,6 +238,7 @@ export type BlockWhereInput = {
|
||||
NOT?: Prisma.BlockWhereInput | Prisma.BlockWhereInput[]
|
||||
id?: Prisma.StringFilter<"Block"> | string
|
||||
scheduleId?: Prisma.StringFilter<"Block"> | string
|
||||
day?: Prisma.StringNullableFilter<"Block"> | string | null
|
||||
startMinutes?: Prisma.IntFilter<"Block"> | number
|
||||
endMinutes?: Prisma.IntFilter<"Block"> | number
|
||||
dynamicAudio?: Prisma.BoolFilter<"Block"> | boolean
|
||||
@@ -243,6 +251,7 @@ export type BlockWhereInput = {
|
||||
export type BlockOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
scheduleId?: Prisma.SortOrder
|
||||
day?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
startMinutes?: Prisma.SortOrder
|
||||
endMinutes?: Prisma.SortOrder
|
||||
dynamicAudio?: Prisma.SortOrder
|
||||
@@ -258,6 +267,7 @@ export type BlockWhereUniqueInput = Prisma.AtLeast<{
|
||||
OR?: Prisma.BlockWhereInput[]
|
||||
NOT?: Prisma.BlockWhereInput | Prisma.BlockWhereInput[]
|
||||
scheduleId?: Prisma.StringFilter<"Block"> | string
|
||||
day?: Prisma.StringNullableFilter<"Block"> | string | null
|
||||
startMinutes?: Prisma.IntFilter<"Block"> | number
|
||||
endMinutes?: Prisma.IntFilter<"Block"> | number
|
||||
dynamicAudio?: Prisma.BoolFilter<"Block"> | boolean
|
||||
@@ -270,6 +280,7 @@ export type BlockWhereUniqueInput = Prisma.AtLeast<{
|
||||
export type BlockOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
scheduleId?: Prisma.SortOrder
|
||||
day?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
startMinutes?: Prisma.SortOrder
|
||||
endMinutes?: Prisma.SortOrder
|
||||
dynamicAudio?: Prisma.SortOrder
|
||||
@@ -288,6 +299,7 @@ export type BlockScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.BlockScalarWhereWithAggregatesInput | Prisma.BlockScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"Block"> | string
|
||||
scheduleId?: Prisma.StringWithAggregatesFilter<"Block"> | string
|
||||
day?: Prisma.StringNullableWithAggregatesFilter<"Block"> | string | null
|
||||
startMinutes?: Prisma.IntWithAggregatesFilter<"Block"> | number
|
||||
endMinutes?: Prisma.IntWithAggregatesFilter<"Block"> | number
|
||||
dynamicAudio?: Prisma.BoolWithAggregatesFilter<"Block"> | boolean
|
||||
@@ -297,6 +309,7 @@ export type BlockScalarWhereWithAggregatesInput = {
|
||||
|
||||
export type BlockCreateInput = {
|
||||
id?: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -309,6 +322,7 @@ export type BlockCreateInput = {
|
||||
export type BlockUncheckedCreateInput = {
|
||||
id?: string
|
||||
scheduleId: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -319,6 +333,7 @@ export type BlockUncheckedCreateInput = {
|
||||
|
||||
export type BlockUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -331,6 +346,7 @@ export type BlockUpdateInput = {
|
||||
export type BlockUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
scheduleId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -342,6 +358,7 @@ export type BlockUncheckedUpdateInput = {
|
||||
export type BlockCreateManyInput = {
|
||||
id?: string
|
||||
scheduleId: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -351,6 +368,7 @@ export type BlockCreateManyInput = {
|
||||
|
||||
export type BlockUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -361,6 +379,7 @@ export type BlockUpdateManyMutationInput = {
|
||||
export type BlockUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
scheduleId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -381,6 +400,7 @@ export type BlockOrderByRelationAggregateInput = {
|
||||
export type BlockCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
scheduleId?: Prisma.SortOrder
|
||||
day?: Prisma.SortOrder
|
||||
startMinutes?: Prisma.SortOrder
|
||||
endMinutes?: Prisma.SortOrder
|
||||
dynamicAudio?: Prisma.SortOrder
|
||||
@@ -396,6 +416,7 @@ export type BlockAvgOrderByAggregateInput = {
|
||||
export type BlockMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
scheduleId?: Prisma.SortOrder
|
||||
day?: Prisma.SortOrder
|
||||
startMinutes?: Prisma.SortOrder
|
||||
endMinutes?: Prisma.SortOrder
|
||||
dynamicAudio?: Prisma.SortOrder
|
||||
@@ -406,6 +427,7 @@ export type BlockMaxOrderByAggregateInput = {
|
||||
export type BlockMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
scheduleId?: Prisma.SortOrder
|
||||
day?: Prisma.SortOrder
|
||||
startMinutes?: Prisma.SortOrder
|
||||
endMinutes?: Prisma.SortOrder
|
||||
dynamicAudio?: Prisma.SortOrder
|
||||
@@ -481,6 +503,7 @@ export type BlockUpdateOneRequiredWithoutProclamationsNestedInput = {
|
||||
|
||||
export type BlockCreateWithoutScheduleInput = {
|
||||
id?: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -491,6 +514,7 @@ export type BlockCreateWithoutScheduleInput = {
|
||||
|
||||
export type BlockUncheckedCreateWithoutScheduleInput = {
|
||||
id?: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -531,6 +555,7 @@ export type BlockScalarWhereInput = {
|
||||
NOT?: Prisma.BlockScalarWhereInput | Prisma.BlockScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"Block"> | string
|
||||
scheduleId?: Prisma.StringFilter<"Block"> | string
|
||||
day?: Prisma.StringNullableFilter<"Block"> | string | null
|
||||
startMinutes?: Prisma.IntFilter<"Block"> | number
|
||||
endMinutes?: Prisma.IntFilter<"Block"> | number
|
||||
dynamicAudio?: Prisma.BoolFilter<"Block"> | boolean
|
||||
@@ -540,6 +565,7 @@ export type BlockScalarWhereInput = {
|
||||
|
||||
export type BlockCreateWithoutProclamationsInput = {
|
||||
id?: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -551,6 +577,7 @@ export type BlockCreateWithoutProclamationsInput = {
|
||||
export type BlockUncheckedCreateWithoutProclamationsInput = {
|
||||
id?: string
|
||||
scheduleId: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -576,6 +603,7 @@ export type BlockUpdateToOneWithWhereWithoutProclamationsInput = {
|
||||
|
||||
export type BlockUpdateWithoutProclamationsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -587,6 +615,7 @@ export type BlockUpdateWithoutProclamationsInput = {
|
||||
export type BlockUncheckedUpdateWithoutProclamationsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
scheduleId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -596,6 +625,7 @@ export type BlockUncheckedUpdateWithoutProclamationsInput = {
|
||||
|
||||
export type BlockCreateManyScheduleInput = {
|
||||
id?: string
|
||||
day?: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio?: boolean
|
||||
@@ -605,6 +635,7 @@ export type BlockCreateManyScheduleInput = {
|
||||
|
||||
export type BlockUpdateWithoutScheduleInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -615,6 +646,7 @@ export type BlockUpdateWithoutScheduleInput = {
|
||||
|
||||
export type BlockUncheckedUpdateWithoutScheduleInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -625,6 +657,7 @@ export type BlockUncheckedUpdateWithoutScheduleInput = {
|
||||
|
||||
export type BlockUncheckedUpdateManyWithoutScheduleInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
day?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
startMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
endMinutes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
@@ -666,6 +699,7 @@ export type BlockCountOutputTypeCountProclamationsArgs<ExtArgs extends runtime.T
|
||||
export type BlockSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
scheduleId?: boolean
|
||||
day?: boolean
|
||||
startMinutes?: boolean
|
||||
endMinutes?: boolean
|
||||
dynamicAudio?: boolean
|
||||
@@ -679,6 +713,7 @@ export type BlockSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
export type BlockSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
scheduleId?: boolean
|
||||
day?: boolean
|
||||
startMinutes?: boolean
|
||||
endMinutes?: boolean
|
||||
dynamicAudio?: boolean
|
||||
@@ -690,6 +725,7 @@ export type BlockSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
||||
export type BlockSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
scheduleId?: boolean
|
||||
day?: boolean
|
||||
startMinutes?: boolean
|
||||
endMinutes?: boolean
|
||||
dynamicAudio?: boolean
|
||||
@@ -701,6 +737,7 @@ export type BlockSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
||||
export type BlockSelectScalar = {
|
||||
id?: boolean
|
||||
scheduleId?: boolean
|
||||
day?: boolean
|
||||
startMinutes?: boolean
|
||||
endMinutes?: boolean
|
||||
dynamicAudio?: boolean
|
||||
@@ -708,7 +745,7 @@ export type BlockSelectScalar = {
|
||||
updatedAt?: boolean
|
||||
}
|
||||
|
||||
export type BlockOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "scheduleId" | "startMinutes" | "endMinutes" | "dynamicAudio" | "createdAt" | "updatedAt", ExtArgs["result"]["block"]>
|
||||
export type BlockOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "scheduleId" | "day" | "startMinutes" | "endMinutes" | "dynamicAudio" | "createdAt" | "updatedAt", ExtArgs["result"]["block"]>
|
||||
export type BlockInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
schedule?: boolean | Prisma.ScheduleDefaultArgs<ExtArgs>
|
||||
proclamations?: boolean | Prisma.Block$proclamationsArgs<ExtArgs>
|
||||
@@ -730,6 +767,7 @@ export type $BlockPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
scheduleId: string
|
||||
day: string | null
|
||||
startMinutes: number
|
||||
endMinutes: number
|
||||
dynamicAudio: boolean
|
||||
@@ -1162,6 +1200,7 @@ export interface Prisma__BlockClient<T, Null = never, ExtArgs extends runtime.Ty
|
||||
export interface BlockFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Block", 'String'>
|
||||
readonly scheduleId: Prisma.FieldRef<"Block", 'String'>
|
||||
readonly day: Prisma.FieldRef<"Block", 'String'>
|
||||
readonly startMinutes: Prisma.FieldRef<"Block", 'Int'>
|
||||
readonly endMinutes: Prisma.FieldRef<"Block", 'Int'>
|
||||
readonly dynamicAudio: Prisma.FieldRef<"Block", 'Boolean'>
|
||||
|
||||
@@ -215,6 +215,7 @@ export type LicenseKeyWhereInput = {
|
||||
systemName?: Prisma.StringNullableFilter<"LicenseKey"> | string | null
|
||||
systemNameLower?: Prisma.StringNullableFilter<"LicenseKey"> | string | null
|
||||
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
||||
schedule?: Prisma.XOR<Prisma.ScheduleNullableScalarRelationFilter, Prisma.ScheduleWhereInput> | null
|
||||
}
|
||||
|
||||
export type LicenseKeyOrderByWithRelationInput = {
|
||||
@@ -228,6 +229,7 @@ export type LicenseKeyOrderByWithRelationInput = {
|
||||
systemName?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
systemNameLower?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
user?: Prisma.UserOrderByWithRelationInput
|
||||
schedule?: Prisma.ScheduleOrderByWithRelationInput
|
||||
}
|
||||
|
||||
export type LicenseKeyWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -245,6 +247,7 @@ export type LicenseKeyWhereUniqueInput = Prisma.AtLeast<{
|
||||
systemName?: Prisma.StringNullableFilter<"LicenseKey"> | string | null
|
||||
systemNameLower?: Prisma.StringNullableFilter<"LicenseKey"> | string | null
|
||||
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
||||
schedule?: Prisma.XOR<Prisma.ScheduleNullableScalarRelationFilter, Prisma.ScheduleWhereInput> | null
|
||||
}, "id" | "key" | "userId_systemNameLower">
|
||||
|
||||
export type LicenseKeyOrderByWithAggregationInput = {
|
||||
@@ -287,6 +290,7 @@ export type LicenseKeyCreateInput = {
|
||||
systemName?: string | null
|
||||
systemNameLower?: string | null
|
||||
user?: Prisma.UserCreateNestedOneWithoutLicenseKeysInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutLicenseKeyInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedCreateInput = {
|
||||
@@ -299,6 +303,7 @@ export type LicenseKeyUncheckedCreateInput = {
|
||||
email?: string | null
|
||||
systemName?: string | null
|
||||
systemNameLower?: string | null
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutLicenseKeyInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUpdateInput = {
|
||||
@@ -311,6 +316,7 @@ export type LicenseKeyUpdateInput = {
|
||||
systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemNameLower?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
user?: Prisma.UserUpdateOneWithoutLicenseKeysNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutLicenseKeyNestedInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedUpdateInput = {
|
||||
@@ -323,6 +329,7 @@ export type LicenseKeyUncheckedUpdateInput = {
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemNameLower?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutLicenseKeyNestedInput
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateManyInput = {
|
||||
@@ -411,6 +418,11 @@ export type LicenseKeyMinOrderByAggregateInput = {
|
||||
systemNameLower?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseKeyNullableScalarRelationFilter = {
|
||||
is?: Prisma.LicenseKeyWhereInput | null
|
||||
isNot?: Prisma.LicenseKeyWhereInput | null
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateNestedManyWithoutUserInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseKeyCreateWithoutUserInput, Prisma.LicenseKeyUncheckedCreateWithoutUserInput> | Prisma.LicenseKeyCreateWithoutUserInput[] | Prisma.LicenseKeyUncheckedCreateWithoutUserInput[]
|
||||
connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutUserInput | Prisma.LicenseKeyCreateOrConnectWithoutUserInput[]
|
||||
@@ -453,6 +465,22 @@ export type LicenseKeyUncheckedUpdateManyWithoutUserNestedInput = {
|
||||
deleteMany?: Prisma.LicenseKeyScalarWhereInput | Prisma.LicenseKeyScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateNestedOneWithoutScheduleInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseKeyCreateWithoutScheduleInput, Prisma.LicenseKeyUncheckedCreateWithoutScheduleInput>
|
||||
connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutScheduleInput
|
||||
connect?: Prisma.LicenseKeyWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUpdateOneWithoutScheduleNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseKeyCreateWithoutScheduleInput, Prisma.LicenseKeyUncheckedCreateWithoutScheduleInput>
|
||||
connectOrCreate?: Prisma.LicenseKeyCreateOrConnectWithoutScheduleInput
|
||||
upsert?: Prisma.LicenseKeyUpsertWithoutScheduleInput
|
||||
disconnect?: Prisma.LicenseKeyWhereInput | boolean
|
||||
delete?: Prisma.LicenseKeyWhereInput | boolean
|
||||
connect?: Prisma.LicenseKeyWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseKeyUpdateToOneWithWhereWithoutScheduleInput, Prisma.LicenseKeyUpdateWithoutScheduleInput>, Prisma.LicenseKeyUncheckedUpdateWithoutScheduleInput>
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateWithoutUserInput = {
|
||||
id?: string
|
||||
key: string
|
||||
@@ -462,6 +490,7 @@ export type LicenseKeyCreateWithoutUserInput = {
|
||||
email?: string | null
|
||||
systemName?: string | null
|
||||
systemNameLower?: string | null
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutLicenseKeyInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedCreateWithoutUserInput = {
|
||||
@@ -473,6 +502,7 @@ export type LicenseKeyUncheckedCreateWithoutUserInput = {
|
||||
email?: string | null
|
||||
systemName?: string | null
|
||||
systemNameLower?: string | null
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutLicenseKeyInput
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateOrConnectWithoutUserInput = {
|
||||
@@ -516,6 +546,70 @@ export type LicenseKeyScalarWhereInput = {
|
||||
systemNameLower?: Prisma.StringNullableFilter<"LicenseKey"> | string | null
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateWithoutScheduleInput = {
|
||||
id?: string
|
||||
key: string
|
||||
active: boolean
|
||||
createdAt?: Date | string
|
||||
lastValidatedAt?: Date | string | null
|
||||
email?: string | null
|
||||
systemName?: string | null
|
||||
systemNameLower?: string | null
|
||||
user?: Prisma.UserCreateNestedOneWithoutLicenseKeysInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedCreateWithoutScheduleInput = {
|
||||
id?: string
|
||||
key: string
|
||||
active: boolean
|
||||
createdAt?: Date | string
|
||||
lastValidatedAt?: Date | string | null
|
||||
userId?: string | null
|
||||
email?: string | null
|
||||
systemName?: string | null
|
||||
systemNameLower?: string | null
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateOrConnectWithoutScheduleInput = {
|
||||
where: Prisma.LicenseKeyWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.LicenseKeyCreateWithoutScheduleInput, Prisma.LicenseKeyUncheckedCreateWithoutScheduleInput>
|
||||
}
|
||||
|
||||
export type LicenseKeyUpsertWithoutScheduleInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseKeyUpdateWithoutScheduleInput, Prisma.LicenseKeyUncheckedUpdateWithoutScheduleInput>
|
||||
create: Prisma.XOR<Prisma.LicenseKeyCreateWithoutScheduleInput, Prisma.LicenseKeyUncheckedCreateWithoutScheduleInput>
|
||||
where?: Prisma.LicenseKeyWhereInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUpdateToOneWithWhereWithoutScheduleInput = {
|
||||
where?: Prisma.LicenseKeyWhereInput
|
||||
data: Prisma.XOR<Prisma.LicenseKeyUpdateWithoutScheduleInput, Prisma.LicenseKeyUncheckedUpdateWithoutScheduleInput>
|
||||
}
|
||||
|
||||
export type LicenseKeyUpdateWithoutScheduleInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
key?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
lastValidatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemNameLower?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
user?: Prisma.UserUpdateOneWithoutLicenseKeysNestedInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedUpdateWithoutScheduleInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
key?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
lastValidatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemNameLower?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseKeyCreateManyUserInput = {
|
||||
id?: string
|
||||
key: string
|
||||
@@ -536,6 +630,7 @@ export type LicenseKeyUpdateWithoutUserInput = {
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemNameLower?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutLicenseKeyNestedInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedUpdateWithoutUserInput = {
|
||||
@@ -547,6 +642,7 @@ export type LicenseKeyUncheckedUpdateWithoutUserInput = {
|
||||
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
systemNameLower?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutLicenseKeyNestedInput
|
||||
}
|
||||
|
||||
export type LicenseKeyUncheckedUpdateManyWithoutUserInput = {
|
||||
@@ -573,6 +669,7 @@ export type LicenseKeySelect<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
systemName?: boolean
|
||||
systemNameLower?: boolean
|
||||
user?: boolean | Prisma.LicenseKey$userArgs<ExtArgs>
|
||||
schedule?: boolean | Prisma.LicenseKey$scheduleArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["licenseKey"]>
|
||||
|
||||
export type LicenseKeySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
@@ -616,6 +713,7 @@ export type LicenseKeySelectScalar = {
|
||||
export type LicenseKeyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "active" | "createdAt" | "lastValidatedAt" | "userId" | "email" | "systemName" | "systemNameLower", ExtArgs["result"]["licenseKey"]>
|
||||
export type LicenseKeyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
user?: boolean | Prisma.LicenseKey$userArgs<ExtArgs>
|
||||
schedule?: boolean | Prisma.LicenseKey$scheduleArgs<ExtArgs>
|
||||
}
|
||||
export type LicenseKeyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
user?: boolean | Prisma.LicenseKey$userArgs<ExtArgs>
|
||||
@@ -628,6 +726,7 @@ export type $LicenseKeyPayload<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
name: "LicenseKey"
|
||||
objects: {
|
||||
user: Prisma.$UserPayload<ExtArgs> | null
|
||||
schedule: Prisma.$SchedulePayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -1034,6 +1133,7 @@ readonly fields: LicenseKeyFieldRefs;
|
||||
export interface Prisma__LicenseKeyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
user<T extends Prisma.LicenseKey$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseKey$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
schedule<T extends Prisma.LicenseKey$scheduleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseKey$scheduleArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1491,6 +1591,25 @@ export type LicenseKey$userArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
where?: Prisma.UserWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* LicenseKey.schedule
|
||||
*/
|
||||
export type LicenseKey$scheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Schedule
|
||||
*/
|
||||
select?: Prisma.ScheduleSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Schedule
|
||||
*/
|
||||
omit?: Prisma.ScheduleOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.ScheduleInclude<ExtArgs> | null
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* LicenseKey without action
|
||||
*/
|
||||
|
||||
@@ -26,21 +26,27 @@ export type AggregateSchedule = {
|
||||
|
||||
export type ScheduleMinAggregateOutputType = {
|
||||
id: string | null
|
||||
licenseKeyId: string | null
|
||||
userId: string | null
|
||||
type: string | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
|
||||
export type ScheduleMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
licenseKeyId: string | null
|
||||
userId: string | null
|
||||
type: string | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
|
||||
export type ScheduleCountAggregateOutputType = {
|
||||
id: number
|
||||
licenseKeyId: number
|
||||
userId: number
|
||||
type: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
@@ -49,21 +55,27 @@ export type ScheduleCountAggregateOutputType = {
|
||||
|
||||
export type ScheduleMinAggregateInputType = {
|
||||
id?: true
|
||||
licenseKeyId?: true
|
||||
userId?: true
|
||||
type?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
}
|
||||
|
||||
export type ScheduleMaxAggregateInputType = {
|
||||
id?: true
|
||||
licenseKeyId?: true
|
||||
userId?: true
|
||||
type?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
}
|
||||
|
||||
export type ScheduleCountAggregateInputType = {
|
||||
id?: true
|
||||
licenseKeyId?: true
|
||||
userId?: true
|
||||
type?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
_all?: true
|
||||
@@ -143,7 +155,9 @@ export type ScheduleGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
|
||||
export type ScheduleGroupByOutputType = {
|
||||
id: string
|
||||
userId: string
|
||||
licenseKeyId: string | null
|
||||
userId: string | null
|
||||
type: string | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
_count: ScheduleCountAggregateOutputType | null
|
||||
@@ -171,37 +185,48 @@ export type ScheduleWhereInput = {
|
||||
OR?: Prisma.ScheduleWhereInput[]
|
||||
NOT?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[]
|
||||
id?: Prisma.StringFilter<"Schedule"> | string
|
||||
userId?: Prisma.StringFilter<"Schedule"> | string
|
||||
licenseKeyId?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
userId?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
type?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string
|
||||
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
||||
licenseKey?: Prisma.XOR<Prisma.LicenseKeyNullableScalarRelationFilter, Prisma.LicenseKeyWhereInput> | null
|
||||
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
||||
blocks?: Prisma.BlockListRelationFilter
|
||||
}
|
||||
|
||||
export type ScheduleOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
licenseKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
type?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
licenseKey?: Prisma.LicenseKeyOrderByWithRelationInput
|
||||
user?: Prisma.UserOrderByWithRelationInput
|
||||
blocks?: Prisma.BlockOrderByRelationAggregateInput
|
||||
}
|
||||
|
||||
export type ScheduleWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
userId?: string
|
||||
licenseKeyId?: string
|
||||
AND?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[]
|
||||
OR?: Prisma.ScheduleWhereInput[]
|
||||
NOT?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[]
|
||||
userId?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
type?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string
|
||||
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
||||
licenseKey?: Prisma.XOR<Prisma.LicenseKeyNullableScalarRelationFilter, Prisma.LicenseKeyWhereInput> | null
|
||||
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
||||
blocks?: Prisma.BlockListRelationFilter
|
||||
}, "id" | "userId">
|
||||
}, "id" | "licenseKeyId">
|
||||
|
||||
export type ScheduleOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
licenseKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
type?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
_count?: Prisma.ScheduleCountOrderByAggregateInput
|
||||
@@ -214,22 +239,28 @@ export type ScheduleScalarWhereWithAggregatesInput = {
|
||||
OR?: Prisma.ScheduleScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.ScheduleScalarWhereWithAggregatesInput | Prisma.ScheduleScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"Schedule"> | string
|
||||
userId?: Prisma.StringWithAggregatesFilter<"Schedule"> | string
|
||||
licenseKeyId?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null
|
||||
userId?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null
|
||||
type?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Schedule"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Schedule"> | Date | string
|
||||
}
|
||||
|
||||
export type ScheduleCreateInput = {
|
||||
id?: string
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
user: Prisma.UserCreateNestedOneWithoutScheduleInput
|
||||
licenseKey?: Prisma.LicenseKeyCreateNestedOneWithoutScheduleInput
|
||||
user?: Prisma.UserCreateNestedOneWithoutSchedulesInput
|
||||
blocks?: Prisma.BlockCreateNestedManyWithoutScheduleInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedCreateInput = {
|
||||
id?: string
|
||||
userId: string
|
||||
licenseKeyId?: string | null
|
||||
userId?: string | null
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
blocks?: Prisma.BlockUncheckedCreateNestedManyWithoutScheduleInput
|
||||
@@ -237,15 +268,19 @@ export type ScheduleUncheckedCreateInput = {
|
||||
|
||||
export type ScheduleUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutScheduleNestedInput
|
||||
licenseKey?: Prisma.LicenseKeyUpdateOneWithoutScheduleNestedInput
|
||||
user?: Prisma.UserUpdateOneWithoutSchedulesNestedInput
|
||||
blocks?: Prisma.BlockUpdateManyWithoutScheduleNestedInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
licenseKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
blocks?: Prisma.BlockUncheckedUpdateManyWithoutScheduleNestedInput
|
||||
@@ -253,24 +288,39 @@ export type ScheduleUncheckedUpdateInput = {
|
||||
|
||||
export type ScheduleCreateManyInput = {
|
||||
id?: string
|
||||
userId: string
|
||||
licenseKeyId?: string | null
|
||||
userId?: string | null
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
|
||||
export type ScheduleUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
licenseKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type ScheduleListRelationFilter = {
|
||||
every?: Prisma.ScheduleWhereInput
|
||||
some?: Prisma.ScheduleWhereInput
|
||||
none?: Prisma.ScheduleWhereInput
|
||||
}
|
||||
|
||||
export type ScheduleOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ScheduleNullableScalarRelationFilter = {
|
||||
is?: Prisma.ScheduleWhereInput | null
|
||||
isNot?: Prisma.ScheduleWhereInput | null
|
||||
@@ -278,21 +328,27 @@ export type ScheduleNullableScalarRelationFilter = {
|
||||
|
||||
export type ScheduleCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
licenseKeyId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
type?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ScheduleMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
licenseKeyId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
type?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ScheduleMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
licenseKeyId?: Prisma.SortOrder
|
||||
userId?: Prisma.SortOrder
|
||||
type?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -302,36 +358,78 @@ export type ScheduleScalarRelationFilter = {
|
||||
isNot?: Prisma.ScheduleWhereInput
|
||||
}
|
||||
|
||||
export type ScheduleCreateNestedOneWithoutUserInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput
|
||||
export type ScheduleCreateNestedManyWithoutUserInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput> | Prisma.ScheduleCreateWithoutUserInput[] | Prisma.ScheduleUncheckedCreateWithoutUserInput[]
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput | Prisma.ScheduleCreateOrConnectWithoutUserInput[]
|
||||
createMany?: Prisma.ScheduleCreateManyUserInputEnvelope
|
||||
connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedCreateNestedManyWithoutUserInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput> | Prisma.ScheduleCreateWithoutUserInput[] | Prisma.ScheduleUncheckedCreateWithoutUserInput[]
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput | Prisma.ScheduleCreateOrConnectWithoutUserInput[]
|
||||
createMany?: Prisma.ScheduleCreateManyUserInputEnvelope
|
||||
connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type ScheduleUpdateManyWithoutUserNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput> | Prisma.ScheduleCreateWithoutUserInput[] | Prisma.ScheduleUncheckedCreateWithoutUserInput[]
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput | Prisma.ScheduleCreateOrConnectWithoutUserInput[]
|
||||
upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutUserInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutUserInput[]
|
||||
createMany?: Prisma.ScheduleCreateManyUserInputEnvelope
|
||||
set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutUserInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutUserInput[]
|
||||
updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutUserInput | Prisma.ScheduleUpdateManyWithWhereWithoutUserInput[]
|
||||
deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateManyWithoutUserNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput> | Prisma.ScheduleCreateWithoutUserInput[] | Prisma.ScheduleUncheckedCreateWithoutUserInput[]
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput | Prisma.ScheduleCreateOrConnectWithoutUserInput[]
|
||||
upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutUserInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutUserInput[]
|
||||
createMany?: Prisma.ScheduleCreateManyUserInputEnvelope
|
||||
set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[]
|
||||
update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutUserInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutUserInput[]
|
||||
updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutUserInput | Prisma.ScheduleUpdateManyWithWhereWithoutUserInput[]
|
||||
deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type ScheduleCreateNestedOneWithoutLicenseKeyInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedCreateWithoutLicenseKeyInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLicenseKeyInput
|
||||
connect?: Prisma.ScheduleWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedCreateNestedOneWithoutUserInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput
|
||||
export type ScheduleUncheckedCreateNestedOneWithoutLicenseKeyInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedCreateWithoutLicenseKeyInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLicenseKeyInput
|
||||
connect?: Prisma.ScheduleWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ScheduleUpdateOneWithoutUserNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput
|
||||
upsert?: Prisma.ScheduleUpsertWithoutUserInput
|
||||
export type ScheduleUpdateOneWithoutLicenseKeyNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedCreateWithoutLicenseKeyInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLicenseKeyInput
|
||||
upsert?: Prisma.ScheduleUpsertWithoutLicenseKeyInput
|
||||
disconnect?: Prisma.ScheduleWhereInput | boolean
|
||||
delete?: Prisma.ScheduleWhereInput | boolean
|
||||
connect?: Prisma.ScheduleWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ScheduleUpdateToOneWithWhereWithoutUserInput, Prisma.ScheduleUpdateWithoutUserInput>, Prisma.ScheduleUncheckedUpdateWithoutUserInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ScheduleUpdateToOneWithWhereWithoutLicenseKeyInput, Prisma.ScheduleUpdateWithoutLicenseKeyInput>, Prisma.ScheduleUncheckedUpdateWithoutLicenseKeyInput>
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateOneWithoutUserNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutUserInput
|
||||
upsert?: Prisma.ScheduleUpsertWithoutUserInput
|
||||
export type ScheduleUncheckedUpdateOneWithoutLicenseKeyNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedCreateWithoutLicenseKeyInput>
|
||||
connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLicenseKeyInput
|
||||
upsert?: Prisma.ScheduleUpsertWithoutLicenseKeyInput
|
||||
disconnect?: Prisma.ScheduleWhereInput | boolean
|
||||
delete?: Prisma.ScheduleWhereInput | boolean
|
||||
connect?: Prisma.ScheduleWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ScheduleUpdateToOneWithWhereWithoutUserInput, Prisma.ScheduleUpdateWithoutUserInput>, Prisma.ScheduleUncheckedUpdateWithoutUserInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ScheduleUpdateToOneWithWhereWithoutLicenseKeyInput, Prisma.ScheduleUpdateWithoutLicenseKeyInput>, Prisma.ScheduleUncheckedUpdateWithoutLicenseKeyInput>
|
||||
}
|
||||
|
||||
export type ScheduleCreateNestedOneWithoutBlocksInput = {
|
||||
@@ -350,13 +448,17 @@ export type ScheduleUpdateOneRequiredWithoutBlocksNestedInput = {
|
||||
|
||||
export type ScheduleCreateWithoutUserInput = {
|
||||
id?: string
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
licenseKey?: Prisma.LicenseKeyCreateNestedOneWithoutScheduleInput
|
||||
blocks?: Prisma.BlockCreateNestedManyWithoutScheduleInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedCreateWithoutUserInput = {
|
||||
id?: string
|
||||
licenseKeyId?: string | null
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
blocks?: Prisma.BlockUncheckedCreateNestedManyWithoutScheduleInput
|
||||
@@ -367,26 +469,86 @@ export type ScheduleCreateOrConnectWithoutUserInput = {
|
||||
create: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
}
|
||||
|
||||
export type ScheduleUpsertWithoutUserInput = {
|
||||
update: Prisma.XOR<Prisma.ScheduleUpdateWithoutUserInput, Prisma.ScheduleUncheckedUpdateWithoutUserInput>
|
||||
create: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
export type ScheduleCreateManyUserInputEnvelope = {
|
||||
data: Prisma.ScheduleCreateManyUserInput | Prisma.ScheduleCreateManyUserInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type ScheduleUpdateToOneWithWhereWithoutUserInput = {
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
export type ScheduleUpsertWithWhereUniqueWithoutUserInput = {
|
||||
where: Prisma.ScheduleWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.ScheduleUpdateWithoutUserInput, Prisma.ScheduleUncheckedUpdateWithoutUserInput>
|
||||
create: Prisma.XOR<Prisma.ScheduleCreateWithoutUserInput, Prisma.ScheduleUncheckedCreateWithoutUserInput>
|
||||
}
|
||||
|
||||
export type ScheduleUpdateWithWhereUniqueWithoutUserInput = {
|
||||
where: Prisma.ScheduleWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.ScheduleUpdateWithoutUserInput, Prisma.ScheduleUncheckedUpdateWithoutUserInput>
|
||||
}
|
||||
|
||||
export type ScheduleUpdateWithoutUserInput = {
|
||||
export type ScheduleUpdateManyWithWhereWithoutUserInput = {
|
||||
where: Prisma.ScheduleScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyWithoutUserInput>
|
||||
}
|
||||
|
||||
export type ScheduleScalarWhereInput = {
|
||||
AND?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[]
|
||||
OR?: Prisma.ScheduleScalarWhereInput[]
|
||||
NOT?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"Schedule"> | string
|
||||
licenseKeyId?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
userId?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
type?: Prisma.StringNullableFilter<"Schedule"> | string | null
|
||||
createdAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string
|
||||
}
|
||||
|
||||
export type ScheduleCreateWithoutLicenseKeyInput = {
|
||||
id?: string
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
user?: Prisma.UserCreateNestedOneWithoutSchedulesInput
|
||||
blocks?: Prisma.BlockCreateNestedManyWithoutScheduleInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedCreateWithoutLicenseKeyInput = {
|
||||
id?: string
|
||||
userId?: string | null
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
blocks?: Prisma.BlockUncheckedCreateNestedManyWithoutScheduleInput
|
||||
}
|
||||
|
||||
export type ScheduleCreateOrConnectWithoutLicenseKeyInput = {
|
||||
where: Prisma.ScheduleWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ScheduleCreateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedCreateWithoutLicenseKeyInput>
|
||||
}
|
||||
|
||||
export type ScheduleUpsertWithoutLicenseKeyInput = {
|
||||
update: Prisma.XOR<Prisma.ScheduleUpdateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedUpdateWithoutLicenseKeyInput>
|
||||
create: Prisma.XOR<Prisma.ScheduleCreateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedCreateWithoutLicenseKeyInput>
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
}
|
||||
|
||||
export type ScheduleUpdateToOneWithWhereWithoutLicenseKeyInput = {
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
data: Prisma.XOR<Prisma.ScheduleUpdateWithoutLicenseKeyInput, Prisma.ScheduleUncheckedUpdateWithoutLicenseKeyInput>
|
||||
}
|
||||
|
||||
export type ScheduleUpdateWithoutLicenseKeyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.UserUpdateOneWithoutSchedulesNestedInput
|
||||
blocks?: Prisma.BlockUpdateManyWithoutScheduleNestedInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateWithoutUserInput = {
|
||||
export type ScheduleUncheckedUpdateWithoutLicenseKeyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
blocks?: Prisma.BlockUncheckedUpdateManyWithoutScheduleNestedInput
|
||||
@@ -394,14 +556,18 @@ export type ScheduleUncheckedUpdateWithoutUserInput = {
|
||||
|
||||
export type ScheduleCreateWithoutBlocksInput = {
|
||||
id?: string
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
user: Prisma.UserCreateNestedOneWithoutScheduleInput
|
||||
licenseKey?: Prisma.LicenseKeyCreateNestedOneWithoutScheduleInput
|
||||
user?: Prisma.UserCreateNestedOneWithoutSchedulesInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedCreateWithoutBlocksInput = {
|
||||
id?: string
|
||||
userId: string
|
||||
licenseKeyId?: string | null
|
||||
userId?: string | null
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -424,14 +590,52 @@ export type ScheduleUpdateToOneWithWhereWithoutBlocksInput = {
|
||||
|
||||
export type ScheduleUpdateWithoutBlocksInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutScheduleNestedInput
|
||||
licenseKey?: Prisma.LicenseKeyUpdateOneWithoutScheduleNestedInput
|
||||
user?: Prisma.UserUpdateOneWithoutSchedulesNestedInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateWithoutBlocksInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
licenseKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type ScheduleCreateManyUserInput = {
|
||||
id?: string
|
||||
licenseKeyId?: string | null
|
||||
type?: string | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
|
||||
export type ScheduleUpdateWithoutUserInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
licenseKey?: Prisma.LicenseKeyUpdateOneWithoutScheduleNestedInput
|
||||
blocks?: Prisma.BlockUpdateManyWithoutScheduleNestedInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateWithoutUserInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
licenseKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
blocks?: Prisma.BlockUncheckedUpdateManyWithoutScheduleNestedInput
|
||||
}
|
||||
|
||||
export type ScheduleUncheckedUpdateManyWithoutUserInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
licenseKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -469,59 +673,76 @@ export type ScheduleCountOutputTypeCountBlocksArgs<ExtArgs extends runtime.Types
|
||||
|
||||
export type ScheduleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
licenseKeyId?: boolean
|
||||
userId?: boolean
|
||||
type?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
licenseKey?: boolean | Prisma.Schedule$licenseKeyArgs<ExtArgs>
|
||||
user?: boolean | Prisma.Schedule$userArgs<ExtArgs>
|
||||
blocks?: boolean | Prisma.Schedule$blocksArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.ScheduleCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["schedule"]>
|
||||
|
||||
export type ScheduleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
licenseKeyId?: boolean
|
||||
userId?: boolean
|
||||
type?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
licenseKey?: boolean | Prisma.Schedule$licenseKeyArgs<ExtArgs>
|
||||
user?: boolean | Prisma.Schedule$userArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["schedule"]>
|
||||
|
||||
export type ScheduleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
licenseKeyId?: boolean
|
||||
userId?: boolean
|
||||
type?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
licenseKey?: boolean | Prisma.Schedule$licenseKeyArgs<ExtArgs>
|
||||
user?: boolean | Prisma.Schedule$userArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["schedule"]>
|
||||
|
||||
export type ScheduleSelectScalar = {
|
||||
id?: boolean
|
||||
licenseKeyId?: boolean
|
||||
userId?: boolean
|
||||
type?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
}
|
||||
|
||||
export type ScheduleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "createdAt" | "updatedAt", ExtArgs["result"]["schedule"]>
|
||||
export type ScheduleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "licenseKeyId" | "userId" | "type" | "createdAt" | "updatedAt", ExtArgs["result"]["schedule"]>
|
||||
export type ScheduleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
licenseKey?: boolean | Prisma.Schedule$licenseKeyArgs<ExtArgs>
|
||||
user?: boolean | Prisma.Schedule$userArgs<ExtArgs>
|
||||
blocks?: boolean | Prisma.Schedule$blocksArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.ScheduleCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type ScheduleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
licenseKey?: boolean | Prisma.Schedule$licenseKeyArgs<ExtArgs>
|
||||
user?: boolean | Prisma.Schedule$userArgs<ExtArgs>
|
||||
}
|
||||
export type ScheduleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
licenseKey?: boolean | Prisma.Schedule$licenseKeyArgs<ExtArgs>
|
||||
user?: boolean | Prisma.Schedule$userArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $SchedulePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "Schedule"
|
||||
objects: {
|
||||
user: Prisma.$UserPayload<ExtArgs>
|
||||
licenseKey: Prisma.$LicenseKeyPayload<ExtArgs> | null
|
||||
user: Prisma.$UserPayload<ExtArgs> | null
|
||||
blocks: Prisma.$BlockPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
userId: string
|
||||
licenseKeyId: string | null
|
||||
userId: string | null
|
||||
type: string | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}, ExtArgs["result"]["schedule"]>
|
||||
@@ -918,7 +1139,8 @@ readonly fields: ScheduleFieldRefs;
|
||||
*/
|
||||
export interface Prisma__ScheduleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
licenseKey<T extends Prisma.Schedule$licenseKeyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$licenseKeyArgs<ExtArgs>>): Prisma.Prisma__LicenseKeyClient<runtime.Types.Result.GetResult<Prisma.$LicenseKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
user<T extends Prisma.Schedule$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
blocks<T extends Prisma.Schedule$blocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$blocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
@@ -950,7 +1172,9 @@ export interface Prisma__ScheduleClient<T, Null = never, ExtArgs extends runtime
|
||||
*/
|
||||
export interface ScheduleFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Schedule", 'String'>
|
||||
readonly licenseKeyId: Prisma.FieldRef<"Schedule", 'String'>
|
||||
readonly userId: Prisma.FieldRef<"Schedule", 'String'>
|
||||
readonly type: Prisma.FieldRef<"Schedule", 'String'>
|
||||
readonly createdAt: Prisma.FieldRef<"Schedule", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"Schedule", 'DateTime'>
|
||||
}
|
||||
@@ -1353,6 +1577,44 @@ export type ScheduleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Schedule.licenseKey
|
||||
*/
|
||||
export type Schedule$licenseKeyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the LicenseKey
|
||||
*/
|
||||
select?: Prisma.LicenseKeySelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the LicenseKey
|
||||
*/
|
||||
omit?: Prisma.LicenseKeyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.LicenseKeyInclude<ExtArgs> | null
|
||||
where?: Prisma.LicenseKeyWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Schedule.user
|
||||
*/
|
||||
export type Schedule$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the User
|
||||
*/
|
||||
select?: Prisma.UserSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the User
|
||||
*/
|
||||
omit?: Prisma.UserOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.UserInclude<ExtArgs> | null
|
||||
where?: Prisma.UserWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Schedule.blocks
|
||||
*/
|
||||
|
||||
@@ -246,7 +246,7 @@ export type UserWhereInput = {
|
||||
profiles?: Prisma.ProfileListRelationFilter
|
||||
licenseKeys?: Prisma.LicenseKeyListRelationFilter
|
||||
userProclamations?: Prisma.UserProclamationsListRelationFilter
|
||||
schedule?: Prisma.XOR<Prisma.ScheduleNullableScalarRelationFilter, Prisma.ScheduleWhereInput> | null
|
||||
schedules?: Prisma.ScheduleListRelationFilter
|
||||
}
|
||||
|
||||
export type UserOrderByWithRelationInput = {
|
||||
@@ -264,7 +264,7 @@ export type UserOrderByWithRelationInput = {
|
||||
profiles?: Prisma.ProfileOrderByRelationAggregateInput
|
||||
licenseKeys?: Prisma.LicenseKeyOrderByRelationAggregateInput
|
||||
userProclamations?: Prisma.UserProclamationsOrderByRelationAggregateInput
|
||||
schedule?: Prisma.ScheduleOrderByWithRelationInput
|
||||
schedules?: Prisma.ScheduleOrderByRelationAggregateInput
|
||||
}
|
||||
|
||||
export type UserWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -285,7 +285,7 @@ export type UserWhereUniqueInput = Prisma.AtLeast<{
|
||||
profiles?: Prisma.ProfileListRelationFilter
|
||||
licenseKeys?: Prisma.LicenseKeyListRelationFilter
|
||||
userProclamations?: Prisma.UserProclamationsListRelationFilter
|
||||
schedule?: Prisma.XOR<Prisma.ScheduleNullableScalarRelationFilter, Prisma.ScheduleWhereInput> | null
|
||||
schedules?: Prisma.ScheduleListRelationFilter
|
||||
}, "id" | "email">
|
||||
|
||||
export type UserOrderByWithAggregationInput = {
|
||||
@@ -332,7 +332,7 @@ export type UserCreateInput = {
|
||||
profiles?: Prisma.ProfileCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateInput = {
|
||||
@@ -349,7 +349,7 @@ export type UserUncheckedCreateInput = {
|
||||
profiles?: Prisma.ProfileUncheckedCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUpdateInput = {
|
||||
@@ -366,7 +366,7 @@ export type UserUpdateInput = {
|
||||
profiles?: Prisma.ProfileUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateInput = {
|
||||
@@ -383,7 +383,7 @@ export type UserUncheckedUpdateInput = {
|
||||
profiles?: Prisma.ProfileUncheckedUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateManyInput = {
|
||||
@@ -619,18 +619,20 @@ export type UserUpdateOneWithoutLicenseKeysNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutLicenseKeysInput, Prisma.UserUpdateWithoutLicenseKeysInput>, Prisma.UserUncheckedUpdateWithoutLicenseKeysInput>
|
||||
}
|
||||
|
||||
export type UserCreateNestedOneWithoutScheduleInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutScheduleInput, Prisma.UserUncheckedCreateWithoutScheduleInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutScheduleInput
|
||||
export type UserCreateNestedOneWithoutSchedulesInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutSchedulesInput, Prisma.UserUncheckedCreateWithoutSchedulesInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutSchedulesInput
|
||||
connect?: Prisma.UserWhereUniqueInput
|
||||
}
|
||||
|
||||
export type UserUpdateOneRequiredWithoutScheduleNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutScheduleInput, Prisma.UserUncheckedCreateWithoutScheduleInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutScheduleInput
|
||||
upsert?: Prisma.UserUpsertWithoutScheduleInput
|
||||
export type UserUpdateOneWithoutSchedulesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.UserCreateWithoutSchedulesInput, Prisma.UserUncheckedCreateWithoutSchedulesInput>
|
||||
connectOrCreate?: Prisma.UserCreateOrConnectWithoutSchedulesInput
|
||||
upsert?: Prisma.UserUpsertWithoutSchedulesInput
|
||||
disconnect?: Prisma.UserWhereInput | boolean
|
||||
delete?: Prisma.UserWhereInput | boolean
|
||||
connect?: Prisma.UserWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutScheduleInput, Prisma.UserUpdateWithoutScheduleInput>, Prisma.UserUncheckedUpdateWithoutScheduleInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSchedulesInput, Prisma.UserUpdateWithoutSchedulesInput>, Prisma.UserUncheckedUpdateWithoutSchedulesInput>
|
||||
}
|
||||
|
||||
export type UserCreateWithoutProfilesInput = {
|
||||
@@ -646,7 +648,7 @@ export type UserCreateWithoutProfilesInput = {
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutProfilesInput = {
|
||||
@@ -662,7 +664,7 @@ export type UserUncheckedCreateWithoutProfilesInput = {
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutProfilesInput = {
|
||||
@@ -694,7 +696,7 @@ export type UserUpdateWithoutProfilesInput = {
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutProfilesInput = {
|
||||
@@ -710,7 +712,7 @@ export type UserUncheckedUpdateWithoutProfilesInput = {
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutSessionsInput = {
|
||||
@@ -726,7 +728,7 @@ export type UserCreateWithoutSessionsInput = {
|
||||
profiles?: Prisma.ProfileCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutSessionsInput = {
|
||||
@@ -742,7 +744,7 @@ export type UserUncheckedCreateWithoutSessionsInput = {
|
||||
profiles?: Prisma.ProfileUncheckedCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutSessionsInput = {
|
||||
@@ -774,7 +776,7 @@ export type UserUpdateWithoutSessionsInput = {
|
||||
profiles?: Prisma.ProfileUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutSessionsInput = {
|
||||
@@ -790,7 +792,7 @@ export type UserUncheckedUpdateWithoutSessionsInput = {
|
||||
profiles?: Prisma.ProfileUncheckedUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutAccountsInput = {
|
||||
@@ -806,7 +808,7 @@ export type UserCreateWithoutAccountsInput = {
|
||||
profiles?: Prisma.ProfileCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutAccountsInput = {
|
||||
@@ -822,7 +824,7 @@ export type UserUncheckedCreateWithoutAccountsInput = {
|
||||
profiles?: Prisma.ProfileUncheckedCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutAccountsInput = {
|
||||
@@ -854,7 +856,7 @@ export type UserUpdateWithoutAccountsInput = {
|
||||
profiles?: Prisma.ProfileUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutAccountsInput = {
|
||||
@@ -870,7 +872,7 @@ export type UserUncheckedUpdateWithoutAccountsInput = {
|
||||
profiles?: Prisma.ProfileUncheckedUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutRoleInput = {
|
||||
@@ -886,7 +888,7 @@ export type UserCreateWithoutRoleInput = {
|
||||
profiles?: Prisma.ProfileCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutRoleInput = {
|
||||
@@ -902,7 +904,7 @@ export type UserUncheckedCreateWithoutRoleInput = {
|
||||
profiles?: Prisma.ProfileUncheckedCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutRoleInput = {
|
||||
@@ -958,7 +960,7 @@ export type UserCreateWithoutUserProclamationsInput = {
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
profiles?: Prisma.ProfileCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutUserProclamationsInput = {
|
||||
@@ -974,7 +976,7 @@ export type UserUncheckedCreateWithoutUserProclamationsInput = {
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
profiles?: Prisma.ProfileUncheckedCreateNestedManyWithoutUserInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutUserProclamationsInput = {
|
||||
@@ -1006,7 +1008,7 @@ export type UserUpdateWithoutUserProclamationsInput = {
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
profiles?: Prisma.ProfileUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutUserProclamationsInput = {
|
||||
@@ -1022,7 +1024,7 @@ export type UserUncheckedUpdateWithoutUserProclamationsInput = {
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
profiles?: Prisma.ProfileUncheckedUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutLicenseKeysInput = {
|
||||
@@ -1038,7 +1040,7 @@ export type UserCreateWithoutLicenseKeysInput = {
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutUserInput
|
||||
profiles?: Prisma.ProfileCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutLicenseKeysInput = {
|
||||
@@ -1054,7 +1056,7 @@ export type UserUncheckedCreateWithoutLicenseKeysInput = {
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput
|
||||
profiles?: Prisma.ProfileUncheckedCreateNestedManyWithoutUserInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
schedule?: Prisma.ScheduleUncheckedCreateNestedOneWithoutUserInput
|
||||
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutLicenseKeysInput = {
|
||||
@@ -1086,7 +1088,7 @@ export type UserUpdateWithoutLicenseKeysInput = {
|
||||
accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput
|
||||
profiles?: Prisma.ProfileUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutLicenseKeysInput = {
|
||||
@@ -1102,10 +1104,10 @@ export type UserUncheckedUpdateWithoutLicenseKeysInput = {
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
profiles?: Prisma.ProfileUncheckedUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserCreateWithoutScheduleInput = {
|
||||
export type UserCreateWithoutSchedulesInput = {
|
||||
id: string
|
||||
name: string
|
||||
email: string
|
||||
@@ -1121,7 +1123,7 @@ export type UserCreateWithoutScheduleInput = {
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserUncheckedCreateWithoutScheduleInput = {
|
||||
export type UserUncheckedCreateWithoutSchedulesInput = {
|
||||
id: string
|
||||
name: string
|
||||
email: string
|
||||
@@ -1137,23 +1139,23 @@ export type UserUncheckedCreateWithoutScheduleInput = {
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type UserCreateOrConnectWithoutScheduleInput = {
|
||||
export type UserCreateOrConnectWithoutSchedulesInput = {
|
||||
where: Prisma.UserWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutScheduleInput, Prisma.UserUncheckedCreateWithoutScheduleInput>
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutSchedulesInput, Prisma.UserUncheckedCreateWithoutSchedulesInput>
|
||||
}
|
||||
|
||||
export type UserUpsertWithoutScheduleInput = {
|
||||
update: Prisma.XOR<Prisma.UserUpdateWithoutScheduleInput, Prisma.UserUncheckedUpdateWithoutScheduleInput>
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutScheduleInput, Prisma.UserUncheckedCreateWithoutScheduleInput>
|
||||
export type UserUpsertWithoutSchedulesInput = {
|
||||
update: Prisma.XOR<Prisma.UserUpdateWithoutSchedulesInput, Prisma.UserUncheckedUpdateWithoutSchedulesInput>
|
||||
create: Prisma.XOR<Prisma.UserCreateWithoutSchedulesInput, Prisma.UserUncheckedCreateWithoutSchedulesInput>
|
||||
where?: Prisma.UserWhereInput
|
||||
}
|
||||
|
||||
export type UserUpdateToOneWithWhereWithoutScheduleInput = {
|
||||
export type UserUpdateToOneWithWhereWithoutSchedulesInput = {
|
||||
where?: Prisma.UserWhereInput
|
||||
data: Prisma.XOR<Prisma.UserUpdateWithoutScheduleInput, Prisma.UserUncheckedUpdateWithoutScheduleInput>
|
||||
data: Prisma.XOR<Prisma.UserUpdateWithoutSchedulesInput, Prisma.UserUncheckedUpdateWithoutSchedulesInput>
|
||||
}
|
||||
|
||||
export type UserUpdateWithoutScheduleInput = {
|
||||
export type UserUpdateWithoutSchedulesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1169,7 +1171,7 @@ export type UserUpdateWithoutScheduleInput = {
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutScheduleInput = {
|
||||
export type UserUncheckedUpdateWithoutSchedulesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
email?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -1208,7 +1210,7 @@ export type UserUpdateWithoutRoleInput = {
|
||||
profiles?: Prisma.ProfileUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateWithoutRoleInput = {
|
||||
@@ -1224,7 +1226,7 @@ export type UserUncheckedUpdateWithoutRoleInput = {
|
||||
profiles?: Prisma.ProfileUncheckedUpdateManyWithoutUserNestedInput
|
||||
licenseKeys?: Prisma.LicenseKeyUncheckedUpdateManyWithoutUserNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutUserNestedInput
|
||||
schedule?: Prisma.ScheduleUncheckedUpdateOneWithoutUserNestedInput
|
||||
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type UserUncheckedUpdateManyWithoutRoleInput = {
|
||||
@@ -1248,6 +1250,7 @@ export type UserCountOutputType = {
|
||||
profiles: number
|
||||
licenseKeys: number
|
||||
userProclamations: number
|
||||
schedules: number
|
||||
}
|
||||
|
||||
export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
@@ -1256,6 +1259,7 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
|
||||
profiles?: boolean | UserCountOutputTypeCountProfilesArgs
|
||||
licenseKeys?: boolean | UserCountOutputTypeCountLicenseKeysArgs
|
||||
userProclamations?: boolean | UserCountOutputTypeCountUserProclamationsArgs
|
||||
schedules?: boolean | UserCountOutputTypeCountSchedulesArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1303,6 +1307,13 @@ export type UserCountOutputTypeCountUserProclamationsArgs<ExtArgs extends runtim
|
||||
where?: Prisma.UserProclamationsWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* UserCountOutputType without action
|
||||
*/
|
||||
export type UserCountOutputTypeCountSchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
@@ -1319,7 +1330,7 @@ export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
profiles?: boolean | Prisma.User$profilesArgs<ExtArgs>
|
||||
licenseKeys?: boolean | Prisma.User$licenseKeysArgs<ExtArgs>
|
||||
userProclamations?: boolean | Prisma.User$userProclamationsArgs<ExtArgs>
|
||||
schedule?: boolean | Prisma.User$scheduleArgs<ExtArgs>
|
||||
schedules?: boolean | Prisma.User$schedulesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["user"]>
|
||||
|
||||
@@ -1366,7 +1377,7 @@ export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
profiles?: boolean | Prisma.User$profilesArgs<ExtArgs>
|
||||
licenseKeys?: boolean | Prisma.User$licenseKeysArgs<ExtArgs>
|
||||
userProclamations?: boolean | Prisma.User$userProclamationsArgs<ExtArgs>
|
||||
schedule?: boolean | Prisma.User$scheduleArgs<ExtArgs>
|
||||
schedules?: boolean | Prisma.User$schedulesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type UserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
@@ -1385,7 +1396,7 @@ export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
profiles: Prisma.$ProfilePayload<ExtArgs>[]
|
||||
licenseKeys: Prisma.$LicenseKeyPayload<ExtArgs>[]
|
||||
userProclamations: Prisma.$UserProclamationsPayload<ExtArgs>[]
|
||||
schedule: Prisma.$SchedulePayload<ExtArgs> | null
|
||||
schedules: Prisma.$SchedulePayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -1796,7 +1807,7 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
|
||||
profiles<T extends Prisma.User$profilesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$profilesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
licenseKeys<T extends Prisma.User$licenseKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$licenseKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicenseKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
userProclamations<T extends Prisma.User$userProclamationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$userProclamationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserProclamationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
schedule<T extends Prisma.User$scheduleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$scheduleArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
schedules<T extends Prisma.User$schedulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$schedulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -2374,9 +2385,9 @@ export type User$userProclamationsArgs<ExtArgs extends runtime.Types.Extensions.
|
||||
}
|
||||
|
||||
/**
|
||||
* User.schedule
|
||||
* User.schedules
|
||||
*/
|
||||
export type User$scheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type User$schedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Schedule
|
||||
*/
|
||||
@@ -2390,6 +2401,11 @@ export type User$scheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
*/
|
||||
include?: Prisma.ScheduleInclude<ExtArgs> | null
|
||||
where?: Prisma.ScheduleWhereInput
|
||||
orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[]
|
||||
cursor?: Prisma.ScheduleWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user