Browse Source

fix: rspack sync

feat-rspack-swc
DarkPhoenix2704 2 weeks ago
parent
commit
f2f8928732
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 4
      packages/nocodb/src/controllers/integrations.controller.ts
  2. 4
      packages/nocodb/src/controllers/org-users.controller.ts
  3. 4
      packages/nocodb/src/services/command-palette.service.ts

4
packages/nocodb/src/controllers/integrations.controller.ts

@ -11,9 +11,11 @@ import {
UseGuards,
} from '@nestjs/common';
import { IntegrationReqType, IntegrationsType } from 'nocodb-sdk';
// This service is overwritten entirely in the cloud and does not extend there.
// As a result, it refers to services from OSS to avoid type mismatches.
import { IntegrationsService } from 'src/services/integrations.service';
import { GlobalGuard } from '~/guards/global/global.guard';
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';
import { IntegrationsService } from '~/services/integrations.service';
import { MetaApiLimiterGuard } from '~/guards/meta-api-limiter.guard';
import { TenantContext } from '~/decorators/tenant-context.decorator';
import { NcContext, NcRequest } from '~/interface/config';

4
packages/nocodb/src/controllers/org-users.controller.ts

@ -11,9 +11,11 @@ import {
UseGuards,
} from '@nestjs/common';
import { OrgUserRoles } from 'nocodb-sdk';
// This service is overwritten entirely in the cloud and does not extend there.
// As a result, it refers to services from OSS to avoid type mismatches.
import { OrgUsersService } from 'src/services/org-users.service';
import { GlobalGuard } from '~/guards/global/global.guard';
import { PagedResponseImpl } from '~/helpers/PagedResponse';
import { OrgUsersService } from '~/services/org-users.service';
import { User } from '~/models';
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';
import { MetaApiLimiterGuard } from '~/guards/meta-api-limiter.guard';

4
packages/nocodb/src/services/command-palette.service.ts

@ -1,7 +1,9 @@
import { Injectable, Logger } from '@nestjs/common';
import { type UserType, ViewTypes } from 'nocodb-sdk';
// This service is overwritten entirely in the cloud and does not extend there.
// As a result, it refers to services from OSS to avoid type mismatches.
import { getCommandPaletteForUserWorkspace } from 'src/helpers/commandPaletteHelpers';
import { deserializeJSON } from '~/utils/serialize';
import { getCommandPaletteForUserWorkspace } from '~/helpers/commandPaletteHelpers';
const viewTypeAlias: Record<number, string> = {
[ViewTypes.GRID]: 'grid',

Loading…
Cancel
Save