mirror of
https://github.com/NinjaCheetah/RIT-Dining.git
synced 2026-03-04 21:25:27 -05:00
Add feedback submission sheet
Also fixed a bug where locations with overlapping close and open times would show "Closing Soon" for 30 minutes just to then switch to "Open" when it rolled over.
This commit is contained in:
16
Shared/Data/Constant/FDMPMealPeriods.swift
Normal file
16
Shared/Data/Constant/FDMPMealPeriods.swift
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// FDMPMealPeriods.swift
|
||||
// TigerDine
|
||||
//
|
||||
// Created by Campbell on 11/8/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
let fdmpMealPeriodsMap: [Int: String] = [
|
||||
1: "Breakfast",
|
||||
2: "Lunch",
|
||||
3: "Dinner",
|
||||
6: "Late Night",
|
||||
8: "All Day",
|
||||
]
|
||||
25
Shared/Data/Constant/TCtoFDMPMap.swift
Normal file
25
Shared/Data/Constant/TCtoFDMPMap.swift
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// TCtoFDMPMap.swift
|
||||
// TigerDine
|
||||
//
|
||||
// Created by Campbell on 11/8/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Maps the IDs used by TigerCenter to the locationId and accountId values used by FD MealPlanner. This is used to get menus for locations from their detail views.
|
||||
let tCtoFDMPMap: [Int: (Int, Int)] = [
|
||||
// These are ordered based on the way that they're ordered in the FD MealPlanner search API response.
|
||||
30: (1, 1), // Artesano
|
||||
31: (2, 2), // Beanz
|
||||
23: (7, 7), // Crossroads
|
||||
25: (8, 8), // Cantina
|
||||
34: (6, 6), // Ctr-Alt-DELi
|
||||
21: (10, 10), // Gracie's
|
||||
22: (4, 4), // Brick City Cafe
|
||||
441: (11, 11), // Loaded Latke
|
||||
38: (12, 12), // Midnight Oil
|
||||
26: (14, 4), // RITZ
|
||||
35: (18, 17), // The College Grind
|
||||
24: (15, 14), // The Commons
|
||||
]
|
||||
Reference in New Issue
Block a user