UNPKG

@altostra/core

Version:

Core library for shared types and logic

9 lines (8 loc) 366 B
import type { EntityId } from "../../CustomTypes/EntityId"; declare const organizationIdSymbol: unique symbol; export declare type OrganizationId = EntityId & { [organizationIdSymbol]: unknown; }; export declare function isOrganizationId(value: unknown): value is OrganizationId; export declare function organizationId(value: string): OrganizationId; export {};