Skip to content

Commit

Permalink
nit: remove gpt bs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynagpaul committed Sep 13, 2024
1 parent 25d61f9 commit e9a67d1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deletion-policy/models.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// NOTE: Ensure this is in sync with the models defined in the api package
//
// README: Ensure this is in sync with the models defined in the api package
//

import { EventEnvironment } from "bog-analytics";
import mongoose, { Schema, Types } from "mongoose";
Expand Down Expand Up @@ -35,7 +37,6 @@ export interface CustomEvent extends BaseEventWithoutCategory {
properties: object;
}

// Project Model
const ProjectSchema = new mongoose.Schema<Project>(
{
projectName: { type: String, required: true, unique: true },
Expand All @@ -47,7 +48,6 @@ const ProjectSchema = new mongoose.Schema<Project>(
{ timestamps: true }
);

// Base Event Model
const BaseEventSchema = new mongoose.Schema<BaseEvent>(
{
category: { type: String, required: true },
Expand All @@ -63,7 +63,6 @@ const BaseEventSchema = new mongoose.Schema<BaseEvent>(
{ timestamps: true }
);

// Custom Event Model
const CustomEventSchema = new mongoose.Schema<CustomEvent>(
{
properties: { type: Schema.Types.Mixed, required: true },
Expand Down

0 comments on commit e9a67d1

Please sign in to comment.