amplify-function-plugin-interface
Advanced tools
Comparing version 1.8.1-flutter-preview.10 to 1.8.1-flutter-preview.11
@@ -98,2 +98,4 @@ export declare type FunctionRuntimeContributorFactory = (context: any) => Contributor<FunctionRuntimeParameters, RuntimeContributionRequest> & FunctionRuntimeLifecycleManager; | ||
lambdaLayers: LambdaLayer[]; | ||
environmentVariables?: Record<string, string>; | ||
secretDeltas?: SecretDeltas; | ||
}; | ||
@@ -118,2 +120,3 @@ export interface FunctionTriggerParameters { | ||
cloudResourceTemplatePath?: string; | ||
environmentVariables?: Record<string, string>; | ||
} | ||
@@ -191,3 +194,19 @@ export interface ProviderContext { | ||
} | ||
export declare type SecretDeltas = Record<SecretName, SecretDelta>; | ||
export declare type SecretName = string; | ||
export declare type SecretDelta = RetainSecret | RemoveSecret | SetSecret; | ||
export declare type RetainSecret = { | ||
operation: 'retain'; | ||
}; | ||
export declare const retainSecret: RetainSecret; | ||
export declare type RemoveSecret = { | ||
operation: 'remove'; | ||
}; | ||
export declare const removeSecret: RemoveSecret; | ||
export declare type SetSecret = { | ||
operation: 'set'; | ||
value: string; | ||
}; | ||
export declare const setSecret: (value: string) => SetSecret; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BuildType = void 0; | ||
exports.setSecret = exports.removeSecret = exports.retainSecret = exports.BuildType = void 0; | ||
var BuildType; | ||
@@ -9,2 +9,13 @@ (function (BuildType) { | ||
})(BuildType = exports.BuildType || (exports.BuildType = {})); | ||
exports.retainSecret = { | ||
operation: 'retain', | ||
}; | ||
exports.removeSecret = { | ||
operation: 'remove', | ||
}; | ||
const setSecret = (value) => ({ | ||
operation: 'set', | ||
value, | ||
}); | ||
exports.setSecret = setSecret; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "amplify-function-plugin-interface", | ||
"version": "1.8.1-flutter-preview.10+def25777c", | ||
"version": "1.8.1-flutter-preview.11+37710261c", | ||
"description": "Interface for plugins that provide additional functionality to function category plugins", | ||
@@ -19,3 +19,3 @@ "repository": { | ||
}, | ||
"gitHead": "def25777c52cacff0da7849e19dcae8428b84fcc" | ||
"gitHead": "37710261cd3f413a2922982998eff635e8425041" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
33002
227