amplify-function-plugin-interface
Advanced tools
Comparing version 1.9.6 to 1.9.7-rc.4affb9331.0
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.9.7-rc.4affb9331.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-function-plugin-interface@1.9.6...amplify-function-plugin-interface@1.9.7-rc.4affb9331.0) (2023-02-06) | ||
**Note:** Version bump only for package amplify-function-plugin-interface | ||
## [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) | ||
@@ -8,0 +16,0 @@ |
@@ -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", | ||
"version": "1.9.7-rc.4affb9331.0", | ||
"description": "Interface for plugins that provide additional functionality to function category plugins", | ||
@@ -20,3 +20,3 @@ "repository": { | ||
}, | ||
"gitHead": "dea54cd4bc5745ba7645808964d29f5a395fe6f7" | ||
"gitHead": "806f12146014f44a08909f9196aaff13079c27ba" | ||
} |
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
44749
2