{"id":18819566,"url":"https://github.com/jdgabriel/tsc-custom-decorators","last_synced_at":"2026-04-27T11:31:15.322Z","repository":{"id":101115814,"uuid":"532898420","full_name":"jdgabriel/tsc-custom-decorators","owner":"jdgabriel","description":"My attempt to create a decorator that does request runtime authentication XD","archived":false,"fork":false,"pushed_at":"2022-09-05T12:49:46.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T09:07:56.018Z","etag":null,"topics":["decorators","nodejs","ts-node-dev","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdgabriel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-05T12:48:56.000Z","updated_at":"2022-09-09T23:46:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f52abe7-722f-4cc8-8f4a-1038b7fe9401","html_url":"https://github.com/jdgabriel/tsc-custom-decorators","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdgabriel/tsc-custom-decorators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdgabriel%2Ftsc-custom-decorators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdgabriel%2Ftsc-custom-decorators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdgabriel%2Ftsc-custom-decorators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdgabriel%2Ftsc-custom-decorators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdgabriel","download_url":"https://codeload.github.com/jdgabriel/tsc-custom-decorators/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdgabriel%2Ftsc-custom-decorators/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decorators","nodejs","ts-node-dev","typescript"],"created_at":"2024-11-08T00:23:47.511Z","updated_at":"2026-04-27T11:31:15.308Z","avatar_url":"https://github.com/jdgabriel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Learning Typescript decorators for Authenticate method\n\n```javascript\n// Route\n//localhost:3535/dash/admin\nhttp: {\n  header: {\n    role: \"ADMIN\";\n  }\n}\n\n// Route\n//localhost:3535/dash/creator\nhttp: {\n  header: {\n    role: \"ADMIN\" || \"CREATOR\";\n  }\n}\n\n// Route\n//localhost:3535/dash/editor\nhttp: {\n  header: {\n    role: \"ADMIN\" || \"CREATOR\" || \"EDITOR\";\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdgabriel%2Ftsc-custom-decorators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdgabriel%2Ftsc-custom-decorators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdgabriel%2Ftsc-custom-decorators/lists"}