mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
adapter credentials field
This commit is contained in:
@@ -1479,6 +1479,16 @@ $collections = [
|
||||
'required' => true,
|
||||
'array' => false,
|
||||
],
|
||||
[
|
||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||
'label' => 'Adapter Crednetials',
|
||||
'key' => 'adapterCredentials',
|
||||
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||
'default' => '',
|
||||
'required' => false,
|
||||
'array' => false,
|
||||
'filter' => ['json']
|
||||
],
|
||||
[
|
||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||
'label' => 'Maximum File Size',
|
||||
|
||||
@@ -48,6 +48,12 @@ class Bucket extends Model
|
||||
'default' => '',
|
||||
'example' => 'local',
|
||||
])
|
||||
->addRule('adapterCredentials', [
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Storage adapter credentials.',
|
||||
'default' => '',
|
||||
'example' => ['key' => 'value'],
|
||||
])
|
||||
->addRule('maximumFileSize', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Maximum file size supported.',
|
||||
|
||||
Reference in New Issue
Block a user