mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 19:34:38 +00:00
feat(comment): add emoji reaction support for comments (#405)
* feat(comment): add emoji reaction support for comments * fix(webui): adjust emoji picker trigger icon size to match mark-done icon * fix(webui): prevent search icon and placeholder overlap in emoji picker * fix(webui): use normal text color for reaction count * feat(db): limit comment reaction code column to VarChar(32)
This commit is contained in:
@@ -72,6 +72,7 @@ export const ModelName = {
|
||||
AssetAgentMd: 'AssetAgentMd',
|
||||
AssetComment: 'AssetComment',
|
||||
AssetCommentAttachment: 'AssetCommentAttachment',
|
||||
AssetCommentReaction: 'AssetCommentReaction',
|
||||
AssetEmbedding: 'AssetEmbedding',
|
||||
Invite: 'Invite',
|
||||
MetadataField: 'MetadataField',
|
||||
@@ -424,6 +425,17 @@ export const AssetCommentAttachmentScalarFieldEnum = {
|
||||
export type AssetCommentAttachmentScalarFieldEnum = (typeof AssetCommentAttachmentScalarFieldEnum)[keyof typeof AssetCommentAttachmentScalarFieldEnum]
|
||||
|
||||
|
||||
export const AssetCommentReactionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
createdAt: 'createdAt',
|
||||
commentId: 'commentId',
|
||||
userId: 'userId',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type AssetCommentReactionScalarFieldEnum = (typeof AssetCommentReactionScalarFieldEnum)[keyof typeof AssetCommentReactionScalarFieldEnum]
|
||||
|
||||
|
||||
export const AssetEmbeddingScalarFieldEnum = {
|
||||
id: 'id',
|
||||
startTime: 'startTime',
|
||||
|
||||
Reference in New Issue
Block a user