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

👽️(frontend) Generate typescript api client - winter 2023 #2142

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Mar 7, 2024

  1. 🚚(frontend) api/joanie as joanieLegacyClient

    We'll implement a api client generated from joanie's openApi schema.
    The current client needs to change place.
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    74a09d6 View commit details
    Browse the repository at this point in the history
  2. 🚚(frontend) factories/joanie as joanieLegacy

    We'll implement a api client generated from joanie's openApi schema.
    The current client's type factories needs to change place.
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    425b772 View commit details
    Browse the repository at this point in the history
  3. 👽️(chore) add openapi-typescript-codegen@0.23.0

    Add openapi-typescript-codegen@0.23.0 to the projet
    this lib handle typescript api client generation from openapi schema
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    5491390 View commit details
    Browse the repository at this point in the history
  4. 👽️(chore): generate joanie api client

    Generate typescript api client according to joanie openapi schema
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    fd9aa53 View commit details
    Browse the repository at this point in the history
  5. 💩(frontend) manualy fix generated api

    on CoursesService and OrganizationService, a function get the id param
    twice.
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    ed67291 View commit details
    Browse the repository at this point in the history
  6. ✨(frontend) add auth token into generated api

    Generated api client need's to handle joanie authentification
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    8526bf2 View commit details
    Browse the repository at this point in the history
  7. ♻️(frontend) use joanie/gen/Address

    use generated Address type instead of legacy one
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    04033b1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4388f4f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    617dd4f View commit details
    Browse the repository at this point in the history
  10. ♻️(frontend) useAddresses with new api

    now that we've generated types and api client, we need to use them into
    our api hooks
    rlecellier committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    463f6cc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3401235 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. ♻️(frontend) Joanie api client load in test

    Joanie's api client shouldn't be loaded on test that don't use it.
    rlecellier committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    3da710e View commit details
    Browse the repository at this point in the history