mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 05:24:13 +00:00 
			
		
		
		
	merge: Add missing rejectReports field to show-instance API response (!679)
				
					
				
			View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/679 Approved-by: Marie <github@yuugi.dev> Approved-by: Tess K <me@thvxl.se>
This commit is contained in:
		
						commit
						fdfb0faab0
					
				
					 3 changed files with 15 additions and 0 deletions
				
			
		|  | @ -57,6 +57,7 @@ export class InstanceEntityService { | ||||||
| 			infoUpdatedAt: instance.infoUpdatedAt ? instance.infoUpdatedAt.toISOString() : null, | 			infoUpdatedAt: instance.infoUpdatedAt ? instance.infoUpdatedAt.toISOString() : null, | ||||||
| 			latestRequestReceivedAt: instance.latestRequestReceivedAt ? instance.latestRequestReceivedAt.toISOString() : null, | 			latestRequestReceivedAt: instance.latestRequestReceivedAt ? instance.latestRequestReceivedAt.toISOString() : null, | ||||||
| 			isNSFW: instance.isNSFW, | 			isNSFW: instance.isNSFW, | ||||||
|  | 			rejectReports: instance.rejectReports, | ||||||
| 			moderationNote: iAmModerator ? instance.moderationNote : null, | 			moderationNote: iAmModerator ? instance.moderationNote : null, | ||||||
| 		}; | 		}; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | @ -121,6 +121,11 @@ export const packedFederationInstanceSchema = { | ||||||
| 			optional: false, | 			optional: false, | ||||||
| 			nullable: false, | 			nullable: false, | ||||||
| 		}, | 		}, | ||||||
|  | 		rejectReports: { | ||||||
|  | 			type: 'boolean', | ||||||
|  | 			optional: false, | ||||||
|  | 			nullable: false, | ||||||
|  | 		}, | ||||||
| 		moderationNote: { | 		moderationNote: { | ||||||
| 			type: 'string', | 			type: 'string', | ||||||
| 			optional: true, nullable: true, | 			optional: true, nullable: true, | ||||||
|  |  | ||||||
|  | @ -4772,6 +4772,7 @@ export type components = { | ||||||
|       /** Format: date-time */ |       /** Format: date-time */ | ||||||
|       latestRequestReceivedAt: string | null; |       latestRequestReceivedAt: string | null; | ||||||
|       isNSFW: boolean; |       isNSFW: boolean; | ||||||
|  |       rejectReports: boolean; | ||||||
|       moderationNote?: string | null; |       moderationNote?: string | null; | ||||||
|     }; |     }; | ||||||
|     GalleryPost: { |     GalleryPost: { | ||||||
|  | @ -15366,6 +15367,10 @@ export type operations = { | ||||||
|           untilId?: string; |           untilId?: string; | ||||||
|           /** @default 10 */ |           /** @default 10 */ | ||||||
|           limit?: number; |           limit?: number; | ||||||
|  |           /** @default false */ | ||||||
|  |           includeFollower?: boolean; | ||||||
|  |           /** @default true */ | ||||||
|  |           includeFollowee?: boolean; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|  | @ -15425,6 +15430,10 @@ export type operations = { | ||||||
|           untilId?: string; |           untilId?: string; | ||||||
|           /** @default 10 */ |           /** @default 10 */ | ||||||
|           limit?: number; |           limit?: number; | ||||||
|  |           /** @default false */ | ||||||
|  |           includeFollower?: boolean; | ||||||
|  |           /** @default true */ | ||||||
|  |           includeFollowee?: boolean; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue