UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

13 lines (12 loc) 452 B
import { Enum } from '../types/Enum'; import type { Text } from '../types/Text'; import { List } from '../types/List'; import { IdNamePlain } from '../types/IdName'; export declare class Scope extends Enum { readonly name: string; readonly subs: List<Scope>; protected constructor(name: string, id?: Text, subs?: List<Scope>); for(item: string | IdNamePlain): Scope; combines(...scopes: Scope[]): this; expand(): List<Scope>; }