chore: renames PayloadT to Payload
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
/* eslint-disable no-await-in-loop */
|
||||
import type { FilterQuery } from 'mongoose'
|
||||
import type { Operator, PayloadT, Where } from 'payload/types'
|
||||
import type { Operator, Payload, Where } from 'payload/types'
|
||||
import type { Field } from 'payload/types'
|
||||
|
||||
import deepmerge from 'deepmerge'
|
||||
@@ -23,7 +23,7 @@ export async function parseParams({
|
||||
fields: Field[]
|
||||
globalSlug?: string
|
||||
locale: string
|
||||
payload: PayloadT
|
||||
payload: Payload
|
||||
where: Where
|
||||
}): Promise<Record<string, unknown>> {
|
||||
let result = {} as FilterQuery<any>
|
||||
|
||||
Reference in New Issue
Block a user