diff --git a/change/@acedatacloud-hub-b634c68d-ad57-4fa0-8780-c27a2aef120c.json b/change/@acedatacloud-hub-b634c68d-ad57-4fa0-8780-c27a2aef120c.json new file mode 100644 index 00000000..3a3bd2cc --- /dev/null +++ b/change/@acedatacloud-hub-b634c68d-ad57-4fa0-8780-c27a2aef120c.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "add support for usage history", + "packageName": "@acedatacloud/hub", + "email": "germey@acedata.cloud", + "dependentChangeType": "patch" +} diff --git a/src/components/console/SidePanel.vue b/src/components/console/SidePanel.vue index d25e7eda..763aaa54 100644 --- a/src/components/console/SidePanel.vue +++ b/src/components/console/SidePanel.vue @@ -26,7 +26,12 @@ + + diff --git a/src/router/console.ts b/src/router/console.ts index da5891bd..876d677d 100644 --- a/src/router/console.ts +++ b/src/router/console.ts @@ -3,7 +3,8 @@ import { ROUTE_CONSOLE_APPLICATION_LIST, ROUTE_CONSOLE_ORDER_DETAIL, ROUTE_CONSOLE_ORDER_LIST, - ROUTE_CONSOLE_ROOT + ROUTE_CONSOLE_ROOT, + ROUTE_CONSOLE_USAGE_LIST } from './constants'; export default { @@ -39,6 +40,11 @@ export default { path: 'applications/:id/buy', name: ROUTE_CONSOLE_APPLICATION_BUY, component: () => import('@/pages/console/application/Buy.vue') + }, + { + path: 'usages', + name: ROUTE_CONSOLE_USAGE_LIST, + component: () => import('@/pages/console/usage/List.vue') } ] }; diff --git a/src/router/constants.ts b/src/router/constants.ts index b7d54b1b..b31af101 100644 --- a/src/router/constants.ts +++ b/src/router/constants.ts @@ -24,3 +24,5 @@ export const ROUTE_CONSOLE_APPLICATION_BUY = 'console-application-buy'; export const ROUTE_DISTRIBUTION_INDEX = 'distribution-index'; export const ROUTE_DISTRIBUTION_HISTORY = 'distribution-history'; export const ROUTE_DISTRIBUTION_INVITEES = 'distribution-invitees'; + +export const ROUTE_CONSOLE_USAGE_LIST = 'console-usage-list';