Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amplify-cli-shared-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-cli-shared-interfaces - npm Package Compare versions

Comparing version 1.1.2-rc.e0c735015.0 to 1.1.2

2

CHANGELOG.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc