# AI GUIDELINE ## getting started no need to reply me what you are going on and your digest in this phase. just reply me "OK" when done base_dir=`/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project` please read `/001_documentation/Requirements/REQ0006/schema.dbml` this is file in dbml syntax state the main database please read `/002_source/cms/src/db/schema.json` this is the file of live pocketbase schema output please look into the md files in folder `/002_source/cms/_AI_GUIDELINE` please read, remember and link up the ideas in file stated above, i will tell you the task afterwards this is now not in debug phase, so, no need to reply me what you are going on or your insight throught the prompt. just reply me "OK" when done --- clone `GetVisibleCount.tsx` and `GetHiddenCount.tsx` from `LessonTypes` to `LessonCategories` and update it please draft `GetHiddenCount.tsx` for COL_LESSON_TYPES and `status = hidden` well done !, please proceed to another request working directory: `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/db` according information from `schema.json`, get the collection of `Students` pleaes clone the `tsx` files from `LessonTypes` and `LessonCategories` to `Students` and update the content when you draft coding, review file and append with `.tsx.draft` --- - this is part of react typescript project, with pocketbase - `schema.dbml`, describe the collections(tables) - folder `LessonCategories`, the correct references - folder `LessonTypes`, the correct references - you can find the `schema.dbml` and schema information from `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/001_documentation/Requirements/REQ0006` - do not read root directory, assume it is a fresh copy of nextjs project is ok ## instruction - break the questions into smaller parts - review file append with `.draft`, see if the content aligned with the correct references - read and understand `dbml` file - lookup the every folder ## tasks Thanks --- please take a look in `schema.dbml` and `schema.json`, associate the collection from json file to the table in dbml file please modify the `schema.dbml` to align with `schema.json` to the collection `QuizLPCategories` align the dbml file in the previous prompt --- please revise please revise `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/types/LpCategory.tsx` `interface LpCategory` to the collection `QuizLPCategories` align the dbml file in the previous prompt please modify `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/components/dashboard/lp_categories/_constants.tsx` to follow the type definition in `/home/logic/_wsl_workspace/001_github_ws/lettersoup-online-ws/lettersoup-online/project/002_source/cms/src/types/LpCategory.tsx`, the constant `defaultLpCategory`