Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
more entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilaiwi committed Dec 7, 2022
1 parent 9cb5714 commit 48a3b0d
Show file tree
Hide file tree
Showing 6 changed files with 585 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,36 @@
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "merge_request_approvals",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "merge_request_notes",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "merge_request_pipelines",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": ["null", "integer"]
},
"iid": {
"type": ["null", "integer"]
},
"project_id": {
"type": ["null", "integer"]
},
"merge_request_iid": {
"type": ["null", "integer"]
},
"title": {
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
},
"state": {
"type": ["null", "string"]
},
"created_at": {
"type": ["null", "string"],
"format": "date-time"
},
"updated_at": {
"type": ["null", "string"],
"format": "date-time"
},
"merge_status": {
"type": ["null", "string"]
},
"approved": {
"type": ["null", "boolean"]
},
"approvals_required" : {
"type": ["null", "integer"]
},
"approvals_left": {
"type": ["null", "integer"]
},
"require_password_to_approve" : {
"type": ["null", "boolean"]
},
"approved_by": {
"type": ["null", "array"],
"items": {
"type": "object",
"properties": {
"user": {
"type": ["null", "object"],
"properties": {
"id": {
"type": ["null", "integer"]
},
"name": {
"type": ["null", "string"]
},
"username": {
"type": ["null", "string"]
},
"state": {
"type": ["null", "string"]
},
"avatar_url": {
"type": ["null", "string"]
},
"web_url": {
"type": ["null", "string"]
}
}
}
}
}
},
"suggested_approvers": {
"type": ["null", "array"],
"items": {
"type": "object",
"properties": {
"id": {
"type": ["null", "integer"]
},
"name": {
"type": ["null", "string"]
},
"username": {
"type": ["null", "string"]
},
"state": {
"type": ["null", "string"]
},
"avatar_url": {
"type": ["null", "string"]
},
"web_url": {
"type": ["null", "string"]
}
}
}
},
"approval_rules_left": {
"type": ["null", "array"],
"items": {
"type": "object",
"properties": {
"id": {
"type": ["null", "integer"]
},
"name": {
"type": ["null", "string"]
},
"rule_type": {
"type": ["null", "string"]
}
}
}
},
"user_has_approved": {
"type": ["null", "boolean"]
},
"user_can_approve": {
"type": ["null", "boolean"]
},
"has_approval_rules": {
"type": ["null", "boolean"]
},
"merge_request_approvers_available": {
"type": ["null", "boolean"]
},
"multiple_approval_rules_available": {
"type": ["null", "boolean"]
}
}
}
Loading

0 comments on commit 48a3b0d

Please sign in to comment.