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.

27 lines
491 B

4 years ago
4 years ago
  1. import type { IconName } from "../external/icons";
  2. import type Group from "./group";
  3. export default interface Item {
  4. id: string
  5. groupId: string
  6. groupWeight: number
  7. icon: IconName
  8. name: string
  9. description: string
  10. }
  11. export interface ItemResult extends Item {
  12. group: Group
  13. }
  14. export interface ItemInput {
  15. groupId: string
  16. groupWeight: number
  17. name: string
  18. description: string
  19. }
  20. export interface ItemUpdate {
  21. groupWeight?: number
  22. name?: string
  23. description?: string
  24. }