Feature request: Generate types, standard schema and Effect Schema types.

Aperta
#642 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
api, tooling

Direzione di ricerca

The issue names no files, tests or entry points. Start by finding where the project defines its content types and how the REST API exposes them, then decide which output formats the issue wants (plain TypeScript, Standard Schema, Effect Schema) before writing any generator. The issue does not settle that choice, so ask the maintainers first. Done would mean a generator that produces importable type definitions from the schema, with a test that checks the output.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: api enhancement priority: P2

The data types are known ahead of deployment time. For many people, SonicJS will be deployed for use as an API for another component of the system. It would be good to be able to generate the types for use in a data transfer layer package for a single monorepo project, so that it can be imported in to the data-consuming software.

Lingua principale
TypeScript
Stelle
1.8k
Fork
219
Merge medio
2g 21h
PR unite (30g)
67

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SonicJs-Org/sonicjs

Tutte le issue di SonicJs-Org/sonicjs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.