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.

12345678910111213141516171819
  1. const getImageName = (prefix: string, length: number) =>
  2. new Array(length)
  3. .fill(0)
  4. .map((x, idx) => `chunk-method/${prefix}-0${idx + 1}`);
  5. export const ImageMap = {
  6. book: getImageName('book', 4),
  7. laws: getImageName('law', 2),
  8. manual: getImageName('manual', 4),
  9. picture: getImageName('media', 2),
  10. naive: getImageName('naive', 2),
  11. paper: getImageName('paper', 2),
  12. presentation: getImageName('presentation', 2),
  13. qa: getImageName('qa', 2),
  14. resume: getImageName('resume', 2),
  15. table: getImageName('table', 2),
  16. one: getImageName('one', 2),
  17. knowledge_graph: getImageName('knowledge-graph', 2),
  18. };