@adonis-agora/config 0.4.3 → 0.5.0
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/CHANGELOG.md +12 -0
- package/dist/assets/spa/assets/index-ASDHkKlZ.js +51 -0
- package/dist/assets/spa/assets/index-ASDHkKlZ.js.map +1 -0
- package/dist/assets/spa/assets/index-CmIy8IeO.css +1 -0
- package/dist/assets/spa/index.html +2 -2
- package/dist/configure.d.ts.map +1 -1
- package/dist/configure.js +2 -0
- package/dist/configure.js.map +1 -1
- package/dist/src/admin.d.ts +23 -0
- package/dist/src/admin.d.ts.map +1 -1
- package/dist/src/admin.js +83 -1
- package/dist/src/admin.js.map +1 -1
- package/dist/src/dashboard/console.d.ts.map +1 -1
- package/dist/src/dashboard/console.js +33 -1
- package/dist/src/dashboard/console.js.map +1 -1
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/store/lucid_store.d.ts +14 -1
- package/dist/src/store/lucid_store.d.ts.map +1 -1
- package/dist/src/store/lucid_store.js +54 -16
- package/dist/src/store/lucid_store.js.map +1 -1
- package/dist/src/store/memory_store.d.ts +14 -1
- package/dist/src/store/memory_store.d.ts.map +1 -1
- package/dist/src/store/memory_store.js +43 -3
- package/dist/src/store/memory_store.js.map +1 -1
- package/dist/src/store/schema.d.ts +15 -0
- package/dist/src/store/schema.d.ts.map +1 -1
- package/dist/src/store/schema.js +59 -0
- package/dist/src/store/schema.js.map +1 -1
- package/dist/src/store/store.d.ts +28 -0
- package/dist/src/store/store.d.ts.map +1 -1
- package/dist/src/store/store.js.map +1 -1
- package/dist/stubs/config/config.stub +5 -2
- package/dist/stubs/database/migrations/add_config_audit_indexes.stub +32 -0
- package/dist/stubs/database/migrations/create_config_tables.stub +6 -6
- package/package.json +2 -2
- package/dist/assets/spa/assets/index-Cvjcgc6i.css +0 -1
- package/dist/assets/spa/assets/index-YJGSmdC0.js +0 -51
- package/dist/assets/spa/assets/index-YJGSmdC0.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @adonis-agora/config
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#16](https://github.com/DavideCarvalho/adonis-agora-config/pull/16) [`464df30`](https://github.com/DavideCarvalho/adonis-agora-config/commit/464df30687f20d67b3599547b60e292bb21d903d) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The console's Audit and History pages page by cursor, so a deep page costs what the first one does and no page counts the scope's whole trail.
|
|
8
|
+
|
|
9
|
+
- `GET /audit` and `GET /versions` accept `first`/`after` and answer `{ data, meta: { nextCursor, prevCursor, hasNext, hasPrev } }`. The audit seeks past `(at, version, id)` and the versions past `version`, with no `COUNT(*)`. `page`/`size` keep the offset envelope and its total. `ConfigAdmin.auditCursor` / `versionsCursor` are the same reads in code.
|
|
10
|
+
- Stores gain optional `seekAudit` / `seekVersions`; both built-in stores implement them. The audit order now breaks ties on `at` and `version` by `id`, so rows written by one multi-key change keep one order across pages.
|
|
11
|
+
- The console walks both lists with Previous/Next and keeps the walked cursors in the URL (`#/audit?after=…`). It no longer shows a row total.
|
|
12
|
+
- New migration `add_config_audit_indexes` (published by `configure`), plus `createConfigAuditIndexes` / `dropConfigAuditIndexes`. `config_audit` had no index but its primary key. The migration indexes it by scope + `at`, scope + key, and scope + action, built `CONCURRENTLY` on Postgres. Opt-in: run it once on existing installs (see Deployment).
|
|
13
|
+
- Fix: `node ace configure @adonis-agora/config` failed to render its stubs. `config/config.stub` had no `exports({ to })` header, and backticks in the comments of both stubs broke the stub template. A spec now renders every stub through the real engine.
|
|
14
|
+
|
|
3
15
|
## 0.4.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|