mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update: enums.
This commit is contained in:
@@ -60,10 +60,10 @@ class Execution extends Model
|
||||
])
|
||||
->addRule('status', [
|
||||
'type' => self::TYPE_ENUM,
|
||||
'description' => 'The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.',
|
||||
'description' => 'The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, `failed` or `scheduled`.',
|
||||
'default' => '',
|
||||
'example' => 'processing',
|
||||
'enum' => ['waiting', 'processing', 'completed', 'failed'],
|
||||
'enum' => ['waiting', 'processing', 'completed', 'failed', 'scheduled'],
|
||||
])
|
||||
->addRule('requestMethod', [
|
||||
'type' => self::TYPE_STRING,
|
||||
|
||||
@@ -94,7 +94,7 @@ class Rule extends Model
|
||||
'type' => self::TYPE_STRING,
|
||||
'description' => 'Certificate generation logs. This will return an empty string if generation did not run, or succeeded.',
|
||||
'default' => '',
|
||||
'example' => 'HTTP challegne failed.',
|
||||
'example' => 'HTTP challenge failed.',
|
||||
])
|
||||
->addRule('renewAt', [
|
||||
'type' => self::TYPE_DATETIME,
|
||||
|
||||
Reference in New Issue
Block a user