@openmrs/esm-globals 7.0.1-pre.3273 → 7.0.1-pre.3279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 4 files with swc (250.64ms)
1
+ [0] Successfully compiled: 4 files with swc (239.24ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
package/dist/types.d.ts CHANGED
@@ -290,26 +290,6 @@ export interface WorkspaceGroupDefinition {
290
290
  */
291
291
  members?: Array<string>;
292
292
  }
293
- export interface WorkspaceGroupDefinition2 {
294
- name: string;
295
- closeable?: boolean;
296
- overlay?: boolean;
297
- }
298
- export interface WorkspaceWindowDefinition2 {
299
- name: string;
300
- icon?: string;
301
- canHide: boolean;
302
- canMaximize: boolean;
303
- overlay: boolean;
304
- group: string;
305
- order?: number;
306
- width?: 'narrow' | 'wider' | 'extra-wide';
307
- }
308
- export interface WorkspaceDefinition2 {
309
- name: string;
310
- component: string;
311
- window: string;
312
- }
313
293
  /**
314
294
  * A definition of a feature flag extracted from the routes.json
315
295
  */
@@ -349,12 +329,6 @@ export interface OpenmrsAppRoutes {
349
329
  workspaces?: Array<WorkspaceDefinition>;
350
330
  /** An array of all workspace groups supported by this frontend module. */
351
331
  workspaceGroups?: Array<WorkspaceGroupDefinition>;
352
- /** An array of all workspace groups (v2) supported by this frontend module. */
353
- workspaceGroups2?: Array<WorkspaceGroupDefinition2>;
354
- /** An array of all workspace windows (v2) supported by this frontend module. */
355
- workspaceWindows2?: Array<WorkspaceWindowDefinition2>;
356
- /** An array of all workspaces (v2) supported by this frontend module. */
357
- workspaces2?: Array<WorkspaceDefinition2>;
358
332
  }
359
333
  /**
360
334
  * This interfaces describes the format of the overall routes.json loaded by the app shell.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-globals",
3
- "version": "7.0.1-pre.3273",
3
+ "version": "7.0.1-pre.3279",
4
4
  "license": "MPL-2.0",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
package/src/types.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type { LifeCycles } from 'single-spa';
1
2
  import type { i18n } from 'i18next';
2
3
 
3
4
  declare global {
@@ -310,29 +311,6 @@ export interface WorkspaceGroupDefinition {
310
311
  members?: Array<string>;
311
312
  }
312
313
 
313
- export interface WorkspaceGroupDefinition2 {
314
- name: string;
315
- closeable?: boolean;
316
- overlay?: boolean;
317
- }
318
-
319
- export interface WorkspaceWindowDefinition2 {
320
- name: string;
321
- icon?: string;
322
- canHide: boolean;
323
- canMaximize: boolean;
324
- overlay: boolean;
325
- group: string;
326
- order?: number;
327
- width?: 'narrow' | 'wider' | 'extra-wide';
328
- }
329
-
330
- export interface WorkspaceDefinition2 {
331
- name: string;
332
- component: string;
333
- window: string;
334
- }
335
-
336
314
  /**
337
315
  * A definition of a feature flag extracted from the routes.json
338
316
  */
@@ -375,15 +353,6 @@ export interface OpenmrsAppRoutes {
375
353
  workspaces?: Array<WorkspaceDefinition>;
376
354
  /** An array of all workspace groups supported by this frontend module. */
377
355
  workspaceGroups?: Array<WorkspaceGroupDefinition>;
378
-
379
- /** An array of all workspace groups (v2) supported by this frontend module. */
380
- workspaceGroups2?: Array<WorkspaceGroupDefinition2>;
381
-
382
- /** An array of all workspace windows (v2) supported by this frontend module. */
383
- workspaceWindows2?: Array<WorkspaceWindowDefinition2>;
384
-
385
- /** An array of all workspaces (v2) supported by this frontend module. */
386
- workspaces2?: Array<WorkspaceDefinition2>;
387
356
  }
388
357
 
389
358
  /**