mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 13:34:12 +00:00 
			
		
		
		
	add sortKey to packedEmojiDetailedAdminSchema
This commit is contained in:
		
							parent
							
								
									a31455370f
								
							
						
					
					
						commit
						158afd86f7
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		|  | @ -124,6 +124,7 @@ export class EmojiEntityService { | |||
| 			localOnly: emoji.localOnly, | ||||
| 			isSensitive: emoji.isSensitive, | ||||
| 			roleIdsThatCanBeUsedThisEmojiAsReaction: roles.map(it => ({ id: it.id, name: it.name })), | ||||
| 			sortKey: emoji.sortKey, | ||||
| 		}; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
|  | @ -193,5 +193,9 @@ export const packedEmojiDetailedAdminSchema = { | |||
| 				}, | ||||
| 			}, | ||||
| 		}, | ||||
| 		sortKey: { | ||||
| 			type: 'string', | ||||
| 			optional: false, nullable: true, | ||||
| 		}, | ||||
| 	}, | ||||
| } as const; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue