@appweaver/create-weaver-app 1.4.0 → 1.4.1
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
CHANGED
|
@@ -99,6 +99,7 @@ The config object is frozen with `Object.freeze()` after loading to prevent runt
|
|
|
99
99
|
| `LOG_ROTATE_INTERVAL` | string | `'1d'` | Rotation interval (e.g. `'1d'` for daily). |
|
|
100
100
|
| `LOG_ROTATE_COMPRESS` | boolean | `true` | Compress rotated log files with gzip. |
|
|
101
101
|
| `LOG_PRETTY` | boolean | `false` | Enable pretty-printed JSON logs. |
|
|
102
|
+
| `LOG_SYNC` | boolean | `false` | Write each record before the next statement runs, instead of buffering it. |
|
|
102
103
|
|
|
103
104
|
### Server (SERVER\_\*)
|
|
104
105
|
|
|
@@ -256,12 +257,12 @@ The config object is frozen with `Object.freeze()` after loading to prevent runt
|
|
|
256
257
|
|
|
257
258
|
#### OAuth2 general
|
|
258
259
|
|
|
259
|
-
| Property | Type | Default | Description
|
|
260
|
-
|
|
261
|
-
| `SECURITY_OAUTH2_STATE_TTL` | integer | `600000` | OAuth2 state parameter TTL in milliseconds (default 10 min).
|
|
262
|
-
| `SECURITY_OAUTH2_REGISTRATION_ENABLED` | boolean | `true` | Allow registering new users via OAuth2 login. When `false`, only already existing users (matched by email) can log in via OAuth2.
|
|
260
|
+
| Property | Type | Default | Description |
|
|
261
|
+
|----------------------------------------------------------|---------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
262
|
+
| `SECURITY_OAUTH2_STATE_TTL` | integer | `600000` | OAuth2 state parameter TTL in milliseconds (default 10 min). |
|
|
263
|
+
| `SECURITY_OAUTH2_REGISTRATION_ENABLED` | boolean | `true` | Allow registering new users via OAuth2 login. When `false`, only already existing users (matched by email) can log in via OAuth2. |
|
|
263
264
|
| `SECURITY_OAUTH2_FETCH_AVATAR_ENABLED` | boolean | `true` | Download the user's avatar from the OAuth2 provider during registration and pass it as `avatarFile` to `registrationData` and `registrationFiles`. Set to `false` to pass only `avatarUrl` and skip the download. |
|
|
264
|
-
| `SECURITY_OAUTH2_CONNECTED_ACCOUNTS_KEEP_DATABASE_TABLE` | boolean | `false` | Keep the `ConnectedAccount` table even when every OAuth2 provider is disabled, so the links are not dropped by the next migration.
|
|
265
|
+
| `SECURITY_OAUTH2_CONNECTED_ACCOUNTS_KEEP_DATABASE_TABLE` | boolean | `false` | Keep the `ConnectedAccount` table even when every OAuth2 provider is disabled, so the links are not dropped by the next migration. |
|
|
265
266
|
|
|
266
267
|
#### OAuth2 Google
|
|
267
268
|
|