(edition = "2022")
| 40 | }; |
| 41 | |
| 42 | export const getAllConferenceSlugs = async (edition = "2022") => { |
| 43 | return ( |
| 44 | await readdir(path.join(process.cwd(), `data/con/${edition}/conferences`)) |
| 45 | ) |
| 46 | .filter((el) => path.extname(el) === ".md") |
| 47 | .map((slug: string) => slug.replace(/\.md$/, "")); |
| 48 | }; |
| 49 | |
| 50 | export const getConferenceData = memoizeAsync( |
| 51 | async ( |
no outgoing calls
no test coverage detected