amplify-cli-shared-interfaces
Advanced tools
Comparing version 1.1.2-rc.e0c735015.0 to 1.1.2
@@ -6,3 +6,3 @@ # Change Log | ||
## [1.1.2-rc.e0c735015.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.1...amplify-cli-shared-interfaces@1.1.2-rc.e0c735015.0) (2023-02-14) | ||
## [1.1.2](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.1...amplify-cli-shared-interfaces@1.1.2) (2023-02-27) | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "amplify-cli-shared-interfaces", | ||
"version": "1.1.2-rc.e0c735015.0", | ||
"version": "1.1.2", | ||
"description": "API interfaces to be shared across different amplfy-cli packages", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "b22a921010c12a98e8593a77180801375fd4a7f5" | ||
"gitHead": "db41d4d4c682ef0c2ced02113c83d03af3ba6759" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
84686