mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 13:56:56 +00:00
refactor: rename project and base
- Rename `Project` => `Base` - Rename `Base` => `Source` - Remove `db` from data/meta api endpoints - Add backward compatibility for old apis - Migrations for renaming table and columns Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -5,14 +5,14 @@ import { MetaDataPage } from './Metadata';
|
||||
import { AuditPage } from './Audit';
|
||||
|
||||
export class DataSourcePage extends BasePage {
|
||||
readonly projectView: ProjectViewPage;
|
||||
readonly baseView: ProjectViewPage;
|
||||
readonly databaseType: Locator;
|
||||
readonly metaData: MetaDataPage;
|
||||
readonly audit: AuditPage;
|
||||
|
||||
constructor(projectView: ProjectViewPage) {
|
||||
super(projectView.rootPage);
|
||||
this.projectView = projectView;
|
||||
constructor(baseView: ProjectViewPage) {
|
||||
super(baseView.rootPage);
|
||||
this.baseView = baseView;
|
||||
this.databaseType = this.get().locator('.nc-extdb-db-type');
|
||||
this.metaData = new MetaDataPage(this);
|
||||
this.audit = new AuditPage(this);
|
||||
|
||||
Reference in New Issue
Block a user