@bicharts/shape-core 0.5.53 → 0.5.55
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/dist/types/models.d.ts +27 -0
- package/package.json +1 -1
package/dist/types/models.d.ts
CHANGED
|
@@ -110,6 +110,25 @@ export type LLMClientHints = {
|
|
|
110
110
|
allowGeneratedMeasures?: string;
|
|
111
111
|
industryContext?: string;
|
|
112
112
|
favorStyle?: string;
|
|
113
|
+
/**
|
|
114
|
+
* WHICH PROJECTION the reader picked, when the row they clicked was a projected one
|
|
115
|
+
* (servers from 2026-09-03). The "What fits?" list offers a projected type once per
|
|
116
|
+
* projection that admits it - the same chart at two grains, 3 marks or 4 - so the pick
|
|
117
|
+
* has to name one. This is the projection's KEY (`viaProjectionKey` from the row), never
|
|
118
|
+
* its prose label. Absent means "decide for me", which is what every earlier client sends
|
|
119
|
+
* and what the auto-pick path always sends: the server falls back to the first projection
|
|
120
|
+
* that admits the type.
|
|
121
|
+
*/
|
|
122
|
+
favorProjection?: string;
|
|
123
|
+
/**
|
|
124
|
+
* Does this host let the reader CHOOSE a grain, and send it back as `favorProjection`?
|
|
125
|
+
*
|
|
126
|
+
* Only a client that answers true is offered a projected type more than once. One that
|
|
127
|
+
* renders both rows and remembers only the chart name would let the reader pick a grain
|
|
128
|
+
* the server then re-decides - an offer nothing can honour. Absent or false is the safe
|
|
129
|
+
* answer, and the only answer before this existed.
|
|
130
|
+
*/
|
|
131
|
+
supportsProjectionChoice?: boolean;
|
|
113
132
|
favorLimitTo?: string;
|
|
114
133
|
favorLimitCount?: number;
|
|
115
134
|
groupToOthersLabel?: string;
|
|
@@ -210,6 +229,14 @@ export type LLMQualifyResult = {
|
|
|
210
229
|
language?: string;
|
|
211
230
|
recommended?: boolean;
|
|
212
231
|
viaProjection?: string;
|
|
232
|
+
/**
|
|
233
|
+
* The projection's stable identity, beside `viaProjection`'s prose (servers from
|
|
234
|
+
* 2026-09-03). Null on a direct offer. A type several projections admit appears once
|
|
235
|
+
* per projection - each row a different grain - so a host that lets the reader pick
|
|
236
|
+
* one must send this back as `clientHints.favorProjection`, or the server re-decides
|
|
237
|
+
* the grain by its own ordering.
|
|
238
|
+
*/
|
|
239
|
+
viaProjectionKey?: string;
|
|
213
240
|
isPreview?: boolean;
|
|
214
241
|
detailNote?: string;
|
|
215
242
|
}[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bicharts/shape-core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.55",
|
|
4
4
|
"description": "Host-agnostic data-shape profiler: ingest a dataset's rows through IValueCollection.addRow and read back the measured shape as an LLMColumnWithValue[] payload — types, cardinality, temporal/ordinal detection, geographic region and point resolution, cross-column signals. MEASUREMENT only: the policy that decides what a measured shape means for chart selection lives server-side.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|