@authup/core
Version:
Package containing global constants, types & interfaces.
7 lines • 768 B
TypeScript
import type { DomainEventName, DomainEventSubscriptionName, DomainType } from './contstants';
import type { DomainEventFullName, DomainEventSubscriptionFullName } from './types';
export declare function buildDomainEventFullName<T extends `${DomainType}` | DomainType>(type: T, event: `${DomainEventName}`): DomainEventFullName<T>;
export declare function buildDomainEventSubscriptionFullName<T extends `${DomainType}` | DomainType>(type: T, event: `${DomainEventSubscriptionName}` | DomainEventSubscriptionName): DomainEventSubscriptionFullName<T>;
export declare function buildDomainChannelName(type: `${DomainType}` | DomainType, id?: string | number): string;
export declare function buildDomainNamespaceName(id: string): string;
//# sourceMappingURL=utils.d.ts.map