@seidhr/sanity-plugin-timespan-input
Version:
Make it easier to add timespan information with the help of Extended Date Time Format (EDTF).
22 lines (21 loc) • 610 B
TypeScript
import { ObjectDefinition } from 'sanity';
declare const timespanTypeName = "Timespan";
export interface TimespanDefinition extends Omit<ObjectDefinition, 'type' | 'fields' | 'options'> {
type: typeof timespanTypeName;
}
declare module '@sanity/types' {
interface IntrinsicDefinitions {
timespan: TimespanDefinition;
}
}
export declare const timespan: {
type: "object";
name: "Timespan";
} & Omit<ObjectDefinition, "preview"> & {
preview?: import("sanity").PreviewConfig<{
timespanTitle: string;
}, {
timespanTitle: string;
}> | undefined;
};
export {};