🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
1.1.1-cdkv2.3

114

API.md

@@ -6,17 +6,16 @@ ## API Report File for "amplify-cli-shared-interfaces"

```ts
// @public (undocumented)
export interface ICommandInput {
// (undocumented)
argv: Array<string>;
// (undocumented)
command?: string;
// (undocumented)
options?: {
[key: string]: string | boolean;
};
// (undocumented)
plugin?: string;
// (undocumented)
subCommands?: string[];
// (undocumented)
argv: Array<string>;
// (undocumented)
command?: string;
// (undocumented)
options?: {
[key: string]: string | boolean;
};
// (undocumented)
plugin?: string;
// (undocumented)
subCommands?: string[];
}

@@ -26,12 +25,12 @@

export interface IFlowData {
// (undocumented)
assignProjectIdentifier: (envName?: string) => string | undefined;
// (undocumented)
getFlowReport: () => IFlowReport | Record<string, never>;
// (undocumented)
pushHeadlessFlow: (headlessFlowDataString: string, input: ICommandInput) => void;
// (undocumented)
pushInteractiveFlow: (prompt: string, input: unknown) => void;
// (undocumented)
setIsHeadless: (headless: boolean) => void;
// (undocumented)
assignProjectIdentifier: (envName?: string) => string | undefined;
// (undocumented)
getFlowReport: () => IFlowReport | Record<string, never>;
// (undocumented)
pushHeadlessFlow: (headlessFlowDataString: string, input: ICommandInput) => void;
// (undocumented)
pushInteractiveFlow: (prompt: string, input: unknown) => void;
// (undocumented)
setIsHeadless: (headless: boolean) => void;
}

@@ -41,26 +40,26 @@

export interface IFlowReport {
// (undocumented)
category: string;
// (undocumented)
cmd: string;
// (undocumented)
executable: string;
// (undocumented)
input: ICommandInput;
// (undocumented)
isHeadless: boolean;
// (undocumented)
optionFlowData: Array<TypeOptionFlowData>;
// (undocumented)
projectEnvIdentifier?: string;
// (undocumented)
projectIdentifier?: string;
// (undocumented)
runtime: string;
// (undocumented)
subCmd: string | undefined;
// (undocumented)
timestamp: string;
// (undocumented)
version: string;
// (undocumented)
category: string;
// (undocumented)
cmd: string;
// (undocumented)
executable: string;
// (undocumented)
input: ICommandInput;
// (undocumented)
isHeadless: boolean;
// (undocumented)
optionFlowData: Array<TypeOptionFlowData>;
// (undocumented)
projectEnvIdentifier?: string;
// (undocumented)
projectIdentifier?: string;
// (undocumented)
runtime: string;
// (undocumented)
subCmd: string | undefined;
// (undocumented)
timestamp: string;
// (undocumented)
version: string;
}

@@ -70,8 +69,8 @@

export interface IOptionFlowCLIData {
// (undocumented)
input: unknown;
// (undocumented)
prompt: string;
// (undocumented)
timestamp: number;
// (undocumented)
input: unknown;
// (undocumented)
prompt: string;
// (undocumented)
timestamp: number;
}

@@ -81,6 +80,6 @@

export interface IOptionFlowHeadlessData {
// (undocumented)
input: string;
// (undocumented)
timestamp: number;
// (undocumented)
input: string;
// (undocumented)
timestamp: number;
}

@@ -92,3 +91,2 @@

// (No @packageDocumentation comment for this package)
```

@@ -6,2 +6,13 @@ # Change Log

## [1.1.1-cdkv2.3](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.1-cdkv2.2...amplify-cli-shared-interfaces@1.1.1-cdkv2.3) (2023-02-17)
### Bug Fixes
* format files touched by tscontext typing ([#11963](https://github.com/aws-amplify/amplify-cli/issues/11963)) ([64f8354](https://github.com/aws-amplify/amplify-cli/commit/64f83540419f3b512544448baba98bbb3f623f7c))
## [1.1.1-cdkv2.2](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.1...amplify-cli-shared-interfaces@1.1.1-cdkv2.2) (2023-02-07)

@@ -8,0 +19,0 @@

{
"name": "amplify-cli-shared-interfaces",
"version": "1.1.1-cdkv2.2",
"version": "1.1.1-cdkv2.3",
"description": "API interfaces to be shared across different amplfy-cli packages",

@@ -31,3 +31,3 @@ "main": "lib/index.js",

},
"gitHead": "4eb9264b658210513795372431f195ff42a74644"
"gitHead": "7e5bac5c695f1164c1e77f341c91bb54605d81b6"
}
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;
}

@@ -6,9 +6,9 @@ /** CLI Input */

export interface ICommandInput {
argv: Array<string>;
plugin?: string;
command?: string;
subCommands?: string[];
options?: {
[key: string]: string | boolean;
};
argv: Array<string>;
plugin?: string;
command?: string;
subCommands?: string[];
options?: {
[key: string]: string | boolean;
};
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet