feat(types): typed app config (#4171)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-05-24 12:21:09 -04:00
1 parent 8c5b228d27
commit 8960b89911
22 files changed
+78 -26

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
extensions: [],
+2 -1
View File
@@ -1,4 +1,5 @@
/** @type {import('@ohif/core').OHIFConfig} */
/** @type {AppTypes.Config} */
const config = {
routerBasename: '/',
// whiteLabeling: {},
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
// whiteLabeling: {},
+1
View File
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
modes: [],
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
extensions: [],
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
extensions: [],
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
showStudyList: true,
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
showStudyList: true,
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
showStudyList: true,
+1
View File
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
extensions: [],
+1
View File
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
customizationService: {
+1
View File
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
enableGoogleCloudAdapter: true,
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
customizationService: {
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
extensions: [],
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
customizationService: ['@ohif/extension-default.customizationModule.helloPage'],
+1
View File
@@ -1,3 +1,4 @@
/** @type {AppTypes.Config} */
window.config = {
// Activate the new HP mode....
isNewHP: true,
+2
View File
@@ -1,3 +1,5 @@
/** @type {AppTypes.Config} */
window.config = {
routerBasename: '/',
extensions: [],