add createTestAutomation

This commit is contained in:
Charles Driesler
2024-05-28 13:20:10 +01:00
parent 960c646bee
commit 16dfefd0bd
7 changed files with 170 additions and 9 deletions
@@ -1784,6 +1784,7 @@ export type ProjectAutomationMutations = {
__typename?: 'ProjectAutomationMutations';
create: Automation;
createRevision: AutomationRevision;
createTestAutomation: Automation;
/**
* Trigger an automation with a fake "version created" trigger. The "version created" will
* just refer to the last version of the model.
@@ -1803,6 +1804,11 @@ export type ProjectAutomationMutationsCreateRevisionArgs = {
};
export type ProjectAutomationMutationsCreateTestAutomationArgs = {
input: ProjectTestAutomationCreateInput;
};
export type ProjectAutomationMutationsTriggerArgs = {
automationId: Scalars['ID'];
};
@@ -2089,6 +2095,12 @@ export enum ProjectPendingVersionsUpdatedMessageType {
Updated = 'UPDATED'
}
export type ProjectTestAutomationCreateInput = {
functionId: Scalars['String'];
modelId: Scalars['String'];
name: Scalars['String'];
};
export type ProjectTriggeredAutomationsStatusUpdatedMessage = {
__typename?: 'ProjectTriggeredAutomationsStatusUpdatedMessage';
model: Model;