method

RiduClient.schedulePublish

Schedule a versioned document for publication with an optional revision fence.

Arguments

ArgumentTypeDescription
collectionSlugThe collection value.
idstringThe id value.
runAtstring | DateThe runAt value.
optionsPublicationScheduleOptions | undefinedThe options value.

Returns

The declared result.

Promise<ScheduledPublication>

Full signature

RiduClient.schedulePublish<Slug extends VersionCollectionSlug<Config>>( collection: Slug, id: string, runAt: string | Date, options?: PublicationScheduleOptions, ): Promise<ScheduledPublication>

Source packages/sdk/src/types.ts:1368

Related types