9daae13c68
* feat: delete defined resources * feat: api client * feat: view fields & tab field options & page info... * fix: view type
13 lines
336 B
TypeScript
13 lines
336 B
TypeScript
import path from 'path';
|
|
import Database from '@nocobase/database';
|
|
import Resourcer from '@nocobase/resourcer';
|
|
|
|
export default async function (options = {}) {
|
|
const database: Database = this.database;
|
|
const resourcer: Resourcer = this.resourcer;
|
|
|
|
database.import({
|
|
directory: path.resolve(__dirname, 'collections'),
|
|
});
|
|
}
|