fix: replacewith methods

This commit is contained in:
Chirag Aggarwal 2025-07-03 11:29:41 +05:30
parent 0076340f7f
commit 8cc254a56f
12 changed files with 12 additions and 12 deletions

View file

@ -64,7 +64,7 @@ class Create extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.createTable', 'replaceWith' => 'tables.create',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -54,7 +54,7 @@ class Delete extends Action
contentType: ContentType::NONE, contentType: ContentType::NONE,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.deleteTable', 'replaceWith' => 'tables.delete',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -64,7 +64,7 @@ class Decrement extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.decrementColumn', 'replaceWith' => 'tables.decrementRowColumn',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -64,7 +64,7 @@ class Increment extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.incrementColumn', 'replaceWith' => 'tables.incrementRowColumn',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -49,7 +49,7 @@ class Get extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.getTable', 'replaceWith' => 'tables.get',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -64,7 +64,7 @@ class Create extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.createColumnIndex', 'replaceWith' => 'tables.createIndex',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -59,7 +59,7 @@ class Delete extends Action
contentType: ContentType::NONE, contentType: ContentType::NONE,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.deleteColumnIndex', 'replaceWith' => 'tables.deleteIndex',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -50,7 +50,7 @@ class Get extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.getColumnIndex', 'replaceWith' => 'tables.getIndex',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -55,7 +55,7 @@ class XList extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.listColumnIndexes', 'replaceWith' => 'tables.listIndexes',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -61,7 +61,7 @@ class XList extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.listTableLogs', 'replaceWith' => 'tables.listLogs',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -57,7 +57,7 @@ class Update extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.updateTable', 'replaceWith' => 'tables.update',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')

View file

@ -54,7 +54,7 @@ class Get extends Action
contentType: ContentType::JSON, contentType: ContentType::JSON,
deprecated: [ deprecated: [
'since' => '1.8.0', 'since' => '1.8.0',
'replaceWith' => 'tables.getTableUsage', 'replaceWith' => 'tables.getUsage',
], ],
)) ))
->param('databaseId', '', new UID(), 'Database ID.') ->param('databaseId', '', new UID(), 'Database ID.')