mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 14:04:50 +00:00
feat(db): add custom migration to backfill totalFrames and startTimecode
This commit is contained in:
Generated
+64
-64
@@ -1,4 +1,4 @@
|
||||
import * as Prisma from './internal/prismaNamespace'
|
||||
import * as Prisma from './internal/prismaNamespace';
|
||||
declare global {
|
||||
namespace PrismaJson {
|
||||
// This namespace will always be empty. Definitions should be done by
|
||||
@@ -12,21 +12,21 @@ declare global {
|
||||
|
||||
/** A filter to be used against nullable List types. */
|
||||
export type NullableListFilter<T> = {
|
||||
equals?: T | T[] | null
|
||||
has?: T | null
|
||||
hasEvery?: T[]
|
||||
hasSome?: T[]
|
||||
isEmpty?: boolean
|
||||
}
|
||||
equals?: T | T[] | null;
|
||||
has?: T | null;
|
||||
hasEvery?: T[];
|
||||
hasSome?: T[];
|
||||
isEmpty?: boolean;
|
||||
};
|
||||
|
||||
/** A type to determine how to update a json field */
|
||||
export type UpdateInput<T> = T extends object ? { [P in keyof T]?: UpdateInput<T[P]> } : T
|
||||
export type UpdateInput<T> = T extends object ? { [P in keyof T]?: UpdateInput<T[P]> } : T;
|
||||
|
||||
/** A type to determine how to update a json[] field */
|
||||
export type UpdateManyInput<T> = T | T[] | { set?: T[]; push?: T | T[] }
|
||||
export type UpdateManyInput<T> = T | T[] | { set?: T[]; push?: T | T[] };
|
||||
|
||||
/** A type to determine how to create a json[] input */
|
||||
export type CreateManyInput<T> = T | T[] | { set?: T[] }
|
||||
export type CreateManyInput<T> = T | T[] | { set?: T[] };
|
||||
|
||||
/**
|
||||
* A typed version of NestedStringFilter, allowing narrowing of string types to
|
||||
@@ -35,11 +35,11 @@ export type CreateManyInput<T> = T | T[] | { set?: T[] }
|
||||
export type TypedNestedStringFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
||||
Prisma.StringFilter & {
|
||||
equals?: S
|
||||
in?: S[]
|
||||
notIn?: S[]
|
||||
not?: TypedNestedStringFilter<S> | S
|
||||
}
|
||||
equals?: S;
|
||||
in?: S[];
|
||||
notIn?: S[];
|
||||
not?: TypedNestedStringFilter<S> | S;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of StringFilter, allowing narrowing of string types to discriminated
|
||||
@@ -48,11 +48,11 @@ export type TypedNestedStringFilter<S extends string> =
|
||||
export type TypedStringFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
||||
Prisma.StringFilter & {
|
||||
equals?: S
|
||||
in?: S[]
|
||||
notIn?: S[]
|
||||
not?: TypedNestedStringFilter<S> | S
|
||||
}
|
||||
equals?: S;
|
||||
in?: S[];
|
||||
notIn?: S[];
|
||||
not?: TypedNestedStringFilter<S> | S;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of NestedStringNullableFilter, allowing narrowing of string types to
|
||||
@@ -61,11 +61,11 @@ export type TypedStringFilter<S extends string> =
|
||||
export type TypedNestedStringNullableFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
||||
Prisma.StringNullableFilter & {
|
||||
equals?: S | null
|
||||
in?: S[] | null
|
||||
notIn?: S[] | null
|
||||
not?: TypedNestedStringNullableFilter<S> | S | null
|
||||
}
|
||||
equals?: S | null;
|
||||
in?: S[] | null;
|
||||
notIn?: S[] | null;
|
||||
not?: TypedNestedStringNullableFilter<S> | S | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of StringNullableFilter, allowing narrowing of string types to
|
||||
@@ -74,11 +74,11 @@ export type TypedNestedStringNullableFilter<S extends string> =
|
||||
export type TypedStringNullableFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
||||
Prisma.StringNullableFilter & {
|
||||
equals?: S | null
|
||||
in?: S[] | null
|
||||
notIn?: S[] | null
|
||||
not?: TypedNestedStringNullableFilter<S> | S | null
|
||||
}
|
||||
equals?: S | null;
|
||||
in?: S[] | null;
|
||||
notIn?: S[] | null;
|
||||
not?: TypedNestedStringNullableFilter<S> | S | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of NestedStringWithAggregatesFilter, allowing narrowing of string types
|
||||
@@ -87,11 +87,11 @@ export type TypedStringNullableFilter<S extends string> =
|
||||
export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.NestedStringWithAggregatesFilter is not present, this type is not used
|
||||
Prisma.NestedStringWithAggregatesFilter & {
|
||||
equals?: S
|
||||
in?: S[]
|
||||
notIn?: S[]
|
||||
not?: TypedNestedStringWithAggregatesFilter<S> | S
|
||||
}
|
||||
equals?: S;
|
||||
in?: S[];
|
||||
notIn?: S[];
|
||||
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of StringWithAggregatesFilter, allowing narrowing of string types to
|
||||
@@ -100,11 +100,11 @@ export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
||||
export type TypedStringWithAggregatesFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringWithAggregatesFilter is not present, this type is not used
|
||||
Prisma.StringWithAggregatesFilter & {
|
||||
equals?: S
|
||||
in?: S[]
|
||||
notIn?: S[]
|
||||
not?: TypedNestedStringWithAggregatesFilter<S> | S
|
||||
}
|
||||
equals?: S;
|
||||
in?: S[];
|
||||
notIn?: S[];
|
||||
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of NestedStringNullableWithAggregatesFilter, allowing narrowing of
|
||||
@@ -113,11 +113,11 @@ export type TypedStringWithAggregatesFilter<S extends string> =
|
||||
export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.NestedStringNullableWithAggregatesFilter is not present, this type is not used
|
||||
Prisma.NestedStringNullableWithAggregatesFilter & {
|
||||
equals?: S | null
|
||||
in?: S[] | null
|
||||
notIn?: S[] | null
|
||||
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null
|
||||
}
|
||||
equals?: S | null;
|
||||
in?: S[] | null;
|
||||
notIn?: S[] | null;
|
||||
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of StringNullableWithAggregatesFilter, allowing narrowing of string
|
||||
@@ -126,11 +126,11 @@ export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
||||
export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringNullableWithAggregatesFilter is not present, this type is not used
|
||||
Prisma.StringNullableWithAggregatesFilter & {
|
||||
equals?: S | null
|
||||
in?: S[] | null
|
||||
notIn?: S[] | null
|
||||
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null
|
||||
}
|
||||
equals?: S | null;
|
||||
in?: S[] | null;
|
||||
notIn?: S[] | null;
|
||||
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of StringFieldUpdateOperationsInput, allowing narrowing of string types
|
||||
@@ -139,8 +139,8 @@ export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
||||
export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringFieldUpdateOperationsInput is not present, this type is not used
|
||||
Prisma.StringFieldUpdateOperationsInput & {
|
||||
set?: S
|
||||
}
|
||||
set?: S;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of NullableStringFieldUpdateOperationsInput, allowing narrowing of
|
||||
@@ -149,8 +149,8 @@ export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
||||
export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
||||
//@ts-ignore - When Prisma.NullableStringFieldUpdateOperationsInput is not present, this type is not used
|
||||
Prisma.NullableStringFieldUpdateOperationsInput & {
|
||||
set?: S | null
|
||||
}
|
||||
set?: S | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of StringNullableListFilter, allowing narrowing of string types to
|
||||
@@ -159,25 +159,25 @@ export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
||||
export type TypedStringNullableListFilter<S extends string> =
|
||||
//@ts-ignore - When Prisma.StringNullableListFilter is not present, this type is not used
|
||||
Prisma.StringNullableListFilter & {
|
||||
equals?: S[] | null
|
||||
has?: S | null
|
||||
hasEvery?: S[]
|
||||
hasSome?: S[]
|
||||
}
|
||||
equals?: S[] | null;
|
||||
has?: S | null;
|
||||
hasEvery?: S[];
|
||||
hasSome?: S[];
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of the input type to update a string[] field, allowing narrowing of
|
||||
* string types to discriminated unions.
|
||||
*/
|
||||
export type UpdateStringArrayInput<S extends string> = {
|
||||
set?: S[]
|
||||
push?: S | S[]
|
||||
}
|
||||
set?: S[];
|
||||
push?: S | S[];
|
||||
};
|
||||
|
||||
/**
|
||||
* A typed version of the input type to create a string[] field, allowing narrowing of
|
||||
* string types to discriminated unions.
|
||||
*/
|
||||
export type CreateStringArrayInput<S extends string> = {
|
||||
set?: S[]
|
||||
}
|
||||
set?: S[];
|
||||
};
|
||||
Reference in New Issue
Block a user