feat: initial boilerplate
This commit is contained in:
3
api/libraries/database/id.ts
Normal file
3
api/libraries/database/id.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import type { CreateIndexesOptions, IndexSpecification } from "mongodb";
|
||||
|
||||
export const idIndex: [IndexSpecification, CreateIndexesOptions] = [{ id: 1 }, { unique: true }];
|
||||
Reference in New Issue
Block a user