method
RiduClient.schedulePublish
Schedule a versioned document for publication with an optional revision fence.
Arguments
| Argument | Type | Description |
|---|---|---|
collection | Slug | The collection value. |
id | string | The id value. |
runAt | string | | The runAt value. |
options | PublicationScheduleOptions | | The 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>Related types
VersionCollectionSlugCollection slugs with the generated versions capability.
PublicationScheduleOptionsRevision fence and display timezone for a scheduled publication change.
ScheduledPublicationA durable scheduled-publication job returned by publishing methods.