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

+ 1 - 1
apps/app/src/server/models/interfaces/page-operation.ts

@@ -1,4 +1,4 @@
-import { PageGrant, GrantedGroup } from '@growi/core';
+import { PageGrant, type GrantedGroup } from '@growi/core';
 
 import { ObjectIdLike } from '../../interfaces/mongoose-utils';
 

+ 3 - 3
apps/app/src/server/models/page.ts

@@ -4,9 +4,9 @@ import assert from 'assert';
 import nodePath from 'path';
 
 import {
-  IPage,
-  GrantedGroup,
-  GroupType, HasObjectId,
+  type IPage,
+  type GrantedGroup,
+  GroupType, type HasObjectId,
 } from '@growi/core';
 import { isPopulated } from '@growi/core/dist/interfaces';
 import { isTopPage, hasSlash, collectAncestorPaths } from '@growi/core/dist/utils/page-path-utils';

+ 1 - 1
apps/app/src/server/service/page-grant.ts

@@ -1,5 +1,5 @@
 import {
-  GrantedGroup,
+  type GrantedGroup,
   PageGrant, type PageGrantCanBeOnTree,
 } from '@growi/core';
 import {