@egym/mwa-logger
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -9,3 +9,3 @@ type CIConfigItem = { | ||
gitCommitSha: CIConfigItem; | ||
gitCommitMsg: CIConfigItem; | ||
gitCommitMsg?: CIConfigItem; | ||
gitRef: CIConfigItem; | ||
@@ -12,0 +12,0 @@ gitRefType: CIConfigItem; |
@@ -9,3 +9,3 @@ type CIConfigItem = { | ||
gitCommitSha: CIConfigItem; | ||
gitCommitMsg: CIConfigItem; | ||
gitCommitMsg?: CIConfigItem; | ||
gitRef: CIConfigItem; | ||
@@ -12,0 +12,0 @@ gitRefType: CIConfigItem; |
@@ -57,3 +57,3 @@ import { Metric } from 'web-vitals'; | ||
gitCommitSha: CIConfigItem; | ||
gitCommitMsg: CIConfigItem; | ||
gitCommitMsg?: CIConfigItem; | ||
gitRef: CIConfigItem; | ||
@@ -60,0 +60,0 @@ gitRefType: CIConfigItem; |
{ | ||
"name": "@egym/mwa-logger", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "EGYM", |
@@ -18,5 +18,28 @@ # lib-mwa-logger | ||
buttonStyle?: CSSProperties; | ||
ciConfig?: CIConfig; | ||
}; | ||
``` | ||
```ts | ||
type CIConfigItem = { | ||
value: string; | ||
description: string; | ||
} | ||
export type CIConfig = { | ||
appId: CIConfigItem, | ||
appName: CIConfigItem, | ||
gitCommitSha: CIConfigItem, | ||
gitCommitMsg: CIConfigItem, | ||
gitRef: CIConfigItem, | ||
gitRefType: CIConfigItem, | ||
isAutomatedBuild: CIConfigItem, | ||
automationId: CIConfigItem, | ||
automationName: CIConfigItem, | ||
buildId: CIConfigItem, | ||
buildNumber: CIConfigItem, | ||
platform: CIConfigItem, | ||
} | ||
``` | ||
Place it at the top level of your app tree, prefferably outside <IonApp /> component. See [example](https://github.com/egym/mwa-reference/blob/main/src/App.tsx#L46): | ||
@@ -23,0 +46,0 @@ |
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
219600
206