@finema/finework-layer 2.0.49 → 2.0.51

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
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.51](https://gitlab.finema.co/finema/internal/finework/compare/2.0.50...2.0.51) (2026-08-27)
4
+
5
+ ### Bug Fixes
6
+
7
+ * add COSTSHEET_REJECTED action to notification link handler ([05bde18](https://gitlab.finema.co/finema/internal/finework/commit/05bde1873f71cbdea589fc82a9e769403b796ed1))
8
+
9
+ ## [2.0.50](https://gitlab.finema.co/finema/internal/finework/compare/2.0.49...2.0.50) (2026-08-27)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update notification link handler for document type ([43f2bac](https://gitlab.finema.co/finema/internal/finework/commit/43f2bacb565a061d2c9ae09063d19df1e1f7941c)), closes [#documentRef](https://gitlab.finema.co/finema/internal/finework/issues/documentRef)
14
+
3
15
  ## [2.0.49](https://gitlab.finema.co/finema/internal/finework/compare/2.0.48...2.0.49) (2026-08-24)
4
16
 
5
17
  ### Bug Fixes
@@ -176,6 +176,7 @@ const getLink = (item: INotificationItem) => {
176
176
 
177
177
  switch (item.action_type) {
178
178
  case 'COSTSHEET_WAITING_APPROVAL':
179
+ case 'COSTSHEET_REJECTED':
179
180
  return `/cost-sheet/doc/${costSheetDocID}?tab=COSTSHEET`
180
181
  case 'COSTSHEET_APPROVED':
181
182
  return `/cost-sheet/doc/${costSheetDocID}?tab=EXPENSE`
@@ -227,6 +228,17 @@ const getLink = (item: INotificationItem) => {
227
228
  }
228
229
  }
229
230
 
231
+ case 'DOCUMENT':
232
+ {
233
+ switch (item.action_type) {
234
+ case 'DOCUMENT_BIZCO_WAITING':
235
+ return `/#documentRef`
236
+
237
+ default:
238
+ return '#'
239
+ }
240
+ }
241
+
230
242
  default:
231
243
  return '#'
232
244
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.49",
4
+ "version": "2.0.51",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",