@finema/finework-layer 2.0.9 → 2.0.11

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.10...2.0.11) (2026-07-08)
4
+
5
+ ## [2.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.9...2.0.10) (2026-07-07)
6
+
3
7
  ## [2.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.8...2.0.9) (2026-07-07)
4
8
 
5
9
  ## [2.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.7...2.0.8) (2026-07-03)
@@ -201,6 +201,17 @@ const getLink = (item: INotificationItem) => {
201
201
  }
202
202
  }
203
203
 
204
+ case 'RECRUIT':
205
+ {
206
+ switch (item.action_type) {
207
+ case 'RECRUIT_INTERVIEW_REVIEW_ASSIGNED':
208
+ return `/recruit/interview-reviews/${item.source_id}`
209
+
210
+ default:
211
+ return '#'
212
+ }
213
+ }
214
+
204
215
  default:
205
216
  return '#'
206
217
  }
@@ -225,6 +236,8 @@ const getImage = (item: INotificationItem): string | null => {
225
236
  return `/admin/cost-sheet.png`
226
237
  } else if (item.source_type?.startsWith('REQUEST')) {
227
238
  return `/admin/request.png`
239
+ } else if (item.source_type?.startsWith('RECRUIT')) {
240
+ return `/admin/recruit.png`
228
241
  }
229
242
 
230
243
  return null
@@ -564,7 +564,7 @@ const peopleApps = computed(() => [
564
564
  logo: '/admin/recruit.png',
565
565
  label: 'Recruit',
566
566
  description: 'ระบบการสรรหาบุคลากร',
567
- to: '/',
567
+ to: routes.recruit.root.to,
568
568
  status: StatusPortal.ACTIVE,
569
569
  },
570
570
  ]
@@ -262,7 +262,14 @@ export const routes = {
262
262
  permissions: ['support:USER', 'support:ADMIN', 'support:SUPER'],
263
263
  },
264
264
  },
265
-
265
+ recruit: {
266
+ root: {
267
+ label: 'Dashboard',
268
+ to: '/recruit',
269
+ icon: 'ph:squares-four',
270
+ permissions: ['recruit:USER', 'recruit:ADMIN', 'recruit:SUPER'],
271
+ },
272
+ },
266
273
  } as const
267
274
 
268
275
  export const sidebarProfile = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.9",
4
+ "version": "2.0.11",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",