mirror of https://github.com/nocodb/nocodb
Naveen MR
3 years ago
219 changed files with 387 additions and 387 deletions
@ -1,6 +1,6 @@ |
|||||||
import cache from '../plugins/cache'; |
import cache from '../noco/plugins/cache'; |
||||||
import googleAuth from '../plugins/googleAuth'; |
import googleAuth from '../noco/plugins/googleAuth'; |
||||||
import ses from '../plugins/ses'; |
import ses from '../noco/plugins/ses'; |
||||||
|
|
||||||
const up = async knex => { |
const up = async knex => { |
||||||
await knex.schema.createTable('nc_projects', table => { |
await knex.schema.createTable('nc_projects', table => { |
@ -1,5 +1,5 @@ |
|||||||
import Knex from 'knex'; |
import Knex from 'knex'; |
||||||
import ses from '../plugins/ses'; |
import ses from '../noco/plugins/ses'; |
||||||
|
|
||||||
const up = async (knex: Knex) => { |
const up = async (knex: Knex) => { |
||||||
await knex('nc_plugins').del().where({title: "SES"}); |
await knex('nc_plugins').del().where({title: "SES"}); |
@ -1,4 +1,4 @@ |
|||||||
import { MetaTable } from '../../utils/globals'; |
import { MetaTable } from '../utils/globals'; |
||||||
// import googleAuth from '../plugins/googleAuth';
|
// import googleAuth from '../plugins/googleAuth';
|
||||||
// import ses from '../plugins/ses';
|
// import ses from '../plugins/ses';
|
||||||
// import cache from '../plugins/cache';
|
// import cache from '../plugins/cache';
|
@ -1,5 +1,5 @@ |
|||||||
import Knex from 'knex'; |
import Knex from 'knex'; |
||||||
import { MetaTable } from '../../utils/globals'; |
import { MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
const up = async (knex: Knex) => { |
const up = async (knex: Knex) => { |
||||||
if (knex.client.config.client !== 'sqlite3') { |
if (knex.client.config.client !== 'sqlite3') { |
@ -1,5 +1,5 @@ |
|||||||
import Knex from 'knex'; |
import Knex from 'knex'; |
||||||
import { MetaTable } from '../../utils/globals'; |
import { MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
const up = async (knex: Knex) => { |
const up = async (knex: Knex) => { |
||||||
await knex.schema.createTable(MetaTable.SYNC_SOURCE, table => { |
await knex.schema.createTable(MetaTable.SYNC_SOURCE, table => { |
@ -1,5 +1,5 @@ |
|||||||
import Knex from 'knex'; |
import Knex from 'knex'; |
||||||
import { MetaTable } from '../../utils/globals'; |
import { MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
const up = async (knex: Knex) => { |
const up = async (knex: Knex) => { |
||||||
if (knex.client.config.client !== 'sqlite3') { |
if (knex.client.config.client !== 'sqlite3') { |
@ -1,5 +1,5 @@ |
|||||||
import Knex from 'knex'; |
import Knex from 'knex'; |
||||||
import { MetaTable } from '../../utils/globals'; |
import { MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
const up = async (knex: Knex) => { |
const up = async (knex: Knex) => { |
||||||
await knex.schema.alterTable(MetaTable.COLUMNS, table => { |
await knex.schema.alterTable(MetaTable.COLUMNS, table => { |
@ -1,5 +1,5 @@ |
|||||||
import Knex from 'knex'; |
import Knex from 'knex'; |
||||||
import { MetaTable } from '../../utils/globals'; |
import { MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
const up = async (knex: Knex) => { |
const up = async (knex: Knex) => { |
||||||
if (knex.client.config.client !== 'sqlite3') { |
if (knex.client.config.client !== 'sqlite3') { |
@ -1,6 +1,6 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
import extractProps from '../noco/meta/helpers/extractProps'; |
import extractProps from '../noco/meta/helpers/extractProps'; |
||||||
|
|
||||||
export default class FormulaColumn { |
export default class FormulaColumn { |
@ -1,7 +1,7 @@ |
|||||||
import Noco from '../noco/Noco'; |
import Noco from '../noco/Noco'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
import View from './View'; |
import View from './View'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
|
|
||||||
export default class GalleryViewColumn { |
export default class GalleryViewColumn { |
||||||
id: string; |
id: string; |
@ -1,9 +1,9 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
import Column from './Column'; |
import Column from './Column'; |
||||||
import Model from './Model'; |
import Model from './Model'; |
||||||
// import NocoCache from '../noco-cache/NocoCache';
|
// import NocoCache from '../cache/NocoCache';
|
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
|
|
||||||
export default class LinkToAnotherRecordColumn { |
export default class LinkToAnotherRecordColumn { |
||||||
fk_column_id?: string; |
fk_column_id?: string; |
@ -1,8 +1,8 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
// import NocoCache from '../noco-cache/NocoCache';
|
// import NocoCache from '../cache/NocoCache';
|
||||||
import Column from './Column'; |
import Column from './Column'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
|
|
||||||
export default class LookupColumn { |
export default class LookupColumn { |
||||||
fk_relation_column_id: string; |
fk_relation_column_id: string; |
@ -1,8 +1,8 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
import Column from './Column'; |
import Column from './Column'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
import { XKnex } from '../dataMapper'; |
import { XKnex } from '../sql-data-mapper'; |
||||||
import { BaseModelSqlv2 } from '../dataMapper/lib/sql/BaseModelSqlv2'; |
import { BaseModelSqlv2 } from '../sql-data-mapper/lib/sql/BaseModelSqlv2'; |
||||||
import { |
import { |
||||||
isVirtualCol, |
isVirtualCol, |
||||||
ModelTypes, |
ModelTypes, |
@ -1,5 +1,5 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
export default class MultiSelectColumn { |
export default class MultiSelectColumn { |
@ -1,7 +1,7 @@ |
|||||||
import { PluginType } from 'nocodb-sdk'; |
import { PluginType } from 'nocodb-sdk'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
import Noco from '../noco/Noco'; |
import Noco from '../noco/Noco'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
|
|
||||||
export default class Plugin implements PluginType { |
export default class Plugin implements PluginType { |
||||||
id?: string; |
id?: string; |
@ -1,7 +1,7 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
import Column from './Column'; |
import Column from './Column'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
|
|
||||||
export default class RollupColumn { |
export default class RollupColumn { |
||||||
fk_column_id; |
fk_column_id; |
@ -1,5 +1,5 @@ |
|||||||
import Noco from '../../lib/noco/Noco'; |
import Noco from '../../lib/noco/Noco'; |
||||||
import NocoCache from '../noco-cache/NocoCache'; |
import NocoCache from '../cache/NocoCache'; |
||||||
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
import { CacheGetType, CacheScope, MetaTable } from '../utils/globals'; |
||||||
|
|
||||||
export default class SingleSelectColumn { |
export default class SingleSelectColumn { |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue