mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
20 lines
735 B
TypeScript
20 lines
735 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { DateSchema } from './dateSchema.js';
|
|
import type { ClientMetricsSchemaBucketToggles } from './clientMetricsSchemaBucketToggles.js';
|
|
|
|
/**
|
|
* Holds all metrics gathered over a window of time. Typically 1 hour wide
|
|
*/
|
|
export type ClientMetricsSchemaBucket = {
|
|
/** The start of the time window these metrics are valid for. The window is usually 1 hour wide */
|
|
start: DateSchema;
|
|
/** The end of the time window these metrics are valid for. The window is 1 hour wide */
|
|
stop: DateSchema;
|
|
/** an object containing feature names with yes/no plus variant usage */
|
|
toggles: ClientMetricsSchemaBucketToggles;
|
|
};
|