Browse Source

refactor : code

pull/5261/head
Naveen MR 2 years ago
parent
commit
3db325abd0
  1. 2
      packages/nocodb/src/lib/meta/api/helpers/populateMeta.ts
  2. 0
      packages/nocodb/src/lib/services/apiToken.svc.ts
  3. 0
      packages/nocodb/src/lib/services/attachment.svc.ts
  4. 0
      packages/nocodb/src/lib/services/audit.svc.ts
  5. 0
      packages/nocodb/src/lib/services/base.svc.ts
  6. 0
      packages/nocodb/src/lib/services/cache.svc.ts
  7. 0
      packages/nocodb/src/lib/services/column.svc.ts
  8. 0
      packages/nocodb/src/lib/services/filter.svc.ts
  9. 0
      packages/nocodb/src/lib/services/hook.svc.ts
  10. 0
      packages/nocodb/src/lib/services/hookFilter.svc.ts
  11. 60
      packages/nocodb/src/lib/services/index.ts
  12. 0
      packages/nocodb/src/lib/services/metaDiff.svc.ts
  13. 0
      packages/nocodb/src/lib/services/modelVisibility.svc.ts
  14. 0
      packages/nocodb/src/lib/services/orgLicense.svc.ts
  15. 0
      packages/nocodb/src/lib/services/orgToken.svc.ts
  16. 2
      packages/nocodb/src/lib/services/orgUser.svc.ts
  17. 0
      packages/nocodb/src/lib/services/plugin.svc.ts
  18. 0
      packages/nocodb/src/lib/services/project.svc.ts
  19. 0
      packages/nocodb/src/lib/services/projectUser.svc.ts
  20. 2
      packages/nocodb/src/lib/services/public/publicData.svs.ts
  21. 0
      packages/nocodb/src/lib/services/sharedBase.svc.ts
  22. 0
      packages/nocodb/src/lib/services/sort.svc.ts
  23. 0
      packages/nocodb/src/lib/services/table.svc.ts
  24. 0
      packages/nocodb/src/lib/services/util.svc.ts
  25. 2
      packages/nocodb/src/lib/services/view.svc.ts
  26. 0
      packages/nocodb/src/lib/services/viewColumn.svc.ts
  27. 0
      packages/nocodb/src/lib/services/views/formView.svc.ts
  28. 0
      packages/nocodb/src/lib/services/views/formViewColumn.svc.ts
  29. 0
      packages/nocodb/src/lib/services/views/galleryView.svc.ts
  30. 0
      packages/nocodb/src/lib/services/views/gridView.svc.ts
  31. 0
      packages/nocodb/src/lib/services/views/gridViewColumn.svc.ts
  32. 0
      packages/nocodb/src/lib/services/views/kanbanView.svc.ts
  33. 0
      packages/nocodb/src/lib/services/views/mapView.svc.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/metaDiff.svs';
import { extractAndGenerateManyToManyRelations } from '../../../services/metaDiff.svc';
import { ModelTypes, UITypes, ViewTypes } from 'nocodb-sdk';
import { IGNORE_TABLES } from '../../../utils/common/BaseApiBuilder';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2
packages/nocodb/src/lib/services/orgUser.svs.ts → packages/nocodb/src/lib/services/orgUser.svc.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 './projectUser.svs';
import { sendInviteEmail } from './projectUser.svc';
export async function userList(param: {
// todo: add better typing

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

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

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

2
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 '../attachment.svs';
import { sanitizeUrlPath } from '../attachment.svc';
import { getColumnByIdOrName } from '../dbData/helpers';
export async function dataList(param: {

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

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

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

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

2
packages/nocodb/src/lib/services/view.svs.ts → packages/nocodb/src/lib/services/view.svc.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 './modelVisibility.svs';
import { xcVisibilityMetaGet } from './modelVisibility.svc';
export async function viewList(param: {
tableId: string;

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

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

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

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

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

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

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

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

Loading…
Cancel
Save