From 2c53af789d5648f3500be8dedbf4747eeb075cfb Mon Sep 17 00:00:00 2001 From: Samual Date: Sat, 18 Jan 2025 14:19:29 +0000 Subject: [PATCH] loosen `MongoObject` to no longer disallow property names that begin with `$` --- env.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.d.ts b/env.d.ts index 8cfddfc..5ba9d89 100644 --- a/env.d.ts +++ b/env.d.ts @@ -699,7 +699,7 @@ type Nullsec = Lowsec & PlayerNullsec & { // database type MongoPrimitive = null | boolean | number | Date | string type MongoValue = MongoPrimitive | MongoValue[] | MongoObject -type MongoObject = { [k: string]: MongoValue, [k: `$${string}`]: never } +type MongoObject = Record type MongoQueryValue = MongoPrimitive | MongoQueryValue[] | MongoQueryObject type MongoQueryObject = -- knotmirror 0.0.1