| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149 |
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
- /* eslint-disable */
- // @ts-nocheck
- /*
- * This file exports the `ShortLink` model and its related types.
- *
- * 🟢 You can import this file directly.
- */
- import type * as runtime from "@prisma/client/runtime/library"
- import type * as $Enums from "../enums.ts"
- import type * as Prisma from "../internal/prismaNamespace.ts"
- /**
- * Model ShortLink
- *
- */
- export type ShortLinkModel = runtime.Types.Result.DefaultSelection<Prisma.$ShortLinkPayload>
- export type AggregateShortLink = {
- _count: ShortLinkCountAggregateOutputType | null
- _min: ShortLinkMinAggregateOutputType | null
- _max: ShortLinkMaxAggregateOutputType | null
- }
- export type ShortLinkMinAggregateOutputType = {
- id: string | null
- shortCode: string | null
- fullUrl: string | null
- createdAt: Date | null
- updatedAt: Date | null
- }
- export type ShortLinkMaxAggregateOutputType = {
- id: string | null
- shortCode: string | null
- fullUrl: string | null
- createdAt: Date | null
- updatedAt: Date | null
- }
- export type ShortLinkCountAggregateOutputType = {
- id: number
- shortCode: number
- fullUrl: number
- createdAt: number
- updatedAt: number
- _all: number
- }
- export type ShortLinkMinAggregateInputType = {
- id?: true
- shortCode?: true
- fullUrl?: true
- createdAt?: true
- updatedAt?: true
- }
- export type ShortLinkMaxAggregateInputType = {
- id?: true
- shortCode?: true
- fullUrl?: true
- createdAt?: true
- updatedAt?: true
- }
- export type ShortLinkCountAggregateInputType = {
- id?: true
- shortCode?: true
- fullUrl?: true
- createdAt?: true
- updatedAt?: true
- _all?: true
- }
- export type ShortLinkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Filter which ShortLink to aggregate.
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
- *
- * Determine the order of ShortLinks to fetch.
- */
- orderBy?: Prisma.ShortLinkOrderByWithRelationInput | Prisma.ShortLinkOrderByWithRelationInput[]
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
- *
- * Sets the start position
- */
- cursor?: Prisma.ShortLinkWhereUniqueInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
- *
- * Take `±n` ShortLinks 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` ShortLinks.
- */
- skip?: number
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
- *
- * Count returned ShortLinks
- **/
- _count?: true | ShortLinkCountAggregateInputType
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
- *
- * Select which fields to find the minimum value
- **/
- _min?: ShortLinkMinAggregateInputType
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
- *
- * Select which fields to find the maximum value
- **/
- _max?: ShortLinkMaxAggregateInputType
- }
- export type GetShortLinkAggregateType<T extends ShortLinkAggregateArgs> = {
- [P in keyof T & keyof AggregateShortLink]: P extends '_count' | 'count'
- ? T[P] extends true
- ? number
- : Prisma.GetScalarType<T[P], AggregateShortLink[P]>
- : Prisma.GetScalarType<T[P], AggregateShortLink[P]>
- }
- export type ShortLinkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- where?: Prisma.ShortLinkWhereInput
- orderBy?: Prisma.ShortLinkOrderByWithAggregationInput | Prisma.ShortLinkOrderByWithAggregationInput[]
- by: Prisma.ShortLinkScalarFieldEnum[] | Prisma.ShortLinkScalarFieldEnum
- having?: Prisma.ShortLinkScalarWhereWithAggregatesInput
- take?: number
- skip?: number
- _count?: ShortLinkCountAggregateInputType | true
- _min?: ShortLinkMinAggregateInputType
- _max?: ShortLinkMaxAggregateInputType
- }
- export type ShortLinkGroupByOutputType = {
- id: string
- shortCode: string
- fullUrl: string
- createdAt: Date
- updatedAt: Date
- _count: ShortLinkCountAggregateOutputType | null
- _min: ShortLinkMinAggregateOutputType | null
- _max: ShortLinkMaxAggregateOutputType | null
- }
- type GetShortLinkGroupByPayload<T extends ShortLinkGroupByArgs> = Prisma.PrismaPromise<
- Array<
- Prisma.PickEnumerable<ShortLinkGroupByOutputType, T['by']> &
- {
- [P in ((keyof T) & (keyof ShortLinkGroupByOutputType))]: P extends '_count'
- ? T[P] extends boolean
- ? number
- : Prisma.GetScalarType<T[P], ShortLinkGroupByOutputType[P]>
- : Prisma.GetScalarType<T[P], ShortLinkGroupByOutputType[P]>
- }
- >
- >
- export type ShortLinkWhereInput = {
- AND?: Prisma.ShortLinkWhereInput | Prisma.ShortLinkWhereInput[]
- OR?: Prisma.ShortLinkWhereInput[]
- NOT?: Prisma.ShortLinkWhereInput | Prisma.ShortLinkWhereInput[]
- id?: Prisma.StringFilter<"ShortLink"> | string
- shortCode?: Prisma.StringFilter<"ShortLink"> | string
- fullUrl?: Prisma.StringFilter<"ShortLink"> | string
- createdAt?: Prisma.DateTimeFilter<"ShortLink"> | Date | string
- updatedAt?: Prisma.DateTimeFilter<"ShortLink"> | Date | string
- }
- export type ShortLinkOrderByWithRelationInput = {
- id?: Prisma.SortOrder
- shortCode?: Prisma.SortOrder
- fullUrl?: Prisma.SortOrder
- createdAt?: Prisma.SortOrder
- updatedAt?: Prisma.SortOrder
- }
- export type ShortLinkWhereUniqueInput = Prisma.AtLeast<{
- id?: string
- shortCode?: string
- AND?: Prisma.ShortLinkWhereInput | Prisma.ShortLinkWhereInput[]
- OR?: Prisma.ShortLinkWhereInput[]
- NOT?: Prisma.ShortLinkWhereInput | Prisma.ShortLinkWhereInput[]
- fullUrl?: Prisma.StringFilter<"ShortLink"> | string
- createdAt?: Prisma.DateTimeFilter<"ShortLink"> | Date | string
- updatedAt?: Prisma.DateTimeFilter<"ShortLink"> | Date | string
- }, "id" | "shortCode">
- export type ShortLinkOrderByWithAggregationInput = {
- id?: Prisma.SortOrder
- shortCode?: Prisma.SortOrder
- fullUrl?: Prisma.SortOrder
- createdAt?: Prisma.SortOrder
- updatedAt?: Prisma.SortOrder
- _count?: Prisma.ShortLinkCountOrderByAggregateInput
- _max?: Prisma.ShortLinkMaxOrderByAggregateInput
- _min?: Prisma.ShortLinkMinOrderByAggregateInput
- }
- export type ShortLinkScalarWhereWithAggregatesInput = {
- AND?: Prisma.ShortLinkScalarWhereWithAggregatesInput | Prisma.ShortLinkScalarWhereWithAggregatesInput[]
- OR?: Prisma.ShortLinkScalarWhereWithAggregatesInput[]
- NOT?: Prisma.ShortLinkScalarWhereWithAggregatesInput | Prisma.ShortLinkScalarWhereWithAggregatesInput[]
- id?: Prisma.StringWithAggregatesFilter<"ShortLink"> | string
- shortCode?: Prisma.StringWithAggregatesFilter<"ShortLink"> | string
- fullUrl?: Prisma.StringWithAggregatesFilter<"ShortLink"> | string
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"ShortLink"> | Date | string
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ShortLink"> | Date | string
- }
- export type ShortLinkCreateInput = {
- id?: string
- shortCode: string
- fullUrl: string
- createdAt?: Date | string
- updatedAt?: Date | string
- }
- export type ShortLinkUncheckedCreateInput = {
- id?: string
- shortCode: string
- fullUrl: string
- createdAt?: Date | string
- updatedAt?: Date | string
- }
- export type ShortLinkUpdateInput = {
- id?: Prisma.StringFieldUpdateOperationsInput | string
- shortCode?: Prisma.StringFieldUpdateOperationsInput | string
- fullUrl?: Prisma.StringFieldUpdateOperationsInput | string
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- }
- export type ShortLinkUncheckedUpdateInput = {
- id?: Prisma.StringFieldUpdateOperationsInput | string
- shortCode?: Prisma.StringFieldUpdateOperationsInput | string
- fullUrl?: Prisma.StringFieldUpdateOperationsInput | string
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- }
- export type ShortLinkCreateManyInput = {
- id?: string
- shortCode: string
- fullUrl: string
- createdAt?: Date | string
- updatedAt?: Date | string
- }
- export type ShortLinkUpdateManyMutationInput = {
- id?: Prisma.StringFieldUpdateOperationsInput | string
- shortCode?: Prisma.StringFieldUpdateOperationsInput | string
- fullUrl?: Prisma.StringFieldUpdateOperationsInput | string
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- }
- export type ShortLinkUncheckedUpdateManyInput = {
- id?: Prisma.StringFieldUpdateOperationsInput | string
- shortCode?: Prisma.StringFieldUpdateOperationsInput | string
- fullUrl?: Prisma.StringFieldUpdateOperationsInput | string
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
- }
- export type ShortLinkCountOrderByAggregateInput = {
- id?: Prisma.SortOrder
- shortCode?: Prisma.SortOrder
- fullUrl?: Prisma.SortOrder
- createdAt?: Prisma.SortOrder
- updatedAt?: Prisma.SortOrder
- }
- export type ShortLinkMaxOrderByAggregateInput = {
- id?: Prisma.SortOrder
- shortCode?: Prisma.SortOrder
- fullUrl?: Prisma.SortOrder
- createdAt?: Prisma.SortOrder
- updatedAt?: Prisma.SortOrder
- }
- export type ShortLinkMinOrderByAggregateInput = {
- id?: Prisma.SortOrder
- shortCode?: Prisma.SortOrder
- fullUrl?: Prisma.SortOrder
- createdAt?: Prisma.SortOrder
- updatedAt?: Prisma.SortOrder
- }
- export type StringFieldUpdateOperationsInput = {
- set?: string
- }
- export type DateTimeFieldUpdateOperationsInput = {
- set?: Date | string
- }
- export type ShortLinkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
- id?: boolean
- shortCode?: boolean
- fullUrl?: boolean
- createdAt?: boolean
- updatedAt?: boolean
- }, ExtArgs["result"]["shortLink"]>
- export type ShortLinkSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
- id?: boolean
- shortCode?: boolean
- fullUrl?: boolean
- createdAt?: boolean
- updatedAt?: boolean
- }, ExtArgs["result"]["shortLink"]>
- export type ShortLinkSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
- id?: boolean
- shortCode?: boolean
- fullUrl?: boolean
- createdAt?: boolean
- updatedAt?: boolean
- }, ExtArgs["result"]["shortLink"]>
- export type ShortLinkSelectScalar = {
- id?: boolean
- shortCode?: boolean
- fullUrl?: boolean
- createdAt?: boolean
- updatedAt?: boolean
- }
- export type ShortLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shortCode" | "fullUrl" | "createdAt" | "updatedAt", ExtArgs["result"]["shortLink"]>
- export type $ShortLinkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- name: "ShortLink"
- objects: {}
- scalars: runtime.Types.Extensions.GetPayloadResult<{
- id: string
- shortCode: string
- fullUrl: string
- createdAt: Date
- updatedAt: Date
- }, ExtArgs["result"]["shortLink"]>
- composites: {}
- }
- export type ShortLinkGetPayload<S extends boolean | null | undefined | ShortLinkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload, S>
- export type ShortLinkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
- Omit<ShortLinkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
- select?: ShortLinkCountAggregateInputType | true
- }
- export interface ShortLinkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShortLink'], meta: { name: 'ShortLink' } }
- /**
- * Find zero or one ShortLink that matches the filter.
- * @param {ShortLinkFindUniqueArgs} args - Arguments to find a ShortLink
- * @example
- * // Get one ShortLink
- * const shortLink = await prisma.shortLink.findUnique({
- * where: {
- * // ... provide filter here
- * }
- * })
- */
- findUnique<T extends ShortLinkFindUniqueArgs>(args: Prisma.SelectSubset<T, ShortLinkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
- /**
- * Find one ShortLink that matches the filter or throw an error with `error.code='P2025'`
- * if no matches were found.
- * @param {ShortLinkFindUniqueOrThrowArgs} args - Arguments to find a ShortLink
- * @example
- * // Get one ShortLink
- * const shortLink = await prisma.shortLink.findUniqueOrThrow({
- * where: {
- * // ... provide filter here
- * }
- * })
- */
- findUniqueOrThrow<T extends ShortLinkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ShortLinkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
- /**
- * Find the first ShortLink 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 {ShortLinkFindFirstArgs} args - Arguments to find a ShortLink
- * @example
- * // Get one ShortLink
- * const shortLink = await prisma.shortLink.findFirst({
- * where: {
- * // ... provide filter here
- * }
- * })
- */
- findFirst<T extends ShortLinkFindFirstArgs>(args?: Prisma.SelectSubset<T, ShortLinkFindFirstArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
- /**
- * Find the first ShortLink 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 {ShortLinkFindFirstOrThrowArgs} args - Arguments to find a ShortLink
- * @example
- * // Get one ShortLink
- * const shortLink = await prisma.shortLink.findFirstOrThrow({
- * where: {
- * // ... provide filter here
- * }
- * })
- */
- findFirstOrThrow<T extends ShortLinkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ShortLinkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
- /**
- * Find zero or more ShortLinks 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 {ShortLinkFindManyArgs} args - Arguments to filter and select certain fields only.
- * @example
- * // Get all ShortLinks
- * const shortLinks = await prisma.shortLink.findMany()
- *
- * // Get first 10 ShortLinks
- * const shortLinks = await prisma.shortLink.findMany({ take: 10 })
- *
- * // Only select the `id`
- * const shortLinkWithIdOnly = await prisma.shortLink.findMany({ select: { id: true } })
- *
- */
- findMany<T extends ShortLinkFindManyArgs>(args?: Prisma.SelectSubset<T, ShortLinkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
- /**
- * Create a ShortLink.
- * @param {ShortLinkCreateArgs} args - Arguments to create a ShortLink.
- * @example
- * // Create one ShortLink
- * const ShortLink = await prisma.shortLink.create({
- * data: {
- * // ... data to create a ShortLink
- * }
- * })
- *
- */
- create<T extends ShortLinkCreateArgs>(args: Prisma.SelectSubset<T, ShortLinkCreateArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
- /**
- * Create many ShortLinks.
- * @param {ShortLinkCreateManyArgs} args - Arguments to create many ShortLinks.
- * @example
- * // Create many ShortLinks
- * const shortLink = await prisma.shortLink.createMany({
- * data: [
- * // ... provide data here
- * ]
- * })
- *
- */
- createMany<T extends ShortLinkCreateManyArgs>(args?: Prisma.SelectSubset<T, ShortLinkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
- /**
- * Create many ShortLinks and returns the data saved in the database.
- * @param {ShortLinkCreateManyAndReturnArgs} args - Arguments to create many ShortLinks.
- * @example
- * // Create many ShortLinks
- * const shortLink = await prisma.shortLink.createManyAndReturn({
- * data: [
- * // ... provide data here
- * ]
- * })
- *
- * // Create many ShortLinks and only return the `id`
- * const shortLinkWithIdOnly = await prisma.shortLink.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<T extends ShortLinkCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ShortLinkCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
- /**
- * Delete a ShortLink.
- * @param {ShortLinkDeleteArgs} args - Arguments to delete one ShortLink.
- * @example
- * // Delete one ShortLink
- * const ShortLink = await prisma.shortLink.delete({
- * where: {
- * // ... filter to delete one ShortLink
- * }
- * })
- *
- */
- delete<T extends ShortLinkDeleteArgs>(args: Prisma.SelectSubset<T, ShortLinkDeleteArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
- /**
- * Update one ShortLink.
- * @param {ShortLinkUpdateArgs} args - Arguments to update one ShortLink.
- * @example
- * // Update one ShortLink
- * const shortLink = await prisma.shortLink.update({
- * where: {
- * // ... provide filter here
- * },
- * data: {
- * // ... provide data here
- * }
- * })
- *
- */
- update<T extends ShortLinkUpdateArgs>(args: Prisma.SelectSubset<T, ShortLinkUpdateArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
- /**
- * Delete zero or more ShortLinks.
- * @param {ShortLinkDeleteManyArgs} args - Arguments to filter ShortLinks to delete.
- * @example
- * // Delete a few ShortLinks
- * const { count } = await prisma.shortLink.deleteMany({
- * where: {
- * // ... provide filter here
- * }
- * })
- *
- */
- deleteMany<T extends ShortLinkDeleteManyArgs>(args?: Prisma.SelectSubset<T, ShortLinkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
- /**
- * Update zero or more ShortLinks.
- * Note, that providing `undefined` is treated as the value not being there.
- * Read more here: https://pris.ly/d/null-undefined
- * @param {ShortLinkUpdateManyArgs} args - Arguments to update one or more rows.
- * @example
- * // Update many ShortLinks
- * const shortLink = await prisma.shortLink.updateMany({
- * where: {
- * // ... provide filter here
- * },
- * data: {
- * // ... provide data here
- * }
- * })
- *
- */
- updateMany<T extends ShortLinkUpdateManyArgs>(args: Prisma.SelectSubset<T, ShortLinkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
- /**
- * Update zero or more ShortLinks and returns the data updated in the database.
- * @param {ShortLinkUpdateManyAndReturnArgs} args - Arguments to update many ShortLinks.
- * @example
- * // Update many ShortLinks
- * const shortLink = await prisma.shortLink.updateManyAndReturn({
- * where: {
- * // ... provide filter here
- * },
- * data: [
- * // ... provide data here
- * ]
- * })
- *
- * // Update zero or more ShortLinks and only return the `id`
- * const shortLinkWithIdOnly = await prisma.shortLink.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<T extends ShortLinkUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ShortLinkUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
- /**
- * Create or update one ShortLink.
- * @param {ShortLinkUpsertArgs} args - Arguments to update or create a ShortLink.
- * @example
- * // Update or create a ShortLink
- * const shortLink = await prisma.shortLink.upsert({
- * create: {
- * // ... data to create a ShortLink
- * },
- * update: {
- * // ... in case it already exists, update
- * },
- * where: {
- * // ... the filter for the ShortLink we want to update
- * }
- * })
- */
- upsert<T extends ShortLinkUpsertArgs>(args: Prisma.SelectSubset<T, ShortLinkUpsertArgs<ExtArgs>>): Prisma.Prisma__ShortLinkClient<runtime.Types.Result.GetResult<Prisma.$ShortLinkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
- /**
- * Count the number of ShortLinks.
- * Note, that providing `undefined` is treated as the value not being there.
- * Read more here: https://pris.ly/d/null-undefined
- * @param {ShortLinkCountArgs} args - Arguments to filter ShortLinks to count.
- * @example
- * // Count the number of ShortLinks
- * const count = await prisma.shortLink.count({
- * where: {
- * // ... the filter for the ShortLinks we want to count
- * }
- * })
- **/
- count<T extends ShortLinkCountArgs>(
- args?: Prisma.Subset<T, ShortLinkCountArgs>,
- ): Prisma.PrismaPromise<
- T extends runtime.Types.Utils.Record<'select', any>
- ? T['select'] extends true
- ? number
- : Prisma.GetScalarType<T['select'], ShortLinkCountAggregateOutputType>
- : number
- >
- /**
- * Allows you to perform aggregations operations on a ShortLink.
- * Note, that providing `undefined` is treated as the value not being there.
- * Read more here: https://pris.ly/d/null-undefined
- * @param {ShortLinkAggregateArgs} 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<T extends ShortLinkAggregateArgs>(args: Prisma.Subset<T, ShortLinkAggregateArgs>): Prisma.PrismaPromise<GetShortLinkAggregateType<T>>
- /**
- * Group by ShortLink.
- * Note, that providing `undefined` is treated as the value not being there.
- * Read more here: https://pris.ly/d/null-undefined
- * @param {ShortLinkGroupByArgs} 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 ShortLinkGroupByArgs,
- HasSelectOrTake extends Prisma.Or<
- Prisma.Extends<'skip', Prisma.Keys<T>>,
- Prisma.Extends<'take', Prisma.Keys<T>>
- >,
- OrderByArg extends Prisma.True extends HasSelectOrTake
- ? { orderBy: ShortLinkGroupByArgs['orderBy'] }
- : { orderBy?: ShortLinkGroupByArgs['orderBy'] },
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
- ByValid extends Prisma.Has<ByFields, OrderFields>,
- HavingFields extends Prisma.GetHavingFields<T['having']>,
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
- 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<T>
- ? 'orderBy' extends Prisma.Keys<T>
- ? 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<T>
- ? 'orderBy' extends Prisma.Keys<T>
- ? 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<T, ShortLinkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShortLinkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
- /**
- * Fields of the ShortLink model
- */
- readonly fields: ShortLinkFieldRefs;
- }
- /**
- * The delegate class that acts as a "Promise-like" for ShortLink.
- * 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__ShortLinkClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
- readonly [Symbol.toStringTag]: "PrismaPromise"
- /**
- * 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
- /**
- * 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
- /**
- * 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<T>
- }
- /**
- * Fields of the ShortLink model
- */
- export interface ShortLinkFieldRefs {
- readonly id: Prisma.FieldRef<"ShortLink", 'String'>
- readonly shortCode: Prisma.FieldRef<"ShortLink", 'String'>
- readonly fullUrl: Prisma.FieldRef<"ShortLink", 'String'>
- readonly createdAt: Prisma.FieldRef<"ShortLink", 'DateTime'>
- readonly updatedAt: Prisma.FieldRef<"ShortLink", 'DateTime'>
- }
-
- // Custom InputTypes
- /**
- * ShortLink findUnique
- */
- export type ShortLinkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * Filter, which ShortLink to fetch.
- */
- where: Prisma.ShortLinkWhereUniqueInput
- }
- /**
- * ShortLink findUniqueOrThrow
- */
- export type ShortLinkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * Filter, which ShortLink to fetch.
- */
- where: Prisma.ShortLinkWhereUniqueInput
- }
- /**
- * ShortLink findFirst
- */
- export type ShortLinkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * Filter, which ShortLink to fetch.
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
- *
- * Determine the order of ShortLinks to fetch.
- */
- orderBy?: Prisma.ShortLinkOrderByWithRelationInput | Prisma.ShortLinkOrderByWithRelationInput[]
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
- *
- * Sets the position for searching for ShortLinks.
- */
- cursor?: Prisma.ShortLinkWhereUniqueInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
- *
- * Take `±n` ShortLinks 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` ShortLinks.
- */
- skip?: number
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
- *
- * Filter by unique combinations of ShortLinks.
- */
- distinct?: Prisma.ShortLinkScalarFieldEnum | Prisma.ShortLinkScalarFieldEnum[]
- }
- /**
- * ShortLink findFirstOrThrow
- */
- export type ShortLinkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * Filter, which ShortLink to fetch.
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
- *
- * Determine the order of ShortLinks to fetch.
- */
- orderBy?: Prisma.ShortLinkOrderByWithRelationInput | Prisma.ShortLinkOrderByWithRelationInput[]
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
- *
- * Sets the position for searching for ShortLinks.
- */
- cursor?: Prisma.ShortLinkWhereUniqueInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
- *
- * Take `±n` ShortLinks 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` ShortLinks.
- */
- skip?: number
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
- *
- * Filter by unique combinations of ShortLinks.
- */
- distinct?: Prisma.ShortLinkScalarFieldEnum | Prisma.ShortLinkScalarFieldEnum[]
- }
- /**
- * ShortLink findMany
- */
- export type ShortLinkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * Filter, which ShortLinks to fetch.
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
- *
- * Determine the order of ShortLinks to fetch.
- */
- orderBy?: Prisma.ShortLinkOrderByWithRelationInput | Prisma.ShortLinkOrderByWithRelationInput[]
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
- *
- * Sets the position for listing ShortLinks.
- */
- cursor?: Prisma.ShortLinkWhereUniqueInput
- /**
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
- *
- * Take `±n` ShortLinks 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` ShortLinks.
- */
- skip?: number
- distinct?: Prisma.ShortLinkScalarFieldEnum | Prisma.ShortLinkScalarFieldEnum[]
- }
- /**
- * ShortLink create
- */
- export type ShortLinkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * The data needed to create a ShortLink.
- */
- data: Prisma.XOR<Prisma.ShortLinkCreateInput, Prisma.ShortLinkUncheckedCreateInput>
- }
- /**
- * ShortLink createMany
- */
- export type ShortLinkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * The data used to create many ShortLinks.
- */
- data: Prisma.ShortLinkCreateManyInput | Prisma.ShortLinkCreateManyInput[]
- }
- /**
- * ShortLink createManyAndReturn
- */
- export type ShortLinkCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelectCreateManyAndReturn<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * The data used to create many ShortLinks.
- */
- data: Prisma.ShortLinkCreateManyInput | Prisma.ShortLinkCreateManyInput[]
- }
- /**
- * ShortLink update
- */
- export type ShortLinkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * The data needed to update a ShortLink.
- */
- data: Prisma.XOR<Prisma.ShortLinkUpdateInput, Prisma.ShortLinkUncheckedUpdateInput>
- /**
- * Choose, which ShortLink to update.
- */
- where: Prisma.ShortLinkWhereUniqueInput
- }
- /**
- * ShortLink updateMany
- */
- export type ShortLinkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * The data used to update ShortLinks.
- */
- data: Prisma.XOR<Prisma.ShortLinkUpdateManyMutationInput, Prisma.ShortLinkUncheckedUpdateManyInput>
- /**
- * Filter which ShortLinks to update
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * Limit how many ShortLinks to update.
- */
- limit?: number
- }
- /**
- * ShortLink updateManyAndReturn
- */
- export type ShortLinkUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelectUpdateManyAndReturn<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * The data used to update ShortLinks.
- */
- data: Prisma.XOR<Prisma.ShortLinkUpdateManyMutationInput, Prisma.ShortLinkUncheckedUpdateManyInput>
- /**
- * Filter which ShortLinks to update
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * Limit how many ShortLinks to update.
- */
- limit?: number
- }
- /**
- * ShortLink upsert
- */
- export type ShortLinkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * The filter to search for the ShortLink to update in case it exists.
- */
- where: Prisma.ShortLinkWhereUniqueInput
- /**
- * In case the ShortLink found by the `where` argument doesn't exist, create a new ShortLink with this data.
- */
- create: Prisma.XOR<Prisma.ShortLinkCreateInput, Prisma.ShortLinkUncheckedCreateInput>
- /**
- * In case the ShortLink was found with the provided `where` argument, update it with this data.
- */
- update: Prisma.XOR<Prisma.ShortLinkUpdateInput, Prisma.ShortLinkUncheckedUpdateInput>
- }
- /**
- * ShortLink delete
- */
- export type ShortLinkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- /**
- * Filter which ShortLink to delete.
- */
- where: Prisma.ShortLinkWhereUniqueInput
- }
- /**
- * ShortLink deleteMany
- */
- export type ShortLinkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Filter which ShortLinks to delete
- */
- where?: Prisma.ShortLinkWhereInput
- /**
- * Limit how many ShortLinks to delete.
- */
- limit?: number
- }
- /**
- * ShortLink without action
- */
- export type ShortLinkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
- /**
- * Select specific fields to fetch from the ShortLink
- */
- select?: Prisma.ShortLinkSelect<ExtArgs> | null
- /**
- * Omit specific fields from the ShortLink
- */
- omit?: Prisma.ShortLinkOmit<ExtArgs> | null
- }
|