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

BC-7879 - Use OpenAPI client for authz call in tldraw-server #22

Merged
merged 17 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
6f6557c
BC-7879 - add `authorization-client-api` generated by openAPI
bergatco Oct 9, 2024
01d1b70
BC-7879 - move generated openAPI client to `src/infra/authorization/a…
bergatco Oct 10, 2024
57ef65a
BC-7879 - refactor authorization service to use generated openAPI client
bergatco Oct 10, 2024
55d58da
BC-7879 - remove not available models from index file
bergatco Oct 10, 2024
619228d
BC-7879 - refactor `authorization-api-client` to use `fetch` and be `…
bergatco Oct 14, 2024
2b8c824
BC-7879 - regenerate client (except `src/infra/authorization/authoriz…
bergatco Oct 14, 2024
6ad1ce4
BC-7879 - remove `models/index.ts` from `src/infra/authorization/auth…
bergatco Oct 14, 2024
678379e
BC-7879 - refactor authorization service to include authorization tok…
bergatco Oct 14, 2024
4232f15
BC-7879 - fix `AuthorizationContextParams` to handle enum types corre…
bergatco Oct 15, 2024
99e825d
BC-7879 - refactor authorization service to handle enum types correct…
bergatco Oct 15, 2024
4063ab1
BC-7879 - add `ConfigService` to `AuthorizationModule` and exclude `a…
bergatco Oct 15, 2024
dcb1527
BC-7879 - exclude authorization-api-client from code formatting and l…
bergatco Oct 15, 2024
2880478
BC-7879 - refactor authorization module to include `api/v3` in base path
bergatco Oct 15, 2024
321edbd
BC-7879 - refactor package-lock.json and package.json to include arg@…
bergatco Oct 15, 2024
4547b8f
BC-7879 - exclude authorization-api-client from code from eslint
bergatco Oct 16, 2024
c6ec011
Merge remote-tracking branch 'origin/main' into BC-7879-use-openapi-c…
SevenWaysDP Oct 16, 2024
4cf6f5f
BC-7879 - fix `sonar.exclusions` and `sonar.coverage.exclusions` to e…
bergatco Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# used by codacy and npm run lint but not local prettier
# keep in sync with .prettierignore

# ignore database dumps, keep format from export
ansible
.github
src/infra/authorization/authorization-api-client
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ansible
.github
.github
**/authorization-api-client/*.*
12 changes: 12 additions & 0 deletions openapitools-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"apiPackage": "api",
"enumNameSuffix": "",
"enumPropertyNaming": "UPPERCASE",
"fileNaming": "kebab-case",
"generateAliasAsModel": true,
"importFileExtension": ".js",
"modelPackage": "models",
"supportsES6": true,
"withInterfaces": true,
"withSeparateModelsAndApi": true
}
7 changes: 7 additions & 0 deletions openapitools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.9.0"
}
}
Loading
Loading