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.

63 lines (62 loc) 2.65 kB
import type { DeliveryApiMode, ModuleFileExtension } from "./core/core.models.js"; export declare const defaultModuleFileExtension: ModuleFileExtension; export declare const defaultDeliveryApiMode: DeliveryApiMode; export declare const coreConfig: { readonly barrelExportFilename: "index.ts"; readonly kontentTrackingHeaderName: "X-KC-SOURCE"; readonly kontentTrackingHeaderValue: `${string};${string}`; }; export declare const syncConfig: { readonly npmPackageName: "@kontent-ai/sync-sdk"; readonly coreTypesFilename: "sync.models"; readonly coreClientTypesTypeName: "CoreSyncClientTypes"; readonly coreClientTypeName: "CoreSyncClient"; readonly sdkTypes: { readonly syncClientTypes: "SyncClientTypes"; readonly syncClient: "SyncClient"; }; }; export declare const migrationConfig: { readonly npmPackageName: "@kontent-ai/migration-toolkit"; readonly migrationItemsFolderName: "contentTypes"; readonly environmentFolderName: "environment"; readonly migrationTypesFilename: "migration"; readonly environmentFilename: "environment"; readonly workflowStepCodenames: "WorkflowStepCodenames"; readonly languageCodenames: "LanguageCodenames"; readonly contentTypeCodenames: "ContentTypeCodenames"; readonly workflowCodenames: "WorkflowCodenames"; readonly taxonomyCodenames: "TaxonomyCodenames"; readonly collectionCodenames: "CollectionCodenames"; readonly sdkTypeNames: { readonly system: "MigrationItemSystem"; readonly item: "MigrationItem"; readonly elements: "MigrationElements"; readonly elementModels: "MigrationElementModels"; }; readonly localTypeNames: { readonly system: "CoreMigrationItemSystem"; readonly item: "CoreMigrationItem"; readonly codename: "TCodename"; readonly elements: "TElements"; }; }; export declare const deliveryConfig: { readonly npmPackageName: "@kontent-ai/delivery-sdk"; readonly systemTypesFolderName: "system"; readonly mainSystemFilename: "main.system"; readonly coreContentTypeName: "CoreType"; readonly coreDeliveryClientTypeName: "CoreDeliveryClient"; readonly coreDeliveryClientTypesTypeName: "CoreClientTypes"; readonly sdkTypes: { readonly contentItem: "IContentItem"; readonly contentItemElements: "IContentItemElements"; readonly elements: "Elements"; readonly snippet: "Snippet"; readonly deliveryClient: "IDeliveryClient"; }; }; export declare const itemsConfig: { readonly itemsFolderName: "items"; readonly codenamesFolderName: "codenames"; };