From a4504537ebd88d3115fe1c177b32463aab544bf6 Mon Sep 17 00:00:00 2001 From: Tim Glaser Date: Sun, 17 May 2026 07:52:16 +0000 Subject: [PATCH] chore(codegen): daily schema refresh (2026-05-17) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regenerated src/generated/api.d.ts from the live OpenAPI spec. Only change is added docstrings on TrendsFilter.aggregationAxisFormat, aggregationAxisPrefix, aggregationAxisPostfix, and decimalPlaces — no structural schema changes. No new operationIds added to openapi-filter.yaml: no managed resource family gained CRUD endpoints worth wiring up. Generated-By: PostHog Code Task-Id: 1fe10663-6a0c-49fa-8f02-564ac60b9a4b --- src/generated/api.d.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/generated/api.d.ts b/src/generated/api.d.ts index a99ab6c..802f089 100644 --- a/src/generated/api.d.ts +++ b/src/generated/api.d.ts @@ -14178,15 +14178,28 @@ export interface components { }; /** TrendsFilter */ TrendsFilter: { - /** @default numeric */ + /** + * @description Y-axis value formatter. Picks a human-friendly unit per value at render time without changing the underlying series values. + * + * - `numeric` (default): raw numbers, e.g. `1,234`. + * - `duration`: values are in seconds; rendered as friendly units per value (`45s`, `2m 12s`, `1h 4m`). Use this whenever the series is in seconds (latency, session length, time-to-event) instead of dividing in `formula` to force minutes or hours. + * - `duration_ms`: values are in milliseconds; rendered as friendly units (`850ms`, `1.5s`, `1m 4s`). + * - `percentage`: values are already in the 0-100 range; appends `%`. + * - `percentage_scaled`: values are a 0-1 ratio; multiplied and rendered as `%`. + * - `currency`: values are in the project's base currency (set in project settings, defaults to USD); rendered with that currency symbol. For values pinned to a specific currency regardless of project base (e.g. `$ai_total_cost_usd` is always USD), use `aggregationAxisPrefix` instead. + * - `short`: compact notation for large counts (`1.2K`, `3.4M`). + * @default numeric + */ aggregationAxisFormat: components["schemas"]["AggregationAxisFormat"] | null; /** * Aggregationaxispostfix + * @description Literal suffix applied to every value (e.g. ` req`). Reserve for units that `aggregationAxisFormat` cannot express. Do not use ` mins`, ` s`, ` ms`, `%` etc. — pick the matching `aggregationAxisFormat` instead so the underlying values stay numerically correct for breakdowns, formulas, and alerts. Include any leading space yourself. * @default null */ aggregationAxisPostfix: string | null; /** * Aggregationaxisprefix + * @description Literal prefix applied to every value (e.g. `$`). Use to pin a unit or currency symbol that does not depend on `aggregationAxisFormat` — for example, when values are denominated in a fixed currency regardless of the project's base currency. Include any trailing space yourself. * @default null */ aggregationAxisPrefix: string | null; @@ -14202,6 +14215,7 @@ export interface components { confidenceLevel: number | null; /** * Decimalplaces + * @description Maximum number of decimal places shown. 1 or 2 is usually right for percentages and currency. * @default null */ decimalPlaces: number | null;