mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-26 21:19:42 +03:00
fix(meta-validate,meta-edit): ReuseSessions — вернуть значение Use
Оба навыка бракуют корректное значение: allowlist содержал только [DontUse, AutoUse], тогда как meta-compile знает три значения. Прав meta-compile: docs/meta-dsl-spec.md перечисляет DontUse / Use / AutoUse, в выгрузке прикладной конфигурации встречаются все три (DontUse ×17, AutoUse ×2, Use ×1). Расхождение ловил check-enum-drift.mjs, но гард не был подключён ни к runner-у, ни к README, поэтому не запускался. Теперь он входит в check-all.mjs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
c8144a01e5
commit
1586e909a9
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# meta-edit v1.31 — Edit existing 1C metadata object XML
|
||||
# meta-edit v1.32 — Edit existing 1C metadata object XML (+ReuseSessions: Use)
|
||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||
|
||||
import argparse
|
||||
@@ -317,7 +317,7 @@ valid_enum_values = {
|
||||
'RegisterRecordsDeletion': ['AutoDelete', 'AutoDeleteOnUnpost', 'AutoDeleteOff'],
|
||||
'RegisterRecordsWritingOnPost': ['WriteModified', 'WriteSelected', 'WriteAll'],
|
||||
'ReturnValuesReuse': ['DontUse', 'DuringRequest', 'DuringSession'],
|
||||
'ReuseSessions': ['DontUse', 'AutoUse'],
|
||||
'ReuseSessions': ['DontUse', 'Use', 'AutoUse'],
|
||||
'FillChecking': ['DontCheck', 'ShowError', 'ShowWarning'],
|
||||
'Indexing': ['DontIndex', 'Index', 'IndexWithAdditionalOrder'],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user