manifest.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. version: '0.1'
  2. description: Joystream query-node manifest file for antioch
  3. repository: https://github.com/Joystream/joystream
  4. hydraVersion: '2'
  5. dataSource:
  6. indexerVersion: '3.9'
  7. kind: substrate
  8. chain: joystream
  9. entities:
  10. - mappings/lib/generated/**/*.model.js
  11. typegen:
  12. metadata:
  13. source: ws://localhost:9944
  14. events:
  15. - contentDirectory.EntityCreated
  16. - contentDirectory.EntityRemoved
  17. - contentDirectory.EntitySchemaSupportAdded
  18. - contentDirectory.EntityPropertyValuesUpdated
  19. - contentDirectory.TransactionCompleted
  20. - contentDirectory.TransactionFailed
  21. outDir: ./mappings/generated/types
  22. customTypes:
  23. lib: '@joystream/types/augment/all/types'
  24. typedefsLoc: '../types/augment/all/defs.json'
  25. mappings:
  26. hydraCommonVersion: '2.0.1-beta.0'
  27. # js module that exports the handler functions
  28. mappingsModule: mappings/lib/mappings
  29. # additinal libraries the processor loads
  30. # typically it is a module with event and extrinsic types generated by hydra-typegen
  31. imports:
  32. - mappings/lib/mappings/generated/types
  33. eventHandlers:
  34. - event: contentDirectory.EntityCreated
  35. handler: contentDirectory_EntityCreated(DatabaseManager, SubstrateEvent)
  36. - event: contentDirectory.EntityRemoved
  37. handler: contentDirectory_EntityRemoved(DatabaseManager, SubstrateEvent)
  38. - event: contentDirectory.EntitySchemaSupportAdded
  39. handler: contentDirectory_EntitySchemaSupportAdded(DatabaseManager, SubstrateEvent)
  40. - event: contentDirectory.EntityPropertyValuesUpdated
  41. handler: contentDirectory_EntityPropertyValuesUpdated(DatabaseManager, SubstrateEvent)
  42. - event: contentDirectory.TransactionCompleted
  43. handler: contentDirectory_TransactionCompleted(DatabaseManager, SubstrateEvent)
  44. - event: contentDirectory.TransactionFailed
  45. handler: contentDirectory_TransactionFailed(DatabaseManager, SubstrateEvent)