refactor(actions): split classes.ts into a folder (slice 3)

908-line lib/actions/classes.ts → lib/actions/classes/{definitions,sessions,
signups,instructor}.ts ('use server') + _guard.ts (requirePermission/Gate) +
_forms.ts (findSpaceForm/hasFormSubmission) + a plain index.ts barrel. All 14
actions preserved verbatim; lib/actions/index.ts unchanged. Helpers stay
internal (not re-exported). tsc 0, tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Moheeb Zara
2026-08-04 06:01:02 -07:00
co-authored by Claude Opus 4.8
parent e205ce54c0
commit dbaae4851b
8 changed files with 963 additions and 908 deletions
+4
View File
@@ -0,0 +1,4 @@
export * from './definitions'
export * from './sessions'
export * from './signups'
export * from './instructor'