mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
fix: replacewith methods
This commit is contained in:
parent
0076340f7f
commit
8cc254a56f
12 changed files with 12 additions and 12 deletions
|
|
@ -64,7 +64,7 @@ class Create extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.createTable',
|
||||
'replaceWith' => 'tables.create',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class Delete extends Action
|
|||
contentType: ContentType::NONE,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.deleteTable',
|
||||
'replaceWith' => 'tables.delete',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class Decrement extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.decrementColumn',
|
||||
'replaceWith' => 'tables.decrementRowColumn',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class Increment extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.incrementColumn',
|
||||
'replaceWith' => 'tables.incrementRowColumn',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ class Get extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.getTable',
|
||||
'replaceWith' => 'tables.get',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class Create extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.createColumnIndex',
|
||||
'replaceWith' => 'tables.createIndex',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class Delete extends Action
|
|||
contentType: ContentType::NONE,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.deleteColumnIndex',
|
||||
'replaceWith' => 'tables.deleteIndex',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class Get extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.getColumnIndex',
|
||||
'replaceWith' => 'tables.getIndex',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ class XList extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.listColumnIndexes',
|
||||
'replaceWith' => 'tables.listIndexes',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class XList extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.listTableLogs',
|
||||
'replaceWith' => 'tables.listLogs',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ class Update extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.updateTable',
|
||||
'replaceWith' => 'tables.update',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class Get extends Action
|
|||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'since' => '1.8.0',
|
||||
'replaceWith' => 'tables.getTableUsage',
|
||||
'replaceWith' => 'tables.getUsage',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue