Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-custom-cf-hostnames

This commit is contained in:
Christy Jacob committed 2024-10-22 19:51:03 +00:00
commit 54f39494c0
6 files changed
+62 -8

No files matched your search

@@ -32,7 +32,7 @@ class Target extends Model
'type' => self::TYPE_STRING,
'description' => 'Target Name.',
'default' => '',
'example' => 'Aegon apple token',
'example' => 'Apple iPhone 12',
])
->addRule('userId', [
'type' => self::TYPE_STRING,
@@ -58,6 +58,12 @@ class Target extends Model
'description' => 'The target identifier.',
'default' => '',
'example' => 'token',
])
->addRule('expired', [
'type' => self::TYPE_BOOLEAN,
'description' => 'Is the target expired.',
'default' => false,
'example' => false,
]);
}