mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Add secret to templateVariable model
This commit is contained in:
parent
bbd589f6a8
commit
b16169f867
1 changed files with 6 additions and 0 deletions
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue