feat(web): shared link filters (#15948)

This commit is contained in:
Jason Rasmussen
2025-02-07 13:05:15 -05:00
committed by GitHub
parent 23014c263b
commit c5360e78c5
22 changed files with 520 additions and 112 deletions
+35
View File
@@ -11514,6 +11514,34 @@
],
"type": "string"
},
"SharedLinksResponse": {
"properties": {
"enabled": {
"default": true,
"type": "boolean"
},
"sidebarWeb": {
"default": false,
"type": "boolean"
}
},
"required": [
"enabled",
"sidebarWeb"
],
"type": "object"
},
"SharedLinksUpdate": {
"properties": {
"enabled": {
"type": "boolean"
},
"sidebarWeb": {
"type": "boolean"
}
},
"type": "object"
},
"SignUpDto": {
"properties": {
"email": {
@@ -13160,6 +13188,9 @@
"ratings": {
"$ref": "#/components/schemas/RatingsResponse"
},
"sharedLinks": {
"$ref": "#/components/schemas/SharedLinksResponse"
},
"tags": {
"$ref": "#/components/schemas/TagsResponse"
}
@@ -13173,6 +13204,7 @@
"people",
"purchase",
"ratings",
"sharedLinks",
"tags"
],
"type": "object"
@@ -13203,6 +13235,9 @@
"ratings": {
"$ref": "#/components/schemas/RatingsUpdate"
},
"sharedLinks": {
"$ref": "#/components/schemas/SharedLinksUpdate"
},
"tags": {
"$ref": "#/components/schemas/TagsUpdate"
}
@@ -113,6 +113,10 @@ export type PurchaseResponse = {
export type RatingsResponse = {
enabled: boolean;
};
export type SharedLinksResponse = {
enabled: boolean;
sidebarWeb: boolean;
};
export type TagsResponse = {
enabled: boolean;
sidebarWeb: boolean;
@@ -126,6 +130,7 @@ export type UserPreferencesResponseDto = {
people: PeopleResponse;
purchase: PurchaseResponse;
ratings: RatingsResponse;
sharedLinks: SharedLinksResponse;
tags: TagsResponse;
};
export type AvatarUpdate = {
@@ -158,6 +163,10 @@ export type PurchaseUpdate = {
export type RatingsUpdate = {
enabled?: boolean;
};
export type SharedLinksUpdate = {
enabled?: boolean;
sidebarWeb?: boolean;
};
export type TagsUpdate = {
enabled?: boolean;
sidebarWeb?: boolean;
@@ -171,6 +180,7 @@ export type UserPreferencesUpdateDto = {
people?: PeopleUpdate;
purchase?: PurchaseUpdate;
ratings?: RatingsUpdate;
sharedLinks?: SharedLinksUpdate;
tags?: TagsUpdate;
};
export type AlbumUserResponseDto = {