Skip to content

Commit

Permalink
Remove BuildEnv type from Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FyreByrd committed Oct 16, 2024
1 parent 22af432 commit 5458627
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions source/SIL.AppBuilder.Portal/common/public/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,14 @@ export type WorkflowContext = {
includeArtifacts: 'apk' | 'aab' | boolean;
start?: StateName;
URFeatures: UserRoleFeature[];
environment: BuildEnv;
// Not sure how this is used, but will figure out when integrating into backend
environment: { [key: string]: any };
productType: ProductType;
productId: string;
hasAuthors: boolean;
hasReviewers: boolean;
};

// These are all specific to the Google Play workflows
// Not sure how these are used, but will figure out when integrating into backend
export type BuildEnv = {
googlePlayDraft?: boolean;
googlePlayExisting?: boolean;
googlePlayUploaded?: boolean;
};

export type WorkflowConfig = {
URFeatures: UserRoleFeature[];
productType: ProductType;
Expand Down Expand Up @@ -196,5 +189,4 @@ export type StateNode = {
export type Snapshot = {
value: string;
context: WorkflowContext;
input: WorkflowInput;
};

0 comments on commit 5458627

Please sign in to comment.