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

feat: Change Recipe Owner #4355

Merged
Merged
Changes from 1 commit
Commits
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
Next Next commit
add group_id and household_id to UserSummary
michael-genson committed Oct 12, 2024
commit 8f9a560e27b18307bc7b2943ec666f2beccb5c44
2 changes: 2 additions & 0 deletions frontend/lib/api/types/user.ts
Original file line number Diff line number Diff line change
@@ -77,6 +77,8 @@ export interface ReadWebhook {
}
export interface UserSummary {
id: string;
groupId: string;
householdId: string;
username: string;
fullName: string;
}
2 changes: 2 additions & 0 deletions mealie/schema/user/user.py
Original file line number Diff line number Diff line change
@@ -180,6 +180,8 @@ def loader_options(cls) -> list[LoaderOption]:

class UserSummary(MealieModel):
id: UUID4
group_id: UUID4
household_id: UUID4
username: str
full_name: str
model_config = ConfigDict(from_attributes=True)