From 40cbed2ce1b27ef516c271125cf6456b4cc9d1f4 Mon Sep 17 00:00:00 2001 From: Jason Comes Date: Mon, 29 Apr 2024 17:05:30 -0500 Subject: [PATCH] Screen Configuration - Add configure instance configuration options --- example-embedded-app/package-lock.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/types/index.ts | 1 + src/types/screenConfiguration.ts | 5 +++++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/example-embedded-app/package-lock.json b/example-embedded-app/package-lock.json index 667d10d..4c09b04 100644 --- a/example-embedded-app/package-lock.json +++ b/example-embedded-app/package-lock.json @@ -49,7 +49,7 @@ }, "..": { "name": "@prismatic-io/embedded", - "version": "2.6.2", + "version": "2.8.0", "license": "MIT", "dependencies": { "@prismatic-io/spectral": "^8.0.3", diff --git a/package-lock.json b/package-lock.json index 2d0fd4e..c8287b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@prismatic-io/embedded", - "version": "2.7.0", + "version": "2.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@prismatic-io/embedded", - "version": "2.7.0", + "version": "2.8.0", "license": "MIT", "dependencies": { "@prismatic-io/spectral": "^8.0.3", diff --git a/package.json b/package.json index e6353d0..3690b96 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "url": "https://github.com/prismatic-io/embedded.git" }, "license": "MIT", - "version": "2.7.0", + "version": "2.8.0", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ diff --git a/src/types/index.ts b/src/types/index.ts index 34e2831..1be225d 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -29,6 +29,7 @@ export { FontConfiguration, GoogleFontFamilies } from "./fontConfiguration"; export { ConfigurationWizardConfiguration, + ConfigureInstanceScreenConfiguration, DashboardScreenConfiguration, InitializingConfiguration, InstanceScreenConfiguration, diff --git a/src/types/screenConfiguration.ts b/src/types/screenConfiguration.ts index 90e8450..3c9615e 100644 --- a/src/types/screenConfiguration.ts +++ b/src/types/screenConfiguration.ts @@ -5,6 +5,10 @@ export interface InstanceScreenConfiguration { hideTabs?: Array<"Test" | "Executions" | "Monitors" | "Logs">; } +export interface ConfigureInstanceScreenConfiguration { + configuration?: "allow-details" | "always-show-details" | "disallow-details"; +} + export interface MarketplaceConfiguration { configuration?: "allow-details" | "always-show-details" | "disallow-details"; /** @@ -55,6 +59,7 @@ export interface DashboardScreenConfiguration { export interface ScreenConfiguration { configurationWizard?: ConfigurationWizardConfiguration; + configureInstance?: ConfigureInstanceScreenConfiguration; dashboard?: DashboardScreenConfiguration; initializing?: InitializingConfiguration; instance?: InstanceScreenConfiguration;