mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-16 18:53:18 +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>
36 lines
1.5 KiB
JSON
36 lines
1.5 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": "КоманднаяПанель", "autofill": true },
|
|
{ "group": "horizontal", "name": "ГруппаШапка", "showTitle": true, "title": "Шапка", "children": [
|
|
{ "input": "Поле1", "path": "Поле1", "title": "Поле 1" },
|
|
{ "input": "Поле2", "path": "Поле2", "title": "Поле 2" }
|
|
]},
|
|
{ "group": "vertical", "name": "ГруппаПодвал", "children": [
|
|
{ "input": "Поле3", "path": "Поле3", "title": "Поле 3" }
|
|
]}
|
|
],
|
|
"attributes": [
|
|
{ "name": "Объект", "type": "ExternalDataProcessorObject.СГруппами", "main": true },
|
|
{ "name": "Поле1", "type": "string" },
|
|
{ "name": "Поле2", "type": "decimal(15,2)" },
|
|
{ "name": "Поле3", "type": "date" }
|
|
]
|
|
}
|
|
}
|