fix: export ActivityType as value not just type

Changed the activity.types export from 'export type *' to 'export *'
so that the ActivityType enum can be used as both a type and a value.

This is necessary because:
- Backend needs ActivityType.suggestion, ActivityType.like, etc. as values
- Frontend needs ActivityType enum for switch statements
- TypeScript enums need to be exported as values to be used at runtime
This commit is contained in:
2026-02-20 00:05:39 -08:00
committed by Naomi Carrigan
parent 391ea6d9f6
commit 7f255afce6
+1 -1
View File
@@ -5,7 +5,7 @@
*/ */
export * from "./lib/achievement.constants"; export * from "./lib/achievement.constants";
export * from "./lib/achievement.types"; export * from "./lib/achievement.types";
export type * from "./lib/activity.types"; export * from "./lib/activity.types";
export type * from "./lib/art.types"; export type * from "./lib/art.types";
export * from "./lib/audit.types"; export * from "./lib/audit.types";
export * from "./lib/auth.types"; export * from "./lib/auth.types";