@objectstack/service-analytics 17.1.0 → 17.3.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 +796 -0
- package/README.md +5 -3
- package/dist/index.cjs +465 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +203 -20
- package/dist/index.d.ts +203 -20
- package/dist/index.js +473 -37
- package/dist/index.js.map +1 -1
- package/package.json +16 -10
package/README.md
CHANGED
|
@@ -103,8 +103,10 @@ is rejected rather than dropped.
|
|
|
103
103
|
| `timezone` | `string?` | IANA name. No default — an absent timezone means the engine resolves it. |
|
|
104
104
|
|
|
105
105
|
There is no `filters` key and no `aggregations` key. `filters` is rejected at the REST
|
|
106
|
-
door with a 400 naming `where
|
|
107
|
-
`filters
|
|
106
|
+
door with a 400 naming `where`. There is no per-metric filter key either — the cube
|
|
107
|
+
metric's `filters` was removed (#10414: no strategy ever read it); fold a per-metric
|
|
108
|
+
condition into the metric's own `sql` expression, or use an ADR-0021 dataset measure's
|
|
109
|
+
structured `filter`.
|
|
108
110
|
|
|
109
111
|
```typescript
|
|
110
112
|
const revenueByStatus = await analytics.query({
|
|
@@ -191,4 +193,4 @@ Apache-2.0. See [LICENSING.md](../../../LICENSING.md).
|
|
|
191
193
|
|
|
192
194
|
- [@objectstack/objectql](../../objectql/)
|
|
193
195
|
- [@objectstack/driver-memory](../../drivers/driver-memory/) — ships `InMemoryStrategy`
|
|
194
|
-
- [Analytics Guide](https://
|
|
196
|
+
- [Analytics Guide](https://objectstack.ai/docs/data-modeling/analytics)
|