Browse Source

refactor : code

pull/5261/head
Naveen MR 2 years ago
parent
commit
923e2b2b4f
  1. 0
      packages/nocodb/src/lib/controllers/apiToken.ctl.ts
  2. 0
      packages/nocodb/src/lib/controllers/attachment.ctl.ts
  3. 0
      packages/nocodb/src/lib/controllers/audit.ctl.ts
  4. 0
      packages/nocodb/src/lib/controllers/base.ctl.ts
  5. 0
      packages/nocodb/src/lib/controllers/cache.ctl.ts
  6. 0
      packages/nocodb/src/lib/controllers/column.ctl.ts
  7. 0
      packages/nocodb/src/lib/controllers/dbData/bulkDataAlias.ctl.ts
  8. 0
      packages/nocodb/src/lib/controllers/dbData/data.ctl.ts
  9. 0
      packages/nocodb/src/lib/controllers/dbData/dataAlias.ctl.ts
  10. 0
      packages/nocodb/src/lib/controllers/dbData/dataAliasExport.ctl.ts
  11. 0
      packages/nocodb/src/lib/controllers/dbData/dataAliasNested.ctl.ts
  12. 12
      packages/nocodb/src/lib/controllers/dbData/index.ts
  13. 0
      packages/nocodb/src/lib/controllers/dbData/oldData.ctl.ts
  14. 0
      packages/nocodb/src/lib/controllers/export.ctl.ts
  15. 0
      packages/nocodb/src/lib/controllers/filter.ctl.ts
  16. 0
      packages/nocodb/src/lib/controllers/formView.ctl.ts
  17. 0
      packages/nocodb/src/lib/controllers/formViewColumn.ctl.ts
  18. 0
      packages/nocodb/src/lib/controllers/galleryView.ctl.ts
  19. 0
      packages/nocodb/src/lib/controllers/gridView.ctl.ts
  20. 0
      packages/nocodb/src/lib/controllers/gridViewColumn.ctl.ts
  21. 0
      packages/nocodb/src/lib/controllers/hook.ctl.ts
  22. 0
      packages/nocodb/src/lib/controllers/hookFilter.ctl.ts
  23. 0
      packages/nocodb/src/lib/controllers/kanbanView.ctl.ts
  24. 0
      packages/nocodb/src/lib/controllers/mapView.ctl.ts
  25. 0
      packages/nocodb/src/lib/controllers/metaDiff.ctl.ts
  26. 0
      packages/nocodb/src/lib/controllers/modelVisibility.ctl.ts
  27. 0
      packages/nocodb/src/lib/controllers/orgLicense.ctl.ts
  28. 0
      packages/nocodb/src/lib/controllers/orgToken.ctl.ts
  29. 0
      packages/nocodb/src/lib/controllers/orgUser.ctl.ts
  30. 0
      packages/nocodb/src/lib/controllers/plugin.ctl.ts
  31. 0
      packages/nocodb/src/lib/controllers/project.ctl.ts
  32. 0
      packages/nocodb/src/lib/controllers/projectUser.ctl.ts
  33. 6
      packages/nocodb/src/lib/controllers/publicControllers/index.ts
  34. 0
      packages/nocodb/src/lib/controllers/publicControllers/publicData.ctl.ts
  35. 0
      packages/nocodb/src/lib/controllers/publicControllers/publicDataExport.ctl.ts
  36. 0
      packages/nocodb/src/lib/controllers/publicControllers/publicMeta.ctl.ts
  37. 0
      packages/nocodb/src/lib/controllers/sharedBase.ctl.ts
  38. 0
      packages/nocodb/src/lib/controllers/sort.ctl.ts
  39. 0
      packages/nocodb/src/lib/controllers/table.ctl.ts
  40. 0
      packages/nocodb/src/lib/controllers/test.ctl.ts
  41. 0
      packages/nocodb/src/lib/controllers/util.ctl.ts
  42. 0
      packages/nocodb/src/lib/controllers/view.ctl.ts
  43. 0
      packages/nocodb/src/lib/controllers/viewColumn.ctl.ts
  44. 2
      packages/nocodb/src/lib/meta/api/helpers/populateMeta.ts
  45. 64
      packages/nocodb/src/lib/meta/api/index.ts
  46. 0
      packages/nocodb/src/lib/services/apiToken.svs.ts
  47. 0
      packages/nocodb/src/lib/services/attachment.svs.ts
  48. 0
      packages/nocodb/src/lib/services/audit.svs.ts
  49. 0
      packages/nocodb/src/lib/services/base.svs.ts
  50. 0
      packages/nocodb/src/lib/services/cache.svs.ts
  51. 0
      packages/nocodb/src/lib/services/column.svs.ts
  52. 0
      packages/nocodb/src/lib/services/dbData/dataAliasNested.svs.ts
  53. 0
      packages/nocodb/src/lib/services/ee/orgToken.svs.ts
  54. 0
      packages/nocodb/src/lib/services/filter.svs.ts
  55. 0
      packages/nocodb/src/lib/services/formView.svs.ts
  56. 0
      packages/nocodb/src/lib/services/formViewColumn.svs.ts
  57. 0
      packages/nocodb/src/lib/services/galleryView.svs.ts
  58. 0
      packages/nocodb/src/lib/services/gridView.svs.ts
  59. 0
      packages/nocodb/src/lib/services/gridViewColumn.svs.ts
  60. 0
      packages/nocodb/src/lib/services/hook.svs.ts
  61. 0
      packages/nocodb/src/lib/services/hookFilter.svs.ts
  62. 64
      packages/nocodb/src/lib/services/index.ts
  63. 0
      packages/nocodb/src/lib/services/kanbanView.svs.ts
  64. 0
      packages/nocodb/src/lib/services/mapView.svs.ts
  65. 0
      packages/nocodb/src/lib/services/metaDiff.svs.ts
  66. 0
      packages/nocodb/src/lib/services/modelVisibility.svs.ts
  67. 0
      packages/nocodb/src/lib/services/orgLicense.svs.ts
  68. 0
      packages/nocodb/src/lib/services/orgToken.svs.ts
  69. 2
      packages/nocodb/src/lib/services/orgUser.svs.ts
  70. 0
      packages/nocodb/src/lib/services/plugin.svs.ts
  71. 0
      packages/nocodb/src/lib/services/project.svs.ts
  72. 0
      packages/nocodb/src/lib/services/projectUser.svs.ts
  73. 6
      packages/nocodb/src/lib/services/public/index.ts
  74. 2
      packages/nocodb/src/lib/services/public/publicData.svs.ts
  75. 0
      packages/nocodb/src/lib/services/public/publicDataExport.svs.ts
  76. 0
      packages/nocodb/src/lib/services/public/publicMeta.svs.ts
  77. 0
      packages/nocodb/src/lib/services/sharedBase.svs.ts
  78. 0
      packages/nocodb/src/lib/services/sort.svs.ts
  79. 0
      packages/nocodb/src/lib/services/table.svs.ts
  80. 0
      packages/nocodb/src/lib/services/util.svs.ts
  81. 2
      packages/nocodb/src/lib/services/view.svs.ts
  82. 0
      packages/nocodb/src/lib/services/viewColumn.svs.ts

0
packages/nocodb/src/lib/controllers/apiTokenController.ts → packages/nocodb/src/lib/controllers/apiToken.ctl.ts

0
packages/nocodb/src/lib/controllers/attachmentController.ts → packages/nocodb/src/lib/controllers/attachment.ctl.ts

0
packages/nocodb/src/lib/controllers/auditController.ts → packages/nocodb/src/lib/controllers/audit.ctl.ts

0
packages/nocodb/src/lib/controllers/baseController.ts → packages/nocodb/src/lib/controllers/base.ctl.ts

0
packages/nocodb/src/lib/controllers/cacheController.ts → packages/nocodb/src/lib/controllers/cache.ctl.ts

0
packages/nocodb/src/lib/controllers/columnController.ts → packages/nocodb/src/lib/controllers/column.ctl.ts

0
packages/nocodb/src/lib/controllers/dbData/bulkDataAliasController.ts → packages/nocodb/src/lib/controllers/dbData/bulkDataAlias.ctl.ts

0
packages/nocodb/src/lib/controllers/dbData/dataController.ts → packages/nocodb/src/lib/controllers/dbData/data.ctl.ts

0
packages/nocodb/src/lib/controllers/dbData/dataAliasController.ts → packages/nocodb/src/lib/controllers/dbData/dataAlias.ctl.ts

0
packages/nocodb/src/lib/controllers/dbData/dataAliasExportController.ts → packages/nocodb/src/lib/controllers/dbData/dataAliasExport.ctl.ts

0
packages/nocodb/src/lib/controllers/dbData/dataAliasNestedController.ts → packages/nocodb/src/lib/controllers/dbData/dataAliasNested.ctl.ts

12
packages/nocodb/src/lib/controllers/dbData/index.ts

@ -1,9 +1,9 @@
import dataController from './dataController';
import oldDataController from './oldDataController';
import dataAliasController from './dataAliasController';
import bulkDataAliasController from './bulkDataAliasController';
import dataAliasNestedController from './dataAliasNestedController';
import dataAliasExportController from './dataAliasExportController';
import dataController from './data.ctl';
import oldDataController from './oldData.ctl';
import dataAliasController from './dataAlias.ctl';
import bulkDataAliasController from './bulkDataAlias.ctl';
import dataAliasNestedController from './dataAliasNested.ctl';
import dataAliasExportController from './dataAliasExport.ctl';
export {
dataController,

0
packages/nocodb/src/lib/controllers/dbData/oldDataController.ts → packages/nocodb/src/lib/controllers/dbData/oldData.ctl.ts

0
packages/nocodb/src/lib/controllers/exportController.ts → packages/nocodb/src/lib/controllers/export.ctl.ts

0
packages/nocodb/src/lib/controllers/filterController.ts → packages/nocodb/src/lib/controllers/filter.ctl.ts

0
packages/nocodb/src/lib/controllers/formViewController.ts → packages/nocodb/src/lib/controllers/formView.ctl.ts

0
packages/nocodb/src/lib/controllers/formViewColumnController.ts → packages/nocodb/src/lib/controllers/formViewColumn.ctl.ts

0
packages/nocodb/src/lib/controllers/galleryViewController.ts → packages/nocodb/src/lib/controllers/galleryView.ctl.ts

0
packages/nocodb/src/lib/controllers/gridViewController.ts → packages/nocodb/src/lib/controllers/gridView.ctl.ts

0
packages/nocodb/src/lib/controllers/gridViewColumnController.ts → packages/nocodb/src/lib/controllers/gridViewColumn.ctl.ts

0
packages/nocodb/src/lib/controllers/hookController.ts → packages/nocodb/src/lib/controllers/hook.ctl.ts

0
packages/nocodb/src/lib/controllers/hookFilterController.ts → packages/nocodb/src/lib/controllers/hookFilter.ctl.ts

0
packages/nocodb/src/lib/controllers/kanbanViewController.ts → packages/nocodb/src/lib/controllers/kanbanView.ctl.ts

0
packages/nocodb/src/lib/controllers/mapViewController.ts → packages/nocodb/src/lib/controllers/mapView.ctl.ts

0
packages/nocodb/src/lib/controllers/metaDiffController.ts → packages/nocodb/src/lib/controllers/metaDiff.ctl.ts

0
packages/nocodb/src/lib/controllers/modelVisibilityController.ts → packages/nocodb/src/lib/controllers/modelVisibility.ctl.ts

0
packages/nocodb/src/lib/controllers/orgLicenseController.ts → packages/nocodb/src/lib/controllers/orgLicense.ctl.ts

0
packages/nocodb/src/lib/controllers/orgTokenController.ts → packages/nocodb/src/lib/controllers/orgToken.ctl.ts

0
packages/nocodb/src/lib/controllers/orgUserController.ts → packages/nocodb/src/lib/controllers/orgUser.ctl.ts

0
packages/nocodb/src/lib/controllers/pluginController.ts → packages/nocodb/src/lib/controllers/plugin.ctl.ts

0
packages/nocodb/src/lib/controllers/projectController.ts → packages/nocodb/src/lib/controllers/project.ctl.ts

0
packages/nocodb/src/lib/controllers/projectUserController.ts → packages/nocodb/src/lib/controllers/projectUser.ctl.ts

6
packages/nocodb/src/lib/controllers/publicControllers/index.ts

@ -1,6 +1,6 @@
import publicDataController from './publicDataController';
import publicDataExportController from './publicDataExportController';
import publicMetaController from './publicMetaController';
import publicDataController from './publicData.ctl';
import publicDataExportController from './publicDataExport.ctl';
import publicMetaController from './publicMeta.ctl';
export {
publicDataController,

0
packages/nocodb/src/lib/controllers/publicControllers/publicDataController.ts → packages/nocodb/src/lib/controllers/publicControllers/publicData.ctl.ts

0
packages/nocodb/src/lib/controllers/publicControllers/publicDataExportController.ts → packages/nocodb/src/lib/controllers/publicControllers/publicDataExport.ctl.ts

0
packages/nocodb/src/lib/controllers/publicControllers/publicMetaController.ts → packages/nocodb/src/lib/controllers/publicControllers/publicMeta.ctl.ts

0
packages/nocodb/src/lib/controllers/sharedBaseController.ts → packages/nocodb/src/lib/controllers/sharedBase.ctl.ts

0
packages/nocodb/src/lib/controllers/sortController.ts → packages/nocodb/src/lib/controllers/sort.ctl.ts

0
packages/nocodb/src/lib/controllers/tableController.ts → packages/nocodb/src/lib/controllers/table.ctl.ts

0
packages/nocodb/src/lib/controllers/testController.ts → packages/nocodb/src/lib/controllers/test.ctl.ts

0
packages/nocodb/src/lib/controllers/utilController.ts → packages/nocodb/src/lib/controllers/util.ctl.ts

0
packages/nocodb/src/lib/controllers/viewController.ts → packages/nocodb/src/lib/controllers/view.ctl.ts

0
packages/nocodb/src/lib/controllers/viewColumnController.ts → packages/nocodb/src/lib/controllers/viewColumn.ctl.ts

2
packages/nocodb/src/lib/meta/api/helpers/populateMeta.ts

@ -11,7 +11,7 @@ import getTableNameAlias, {
import LinkToAnotherRecordColumn from '../../../models/LinkToAnotherRecordColumn';
import getColumnUiType from '../../helpers/getColumnUiType';
import mapDefaultDisplayValue from '../../helpers/mapDefaultDisplayValue';
import { extractAndGenerateManyToManyRelations } from '../../../services/metaDiffService';
import { extractAndGenerateManyToManyRelations } from '../../../services/metaDiff.svs';
import { ModelTypes, UITypes, ViewTypes } from 'nocodb-sdk';
import { IGNORE_TABLES } from '../../../utils/common/BaseApiBuilder';

64
packages/nocodb/src/lib/meta/api/index.ts

@ -1,39 +1,39 @@
import { T } from 'nc-help';
import orgLicenseController from '../../controllers/orgLicenseController';
import orgTokenController from '../../controllers/orgTokenController';
import orgUserController from '../../controllers/orgUserController';
import projectController from '../../controllers/projectController';
import baseController from '../../controllers/baseController';
import tableController from '../../controllers/tableController';
import columnController from '../../controllers/columnController';
import orgLicenseController from '../../controllers/orgLicense.ctl';
import orgTokenController from '../../controllers/orgToken.ctl';
import orgUserController from '../../controllers/orgUser.ctl';
import projectController from '../../controllers/project.ctl';
import baseController from '../../controllers/base.ctl';
import tableController from '../../controllers/table.ctl';
import columnController from '../../controllers/column.ctl';
import { Router } from 'express';
import sortController from '../../controllers/sortController';
import filterController from '../../controllers/filterController';
import viewColumnController from '../../controllers/viewColumnController';
import gridViewController from '../../controllers/gridViewController';
import viewController from '../../controllers/viewController';
import galleryViewController from '../../controllers/galleryViewController';
import formViewController from '../../controllers/formViewController';
import formViewColumnController from '../../controllers/formViewColumnController';
import attachmentController from '../../controllers/attachmentController';
import exportController from '../../controllers/exportController';
import auditController from '../../controllers/auditController';
import hookController from '../../controllers/hookController';
import pluginController from '../../controllers/pluginController';
import gridViewColumnController from '../../controllers/gridViewColumnController';
import kanbanViewController from '../../controllers/kanbanViewController';
import sortController from '../../controllers/sort.ctl';
import filterController from '../../controllers/filter.ctl';
import viewColumnController from '../../controllers/viewColumn.ctl';
import gridViewController from '../../controllers/gridView.ctl';
import viewController from '../../controllers/view.ctl';
import galleryViewController from '../../controllers/galleryView.ctl';
import formViewController from '../../controllers/formView.ctl';
import formViewColumnController from '../../controllers/formViewColumn.ctl';
import attachmentController from '../../controllers/attachment.ctl';
import exportController from '../../controllers/export.ctl';
import auditController from '../../controllers/audit.ctl';
import hookController from '../../controllers/hook.ctl';
import pluginController from '../../controllers/plugin.ctl';
import gridViewColumnController from '../../controllers/gridViewColumn.ctl';
import kanbanViewController from '../../controllers/kanbanView.ctl';
import { userController } from '../../controllers/user';
// import extractProjectIdAndAuthenticate from './helpers/extractProjectIdAndAuthenticate';
import utilController from '../../controllers/utilController';
import projectUserController from '../../controllers/projectUserController';
import sharedBaseController from '../../controllers/sharedBaseController';
import utilController from '../../controllers/util.ctl';
import projectUserController from '../../controllers/projectUser.ctl';
import sharedBaseController from '../../controllers/sharedBase.ctl';
import { initStrategies } from '../../controllers/user/initStrategies';
import modelVisibilityController from '../../controllers/modelVisibilityController';
import metaDiffController from '../../controllers/metaDiffController';
import cacheController from '../../controllers/cacheController';
import apiTokenController from '../../controllers/apiTokenController';
import hookFilterController from '../../controllers/hookFilterController';
import testController from '../../controllers/testController';
import modelVisibilityController from '../../controllers/modelVisibility.ctl';
import metaDiffController from '../../controllers/metaDiff.ctl';
import cacheController from '../../controllers/cache.ctl';
import apiTokenController from '../../controllers/apiToken.ctl';
import hookFilterController from '../../controllers/hookFilter.ctl';
import testController from '../../controllers/test.ctl';
import {
bulkDataAliasController,
dataAliasController,
@ -54,7 +54,7 @@ import crypto from 'crypto';
import swaggerController from '../../controllers/apiDocs';
import importController from '../../controllers/sync/importApis';
import syncSourceController from '../../controllers/sync';
import mapViewController from '../../controllers/mapViewController';
import mapViewController from '../../controllers/mapView.ctl';
const clients: { [id: string]: Socket } = {};
const jobs: { [id: string]: { last_message: any } } = {};

0
packages/nocodb/src/lib/services/apiTokenService.ts → packages/nocodb/src/lib/services/apiToken.svs.ts

0
packages/nocodb/src/lib/services/attachmentService.ts → packages/nocodb/src/lib/services/attachment.svs.ts

0
packages/nocodb/src/lib/services/auditService.ts → packages/nocodb/src/lib/services/audit.svs.ts

0
packages/nocodb/src/lib/services/baseService.ts → packages/nocodb/src/lib/services/base.svs.ts

0
packages/nocodb/src/lib/services/cacheService.ts → packages/nocodb/src/lib/services/cache.svs.ts

0
packages/nocodb/src/lib/services/columnService.ts → packages/nocodb/src/lib/services/column.svs.ts

0
packages/nocodb/src/lib/services/dbData/dataAliasNestedService.ts → packages/nocodb/src/lib/services/dbData/dataAliasNested.svs.ts

0
packages/nocodb/src/lib/services/ee/orgTokenService.ts → packages/nocodb/src/lib/services/ee/orgToken.svs.ts

0
packages/nocodb/src/lib/services/filterService.ts → packages/nocodb/src/lib/services/filter.svs.ts

0
packages/nocodb/src/lib/services/formViewService.ts → packages/nocodb/src/lib/services/formView.svs.ts

0
packages/nocodb/src/lib/services/formViewColumnService.ts → packages/nocodb/src/lib/services/formViewColumn.svs.ts

0
packages/nocodb/src/lib/services/galleryViewService.ts → packages/nocodb/src/lib/services/galleryView.svs.ts

0
packages/nocodb/src/lib/services/gridViewService.ts → packages/nocodb/src/lib/services/gridView.svs.ts

0
packages/nocodb/src/lib/services/gridViewColumnService.ts → packages/nocodb/src/lib/services/gridViewColumn.svs.ts

0
packages/nocodb/src/lib/services/hookService.ts → packages/nocodb/src/lib/services/hook.svs.ts

0
packages/nocodb/src/lib/services/hookFilterService.ts → packages/nocodb/src/lib/services/hookFilter.svs.ts

64
packages/nocodb/src/lib/services/index.ts

@ -1,38 +1,38 @@
export * as projectService from './projectService';
export * as tableService from './tableService';
export * as columnService from './columnService';
export * as filterService from './filterService';
export * as sortService from './sortService';
export * as baseService from './baseService';
export * as apiTokenService from './apiTokenService';
export * as viewService from './viewService';
export * as hookService from './hookService';
export * as pluginService from './pluginService';
export * as utilService from './utilService';
export * as formViewService from './formViewService';
export * as formViewColumnService from './formViewColumnService';
export * as gridViewService from './gridViewService';
export * as galleryViewService from './galleryViewService';
export * as kanbanViewService from './kanbanViewService';
export * as gridViewColumnService from './gridViewColumnService';
export * as viewColumnService from './viewColumnService';
export * as metaDiffService from './metaDiffService';
export * as mapViewService from './mapViewService';
export * as modelVisibilityService from './modelVisibilityService';
export * as sharedBaseService from './sharedBaseService';
export * as orgUserService from './orgUserService';
export * as orgLicenseService from './orgLicenseService';
export * as projectUserService from './projectUserService';
export * as attachmentService from './attachmentService';
export * as hookFilterService from './hookFilterService';
export * as projectService from './project.svs';
export * as tableService from './table.svs';
export * as columnService from './column.svs';
export * as filterService from './filter.svs';
export * as sortService from './sort.svs';
export * as baseService from './base.svs';
export * as apiTokenService from './apiToken.svs';
export * as viewService from './view.svs';
export * as hookService from './hook.svs';
export * as pluginService from './plugin.svs';
export * as utilService from './util.svs';
export * as formViewService from './formView.svs';
export * as formViewColumnService from './formViewColumn.svs';
export * as gridViewService from './gridView.svs';
export * as galleryViewService from './galleryView.svs';
export * as kanbanViewService from './kanbanView.svs';
export * as gridViewColumnService from './gridViewColumn.svs';
export * as viewColumnService from './viewColumn.svs';
export * as metaDiffService from './metaDiff.svs';
export * as mapViewService from './mapView.svs';
export * as modelVisibilityService from './modelVisibility.svs';
export * as sharedBaseService from './sharedBase.svs';
export * as orgUserService from './orgUser.svs';
export * as orgLicenseService from './orgLicense.svs';
export * as projectUserService from './projectUser.svs';
export * as attachmentService from './attachment.svs';
export * as hookFilterService from './hookFilter.svs';
export * as dataService from './dbData';
export * as bulkDataService from './dbData/bulkData';
export * as dataAliasNestedService from './dbData/dataAliasNestedService';
export * as cacheService from './cacheService';
export * as auditService from './auditService';
export * as dataAliasNestedService from './dbData/dataAliasNested.svs';
export * as cacheService from './cache.svs';
export * as auditService from './audit.svs';
export * as swaggerService from './apiDocs';
export * as userService from './user';
export * as syncService from './sync';
export * from './public';
export * as orgTokenService from './orgTokenService';
export * as orgTokenServiceEE from './ee/orgTokenService';
export * as orgTokenService from './orgToken.svs';
export * as orgTokenServiceEE from './ee/orgToken.svs';

0
packages/nocodb/src/lib/services/kanbanViewService.ts → packages/nocodb/src/lib/services/kanbanView.svs.ts

0
packages/nocodb/src/lib/services/mapViewService.ts → packages/nocodb/src/lib/services/mapView.svs.ts

0
packages/nocodb/src/lib/services/metaDiffService.ts → packages/nocodb/src/lib/services/metaDiff.svs.ts

0
packages/nocodb/src/lib/services/modelVisibilityService.ts → packages/nocodb/src/lib/services/modelVisibility.svs.ts

0
packages/nocodb/src/lib/services/orgLicenseService.ts → packages/nocodb/src/lib/services/orgLicense.svs.ts

0
packages/nocodb/src/lib/services/orgTokenService.ts → packages/nocodb/src/lib/services/orgToken.svs.ts

2
packages/nocodb/src/lib/services/orgUserService.ts → packages/nocodb/src/lib/services/orgUser.svs.ts

@ -17,7 +17,7 @@ import { NcError } from '../meta/helpers/catchError';
import { extractProps } from '../meta/helpers/extractProps';
import { PagedResponseImpl } from '../meta/helpers/PagedResponse';
import { randomTokenString } from '../meta/helpers/stringHelpers';
import { sendInviteEmail } from './projectUserService';
import { sendInviteEmail } from './projectUser.svs';
export async function userList(param: {
// todo: add better typing

0
packages/nocodb/src/lib/services/pluginService.ts → packages/nocodb/src/lib/services/plugin.svs.ts

0
packages/nocodb/src/lib/services/projectService.ts → packages/nocodb/src/lib/services/project.svs.ts

0
packages/nocodb/src/lib/services/projectUserService.ts → packages/nocodb/src/lib/services/projectUser.svs.ts

6
packages/nocodb/src/lib/services/public/index.ts

@ -1,5 +1,5 @@
import * as publicDataService from './publicDataService';
import * as publicDataExportApis from './publicDataExportService';
import * as publicMetaService from './publicMetaservice';
import * as publicDataService from './publicData.svs';
import * as publicDataExportApis from './publicDataExport.svs';
import * as publicMetaService from './publicMeta.svs';
export { publicDataService, publicDataExportApis, publicMetaService };

2
packages/nocodb/src/lib/services/public/publicDataService.ts → packages/nocodb/src/lib/services/public/publicData.svs.ts

@ -16,7 +16,7 @@ import {
} from '../../models';
import NcConnectionMgrv2 from '../../utils/common/NcConnectionMgrv2';
import { mimeIcons } from '../../utils/mimeTypes';
import { sanitizeUrlPath } from '../attachmentService';
import { sanitizeUrlPath } from '../attachment.svs';
import { getColumnByIdOrName } from '../dbData/helpers';
export async function dataList(param: {

0
packages/nocodb/src/lib/services/public/publicDataExportService.ts → packages/nocodb/src/lib/services/public/publicDataExport.svs.ts

0
packages/nocodb/src/lib/services/public/publicMetaservice.ts → packages/nocodb/src/lib/services/public/publicMeta.svs.ts

0
packages/nocodb/src/lib/services/sharedBaseService.ts → packages/nocodb/src/lib/services/sharedBase.svs.ts

0
packages/nocodb/src/lib/services/sortService.ts → packages/nocodb/src/lib/services/sort.svs.ts

0
packages/nocodb/src/lib/services/tableService.ts → packages/nocodb/src/lib/services/table.svs.ts

0
packages/nocodb/src/lib/services/utilService.ts → packages/nocodb/src/lib/services/util.svs.ts

2
packages/nocodb/src/lib/services/viewService.ts → packages/nocodb/src/lib/services/view.svs.ts

@ -2,7 +2,7 @@ import { SharedViewReqType, ViewReqType } from 'nocodb-sdk';
import { validatePayload } from '../meta/api/helpers';
import { Model, View } from '../models';
import { T } from 'nc-help';
import { xcVisibilityMetaGet } from './modelVisibilityService';
import { xcVisibilityMetaGet } from './modelVisibility.svs';
export async function viewList(param: {
tableId: string;

0
packages/nocodb/src/lib/services/viewColumnService.ts → packages/nocodb/src/lib/services/viewColumn.svs.ts

Loading…
Cancel
Save