UNPKG

@sanity/scheduled-publishing

Version:

> [!IMPORTANT] > As of [v3.39.0](https://www.sanity.io/changelog/e6013ee5-8214-4e03-9593-f7b19124b8a3) of Sanity Studio, this plugin has been deprecated and the Scheduled Publishing functionality has been moved into the core studio package. > Read more an

15 lines (12 loc) 328 B
import {ValidationMarker} from 'sanity' export type ParseResult = {isValid: boolean; date?: Date; error?: string} & ( | {isValid: true; date: Date} | {isValid: false; error?: string} ) export type CommonProps = { value?: string markers: ValidationMarker[] readOnly?: boolean level: number onFocus?: () => void }