Function isRangeDivinerConfig
- isRangeDivinerConfig(
x?: unknown,
): x is DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: LogLevel;
labels?: { [key: string]: undefined | string };
name?: string;
paging?: { [key: string]: { size?: number } };
ranges?: (
| { count: number; schema: "network.xyo.range"; start: number }
| {
count: number;
schema: "network.xyo.range";
start: Lowercase<string>;
}
)[];
retry?: { backoff?: number; interval?: number; retries?: number };
schema: "network.xyo.diviner.range.config";
security?: {
allowAnonymous?: boolean;
allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
disallowed?: { [key: string]: Lowercase<string>[] };
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
> Returns x is DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: LogLevel;
labels?: { [key: string]: undefined | string };
name?: string;
paging?: { [key: string]: { size?: number } };
ranges?: (
| { count: number; schema: "network.xyo.range"; start: number }
| {
count: number;
schema: "network.xyo.range";
start: Lowercase<string>;
}
)[];
retry?: { backoff?: number; interval?: number; retries?: number };
schema: "network.xyo.diviner.range.config";
security?: {
allowAnonymous?: boolean;
allowed?: { [key: string]: (Lowercase<string> | Lowercase<string>[])[] };
disallowed?: { [key: string]: Lowercase<string>[] };
};
sign?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>