module-hooks.ts 454 B

123456789101112131415161718192021222324252627
  1. /**
  2. * Types for module hook events fired across the application
  3. */
  4. export type CommentAddedEvent = {
  5. projectId: string
  6. userId: string
  7. threadId: string
  8. messageId: string
  9. }
  10. export type CommentResolvedEvent = {
  11. projectId: string
  12. userId: string
  13. threadId: string
  14. }
  15. export type CommentReopenedEvent = {
  16. projectId: string
  17. userId: string
  18. threadId: string
  19. }
  20. export type ProjectModifiedEvent = {
  21. projectId: string
  22. timestamp: number
  23. }