mirror of
https://github.com/marcogll/AnchorOS.git
synced 2026-03-15 13:24:27 +00:00
docs: add comprehensive code comments, update README and TASKS, create training and troubleshooting guides
- Add JSDoc comments to API routes and business logic functions - Update README.md with Phase 2 status and deployment/production notes - Enhance TASKS.md with estimated timelines and dependencies - Create docs/STAFF_TRAINING.md for team onboarding - Create docs/CLIENT_ONBOARDING.md for customer experience - Create docs/OPERATIONAL_PROCEDURES.md for daily operations - Create docs/TROUBLESHOOTING.md for common setup issues - Fix TypeScript errors in hq/page.tsx
This commit is contained in:
@@ -18,6 +18,9 @@ async function validateKiosk(request: NextRequest) {
|
||||
return kiosk
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Retrieves pending/confirmed bookings for kiosk
|
||||
*/
|
||||
export async function GET(request: NextRequest) {
|
||||
try {
|
||||
const kiosk = await validateKiosk(request)
|
||||
@@ -72,6 +75,9 @@ export async function GET(request: NextRequest) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Creates a new booking for kiosk
|
||||
*/
|
||||
export async function POST(request: NextRequest) {
|
||||
try {
|
||||
const kiosk = await validateKiosk(request)
|
||||
|
||||
Reference in New Issue
Block a user