Skip to content

Commit

Permalink
Config variables emitted with marketplace events will now include ID …
Browse files Browse the repository at this point in the history
…and OAuth status (#78)

* Config variables emitted with marketplace events will now include ID and OAuth status

* Bump spectral version
  • Loading branch information
taylorreece authored Apr 1, 2024
1 parent c5a2fe5 commit 0635973
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example-embedded-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "https://github.com/prismatic-io/embedded.git"
},
"license": "MIT",
"version": "2.6.1",
"version": "2.6.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion src/types/configVars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type CollectionTypeEnum = "valuelist" | "keyvaluelist";
type CodeLanguageEnum = "json" | "xml" | "html";

interface BaseConfigVar {
id: string;
codeLanguage: CodeLanguageEnum | null;
collectionType: CollectionTypeEnum | null;
dataType: DefaultConfigVarDataTypeEnum | null;
Expand Down Expand Up @@ -50,7 +51,7 @@ enum InstanceConfigVariableStatus {
PENDING = "PENDING",
}

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

0 comments on commit 0635973

Please sign in to comment.