UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

24 lines (21 loc) 709 B
import {createContext} from 'sanity/_createContext' import type {SchedulePublishUpsellContextValue} from '../../core/scheduledPublishing/tool/contexts/SchedulePublishingUpsellProvider' /** * @internal */ export const SchedulePublishUpsellContext = createContext<SchedulePublishUpsellContextValue>( 'sanity/_singletons/context/schedule-publish-upsell', { upsellData: null, handleOpenDialog: () => null, upsellDialogOpen: false, telemetryLogs: { dialogSecondaryClicked: () => null, dialogPrimaryClicked: () => null, panelViewed: () => null, panelDismissed: () => null, panelPrimaryClicked: () => null, panelSecondaryClicked: () => null, }, }, )