UNPKG

@kontent-ai/model-generator

Version:

This utility generates strongly-typed models for Delivery JS SDK, Migration toolkit or just general scripting to improve the experience when referencing Kontent.ai related objects.

15 lines (14 loc) 615 B
import type { EnvironmentModels } from "@kontent-ai/management-sdk"; export type CommentLine = { readonly name: string; readonly value: string | undefined; }; export declare function wrapComment(comment: string, options?: { readonly lines?: readonly CommentLine[]; }): string; export declare function toSafeComment(text: string): string; export declare function toGuidelinesComment(guidelines: string): string; export declare function getEnvironmentInfoComment(data: { readonly timestampDate?: Date; readonly environmentInfo: Readonly<EnvironmentModels.EnvironmentInformationModel>; }): string;