@equinor/fusion-framework-module-app 7.2.0-next.0 → 7.2.1

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.
@@ -18,6 +18,8 @@ declare module '@equinor/fusion-framework-module-event' {
18
18
  /** fired when the application has initiated its modules */
19
19
  onAppModulesLoaded: AppEvent<{
20
20
  /** initiated modules for application */
21
+ appKey: string;
22
+ manifest: AppManifest;
21
23
  modules: AppModulesInstance;
22
24
  }>;
23
25
  onAppManifestLoad: AppEvent;
@@ -40,18 +40,6 @@ type AppPerson = {
40
40
  };
41
41
  export type AppAdmin = AppPerson;
42
42
  export type AppOwner = AppPerson;
43
- /**
44
- * Schema entry format for route documentation in app manifests.
45
- * Each entry represents a route with its path, description, and optional parameter/search schemas.
46
- */
47
- export type RouteSchemaEntry = [
48
- path: string,
49
- description: string,
50
- options?: {
51
- params?: Record<string, string>;
52
- search?: Record<string, string>;
53
- }
54
- ];
55
43
  export type AppBuildManifest = {
56
44
  version: string;
57
45
  entryPoint: string;
@@ -95,8 +83,6 @@ export interface AppManifest {
95
83
  admins?: Nullable<AppAdmin[]>;
96
84
  owners?: Nullable<AppOwner[]>;
97
85
  build?: Nullable<AppBuildManifest>;
98
- /** Route schema entries for documentation and API schema generation */
99
- routes?: Nullable<RouteSchemaEntry[]>;
100
86
  }
101
87
  /**
102
88
  * @template TEnvironment - name of hosted environment
@@ -1 +1 @@
1
- export declare const version = "7.2.0-next.0";
1
+ export declare const version = "7.2.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-module-app",
3
- "version": "7.2.0-next.0",
3
+ "version": "7.2.1",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "exports": {
@@ -61,16 +61,16 @@
61
61
  "rxjs": "^7.8.1",
62
62
  "uuid": "^13.0.0",
63
63
  "zod": "^4.1.8",
64
- "@equinor/fusion-observable": "^9.0.0-next.0",
65
- "@equinor/fusion-query": "^7.0.0-next.0"
64
+ "@equinor/fusion-observable": "^8.5.7",
65
+ "@equinor/fusion-query": "^6.0.2"
66
66
  },
67
67
  "devDependencies": {
68
68
  "typescript": "^5.8.2",
69
- "@equinor/fusion-framework-module-event": "^4.4.1-next.0",
70
- "@equinor/fusion-framework-module": "^5.0.6-next.0",
71
- "@equinor/fusion-framework-module-http": "^7.0.6-next.0",
72
- "@equinor/fusion-framework-module-msal": "^7.0.0-next.0",
73
- "@equinor/fusion-framework-module-service-discovery": "^9.0.5-next.0"
69
+ "@equinor/fusion-framework-module": "^5.0.5",
70
+ "@equinor/fusion-framework-module-event": "^4.4.0",
71
+ "@equinor/fusion-framework-module-http": "^7.0.5",
72
+ "@equinor/fusion-framework-module-service-discovery": "^9.0.4",
73
+ "@equinor/fusion-framework-module-msal": "^6.0.4"
74
74
  },
75
75
  "scripts": {
76
76
  "build": "tsc -b"
package/src/app/events.ts CHANGED
@@ -34,6 +34,8 @@ declare module '@equinor/fusion-framework-module-event' {
34
34
  /** fired when the application has initiated its modules */
35
35
  onAppModulesLoaded: AppEvent<{
36
36
  /** initiated modules for application */
37
+ appKey: string;
38
+ manifest: AppManifest;
37
39
  modules: AppModulesInstance;
38
40
  }>;
39
41
 
package/src/types.ts CHANGED
@@ -9,7 +9,8 @@ import type IApp from './app';
9
9
  export type ConfigEnvironment = Record<string, unknown>;
10
10
  export type { AppConfig } from './AppConfig';
11
11
 
12
- // biome-ignore lint/suspicious/noExplicitAny: TODO - needs proper type definition
12
+ // TODO
13
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13
14
  type Fusion = any;
14
15
 
15
16
  export type AppEnv<TEnv extends ConfigEnvironment = ConfigEnvironment, TProps = unknown> = {
@@ -65,19 +66,6 @@ export type AppAdmin = AppPerson;
65
66
 
66
67
  export type AppOwner = AppPerson;
67
68
 
68
- /**
69
- * Schema entry format for route documentation in app manifests.
70
- * Each entry represents a route with its path, description, and optional parameter/search schemas.
71
- */
72
- export type RouteSchemaEntry = [
73
- path: string,
74
- description: string,
75
- options?: {
76
- params?: Record<string, string>;
77
- search?: Record<string, string>;
78
- },
79
- ];
80
-
81
69
  export type AppBuildManifest = {
82
70
  version: string;
83
71
  entryPoint: string;
@@ -122,8 +110,6 @@ export interface AppManifest {
122
110
  admins?: Nullable<AppAdmin[]>;
123
111
  owners?: Nullable<AppOwner[]>;
124
112
  build?: Nullable<AppBuildManifest>;
125
- /** Route schema entries for documentation and API schema generation */
126
- routes?: Nullable<RouteSchemaEntry[]>;
127
113
  }
128
114
 
129
115
  /**
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '7.2.0-next.0';
2
+ export const version = '7.2.1';