create-entity-server 0.0.31 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/template/configs/database.json +18 -7
  3. package/template/entities/README.md +3 -3
  4. package/template/entities/System/Address/addr_dong.json +10115 -0
  5. package/template/entities/System/Address/addr_sido.json +39 -0
  6. package/template/entities/System/Address/addr_sigungu.json +1398 -0
  7. package/template/entities/System/Auth/account.json +0 -64
  8. package/template/entities/System/Auth/account_device.json +7 -22
  9. package/template/entities/System/Auth/account_login_log.json +3 -8
  10. package/template/entities/System/Auth/anon_device.json +56 -0
  11. package/template/scripts/reset-all.sh +78 -5
  12. package/template/scripts/run.sh +73 -27
  13. package/template/configs/auth/oauth.json +0 -40
  14. package/template/configs/auth/password.json +0 -45
  15. package/template/configs/keys/apns.p8.example +0 -7
  16. package/template/configs/keys/firebase.pem.example +0 -7
  17. package/template/configs/notification/push.json +0 -25
  18. package/template/entities/System/Auth/account_oauth.json +0 -74
  19. package/template/entities/System/Auth/identity_verification.json +0 -106
  20. package/template/entities/System/Auth/password_history.json +0 -19
  21. package/template/entities/System/Notification/alimtalk_log.json +0 -65
  22. package/template/entities/System/Notification/alimtalk_msg.json +0 -53
  23. package/template/entities/System/Notification/friendtalk_log.json +0 -89
  24. package/template/entities/System/Notification/friendtalk_msg.json +0 -91
  25. package/template/entities/System/Notification/sms_log.json +0 -65
  26. package/template/entities/System/Notification/sms_msg.json +0 -82
  27. package/template/entities/System/Notification/sms_verification.json +0 -50
  28. package/template/entities/System/Payment/pg_cancel.json +0 -60
  29. package/template/entities/System/Payment/pg_order.json +0 -115
  30. package/template/entities/System/Payment/pg_webhook_log.json +0 -52
  31. package/template/entities/System/Push/push_log.json +0 -86
  32. package/template/entities/System/Push/push_msg.json +0 -56
  33. package/template/templates/email/auth/2fa_disabled.html +0 -23
  34. package/template/templates/email/auth/2fa_recovery_regenerated.html +0 -31
  35. package/template/templates/email/auth/2fa_setup_complete.html +0 -43
  36. package/template/templates/email/auth/welcome.html +0 -18
  37. package/template/templates/email/order/order_confirmation.html +0 -30
  38. /package/template/configs/{notification/smtp.json → smtp.json} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-entity-server",
3
- "version": "0.0.31",
3
+ "version": "0.2.2",
4
4
  "description": "Create a new entity-server project in one command — like create-react-app or create-vite.",
5
5
  "keywords": [
6
6
  "entity-server",
@@ -1,13 +1,24 @@
1
1
  {
2
- "default": "development",
2
+ "default": "distance_es",
3
3
  "groups": {
4
- "development": {
4
+ "distance_es": {
5
5
  "driver": "mysql",
6
- "host": "${DB_HOST_DEVELOPMENT}",
7
- "port": "${DB_PORT_DEVELOPMENT}",
8
- "database": "${DB_NAME_DEVELOPMENT}",
9
- "user": "${DB_USER_DEVELOPMENT}",
10
- "password": "${DB_PASSWORD_DEVELOPMENT}",
6
+ "host": "${DB_HOST_DISTANCE_DEV}",
7
+ "port": "${DB_PORT_DISTANCE_DEV}",
8
+ "database": "${DB_NAME_DISTANCE_DEV}",
9
+ "user": "${DB_USER_DISTANCE_DEV}",
10
+ "password": "${DB_PASSWORD_DISTANCE_DEV}",
11
+ "maxOpenConns": 50,
12
+ "maxIdleConns": 25,
13
+ "connMaxLifetimeSec": 3600
14
+ },
15
+ "codeshop_entities": {
16
+ "driver": "mysql",
17
+ "host": "${DB_HOST_CODESHOP_DEV}",
18
+ "port": "${DB_PORT_CODESHOP_DEV}",
19
+ "database": "${DB_NAME_CODESHOP_DEV}",
20
+ "user": "${DB_USER_CODESHOP_DEV}",
21
+ "password": "${DB_PASSWORD_CODESHOP_DEV}",
11
22
  "maxOpenConns": 20,
12
23
  "maxIdleConns": 10,
13
24
  "connMaxLifetimeSec": 3600
@@ -230,8 +230,8 @@ API_KEY=<admin-key> ./scripts/api-keys.sh delete 3
230
230
  ```json
231
231
  {
232
232
  "index": {
233
- "user_seq": {
234
- "comment": "사용자seq",
233
+ "account_seq": {
234
+ "comment": "계정seq",
235
235
  "required": true
236
236
  },
237
237
  "device_id": {
@@ -239,7 +239,7 @@ API_KEY=<admin-key> ./scripts/api-keys.sh delete 3
239
239
  "required": true
240
240
  }
241
241
  },
242
- "unique": [["user_seq", "device_id"]]
242
+ "unique": [["account_seq", "device_id"]]
243
243
  }
244
244
  ```
245
245