Skip to content

Commit 84a09fb

Browse files
Cleanup shop & add specification
Also reverted v2 change: `GET /shop/v2/` -> `GET /shop/` Cleaned up `POST /shop/item/buy/` with `{ itemName: "Jacket" }` to `{ name: "Jacket", ..all additional item properties }`
1 parent 683e8c9 commit 84a09fb

File tree

5 files changed

+427
-413
lines changed

5 files changed

+427
-413
lines changed

src/database/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { MentorOfficeHours } from "./mentor-db";
88
import { Event, EventAttendance, EventFollowers } from "./event-db";
99
import { NewsletterSubscription } from "./newsletter-db";
1010
import { RegistrationApplication } from "./registration-db";
11-
import { ShopItem } from "./shop-db";
11+
import { ShopItem } from "../services/shop/shop-schemas";
1212
import { UserAttendance, UserInfo } from "../services/user/user-schemas";
1313
import { AnyParamConstructor, IModelOptions } from "@typegoose/typegoose/lib/types";
1414
import { StaffShift } from "../services/staff/staff-schemas";

src/database/shop-db.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/services/shop/shop-formats.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)