UNPKG

cnpmcore

Version:
17 lines (16 loc) 477 B
import { Entity, EntityData } from './Entity'; import { EasyData } from '../util/EntityUtil'; interface ScopeData extends EntityData { name: string; scopeId: string; registryId: string; } export type CreateScopeData = Omit<EasyData<ScopeData, 'scopeId'>, 'id'>; export declare class Scope extends Entity { name: string; registryId: string; scopeId: string; constructor(data: ScopeData); static create(data: CreateScopeData): Scope; } export {};