dev:generate

This commit is contained in:
Michael Genson
2026-03-27 20:30:04 +00:00
parent 46259a3b4d
commit 3f0c8b3b92
3 changed files with 16 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ export type SupportedMigrations =
export interface CreateGroupPreferences {
privateGroup?: boolean;
showAnnouncements?: boolean;
groupId: string;
}
export interface DataMigrationCreate {
@@ -31,6 +32,7 @@ export interface GroupAdminUpdate {
}
export interface UpdateGroupPreferences {
privateGroup?: boolean;
showAnnouncements?: boolean;
}
export interface GroupDataExport {
id: string;
@@ -49,6 +51,7 @@ export interface GroupStorage {
}
export interface ReadGroupPreferences {
privateGroup?: boolean;
showAnnouncements?: boolean;
groupId: string;
id: string;
}

View File

@@ -15,6 +15,7 @@ export interface CreateGroupRecipeAction {
}
export interface CreateHouseholdPreferences {
privateHousehold?: boolean;
showAnnouncements?: boolean;
lockRecipeEditsFromOtherHouseholds?: boolean;
firstDayOfWeek?: number;
recipePublic?: boolean;
@@ -199,6 +200,7 @@ export interface HouseholdInDB {
}
export interface ReadHouseholdPreferences {
privateHousehold?: boolean;
showAnnouncements?: boolean;
lockRecipeEditsFromOtherHouseholds?: boolean;
firstDayOfWeek?: number;
recipePublic?: boolean;
@@ -276,6 +278,7 @@ export interface SaveGroupRecipeAction {
}
export interface SaveHouseholdPreferences {
privateHousehold?: boolean;
showAnnouncements?: boolean;
lockRecipeEditsFromOtherHouseholds?: boolean;
firstDayOfWeek?: number;
recipePublic?: boolean;
@@ -769,6 +772,7 @@ export interface UpdateHouseholdAdmin {
}
export interface UpdateHouseholdPreferences {
privateHousehold?: boolean;
showAnnouncements?: boolean;
lockRecipeEditsFromOtherHouseholds?: boolean;
firstDayOfWeek?: number;
recipePublic?: boolean;

View File

@@ -85,6 +85,7 @@ export interface UserSummary {
}
export interface ReadGroupPreferences {
privateGroup?: boolean;
showAnnouncements?: boolean;
groupId: string;
id: string;
}
@@ -122,6 +123,8 @@ export interface PrivateUser {
group: string;
household: string;
advanced?: boolean;
showAnnouncements?: boolean;
lastReadAnnouncement?: string | null;
canInvite?: boolean;
canManage?: boolean;
canManageHousehold?: boolean;
@@ -194,6 +197,8 @@ export interface UserBase {
group?: string | null;
household?: string | null;
advanced?: boolean;
showAnnouncements?: boolean;
lastReadAnnouncement?: string | null;
canInvite?: boolean;
canManage?: boolean;
canManageHousehold?: boolean;
@@ -209,6 +214,8 @@ export interface UserIn {
group?: string | null;
household?: string | null;
advanced?: boolean;
showAnnouncements?: boolean;
lastReadAnnouncement?: string | null;
canInvite?: boolean;
canManage?: boolean;
canManageHousehold?: boolean;
@@ -225,6 +232,8 @@ export interface UserOut {
group: string;
household: string;
advanced?: boolean;
showAnnouncements?: boolean;
lastReadAnnouncement?: string | null;
canInvite?: boolean;
canManage?: boolean;
canManageHousehold?: boolean;