Updated collection
This commit is contained in:
parent
e81fb88736
commit
9051b0e476
|
@ -4,7 +4,7 @@ use Utopia\App;
|
||||||
use Utopia\Config\Config;
|
use Utopia\Config\Config;
|
||||||
use Appwrite\Database\Database;
|
use Appwrite\Database\Database;
|
||||||
|
|
||||||
$providers = Config::getParam('providers');
|
$providers = Config::getParam('providers', []);
|
||||||
|
|
||||||
$collections = [
|
$collections = [
|
||||||
'console' => [
|
'console' => [
|
||||||
|
@ -234,6 +234,7 @@ $collections = [
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'array' => false,
|
'array' => false,
|
||||||
|
'filter' => ['json']
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
@ -336,6 +337,123 @@ $collections = [
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'array' => false,
|
'array' => false,
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'OS Code',
|
||||||
|
'key' => 'osCode',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'OS Name',
|
||||||
|
'key' => 'osName',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'OS Version',
|
||||||
|
'key' => 'osVersion',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Client Type',
|
||||||
|
'key' => 'clientType',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Client Code',
|
||||||
|
'key' => 'clientCode',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Client Name',
|
||||||
|
'key' => 'clientName',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Client Version',
|
||||||
|
'key' => 'clientVersion',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Client Engine',
|
||||||
|
'key' => 'clientEngine',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Client Engine Version',
|
||||||
|
'key' => 'clientEngineVersion',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Device Name',
|
||||||
|
'key' => 'deviceName',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Device Brand',
|
||||||
|
'key' => 'deviceBrand',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Device Model',
|
||||||
|
'key' => 'deviceModel',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Country Code',
|
||||||
|
'key' => 'countryCode',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
Database::SYSTEM_COLLECTION_MEMBERSHIPS => [
|
Database::SYSTEM_COLLECTION_MEMBERSHIPS => [
|
||||||
|
@ -1273,8 +1391,8 @@ $collections = [
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
'label' => 'Previous',
|
'label' => 'Schedule Previous Run',
|
||||||
'key' => 'previous',
|
'key' => 'schedulePrevious',
|
||||||
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
|
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
@ -1282,8 +1400,8 @@ $collections = [
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
'label' => 'Next',
|
'label' => 'Schedule Next Run',
|
||||||
'key' => 'next',
|
'key' => 'scheduleNext',
|
||||||
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
|
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
@ -1337,7 +1455,7 @@ $collections = [
|
||||||
[
|
[
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
'label' => 'Code Path',
|
'label' => 'Code Path',
|
||||||
'key' => 'codePath',
|
'key' => 'path',
|
||||||
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
@ -1346,7 +1464,7 @@ $collections = [
|
||||||
[
|
[
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
'label' => 'Code Size',
|
'label' => 'Code Size',
|
||||||
'key' => 'codeSize',
|
'key' => 'size',
|
||||||
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
|
'type' => Database::SYSTEM_VAR_TYPE_NUMERIC,
|
||||||
'default' => '',
|
'default' => '',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
|
@ -1388,6 +1506,15 @@ $collections = [
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'array' => false,
|
'array' => false,
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
|
'label' => 'Trigger',
|
||||||
|
'key' => 'trigger',
|
||||||
|
'type' => Database::SYSTEM_VAR_TYPE_TEXT,
|
||||||
|
'default' => '',
|
||||||
|
'required' => false,
|
||||||
|
'array' => false,
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||||
'label' => 'Status',
|
'label' => 'Status',
|
||||||
|
|
Loading…
Reference in a new issue