Add secret to templateVariable model

This commit is contained in:
Khushboo Verma 2024-10-24 18:09:43 +02:00
parent bbd589f6a8
commit b16169f867

View file

@ -28,6 +28,12 @@ class TemplateVariable extends Model
'default' => '',
'example' => '512',
])
->addRule('secret', [
'type' => self::TYPE_BOOLEAN,
'description' => 'Variable secret flag. Secret variables can only be updated or deleted, but never read.',
'default' => false,
'example' => false,
])
->addRule('placeholder', [
'type' => self::TYPE_STRING,
'description' => 'Variable Placeholder.',