Open
Conversation
83 tasks
- Rename Os -> LegacyOs in existing types - Rename SimilarSoftware -> LegacySimilarSoftware in Software namespace - Create new types in api/src/core/types/SoftwareTypes.ts: Os, RuntimePlatform, Dereferencing, SimilarSoftware, SoftwareData, SoftwareInternal, SoftwareExternal, SoftwarePublic - Export new types from api/src/lib/index.ts and ApiTypes.ts - Legacy types preserved for backward compatibility
Rename software_external_datas columns to match canonical Software type (label→name, developers→authors, websiteUrl→url, sourceUrl→codeRepositoryUrl, documentationUrl→softwareHelp, logoUrl→image, publicationTime→dateCreated, softwareVersion→latestVersion as jsonb). Add operatingSystems and runtimePlatforms columns. Update all adapters, queries, mappers, and tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Migrate softwares DB columns: referencedSinceTime→addedTime (text ISO), updateTime→text ISO, description→jsonb LocalizedString, categories→applicationCategories, softwareType→operatingSystems+runtimePlatforms. Drop workshopUrls and generalInfoMd. Legacy output reconstructed for web compat. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… and runtimePlatforms Remove discriminated SoftwareType union (Desktop/Cloud/Stack) across API and web. Replace with canonical operatingSystems (Record<Os, boolean>) and runtimePlatforms (RuntimePlatform[]) fields throughout domain types, DB ports, usecases, router, autofill adapters, form state, selectors, and UI components. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…veSoftwareType Remove CanonicalSoftware alias and unused type re-exports (SoftwareVariant, Dereferencing, SimilarSoftware, SoftwareData, SoftwareInternal, SoftwareExternal, SoftwarePublic). Rename resolveSoftwareType → resolveOsAndPlatforms. Update docs to reflect phases 2–5 completion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename all legacy field names to canonical schema across both API and web: - SoftwareExternalData fields (label→name, developers→authors, etc.) - Web usecases, UI pages, selectors aligned with canonical types - Remove GetServiceProviders port (providers now from external data) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ename logoUrl to image Remove legacy mapper layer (toLegacySoftwareExternalData, castToSoftwareExternalData), delete SoftwareExternalData type, simplify DB repo to accept only canonical types, rename softwares.logoUrl column to image with migration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…eData types, fix zenodo fixture Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…for all softwares Bulk version of getDetails — 5 parallel queries, enriched similar softwares, merged external data into flat Software shape. Own 2h memoized handler, no change to v1 or tRPC paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
237e138 to
09960ff
Compare
…eType Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename sameAs to similarSoftwares, use LocalizedString for name/description, ISO date strings instead of timestamps, canonical latestVersion fields (version/releaseDate), simplify DB repository mapping. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bc8c8fb to
eaed03a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.