chore: renames PayloadT to Payload

This commit is contained in:
Jarrod Flesch
2024-01-10 14:30:56 -05:00
parent d3d15301f7
commit 45ceabf49e
42 changed files with 109 additions and 107 deletions

View File

@@ -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>