@trackunit/iris-app-runtime-core-api 1.23.0 → 1.23.2-alpha-56829ddc55b.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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/iris-app-runtime/core-api/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-runtime-core-api",
|
|
3
|
-
"version": "1.23.0",
|
|
3
|
+
"version": "1.23.2-alpha-56829ddc55b.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
11
|
-
"@trackunit/shared-utils": "1.21.0",
|
|
12
|
-
"@trackunit/geo-json-utils": "1.20.0"
|
|
11
|
+
"@trackunit/shared-utils": "1.21.1-alpha-56829ddc55b.0",
|
|
12
|
+
"@trackunit/geo-json-utils": "1.20.1-alpha-56829ddc55b.0"
|
|
13
13
|
},
|
|
14
14
|
"migrations": "./migrations.json",
|
|
15
15
|
"module": "./index.esm.js",
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
export interface OemBranding {
|
|
2
2
|
logo: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Whether the OEM has supplied a logo suitable for the Asset Home header
|
|
5
|
+
* (dark banner background). True when either `headerLogoPath` OR `logoPath`
|
|
6
|
+
* is set on the OEM manifest — the runtime resolves `headerLogoPath ?? logoPath`
|
|
7
|
+
* so brands that only ship `logoPath` keep their existing header. Optional so
|
|
8
|
+
* pre-existing mocks/consumers that don't set it keep compiling; the runtime
|
|
9
|
+
* checks it truthily and treats a missing value as "no header logo".
|
|
10
|
+
*/
|
|
11
|
+
headerLogo?: boolean;
|
|
3
12
|
assetBanner: boolean;
|
|
4
13
|
color?: string;
|
|
5
14
|
platformLogo: boolean;
|
|
@@ -7,7 +16,7 @@ export interface OemBranding {
|
|
|
7
16
|
oemLicensedOnly?: boolean;
|
|
8
17
|
};
|
|
9
18
|
}
|
|
10
|
-
export type OemBrandingImageType = "logo" | "assetBanner" | "platformLogo";
|
|
19
|
+
export type OemBrandingImageType = "logo" | "headerLogo" | "assetBanner" | "platformLogo";
|
|
11
20
|
export interface OemBrandingRuntimeApi {
|
|
12
21
|
getAllBrandingDetails: () => Promise<Record<string, OemBranding>>;
|
|
13
22
|
getOemBranding: (brand: string) => Promise<OemBranding | null>;
|