cnpmcore
Version:
Private NPM Registry for Enterprise
17 lines (16 loc) • 493 B
TypeScript
import { type EasyData } from '../util/EntityUtil.ts';
import { Entity, type EntityData } from './Entity.ts';
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 {};