Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Доработка схемы для init-project #451

Merged
merged 2 commits into from
Sep 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions vanessa-runner-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,81 @@
}
},
"type": "object"
},
"init-project":{
"additionalProperties": false,
"id": "/properties/init-project",
"description": "Параметры для команды 'init-project' - Выполнить cоздание структуры проекта.",
"properties": {
"ШаблонПроекта": {
"default": "",
"description": "Ссылка на шаблон, из которого будет клонироваться проект",
"id": "/properties/init-project/properties/ШаблонПроекта",
"title": "The ШаблонПроекта Schema",
"type": "object",
"additionalProperties": true,
"properties": {
"Использовать": {
"id": "/properties/init-project/properties/ШаблонПроекта/properties/Использовать",
"type": "boolean",
"title": "The Использовать schema",
"default": false
},
"Репозиторий": {
"id": "/properties/init-project/properties/ШаблонПроекта/properties/Репозиторий",
"type": "string",
artbear marked this conversation as resolved.
Show resolved Hide resolved
"format": "uri",
"title": "The Репозиторий schema",
"default": "https://github.com/vanessa-opensource/vanessa-bootstrap"
}
}
},
"Пакеты":{
"default": "",
"description": "Массив пакетов для установки",
"id": "/properties/init-project/properties/Пакеты",
"title": "The Пакеты Schema",
"type": "array",
"additionalProperties": true,
"items": {
"id": "/properties/init-project/properties/Пакеты/items",
"anyOf": [
{
"type": "object",
"default": {},
"properties": {
"Имя": {
"type": "string",
"title": "The Имя schema",
"default": ""
},
"Использовать": {
"type": "boolean",
"title": "The Использовать schema",
"default": false
},
"Установка": {
"type": "array",
"title": "The Установка schema",
"default": [],
"additionalItems": true,
"items": {
"anyOf": [
{
"type": "string",
"default": ""
}
]
}
}
},
"additionalProperties": true
}
]
}
}
},
"type": "object"
}
}
}