@panneau/protocol 5.0.0-alpha.39 → 5.0.0-alpha.41

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.
Files changed (40) hide show
  1. package/dist/conformance/index.d.ts.map +1 -1
  2. package/dist/conformance/index.js +29 -7
  3. package/dist/conformance/index.js.map +1 -1
  4. package/dist/index.js +4 -4
  5. package/dist/lint.d.ts.map +1 -1
  6. package/dist/lint.js +176 -20
  7. package/dist/lint.js.map +1 -1
  8. package/dist/mock/index.js +2 -2
  9. package/dist/mock/index.js.map +1 -1
  10. package/dist/openapi.d.ts.map +1 -1
  11. package/dist/openapi.js +3 -1
  12. package/dist/openapi.js.map +1 -1
  13. package/dist/periods.d.ts +12 -0
  14. package/dist/periods.d.ts.map +1 -1
  15. package/dist/periods.js +38 -1
  16. package/dist/periods.js.map +1 -1
  17. package/dist/runtime/index.d.ts +2 -2
  18. package/dist/runtime/index.d.ts.map +1 -1
  19. package/dist/runtime/index.js +3 -3
  20. package/dist/schemas/definition.d.ts +930 -2
  21. package/dist/schemas/definition.d.ts.map +1 -1
  22. package/dist/schemas/index.d.ts +4158 -4
  23. package/dist/schemas/index.d.ts.map +1 -1
  24. package/dist/schemas/index.js +14 -3
  25. package/dist/schemas/index.js.map +1 -1
  26. package/dist/schemas/resource.d.ts +464 -0
  27. package/dist/schemas/resource.d.ts.map +1 -1
  28. package/dist/schemas/theme.d.ts +2 -2
  29. package/dist/schemas/widget.d.ts +4210 -0
  30. package/dist/schemas/widget.d.ts.map +1 -1
  31. package/dist/schemas/widget.js +184 -17
  32. package/dist/schemas/widget.js.map +1 -1
  33. package/dist/widgets.d.ts +158 -7
  34. package/dist/widgets.d.ts.map +1 -1
  35. package/dist/widgets.js +469 -40
  36. package/dist/widgets.js.map +1 -1
  37. package/package.json +1 -1
  38. package/schema/boot.schema.json +459 -0
  39. package/schema/definition.schema.json +459 -0
  40. package/schema/openapi.json +976 -5
package/dist/widgets.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import { type ListQuery } from './query.js';
2
+ import type { WidgetNumberFormat } from './schemas/index.js';
2
3
  /**
3
4
  * The widget types that every client draws (decisions 0064 and 0084). Other types are widgets of
4
5
  * plugins.
5
6
  */
6
- export declare const BUILT_IN_WIDGET_TYPES: readonly ["stat", "series", "list", "breakdown"];
7
+ export declare const BUILT_IN_WIDGET_TYPES: readonly ["stat", "series", "list", "breakdown", "metric", "table"];
7
8
  export type BuiltInWidgetType = (typeof BUILT_IN_WIDGET_TYPES)[number];
8
9
  /** The periods of the points of a `series` widget. */
9
10
  export declare const WIDGET_SERIES_PERIODS: readonly ["day", "week", "month"];
@@ -12,11 +13,42 @@ export type WidgetSeriesPeriod = (typeof WIDGET_SERIES_PERIODS)[number];
12
13
  export declare const WIDGET_LIST_MAX_ITEMS = 5;
13
14
  /** The most items of a `breakdown` widget: the rest is its `other`. */
14
15
  export declare const WIDGET_BREAKDOWN_MAX_ITEMS = 10;
16
+ /** The parts of a `metric` that clients draw as bars: the rest goes in "Other" (decision 0089). */
17
+ export declare const WIDGET_METRIC_MAX_PARTS = 5;
18
+ /** The most lines of a `series` (decision 0089): 5 values of a field, and the rest. */
19
+ export declare const WIDGET_SERIES_MAX_SERIES = 6;
20
+ /**
21
+ * The most lines a `series` on resources reads (decision 0089): its `sources`, or the values of
22
+ * its `split`, past which the rest is one line, "Other".
23
+ */
24
+ export declare const WIDGET_SOURCES_MAX = 5;
25
+ /** The most rows of a `table` widget, and of its `rows` on resources (decision 0089). */
26
+ export declare const WIDGET_TABLE_MAX_ROWS = 8;
27
+ /** The most columns of numbers of a `table` widget, after the column of the labels. */
28
+ export declare const WIDGET_TABLE_MAX_COLUMNS = 6;
29
+ /** How the columns of a `table` align their numbers: `end` by default. */
30
+ export declare const WIDGET_TABLE_ALIGNS: readonly ["start", "end"];
31
+ /** Whether a rise or a fall of a `metric` or a `table` is good news (`settings.goodWhen`). */
32
+ export declare const WIDGET_GOOD_WHEN: readonly ["up", "down"];
33
+ export type WidgetGoodWhen = (typeof WIDGET_GOOD_WHEN)[number];
34
+ /** The options of `Intl.NumberFormat` that a widget's `format` takes (decision 0089). */
35
+ export declare const WIDGET_FORMAT_STYLES: readonly ["decimal", "percent", "currency", "unit"];
36
+ export declare const WIDGET_FORMAT_CURRENCY_DISPLAYS: readonly ["symbol", "narrowSymbol", "code", "name"];
37
+ export declare const WIDGET_FORMAT_UNIT_DISPLAYS: readonly ["short", "narrow", "long"];
38
+ export declare const WIDGET_FORMAT_NOTATIONS: readonly ["standard", "compact"];
39
+ export declare const WIDGET_FORMAT_SIGN_DISPLAYS: readonly ["auto", "always", "exceptZero", "never"];
40
+ /**
41
+ * The units of `Intl.NumberFormat` (the sanctioned units of ECMA-402): a widget's `format` takes
42
+ * one, or two joined by `-per-` (`kilometer-per-hour`).
43
+ */
44
+ export declare const WIDGET_FORMAT_UNITS: readonly ["acre", "bit", "byte", "celsius", "centimeter", "day", "degree", "fahrenheit", "fluid-ounce", "foot", "gallon", "gigabit", "gigabyte", "gram", "hectare", "hour", "inch", "kilobit", "kilobyte", "kilogram", "kilometer", "liter", "megabit", "megabyte", "meter", "microsecond", "mile", "mile-scandinavian", "milliliter", "millimeter", "millisecond", "minute", "month", "nanosecond", "ounce", "percent", "petabyte", "pound", "second", "stone", "terabit", "terabyte", "week", "yard", "year"];
45
+ /** Whether a string is a unit of `Intl.NumberFormat`, or two joined by `-per-`. */
46
+ export declare function isWidgetUnit(value: unknown): value is string;
15
47
  /**
16
48
  * The built-in types that can read a resource (`settings.resource`): `stat` and `list` read its
17
- * list, `series` and `breakdown` its aggregates, and a `stat` with a `sum:` measure too.
49
+ * list, `series`, `breakdown` and `metric` its aggregates, and a `stat` with a `sum:` measure too.
18
50
  */
19
- export declare const RESOURCE_WIDGET_TYPES: readonly ["stat", "series", "list", "breakdown"];
51
+ export declare const RESOURCE_WIDGET_TYPES: readonly ["stat", "series", "list", "breakdown", "metric"];
20
52
  /** The built-in types that read the aggregates of a resource, grouped by `settings.group`. */
21
53
  export declare const GROUPED_WIDGET_TYPES: readonly ["series", "breakdown"];
22
54
  /** Query parameters that the client sets on the list of a widget on a resource, never `query`. */
@@ -57,6 +89,96 @@ export interface WidgetResource {
57
89
  * widget with data of its own at `GET /dashboard/widgets/{widget}`, and for widgets of plugins.
58
90
  */
59
91
  export declare function getWidgetResource(widget: WidgetLike): WidgetResource | null;
92
+ /** The items of a source that call for attention, counted with its query and period. */
93
+ export interface WidgetSourceAlert {
94
+ /** The query of the source with the alert's on top: the request, and the link to the list. */
95
+ params: URLSearchParams;
96
+ query: ListQuery;
97
+ /** What they are, after their count: `failed`. */
98
+ label: string;
99
+ /** Their tone: `danger` by default. */
100
+ tone: string;
101
+ }
102
+ /**
103
+ * A source of a widget on several resources (decision 0089): a line of a `series` with
104
+ * `settings.sources`, or a row of a `table` with `settings.rows`.
105
+ */
106
+ export interface WidgetSource {
107
+ resource: string;
108
+ label: string;
109
+ /** Its query, as query parameters, without `page`, `perPage` and `cursor`; and parsed. */
110
+ params: URLSearchParams;
111
+ query: ListQuery;
112
+ /** `count`, or `sum:{field}`. */
113
+ measure: string;
114
+ /**
115
+ * `{period}:{date field}`: the points of a line of a `series` (its `group`, or the widget's),
116
+ * of the trend of a row of a `table` (its `points`, or the widget's). `null` without one.
117
+ */
118
+ group: string | null;
119
+ /**
120
+ * The `date-range` filter of its list that gets the period of the overview (its `period`, or
121
+ * the widget's), `false` when it doesn't follow it, `null` when none is named.
122
+ */
123
+ period: string | false | null;
124
+ /** A line under its label (a line of a `series`). */
125
+ help: string | null;
126
+ /** The tone of its line (a line of a `series`). */
127
+ tone: string | null;
128
+ alert: WidgetSourceAlert | null;
129
+ }
130
+ /**
131
+ * The sources of a widget on several resources (decision 0089): the `sources` of a `series`, at
132
+ * most `WIDGET_SOURCES_MAX`, or the `rows` of a `table`, at most `WIDGET_TABLE_MAX_ROWS`. Each one
133
+ * takes the `group` (`points` for a row) and the `period` of the widget when it has none. Empty for
134
+ * other widgets.
135
+ */
136
+ export declare function getWidgetSources(widget: WidgetLike): WidgetSource[];
137
+ /**
138
+ * Whether a built-in widget reads resources rather than data of its own at
139
+ * `GET /dashboard/widgets/{widget}`: `settings.resource`, or the `sources` of a `series` or the
140
+ * `rows` of a `table` (decision 0089).
141
+ */
142
+ export declare function readsResources(widget: WidgetLike): boolean;
143
+ /** What a read of the aggregates of a widget is for, when it combines several (decision 0089). */
144
+ export type WidgetAggregateRole =
145
+ /** The number: of a `metric`, of a row of a `table`. */
146
+ 'value'
147
+ /** A line of points: the trend of a `metric` or of a row, a line of a `series`, its total. */
148
+ | 'points'
149
+ /** The parts of a `metric` (`by`), the values of the `split` of a `series`. */
150
+ | 'parts'
151
+ /** The count of the alert of a source. */
152
+ | 'alert';
153
+ /** A read of `GET /resources/{resource}/aggregate` that a combined widget makes. */
154
+ export interface WidgetAggregateRead {
155
+ role: WidgetAggregateRole;
156
+ /** The index of its source (`sources`, `rows`), `null` for the widget's own `resource`. */
157
+ source: number | null;
158
+ resource: string;
159
+ /** The filters and the search of the widget or of its source. */
160
+ query: ListQuery;
161
+ measure: string;
162
+ group: string | null;
163
+ /** The `date-range` filter that gets the period of the overview, as for its source. */
164
+ period: string | false | null;
165
+ }
166
+ /**
167
+ * Whether a widget combines several reads of the aggregates of resources into one card (decision
168
+ * 0089): a `metric` on a resource, a `series` with `split` or `sources`, a `table` with `rows`.
169
+ */
170
+ export declare function isCombinedWidget(widget: WidgetLike): boolean;
171
+ /**
172
+ * The reads of the aggregates that a combined widget makes, whatever the period (decision 0089).
173
+ * A client adds, with a period, the `value` of each source over the previous period, and for a
174
+ * `split`, a line per value of its `parts`, filtered by it.
175
+ *
176
+ * - `metric`: its `value`, its `points` with `settings.points`, its `parts` with `settings.by`.
177
+ * - `series` with `split`: its total line (`points`), and the `parts` of the field it splits by.
178
+ * - `series` with `sources`: a line per source (`points`), and the count of its alert.
179
+ * - `table` with `rows`: per row, its `value`, its `points`, and the count of its alert.
180
+ */
181
+ export declare function getWidgetAggregates(widget: WidgetLike): WidgetAggregateRead[];
60
182
  /**
61
183
  * Whether a widget of the summary of a resource follows its list (decision 0084), and gets its
62
184
  * current filters and search: a widget on that resource, or with data of its own, unless its
@@ -71,11 +193,40 @@ export declare function followsList(widget: WidgetLike, resource: string): boole
71
193
  */
72
194
  export declare function followsPeriod(widget: WidgetLike, summaryOf?: string): boolean;
73
195
  /**
74
- * Checks the data of a widget against the shape of its type (decisions 0064 and 0084), without the
75
- * schemas: the paths of the wrong keys (`value`, `points.2.date`), empty when it is right. The data
76
- * of a widget of a plugin only has to be an object. The dates of a series must go up, one point per
77
- * period.
196
+ * The format of the numbers of a widget (decision 0089): the options of `Intl.NumberFormat` among
197
+ * those a widget takes, with valid values, or `undefined` without any. A style without its
198
+ * `currency` or its `unit` is left out, as an unknown key. The `format` of the data, then the
199
+ * `format` of the settings over it, key by key: `readWidgetFormat(data.format, settings.format)`.
200
+ */
201
+ export declare function readWidgetFormat(...formats: unknown[]): WidgetNumberFormat | undefined;
202
+ /**
203
+ * Checks the data of a widget against the shape of its type (decisions 0064, 0084 and 0089),
204
+ * without the schemas: the paths of the wrong keys (`value`, `points.2.date`), empty when it is
205
+ * right. The data of a widget of a plugin only has to be an object. The dates of a series must go
206
+ * up, one point per period.
78
207
  */
79
208
  export declare function checkWidgetData(type: string, data: unknown): string[];
209
+ /**
210
+ * Whether the data of a built-in widget has nothing to show (decision 0089), for
211
+ * `settings.hideEmpty`: a `stat` at 0, a `metric` at 0 that was at 0 or has no previous value, a
212
+ * `series` whose points are all 0, a `breakdown` whose parts and rest are all 0, a `list` without
213
+ * items, a `table` without rows. Data of plugins is never empty.
214
+ */
215
+ export declare function isWidgetDataEmpty(type: string, data: unknown): boolean;
216
+ /** The change of a number from the previous period (decision 0089). */
217
+ export interface WidgetChange {
218
+ /** The value minus the previous one. */
219
+ difference: number;
220
+ /** The difference against the previous value (`0.12` for 12%): `null` when it was 0. */
221
+ ratio: number | null;
222
+ direction: 'up' | 'down' | 'none';
223
+ }
224
+ /** The change of a number from its value over the previous period (decision 0089). */
225
+ export declare function getWidgetChange(value: number, previous: number): WidgetChange;
226
+ /**
227
+ * The tone of a change (decision 0089): `success` when it goes the way `goodWhen` says is good,
228
+ * `danger` the other way, and none without `goodWhen` or without a change.
229
+ */
230
+ export declare function getChangeTone(direction: WidgetChange['direction'], goodWhen: unknown): 'success' | 'danger' | null;
80
231
  export {};
81
232
  //# sourceMappingURL=widgets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"widgets.d.ts","sourceRoot":"","sources":["../src/widgets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,SAAS,CAAC;AAG3D;;;GAGG;AACH,eAAO,MAAM,qBAAqB,kDAAmD,CAAC;AAEtF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvE,sDAAsD;AACtD,eAAO,MAAM,qBAAqB,mCAAoC,CAAC;AAEvE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,uEAAuE;AACvE,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,qBAAqB,kDAAmD,CAAC;AAEtF,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,kCAAmC,CAAC;AAErE,kGAAkG;AAClG,eAAO,MAAM,4BAA4B,wCAAyC,CAAC;AAEnF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,iBAAiB,CAE3E;AAED,gGAAgG;AAChG,UAAU,UAAU;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;CAClD;AAED,oFAAoF;AACpF,MA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