module-hooks.ts 358 B

123456789101112131415161718192021
  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 ProjectModifiedEvent = {
  16. projectId: string
  17. timestamp: number
  18. }