Futa Arai 2 лет назад
Родитель
Сommit
0cb9a1f0c3

+ 1 - 1
apps/app/src/server/models/external-account.ts

@@ -1,6 +1,6 @@
 // disable no-return-await for model functions
 /* eslint-disable no-return-await */
-import { IExternalAccount, IExternalAccountHasId, IUserHasId } from '@growi/core';
+import type { IExternalAccount, IExternalAccountHasId, IUserHasId } from '@growi/core';
 import { Schema, Model, Document } from 'mongoose';
 
 import { NullUsernameToBeRegisteredError } from '~/server/models/errors';

+ 1 - 1
apps/app/src/server/models/user-group-relation.ts

@@ -1,4 +1,4 @@
-import { IUserGroupRelation } from '@growi/core';
+import type { IUserGroupRelation } from '@growi/core';
 import mongoose, { Model, Schema, Document } from 'mongoose';
 
 import { getOrCreateModel } from '../util/mongoose-utils';

+ 1 - 1
apps/app/test/integration/service/external-user-group-sync.test.ts

@@ -1,4 +1,4 @@
-import { IUserHasId } from '@growi/core';
+import type { IUserHasId } from '@growi/core';
 import mongoose, { Types } from 'mongoose';
 
 import {