We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43300c3 commit 7111d9aCopy full SHA for 7111d9a
src/operations/create_collection.ts
@@ -37,7 +37,7 @@ const ILLEGAL_COMMAND_FIELDS = new Set([
37
export interface TimeSeriesCollectionOptions extends Document {
38
timeField: string;
39
metaField?: string;
40
- granularity?: string;
+ granularity?: 'seconds' | 'minutes' | 'hours' | string;
41
}
42
43
/** @public */
0 commit comments