| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687 |
- /// <reference types="node" />
- /// <reference types="node" />
- /// <reference types="node" />
- /// <reference types="node" />
- /// <reference types="node" />
- import { BaseConfig, CommandInstanceInfo as FrameworkCommandInstanceInfo, CommandLineInputs, CommandLineOptions, CommandMetadata as FrameworkCommandMetadata, CommandMetadataInput as FrameworkCommandMetadataInput, CommandMetadataOption as FrameworkCommandMetadataOption, HydratedCommandMetadata as FrameworkHydratedCommandMetadata, ICommand as FrameworkCommand, INamespace as FrameworkNamespace, NamespaceLocateResult as FrameworkNamespaceLocateResult, PackageJson } from '@ionic/cli-framework';
- import { Logger } from '@ionic/cli-framework-output';
- import { PromptModule } from '@ionic/cli-framework-prompts';
- import { NetworkInterface } from '@ionic/utils-network';
- import { Subprocess, SubprocessOptions, WhichOptions } from '@ionic/utils-subprocess';
- import { ChildProcess, SpawnOptions } from 'child_process';
- import * as fs from 'fs';
- import type { Integration as CapacitorIntegration } from './lib/integrations/capacitor';
- import type { CapacitorConfig } from './lib/integrations/capacitor/config';
- import type { Integration as CordovaIntegration } from './lib/integrations/cordova';
- import type { Integration as EnterpriseIntegration } from './lib/integrations/enterprise';
- export { CommandLineInputs, CommandLineOptions, NamespaceMetadata, } from '@ionic/cli-framework';
- export declare type SuperAgentRequest = import('superagent').SuperAgentRequest;
- export interface SuperAgentError extends Error {
- response: import('superagent').Response;
- }
- export declare type LogFn = (msg: string) => void;
- export interface ILogger extends Logger {
- ok: LogFn;
- rawmsg: LogFn;
- }
- export interface StarterManifest {
- name: string;
- baseref: string;
- welcome?: string;
- }
- export interface CordovaPackageJson extends PackageJson {
- cordova: {
- platforms: string[];
- plugins: {
- [key: string]: unknown;
- };
- };
- }
- export interface LegacyAndroidBuildOutputEntry {
- outputType: {
- type: string;
- };
- path: string;
- }
- export interface AndroidBuildOutput {
- artifactType: {
- type: string;
- };
- elements: {
- outputFile: string;
- }[];
- }
- export interface Runner<T extends object, U> {
- run(options: T): Promise<U>;
- }
- export declare type ProjectType = 'angular' | 'angular-standalone' | 'custom' | 'bare' | 'react' | 'vue' | 'react-vite' | 'vue-vite';
- export declare type HookName = 'build:before' | 'build:after' | 'serve:before' | 'serve:after' | 'capacitor:run:before' | 'capacitor:build:before' | 'capacitor:sync:after';
- export declare type CapacitorRunHookName = 'capacitor:run:before';
- export declare type CapacitorBuildHookName = 'capacitor:build:before';
- export declare type CapacitorSyncHookName = 'capacitor:sync:after';
- export interface BaseHookContext {
- project: {
- type: ProjectType;
- dir: string;
- srcDir: string;
- };
- argv: string[];
- env: NodeJS.ProcessEnv;
- }
- export declare type AnyServeOptions = ReactServeOptions | AngularServeOptions;
- export declare type AnyBuildOptions = ReactBuildOptions | AngularBuildOptions;
- export interface CapacitorSyncHookInput {
- readonly name: CapacitorSyncHookName;
- readonly build?: AnyBuildOptions;
- readonly capacitor: IonicCapacitorOptions;
- }
- export interface CapacitorRunHookInput {
- readonly name: CapacitorRunHookName;
- readonly serve?: AnyServeOptions;
- readonly build?: AnyBuildOptions;
- readonly capacitor: IonicCapacitorOptions;
- }
- export interface CapacitorBuildHookInput {
- readonly name: CapacitorBuildHookName;
- readonly build: AnyBuildOptions;
- readonly capacitor: IonicCapacitorOptions;
- }
- export interface BuildHookInput {
- readonly name: 'build:before' | 'build:after';
- readonly build: AngularBuildOptions;
- }
- export interface ServeBeforeHookInput {
- readonly name: 'serve:before';
- readonly serve: AngularServeOptions;
- }
- export interface ServeAfterHookInput {
- readonly name: 'serve:after';
- readonly serve: (AngularServeOptions) & ServeDetails;
- }
- export declare type HookInput = BuildHookInput | ServeBeforeHookInput | ServeAfterHookInput | CapacitorRunHookInput | CapacitorBuildHookInput | CapacitorSyncHookInput;
- export declare type HookContext = BaseHookContext & HookInput;
- export declare type HookFn = (ctx: HookContext) => Promise<void>;
- export declare type IntegrationName = 'capacitor' | 'cordova' | 'enterprise';
- export interface ProjectIntegration {
- enabled?: boolean;
- root?: string;
- }
- export interface EnterpriseProjectIntegration extends ProjectIntegration {
- productKey?: string;
- registries?: string[];
- appId?: string;
- orgId?: string;
- keyId?: number;
- }
- export interface ProjectIntegrations {
- cordova?: ProjectIntegration;
- capacitor?: ProjectIntegration;
- enterprise?: EnterpriseProjectIntegration;
- }
- export interface Response<T extends object> extends APIResponseSuccess {
- data: T;
- }
- export interface ResourceClientLoad<T extends object> {
- load(id: string | number, modifiers: ResourceClientRequestModifiers): Promise<T>;
- }
- export interface ResourceClientDelete {
- delete(id: string | number): Promise<void>;
- }
- export interface ResourceClientCreate<T extends object, U extends object> {
- create(details: U): Promise<T>;
- }
- export interface ResourceClientPaginate<T extends object> {
- paginate(args?: Partial<PaginateArgs<Response<T[]>>>): IPaginator<Response<T[]>, PaginatorState>;
- }
- export interface ResourceClientRequestModifiers {
- fields?: string[];
- }
- export interface Org {
- name: string;
- }
- export interface GithubRepo {
- full_name: string;
- id: number;
- }
- export interface GithubBranch {
- name: string;
- }
- export interface AppAssociation {
- repository: RepoAssociation;
- }
- export interface RepoAssociationBase {
- html_url: string;
- clone_url: string;
- full_name: string;
- }
- export interface GithubRepoAssociation extends RepoAssociationBase {
- type: 'github';
- id: number;
- }
- export interface GitlabRepoAssociation extends RepoAssociationBase {
- type: 'gitlab';
- id: number;
- }
- export interface GitlabEnterpriseRepoAssociation extends RepoAssociationBase {
- type: 'gitlab_enterprise';
- id: number;
- }
- export interface BitbucketCloudRepoAssociation extends RepoAssociationBase {
- type: 'bitbucket_cloud';
- id: string;
- }
- export interface BitbucketServerRepoAssociation extends RepoAssociationBase {
- type: 'bitbucket_server';
- id: number;
- }
- export interface AzureDevopsRepoAssociation extends RepoAssociationBase {
- type: 'azure_devops';
- id: string;
- }
- export declare type RepoAssociation = GithubRepoAssociation | BitbucketCloudRepoAssociation | BitbucketServerRepoAssociation;
- export declare type AssociationType = 'github' | 'bitbucket_cloud' | 'bitbucket_server';
- export interface App {
- id: string;
- name: string;
- slug: string;
- org: null | Org;
- repo_url?: string;
- association?: null | AppAssociation;
- }
- export interface Login {
- user: User;
- token: string;
- }
- export interface User {
- id: number;
- email: string;
- oauth_identities?: OAuthIdentity;
- }
- export declare type OAuthIdentity = {
- [A in AssociationType]?: OAuthIdentityDetails;
- };
- export interface OAuthIdentityDetails {
- username: string;
- name: string;
- html_url: string;
- }
- export interface OAuthServerConfig {
- authorizationUrl: string;
- tokenUrl: string;
- clientId: string;
- apiAudience: string;
- }
- export interface OpenIdToken {
- access_token: string;
- expires_in: number;
- id_token?: string;
- refresh_token?: string;
- scope: 'openid profile email offline_access';
- token_type: 'Bearer';
- state?: string;
- }
- export interface Snapshot {
- id: string;
- sha: string;
- ref: string;
- state: string;
- created: string;
- note: string;
- }
- export interface SSHKey {
- id: string;
- pubkey: string;
- fingerprint: string;
- annotation: string;
- name: string;
- created: string;
- updated: string;
- }
- export interface SecurityProfile {
- name: string;
- tag: string;
- type: 'development' | 'production';
- created: string;
- credentials: {
- android?: object;
- ios?: object;
- };
- }
- export interface IConfig extends BaseConfig<ConfigFile> {
- getAPIUrl(): string;
- getDashUrl(): string;
- getGitHost(): string;
- getGitPort(): number;
- getHTTPConfig(): CreateRequestOptions;
- getOpenIDOAuthConfig(): OAuthServerConfig;
- }
- export interface ProjectPersonalizationDetails {
- name: string;
- projectId: string;
- packageId?: string;
- version?: string;
- description?: string;
- themeColor?: string;
- appIcon?: Buffer;
- splash?: Buffer;
- }
- export interface IProjectConfig {
- name: string;
- type?: ProjectType;
- id?: string;
- root?: string;
- readonly integrations: ProjectIntegrations;
- readonly hooks?: Record<HookName, string | string[] | undefined>;
- }
- export interface IMultiProjectConfig {
- defaultProject?: string;
- projects: {
- [key: string]: IProjectConfig | undefined;
- };
- }
- export declare type ProjectFile = IProjectConfig | IMultiProjectConfig;
- export interface IProject {
- readonly rootDirectory: string;
- readonly directory: string;
- readonly filePath: string;
- readonly pathPrefix: readonly string[];
- readonly type: ProjectType;
- readonly config: BaseConfig<IProjectConfig>;
- readonly details: import('./lib/project').ProjectDetailsResult;
- getSourceDir(sourceRoot?: string): Promise<string>;
- getDefaultDistDir(): Promise<string>;
- getDistDir(): Promise<string>;
- getInfo(): Promise<InfoItem[]>;
- detected(): Promise<boolean>;
- createIntegration(name: 'capacitor'): Promise<CapacitorIntegration>;
- createIntegration(name: 'cordova'): Promise<CordovaIntegration>;
- createIntegration(name: 'enterprise'): Promise<EnterpriseIntegration>;
- createIntegration(name: IntegrationName): Promise<IIntegration<ProjectIntegration>>;
- getIntegration(name: IntegrationName): Required<ProjectIntegration> | undefined;
- requireIntegration(name: IntegrationName): Required<ProjectIntegration>;
- requireAppflowId(): Promise<string>;
- getPackageJson(pkgName?: string, options?: {
- logErrors?: boolean;
- }): Promise<[PackageJson | undefined, string | undefined]>;
- requirePackageJson(pkgName?: string): Promise<PackageJson>;
- personalize(details: ProjectPersonalizationDetails): Promise<void>;
- getBuildRunner(): Promise<import('./lib/build').BuildRunner<any> | undefined>;
- getServeRunner(): Promise<import('./lib/serve').ServeRunner<any> | undefined>;
- getGenerateRunner(): Promise<import('./lib/generate').GenerateRunner<any> | undefined>;
- requireBuildRunner(): Promise<import('./lib/build').BuildRunner<any>>;
- requireServeRunner(): Promise<import('./lib/serve').ServeRunner<any>>;
- requireGenerateRunner(): Promise<import('./lib/generate').GenerateRunner<any>>;
- }
- export interface IntegrationAddDetails {
- quiet?: boolean;
- root: string;
- enableArgs?: string[];
- }
- export interface IntegrationAddHandlers {
- conflictHandler?: (f: string, stats: fs.Stats) => Promise<boolean>;
- onFileCreate?: (f: string) => void;
- }
- export interface IIntegration<T extends ProjectIntegration> {
- readonly name: IntegrationName;
- readonly summary: string;
- readonly archiveUrl?: string;
- readonly config: BaseConfig<T>;
- add(details: IntegrationAddDetails): Promise<void>;
- isAdded(): boolean;
- enable(config?: T): Promise<void>;
- isEnabled(): boolean;
- disable(): Promise<void>;
- getInfo(): Promise<InfoItem[]>;
- personalize(details: ProjectPersonalizationDetails): Promise<void>;
- }
- export interface PackageVersions {
- [key: string]: string;
- }
- export interface CommandMetadataInput extends FrameworkCommandMetadataInput {
- private?: boolean;
- }
- export interface CommandMetadataOption extends FrameworkCommandMetadataOption {
- private?: boolean;
- hint?: string;
- }
- export interface ExitCodeException extends Error {
- exitCode: number;
- }
- export interface CommandMetadata extends FrameworkCommandMetadata<CommandMetadataInput, CommandMetadataOption> {
- type: 'global' | 'project';
- }
- export declare type HydratedCommandMetadata = CommandMetadata & FrameworkHydratedCommandMetadata<ICommand, INamespace, CommandMetadata, CommandMetadataInput, CommandMetadataOption>;
- export declare type CommandInstanceInfo = FrameworkCommandInstanceInfo<ICommand, INamespace, CommandMetadata, CommandMetadataInput, CommandMetadataOption>;
- export declare type NamespaceLocateResult = FrameworkNamespaceLocateResult<ICommand, INamespace, CommandMetadata, CommandMetadataInput, CommandMetadataOption>;
- export interface ISession {
- login(email: string, password: string): Promise<void>;
- ssoLogin(email: string): Promise<void>;
- tokenLogin(token: string): Promise<void>;
- webLogin(): Promise<void>;
- wizardLogin(): Promise<string | undefined>;
- logout(): Promise<void>;
- isLoggedIn(): boolean;
- getUser(): {
- id: number;
- };
- getUserToken(): Promise<string>;
- }
- export interface IShellSpawnOptions extends SpawnOptions {
- showCommand?: boolean;
- }
- export interface IShellOutputOptions extends IShellSpawnOptions {
- fatalOnError?: boolean;
- fatalOnNotFound?: boolean;
- showError?: boolean;
- }
- export interface IShellRunOptions extends IShellOutputOptions {
- stream?: NodeJS.WritableStream;
- killOnExit?: boolean;
- truncateErrorOutput?: number;
- }
- export interface IShell {
- alterPath: (path: string) => string;
- run(command: string, args: readonly string[], options: IShellRunOptions): Promise<void>;
- output(command: string, args: readonly string[], options: IShellOutputOptions): Promise<string>;
- spawn(command: string, args: readonly string[], options: IShellSpawnOptions): Promise<ChildProcess>;
- cmdinfo(cmd: string, args?: readonly string[], options?: SubprocessOptions): Promise<string | undefined>;
- which(command: string, options?: WhichOptions): Promise<string>;
- createSubprocess(command: string, args: readonly string[], options?: SubprocessOptions): Promise<Subprocess>;
- }
- export interface ITelemetry {
- sendCommand(command: string, args: string[]): Promise<void>;
- }
- export declare type NpmClient = 'yarn' | 'npm' | 'pnpm';
- export declare type FeatureId = 'ssl-commands';
- export interface ConfigFile {
- 'version': string;
- 'telemetry': boolean;
- 'npmClient': NpmClient;
- 'interactive'?: boolean;
- 'proxy'?: string;
- 'ssl.cafile'?: string | string[];
- 'ssl.certfile'?: string | string[];
- 'ssl.keyfile'?: string | string[];
- 'urls.api'?: string;
- 'urls.dash'?: string;
- 'git.host'?: string;
- 'git.port'?: number;
- 'git.setup'?: boolean;
- 'org.id'?: string;
- 'user.id'?: number;
- 'user.email'?: string;
- 'tokens.user'?: string;
- 'tokens.telemetry'?: string;
- 'tokens.refresh'?: string;
- 'tokens.issuedOn'?: string;
- 'tokens.expiresInSeconds'?: number;
- 'tokens.flowName'?: string;
- 'oauth.openid.authorization_url'?: string;
- 'oauth.openid.token_url'?: string;
- 'oauth.openid.client_id'?: string;
- 'oauth.openid.api_audience'?: string;
- 'features.ssl-commands'?: boolean;
- }
- export interface SSLConfig {
- cafile?: string | string[];
- certfile?: string | string[];
- keyfile?: string | string[];
- }
- export interface CreateRequestOptions {
- userAgent: string;
- ssl?: SSLConfig;
- proxy?: string;
- }
- export declare type APIResponse = APIResponseSuccess | APIResponseError;
- export interface APIResponseMeta {
- status: number;
- version: string;
- request_id: string;
- }
- export declare type APIResponseData = object | object[] | string;
- export interface APIResponseErrorDetails {
- error_type: string;
- parameter: string;
- errors: string[];
- }
- export interface APIResponseError {
- error: APIResponseErrorError;
- meta: APIResponseMeta;
- }
- export interface APIResponseErrorError {
- message: string;
- link: string | null;
- type: string;
- details?: APIResponseErrorDetails[];
- }
- export interface APIResponseSuccess {
- data: APIResponseData;
- meta: APIResponseMeta;
- }
- export interface APIResponsePageTokenMeta extends APIResponseMeta {
- prev_page_token?: string;
- next_page_token?: string;
- }
- export declare type HttpMethod = 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' | 'PURGE' | 'HEAD' | 'OPTIONS';
- export declare const enum ContentType {
- JSON = "application/json",
- FORM_URLENCODED = "application/x-www-form-urlencoded",
- HTML = "text/html"
- }
- export interface IClient {
- config: IConfig;
- make(method: HttpMethod, path: string, contentType?: ContentType): Promise<{
- req: SuperAgentRequest;
- }>;
- do(req: SuperAgentRequest): Promise<APIResponseSuccess>;
- paginate<T extends Response<object[]>>(args: PaginateArgs<T>): IPaginator<T>;
- }
- export declare type PaginateArgs<T extends Response<object[]>> = Pick<PaginatorDeps<T>, 'reqgen' | 'guard' | 'state' | 'max'>;
- export interface IPaginator<T extends Response<object[]>, S = PaginatorState> extends IterableIterator<Promise<T>> {
- readonly state: S;
- }
- export declare type PaginatorRequestGenerator = () => Promise<{
- req: SuperAgentRequest;
- }>;
- export declare type PaginatorGuard<T extends Response<object[]>> = (res: APIResponseSuccess) => res is T;
- export interface PaginatorState {
- done: boolean;
- loaded: number;
- }
- export interface PagePaginatorState extends PaginatorState {
- page: number;
- page_size?: number;
- }
- export interface TokenPaginatorState extends PaginatorState {
- page_token?: string;
- }
- export interface PaginatorDeps<T extends Response<object[]>, S = PaginatorState> {
- readonly client: IClient;
- readonly reqgen: PaginatorRequestGenerator;
- readonly guard: PaginatorGuard<T>;
- readonly state?: Partial<S>;
- readonly max?: number;
- }
- export declare type InfoItemGroup = 'ionic' | 'capacitor' | 'cordova' | 'utility' | 'system' | 'environment';
- export interface InfoItem {
- group: InfoItemGroup;
- name: string;
- value: string;
- key?: string;
- flair?: string;
- path?: string;
- hidden?: boolean;
- }
- export interface BaseBuildOptions {
- engine: string;
- platform?: string;
- project?: string;
- verbose?: boolean;
- '--': string[];
- }
- export interface BuildOptions<T extends ProjectType> extends BaseBuildOptions {
- type: T;
- }
- export interface AngularBuildOptions extends BuildOptions<'angular'> {
- /**
- * The Angular architect configuration to use for builds.
- *
- * The `--prod` command line flag is a shortcut which translates to the
- * 'production' configuration.
- */
- configuration?: string;
- sourcemaps?: boolean;
- cordovaAssets?: boolean;
- watch?: boolean;
- }
- export interface ReactBuildOptions extends BuildOptions<'react'> {
- publicUrl?: string;
- ci?: boolean;
- sourceMap?: boolean;
- inlineRuntimeChunk?: boolean;
- }
- export interface VueBuildOptions extends BuildOptions<'vue'> {
- configuration?: string;
- sourcemaps?: boolean;
- }
- export interface IonicCapacitorOptions extends CapacitorConfig {
- '--': string[];
- verbose?: boolean;
- }
- export interface CustomBuildOptions extends BuildOptions<'custom'> {
- }
- export interface GenerateOptions {
- name: string;
- }
- export interface AngularGenerateOptions extends GenerateOptions {
- [key: string]: any;
- schematic: string;
- }
- export interface IonicAngularGenerateOptions extends GenerateOptions {
- type: string;
- module: boolean;
- constants: boolean;
- }
- export interface ServeOptions {
- host: string;
- port: number;
- publicHost?: string;
- livereload: boolean;
- proxy: boolean;
- open: boolean;
- browser?: string;
- browserOption?: string;
- platform?: string;
- project?: string;
- verbose?: boolean;
- '--': string[];
- externalAddressRequired?: boolean;
- engine: string;
- }
- export interface AngularServeOptions extends ServeOptions {
- consolelogs?: boolean;
- consolelogsPort?: number;
- ssl?: boolean;
- configuration?: string;
- sourcemaps?: boolean;
- }
- export interface ReactServeOptions extends ServeOptions {
- https?: boolean;
- ci?: boolean;
- reactEditor?: string;
- }
- export interface VueServeOptions extends ServeOptions {
- https: boolean;
- mode: string;
- configuration?: string;
- sourcemaps?: boolean;
- }
- export interface CustomServeOptions extends ServeOptions {
- }
- export interface LabServeDetails {
- projectType: ProjectType;
- host: string;
- port: number;
- }
- export interface ServeDetails {
- custom: boolean;
- protocol: string;
- localAddress: string;
- externalAddress: string;
- port: number;
- externalNetworkInterfaces: NetworkInterface[];
- externallyAccessible: boolean;
- }
- export interface IonicContext {
- readonly binPath: string;
- readonly libPath: string;
- readonly execPath: string;
- readonly version: string;
- }
- export interface IonicEnvironment {
- readonly flags: IonicEnvironmentFlags;
- readonly client: IClient;
- readonly config: IConfig;
- readonly log: ILogger;
- readonly prompt: PromptModule;
- readonly ctx: IonicContext;
- readonly session: ISession;
- readonly shell: IShell;
- getInfo(): Promise<InfoItem[]>;
- }
- export interface IonicEnvironmentFlags {
- readonly interactive: boolean;
- readonly confirm: boolean;
- }
- export declare type DistTag = 'testing' | 'canary' | 'latest';
- export interface ICommand extends FrameworkCommand<ICommand, INamespace, CommandMetadata, CommandMetadataInput, CommandMetadataOption> {
- readonly env: IonicEnvironment;
- readonly project?: IProject;
- execute(inputs: CommandLineInputs, options: CommandLineOptions, metadata: CommandInstanceInfo): Promise<void>;
- }
- export interface CommandPreRun extends ICommand {
- preRun(inputs: CommandLineInputs, options: CommandLineOptions, metadata: CommandInstanceInfo): Promise<void>;
- }
- export interface INamespace extends FrameworkNamespace<ICommand, INamespace, CommandMetadata, CommandMetadataInput, CommandMetadataOption> {
- env: IonicEnvironment;
- project?: IProject;
- }
- export interface StarterList {
- starters: {
- name: string;
- id: string;
- type: ProjectType;
- }[];
- integrations: {
- name: IntegrationName;
- id: string;
- }[];
- }
- export interface BaseStarterTemplate {
- name: string;
- projectType: ProjectType;
- description?: string;
- }
- export interface RepoStarterTemplate extends BaseStarterTemplate {
- type: 'repo';
- repo: string;
- }
- export interface ManagedStarterTemplate extends BaseStarterTemplate {
- type: 'managed';
- id: string;
- }
- export declare type StarterTemplate = RepoStarterTemplate | ManagedStarterTemplate;
- export interface ResolvedStarterTemplate extends BaseStarterTemplate {
- archive: string;
- }
- export interface TelemetryIPCMessage {
- type: 'telemetry';
- data: {
- command: string;
- args: string[];
- };
- }
- export interface UpdateCheckIPCMessage {
- type: 'update-check';
- }
- export declare type IPCMessage = TelemetryIPCMessage | UpdateCheckIPCMessage;
|