@altostra/core
Version:
Core library for shared types and logic
10 lines (9 loc) • 473 B
TypeScript
import type { EntityId } from "../../CustomTypes/EntityId";
declare const logIntegrationIdSymbol: unique symbol;
export declare type LogIntegrationId = EntityId & {
[logIntegrationIdSymbol]: unknown;
};
export declare function isLogIntegrationId(val: unknown): val is LogIntegrationId;
export declare function validateLogIntegrationId(val: string): asserts val is LogIntegrationId;
export declare function logIntegrationId(value?: string): LogIntegrationId;
export {};