mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-26 15:04:34 +03:00
0778cc89ee
- runner.mjs v0.4: --with-validation flag runs validators on real output - postValidate config in 20 _skill.json files (maps skill → validator) - validatePath in ~100 positive test cases - skipValidation for 5 cross-reference cases (isolated workspace limitation) - Integration tests: build-config (19 steps), build-epf (6), build-cfe (4) - base-config cache from build-config for downstream tests - Fix chart-of-calculation-types test data (DependenceOnCalculationTypes) - 285/285 unit + 3/3 integration, all green with validation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"name": "Форма с командами и кнопками",
|
|
"preRun": [
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": { "type": "DataProcessor", "name": "Команды" },
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
},
|
|
{
|
|
"script": "form-add/scripts/form-add",
|
|
"args": { "-ObjectPath": "{workDir}/DataProcessors/Команды.xml", "-FormName": "Форма" }
|
|
}
|
|
],
|
|
"params": { "outputPath": "DataProcessors/Команды/Forms/Форма/Ext/Form.xml" },
|
|
"validatePath": "DataProcessors/Команды/Forms/Форма/Ext/Form.xml",
|
|
"input": {
|
|
"title": "Форма с командами",
|
|
"elements": [
|
|
{ "cmdBar": "Панель", "children": [
|
|
{ "button": "Выполнить", "command": "Выполнить", "defaultButton": true },
|
|
{ "button": "Закрыть", "stdCommand": "Close" }
|
|
]},
|
|
{ "input": "Результат", "path": "Результат", "multiLine": true, "height": 8, "readOnly": true }
|
|
],
|
|
"attributes": [
|
|
{ "name": "Объект", "type": "ExternalDataProcessorObject.Команды", "main": true },
|
|
{ "name": "Результат", "type": "string" }
|
|
],
|
|
"commands": [
|
|
{ "name": "Выполнить", "action": "ВыполнитьОбработка", "shortcut": "Ctrl+Enter" }
|
|
]
|
|
}
|
|
}
|