Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #21 from prismatic-io/tr/add-status-to-connection-…
Browse files Browse the repository at this point in the history
…config-vars

Add status to connection config vars, showing active, error or pending
  • Loading branch information
taylorreece committed Jan 4, 2023
2 parents 9471e96 + 861ab8e commit 083ad7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ export type DefaultConfigVar =
| ValueListConfigVar
| KeyValueListConfigVar;

export enum InstanceConfigVariableStatus {
ACTIVE = "ACTIVE",
ERROR = "ERROR",
PENDING = "PENDING",
}

export interface ConnectionConfigVar {
inputs: Record<string, { value: string }>;
status: InstanceConfigVariableStatus | null;
}

export type ConfigVar = DefaultConfigVar | ConnectionConfigVar;
Expand Down

0 comments on commit 083ad7b

Please sign in to comment.