You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
423 B

4 years ago
4 years ago
  1. import type { IconName } from "../external/icons";
  2. import type Item from "./item";
  3. export default interface Group {
  4. id: string
  5. name: string
  6. icon: IconName
  7. description: string
  8. }
  9. export interface GroupResult extends Group {
  10. items: Item[]
  11. }
  12. export interface GroupInput {
  13. name: string
  14. icon: string
  15. description: string
  16. }
  17. export interface GroupUpdate {
  18. name?: string
  19. icon?: string
  20. description?: string
  21. }