Adding upstream version 3.10.8.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
37e9b6d587
commit
03bfe4079e
356 changed files with 28857 additions and 0 deletions
77
f3/schemas/reviewcomment.json
Normal file
77
f3/schemas/reviewcomment.json
Normal file
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"title": "Review comment",
|
||||
"description": "A comment in the context of a review.",
|
||||
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"index": {
|
||||
"description": "Unique identifier of the review comment.",
|
||||
"type": "string"
|
||||
},
|
||||
"content": {
|
||||
"description": "The text of the review comment.",
|
||||
"type": "string"
|
||||
},
|
||||
"tree_path": {
|
||||
"description": "The relative path to the file commented on.",
|
||||
"type": "string"
|
||||
},
|
||||
"diff_hunk": {
|
||||
"description": "The hunk commented on.",
|
||||
"type": "string"
|
||||
},
|
||||
"line": {
|
||||
"description": "The line number of the comment relative to the tree_path.",
|
||||
"type": "number"
|
||||
},
|
||||
"lines_count": {
|
||||
"description": "The range of lines that are commented on. If absent it defaults to one and is a single line comment. If specified it must be a positive number. If line is N and lines_count is C, the range of lines commented on is ]N-C,N]. In other words, the range starts lines_count before line, which is the last of the range",
|
||||
"type": "number"
|
||||
},
|
||||
"commit_id": {
|
||||
"description": "The SHA of the tree_path commented on.",
|
||||
"type": "string"
|
||||
},
|
||||
"poster_id": {
|
||||
"description": "Unique identifier of the user who authored the comment.",
|
||||
"type": "string"
|
||||
},
|
||||
"reactions": {
|
||||
"description": "List of reactions.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "reaction.json"
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"description": "Creation time.",
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "Last update time.",
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"resolver": {
|
||||
"description": "Unique identifier of the user who resolved the comment.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"index",
|
||||
"content",
|
||||
"tree_path",
|
||||
"diff_hunk",
|
||||
"line",
|
||||
"commit_id",
|
||||
"poster_id",
|
||||
"created_at",
|
||||
"updated_at"
|
||||
],
|
||||
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/reviewcomment.json",
|
||||
"$$target": "reviewcomment.json"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue