@kurrent/kurrentdb-client
Version:
KurrentDB gRPC NodeJS Client SDK
21 lines (20 loc) • 756 B
TypeScript
/**
* Returns true if the stream is a system stream.
* @param streamId - The stream id to test against.
*/
export declare const isSystemStream: (streamId: string) => boolean;
/**
* Returns true if the stream is a metadata stream.
* @param streamId - The stream id to test against.
*/
export declare const isMetastream: (streamId: string) => boolean;
/**
* Returns the metadata stream of the stream.
* @param streamId - The stream id to get the metastream name of.
*/
export declare const metastreamOf: (streamId: string) => string;
/**
* Returns the original stream of the metadata stream.
* @param metastreamId - The metastream id to get the original stream name of.
*/
export declare const originalStreamOf: (metastreamId: string) => string;