amplify-cli-shared-interfaces
Advanced tools
Comparing version 1.1.1 to 1.1.2-rc.e0c735015.0
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.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) | ||
### 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](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-shared-interfaces@1.1.0...amplify-cli-shared-interfaces@1.1.1) (2023-01-03) | ||
@@ -8,0 +19,0 @@ |
@@ -11,3 +11,3 @@ import { ICommandInput } from './amplify-cli-interactions'; | ||
} | ||
export declare type TypeOptionFlowData = IOptionFlowHeadlessData | IOptionFlowCLIData; | ||
export type TypeOptionFlowData = IOptionFlowHeadlessData | IOptionFlowCLIData; | ||
export interface IFlowReport { | ||
@@ -14,0 +14,0 @@ version: string; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "amplify-cli-shared-interfaces", | ||
"version": "1.1.1", | ||
"version": "1.1.2-rc.e0c735015.0", | ||
"description": "API interfaces to be shared across different amplfy-cli packages", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "dea54cd4bc5745ba7645808964d29f5a395fe6f7" | ||
"gitHead": "b22a921010c12a98e8593a77180801375fd4a7f5" | ||
} |
@@ -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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
84727
1583
126
1