mirror of https://github.com/nocodb/nocodb
Pranav C
2 years ago
206 changed files with 432 additions and 432 deletions
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ApiDocsController } from './api-docs.controller'; |
import { ApiDocsController } from './api-docs.controller'; |
||||||
import { ApiDocsService } from './api-docs.service'; |
import { ApiDocsService } from '../../modules/api-docs.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ApiDocsController', () => { |
describe('ApiDocsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ApiTokensController } from './api-tokens.controller'; |
import { ApiTokensController } from './api-tokens.controller'; |
||||||
import { ApiTokensService } from './api-tokens.service'; |
import { ApiTokensService } from '../services/api-tokens.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ApiTokensController', () => { |
describe('ApiTokensController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { AuditsController } from './audits.controller'; |
import { AuditsController } from './audits.controller'; |
||||||
import { AuditsService } from './audits.service'; |
import { AuditsService } from '../services/audits.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('AuditsController', () => { |
describe('AuditsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { AuthController } from './auth.controller'; |
import { AuthController } from './auth.controller'; |
||||||
import { AuthService } from './auth.service'; |
import { AuthService } from '../services/auth.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('AuthController', () => { |
describe('AuthController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { BasesController } from './bases.controller'; |
import { BasesController } from './bases.controller'; |
||||||
import { BasesService } from './bases.service'; |
import { BasesService } from '../services/bases.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('BasesController', () => { |
describe('BasesController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { CachesController } from './caches.controller'; |
import { CachesController } from './caches.controller'; |
||||||
import { CachesService } from './caches.service'; |
import { CachesService } from '../services/caches.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('CachesController', () => { |
describe('CachesController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Controller, Delete, Get } from '@nestjs/common'; |
import { Controller, Delete, Get } from '@nestjs/common'; |
||||||
import { Acl } from '../../middlewares/extract-project-id/extract-project-id.middleware'; |
import { Acl } from '../middlewares/extract-project-id/extract-project-id.middleware'; |
||||||
import { CachesService } from './caches.service'; |
import { CachesService } from '../services/caches.service'; |
||||||
|
|
||||||
@Controller() |
@Controller() |
||||||
export class CachesController { |
export class CachesController { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ColumnsController } from './columns.controller'; |
import { ColumnsController } from './columns.controller'; |
||||||
import { ColumnsService } from './columns.service'; |
import { ColumnsService } from '../services/columns.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ColumnsController', () => { |
describe('ColumnsController', () => { |
@ -1,14 +1,14 @@ |
|||||||
import { Controller, Get, Request, Response, UseGuards } from '@nestjs/common'; |
import { Controller, Get, Request, Response, UseGuards } from '@nestjs/common'; |
||||||
import * as XLSX from 'xlsx'; |
import * as XLSX from 'xlsx'; |
||||||
import { AuthGuard } from '@nestjs/passport'; |
import { AuthGuard } from '@nestjs/passport'; |
||||||
import { GlobalGuard } from '../../../guards/global/global.guard'; |
import { GlobalGuard } from '../guards/global/global.guard'; |
||||||
import { |
import { |
||||||
Acl, |
Acl, |
||||||
ExtractProjectIdMiddleware, |
ExtractProjectIdMiddleware, |
||||||
} from '../../../middlewares/extract-project-id/extract-project-id.middleware'; |
} from '../middlewares/extract-project-id/extract-project-id.middleware'; |
||||||
import { View } from '../../../models'; |
import { View } from '../models'; |
||||||
import { DatasService } from '../datas.service'; |
import { DatasService } from '../services/datas.service'; |
||||||
import { extractCsvData, extractXlsxData } from '../helpers'; |
import { extractCsvData, extractXlsxData } from '../modules/datas/helpers'; |
||||||
|
|
||||||
@Controller() |
@Controller() |
||||||
@UseGuards(ExtractProjectIdMiddleware, GlobalGuard) |
@UseGuards(ExtractProjectIdMiddleware, GlobalGuard) |
@ -1,5 +1,5 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { DataAliasNestedService } from './data-alias-nested.service'; |
import { DataAliasNestedService } from '../services/data-alias-nested.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('DataAliasNestedService', () => { |
describe('DataAliasNestedService', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { FormColumnsController } from './form-columns.controller'; |
import { FormColumnsController } from './form-columns.controller'; |
||||||
import { FormColumnsService } from './form-columns.service'; |
import { FormColumnsService } from '../services/form-columns.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('FormColumnsController', () => { |
describe('FormColumnsController', () => { |
@ -1,11 +1,11 @@ |
|||||||
import { Body, Controller, Param, Patch, UseGuards } from '@nestjs/common'; |
import { Body, Controller, Param, Patch, UseGuards } from '@nestjs/common'; |
||||||
import { AuthGuard } from '@nestjs/passport'; |
import { AuthGuard } from '@nestjs/passport'; |
||||||
import { GlobalGuard } from '../../guards/global/global.guard'; |
import { GlobalGuard } from '../guards/global/global.guard'; |
||||||
import { |
import { |
||||||
Acl, |
Acl, |
||||||
ExtractProjectIdMiddleware, |
ExtractProjectIdMiddleware, |
||||||
} from '../../middlewares/extract-project-id/extract-project-id.middleware'; |
} from '../middlewares/extract-project-id/extract-project-id.middleware'; |
||||||
import { FormColumnsService } from './form-columns.service'; |
import { FormColumnsService } from '../services/form-columns.service'; |
||||||
|
|
||||||
class FormColumnUpdateReqType {} |
class FormColumnUpdateReqType {} |
||||||
|
|
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { FormsController } from './forms.controller'; |
import { FormsController } from './forms.controller'; |
||||||
import { FormsService } from './forms.service'; |
import { FormsService } from '../services/forms.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('FormsController', () => { |
describe('FormsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { GalleriesController } from './galleries.controller'; |
import { GalleriesController } from './galleries.controller'; |
||||||
import { GalleriesService } from './galleries.service'; |
import { GalleriesService } from '../services/galleries.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('GalleriesController', () => { |
describe('GalleriesController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { GridColumnsController } from './grid-columns.controller'; |
import { GridColumnsController } from './grid-columns.controller'; |
||||||
import { GridColumnsService } from './grid-columns.service'; |
import { GridColumnsService } from '../services/grid-columns.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('GridColumnsController', () => { |
describe('GridColumnsController', () => { |
@ -1,12 +1,12 @@ |
|||||||
import { Body, Controller, Get, Param, Patch, UseGuards } from '@nestjs/common'; |
import { Body, Controller, Get, Param, Patch, UseGuards } from '@nestjs/common'; |
||||||
import { GridColumnReqType } from 'nocodb-sdk'; |
import { GridColumnReqType } from 'nocodb-sdk'; |
||||||
import { AuthGuard } from '@nestjs/passport'; |
import { AuthGuard } from '@nestjs/passport'; |
||||||
import { GlobalGuard } from '../../guards/global/global.guard'; |
import { GlobalGuard } from '../guards/global/global.guard'; |
||||||
import { |
import { |
||||||
Acl, |
Acl, |
||||||
ExtractProjectIdMiddleware, |
ExtractProjectIdMiddleware, |
||||||
} from '../../middlewares/extract-project-id/extract-project-id.middleware'; |
} from '../middlewares/extract-project-id/extract-project-id.middleware'; |
||||||
import { GridColumnsService } from './grid-columns.service'; |
import { GridColumnsService } from '../services/grid-columns.service'; |
||||||
|
|
||||||
@Controller() |
@Controller() |
||||||
@UseGuards(ExtractProjectIdMiddleware, GlobalGuard) |
@UseGuards(ExtractProjectIdMiddleware, GlobalGuard) |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { GridsController } from './grids.controller'; |
import { GridsController } from './grids.controller'; |
||||||
import { GridsService } from './grids.service'; |
import { GridsService } from '../services/grids.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('GridsController', () => { |
describe('GridsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { HookFiltersController } from './hook-filters.controller'; |
import { HookFiltersController } from './hook-filters.controller'; |
||||||
import { HookFiltersService } from './hook-filters.service'; |
import { HookFiltersService } from '../services/hook-filters.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('HookFiltersController', () => { |
describe('HookFiltersController', () => { |
@ -1,5 +1,5 @@ |
|||||||
import { Controller } from '@nestjs/common'; |
import { Controller } from '@nestjs/common'; |
||||||
import { HookFiltersService } from './hook-filters.service'; |
import { HookFiltersService } from '../services/hook-filters.service'; |
||||||
|
|
||||||
@Controller() |
@Controller() |
||||||
export class HookFiltersController { |
export class HookFiltersController { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { HooksController } from './hooks.controller'; |
import { HooksController } from './hooks.controller'; |
||||||
import { HooksService } from './hooks.service'; |
import { HooksService } from '../services/hooks.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('HooksController', () => { |
describe('HooksController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ImportController } from './import.controller'; |
import { ImportController } from './import.controller'; |
||||||
import { ImportService } from './import.service'; |
import { ImportService } from '../services/import.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ImportController', () => { |
describe('ImportController', () => { |
@ -1,15 +1,15 @@ |
|||||||
import { Controller, HttpCode, Post, Request, UseGuards } from '@nestjs/common'; |
import { Controller, HttpCode, Post, Request, UseGuards } from '@nestjs/common'; |
||||||
import { forwardRef, Inject } from '@nestjs/common'; |
import { forwardRef, Inject } from '@nestjs/common'; |
||||||
import { ModuleRef } from '@nestjs/core'; |
import { ModuleRef } from '@nestjs/core'; |
||||||
import { GlobalGuard } from '../../guards/global/global.guard'; |
import { GlobalGuard } from '../guards/global/global.guard'; |
||||||
import { NcError } from '../../helpers/catchError'; |
import { NcError } from '../helpers/catchError'; |
||||||
import { ExtractProjectIdMiddleware } from '../../middlewares/extract-project-id/extract-project-id.middleware'; |
import { ExtractProjectIdMiddleware } from '../middlewares/extract-project-id/extract-project-id.middleware'; |
||||||
import { SyncSource } from '../../models'; |
import { SyncSource } from '../models'; |
||||||
import NocoJobs from '../../jobs/NocoJobs'; |
import NocoJobs from '../jobs/NocoJobs'; |
||||||
import { SocketService } from '../../services/client/socket.service'; |
import { SocketService } from '../services/socket.service'; |
||||||
import airtableSyncJob from '../sync/helpers/job'; |
import airtableSyncJob from '../modules/sync/helpers/job'; |
||||||
import { ImportService } from './import.service'; |
import { ImportService } from '../services/import.service'; |
||||||
import type { AirtableSyncConfig } from '../sync/helpers/job'; |
import type { AirtableSyncConfig } from '../modules/sync/helpers/job'; |
||||||
|
|
||||||
import type { Server } from 'socket.io'; |
import type { Server } from 'socket.io'; |
||||||
|
|
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { KanbansController } from './kanbans.controller'; |
import { KanbansController } from './kanbans.controller'; |
||||||
import { KanbansService } from './kanbans.service'; |
import { KanbansService } from '../services/kanbans.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('KanbansController', () => { |
describe('KanbansController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { MapsController } from './maps.controller'; |
import { MapsController } from './maps.controller'; |
||||||
import { MapsService } from './maps.service'; |
import { MapsService } from '../services/maps.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('MapsController', () => { |
describe('MapsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { MetaDiffsController } from './meta-diffs.controller'; |
import { MetaDiffsController } from './meta-diffs.controller'; |
||||||
import { MetaDiffsService } from './meta-diffs.service'; |
import { MetaDiffsService } from '../services/meta-diffs.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('MetaDiffsController', () => { |
describe('MetaDiffsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ModelVisibilitiesController } from './model-visibilities.controller'; |
import { ModelVisibilitiesController } from './model-visibilities.controller'; |
||||||
import { ModelVisibilitiesService } from './model-visibilities.service'; |
import { ModelVisibilitiesService } from '../services/model-visibilities.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ModelVisibilitiesController', () => { |
describe('ModelVisibilitiesController', () => { |
@ -1,10 +1,10 @@ |
|||||||
import { Injectable } from '@nestjs/common'; |
import { Injectable } from '@nestjs/common'; |
||||||
import { nocoExecute } from 'nc-help'; |
import { nocoExecute } from 'nc-help'; |
||||||
import getAst from '../../../helpers/getAst'; |
import getAst from '../../helpers/getAst'; |
||||||
import { NcError } from '../../../helpers/catchError'; |
import { NcError } from '../../helpers/catchError'; |
||||||
import { Base, Model, Project, View } from '../../../models'; |
import { Base, Model, Project, View } from '../../models'; |
||||||
import NcConnectionMgrv2 from '../../../utils/common/NcConnectionMgrv2'; |
import NcConnectionMgrv2 from '../../utils/common/NcConnectionMgrv2'; |
||||||
import type { OldPathParams } from '../helpers'; |
import type { OldPathParams } from '../../modules/datas/helpers'; |
||||||
|
|
||||||
@Injectable() |
@Injectable() |
||||||
export class OldDatasService { |
export class OldDatasService { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { OrgLcenseController } from './org-lcense.controller'; |
import { OrgLcenseController } from './org-lcense.controller'; |
||||||
import { OrgLcenseService } from './org-lcense.service'; |
import { OrgLcenseService } from '../services/org-lcense.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('OrgLcenseController', () => { |
describe('OrgLcenseController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { OrgTokensController } from './org-tokens.controller'; |
import { OrgTokensController } from './org-tokens.controller'; |
||||||
import { OrgTokensService } from './org-tokens.service'; |
import { OrgTokensService } from '../services/org-tokens.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('OrgTokensController', () => { |
describe('OrgTokensController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { OrgUsersController } from './org-users.controller'; |
import { OrgUsersController } from './org-users.controller'; |
||||||
import { OrgUsersService } from './org-users.service'; |
import { OrgUsersService } from '../services/org-users.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('OrgUsersController', () => { |
describe('OrgUsersController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { PluginsController } from './plugins.controller'; |
import { PluginsController } from './plugins.controller'; |
||||||
import { PluginsService } from './plugins.service'; |
import { PluginsService } from '../services/plugins.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('PluginsController', () => { |
describe('PluginsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ProjectsController } from './projects.controller'; |
import { ProjectsController } from './projects.controller'; |
||||||
import { ProjectsService } from './projects.service'; |
import { ProjectsService } from '../services/projects.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ProjectsController', () => { |
describe('ProjectsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { PublicDatasExportController } from './public-datas-export.controller'; |
import { PublicDatasExportController } from './public-datas-export.controller'; |
||||||
import { PublicDatasExportService } from './public-datas-export.service'; |
import { PublicDatasExportService } from '../services/public-datas-export.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('PublicDatasExportController', () => { |
describe('PublicDatasExportController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { PublicDatasController } from './public-datas.controller'; |
import { PublicDatasController } from './public-datas.controller'; |
||||||
import { PublicDatasService } from './public-datas.service'; |
import { PublicDatasService } from '../services/public-datas.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('PublicDatasController', () => { |
describe('PublicDatasController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { PublicMetasController } from './public-metas.controller'; |
import { PublicMetasController } from './public-metas.controller'; |
||||||
import { PublicMetasService } from './public-metas.service'; |
import { PublicMetasService } from '../services/public-metas.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('PublicMetasController', () => { |
describe('PublicMetasController', () => { |
@ -1,5 +1,5 @@ |
|||||||
import { Controller, Get, Param, Request } from '@nestjs/common'; |
import { Controller, Get, Param, Request } from '@nestjs/common'; |
||||||
import { PublicMetasService } from './public-metas.service'; |
import { PublicMetasService } from '../services/public-metas.service'; |
||||||
|
|
||||||
@Controller() |
@Controller() |
||||||
export class PublicMetasController { |
export class PublicMetasController { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { SharedBasesController } from './shared-bases.controller'; |
import { SharedBasesController } from './shared-bases.controller'; |
||||||
import { SharedBasesService } from './shared-bases.service'; |
import { SharedBasesService } from '../services/shared-bases.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('SharedBasesController', () => { |
describe('SharedBasesController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { SortsController } from './sorts.controller'; |
import { SortsController } from './sorts.controller'; |
||||||
import { SortsService } from './sorts.service'; |
import { SortsService } from '../services/sorts.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('SortsController', () => { |
describe('SortsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { SyncController } from './sync.controller'; |
import { SyncController } from './sync.controller'; |
||||||
import { SyncService } from './sync.service'; |
import { SyncService } from '../services/sync.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('SyncController', () => { |
describe('SyncController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { TablesController } from './tables.controller'; |
import { TablesController } from './tables.controller'; |
||||||
import { TablesService } from './tables.service'; |
import { TablesService } from '../services/tables.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('TablesController', () => { |
describe('TablesController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { UtilsController } from './utils.controller'; |
import { UtilsController } from './utils.controller'; |
||||||
import { UtilsService } from './utils.service'; |
import { UtilsService } from '../services/utils.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('UtilsController', () => { |
describe('UtilsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ViewColumnsController } from './view-columns.controller'; |
import { ViewColumnsController } from './view-columns.controller'; |
||||||
import { ViewColumnsService } from './view-columns.service'; |
import { ViewColumnsService } from '../services/view-columns.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ViewColumnsController', () => { |
describe('ViewColumnsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Test } from '@nestjs/testing'; |
import { Test } from '@nestjs/testing'; |
||||||
import { ViewsController } from './views.controller'; |
import { ViewsController } from './views.controller'; |
||||||
import { ViewsService } from './views.service'; |
import { ViewsService } from '../services/views.service'; |
||||||
import type { TestingModule } from '@nestjs/testing'; |
import type { TestingModule } from '@nestjs/testing'; |
||||||
|
|
||||||
describe('ViewsController', () => { |
describe('ViewsController', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { Injectable } from '@nestjs/common'; |
import { Injectable } from '@nestjs/common'; |
||||||
import { NcError } from '../../helpers/catchError'; |
import { NcError } from '../helpers/catchError'; |
||||||
import { Model, Project } from '../../models'; |
import { Model, Project } from '../models'; |
||||||
import getSwaggerJSON from './swagger/getSwaggerJSON'; |
import getSwaggerJSON from './swagger/getSwaggerJSON'; |
||||||
|
|
||||||
@Injectable() |
@Injectable() |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue