@equinor/roma-framework 4.0.0 → 5.0.0
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.
- package/cypress.mjs +13 -14
- package/dev-portal/lib/dev-portal/config/AppClient.d.ts +7 -3
- package/dev-portal/lib/test-utils/modules.d.ts +6 -7
- package/dev-portal/package.json +4 -2
- package/dev-portal/roma-framework.umd.js +27156 -15223
- package/lib/dev-portal/config/AppClient.d.ts +7 -3
- package/lib/test-utils/modules.d.ts +6 -7
- package/package.json +4 -2
- package/roma-framework.mjs +204 -175
- package/{router-JkkLp8wN.mjs → router-lZjM0_Ti.mjs} +174 -105
- package/dev-portal/lib/dev-portal/config.d.ts +0 -3
- package/lib/dev-portal/config.d.ts +0 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppConfig, AppManifest, IAppClient } from '@equinor/fusion-framework-module-app';
|
|
1
|
+
import { AppBuildManifest, AppConfig, AppManifest, IAppClient } from '@equinor/fusion-framework-module-app';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { IHttpClient } from '@equinor/fusion-framework-module-http';
|
|
4
4
|
import { FetchRequest } from '@equinor/fusion-framework-module-http/client';
|
|
@@ -20,7 +20,7 @@ export declare class CustomAppClient implements IAppClient {
|
|
|
20
20
|
name: string;
|
|
21
21
|
displayName: string;
|
|
22
22
|
description: string;
|
|
23
|
-
type: "template" | "standalone" | "report" | "launcher";
|
|
23
|
+
type: "template" | "standalone" | "report" | "launcher" | "template-app" | "landing-page";
|
|
24
24
|
isPinned?: boolean | null | undefined;
|
|
25
25
|
templateSource?: string | null | undefined;
|
|
26
26
|
category?: ({
|
|
@@ -57,7 +57,7 @@ export declare class CustomAppClient implements IAppClient {
|
|
|
57
57
|
accountClassification?: string | null | undefined;
|
|
58
58
|
isExpired?: boolean | null | undefined;
|
|
59
59
|
}[] | null | undefined;
|
|
60
|
-
build?:
|
|
60
|
+
build?: AppBuildManifest | null | undefined;
|
|
61
61
|
accentColor?: string;
|
|
62
62
|
categoryId: string;
|
|
63
63
|
entry: string;
|
|
@@ -76,4 +76,8 @@ export declare class CustomAppClient implements IAppClient {
|
|
|
76
76
|
updateAppSettings(): Observable<{}>;
|
|
77
77
|
constructor(client: IHttpClient<FetchRequest, Response>, graphClient: IHttpClient<FetchRequest, Response>);
|
|
78
78
|
[Symbol.dispose](): void;
|
|
79
|
+
getAppBuild(args: {
|
|
80
|
+
appKey: string;
|
|
81
|
+
tag?: string;
|
|
82
|
+
}): Observable<AppBuildManifest>;
|
|
79
83
|
}
|
|
@@ -5,7 +5,6 @@ import { Action } from '@remix-run/router/history';
|
|
|
5
5
|
import { AccountInfo } from '@equinor/fusion-framework-module-msal';
|
|
6
6
|
import { Service } from '@equinor/fusion-framework-module-service-discovery';
|
|
7
7
|
import { ServerSentEvent, SseConnection } from '../../../../modules/sse/src/index.ts';
|
|
8
|
-
import { AuthClient, AuthRequest } from '@equinor/fusion-framework-module-msal/dist/types/v2/client';
|
|
9
8
|
export declare class RomaMockedServiceDiscovery {
|
|
10
9
|
readonly environment: {
|
|
11
10
|
type: string;
|
|
@@ -19,18 +18,18 @@ export declare class RomaMockedServiceDiscovery {
|
|
|
19
18
|
}
|
|
20
19
|
export declare class RomaMockedAuthModule {
|
|
21
20
|
readonly defaultAccount: AccountInfo;
|
|
22
|
-
readonly defaultClient:
|
|
21
|
+
readonly defaultClient: any;
|
|
23
22
|
readonly defaultConfig: {
|
|
24
23
|
tenantId: string;
|
|
25
24
|
clientId: string;
|
|
26
25
|
redirectUri: string;
|
|
27
26
|
config: {};
|
|
28
27
|
};
|
|
29
|
-
acquireAccessToken(req:
|
|
30
|
-
acquireToken(req:
|
|
31
|
-
createClient(name?: string):
|
|
32
|
-
getClient(name: string):
|
|
33
|
-
handleRedirect(): ReturnType<
|
|
28
|
+
acquireAccessToken(req: any): Promise<string | undefined>;
|
|
29
|
+
acquireToken(req: any): ReturnType<any>;
|
|
30
|
+
createClient(name?: string): any;
|
|
31
|
+
getClient(name: string): any;
|
|
32
|
+
handleRedirect(): ReturnType<any['handleRedirectPromise']>;
|
|
34
33
|
login(): Promise<void>;
|
|
35
34
|
}
|
|
36
35
|
declare class Navigator {
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/roma-framework",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"repository": "https://github.com/equinor/tops-roma",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"private": false,
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@tanstack/react-query": "^5.0.0"
|
|
8
|
+
"@tanstack/react-query": "^5.0.0",
|
|
9
|
+
"immer": "^10.2.0",
|
|
10
|
+
"is-mergeable-object": "^1.1.1"
|
|
9
11
|
},
|
|
10
12
|
"exports": {
|
|
11
13
|
".": {
|