chore: import token policy constants in plugin file

This commit is contained in:
Sheldon Guo 2025-03-26 16:43:15 +08:00
parent ea855fcbf5
commit abcb81e63a

View File

@ -11,6 +11,7 @@ import { Cache } from '@nocobase/cache';
import { Model } from '@nocobase/database'; import { Model } from '@nocobase/database';
import { InstallOptions, Plugin } from '@nocobase/server'; import { InstallOptions, Plugin } from '@nocobase/server';
import { tval } from '@nocobase/utils'; import { tval } from '@nocobase/utils';
import { tokenPolicyCollectionName, tokenPolicyRecordKey } from '../constants';
import { namespace, presetAuthType, presetAuthenticator } from '../preset'; import { namespace, presetAuthType, presetAuthenticator } from '../preset';
import authActions from './actions/auth'; import authActions from './actions/auth';
import authenticatorsActions from './actions/authenticators'; import authenticatorsActions from './actions/authenticators';