c4aa8b78c2
* chore: tsdoc * chore: tsdoc * fix: error * chore: code format * chore: code format
17 lines
440 B
TypeScript
17 lines
440 B
TypeScript
import { Plugin } from '@nocobase/client';
|
|
import { NAMESPACE } from '../constants';
|
|
import { Configuration } from './Configuration';
|
|
|
|
export class PluginAPIKeysClient extends Plugin {
|
|
async load() {
|
|
this.pluginSettingsManager.add(NAMESPACE, {
|
|
icon: 'KeyOutlined',
|
|
title: this.t('API keys'),
|
|
Component: Configuration,
|
|
aclSnippet: 'pm.api-keys.configuration',
|
|
});
|
|
}
|
|
}
|
|
|
|
export default PluginAPIKeysClient;
|