| 1 | /* |
| 2 | * Copyright (c) 2024 sovity GmbH |
| 3 | * |
| 4 | * This program and the accompanying materials are made available under the |
| 5 | * terms of the Apache License, Version 2.0 which is available at |
| 6 | * https://www.apache.org/licenses/LICENSE-2.0 |
| 7 | * |
| 8 | * SPDX-License-Identifier: Apache-2.0 |
| 9 | * |
| 10 | * Contributors: |
| 11 | * sovity GmbH - initial implementation |
| 12 | */ |
| 13 | import {UserRoleDto} from '@sovity.de/authority-portal-client'; |
| 14 | |
| 15 | export interface HeaderBarConfig { |
| 16 | title: string; |
| 17 | subtitle: string; |
| 18 | headerActions: HeaderBarAction[]; |
| 19 | } |
| 20 | |
| 21 | export interface HeaderBarAction { |
| 22 | label: string; |
| 23 | icon?: string; |
| 24 | action: () => void; |
| 25 | permissions: UserRoleDto[]; |
| 26 | } |