Skip to content

Commit

Permalink
Fix:SerchableByが未設定の時にプライバシーを更新できないことがある (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net authored Dec 20, 2024
1 parent 4545019 commit e03bfa3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_YOJO.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Server
- Fix: PersonのserchableByが正しく連合できていないのを修正[#556](https://github.com/yojo-art/cherrypick/pull/556)
- Fix: SerchableByが未設定の時にプライバシーを更新できないことがある[#567](https://github.com/yojo-art/cherrypick/pull/567)
- Enhance: `/users/${id}``Accept: application/ld+json`ではないリクエストが来たとき`/@${username}`にリダイレクトするように [#554](https://github.com/yojo-art/cherrypick/pull/554)

## 1.1.0
Expand Down
6 changes: 5 additions & 1 deletion packages/backend/src/server/api/endpoints/i/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,11 @@ export const paramDef = {
isLocked: { type: 'boolean' },
isExplorable: { type: 'boolean' },
isIndexable: { type: 'boolean' },
searchableBy: { type: 'string', enum: ['public', 'followersAndReacted', 'reactedOnly', 'private'] },
searchableBy: {
type: 'string',
enum: ['public', 'followersAndReacted', 'reactedOnly', 'private', null],
nullable: true,
description: '検索許可SearchableByの値を指定しますデフォルトはnull(isIndexableを参照)' },
hideOnlineStatus: { type: 'boolean' },
publicReactions: { type: 'boolean' },
carefulBot: { type: 'boolean' },
Expand Down
7 changes: 5 additions & 2 deletions packages/cherrypick-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20282,8 +20282,11 @@ export type operations = {
isLocked?: boolean;
isExplorable?: boolean;
isIndexable?: boolean;
/** @enum {string} */
searchableBy?: 'public' | 'followersAndReacted' | 'reactedOnly' | 'private';
/**
* @description 検索許可SearchableByの値を指定しますデフォルトはnull(isIndexableを参照)
* @enum {string|null}
*/
searchableBy?: 'public' | 'followersAndReacted' | 'reactedOnly' | 'private' | null;
hideOnlineStatus?: boolean;
publicReactions?: boolean;
carefulBot?: boolean;
Expand Down

0 comments on commit e03bfa3

Please sign in to comment.