@circleci/circleci-config-sdk
Advanced tools
Comparing version 0.9.0-alpha.2 to 0.9.0-alpha.3
@@ -10,4 +10,4 @@ import { Generable } from '../../index'; | ||
parameters?: CommandParameters; | ||
generate(): CommandShape | CommandShorthandShape; | ||
generate(flatten?: boolean): CommandShape | CommandShorthandShape; | ||
} | ||
//# sourceMappingURL=Command.d.ts.map |
@@ -33,3 +33,3 @@ import { Generable } from '../..'; | ||
*/ | ||
generate(ctx?: GenerableType): ReusableExecutorsShape | ReusableExecutorJobRefShape; | ||
generate(): ReusableExecutorsShape | ReusableExecutorJobRefShape; | ||
defineParameter(name: string, type: ExecutorParameterLiteral, defaultValue?: unknown, description?: string, enumValues?: string[]): ReusableExecutor; | ||
@@ -36,0 +36,0 @@ get generableType(): GenerableType; |
@@ -27,3 +27,3 @@ import { Generable } from '../..'; | ||
*/ | ||
generate(): ReusedExecutorShape; | ||
generate(flatten?: boolean): ReusedExecutorShape; | ||
/** | ||
@@ -33,3 +33,3 @@ * Generate Reused Executor schema. | ||
*/ | ||
generateContents(): ReusedExecutorShapeContents; | ||
generateContents(flatten?: boolean): ReusedExecutorShapeContents; | ||
get generableType(): GenerableType; | ||
@@ -36,0 +36,0 @@ get executor(): ReusableExecutor | OrbRef<ExecutorParameterLiteral>; |
@@ -10,7 +10,7 @@ import { GenerableType } from '../Config/exports/Mapping'; | ||
*/ | ||
generate(ctx?: GenerableType): unknown; | ||
generate(flatten?: boolean): unknown; | ||
/** | ||
* Generate the CircleCI YAML equivalent JSON contents for config compilation | ||
*/ | ||
generateContents?(): unknown; | ||
generateContents?(flatten?: boolean): unknown; | ||
/** | ||
@@ -17,0 +17,0 @@ * Type of generable object |
@@ -22,3 +22,3 @@ import { Job } from '..'; | ||
*/ | ||
generateContents(): ParameterizedJobContents; | ||
generateContents(flatten?: boolean): ParameterizedJobContents; | ||
/** | ||
@@ -25,0 +25,0 @@ * Define another parameter that this job will be able to accept. |
@@ -33,3 +33,3 @@ import { GenerableType } from '../../Config/exports/Mapping'; | ||
*/ | ||
generateContents(): JobContentsShape; | ||
generateContents(flatten?: boolean): JobContentsShape; | ||
/** | ||
@@ -39,3 +39,3 @@ * Generate Job schema | ||
*/ | ||
generate(): JobsShape; | ||
generate(flatten?: boolean): JobsShape; | ||
/** | ||
@@ -42,0 +42,0 @@ * Add steps to the current Job. Chainable. |
@@ -7,5 +7,5 @@ import { Generable } from '../..'; | ||
abstract evaluate(): boolean; | ||
abstract generate(ctx?: GenerableType): AnyConditionShape; | ||
abstract generate(flatten?: boolean): AnyConditionShape; | ||
abstract get generableType(): GenerableType; | ||
} | ||
//# sourceMappingURL=Condition.d.ts.map |
@@ -16,4 +16,4 @@ import { GenerableType } from '../../../Config/exports/Mapping'; | ||
abstract get name(): string; | ||
abstract generate(ctx?: GenerableType): WorkflowJobShape; | ||
abstract generate(): WorkflowJobShape; | ||
} | ||
//# sourceMappingURL=WorkflowJobAbstract.d.ts.map |
@@ -93,3 +93,3 @@ import { Generable } from '../Components'; | ||
*/ | ||
generate(): string; | ||
generate(flatten?: boolean): string; | ||
get generableType(): GenerableType; | ||
@@ -96,0 +96,0 @@ } |
{ | ||
"name": "@circleci/circleci-config-sdk", | ||
"version": "v0.9.0-alpha.2", | ||
"version": "v0.9.0-alpha.3", | ||
"description": "An SDK for building CircleCI Configuration files with JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "dist/circleci-config-sdk.js", |
Sorry, the diff of this file is too big to display
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
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
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
2693049
21013