amplify-function-plugin-interface
Advanced tools
Comparing version 1.9.6-cdkv2.1 to 1.9.6-cdkv2.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.9.6-cdkv2.2](https://github.com/aws-amplify/amplify-cli/compare/amplify-function-plugin-interface@1.9.6...amplify-function-plugin-interface@1.9.6-cdkv2.2) (2023-02-07) | ||
**Note:** Version bump only for package amplify-function-plugin-interface | ||
## [1.9.6-cdkv2.1](https://github.com/aws-amplify/amplify-cli/compare/amplify-function-plugin-interface@1.9.6-cdkv2.0...amplify-function-plugin-interface@1.9.6-cdkv2.1) (2022-12-13) | ||
@@ -24,2 +32,3 @@ | ||
## [1.9.6-beta.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-function-plugin-interface@1.9.5...amplify-function-plugin-interface@1.9.6-beta.0) (2022-12-01) | ||
## [1.9.6](https://github.com/aws-amplify/amplify-cli/compare/amplify-function-plugin-interface@1.9.5...amplify-function-plugin-interface@1.9.6) (2023-01-03) | ||
@@ -26,0 +35,0 @@ **Note:** Version bump only for package amplify-function-plugin-interface |
@@ -1,5 +0,5 @@ | ||
export declare type FunctionRuntimeContributorFactory = (context: any) => Contributor<FunctionRuntimeParameters, RuntimeContributionRequest> & FunctionRuntimeLifecycleManager; | ||
export declare type FunctionRuntimeParameters = Pick<FunctionParameters, 'runtime'>; | ||
export declare type FunctionTemplateContributorFactory = (context: any) => Contributor<Partial<FunctionParameters>, TemplateContributionRequest>; | ||
export declare type FunctionTemplateParameters = Pick<FunctionParameters, 'dependsOn' | 'functionTemplate' | 'triggerEventSourceMappings'>; | ||
export type FunctionRuntimeContributorFactory = (context: any) => Contributor<FunctionRuntimeParameters, RuntimeContributionRequest> & FunctionRuntimeLifecycleManager; | ||
export type FunctionRuntimeParameters = Pick<FunctionParameters, 'runtime'>; | ||
export type FunctionTemplateContributorFactory = (context: any) => Contributor<Partial<FunctionParameters>, TemplateContributionRequest>; | ||
export type FunctionTemplateParameters = Pick<FunctionParameters, 'dependsOn' | 'functionTemplate' | 'triggerEventSourceMappings'>; | ||
export interface Contributor<T extends Partial<FunctionParameters>, K> { | ||
@@ -14,3 +14,3 @@ contribute(request: K): Promise<T>; | ||
} | ||
export declare type TemplateContributionRequest = { | ||
export type TemplateContributionRequest = { | ||
selection: string; | ||
@@ -23,3 +23,3 @@ contributionContext: { | ||
}; | ||
export declare type RuntimeContributionRequest = { | ||
export type RuntimeContributionRequest = { | ||
selection: string; | ||
@@ -31,3 +31,3 @@ contributionContext: { | ||
}; | ||
export declare type InvocationRequest = { | ||
export type InvocationRequest = { | ||
srcRoot: string; | ||
@@ -41,3 +41,3 @@ runtime: string; | ||
}; | ||
export declare type BuildRequest = { | ||
export type BuildRequest = { | ||
buildType: BuildType; | ||
@@ -58,3 +58,3 @@ srcRoot: string; | ||
} | ||
export declare type PackageRequest = { | ||
export type PackageRequest = { | ||
env: string; | ||
@@ -70,10 +70,10 @@ srcRoot: string; | ||
}; | ||
export declare type BuildResult = { | ||
export type BuildResult = { | ||
rebuilt: boolean; | ||
}; | ||
export declare type PackageResult = { | ||
export type PackageResult = { | ||
packageHash?: string; | ||
zipEntries?: ZipEntry[]; | ||
}; | ||
export declare type ZipEntry = { | ||
export type ZipEntry = { | ||
sourceFolder?: string; | ||
@@ -83,7 +83,7 @@ packageFolder?: string; | ||
}; | ||
export declare type CheckDependenciesResult = { | ||
export type CheckDependenciesResult = { | ||
hasRequiredDependencies: boolean; | ||
errorMessage?: string; | ||
}; | ||
export declare type FunctionParameters = { | ||
export type FunctionParameters = { | ||
providerContext: ProviderContext; | ||
@@ -171,3 +171,3 @@ cloudResourceTemplatePath: string; | ||
} | ||
export declare type LambdaLayer = ProjectLayer | ExternalLayer; | ||
export type LambdaLayer = ProjectLayer | ExternalLayer; | ||
export interface ProjectLayer { | ||
@@ -193,4 +193,4 @@ type: 'ProjectLayer'; | ||
} | ||
export declare type FunctionTemplateCondition = FunctionContributorCondition; | ||
export declare type FunctionRuntimeCondition = Pick<FunctionContributorCondition, 'provider' | 'services'>; | ||
export type FunctionTemplateCondition = FunctionContributorCondition; | ||
export type FunctionRuntimeCondition = Pick<FunctionContributorCondition, 'provider' | 'services'>; | ||
export interface FunctionBreadcrumbs { | ||
@@ -207,14 +207,14 @@ pluginId: string; | ||
} | ||
export declare type SecretDeltas = Record<SecretName, SecretDelta>; | ||
export declare type SecretName = string; | ||
export declare type SecretDelta = RetainSecret | RemoveSecret | SetSecret; | ||
export declare type RetainSecret = { | ||
export type SecretDeltas = Record<SecretName, SecretDelta>; | ||
export type SecretName = string; | ||
export type SecretDelta = RetainSecret | RemoveSecret | SetSecret; | ||
export type RetainSecret = { | ||
operation: 'retain'; | ||
}; | ||
export declare const retainSecret: RetainSecret; | ||
export declare type RemoveSecret = { | ||
export type RemoveSecret = { | ||
operation: 'remove'; | ||
}; | ||
export declare const removeSecret: RemoveSecret; | ||
export declare type SetSecret = { | ||
export type SetSecret = { | ||
operation: 'set'; | ||
@@ -221,0 +221,0 @@ value: string; |
{ | ||
"name": "amplify-function-plugin-interface", | ||
"version": "1.9.6-cdkv2.1", | ||
"version": "1.9.6-cdkv2.2", | ||
"description": "Interface for plugins that provide additional functionality to function category plugins", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
}, | ||
"gitHead": "ba726ce8e41ab9767cb982520de249c541c34bc4" | ||
"gitHead": "4eb9264b658210513795372431f195ff42a74644" | ||
} |
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
45416