Skip to content

Commit

Permalink
Merge pull request #298 from Roger13579/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Roger13579 authored Jun 24, 2024
2 parents a9652f0 + b6eb780 commit 2c69bac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/models/baseModel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Document, Schema, Types } from 'mongoose';
import { ProductType, MovieGenre } from '../types/product.type';
import { ITimestamp } from '../types/common.type';

export enum ModelName {
Expand Down Expand Up @@ -98,12 +97,10 @@ export const productSnapshotSchemaDef = {
},
type: {
type: String,
enum: Object.values(ProductType),
required: true,
},
genre: {
type: String,
enum: Object.values(MovieGenre),
required: true,
},
vendor: {
Expand Down

0 comments on commit 2c69bac

Please sign in to comment.