Files
lettersoup-online/002_source/pocketbase/pb_hooks/seed/config.js
louiscklaw 99ee2f9fc3 ```
add admin user ID to seed config and update notification relations
```
2025-05-11 17:29:19 +08:00

31 lines
1.1 KiB
JavaScript

module.exports = {
ASSETS_DIR: "/pb_hooks/assets",
id_v: "1".padStart(15, 0), //id_vocabulary
id_c: "2".padStart(15, 0), //id_connectives
//
cat_id_news: "1".padStart(15, 0), // category id of news
cat_id_sport: "2".padStart(15, 0), // category id of sports
cat_id_tech: "3".padStart(15, 0), // category id of technology
cat_id_art: "4".padStart(15, 0), // category id of art
cat_id_basic: "5".padStart(15, 0), // category id of basic
cat_id_nature: "6".padStart(15, 0), // category id of nature
cat_id_workplace: "7".padStart(15, 0), // category id of workplace
//
cat_id_connectives_1: "11".padStart(15, 0), // category id of workplace
//
LP_cat_id_news: "1".padStart(15, 0),
LP_cat_id_sports: "2".padStart(15, 0),
LP_cat_id_technology: "3".padStart(15, 0),
//
MF_cat_id_news: "1".padStart(15, 0),
MF_cat_id_sports: "2".padStart(15, 0),
MF_cat_id_technology: "3".padStart(15, 0),
//
CR_cat_id_news: "1".padStart(15, 0),
CR_cat_id_sports: "2".padStart(15, 0),
CR_cat_id_technology: "3".padStart(15, 0),
//
user_id_admin: "999".padStart(15, 0),
user_id_test_teacher_1: "11".padStart(15, 0),
};