Skip to content

Commit c4e60a4

Browse files
committed
chore: update OpenAPI documentation and improve type safety
- Compressed OpenAPI JSON structure for better readability and performance. - Modified the `extension_callback` parameter type in the Google OAuth login data to allow null values for improved type safety. - Ensured consistency in API response schemas across various endpoints.
1 parent 01f3c8b commit c4e60a4

File tree

4 files changed

+3
-1295
lines changed

4 files changed

+3
-1295
lines changed

admin/src/client/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ export { CancelablePromise, CancelError } from "./core/CancelablePromise"
44
export { OpenAPI, type OpenAPIConfig } from "./core/OpenAPI"
55
export * from "./sdk.gen"
66
export * from "./types.gen"
7-
export * from "./types"
8-
export * from "./utils"

admin/src/client/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export type GoogleOauthGoogleCallbackApiData = {
133133
export type GoogleOauthGoogleCallbackApiResponse = (unknown);
134134

135135
export type GoogleOauthGoogleLoginData = {
136-
extensionCallback?: string;
136+
extensionCallback?: (string | null);
137137
};
138138

139139
export type GoogleOauthGoogleLoginResponse = (unknown);

frontend/app/openapi-client/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ export type GoogleOauthGoogleCallbackApiError = HTTPValidationError;
330330

331331
export type GoogleOauthGoogleLoginData = {
332332
query?: {
333-
extension_callback?: string;
333+
extension_callback?: string | null;
334334
};
335335
};
336336

0 commit comments

Comments
 (0)