Project API Types are not exported at the top (module) level.

Aperta
#652 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

The payload names no source file. Start with the top-level module entry that re-exports the Accounting API types, then find where the Projects API types are imported from deeper in the module tree. Check whether the SDK is generated from XeroAPI/Xero-OpenAPI, since the fix may belong upstream. Done when the Projects types can be imported from the top-level module, like the Accounting types.

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

Descrizione

SDK you're using (please complete the following information):

  • Version 4.36.0

Is your feature request related to a problem? Please describe.
All of the types for the Projects API are imported deeper in the module dependencies. Not only is this harder to manage, but it causes issues for some project build types (specifically Next.JS and Vercel):

image

Describe the solution you'd like
Like the Accounting API, I would like these exports to be available at the top-level of the module.

Describe alternatives you've considered
The main alternative has been to import them in the current way. This works fine for some projects, but I am having trouble with Node libraries that use these types.

Lingua principale
TypeScript
Stelle
264
Fork
177
Merge medio
10h 5m
PR unite (30g)
5

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 XeroAPI/xero-node

Tutte le issue di XeroAPI/xero-node

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.