Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions src/fixtures/github/releases/results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
[
{
"url": "https://api.github.com/repos/purview-dev/results/releases/400107240",
"assets_url": "https://api.github.com/repos/purview-dev/results/releases/400107240/assets",
"upload_url": "https://uploads.github.com/repos/purview-dev/results/releases/400107240/assets{?name,label}",
"html_url": "https://github.com/purview-dev/results/releases/tag/v1.0.0-prerelease.2",
"id": 400107240,
"author": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
},
"node_id": "RE_kwDOUz-6es4X2Sbo",
"tag_name": "v1.0.0-prerelease.2",
"target_commitish": "main",
"name": "v1.0.0-prerelease.2",
"draft": false,
"immutable": false,
"prerelease": true,
"created_at": "2026-09-30T14:03:25Z",
"updated_at": "2026-09-30T14:05:29Z",
"published_at": "2026-09-30T14:05:29Z",
"assets": [],
"tarball_url": "https://api.github.com/repos/purview-dev/results/tarball/v1.0.0-prerelease.2",
"zipball_url": "https://api.github.com/repos/purview-dev/results/zipball/v1.0.0-prerelease.2",
"body": "## What's Changed\n* docs: added docs by @kieronlanning in https://github.com/purview-dev/results/pull/2\n\n\n**Full Changelog**: https://github.com/purview-dev/results/compare/v1.0.0-prerelease.1...v1.0.0-prerelease.2",
"mentions_count": 1
},
{
"url": "https://api.github.com/repos/purview-dev/results/releases/400028085",
"assets_url": "https://api.github.com/repos/purview-dev/results/releases/400028085/assets",
"upload_url": "https://uploads.github.com/repos/purview-dev/results/releases/400028085/assets{?name,label}",
"html_url": "https://github.com/purview-dev/results/releases/tag/v1.0.0-prerelease.1",
"id": 400028085,
"author": {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
},
"node_id": "RE_kwDOUz-6es4X1_G1",
"tag_name": "v1.0.0-prerelease.1",
"target_commitish": "main",
"name": "v1.0.0-prerelease.1",
"draft": false,
"immutable": false,
"prerelease": true,
"created_at": "2026-09-30T12:33:12Z",
"updated_at": "2026-09-30T12:35:07Z",
"published_at": "2026-09-30T12:35:07Z",
"assets": [],
"tarball_url": "https://api.github.com/repos/purview-dev/results/tarball/v1.0.0-prerelease.1",
"zipball_url": "https://api.github.com/repos/purview-dev/results/zipball/v1.0.0-prerelease.1",
"body": "## What's Changed\n* Docs update by @kieronlanning in https://github.com/purview-dev/results/pull/1\n\n## New Contributors\n* @kieronlanning made their first contribution in https://github.com/purview-dev/results/pull/1\n\n**Full Changelog**: https://github.com/purview-dev/results/commits/v1.0.0-prerelease.1",
"mentions_count": 1
}
]
193 changes: 193 additions & 0 deletions src/fixtures/github/repos/results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{
"id": 1396685434,
"node_id": "R_kgDOUz-6eg",
"name": "results",
"full_name": "purview-dev/results",
"private": false,
"owner": {
"login": "purview-dev",
"id": 96894084,
"node_id": "O_kgDOBcZ8hA",
"avatar_url": "https://avatars.githubusercontent.com/u/96894084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/purview-dev",
"html_url": "https://github.com/purview-dev",
"followers_url": "https://api.github.com/users/purview-dev/followers",
"following_url": "https://api.github.com/users/purview-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/purview-dev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/purview-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/purview-dev/subscriptions",
"organizations_url": "https://api.github.com/users/purview-dev/orgs",
"repos_url": "https://api.github.com/users/purview-dev/repos",
"events_url": "https://api.github.com/users/purview-dev/events{/privacy}",
"received_events_url": "https://api.github.com/users/purview-dev/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/purview-dev/results",
"description": "Result types for .NET - a small, dependency-light Result<TValue, TError> where expected failures are values instead of exceptions, C# 15 union error cases with generated AsFailure<TValue>() helpers, and ASP.NET Core and ZodSharp integrations that map failures to HTTP responses.",
"fork": false,
"url": "https://api.github.com/repos/purview-dev/results",
"forks_url": "https://api.github.com/repos/purview-dev/results/forks",
"keys_url": "https://api.github.com/repos/purview-dev/results/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/purview-dev/results/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/purview-dev/results/teams",
"hooks_url": "https://api.github.com/repos/purview-dev/results/hooks",
"issue_events_url": "https://api.github.com/repos/purview-dev/results/issues/events{/number}",
"events_url": "https://api.github.com/repos/purview-dev/results/events",
"assignees_url": "https://api.github.com/repos/purview-dev/results/assignees{/user}",
"branches_url": "https://api.github.com/repos/purview-dev/results/branches{/branch}",
"tags_url": "https://api.github.com/repos/purview-dev/results/tags",
"blobs_url": "https://api.github.com/repos/purview-dev/results/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/purview-dev/results/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/purview-dev/results/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/purview-dev/results/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/purview-dev/results/statuses/{sha}",
"languages_url": "https://api.github.com/repos/purview-dev/results/languages",
"stargazers_url": "https://api.github.com/repos/purview-dev/results/stargazers",
"contributors_url": "https://api.github.com/repos/purview-dev/results/contributors",
"subscribers_url": "https://api.github.com/repos/purview-dev/results/subscribers",
"subscription_url": "https://api.github.com/repos/purview-dev/results/subscription",
"commits_url": "https://api.github.com/repos/purview-dev/results/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/purview-dev/results/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/purview-dev/results/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/purview-dev/results/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/purview-dev/results/contents/{+path}",
"compare_url": "https://api.github.com/repos/purview-dev/results/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/purview-dev/results/merges",
"archive_url": "https://api.github.com/repos/purview-dev/results/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/purview-dev/results/downloads",
"issues_url": "https://api.github.com/repos/purview-dev/results/issues{/number}",
"pulls_url": "https://api.github.com/repos/purview-dev/results/pulls{/number}",
"milestones_url": "https://api.github.com/repos/purview-dev/results/milestones{/number}",
"notifications_url": "https://api.github.com/repos/purview-dev/results/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/purview-dev/results/labels{/name}",
"releases_url": "https://api.github.com/repos/purview-dev/results/releases{/id}",
"deployments_url": "https://api.github.com/repos/purview-dev/results/deployments",
"created_at": "2026-09-29T23:01:43Z",
"updated_at": "2026-09-30T14:05:36Z",
"pushed_at": "2026-09-30T14:05:29Z",
"git_url": "git://github.com/purview-dev/results.git",
"ssh_url": "git@github.com:purview-dev/results.git",
"clone_url": "https://github.com/purview-dev/results.git",
"svn_url": "https://github.com/purview-dev/results",
"homepage": "https://purview.dev/projects/results/",
"size": 317,
"stargazers_count": 0,
"watchers_count": 0,
"language": "C#",
"has_issues": true,
"has_projects": false,
"has_downloads": false,
"has_wiki": false,
"has_pages": false,
"has_discussions": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [
"aspnetcore",
"c-sharp",
"csharp",
"discriminated-unions",
"dotnet",
"error-handling",
"minimal-apis",
"nuget",
"problem-details",
"result-type",
"roslyn",
"source-generator",
"union-types",
"zodsharp"
],
"visibility": "public",
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main",
"permissions": {
"admin": true,
"maintain": true,
"push": true,
"triage": true,
"pull": true
},
"temp_clone_token": "",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_auto_merge": true,
"delete_branch_on_merge": true,
"allow_update_branch": true,
"use_squash_pr_title_as_default": false,
"squash_merge_commit_message": "COMMIT_MESSAGES",
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
"merge_commit_message": "PR_TITLE",
"merge_commit_title": "MERGE_MESSAGE",
"custom_properties": {},
"organization": {
"login": "purview-dev",
"id": 96894084,
"node_id": "O_kgDOBcZ8hA",
"avatar_url": "https://avatars.githubusercontent.com/u/96894084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/purview-dev",
"html_url": "https://github.com/purview-dev",
"followers_url": "https://api.github.com/users/purview-dev/followers",
"following_url": "https://api.github.com/users/purview-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/purview-dev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/purview-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/purview-dev/subscriptions",
"organizations_url": "https://api.github.com/users/purview-dev/orgs",
"repos_url": "https://api.github.com/users/purview-dev/repos",
"events_url": "https://api.github.com/users/purview-dev/events{/privacy}",
"received_events_url": "https://api.github.com/users/purview-dev/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"security_and_analysis": {
"secret_scanning": {
"status": "enabled"
},
"secret_scanning_push_protection": {
"status": "enabled"
},
"dependabot_security_updates": {
"status": "disabled"
},
"secret_scanning_non_provider_patterns": {
"status": "disabled"
},
"secret_scanning_ai_detection": {
"status": "disabled"
},
"secret_scanning_validity_checks": {
"status": "disabled"
},
"secret_scanning_delegated_alert_dismissal": {
"status": "disabled"
},
"secret_scanning_delegated_bypass": {
"status": "disabled"
}
},
"network_count": 0,
"subscribers_count": 0
}
6 changes: 6 additions & 0 deletions src/fixtures/nuget/purview.results.aspnetcore.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"versions": [
"1.0.0-prerelease.1",
"1.0.0-prerelease.2"
]
}
6 changes: 6 additions & 0 deletions src/fixtures/nuget/purview.results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"versions": [
"1.0.0-prerelease.1",
"1.0.0-prerelease.2"
]
}
6 changes: 6 additions & 0 deletions src/fixtures/nuget/purview.results.sourcegenerator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"versions": [
"1.0.0-prerelease.1",
"1.0.0-prerelease.2"
]
}
6 changes: 6 additions & 0 deletions src/fixtures/nuget/purview.results.zodsharp.aspnetcore.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"versions": [
"1.0.0-prerelease.1",
"1.0.0-prerelease.2"
]
}
6 changes: 6 additions & 0 deletions src/fixtures/nuget/purview.results.zodsharp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"versions": [
"1.0.0-prerelease.1",
"1.0.0-prerelease.2"
]
}
8 changes: 8 additions & 0 deletions src/fixtures/nuget/search/Purview.Results.AspNetCore.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@context": {
"@vocab": "http://schema.nuget.org/schema#",
"@base": "https://api.nuget.org/v3/registration5-semver1/"
},
"totalHits": 0,
"data": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@context": {
"@vocab": "http://schema.nuget.org/schema#",
"@base": "https://api.nuget.org/v3/registration5-semver1/"
},
"totalHits": 0,
"data": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@context": {
"@vocab": "http://schema.nuget.org/schema#",
"@base": "https://api.nuget.org/v3/registration5-semver1/"
},
"totalHits": 0,
"data": []
}
8 changes: 8 additions & 0 deletions src/fixtures/nuget/search/Purview.Results.ZodSharp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@context": {
"@vocab": "http://schema.nuget.org/schema#",
"@base": "https://api.nuget.org/v3/registration5-semver1/"
},
"totalHits": 0,
"data": []
}
8 changes: 8 additions & 0 deletions src/fixtures/nuget/search/Purview.Results.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@context": {
"@vocab": "http://schema.nuget.org/schema#",
"@base": "https://api.nuget.org/v3/registration5-semver1/"
},
"totalHits": 0,
"data": []
}
Loading
Loading