UNPKG

firestore-snapshot-utils

Version:
17 lines (16 loc) 725 B
export interface TimestampDebugOptions { logTimestamps?: boolean; docPath?: string; } /** * Extracts all unique timestamp values from an object into a Set. * The values are stored as strings (from timestamp.valueOf()) for easy sorting. * * This function is idempotent - calling it multiple times with the same input * will always produce the same output, and it doesn't modify any input parameters. * * @param value - The value to extract timestamps from * @param debugOptions - Options for debugging timestamp extraction * @returns A new Set containing all unique timestamp values as strings */ export declare const extractTimestamps: (value: unknown, debugOptions?: TimestampDebugOptions) => Set<string>;