import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/expressions.d.ts";
const { Shift } = mongoose.Expression;
Properties
$shift: { output: Expression; by: number; default?: Expression; }
Returns the value from an expression applied to a document in a specified position relative to the current document in the $setWindowFields stage partition.