Browse Source

fix: rspack sync

DarkPhoenix2704 2 weeks ago
parent
commit
3310e52cb2
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, UseGuards,
} from '@nestjs/common'; } from '@nestjs/common';
import { IntegrationReqType, IntegrationsType } from 'nocodb-sdk'; 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 { GlobalGuard } from '~/guards/global/global.guard';
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware'; import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';
import { IntegrationsService } from '~/services/integrations.service';
import { MetaApiLimiterGuard } from '~/guards/meta-api-limiter.guard'; import { MetaApiLimiterGuard } from '~/guards/meta-api-limiter.guard';
import { TenantContext } from '~/decorators/tenant-context.decorator'; import { TenantContext } from '~/decorators/tenant-context.decorator';
import { NcContext, NcRequest } from '~/interface/config'; import { NcContext, NcRequest } from '~/interface/config';

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

@ -11,9 +11,11 @@ import {
UseGuards, UseGuards,
} from '@nestjs/common'; } from '@nestjs/common';
import { OrgUserRoles } from 'nocodb-sdk'; 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 { GlobalGuard } from '~/guards/global/global.guard';
import { PagedResponseImpl } from '~/helpers/PagedResponse'; import { PagedResponseImpl } from '~/helpers/PagedResponse';
import { OrgUsersService } from '~/services/org-users.service';
import { User } from '~/models'; import { User } from '~/models';
import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware'; import { Acl } from '~/middlewares/extract-ids/extract-ids.middleware';
import { MetaApiLimiterGuard } from '~/guards/meta-api-limiter.guard'; 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 { Injectable, Logger } from '@nestjs/common';
import { type UserType, viewTypeAlias } from 'nocodb-sdk'; import { type UserType, viewTypeAlias } 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 { deserializeJSON } from '~/utils/serialize';
import { getCommandPaletteForUserWorkspace } from '~/helpers/commandPaletteHelpers';
@Injectable() @Injectable()
export class CommandPaletteService { export class CommandPaletteService {

Loading…
Cancel
Save