import { UrlReaderService } from "@backstage/backend-plugin-api"; import { Config } from "@backstage/config"; import { ScmIntegrations } from "@backstage/integration"; import { TemplateAction } from "@backstage/plugin-scaffolder-node"; import { Logger } from "winston"; export type ConfigureCliFile = { templates: string; compassSiteUrl: string; compassUserEmail: string; templateSourceUrl: string; actions: ((options: { config: Config; reader: UrlReaderService; logger: Logger; integrations: ScmIntegrations; }) => TemplateAction)[]; config: unknown; }; /** * Shape of Compass response for template sync endpoint. */ export type TemplateSyncResponse = { templates: TemplateSyncStatus[]; }; /** * Template synchronization status. */ export type TemplateSyncStatus = { /** * Whether the synchronization was successful. */ success: boolean; /** * Template ARI. */ templateAri?: string; /** * Synchronization errors. */ errors?: string[]; /** * Template name. */ name: string; /** * Synchronization timestamp. */ syncedAt?: Date; }; //# sourceMappingURL=index.d.ts.map