mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 00:18:25 +00:00
update bucket model
This commit is contained in:
parent
fa46ca7243
commit
4bb7e59336
1 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,12 @@ class Bucket extends Model
|
|||
'example' => ['user:608f9da25e7e1'],
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('permission', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Bucket permission model. Possible values: `bucket` or `file`',
|
||||
'default' => '',
|
||||
'example' => 'file',
|
||||
])
|
||||
->addRule('dateCreated', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Bucket creation date in Unix timestamp.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue