amplify-cli-shared-interfaces
Advanced tools
Comparing version 1.1.2-amplify-app-tests.0 to 1.1.2-rc.b80571744.0
@@ -6,3 +6,3 @@ # Change Log | ||
## [1.1.2-amplify-app-tests.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.1...amplify-cli-shared-interfaces@1.1.2-amplify-app-tests.0) (2023-02-16) | ||
## [1.1.2-rc.b80571744.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.1...amplify-cli-shared-interfaces@1.1.2-rc.b80571744.0) (2023-02-17) | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "amplify-cli-shared-interfaces", | ||
"version": "1.1.2-amplify-app-tests.0", | ||
"version": "1.1.2-rc.b80571744.0", | ||
"description": "API interfaces to be shared across different amplfy-cli packages", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "326d77ed40f25793a8fb46acb532b5b315fbf4fc" | ||
"gitHead": "82cadc9c800bd96a81c6d42c39058eed546032a2" | ||
} |
import { ICommandInput } from './amplify-cli-interactions'; | ||
export interface IOptionFlowHeadlessData { | ||
input: string, | ||
timestamp: number | ||
input: string; | ||
timestamp: number; | ||
} | ||
export interface IOptionFlowCLIData { | ||
prompt: string, | ||
input: unknown, | ||
timestamp: number | ||
prompt: string; | ||
input: unknown; | ||
timestamp: number; | ||
} | ||
export type TypeOptionFlowData = IOptionFlowHeadlessData | IOptionFlowCLIData | ||
export type TypeOptionFlowData = IOptionFlowHeadlessData | IOptionFlowCLIData; | ||
/** | ||
@@ -20,14 +19,14 @@ * Flow Report data logged by the CLI walk-through. | ||
export interface IFlowReport { | ||
version: string, | ||
runtime: string, | ||
executable: string, | ||
category: string, | ||
isHeadless: boolean, | ||
cmd: string, | ||
subCmd: string | undefined, | ||
optionFlowData: Array<TypeOptionFlowData>, //IOptionFlowHeadlessData | IOptionFlowCLIData | ||
input: ICommandInput, | ||
timestamp: string, | ||
projectEnvIdentifier?: string, // hash(ProjectName + Amplify AppId + EnvName) | ||
projectIdentifier?: string, // hash( ProjectName + Amplify App Id) | ||
version: string; | ||
runtime: string; | ||
executable: string; | ||
category: string; | ||
isHeadless: boolean; | ||
cmd: string; | ||
subCmd: string | undefined; | ||
optionFlowData: Array<TypeOptionFlowData>; //IOptionFlowHeadlessData | IOptionFlowCLIData | ||
input: ICommandInput; | ||
timestamp: string; | ||
projectEnvIdentifier?: string; // hash(ProjectName + Amplify AppId + EnvName) | ||
projectIdentifier?: string; // hash( ProjectName + Amplify App Id) | ||
} | ||
@@ -39,7 +38,7 @@ | ||
export interface IFlowData { | ||
setIsHeadless: (headless: boolean) => void, | ||
pushHeadlessFlow: (headlessFlowDataString: string, input: ICommandInput) => void, | ||
pushInteractiveFlow: (prompt: string, input: unknown) => void, | ||
getFlowReport: () => IFlowReport | Record<string, never> | ||
assignProjectIdentifier: (envName?: string) => string | undefined | ||
setIsHeadless: (headless: boolean) => void; | ||
pushHeadlessFlow: (headlessFlowDataString: string, input: ICommandInput) => void; | ||
pushInteractiveFlow: (prompt: string, input: unknown) => void; | ||
getFlowReport: () => IFlowReport | Record<string, never>; | ||
assignProjectIdentifier: (envName?: string) => string | undefined; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
84731