MCPcopy
hub / github.com/Automattic/mongoose / SchemaTimestampsConfig

Interface SchemaTimestampsConfig

types/schemaoptions.d.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2 import mongodb = require('mongodb');
3
4 interface SchemaTimestampsConfig {
5 createdAt?: boolean | string;
6 updatedAt?: boolean | string;
7 currentTime?: () => (NativeDate | number);
8 }
9
10 type SchemaOptionsStaticsPropertyType<TStaticMethods, TModelType> = IfEquals<
11 TStaticMethods,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…