@contentstack/management
Version:
The Content Management API is used to manage the content of your Contentstack account
18 lines (14 loc) • 375 B
TypeScript
import { Response } from "../contentstackCollection";
export interface PublishDetails {
locales: Array<string>
environments: Array<string>
}
export interface PublishConfig {
publishDetails: PublishDetails
locale?: string
version?: number
scheduledAt?: string
}
export interface Publishable {
publish(config: PublishConfig): Promise<Response>
}