Last analyzed 4486d2c 20 hours ago
Default analysis branch is
Currently analyzing run
Detected usage of the any type JS-0323
Anti-pattern
20 hours ago2 months old
Unexpected any. Specify a different type
 33		  } as const)
 34/** Array to individual nested create records with individual Audit Logs */
 35
 36export const createManyWithAudit = <T extends Array<any>>(data: T | undefined, actorId: string) => 37	!data
 38		? undefined
 39		: ({
Unexpected any. Specify a different type
 13 */
 14/** Array to a createMany object */
 15
 16export const createMany = <T extends Array<any>>(data: T) => 17	({
 18		createMany: {
 19			data: flush(data),
Unexpected any. Specify a different type
 22	} as const)
 23/** Array to createMany object or `undefined` if no data provided */
 24
 25export const createManyOrUndefined = <T extends Array<any>>(data: T | undefined) => 26	!data
 27		? undefined
 28		: ({
Unexpected any. Specify a different type
 68				connect: data,
 69		  } as const)
 70
 71export const connectOneRequired = <T extends Record<string, any>>(data: T) => 72	({
 73		connect: data,
 74	} as const)
Unexpected any. Specify a different type
 61				},
 62		  } as const)
 63
 64export const connectOne = <T extends Record<string, any>>(data: T | undefined) => 65	!data
 66		? undefined
 67		: ({