@equinor/fusion-framework-module-app
Advanced tools
Comparing version 5.2.0-next.0 to 5.2.0
# Change Log | ||
## 5.2.0-next.0 | ||
## 5.2.0 | ||
### Minor Changes | ||
- [#927](https://github.com/equinor/fusion-framework/pull/927) [`d81cf902`](https://github.com/equinor/fusion-framework/commit/d81cf9025311d948fefb2c1b469c3a5f091344dd) Thanks [@odinr](https://github.com/odinr)! - Create and expose interface for App | ||
- [#927](https://github.com/equinor/fusion-framework/pull/927) [`8bc4c5d6`](https://github.com/equinor/fusion-framework/commit/8bc4c5d6ed900e424efcab5572047c106d7ec04a) Thanks [@odinr](https://github.com/odinr)! - Create and expose interface for App | ||
@@ -18,3 +18,3 @@ - deprecate [AppModuleProvider.createApp](https://github.com/equinor/fusion-framework/blob/cf08d5ae3cef473e5025fd973a2a7a45a3b22dee/packages/modules/app/src/AppModuleProvider.ts#L171) | ||
- [#927](https://github.com/equinor/fusion-framework/pull/927) [`1a7a2d2e`](https://github.com/equinor/fusion-framework/commit/1a7a2d2e03a0c8ac10d19e231b635f93a1ce485b) Thanks [@odinr](https://github.com/odinr)! - Allow updating manifest of application | ||
- [#927](https://github.com/equinor/fusion-framework/pull/927) [`8bc4c5d6`](https://github.com/equinor/fusion-framework/commit/8bc4c5d6ed900e424efcab5572047c106d7ec04a) Thanks [@odinr](https://github.com/odinr)! - Allow updating manifest of application | ||
@@ -21,0 +21,0 @@ - add meta data for `setManifest` action to flag if `merge` or `replace` |
@@ -28,9 +28,9 @@ import { AppConfig, AppManifest, AppModulesInstance, AppScriptModule } from '../types'; | ||
loadManifest(): void; | ||
loadAppModule(allow_cache: boolean): void; | ||
getConfig(force_refresh: boolean): Observable<AppConfig>; | ||
getConfigAsync(allow_cache: boolean): Promise<AppConfig>; | ||
getManifest(force_refresh: boolean): Observable<AppManifest>; | ||
getManifestAsync(allow_cache: boolean): Promise<AppManifest>; | ||
getAppModule(force_refresh: false): Observable<AppScriptModule>; | ||
getAppModuleAsync(allow_cache: true): Promise<AppScriptModule>; | ||
loadAppModule(allow_cache?: boolean): void; | ||
getConfig(force_refresh?: boolean): Observable<AppConfig>; | ||
getConfigAsync(allow_cache?: boolean): Promise<AppConfig>; | ||
getManifest(force_refresh?: boolean): Observable<AppManifest>; | ||
getManifestAsync(allow_cache?: boolean): Promise<AppManifest>; | ||
getAppModule(force_refresh?: boolean): Observable<AppScriptModule>; | ||
getAppModuleAsync(allow_cache?: boolean): Promise<AppScriptModule>; | ||
} | ||
@@ -37,0 +37,0 @@ export declare class App<TEnv = any, TModules extends Array<AnyModule> | unknown = unknown> implements IApp<TEnv, TModules> { |
{ | ||
"name": "@equinor/fusion-framework-module-app", | ||
"version": "5.2.0-next.0", | ||
"version": "5.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/index.js", |
@@ -29,2 +29,3 @@ import { AppConfig, AppManifest, AppModulesInstance, AppScriptModule } from '../types'; | ||
// TODO add comments! | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
export interface IApp<TEnv = any, TModules extends Array<AnyModule> | unknown = unknown> { | ||
@@ -52,12 +53,12 @@ get manifest$(): Observable<AppManifest>; | ||
loadAppModule(allow_cache: boolean): void; | ||
loadAppModule(allow_cache?: boolean): void; | ||
getConfig(force_refresh: boolean): Observable<AppConfig>; | ||
getConfigAsync(allow_cache: boolean): Promise<AppConfig>; | ||
getConfig(force_refresh?: boolean): Observable<AppConfig>; | ||
getConfigAsync(allow_cache?: boolean): Promise<AppConfig>; | ||
getManifest(force_refresh: boolean): Observable<AppManifest>; | ||
getManifestAsync(allow_cache: boolean): Promise<AppManifest>; | ||
getManifest(force_refresh?: boolean): Observable<AppManifest>; | ||
getManifestAsync(allow_cache?: boolean): Promise<AppManifest>; | ||
getAppModule(force_refresh: false): Observable<AppScriptModule>; | ||
getAppModuleAsync(allow_cache: true): Promise<AppScriptModule>; | ||
getAppModule(force_refresh?: boolean): Observable<AppScriptModule>; | ||
getAppModuleAsync(allow_cache?: boolean): Promise<AppScriptModule>; | ||
} | ||
@@ -64,0 +65,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
261843
2184
1