agent-claw: automated task changes
This commit is contained in:
2
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/hash.d.ts
generated
vendored
Normal file
2
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/hash.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function getHash(stringToHash: string): string;
|
||||
export declare function stringifyObjects(...objects: any[]): string;
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/hash.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/hash.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getHash=getHash,exports.stringifyObjects=stringifyObjects;var crypto=()=>{var tmp=require("crypto");return crypto=()=>tmp,tmp};function getHash(stringToHash){return crypto().createHash("sha256").update(stringToHash).digest("hex").substring(0,5).toUpperCase()}function stringifyObjects(...objects){const combinedObject=Object.assign({},...objects);return JSON.stringify(combinedObject)}
|
||||
11
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/ref-utils.d.ts
generated
vendored
Normal file
11
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/ref-utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { IDeploymentStrategyRef, IEnvironmentRef } from '../../../interfaces/generated/aws-appconfig-interfaces.generated';
|
||||
import type { IDeploymentStrategy } from '../deployment-strategy';
|
||||
import type { IEnvironment } from '../environment';
|
||||
/**
|
||||
* Converts an IEnvironmentRef to IEnvironment, with runtime type checking
|
||||
*/
|
||||
export declare function toIEnvironment(environment: IEnvironmentRef): IEnvironment;
|
||||
/**
|
||||
* Converts an IDeploymentStrategyRef to IDeploymentStrategy, with runtime type checking
|
||||
*/
|
||||
export declare function toIDeploymentStrategy(deploymentStrategy: IDeploymentStrategyRef): IDeploymentStrategy;
|
||||
1
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/ref-utils.js
generated
vendored
Normal file
1
cdk/node_modules/aws-cdk-lib/aws-appconfig/lib/private/ref-utils.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.toIEnvironment=toIEnvironment,exports.toIDeploymentStrategy=toIDeploymentStrategy;var core_1=()=>{var tmp=require("../../../core");return core_1=()=>tmp,tmp},literal_string_1=()=>{var tmp=require("../../../core/lib/private/literal-string");return literal_string_1=()=>tmp,tmp};function toIEnvironment(environment){if("addDeployment"in environment&&"applicationId"in environment&&"environmentId"in environment)return environment;throw new(core_1()).UnscopedValidationError((0,literal_string_1().lit)`InvalidEnvironmentInterface`,`'environment' instance should implement IEnvironment, but doesn't: ${environment.constructor.name}`)}function toIDeploymentStrategy(deploymentStrategy){if("deploymentStrategyId"in deploymentStrategy&&"deploymentStrategyArn"in deploymentStrategy)return deploymentStrategy;throw new(core_1()).UnscopedValidationError((0,literal_string_1().lit)`InvalidDeploymentStrategyInterface`,`'deploymentStrategy' instance should implement IDeploymentStrategy, but doesn't: ${deploymentStrategy.constructor.name}`)}
|
||||
Reference in New Issue
Block a user