mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Add txn id to create multi-method params
This commit is contained in:
parent
875338d133
commit
e9c730e0c1
2 changed files with 4 additions and 2 deletions
|
|
@ -82,6 +82,7 @@ class Create extends Action
|
|||
new Parameter('documentId', optional: false),
|
||||
new Parameter('data', optional: false),
|
||||
new Parameter('permissions', optional: true),
|
||||
new Parameter('transactionId', optional: true),
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
|
|
@ -106,6 +107,7 @@ class Create extends Action
|
|||
new Parameter('databaseId', optional: false),
|
||||
new Parameter('collectionId', optional: false),
|
||||
new Parameter('documents', optional: false),
|
||||
new Parameter('transactionId', optional: true),
|
||||
],
|
||||
deprecated: new Deprecated(
|
||||
since: '1.8.0',
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ namespace Appwrite\Utopia\Database\Validator\Queries;
|
|||
|
||||
class Transactions extends Base
|
||||
{
|
||||
/** @var string[] */
|
||||
public const ALLOWED_ATTRIBUTES = [
|
||||
/** @var array<string> */
|
||||
public const array ALLOWED_ATTRIBUTES = [
|
||||
'status',
|
||||
'expiresAt',
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue