Skip to content

Commit 660fd4a

Browse files
committed
other option select
1 parent d023167 commit 660fd4a

File tree

13 files changed

+1422
-6
lines changed

13 files changed

+1422
-6
lines changed

email-notification/models.ts

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ const postSchema = new Schema<IPost | IDraftPost>({
162162
enum: Object.values(Breed),
163163
},
164164
],
165+
otherBreedDescription: { type: String },
165166
gender: {
166167
type: String,
167168
default: null,

email-notification/types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export enum Breed {
7777
TerrierSmall = "terrierSmall", // Terrier (Small)
7878
Weimaraner = "weimaraner",
7979
Whippet = "whippet",
80+
Other = "other",
8081
}
8182

8283
export enum Gender {
@@ -143,6 +144,7 @@ export interface IPost {
143144
type: FosterType;
144145
size: Size;
145146
breed: Breed[];
147+
otherBreedDescription: string;
146148
gender: Gender;
147149
age: Age;
148150
temperament: Temperament[];

0 commit comments

Comments
 (0)