mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Add txn id to create multi-method params
This commit is contained in:
+2
@@ -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',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user