Skip to content

Commit

Permalink
update openapi.json & openapi-ts client, run pnpm format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 18, 2024
1 parent 4ff8432 commit f1afc4b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 22 deletions.
14 changes: 0 additions & 14 deletions frontend/src/lib/client/services.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ import type {
UsersDeleteUserData,
UsersDeleteUserError,
UsersDeleteUserResponse,
GetChildrenError,
GetChildrenResponse,
UpdateChildData,
UpdateChildError,
UpdateChildResponse,
Expand Down Expand Up @@ -551,18 +549,6 @@ export const usersDeleteUser = <ThrowOnError extends boolean = false>(
});
};

/**
* Get Children
*/
export const getChildren = <ThrowOnError extends boolean = false>(
options?: Options<unknown, ThrowOnError>
) => {
return (options?.client ?? client).get<GetChildrenResponse, GetChildrenError, ThrowOnError>({
...options,
url: '/users/children/'
});
};

/**
* Update Child
*/
Expand Down
4 changes: 0 additions & 4 deletions frontend/src/lib/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,6 @@ export type UsersDeleteUserResponse = void;

export type UsersDeleteUserError = unknown | HTTPValidationError;

export type GetChildrenResponse = Array<ChildPublic>;

export type GetChildrenError = unknown;

export type UpdateChildData = {
body: ChildPublic;
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/components/DataInput/DataInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
this={component}
{disabled}
class={highlight
? 'border-primary-600 dark:border-primary-600 rounded border-2 ' + componentClass
? 'rounded border-2 border-primary-600 dark:border-primary-600 ' + componentClass
: componentClass}
bind:value
{...properties}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/components/UserDataInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@

<Button
type="button"
class="dark:bg-primay-700 bg-primary-700 hover:bg-primary-800 dark:hover:bg-primary-800 w-full text-center text-sm text-white hover:text-white"
class="dark:bg-primay-700 w-full bg-primary-700 text-center text-sm text-white hover:bg-primary-800 hover:text-white dark:hover:bg-primary-800"
on:click={(e) => {
done = false;
}}>{$_('userData.changeButtonLabel')}</Button
>
{:else}
<Button
class="dark:bg-primay-700 bg-primary-700 hover:bg-primary-800 dark:hover:bg-primary-800 w-full text-center text-sm text-white hover:text-white"
class="dark:bg-primay-700 w-full bg-primary-700 text-center text-sm text-white hover:bg-primary-800 hover:text-white dark:hover:bg-primary-800"
type="submit">{$_('userData.submitButtonLabel')}</Button
>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion mondey_backend/openapi.json

Large diffs are not rendered by default.

0 comments on commit f1afc4b

Please sign in to comment.