mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-12 07:55:36 -04:00
dev:generate
This commit is contained in:
@@ -19,6 +19,7 @@ export type SupportedMigrations =
|
|||||||
|
|
||||||
export interface CreateGroupPreferences {
|
export interface CreateGroupPreferences {
|
||||||
privateGroup?: boolean;
|
privateGroup?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
groupId: string;
|
groupId: string;
|
||||||
}
|
}
|
||||||
export interface DataMigrationCreate {
|
export interface DataMigrationCreate {
|
||||||
@@ -31,6 +32,7 @@ export interface GroupAdminUpdate {
|
|||||||
}
|
}
|
||||||
export interface UpdateGroupPreferences {
|
export interface UpdateGroupPreferences {
|
||||||
privateGroup?: boolean;
|
privateGroup?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
}
|
}
|
||||||
export interface GroupDataExport {
|
export interface GroupDataExport {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -49,6 +51,7 @@ export interface GroupStorage {
|
|||||||
}
|
}
|
||||||
export interface ReadGroupPreferences {
|
export interface ReadGroupPreferences {
|
||||||
privateGroup?: boolean;
|
privateGroup?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
groupId: string;
|
groupId: string;
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export interface CreateGroupRecipeAction {
|
|||||||
}
|
}
|
||||||
export interface CreateHouseholdPreferences {
|
export interface CreateHouseholdPreferences {
|
||||||
privateHousehold?: boolean;
|
privateHousehold?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
lockRecipeEditsFromOtherHouseholds?: boolean;
|
lockRecipeEditsFromOtherHouseholds?: boolean;
|
||||||
firstDayOfWeek?: number;
|
firstDayOfWeek?: number;
|
||||||
recipePublic?: boolean;
|
recipePublic?: boolean;
|
||||||
@@ -199,6 +200,7 @@ export interface HouseholdInDB {
|
|||||||
}
|
}
|
||||||
export interface ReadHouseholdPreferences {
|
export interface ReadHouseholdPreferences {
|
||||||
privateHousehold?: boolean;
|
privateHousehold?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
lockRecipeEditsFromOtherHouseholds?: boolean;
|
lockRecipeEditsFromOtherHouseholds?: boolean;
|
||||||
firstDayOfWeek?: number;
|
firstDayOfWeek?: number;
|
||||||
recipePublic?: boolean;
|
recipePublic?: boolean;
|
||||||
@@ -276,6 +278,7 @@ export interface SaveGroupRecipeAction {
|
|||||||
}
|
}
|
||||||
export interface SaveHouseholdPreferences {
|
export interface SaveHouseholdPreferences {
|
||||||
privateHousehold?: boolean;
|
privateHousehold?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
lockRecipeEditsFromOtherHouseholds?: boolean;
|
lockRecipeEditsFromOtherHouseholds?: boolean;
|
||||||
firstDayOfWeek?: number;
|
firstDayOfWeek?: number;
|
||||||
recipePublic?: boolean;
|
recipePublic?: boolean;
|
||||||
@@ -769,6 +772,7 @@ export interface UpdateHouseholdAdmin {
|
|||||||
}
|
}
|
||||||
export interface UpdateHouseholdPreferences {
|
export interface UpdateHouseholdPreferences {
|
||||||
privateHousehold?: boolean;
|
privateHousehold?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
lockRecipeEditsFromOtherHouseholds?: boolean;
|
lockRecipeEditsFromOtherHouseholds?: boolean;
|
||||||
firstDayOfWeek?: number;
|
firstDayOfWeek?: number;
|
||||||
recipePublic?: boolean;
|
recipePublic?: boolean;
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ export interface UserSummary {
|
|||||||
}
|
}
|
||||||
export interface ReadGroupPreferences {
|
export interface ReadGroupPreferences {
|
||||||
privateGroup?: boolean;
|
privateGroup?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
groupId: string;
|
groupId: string;
|
||||||
id: string;
|
id: string;
|
||||||
}
|
}
|
||||||
@@ -122,6 +123,8 @@ export interface PrivateUser {
|
|||||||
group: string;
|
group: string;
|
||||||
household: string;
|
household: string;
|
||||||
advanced?: boolean;
|
advanced?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
|
lastReadAnnouncement?: string | null;
|
||||||
canInvite?: boolean;
|
canInvite?: boolean;
|
||||||
canManage?: boolean;
|
canManage?: boolean;
|
||||||
canManageHousehold?: boolean;
|
canManageHousehold?: boolean;
|
||||||
@@ -194,6 +197,8 @@ export interface UserBase {
|
|||||||
group?: string | null;
|
group?: string | null;
|
||||||
household?: string | null;
|
household?: string | null;
|
||||||
advanced?: boolean;
|
advanced?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
|
lastReadAnnouncement?: string | null;
|
||||||
canInvite?: boolean;
|
canInvite?: boolean;
|
||||||
canManage?: boolean;
|
canManage?: boolean;
|
||||||
canManageHousehold?: boolean;
|
canManageHousehold?: boolean;
|
||||||
@@ -209,6 +214,8 @@ export interface UserIn {
|
|||||||
group?: string | null;
|
group?: string | null;
|
||||||
household?: string | null;
|
household?: string | null;
|
||||||
advanced?: boolean;
|
advanced?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
|
lastReadAnnouncement?: string | null;
|
||||||
canInvite?: boolean;
|
canInvite?: boolean;
|
||||||
canManage?: boolean;
|
canManage?: boolean;
|
||||||
canManageHousehold?: boolean;
|
canManageHousehold?: boolean;
|
||||||
@@ -225,6 +232,8 @@ export interface UserOut {
|
|||||||
group: string;
|
group: string;
|
||||||
household: string;
|
household: string;
|
||||||
advanced?: boolean;
|
advanced?: boolean;
|
||||||
|
showAnnouncements?: boolean;
|
||||||
|
lastReadAnnouncement?: string | null;
|
||||||
canInvite?: boolean;
|
canInvite?: boolean;
|
||||||
canManage?: boolean;
|
canManage?: boolean;
|
||||||
canManageHousehold?: boolean;
|
canManageHousehold?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user