]> git.r.bdr.sh - rbdr/forum/commit - src/lib/components/topic/topic.test.ts
Update / use typescript
authorRuben Beltran del Rio <redacted>
Sat, 30 Apr 2022 22:56:06 +0000 (00:56 +0200)
committerRuben Beltran del Rio <redacted>
Sat, 30 Apr 2022 22:56:06 +0000 (00:56 +0200)
commita7cf03c192470cbab13edeb1aec99e0c66dede10
tree581b4430d1de958dcb666bae80a7678332134602
parent010f307346e525ac2e4239a0549d2c1a4d6d102b
Update / use typescript
139 files changed:
.eslintrc.cjs
.gitignore
.prettierrc [new file with mode: 0644]
jest.config.js [new file with mode: 0644]
jest.config.json [deleted file]
jsconfig.json [deleted file]
package-lock.json
package.json
playwright.config.js [new file with mode: 0644]
postcss.config.cjs [new file with mode: 0644]
src/.global.d.ts.icloud [new file with mode: 0644]
src/animations/.blink.js.icloud [new file with mode: 0644]
src/animations/.blink.test.js.icloud [new file with mode: 0644]
src/app.css
src/app.d.ts [new file with mode: 0644]
src/app.html
src/components/actions/.topic.svelte.icloud [new file with mode: 0644]
src/components/actions/.topic.test.js.icloud [new file with mode: 0644]
src/components/author/.author.svelte.icloud [new file with mode: 0644]
src/components/error_block/.error_block.svelte.icloud [new file with mode: 0644]
src/components/error_block/.error_block.test.js.icloud [new file with mode: 0644]
src/components/footer/.footer.svelte.icloud [new file with mode: 0644]
src/components/forum/.forum.svelte.icloud [new file with mode: 0644]
src/components/forum/.forum.test.js.icloud [new file with mode: 0644]
src/components/forum_list/.forum_list.svelte.icloud [new file with mode: 0644]
src/components/forum_list/.forum_list.test.js.icloud [new file with mode: 0644]
src/components/glyph/.glyph.svelte.icloud [new file with mode: 0644]
src/components/glyph/.glyph.test.js.icloud [new file with mode: 0644]
src/components/header/.header.svelte.icloud [new file with mode: 0644]
src/components/header/.header.test.js.icloud [new file with mode: 0644]
src/components/home/.home.svelte.icloud [new file with mode: 0644]
src/components/invalid_route/.invalid_route.svelte.icloud [new file with mode: 0644]
src/components/language_selector/.language_selector.svelte.icloud [new file with mode: 0644]
src/components/language_selector/.language_selector.test.js.icloud [new file with mode: 0644]
src/components/loader/.loader.svelte.icloud [new file with mode: 0644]
src/components/post/.post.svelte.icloud [new file with mode: 0644]
src/components/post/.post.test.js.icloud [new file with mode: 0644]
src/components/tag/.tag.svelte.icloud [new file with mode: 0644]
src/components/tag/.tag.test.js.icloud [new file with mode: 0644]
src/components/topic/.topic.svelte.icloud [new file with mode: 0644]
src/components/topic/.topic.test.js.icloud [new file with mode: 0644]
src/components/topic_summary/.topic_summary.svelte.icloud [new file with mode: 0644]
src/components/topic_summary/.topic_summary.test.js.icloud [new file with mode: 0644]
src/config/.apollo.js.icloud [new file with mode: 0644]
src/config/.config.js.icloud [new file with mode: 0644]
src/config/.i18n.js.icloud [new file with mode: 0644]
src/config/__mocks__/.config.js.icloud [new file with mode: 0644]
src/config/translations/.en.json.icloud [new file with mode: 0644]
src/config/translations/.es.json.icloud [new file with mode: 0644]
src/data/.queries.js.icloud [new file with mode: 0644]
src/global.d.ts [deleted file]
src/lib/animations/blink.test.ts [moved from src/animations/blink.test.js with 96% similarity]
src/lib/animations/blink.ts [moved from src/animations/blink.js with 81% similarity]
src/lib/components/actions/topic.svelte [moved from src/components/actions/topic.svelte with 74% similarity]
src/lib/components/actions/topic.test.ts [moved from src/components/actions/topic.test.js with 90% similarity]
src/lib/components/author/author.svelte [moved from src/components/author/author.svelte with 100% similarity]
src/lib/components/error_block/error_block.svelte [moved from src/components/error_block/error_block.svelte with 92% similarity]
src/lib/components/error_block/error_block.test.ts [moved from src/components/error_block/error_block.test.js with 92% similarity]
src/lib/components/footer/footer.svelte [moved from src/components/footer/footer.svelte with 80% similarity]
src/lib/components/forum/forum.svelte [moved from src/components/forum/forum.svelte with 65% similarity]
src/lib/components/forum/forum.test.ts [moved from src/components/forum/forum.test.js with 96% similarity]
src/lib/components/forum_list/forum_list.svelte [moved from src/components/forum_list/forum_list.svelte with 97% similarity]
src/lib/components/forum_list/forum_list.test.ts [moved from src/components/forum_list/forum_list.test.js with 97% similarity]
src/lib/components/glyph/glyph.svelte [moved from src/components/glyph/glyph.svelte with 86% similarity]
src/lib/components/glyph/glyph.test.ts [moved from src/components/glyph/glyph.test.js with 91% similarity]
src/lib/components/header/header.svelte [moved from src/components/header/header.svelte with 85% similarity]
src/lib/components/header/header.test.ts [moved from src/components/header/header.test.js with 79% similarity]
src/lib/components/home/home.svelte [moved from src/components/home/home.svelte with 84% similarity]
src/lib/components/invalid_route/invalid_route.svelte [moved from src/components/invalid_route/invalid_route.svelte with 86% similarity]
src/lib/components/language_selector/language_selector.svelte [moved from src/components/language_selector/language_selector.svelte with 91% similarity]
src/lib/components/language_selector/language_selector.test.ts [moved from src/components/language_selector/language_selector.test.js with 85% similarity]
src/lib/components/loader/loader.svelte [moved from src/components/loader/loader.svelte with 79% similarity]
src/lib/components/post/post.svelte [moved from src/components/post/post.svelte with 93% similarity]
src/lib/components/post/post.test.ts [moved from src/components/post/post.test.js with 98% similarity]
src/lib/components/tag/tag.svelte [moved from src/components/tag/tag.svelte with 64% similarity]
src/lib/components/tag/tag.test.ts [moved from src/components/tag/tag.test.js with 96% similarity]
src/lib/components/topic/topic.svelte [moved from src/components/topic/topic.svelte with 90% similarity]
src/lib/components/topic/topic.test.ts [moved from src/components/topic/topic.test.js with 98% similarity]
src/lib/components/topic_summary/topic_summary.svelte [moved from src/components/topic_summary/topic_summary.svelte with 87% similarity]
src/lib/components/topic_summary/topic_summary.test.ts [moved from src/components/topic_summary/topic_summary.test.js with 94% similarity]
src/lib/config/__mocks__/config.ts [moved from src/config/__mocks__/config.js with 85% similarity]
src/lib/config/apollo.ts [moved from src/config/apollo.js with 100% similarity]
src/lib/config/config.ts [moved from src/config/config.js with 63% similarity]
src/lib/config/env.dist [moved from src/config/env.dist with 100% similarity]
src/lib/data/queries.ts [moved from src/data/queries.js with 100% similarity]
src/lib/i18n.ts [moved from src/config/i18n.js with 77% similarity]
src/lib/stores/actions.test.ts [moved from src/stores/actions.test.js with 100% similarity]
src/lib/stores/actions.ts [new file with mode: 0644]
src/lib/stores/apollo.ts [new file with mode: 0644]
src/lib/stores/forums.test.ts [moved from src/stores/forums.test.js with 99% similarity]
src/lib/stores/forums.ts [new file with mode: 0644]
src/lib/stores/posts.test.ts [moved from src/stores/posts.test.js with 99% similarity]
src/lib/stores/posts.ts [new file with mode: 0644]
src/lib/stores/tags.test.ts [moved from src/stores/tags.test.js with 98% similarity]
src/lib/stores/tags.ts [new file with mode: 0644]
src/lib/stores/topics.test.ts [moved from src/stores/topics.test.js with 99% similarity]
src/lib/stores/topics.ts [new file with mode: 0644]
src/lib/translations/en.json [moved from src/config/translations/en.json with 100% similarity]
src/lib/translations/es.json [moved from src/config/translations/es.json with 100% similarity]
src/lib/utils/glyph_hash.test.ts [moved from src/utils/glyph_hash.test.js with 92% similarity]
src/lib/utils/glyph_hash.ts [moved from src/utils/glyph_hash.js with 80% similarity]
src/lib/utils/readable_time.test.ts [moved from src/utils/readable_time.test.js with 100% similarity]
src/lib/utils/readable_time.ts [moved from src/utils/readable_time.js with 74% similarity]
src/lib/utils/resolve_after.test.ts [moved from src/utils/resolve_after.test.js with 77% similarity]
src/lib/utils/resolve_after.ts [moved from src/utils/resolve_after.js with 51% similarity]
src/routes/__error.svelte
src/routes/__layout.svelte
src/routes/a/[id].svelte
src/routes/f/[id].svelte
src/routes/g/[id].svelte
src/routes/index.svelte
src/routes/p/[id].svelte
src/routes/t/[id].svelte
src/stores/.actions.js.icloud [new file with mode: 0644]
src/stores/.actions.test.js.icloud [new file with mode: 0644]
src/stores/.apollo.js.icloud [new file with mode: 0644]
src/stores/.forums.js.icloud [new file with mode: 0644]
src/stores/.forums.test.js.icloud [new file with mode: 0644]
src/stores/.posts.js.icloud [new file with mode: 0644]
src/stores/.posts.test.js.icloud [new file with mode: 0644]
src/stores/.tags.js.icloud [new file with mode: 0644]
src/stores/.tags.test.js.icloud [new file with mode: 0644]
src/stores/.topics.js.icloud [new file with mode: 0644]
src/stores/.topics.test.js.icloud [new file with mode: 0644]
src/stores/actions.js [deleted file]
src/stores/apollo.js [deleted file]
src/stores/forums.js [deleted file]
src/stores/posts.js [deleted file]
src/stores/tags.js [deleted file]
src/stores/topics.js [deleted file]
src/utils/.glyph_hash.js.icloud [new file with mode: 0644]
src/utils/.glyph_hash.test.js.icloud [new file with mode: 0644]
src/utils/.readable_time.js.icloud [new file with mode: 0644]
src/utils/.readable_time.test.js.icloud [new file with mode: 0644]
src/utils/.resolve_after.js.icloud [new file with mode: 0644]
src/utils/.resolve_after.test.js.icloud [new file with mode: 0644]
svelte.config.js
tailwind.config.cjs [new file with mode: 0644]
tsconfig.json [new file with mode: 0644]