Skip to content

Commit

Permalink
other option select
Browse files Browse the repository at this point in the history
  • Loading branch information
andyvo2004 committed Feb 27, 2025
1 parent d023167 commit 660fd4a
Show file tree
Hide file tree
Showing 13 changed files with 1,422 additions and 6 deletions.
1 change: 1 addition & 0 deletions email-notification/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ const postSchema = new Schema<IPost | IDraftPost>({
enum: Object.values(Breed),
},
],
otherBreedDescription: { type: String },
gender: {
type: String,
default: null,
Expand Down
2 changes: 2 additions & 0 deletions email-notification/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export enum Breed {
TerrierSmall = "terrierSmall", // Terrier (Small)
Weimaraner = "weimaraner",
Whippet = "whippet",
Other = "other",
}

export enum Gender {
Expand Down Expand Up @@ -143,6 +144,7 @@ export interface IPost {
type: FosterType;
size: Size;
breed: Breed[];
otherBreedDescription: string;
gender: Gender;
age: Age;
temperament: Temperament[];
Expand Down
Loading

0 comments on commit 660fd4a

Please sign in to comment.