1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00

Merge branch 'feat-sb-create' into feat-sb-list

This commit is contained in:
Damodar Lohani 2021-06-16 11:08:54 +05:45
commit 92d1ef4428
2 changed files with 0 additions and 106 deletions

View file

@ -1436,106 +1436,6 @@ $collections = [
],
],
],
Database::SYSTEM_COLLECTION_BUCKETS => [
'$collection' => Database::SYSTEM_COLLECTION_COLLECTIONS,
'$id' => Database::SYSTEM_COLLECTION_BUCKETS,
'$permissions' => ['read' => ['*']],
'name' => 'Bucket',
'structure' => true,
'rules' => [
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Date Created',
'key' => 'dateCreated',
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
'default' => 0,
'required' => false,
'array' => false,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Date Updated',
'key' => 'dateUpdated',
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
'default' => 0,
'required' => false,
'array' => false,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Enabled',
'key' => 'enabled',
'type' => Database::SYSTEM_VAR_TYPE_BOOLEAN,
'default' => true,
'required' => true,
'array' => false,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Name',
'key' => 'name',
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
'default' => '',
'required' => true,
'array' => false,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Adapter',
'key' => 'adapter',
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
'default' => '',
'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',
'key' => 'maximumFileSize',
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
'default' => 0,
'required' => true,
'array' => false,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Allowed File Extensions',
'key' => 'allowedFileExtensions',
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
'default' => '',
'required' => true,
'array' => true,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Encryption',
'key' => 'encryption',
'type' => Database::SYSTEM_VAR_TYPE_BOOLEAN,
'default' => true,
'required' => true,
'array' => false,
],
[
'$collection' => Database::SYSTEM_COLLECTION_RULES,
'label' => 'Virus Scan',
'key' => 'antiVirus',
'type' => Database::SYSTEM_VAR_TYPE_BOOLEAN,
'default' => true,
'required' => true,
'array' => false,
],
],
],
Database::SYSTEM_COLLECTION_FUNCTIONS => [
'$collection' => Database::SYSTEM_COLLECTION_COLLECTIONS,
'$id' => Database::SYSTEM_COLLECTION_FUNCTIONS,

View file

@ -1015,8 +1015,6 @@ $collections = [
'array' => false,
],
[
'label' => 'Adapter',
'$id' => 'adapter',
'type' => Database::VAR_STRING,
'signed' => true,
@ -1058,8 +1056,6 @@ $collections = [
'array' => true,
],
[
'label' => 'Encryption',
'$id' => 'encryption',
'type' => Database::VAR_BOOLEAN,
'signed' => true,
@ -1070,8 +1066,6 @@ $collections = [
'array' => false,
],
[
'label' => 'Virus Scan',
'$id' => 'antiVirus',
'type' => Database::VAR_BOOLEAN,
'signed' => true,