Commit Graph

20 Commits

Author SHA1 Message Date
Tony b84bb92a8a
style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798)
* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of

* style: fix typescript-eslint/prefer-for-of

* style: fix typescript/no-inferrable-types

* style: fix typescript-eslint/consistent-generic-constructors

* style: typescript-eslint/consistent-type-assertions

* style: fix typescript-eslint/array-type

* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
2026-01-02 09:42:24 +08:00
github-actions[bot] a28890a135 style: auto format 2025-11-27 02:55:46 +00:00
Tony fb7e42cef3 refactor: de-alias 2025-09-30 00:40:03 +08:00
pseudoyu 0a42f88de7
feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
Mas0nShi e953515cd2
refactor(route/hex-rays): update data acquisition method (#17130)
This commit refactors the data acquisition method in the hex-rays route. It adds type annotations for the Data, DataItem, and Route types. It also imports the Context type from the hono library. The maintainers list is updated to include Mas0n. The handler function now takes a Context parameter and returns a Promise<Data>. The link to fetch data is updated to 'https://hex-rays.com/blog/'. The parsing logic for the list of articles is modified to use the correct selectors. The category and description properties of each article are updated to match the new HTML structure. The image property is added to the returned data object.
2024-10-15 02:24:36 +08:00
Tony d585a87daf
fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod d83c85a349
feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055
fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b
fix: add routes 2024-03-09 03:24:53 +08:00
DIYgod 45f9ea21fb
feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e
feat: add namespace.ts 2024-03-09 01:53:22 +08:00
Yufan You 130b11224e
chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod d93a301d97
feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205
feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5
feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50
feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538
feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Tony 27cff2bf43
fix(route): hex-rays news pubDate and author (#8202) 2022-01-22 20:24:26 +00:00
Laam Pui decbb70e4d
fix: outdated route /hex-rays/news (#6508) 2020-12-23 17:55:14 +00:00
hellodword 7968a8d1fb feat: add hex-rays news (#3726) 2020-01-14 12:02:11 +08:00