UNPKG

cnpmcore

Version:

Private NPM Registry for Enterprise

15 lines (14 loc) 564 B
import type { Static } from '@eggjs/typebox-validate/typebox'; import { Context } from 'egg'; import { ScopeCreateOptions } from '../typebox.ts'; import { AbstractController } from './AbstractController.ts'; export declare class ScopeController extends AbstractController { private readonly scopeManagerService; private readonly registryManagerService; createScope(ctx: Context, scopeOptions: Static<typeof ScopeCreateOptions>): Promise<{ ok: boolean; }>; removeScope(ctx: Context, id: string): Promise<{ ok: boolean; }>; }