Просмотр исходного кода

fix: update import path for SCOPE from '../../interfaces/scope' to '@growi/core/dist/interfaces'

Shun Miyazawa 10 месяцев назад
Родитель
Сommit
5084e971ee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/server/util/scope-utils.ts

+ 1 - 1
apps/app/src/server/util/scope-utils.ts

@@ -1,6 +1,6 @@
 import {
 import {
   ACTION, ALL_SIGN, SCOPE, type Scope,
   ACTION, ALL_SIGN, SCOPE, type Scope,
-} from '../../interfaces/scope';
+} from '@growi/core/dist/interfaces';
 
 
 export const isValidScope = (scope: Scope): boolean => {
 export const isValidScope = (scope: Scope): boolean => {
   const scopeParts = scope.split(':').map(x => (x === ALL_SIGN ? 'ALL' : x.toUpperCase()));
   const scopeParts = scope.split(':').map(x => (x === ALL_SIGN ? 'ALL' : x.toUpperCase()));