Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing option in apiOptions type #770

Open
1 task done
lukeJEdwards opened this issue Nov 20, 2024 · 0 comments
Open
1 task done

missing option in apiOptions type #770

lukeJEdwards opened this issue Nov 20, 2024 · 0 comments
Labels
pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised

Comments

@lukeJEdwards
Copy link

Describe the issue you're facing

When wanting to get story by uuid the apiOptions type don't allow for find_by. Add a stackBlitz but it doesn't support type hints will still send the api request but a bit annoying the option is supported on the type

Reproduction

https://stackblitz.com/edit/vitejs-vite-rusp3a?file=src%2FApp.vue

Steps to reproduce

Try to add find_by to apiOptions you'll get "Object literal may only specify known properties, and 'find_by' does not exist in type"

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 1700 Eight-Core Processor
    Memory: 5.90 GB / 15.95 GB
  Binaries:
    Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.4.0 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.1.4 - ~\.bun\bin\bun.EXE       
  Browsers:
    Edge: Chromium (130.0.2849.46)        
    Internet Explorer: 11.0.19041.4355

Used Package Manager

pnpm

Error logs (Optional)

No response

Validations

@lukeJEdwards lukeJEdwards added pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised
Projects
None yet
Development

No branches or pull requests

1 participant