Skip to content

Commit b6b9f8e

Browse files
kevin-lanngithub-actions[bot]
authored andcommitted
Auto-formatted the code using Prettier
1 parent d6f8691 commit b6b9f8e

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

course-matrix/backend/src/constants/availableFunctions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ export const availableFunctions: AvailableFunctions = {
352352
timetableData.id,
353353
offering.id.toString(),
354354
semester_start_date,
355-
semester_end_date
355+
semester_end_date,
356356
);
357357
}
358358

course-matrix/backend/src/controllers/aiController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export const chat = asyncHandler(async (req: Request, res: Response) => {
295295
// console.log("restrictions :", JSON.stringify(args.restrictions))
296296
const data = await availableFunctions.generateTimetable(
297297
args,
298-
req
298+
req,
299299
);
300300
// console.log("Generated timetable: ", data)
301301
return data;

course-matrix/backend/src/models/timetable-form.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ export const RestrictionSchema = z.object({
8686
.string()
8787
.optional()
8888
.describe(
89-
"If type is Restrict After, or Restrict Between, then this field describes the start time of the restricted time. Formatted HH:mm:ss"
89+
"If type is Restrict After, or Restrict Between, then this field describes the start time of the restricted time. Formatted HH:mm:ss",
9090
),
9191
endTime: z
9292
.string()
9393
.optional()
9494
.describe(
95-
"If type is Restrict Before, or Restrict Between, then this field describes the end time of the restricted time. Formatted HH:mm:ss"
95+
"If type is Restrict Before, or Restrict Between, then this field describes the end time of the restricted time. Formatted HH:mm:ss",
9696
),
9797
disabled: z
9898
.boolean()

course-matrix/backend/src/models/timetable-generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const CreateTimetableArgs = z.object({
6161
notes: z.string().optional(),
6262
code: z.string().describe("Course code"),
6363
})
64-
.describe("A course event")
64+
.describe("A course event"),
6565
)
6666
.describe("List of meeting sections"),
6767
});

course-matrix/frontend/src/components/assistant-ui/thread.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ const ThreadWelcome: FC = () => {
8484
can I help you today?
8585
</p>
8686
<p className="mt-4 text-sm text-gray-500">
87-
<span className="flex gap-2 items-center"><Lightbulb size={16}/><strong>Tip: </strong> Use /timetable to work with your timetables</span>
87+
<span className="flex gap-2 items-center">
88+
<Lightbulb size={16} />
89+
<strong>Tip: </strong> Use /timetable to work with your timetables
90+
</span>
8891
</p>
8992
</div>
9093
<ThreadWelcomeSuggestions />

0 commit comments

Comments
 (0)