mirror of
https://github.com/mudita/mudita-center.git
synced 2025-12-23 22:28:03 -05:00
21 lines
493 B
TypeScript
21 lines
493 B
TypeScript
/**
|
|
* Copyright (c) Mudita sp. z o.o. All rights reserved.
|
|
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md
|
|
*/
|
|
|
|
import { z } from "zod"
|
|
|
|
const dataValidator = z.undefined()
|
|
|
|
const configValidator = z.object({
|
|
entityTypes: z.array(z.string()).min(1),
|
|
})
|
|
|
|
export type McContactsDuplicatesView = z.infer<typeof configValidator>
|
|
|
|
export const mcContactsDuplicatesView = {
|
|
key: "mc-contacts-duplicates-view",
|
|
dataValidator,
|
|
configValidator,
|
|
} as const
|