method

RiduClient.schedulePublish

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

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

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

@param collection
The collection value.
@param id
The id value.
@param runAt
The runAt value.
@param options
The options value.
@returns
The declared result.

Related types