/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AppSyncRunLog` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model AppSyncRunLog * */ export type AppSyncRunLogModel = runtime.Types.Result.DefaultSelection export type AggregateAppSyncRunLog = { _count: AppSyncRunLogCountAggregateOutputType | null _min: AppSyncRunLogMinAggregateOutputType | null _max: AppSyncRunLogMaxAggregateOutputType | null } export type AppSyncRunLogMinAggregateOutputType = { id: string | null createdAt: Date | null syncRunId: string | null type: string | null message: string | null metadata: string | null } export type AppSyncRunLogMaxAggregateOutputType = { id: string | null createdAt: Date | null syncRunId: string | null type: string | null message: string | null metadata: string | null } export type AppSyncRunLogCountAggregateOutputType = { id: number createdAt: number syncRunId: number type: number message: number metadata: number _all: number } export type AppSyncRunLogMinAggregateInputType = { id?: true createdAt?: true syncRunId?: true type?: true message?: true metadata?: true } export type AppSyncRunLogMaxAggregateInputType = { id?: true createdAt?: true syncRunId?: true type?: true message?: true metadata?: true } export type AppSyncRunLogCountAggregateInputType = { id?: true createdAt?: true syncRunId?: true type?: true message?: true metadata?: true _all?: true } export type AppSyncRunLogAggregateArgs = { /** * Filter which AppSyncRunLog to aggregate. */ where?: Prisma.AppSyncRunLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRunLogs to fetch. */ orderBy?: Prisma.AppSyncRunLogOrderByWithRelationInput | Prisma.AppSyncRunLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AppSyncRunLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRunLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppSyncRunLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppSyncRunLogs **/ _count?: true | AppSyncRunLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppSyncRunLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppSyncRunLogMaxAggregateInputType } export type GetAppSyncRunLogAggregateType = { [P in keyof T & keyof AggregateAppSyncRunLog]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AppSyncRunLogGroupByArgs = { where?: Prisma.AppSyncRunLogWhereInput orderBy?: Prisma.AppSyncRunLogOrderByWithAggregationInput | Prisma.AppSyncRunLogOrderByWithAggregationInput[] by: Prisma.AppSyncRunLogScalarFieldEnum[] | Prisma.AppSyncRunLogScalarFieldEnum having?: Prisma.AppSyncRunLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppSyncRunLogCountAggregateInputType | true _min?: AppSyncRunLogMinAggregateInputType _max?: AppSyncRunLogMaxAggregateInputType } export type AppSyncRunLogGroupByOutputType = { id: string createdAt: Date syncRunId: string type: string message: string metadata: string | null _count: AppSyncRunLogCountAggregateOutputType | null _min: AppSyncRunLogMinAggregateOutputType | null _max: AppSyncRunLogMaxAggregateOutputType | null } export type GetAppSyncRunLogGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AppSyncRunLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AppSyncRunLogWhereInput = { AND?: Prisma.AppSyncRunLogWhereInput | Prisma.AppSyncRunLogWhereInput[] OR?: Prisma.AppSyncRunLogWhereInput[] NOT?: Prisma.AppSyncRunLogWhereInput | Prisma.AppSyncRunLogWhereInput[] id?: Prisma.StringFilter<"AppSyncRunLog"> | string createdAt?: Prisma.DateTimeFilter<"AppSyncRunLog"> | Date | string syncRunId?: Prisma.StringFilter<"AppSyncRunLog"> | string type?: Prisma.StringFilter<"AppSyncRunLog"> | string message?: Prisma.StringFilter<"AppSyncRunLog"> | string metadata?: Prisma.StringNullableFilter<"AppSyncRunLog"> | string | null syncRun?: Prisma.XOR } export type AppSyncRunLogOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder type?: Prisma.SortOrder message?: Prisma.SortOrder metadata?: Prisma.SortOrderInput | Prisma.SortOrder syncRun?: Prisma.AppSyncRunOrderByWithRelationInput } export type AppSyncRunLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AppSyncRunLogWhereInput | Prisma.AppSyncRunLogWhereInput[] OR?: Prisma.AppSyncRunLogWhereInput[] NOT?: Prisma.AppSyncRunLogWhereInput | Prisma.AppSyncRunLogWhereInput[] createdAt?: Prisma.DateTimeFilter<"AppSyncRunLog"> | Date | string syncRunId?: Prisma.StringFilter<"AppSyncRunLog"> | string type?: Prisma.StringFilter<"AppSyncRunLog"> | string message?: Prisma.StringFilter<"AppSyncRunLog"> | string metadata?: Prisma.StringNullableFilter<"AppSyncRunLog"> | string | null syncRun?: Prisma.XOR }, "id"> export type AppSyncRunLogOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder type?: Prisma.SortOrder message?: Prisma.SortOrder metadata?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AppSyncRunLogCountOrderByAggregateInput _max?: Prisma.AppSyncRunLogMaxOrderByAggregateInput _min?: Prisma.AppSyncRunLogMinOrderByAggregateInput } export type AppSyncRunLogScalarWhereWithAggregatesInput = { AND?: Prisma.AppSyncRunLogScalarWhereWithAggregatesInput | Prisma.AppSyncRunLogScalarWhereWithAggregatesInput[] OR?: Prisma.AppSyncRunLogScalarWhereWithAggregatesInput[] NOT?: Prisma.AppSyncRunLogScalarWhereWithAggregatesInput | Prisma.AppSyncRunLogScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AppSyncRunLog"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncRunLog"> | Date | string syncRunId?: Prisma.StringWithAggregatesFilter<"AppSyncRunLog"> | string type?: Prisma.StringWithAggregatesFilter<"AppSyncRunLog"> | string message?: Prisma.StringWithAggregatesFilter<"AppSyncRunLog"> | string metadata?: Prisma.StringNullableWithAggregatesFilter<"AppSyncRunLog"> | string | null } export type AppSyncRunLogCreateInput = { id?: string createdAt?: Date | string type?: string message: string metadata?: string | null syncRun: Prisma.AppSyncRunCreateNestedOneWithoutLogsInput } export type AppSyncRunLogUncheckedCreateInput = { id?: string createdAt?: Date | string syncRunId: string type?: string message: string metadata?: string | null } export type AppSyncRunLogUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncRun?: Prisma.AppSyncRunUpdateOneRequiredWithoutLogsNestedInput } export type AppSyncRunLogUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string syncRunId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunLogCreateManyInput = { id?: string createdAt?: Date | string syncRunId: string type?: string message: string metadata?: string | null } export type AppSyncRunLogUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunLogUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string syncRunId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunLogListRelationFilter = { every?: Prisma.AppSyncRunLogWhereInput some?: Prisma.AppSyncRunLogWhereInput none?: Prisma.AppSyncRunLogWhereInput } export type AppSyncRunLogOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AppSyncRunLogCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder type?: Prisma.SortOrder message?: Prisma.SortOrder metadata?: Prisma.SortOrder } export type AppSyncRunLogMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder type?: Prisma.SortOrder message?: Prisma.SortOrder metadata?: Prisma.SortOrder } export type AppSyncRunLogMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder type?: Prisma.SortOrder message?: Prisma.SortOrder metadata?: Prisma.SortOrder } export type AppSyncRunLogCreateNestedManyWithoutSyncRunInput = { create?: Prisma.XOR | Prisma.AppSyncRunLogCreateWithoutSyncRunInput[] | Prisma.AppSyncRunLogUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput[] createMany?: Prisma.AppSyncRunLogCreateManySyncRunInputEnvelope connect?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] } export type AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput = { create?: Prisma.XOR | Prisma.AppSyncRunLogCreateWithoutSyncRunInput[] | Prisma.AppSyncRunLogUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput[] createMany?: Prisma.AppSyncRunLogCreateManySyncRunInputEnvelope connect?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] } export type AppSyncRunLogUpdateManyWithoutSyncRunNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunLogCreateWithoutSyncRunInput[] | Prisma.AppSyncRunLogUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput[] upsert?: Prisma.AppSyncRunLogUpsertWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncRunLogUpsertWithWhereUniqueWithoutSyncRunInput[] createMany?: Prisma.AppSyncRunLogCreateManySyncRunInputEnvelope set?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] disconnect?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] delete?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] connect?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] update?: Prisma.AppSyncRunLogUpdateWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncRunLogUpdateWithWhereUniqueWithoutSyncRunInput[] updateMany?: Prisma.AppSyncRunLogUpdateManyWithWhereWithoutSyncRunInput | Prisma.AppSyncRunLogUpdateManyWithWhereWithoutSyncRunInput[] deleteMany?: Prisma.AppSyncRunLogScalarWhereInput | Prisma.AppSyncRunLogScalarWhereInput[] } export type AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunLogCreateWithoutSyncRunInput[] | Prisma.AppSyncRunLogUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncRunLogCreateOrConnectWithoutSyncRunInput[] upsert?: Prisma.AppSyncRunLogUpsertWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncRunLogUpsertWithWhereUniqueWithoutSyncRunInput[] createMany?: Prisma.AppSyncRunLogCreateManySyncRunInputEnvelope set?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] disconnect?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] delete?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] connect?: Prisma.AppSyncRunLogWhereUniqueInput | Prisma.AppSyncRunLogWhereUniqueInput[] update?: Prisma.AppSyncRunLogUpdateWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncRunLogUpdateWithWhereUniqueWithoutSyncRunInput[] updateMany?: Prisma.AppSyncRunLogUpdateManyWithWhereWithoutSyncRunInput | Prisma.AppSyncRunLogUpdateManyWithWhereWithoutSyncRunInput[] deleteMany?: Prisma.AppSyncRunLogScalarWhereInput | Prisma.AppSyncRunLogScalarWhereInput[] } export type AppSyncRunLogCreateWithoutSyncRunInput = { id?: string createdAt?: Date | string type?: string message: string metadata?: string | null } export type AppSyncRunLogUncheckedCreateWithoutSyncRunInput = { id?: string createdAt?: Date | string type?: string message: string metadata?: string | null } export type AppSyncRunLogCreateOrConnectWithoutSyncRunInput = { where: Prisma.AppSyncRunLogWhereUniqueInput create: Prisma.XOR } export type AppSyncRunLogCreateManySyncRunInputEnvelope = { data: Prisma.AppSyncRunLogCreateManySyncRunInput | Prisma.AppSyncRunLogCreateManySyncRunInput[] skipDuplicates?: boolean } export type AppSyncRunLogUpsertWithWhereUniqueWithoutSyncRunInput = { where: Prisma.AppSyncRunLogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppSyncRunLogUpdateWithWhereUniqueWithoutSyncRunInput = { where: Prisma.AppSyncRunLogWhereUniqueInput data: Prisma.XOR } export type AppSyncRunLogUpdateManyWithWhereWithoutSyncRunInput = { where: Prisma.AppSyncRunLogScalarWhereInput data: Prisma.XOR } export type AppSyncRunLogScalarWhereInput = { AND?: Prisma.AppSyncRunLogScalarWhereInput | Prisma.AppSyncRunLogScalarWhereInput[] OR?: Prisma.AppSyncRunLogScalarWhereInput[] NOT?: Prisma.AppSyncRunLogScalarWhereInput | Prisma.AppSyncRunLogScalarWhereInput[] id?: Prisma.StringFilter<"AppSyncRunLog"> | string createdAt?: Prisma.DateTimeFilter<"AppSyncRunLog"> | Date | string syncRunId?: Prisma.StringFilter<"AppSyncRunLog"> | string type?: Prisma.StringFilter<"AppSyncRunLog"> | string message?: Prisma.StringFilter<"AppSyncRunLog"> | string metadata?: Prisma.StringNullableFilter<"AppSyncRunLog"> | string | null } export type AppSyncRunLogCreateManySyncRunInput = { id?: string createdAt?: Date | string type?: string message: string metadata?: string | null } export type AppSyncRunLogUpdateWithoutSyncRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunLogUncheckedUpdateWithoutSyncRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunLogUncheckedUpdateManyWithoutSyncRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.StringFieldUpdateOperationsInput | string message?: Prisma.StringFieldUpdateOperationsInput | string metadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunLogSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean syncRunId?: boolean type?: boolean message?: boolean metadata?: boolean syncRun?: boolean | Prisma.AppSyncRunDefaultArgs }, ExtArgs["result"]["appSyncRunLog"]> export type AppSyncRunLogSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean syncRunId?: boolean type?: boolean message?: boolean metadata?: boolean syncRun?: boolean | Prisma.AppSyncRunDefaultArgs }, ExtArgs["result"]["appSyncRunLog"]> export type AppSyncRunLogSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean syncRunId?: boolean type?: boolean message?: boolean metadata?: boolean syncRun?: boolean | Prisma.AppSyncRunDefaultArgs }, ExtArgs["result"]["appSyncRunLog"]> export type AppSyncRunLogSelectScalar = { id?: boolean createdAt?: boolean syncRunId?: boolean type?: boolean message?: boolean metadata?: boolean } export type AppSyncRunLogOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "syncRunId" | "type" | "message" | "metadata", ExtArgs["result"]["appSyncRunLog"]> export type AppSyncRunLogInclude = { syncRun?: boolean | Prisma.AppSyncRunDefaultArgs } export type AppSyncRunLogIncludeCreateManyAndReturn = { syncRun?: boolean | Prisma.AppSyncRunDefaultArgs } export type AppSyncRunLogIncludeUpdateManyAndReturn = { syncRun?: boolean | Prisma.AppSyncRunDefaultArgs } export type $AppSyncRunLogPayload = { name: "AppSyncRunLog" objects: { syncRun: Prisma.$AppSyncRunPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date syncRunId: string type: string message: string metadata: string | null }, ExtArgs["result"]["appSyncRunLog"]> composites: {} } export type AppSyncRunLogGetPayload = runtime.Types.Result.GetResult export type AppSyncRunLogCountArgs = Omit & { select?: AppSyncRunLogCountAggregateInputType | true } export interface AppSyncRunLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppSyncRunLog'], meta: { name: 'AppSyncRunLog' } } /** * Find zero or one AppSyncRunLog that matches the filter. * @param {AppSyncRunLogFindUniqueArgs} args - Arguments to find a AppSyncRunLog * @example * // Get one AppSyncRunLog * const appSyncRunLog = await prisma.appSyncRunLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppSyncRunLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppSyncRunLogFindUniqueOrThrowArgs} args - Arguments to find a AppSyncRunLog * @example * // Get one AppSyncRunLog * const appSyncRunLog = await prisma.appSyncRunLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppSyncRunLog that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogFindFirstArgs} args - Arguments to find a AppSyncRunLog * @example * // Get one AppSyncRunLog * const appSyncRunLog = await prisma.appSyncRunLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppSyncRunLog that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogFindFirstOrThrowArgs} args - Arguments to find a AppSyncRunLog * @example * // Get one AppSyncRunLog * const appSyncRunLog = await prisma.appSyncRunLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppSyncRunLogs that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppSyncRunLogs * const appSyncRunLogs = await prisma.appSyncRunLog.findMany() * * // Get first 10 AppSyncRunLogs * const appSyncRunLogs = await prisma.appSyncRunLog.findMany({ take: 10 }) * * // Only select the `id` * const appSyncRunLogWithIdOnly = await prisma.appSyncRunLog.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AppSyncRunLog. * @param {AppSyncRunLogCreateArgs} args - Arguments to create a AppSyncRunLog. * @example * // Create one AppSyncRunLog * const AppSyncRunLog = await prisma.appSyncRunLog.create({ * data: { * // ... data to create a AppSyncRunLog * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppSyncRunLogs. * @param {AppSyncRunLogCreateManyArgs} args - Arguments to create many AppSyncRunLogs. * @example * // Create many AppSyncRunLogs * const appSyncRunLog = await prisma.appSyncRunLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AppSyncRunLogs and returns the data saved in the database. * @param {AppSyncRunLogCreateManyAndReturnArgs} args - Arguments to create many AppSyncRunLogs. * @example * // Create many AppSyncRunLogs * const appSyncRunLog = await prisma.appSyncRunLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AppSyncRunLogs and only return the `id` * const appSyncRunLogWithIdOnly = await prisma.appSyncRunLog.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AppSyncRunLog. * @param {AppSyncRunLogDeleteArgs} args - Arguments to delete one AppSyncRunLog. * @example * // Delete one AppSyncRunLog * const AppSyncRunLog = await prisma.appSyncRunLog.delete({ * where: { * // ... filter to delete one AppSyncRunLog * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppSyncRunLog. * @param {AppSyncRunLogUpdateArgs} args - Arguments to update one AppSyncRunLog. * @example * // Update one AppSyncRunLog * const appSyncRunLog = await prisma.appSyncRunLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppSyncRunLogs. * @param {AppSyncRunLogDeleteManyArgs} args - Arguments to filter AppSyncRunLogs to delete. * @example * // Delete a few AppSyncRunLogs * const { count } = await prisma.appSyncRunLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppSyncRunLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppSyncRunLogs * const appSyncRunLog = await prisma.appSyncRunLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppSyncRunLogs and returns the data updated in the database. * @param {AppSyncRunLogUpdateManyAndReturnArgs} args - Arguments to update many AppSyncRunLogs. * @example * // Update many AppSyncRunLogs * const appSyncRunLog = await prisma.appSyncRunLog.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AppSyncRunLogs and only return the `id` * const appSyncRunLogWithIdOnly = await prisma.appSyncRunLog.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AppSyncRunLog. * @param {AppSyncRunLogUpsertArgs} args - Arguments to update or create a AppSyncRunLog. * @example * // Update or create a AppSyncRunLog * const appSyncRunLog = await prisma.appSyncRunLog.upsert({ * create: { * // ... data to create a AppSyncRunLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppSyncRunLog we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunLogClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppSyncRunLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogCountArgs} args - Arguments to filter AppSyncRunLogs to count. * @example * // Count the number of AppSyncRunLogs * const count = await prisma.appSyncRunLog.count({ * where: { * // ... the filter for the AppSyncRunLogs we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a AppSyncRunLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by AppSyncRunLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunLogGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends AppSyncRunLogGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AppSyncRunLogGroupByArgs['orderBy'] } : { orderBy?: AppSyncRunLogGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAppSyncRunLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppSyncRunLog model */ readonly fields: AppSyncRunLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppSyncRunLog. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__AppSyncRunLogClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" syncRun = {}>(args?: Prisma.Subset>): Prisma.Prisma__AppSyncRunClient, 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. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the AppSyncRunLog model */ export interface AppSyncRunLogFieldRefs { readonly id: Prisma.FieldRef<"AppSyncRunLog", 'String'> readonly createdAt: Prisma.FieldRef<"AppSyncRunLog", 'DateTime'> readonly syncRunId: Prisma.FieldRef<"AppSyncRunLog", 'String'> readonly type: Prisma.FieldRef<"AppSyncRunLog", 'String'> readonly message: Prisma.FieldRef<"AppSyncRunLog", 'String'> readonly metadata: Prisma.FieldRef<"AppSyncRunLog", 'String'> } // Custom InputTypes /** * AppSyncRunLog findUnique */ export type AppSyncRunLogFindUniqueArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * Filter, which AppSyncRunLog to fetch. */ where: Prisma.AppSyncRunLogWhereUniqueInput } /** * AppSyncRunLog findUniqueOrThrow */ export type AppSyncRunLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * Filter, which AppSyncRunLog to fetch. */ where: Prisma.AppSyncRunLogWhereUniqueInput } /** * AppSyncRunLog findFirst */ export type AppSyncRunLogFindFirstArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * Filter, which AppSyncRunLog to fetch. */ where?: Prisma.AppSyncRunLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRunLogs to fetch. */ orderBy?: Prisma.AppSyncRunLogOrderByWithRelationInput | Prisma.AppSyncRunLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppSyncRunLogs. */ cursor?: Prisma.AppSyncRunLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRunLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppSyncRunLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncRunLogs. */ distinct?: Prisma.AppSyncRunLogScalarFieldEnum | Prisma.AppSyncRunLogScalarFieldEnum[] } /** * AppSyncRunLog findFirstOrThrow */ export type AppSyncRunLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * Filter, which AppSyncRunLog to fetch. */ where?: Prisma.AppSyncRunLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRunLogs to fetch. */ orderBy?: Prisma.AppSyncRunLogOrderByWithRelationInput | Prisma.AppSyncRunLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppSyncRunLogs. */ cursor?: Prisma.AppSyncRunLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRunLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppSyncRunLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncRunLogs. */ distinct?: Prisma.AppSyncRunLogScalarFieldEnum | Prisma.AppSyncRunLogScalarFieldEnum[] } /** * AppSyncRunLog findMany */ export type AppSyncRunLogFindManyArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * Filter, which AppSyncRunLogs to fetch. */ where?: Prisma.AppSyncRunLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRunLogs to fetch. */ orderBy?: Prisma.AppSyncRunLogOrderByWithRelationInput | Prisma.AppSyncRunLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppSyncRunLogs. */ cursor?: Prisma.AppSyncRunLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRunLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppSyncRunLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncRunLogs. */ distinct?: Prisma.AppSyncRunLogScalarFieldEnum | Prisma.AppSyncRunLogScalarFieldEnum[] } /** * AppSyncRunLog create */ export type AppSyncRunLogCreateArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * The data needed to create a AppSyncRunLog. */ data: Prisma.XOR } /** * AppSyncRunLog createMany */ export type AppSyncRunLogCreateManyArgs = { /** * The data used to create many AppSyncRunLogs. */ data: Prisma.AppSyncRunLogCreateManyInput | Prisma.AppSyncRunLogCreateManyInput[] skipDuplicates?: boolean } /** * AppSyncRunLog createManyAndReturn */ export type AppSyncRunLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelectCreateManyAndReturn | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * The data used to create many AppSyncRunLogs. */ data: Prisma.AppSyncRunLogCreateManyInput | Prisma.AppSyncRunLogCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogIncludeCreateManyAndReturn | null } /** * AppSyncRunLog update */ export type AppSyncRunLogUpdateArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * The data needed to update a AppSyncRunLog. */ data: Prisma.XOR /** * Choose, which AppSyncRunLog to update. */ where: Prisma.AppSyncRunLogWhereUniqueInput } /** * AppSyncRunLog updateMany */ export type AppSyncRunLogUpdateManyArgs = { /** * The data used to update AppSyncRunLogs. */ data: Prisma.XOR /** * Filter which AppSyncRunLogs to update */ where?: Prisma.AppSyncRunLogWhereInput /** * Limit how many AppSyncRunLogs to update. */ limit?: number } /** * AppSyncRunLog updateManyAndReturn */ export type AppSyncRunLogUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelectUpdateManyAndReturn | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * The data used to update AppSyncRunLogs. */ data: Prisma.XOR /** * Filter which AppSyncRunLogs to update */ where?: Prisma.AppSyncRunLogWhereInput /** * Limit how many AppSyncRunLogs to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogIncludeUpdateManyAndReturn | null } /** * AppSyncRunLog upsert */ export type AppSyncRunLogUpsertArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * The filter to search for the AppSyncRunLog to update in case it exists. */ where: Prisma.AppSyncRunLogWhereUniqueInput /** * In case the AppSyncRunLog found by the `where` argument doesn't exist, create a new AppSyncRunLog with this data. */ create: Prisma.XOR /** * In case the AppSyncRunLog was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AppSyncRunLog delete */ export type AppSyncRunLogDeleteArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null /** * Filter which AppSyncRunLog to delete. */ where: Prisma.AppSyncRunLogWhereUniqueInput } /** * AppSyncRunLog deleteMany */ export type AppSyncRunLogDeleteManyArgs = { /** * Filter which AppSyncRunLogs to delete */ where?: Prisma.AppSyncRunLogWhereInput /** * Limit how many AppSyncRunLogs to delete. */ limit?: number } /** * AppSyncRunLog without action */ export type AppSyncRunLogDefaultArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null }