@trackunit/iris-app-oem-api 0.0.28 → 0.0.29

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.29](https://github.com/Trackunit/manager/compare/iris-app-oem-api/0.0.28...iris-app-oem-api/0.0.29) (2023-07-24)
6
+
5
7
  ## [0.0.28](https://github.com/Trackunit/manager/compare/iris-app-oem-api/0.0.27...iris-app-oem-api/0.0.28) (2023-07-17)
6
8
 
7
9
  ### Dependency Updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-oem-api",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -25,16 +25,10 @@ export interface Branding {
25
25
  /**
26
26
  * Path to an image in the assets folder of the app.
27
27
  * The image will be shown as brand logo.
28
- * Example: typing "MyImage.png" here, will show the file "apps/my-app/assets/MyImage.png"
29
- */
30
- logoPath?: string;
31
- /**
32
- * Path to a grey image in the assets folder of the app.
33
28
  * The image will be shown as fleet list logo of an OEM asset.
34
29
  * Example: typing "MyImage.png" here, will show the file "apps/my-app/assets/MyImage.png"
35
- * This image color should be fully this shade of grey: '#717579'.
36
30
  */
37
- darkLogoPath?: string;
31
+ logoPath?: string;
38
32
  /**
39
33
  * Path to an image in the assets folder of the app.
40
34
  * The image will be shown as banner of an OEM asset.
@@ -1 +1 @@
1
- {"version":3,"file":"irisAppOemManifest.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-oem-api/src/types/irisAppOemManifest.ts"],"names":[],"mappings":"","sourcesContent":["import { IrisAppManifest } from \"@trackunit/iris-app-api\";\n\nexport interface IrisAppOemManifest extends IrisAppManifest {\n /**\n * OEM Branding, where logos and color will be added for branding.\n */\n oemBranding?: Branding;\n}\n\nexport interface Branding {\n /**\n * Conditions for the OEM app to be shown.\n */\n conditions: {\n /**\n * It is case insensitive so does not matter how you write the brand.\n * brand: \"trackunit\" and brand: \"Trackunit\" will be the same.\n *\n * Brand used/filled out then the asset needs to match the filled out property.\n */\n brand: string;\n /**\n * CAN Profiles takes an array of CAN profile names.\n */\n canProfiles?: string[];\n };\n /**\n * Path to an image in the assets folder of the app.\n * The image will be shown as brand logo.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n logoPath?: string;\n /**\n * Path to a grey image in the assets folder of the app.\n * The image will be shown as fleet list logo of an OEM asset.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n * This image color should be fully this shade of grey: '#717579'.\n */\n darkLogoPath?: string;\n /**\n * Path to an image in the assets folder of the app.\n * The image will be shown as banner of an OEM asset.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n assetBannerPath?: string;\n /**\n * Color will be applied to banner and also will used as brand theme color.\n * It will be a hex code. eg: '#FF0000'.\n */\n color?: string;\n /**\n * Path to an image in the assets folder of the app.\n * The image will be shown in the Events and Insights tab in Asset home.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n platformLogoPath?: string;\n /**\n * List of model images.\n * Key will be the model name.\n * Value will be path to an image in the assets folder of the app.\n * The image will be shown as the model image in Asset home.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n modelImages?: { [key: string]: string };\n}\n\nexport type PublicIrisAppOemManifest = Omit<IrisAppOemManifest, \"dependencies\" | \"devDependencies\" | \"installation\">;\n"]}
1
+ {"version":3,"file":"irisAppOemManifest.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-oem-api/src/types/irisAppOemManifest.ts"],"names":[],"mappings":"","sourcesContent":["import { IrisAppManifest } from \"@trackunit/iris-app-api\";\n\nexport interface IrisAppOemManifest extends IrisAppManifest {\n /**\n * OEM Branding, where logos and color will be added for branding.\n */\n oemBranding?: Branding;\n}\n\nexport interface Branding {\n /**\n * Conditions for the OEM app to be shown.\n */\n conditions: {\n /**\n * It is case insensitive so does not matter how you write the brand.\n * brand: \"trackunit\" and brand: \"Trackunit\" will be the same.\n *\n * Brand used/filled out then the asset needs to match the filled out property.\n */\n brand: string;\n /**\n * CAN Profiles takes an array of CAN profile names.\n */\n canProfiles?: string[];\n };\n /**\n * Path to an image in the assets folder of the app.\n * The image will be shown as brand logo.\n * The image will be shown as fleet list logo of an OEM asset.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n logoPath?: string;\n /**\n * Path to an image in the assets folder of the app.\n * The image will be shown as banner of an OEM asset.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n assetBannerPath?: string;\n /**\n * Color will be applied to banner and also will used as brand theme color.\n * It will be a hex code. eg: '#FF0000'.\n */\n color?: string;\n /**\n * Path to an image in the assets folder of the app.\n * The image will be shown in the Events and Insights tab in Asset home.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n platformLogoPath?: string;\n /**\n * List of model images.\n * Key will be the model name.\n * Value will be path to an image in the assets folder of the app.\n * The image will be shown as the model image in Asset home.\n * Example: typing \"MyImage.png\" here, will show the file \"apps/my-app/assets/MyImage.png\"\n */\n modelImages?: { [key: string]: string };\n}\n\nexport type PublicIrisAppOemManifest = Omit<IrisAppOemManifest, \"dependencies\" | \"devDependencies\" | \"installation\">;\n"]}