Skip to content

Commit

Permalink
chore: cleaning up betaAutomations (#2413)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabis94 authored Jun 20, 2024
1 parent 71d1ea7 commit d4f90a8
Show file tree
Hide file tree
Showing 28 changed files with 1,556 additions and 2,603 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"dev:kind:helm:ci": "tilt ci --file ./.circleci/deployment/Tiltfile.helm --context kind-speckle-server --timeout 10m",
"dev": "yarn workspaces foreach -pivW -j unlimited run dev",
"dev:no-server": "yarn workspaces foreach --exclude @speckle/server -pivW -j unlimited run dev",
"dev:minimal": "yarn workspaces foreach -pivW -j unlimited --include '{@speckle/server,@speckle/frontend,@speckle/shared}' run dev",
"gqlgen": "yarn workspaces foreach -pivW -j unlimited --include '{@speckle/server,@speckle/frontend,@speckle/frontend-2}' run gqlgen",
"dev:minimal": "yarn workspaces foreach -pivW -j unlimited --include '{@speckle/server,@speckle/frontend-2}' run dev",
"gqlgen": "yarn workspaces foreach -pivW -j unlimited --include '{@speckle/server,@speckle/frontend,@speckle/frontend-2,@speckle/dui3}' run gqlgen",
"dev:server": "yarn workspace @speckle/server dev",
"dev:frontend": "yarn workspace @speckle/frontend dev",
"dev:frontend-2": "yarn workspace @speckle/frontend-2 dev",
Expand Down
130 changes: 0 additions & 130 deletions packages/frontend-2/lib/common/generated/gql/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,62 +375,6 @@ export type AutomationCollection = {
totalCount: Scalars['Int']['output'];
};

export type AutomationCreateInput = {
automationId: Scalars['String']['input'];
automationName: Scalars['String']['input'];
automationRevisionId: Scalars['String']['input'];
modelId: Scalars['String']['input'];
projectId: Scalars['String']['input'];
webhookId?: InputMaybe<Scalars['String']['input']>;
};

export type AutomationFunctionRun = {
__typename?: 'AutomationFunctionRun';
contextView?: Maybe<Scalars['String']['output']>;
elapsed: Scalars['Float']['output'];
functionId: Scalars['String']['output'];
functionLogo?: Maybe<Scalars['String']['output']>;
functionName: Scalars['String']['output'];
id: Scalars['ID']['output'];
resultVersions: Array<Version>;
/**
* NOTE: this is the schema for the results field below!
* Current schema: {
* version: "1.0.0",
* values: {
* objectResults: Record<str, {
* category: string
* level: ObjectResultLevel
* objectIds: string[]
* message: str | null
* metadata: Records<str, unknown> | null
* visualoverrides: Records<str, unknown> | null
* }[]>
* blobIds?: string[]
* }
* }
*/
results?: Maybe<Scalars['JSONObject']['output']>;
status: AutomationRunStatus;
statusMessage?: Maybe<Scalars['String']['output']>;
};

export type AutomationMutations = {
__typename?: 'AutomationMutations';
create: Scalars['Boolean']['output'];
functionRunStatusReport: Scalars['Boolean']['output'];
};


export type AutomationMutationsCreateArgs = {
input: AutomationCreateInput;
};


export type AutomationMutationsFunctionRunStatusReportArgs = {
input: AutomationRunStatusUpdateInput;
};

export type AutomationRevision = {
__typename?: 'AutomationRevision';
functions: Array<AutomationRevisionFunction>;
Expand All @@ -454,44 +398,8 @@ export type AutomationRevisionFunction = {

export type AutomationRevisionTriggerDefinition = VersionCreatedTriggerDefinition;

export type AutomationRun = {
__typename?: 'AutomationRun';
automationId: Scalars['String']['output'];
automationName: Scalars['String']['output'];
createdAt: Scalars['DateTime']['output'];
functionRuns: Array<AutomationFunctionRun>;
id: Scalars['ID']['output'];
/** Resolved from all function run statuses */
status: AutomationRunStatus;
updatedAt: Scalars['DateTime']['output'];
versionId: Scalars['String']['output'];
};

export enum AutomationRunStatus {
Failed = 'FAILED',
Initializing = 'INITIALIZING',
Running = 'RUNNING',
Succeeded = 'SUCCEEDED'
}

export type AutomationRunStatusUpdateInput = {
automationId: Scalars['String']['input'];
automationRevisionId: Scalars['String']['input'];
automationRunId: Scalars['String']['input'];
functionRuns: Array<FunctionRunStatusInput>;
versionId: Scalars['String']['input'];
};

export type AutomationRunTrigger = VersionCreatedTrigger;

export type AutomationsStatus = {
__typename?: 'AutomationsStatus';
automationRuns: Array<AutomationRun>;
id: Scalars['ID']['output'];
status: AutomationRunStatus;
statusMessage?: Maybe<Scalars['String']['output']>;
};

export type AvatarUser = {
__typename?: 'AvatarUser';
avatar?: Maybe<Scalars['String']['output']>;
Expand Down Expand Up @@ -936,27 +844,6 @@ export type FileUpload = {
userId: Scalars['String']['output'];
};

export type FunctionRunStatusInput = {
contextView?: InputMaybe<Scalars['String']['input']>;
elapsed: Scalars['Float']['input'];
functionId: Scalars['String']['input'];
functionLogo?: InputMaybe<Scalars['String']['input']>;
functionName: Scalars['String']['input'];
resultVersionIds: Array<Scalars['String']['input']>;
/**
* Current schema: {
* version: "1.0.0",
* values: {
* speckleObjects: Record<ObjectId, {level: string; statusMessage: string}[]>
* blobIds?: string[]
* }
* }
*/
results?: InputMaybe<Scalars['JSONObject']['input']>;
status: AutomationRunStatus;
statusMessage?: InputMaybe<Scalars['String']['input']>;
};

export type GendoAiRender = {
__typename?: 'GendoAIRender';
camera?: Maybe<Scalars['JSONObject']['output']>;
Expand Down Expand Up @@ -1082,7 +969,6 @@ export type LimitedUserTimelineArgs = {
export type Model = {
__typename?: 'Model';
author: LimitedUser;
automationStatus?: Maybe<AutomationsStatus>;
automationsStatus?: Maybe<TriggeredAutomationsStatus>;
/** Return a model tree of children */
childrenTree: Array<ModelsTreeItem>;
Expand Down Expand Up @@ -1215,7 +1101,6 @@ export type Mutation = {
appUpdate: Scalars['Boolean']['output'];
automateFunctionRunStatusReport: Scalars['Boolean']['output'];
automateMutations: AutomateMutations;
automationMutations: AutomationMutations;
branchCreate: Scalars['String']['output'];
branchDelete: Scalars['Boolean']['output'];
branchUpdate: Scalars['Boolean']['output'];
Expand Down Expand Up @@ -1901,14 +1786,6 @@ export type ProjectAutomationUpdateInput = {
name?: InputMaybe<Scalars['String']['input']>;
};

export type ProjectAutomationsStatusUpdatedMessage = {
__typename?: 'ProjectAutomationsStatusUpdatedMessage';
model: Model;
project: Project;
status: AutomationsStatus;
version: Version;
};

export type ProjectAutomationsUpdatedMessage = {
__typename?: 'ProjectAutomationsUpdatedMessage';
automation?: Maybe<Automation>;
Expand Down Expand Up @@ -2875,7 +2752,6 @@ export type Subscription = {
commitDeleted?: Maybe<Scalars['JSONObject']['output']>;
/** Subscribe to commit updated event. */
commitUpdated?: Maybe<Scalars['JSONObject']['output']>;
projectAutomationsStatusUpdated: ProjectAutomationsStatusUpdatedMessage;
/** Subscribe to updates to automations in the project */
projectAutomationsUpdated: ProjectAutomationsUpdatedMessage;
/**
Expand Down Expand Up @@ -2971,11 +2847,6 @@ export type SubscriptionCommitUpdatedArgs = {
};


export type SubscriptionProjectAutomationsStatusUpdatedArgs = {
projectId: Scalars['String']['input'];
};


export type SubscriptionProjectAutomationsUpdatedArgs = {
projectId: Scalars['String']['input'];
};
Expand Down Expand Up @@ -3317,7 +3188,6 @@ export type UserUpdateInput = {
export type Version = {
__typename?: 'Version';
authorUser?: Maybe<LimitedUser>;
automationStatus?: Maybe<AutomationsStatus>;
automationsStatus?: Maybe<TriggeredAutomationsStatus>;
/** All comment threads in this version */
commentThreads: CommentCollection;
Expand Down
Loading

0 comments on commit d4f90a8

Please sign in to comment.