This commit is contained in:
crazywhalecc
2026-02-05 16:11:16 +08:00
parent 4d4b1a334f
commit 2a4959d973
6 changed files with 62 additions and 7 deletions

View File

@@ -32,6 +32,7 @@ class ConfigValidator
'build-static' => ConfigType::BOOL,
'build-with-php' => ConfigType::BOOL,
'notes' => ConfigType::BOOL,
'display-name' => ConfigType::STRING,
// library and target fields
'headers' => ConfigType::LIST_ARRAY, // @
@@ -75,6 +76,7 @@ class ConfigValidator
'build-static' => false,
'build-with-php' => false,
'notes' => false,
'display-name' => false,
];
public const array ARTIFACT_TYPE_FIELDS = [ // [required_fields, optional_fields]