create-entity-server 0.0.27 → 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.
- package/package.json +1 -1
- package/template/configs/cache.json +2 -1
- package/template/configs/database.json +18 -7
- package/template/entities/README.md +3 -3
- package/template/entities/System/Address/addr_dong.json +10115 -0
- package/template/entities/System/Address/addr_sido.json +39 -0
- package/template/entities/System/Address/addr_sigungu.json +1398 -0
- package/template/entities/System/Auth/account.json +94 -18
- package/template/entities/System/Auth/account_audit.json +11 -3
- package/template/entities/System/Auth/account_device.json +13 -27
- package/template/entities/System/Auth/account_login_log.json +17 -7
- package/template/entities/System/Auth/anon_device.json +56 -0
- package/template/entities/System/Auth/api_keys.json +18 -9
- package/template/entities/System/Auth/license.json +41 -20
- package/template/entities/System/Auth/rbac_roles.json +10 -7
- package/template/entities/System/Backup/backup_log.json +11 -7
- package/template/entities/System/Email/smtp_log.json +9 -5
- package/template/entities/System/Email/smtp_msg.json +5 -5
- package/template/entities/System/Storage/file_backup_log.json +11 -6
- package/template/entities/System/Storage/file_download_log.json +7 -5
- package/template/entities/System/Storage/file_meta.json +20 -7
- package/template/entities/System/system_audit_log.json +38 -34
- package/template/entities/company.json +5 -2
- package/template/entities/goods.json +10 -3
- package/template/entities/todo.json +4 -2
- package/template/samples/entities/01_basic_fields.json +15 -2
- package/template/samples/entities/02_types_and_defaults.json +15 -5
- package/template/samples/entities/03_hash_and_unique.json +18 -3
- package/template/samples/entities/04_fk_and_composite_unique.json +18 -3
- package/template/samples/entities/05_cache.json +15 -9
- package/template/samples/entities/06_history_and_hard_delete.json +19 -6
- package/template/samples/entities/07_license_scope.json +18 -3
- package/template/samples/entities/08_hook_sql.json +24 -5
- package/template/samples/entities/09_hook_entity.json +12 -2
- package/template/samples/entities/10_hook_submit_delete.json +14 -5
- package/template/samples/entities/11_hook_webhook.json +20 -6
- package/template/samples/entities/12_hook_push.json +15 -2
- package/template/samples/entities/13_read_only.json +8 -4
- package/template/samples/entities/14_optimistic_lock.json +13 -2
- package/template/samples/entities/15_reset_defaults.json +7 -1
- package/template/samples/entities/16_isolated_license.json +19 -6
- package/template/scripts/reset-all.sh +130 -3
- package/template/scripts/run.sh +129 -33
- package/template/templates/ocr/business_reg.json +145 -0
- package/template/templates/ocr/career_cert.json +93 -0
- package/template/templates/ocr/driver_license.json +89 -0
- package/template/templates/ocr/facility_card.json +82 -0
- package/template/templates/ocr/id_card.json +55 -0
- package/template/templates/ocr/invoice.json +92 -0
- package/template/templates/ocr/namecard.json +116 -0
- package/template/templates/ocr/prompts/business_reg.json +14 -0
- package/template/templates/ocr/prompts/career_cert.json +16 -0
- package/template/templates/ocr/prompts/driver_license.json +14 -0
- package/template/templates/ocr/prompts/facility_card.json +15 -0
- package/template/templates/ocr/prompts/general.json +13 -0
- package/template/templates/ocr/prompts/id_card.json +11 -0
- package/template/templates/ocr/prompts/invoice.json +17 -0
- package/template/templates/ocr/prompts/namecard.json +15 -0
- package/template/templates/ocr/prompts/receipt.json +14 -0
- package/template/templates/ocr/receipt.json +79 -0
- package/template/configs/auth/identity.json +0 -27
- package/template/configs/auth/oauth.json +0 -40
- package/template/configs/auth/password.json +0 -33
- package/template/configs/auth/privacy_policy.json +0 -28
- package/template/configs/auth/two_factor.json +0 -12
- package/template/configs/extensions/pg.json +0 -37
- package/template/configs/extensions/tax-invoice.json +0 -59
- package/template/configs/keys/apns.p8.example +0 -7
- package/template/configs/keys/firebase.pem.example +0 -7
- package/template/configs/notification/alimtalk.json +0 -75
- package/template/configs/notification/push.json +0 -25
- package/template/configs/notification/sms.json +0 -54
- package/template/entities/System/Auth/account_oauth.json +0 -45
- package/template/entities/System/Auth/identity_verification.json +0 -95
- package/template/entities/System/Auth/password_history.json +0 -20
- package/template/entities/System/Notification/alimtalk_log.json +0 -45
- package/template/entities/System/Notification/alimtalk_msg.json +0 -39
- package/template/entities/System/Notification/friendtalk_log.json +0 -48
- package/template/entities/System/Notification/friendtalk_msg.json +0 -63
- package/template/entities/System/Notification/sms_log.json +0 -26
- package/template/entities/System/Notification/sms_msg.json +0 -52
- package/template/entities/System/Notification/sms_verification.json +0 -40
- package/template/entities/System/Payment/pg_cancel.json +0 -45
- package/template/entities/System/Payment/pg_order.json +0 -88
- package/template/entities/System/Payment/pg_webhook_log.json +0 -37
- package/template/entities/System/Push/push_log.json +0 -71
- package/template/entities/System/Push/push_msg.json +0 -55
- package/template/templates/email/account/dormancy_warning.html +0 -20
- package/template/templates/email/account/password_expiry_warning.html +0 -21
- package/template/templates/email/auth/2fa_disabled.html +0 -23
- package/template/templates/email/auth/2fa_recovery_regenerated.html +0 -31
- package/template/templates/email/auth/2fa_setup_complete.html +0 -43
- package/template/templates/email/auth/email_verification.html +0 -18
- package/template/templates/email/auth/force_reset.html +0 -18
- package/template/templates/email/auth/password_reset.html +0 -19
- package/template/templates/email/auth/verification.html +0 -15
- package/template/templates/email/auth/verification_link.html +0 -25
- package/template/templates/email/auth/welcome.html +0 -18
- package/template/templates/email/order/order_confirmation.html +0 -30
- /package/template/configs/{notification/smtp.json → smtp.json} +0 -0
package/package.json
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"default": "
|
|
2
|
+
"default": "distance_es",
|
|
3
3
|
"groups": {
|
|
4
|
-
"
|
|
4
|
+
"distance_es": {
|
|
5
5
|
"driver": "mysql",
|
|
6
|
-
"host": "${
|
|
7
|
-
"port": "${
|
|
8
|
-
"database": "${
|
|
9
|
-
"user": "${
|
|
10
|
-
"password": "${
|
|
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
|
-
"
|
|
234
|
-
"comment": "
|
|
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": [["
|
|
242
|
+
"unique": [["account_seq", "device_id"]]
|
|
243
243
|
}
|
|
244
244
|
```
|
|
245
245
|
|