export type SdkVersion = "1.x" | "2.x"; export type ModuleImportFiles = Map; export interface Template { id: string; label: string; envPrefix: string; buildDirectory: string; hidden?: boolean; isBeta?: boolean; authless?: boolean; files: { [K in SdkVersion]? : () => Promise }; } export interface TemplateContext { application: string; applicationUrl: string | undefined; project: string; foundryUrl: string; osdkPackage: string | undefined; clientVersion: string; corsProxy: boolean; scopes: string[] | undefined; unstableFeatures: boolean; clientId: string | undefined; }