🐛 Store empty comment for ozone events (#3571)
* 🐛 Store empty comment for ozone events * ✨ Make comment property optional * 📝 Better comment event description
This commit is contained in:
parent
6e382f67aa
commit
5e61126157
lexicons/tools/ozone/moderation
packages
api/src/client
ozone/src/lexicon
pds/src/lexicon
@ -337,8 +337,7 @@
|
||||
},
|
||||
"modEventComment": {
|
||||
"type": "object",
|
||||
"description": "Add a comment to a subject",
|
||||
"required": ["comment"],
|
||||
"description": "Add a comment to a subject. An empty comment will clear any previously set sticky comment.",
|
||||
"properties": {
|
||||
"comment": {
|
||||
"type": "string"
|
||||
|
@ -11840,8 +11840,8 @@ export const schemaDict = {
|
||||
},
|
||||
modEventComment: {
|
||||
type: 'object',
|
||||
description: 'Add a comment to a subject',
|
||||
required: ['comment'],
|
||||
description:
|
||||
'Add a comment to a subject. An empty comment will clear any previously set sticky comment.',
|
||||
properties: {
|
||||
comment: {
|
||||
type: 'string',
|
||||
|
@ -284,10 +284,10 @@ export function validateModEventResolveAppeal<V>(v: V) {
|
||||
return validate<ModEventResolveAppeal & V>(v, id, hashModEventResolveAppeal)
|
||||
}
|
||||
|
||||
/** Add a comment to a subject */
|
||||
/** Add a comment to a subject. An empty comment will clear any previously set sticky comment. */
|
||||
export interface ModEventComment {
|
||||
$type?: 'tools.ozone.moderation.defs#modEventComment'
|
||||
comment: string
|
||||
comment?: string
|
||||
/** Make the comment persistent on the subject */
|
||||
sticky?: boolean
|
||||
}
|
||||
|
@ -11840,8 +11840,8 @@ export const schemaDict = {
|
||||
},
|
||||
modEventComment: {
|
||||
type: 'object',
|
||||
description: 'Add a comment to a subject',
|
||||
required: ['comment'],
|
||||
description:
|
||||
'Add a comment to a subject. An empty comment will clear any previously set sticky comment.',
|
||||
properties: {
|
||||
comment: {
|
||||
type: 'string',
|
||||
|
@ -284,10 +284,10 @@ export function validateModEventResolveAppeal<V>(v: V) {
|
||||
return validate<ModEventResolveAppeal & V>(v, id, hashModEventResolveAppeal)
|
||||
}
|
||||
|
||||
/** Add a comment to a subject */
|
||||
/** Add a comment to a subject. An empty comment will clear any previously set sticky comment. */
|
||||
export interface ModEventComment {
|
||||
$type?: 'tools.ozone.moderation.defs#modEventComment'
|
||||
comment: string
|
||||
comment?: string
|
||||
/** Make the comment persistent on the subject */
|
||||
sticky?: boolean
|
||||
}
|
||||
|
@ -11840,8 +11840,8 @@ export const schemaDict = {
|
||||
},
|
||||
modEventComment: {
|
||||
type: 'object',
|
||||
description: 'Add a comment to a subject',
|
||||
required: ['comment'],
|
||||
description:
|
||||
'Add a comment to a subject. An empty comment will clear any previously set sticky comment.',
|
||||
properties: {
|
||||
comment: {
|
||||
type: 'string',
|
||||
|
@ -284,10 +284,10 @@ export function validateModEventResolveAppeal<V>(v: V) {
|
||||
return validate<ModEventResolveAppeal & V>(v, id, hashModEventResolveAppeal)
|
||||
}
|
||||
|
||||
/** Add a comment to a subject */
|
||||
/** Add a comment to a subject. An empty comment will clear any previously set sticky comment. */
|
||||
export interface ModEventComment {
|
||||
$type?: 'tools.ozone.moderation.defs#modEventComment'
|
||||
comment: string
|
||||
comment?: string
|
||||
/** Make the comment persistent on the subject */
|
||||
sticky?: boolean
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user