Skip to content

Commit

Permalink
Merge pull request #983 from gobitfly/BEDS-469/add-dashboard-name
Browse files Browse the repository at this point in the history
(BEDS-469) added dashboard name
  • Loading branch information
remoterami authored Oct 18, 2024
2 parents f8db000 + a89f757 commit e9b1215
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/api/types/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type NotificationDashboardsTableRow struct {
ChainId uint64 `db:"chain_id" json:"chain_id"`
Epoch uint64 `db:"epoch" json:"epoch"`
DashboardId uint64 `db:"dashboard_id" json:"dashboard_id"`
DashboardName string `db:"dashboard_name" json:"-"` // not exported, internal use only
DashboardName string `db:"dashboard_name" json:"dashboard_name"`
GroupId uint64 `db:"group_id" json:"group_id"`
GroupName string `db:"group_name" json:"group_name"`
EntityCount uint64 `db:"entity_count" json:"entity_count"`
Expand Down
1 change: 1 addition & 0 deletions frontend/types/api/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export interface NotificationDashboardsTableRow {
chain_id: number /* uint64 */;
epoch: number /* uint64 */;
dashboard_id: number /* uint64 */;
dashboard_name: string;
group_id: number /* uint64 */;
group_name: string;
entity_count: number /* uint64 */;
Expand Down
1 change: 1 addition & 0 deletions frontend/types/api/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type { ApiDataResponse, ChartHistorySeconds } from './common'
// source: user.go

export const UserGroupAdmin = "ADMIN";
export const UserGroupDev = "DEV";
export interface UserInfo {
id: number /* uint64 */;
email: string;
Expand Down

0 comments on commit e9b1215

Please sign in to comment.