Remove remaining mongodb references
- Replace ObjectId import with string type in approval.workflow.ts - Delete mongodb.d.ts type declaration file Made-with: Cursor
This commit is contained in:
0
9c3d1115-4845-4980-a0d5-33767025c260
Normal file
0
9c3d1115-4845-4980-a0d5-33767025c260
Normal file
8
GOOGLE_CLOUD_ENCOACH_ANALYSIS_CHAT.md
Normal file
8
GOOGLE_CLOUD_ENCOACH_ANALYSIS_CHAT.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Google Cloud EnCoach Analysis
|
||||||
|
|
||||||
|
Open this Cursor transcript using the chat UUID:
|
||||||
|
|
||||||
|
- [Google Cloud EnCoach Analysis](9c3d1115-4845-4980-a0d5-33767025c260)
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
- This is the transcript where `talal@encoach.com` was used for the Google Cloud EnCoach infrastructure analysis.
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
import { ObjectId } from "mongodb";
|
|
||||||
import { Module } from ".";
|
import { Module } from ".";
|
||||||
import { Type, User, userTypeLabels, userTypeLabelsShort } from "./user";
|
import { Type, User, userTypeLabels, userTypeLabelsShort } from "./user";
|
||||||
|
|
||||||
export interface ApprovalWorkflow {
|
export interface ApprovalWorkflow {
|
||||||
_id?: ObjectId,
|
_id?: string,
|
||||||
name: string,
|
name: string,
|
||||||
entityId: string,
|
entityId: string,
|
||||||
requester: User["id"],
|
requester: User["id"],
|
||||||
|
|||||||
5
src/mongodb.d.ts
vendored
5
src/mongodb.d.ts
vendored
@@ -1,5 +0,0 @@
|
|||||||
import {MongoClient} from "mongodb";
|
|
||||||
|
|
||||||
declare global {
|
|
||||||
var _mongoClientPromise: Promise<MongoClient>;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user