mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Updated model examples
This commit is contained in:
parent
4c615c8fa6
commit
bea02c8397
1 changed files with 2 additions and 2 deletions
|
|
@ -20,14 +20,14 @@ class File extends Model
|
|||
'type' => self::TYPE_STRING,
|
||||
'description' => 'File read permissions.',
|
||||
'default' => [],
|
||||
'example' => ['role:all'],
|
||||
'example' => 'role:all',
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('$write', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'File write permissions.',
|
||||
'default' => [],
|
||||
'example' => ['user:608f9da25e7e1'],
|
||||
'example' => 'user:608f9da25e7e1',
|
||||
'array' => true,
|
||||
])
|
||||
->addRule('name', [
|
||||
|
|
|
|||
Loading…
Reference in a new issue