Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/graphql/container_repository.json')
-rw-r--r--spec/fixtures/api/schemas/graphql/container_repository.json46
1 files changed, 41 insertions, 5 deletions
diff --git a/spec/fixtures/api/schemas/graphql/container_repository.json b/spec/fixtures/api/schemas/graphql/container_repository.json
index 2bb598a14cb..95cc5e28b34 100644
--- a/spec/fixtures/api/schemas/graphql/container_repository.json
+++ b/spec/fixtures/api/schemas/graphql/container_repository.json
@@ -1,6 +1,19 @@
{
"type": "object",
- "required": ["id", "name", "path", "location", "createdAt", "updatedAt", "tagsCount", "canDelete", "expirationPolicyCleanupStatus", "project", "lastCleanupDeletedTagsCount"],
+ "required": [
+ "id",
+ "name",
+ "path",
+ "location",
+ "createdAt",
+ "updatedAt",
+ "tagsCount",
+ "canDelete",
+ "expirationPolicyCleanupStatus",
+ "project",
+ "lastCleanupDeletedTagsCount",
+ "userPermissions"
+ ],
"properties": {
"id": {
"type": "string"
@@ -21,10 +34,16 @@
"type": "string"
},
"expirationPolicyStartedAt": {
- "type": ["string", "null"]
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
- "type": ["string", "null"]
+ "type": [
+ "string",
+ "null"
+ ]
},
"tagsCount": {
"type": "integer"
@@ -34,13 +53,30 @@
},
"expirationPolicyCleanupStatus": {
"type": "string",
- "enum": ["UNSCHEDULED", "SCHEDULED", "UNFINISHED", "ONGOING"]
+ "enum": [
+ "UNSCHEDULED",
+ "SCHEDULED",
+ "UNFINISHED",
+ "ONGOING"
+ ]
},
"project": {
"type": "object"
},
"lastCleanupDeletedTagsCount": {
- "type": ["string", "null"]
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "userPermissions": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "destroyContainerRepository": {
+ "type": "boolean"
+ }
+ }
}
}
}