{"id":23170971,"url":"https://github.com/ignatandrei/rscg_utilitytypes","last_synced_at":"2025-08-18T07:31:55.945Z","repository":{"id":213750242,"uuid":"734820763","full_name":"ignatandrei/RSCG_UtilityTypes","owner":"ignatandrei","description":"Omit and Pick from TypeScript : https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys","archived":false,"fork":false,"pushed_at":"2024-01-06T22:32:15.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-21T11:58:02.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignatandrei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-22T18:01:44.000Z","updated_at":"2025-06-25T14:50:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"e76a1f20-acb9-4727-987a-4f21282f7ca1","html_url":"https://github.com/ignatandrei/RSCG_UtilityTypes","commit_stats":null,"previous_names":["ignatandrei/rscg_utilitytypes"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ignatandrei/RSCG_UtilityTypes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRSCG_UtilityTypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRSCG_UtilityTypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRSCG_UtilityTypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRSCG_UtilityTypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatandrei","download_url":"https://codeload.github.com/ignatandrei/RSCG_UtilityTypes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRSCG_UtilityTypes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270961622,"owners_count":24675914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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":[],"created_at":"2024-12-18T04:15:45.450Z","updated_at":"2025-08-18T07:31:55.672Z","avatar_url":"https://github.com/ignatandrei.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSCG_UtilityTypes\n\nOmit and Pick from TypeScript : https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys\n\ngenerating also extension for converting from one type to another . See demo project.\n\n## Usage\n\nAdd to your csproj file\n```xml\n  \u003cItemGroup\u003e\n\t  \u003cPackageReference Include=\"RSCG_UtilityTypes\" Version=\"2023.1223.1230\" OutputItemType=\"Analyzer\" ReferenceOutputAssembly=\"false\" /\u003e\n\t  \u003cPackageReference Include=\"RSCG_UtilityTypesCommon\" Version=\"2023.1223.1230\" /\u003e\n  \u003c/ItemGroup\u003e\n\n```\n\nIn C# 9.0\n\n```csharp\n[Omit(\"MoviePreviewSmall\", nameof(Actors),nameof(Year))]\n[Pick(\"MoviePreviewMinimal\", nameof(Title), nameof(Year))]\npublic class Movie\n{\n    public string? Title { get; set; }\n    public string? Director { get; set; }\n    public int Year { get; set; }\n    public string[]? Actors { get; set; }\n}\n```\n\nAnd 2 new classes will be generated , MoviePreviewSmall and MoviePreviewMinimal\n\n\n# More Roslyn Source Code Generators\n\nYou can find more RSCG with examples at [Roslyn Source Code Generators](https://ignatandrei.github.io/RSCG_Examples/v2/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Frscg_utilitytypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatandrei%2Frscg_utilitytypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Frscg_utilitytypes/lists"}