agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
import type { Construct } from 'constructs';
import type { Artifact } from '../artifact';
import type { GitConfiguration } from '../trigger';
/**
* Validation function that checks if the number of artifacts is within the given bounds
*/
export declare function validateArtifactBounds(type: string, artifacts: Artifact[], min: number, max: number, category: string, provider: string): string[];
/**
* Validation function that guarantees that an action is or is not a source action. This is useful because Source actions can only be
* in the first stage of a pipeline, and the first stage can only contain source actions.
*/
export declare function validateSourceAction(mustBeSource: boolean, category: string, actionName: string, stageName: string): string[];
/**
* Validate the given name of a pipeline component. Pipeline component names all have the same restrictions.
* This can be used to validate the name of all components of a pipeline.
*/
export declare function validateName(scope: Construct, thing: string, name: string | undefined): void;
export declare function validateArtifactName(artifactName: string | undefined): void;
export declare function validateNamespaceName(scope: Construct, namespaceName: string | undefined): void;
export declare function validatePipelineVariableName(variableName: string | undefined): void;
export declare function validateRuleName(ruleName: string | undefined): void;
export declare function validateTriggers(gitConfiguration: GitConfiguration): void;