feat(phase5): star/watch/fork, releases, wiki fallback, capability probe
- endpoints: is-starred (404→false), star/unstar, subscription watch/unwatch, fork, releases list/detail - hooks: useIsStarred/useToggleStar, useSubscription/useToggleWatch, useForkRepository, useReleases/useRelease - repo overview: star/watch/fork actions, Releases + Wiki entries (wiki via explicit browser fallback gated by capability probe) - screens: Releases list, Release detail with downloadable assets - core/capabilities: version parsing + per-capability minimum versions + tests - i18n (en/nl); README/ROADMAP/FEATURE_PARITY updated for phases 3-5
This commit is contained in:
1 parent
c9dd49446a
commit
5e8c9492b3
16 files changed
+769
-24
No files matched your search
@@ -44,6 +44,18 @@ export const queryKeys = {
|
||||
repoLanguages: (accountId: string, owner: string, name: string) =>
|
||||
[...queryKeys.repo(accountId, owner, name), 'languages'] as const,
|
||||
|
||||
repoStar: (accountId: string, owner: string, name: string) =>
|
||||
[...queryKeys.repo(accountId, owner, name), 'star'] as const,
|
||||
|
||||
repoSubscription: (accountId: string, owner: string, name: string) =>
|
||||
[...queryKeys.repo(accountId, owner, name), 'subscription'] as const,
|
||||
|
||||
releases: (accountId: string, owner: string, name: string, params: Record<string, unknown>) =>
|
||||
[...queryKeys.repo(accountId, owner, name), 'releases', params] as const,
|
||||
|
||||
release: (accountId: string, owner: string, name: string, id: number) =>
|
||||
[...queryKeys.repo(accountId, owner, name), 'release', id] as const,
|
||||
|
||||
contents: (accountId: string, owner: string, name: string, path: string, ref?: string) =>
|
||||
[...queryKeys.repo(accountId, owner, name), 'contents', { path, ref }] as const,
|
||||
|
||||
|
||||
Reference in new issue
Block a user