index.ts 411 B

123456789101112131415161718192021222324252627
  1. const { addBlockRange } = require('./joystream');
  2. import {
  3. Account,
  4. Balance,
  5. Block,
  6. Category,
  7. Channel,
  8. Council,
  9. Consul,
  10. ConsulStake,
  11. Era,
  12. Event,
  13. Member,
  14. Post,
  15. Proposal,
  16. ProposalPost,
  17. ProposalVote,
  18. Thread,
  19. Moderation,
  20. } from './db/models'
  21. async function main() {
  22. await addBlockRange(70000, 1000000);
  23. console.log("Here");
  24. }
  25. main();