@altostra/core
Version:
Core library for shared types and logic
9 lines (8 loc) • 343 B
TypeScript
import type { ResourceBase } from "./Common";
export declare type DataStreamType = 'resource.data-stream';
export interface DataStream extends ResourceBase {
type: DataStreamType;
shards: number;
retentionPeriod: number;
}
export declare const isDataStream: import("@altostra/type-validations").ObjectOfTypeValidation<DataStream>;