@elaraai/e3-types 1.0.97 → 1.0.99
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/README.md +3 -1
- package/dist/src/api.d.ts +88 -66
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +45 -30
- package/dist/src/api.js.map +1 -1
- package/dist/src/bundle.d.ts +366 -0
- package/dist/src/bundle.d.ts.map +1 -0
- package/dist/src/bundle.js +66 -0
- package/dist/src/bundle.js.map +1 -0
- package/dist/src/dataset-type.d.ts +5 -5
- package/dist/src/dataset-type.js +5 -5
- package/dist/src/index.d.ts +3 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/record.d.ts +449 -20
- package/dist/src/record.d.ts.map +1 -1
- package/dist/src/record.js +270 -16
- package/dist/src/record.js.map +1 -1
- package/dist/src/record.spec.js +48 -9
- package/dist/src/record.spec.js.map +1 -1
- package/dist/src/release.d.ts +1 -1
- package/dist/src/release.js +1 -1
- package/dist/src/structure.d.ts.map +1 -1
- package/dist/src/structure.js +1 -8
- package/dist/src/structure.js.map +1 -1
- package/package.json +2 -2
- package/src/api.ts +45 -30
- package/src/bundle.ts +76 -0
- package/src/dataset-type.ts +5 -5
- package/src/index.ts +36 -0
- package/src/record.spec.ts +60 -8
- package/src/record.ts +310 -17
- package/src/release.ts +1 -1
- package/src/structure.ts +1 -7
package/dist/src/record.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* UI `Data.bind` read work on records unchanged. Only the write protocol
|
|
17
17
|
* differs.
|
|
18
18
|
*/
|
|
19
|
-
import { ArrayType, BooleanType, DateTimeType, DictType, FunctionType, NullType, OptionType, StringType, StructType, VariantType, type EastType, type EastTypeValue, type PatchTypeOf, type ValueTypeOf } from '@elaraai/east';
|
|
19
|
+
import { ArrayType, BooleanType, DateTimeType, DictType, FloatType, FunctionType, IntegerType, NullType, OptionType, RecursiveType, StringType, StructType, VariantType, type EastType, type EastTypeValue, type PatchTypeOf, type ValueTypeOf } from '@elaraai/east';
|
|
20
20
|
/**
|
|
21
21
|
* A single commit in a record's history.
|
|
22
22
|
*
|
|
@@ -101,7 +101,7 @@ export declare const MutationObjectType: StructType<{
|
|
|
101
101
|
/** Hash of the encoded EastIR bundle (encodeEastIR), like a function's bodyIr. */
|
|
102
102
|
readonly bodyIr: StringType;
|
|
103
103
|
/** The EXTRA positional parameter types after the state parameter. */
|
|
104
|
-
readonly argTypes: ArrayType<
|
|
104
|
+
readonly argTypes: ArrayType<RecursiveType<VariantType<{
|
|
105
105
|
readonly Never: NullType;
|
|
106
106
|
readonly Null: NullType;
|
|
107
107
|
readonly Boolean: NullType;
|
|
@@ -126,9 +126,9 @@ export declare const MutationObjectType: StructType<{
|
|
|
126
126
|
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
127
127
|
}>>;
|
|
128
128
|
readonly Recursive: VariantType<{
|
|
129
|
-
readonly ref:
|
|
129
|
+
readonly ref: IntegerType;
|
|
130
130
|
readonly wrapper: StructType<{
|
|
131
|
-
readonly id:
|
|
131
|
+
readonly id: IntegerType;
|
|
132
132
|
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
133
133
|
}>;
|
|
134
134
|
}>;
|
|
@@ -196,6 +196,380 @@ export type MutationObject = ValueTypeOf<typeof MutationObjectType>;
|
|
|
196
196
|
* exported by an older SDK, which is re-exported with the current one.
|
|
197
197
|
*/
|
|
198
198
|
export declare function decodeMutationObject(data: Uint8Array): MutationObject;
|
|
199
|
+
/**
|
|
200
|
+
* What a summary index holds for one of its keys (#1039): how many rows touch
|
|
201
|
+
* the key's period, and the milliseconds of the period they cover between
|
|
202
|
+
* them.
|
|
203
|
+
*
|
|
204
|
+
* @remarks
|
|
205
|
+
* Both are Integers, so a total kept write by write is exactly the total a
|
|
206
|
+
* rebuild sums: Integer addition is associative, where a Float sum depends on
|
|
207
|
+
* the order of its additions. A key is held only while its count is positive,
|
|
208
|
+
* so an emptied period leaves the summary as a rebuild would, and the count
|
|
209
|
+
* is what tells e3 a period has emptied.
|
|
210
|
+
*
|
|
211
|
+
* @property count - How many rows touch the period
|
|
212
|
+
* @property ms - The milliseconds of the period they cover, summed over them
|
|
213
|
+
*/
|
|
214
|
+
export declare const RecordSummaryTotalsType: StructType<{
|
|
215
|
+
readonly count: IntegerType;
|
|
216
|
+
readonly ms: IntegerType;
|
|
217
|
+
}>;
|
|
218
|
+
export type RecordSummaryTotalsType = typeof RecordSummaryTotalsType;
|
|
219
|
+
export type RecordSummaryTotals = ValueTypeOf<typeof RecordSummaryTotalsType>;
|
|
220
|
+
/**
|
|
221
|
+
* The level a series index files an event at (#1433): the finest, from the
|
|
222
|
+
* index's tile up, whose shortest tile holds the event's length, or the year
|
|
223
|
+
* for an event longer than a year. It names a level with the tiles' own
|
|
224
|
+
* words, as east-ui's `RecordSliceTileType` does.
|
|
225
|
+
*
|
|
226
|
+
* @property day - Filed under the UTC day holding its start
|
|
227
|
+
* @property week - Under the ISO week from Monday holding its start
|
|
228
|
+
* @property month - Under the UTC month holding its start
|
|
229
|
+
* @property quarter - Under the UTC quarter holding its start
|
|
230
|
+
* @property year - Under the UTC year holding its start, or every year it touches
|
|
231
|
+
*/
|
|
232
|
+
export declare const RecordLevelType: VariantType<{
|
|
233
|
+
readonly day: NullType;
|
|
234
|
+
readonly week: NullType;
|
|
235
|
+
readonly month: NullType;
|
|
236
|
+
readonly quarter: NullType;
|
|
237
|
+
readonly year: NullType;
|
|
238
|
+
}>;
|
|
239
|
+
export type RecordLevelType = typeof RecordLevelType;
|
|
240
|
+
export type RecordLevel = ValueTypeOf<typeof RecordLevelType>;
|
|
241
|
+
/**
|
|
242
|
+
* A rollup, as a nested series index keeps it (#1434): how a node's own values
|
|
243
|
+
* in a tile fold, and how a parent aggregates what its children draw.
|
|
244
|
+
*
|
|
245
|
+
* @property fold - Its own values in a tile, in key order: their sum, mean,
|
|
246
|
+
* least, greatest, the value at the latest instant, or how many
|
|
247
|
+
* @property aggregate - What its children draw in a tile, in key order: their
|
|
248
|
+
* sum, mean, least or greatest; `count`, the leaf rows beneath that draw a
|
|
249
|
+
* value, a child drawing its own counting one
|
|
250
|
+
*/
|
|
251
|
+
export declare const RecordRollupType: StructType<{
|
|
252
|
+
readonly fold: VariantType<{
|
|
253
|
+
readonly sum: NullType;
|
|
254
|
+
readonly mean: NullType;
|
|
255
|
+
readonly min: NullType;
|
|
256
|
+
readonly max: NullType;
|
|
257
|
+
readonly last: NullType;
|
|
258
|
+
readonly count: NullType;
|
|
259
|
+
}>;
|
|
260
|
+
readonly aggregate: VariantType<{
|
|
261
|
+
readonly sum: NullType;
|
|
262
|
+
readonly mean: NullType;
|
|
263
|
+
readonly min: NullType;
|
|
264
|
+
readonly max: NullType;
|
|
265
|
+
readonly count: NullType;
|
|
266
|
+
}>;
|
|
267
|
+
}>;
|
|
268
|
+
export type RecordRollupType = typeof RecordRollupType;
|
|
269
|
+
export type RecordRollup = ValueTypeOf<typeof RecordRollupType>;
|
|
270
|
+
/**
|
|
271
|
+
* Which run of a node's entries a nested series index files an entry in
|
|
272
|
+
* (#1434). Each run is contiguous in the key, so a read of one never reads
|
|
273
|
+
* another.
|
|
274
|
+
*
|
|
275
|
+
* @property items - The node's own items or values, each at the level it is filed at
|
|
276
|
+
* @property totals - The node's own totals, a summary tile at a time
|
|
277
|
+
* @property subtotals - A parent's subtotals by one of the collection's rollups, at each level from the index's tile up
|
|
278
|
+
* @property subtree - The items of the node's descendants, filed under it too (`items(…, { rollup: true })`)
|
|
279
|
+
* @property subtreeTotals - Its descendants' items' totals, a summary tile at a time
|
|
280
|
+
*/
|
|
281
|
+
export declare const RecordNestedRunType: VariantType<{
|
|
282
|
+
readonly items: NullType;
|
|
283
|
+
readonly totals: NullType;
|
|
284
|
+
readonly subtotals: StructType<{
|
|
285
|
+
readonly fold: VariantType<{
|
|
286
|
+
readonly sum: NullType;
|
|
287
|
+
readonly mean: NullType;
|
|
288
|
+
readonly min: NullType;
|
|
289
|
+
readonly max: NullType;
|
|
290
|
+
readonly last: NullType;
|
|
291
|
+
readonly count: NullType;
|
|
292
|
+
}>;
|
|
293
|
+
readonly aggregate: VariantType<{
|
|
294
|
+
readonly sum: NullType;
|
|
295
|
+
readonly mean: NullType;
|
|
296
|
+
readonly min: NullType;
|
|
297
|
+
readonly max: NullType;
|
|
298
|
+
readonly count: NullType;
|
|
299
|
+
}>;
|
|
300
|
+
}>;
|
|
301
|
+
readonly subtree: NullType;
|
|
302
|
+
readonly subtreeTotals: NullType;
|
|
303
|
+
}>;
|
|
304
|
+
export type RecordNestedRunType = typeof RecordNestedRunType;
|
|
305
|
+
export type RecordNestedRun = ValueTypeOf<typeof RecordNestedRunType>;
|
|
306
|
+
/**
|
|
307
|
+
* A path in a nested series index's key (#1434): field names, or Dict keys,
|
|
308
|
+
* from a row down — `end` for none, else one `step` and the rest. A key holds
|
|
309
|
+
* no Array, which East may change in place, so a path is this list: it is
|
|
310
|
+
* immutable, and it sorts as an Array of its names would, a path before every
|
|
311
|
+
* path it leads (`[] < ["a"] < ["a", "b"] < ["b"]`).
|
|
312
|
+
*
|
|
313
|
+
* @property end - No more names
|
|
314
|
+
* @property step - One name, and the path after it
|
|
315
|
+
*/
|
|
316
|
+
export declare const RecordNestedPathType: RecursiveType<VariantType<{
|
|
317
|
+
readonly end: NullType;
|
|
318
|
+
readonly step: StructType<{
|
|
319
|
+
readonly key: StringType;
|
|
320
|
+
readonly rest: import("@elaraai/east").RecursiveTypeMarker;
|
|
321
|
+
}>;
|
|
322
|
+
}>>;
|
|
323
|
+
export type RecordNestedPathType = typeof RecordNestedPathType;
|
|
324
|
+
export type RecordNestedPath = ValueTypeOf<typeof RecordNestedPathType>;
|
|
325
|
+
/**
|
|
326
|
+
* Which item a nested series index's entry is (#1434).
|
|
327
|
+
*
|
|
328
|
+
* @property id - An item, by its id
|
|
329
|
+
* @property at - A value, by its instant
|
|
330
|
+
* @property under - A descendant's item filed under an ancestor: the Dict keys
|
|
331
|
+
* from the ancestor down to the node holding it, and its id
|
|
332
|
+
* @property none - A total or a subtotal, of which a node has one a tile a run
|
|
333
|
+
*/
|
|
334
|
+
export declare const RecordNestedItemType: VariantType<{
|
|
335
|
+
readonly id: StringType;
|
|
336
|
+
readonly at: DateTimeType;
|
|
337
|
+
readonly under: StructType<{
|
|
338
|
+
readonly path: RecursiveType<VariantType<{
|
|
339
|
+
readonly end: NullType;
|
|
340
|
+
readonly step: StructType<{
|
|
341
|
+
readonly key: StringType;
|
|
342
|
+
readonly rest: import("@elaraai/east").RecursiveTypeMarker;
|
|
343
|
+
}>;
|
|
344
|
+
}>>;
|
|
345
|
+
readonly id: StringType;
|
|
346
|
+
}>;
|
|
347
|
+
readonly none: NullType;
|
|
348
|
+
}>;
|
|
349
|
+
export type RecordNestedItemType = typeof RecordNestedItemType;
|
|
350
|
+
export type RecordNestedItem = ValueTypeOf<typeof RecordNestedItemType>;
|
|
351
|
+
/**
|
|
352
|
+
* The key a nested series index files an entry under (#1434): its
|
|
353
|
+
* collection, its row, the node it is about, its run, its level and tile, and
|
|
354
|
+
* the item — in that order, so a node's run at one level is one contiguous
|
|
355
|
+
* range across tiles.
|
|
356
|
+
*
|
|
357
|
+
* @param rowKey - The record's key type
|
|
358
|
+
* @returns The entry key's struct type
|
|
359
|
+
* @property collection - The collection's place: the field names from the row down to it, a recursive step adding none
|
|
360
|
+
* @property row - The record row's key
|
|
361
|
+
* @property path - The Dict keys from the row down to the node the entry is about: `end` for the row itself
|
|
362
|
+
* @property run - Which of the node's runs ({@link RecordNestedRunType})
|
|
363
|
+
* @property level - The level the entry is filed at; a total's, the summary tile's
|
|
364
|
+
* @property tile - The start of the level's tile
|
|
365
|
+
* @property item - Which item ({@link RecordNestedItemType})
|
|
366
|
+
*/
|
|
367
|
+
export declare function NestedEntryKeyType<K extends EastType>(rowKey: K): StructType<{
|
|
368
|
+
readonly collection: RecursiveType<VariantType<{
|
|
369
|
+
readonly end: NullType;
|
|
370
|
+
readonly step: StructType<{
|
|
371
|
+
readonly key: StringType;
|
|
372
|
+
readonly rest: import("@elaraai/east").RecursiveTypeMarker;
|
|
373
|
+
}>;
|
|
374
|
+
}>>;
|
|
375
|
+
readonly row: K;
|
|
376
|
+
readonly path: RecursiveType<VariantType<{
|
|
377
|
+
readonly end: NullType;
|
|
378
|
+
readonly step: StructType<{
|
|
379
|
+
readonly key: StringType;
|
|
380
|
+
readonly rest: import("@elaraai/east").RecursiveTypeMarker;
|
|
381
|
+
}>;
|
|
382
|
+
}>>;
|
|
383
|
+
readonly run: VariantType<{
|
|
384
|
+
readonly items: NullType;
|
|
385
|
+
readonly totals: NullType;
|
|
386
|
+
readonly subtotals: StructType<{
|
|
387
|
+
readonly fold: VariantType<{
|
|
388
|
+
readonly sum: NullType;
|
|
389
|
+
readonly mean: NullType;
|
|
390
|
+
readonly min: NullType;
|
|
391
|
+
readonly max: NullType;
|
|
392
|
+
readonly last: NullType;
|
|
393
|
+
readonly count: NullType;
|
|
394
|
+
}>;
|
|
395
|
+
readonly aggregate: VariantType<{
|
|
396
|
+
readonly sum: NullType;
|
|
397
|
+
readonly mean: NullType;
|
|
398
|
+
readonly min: NullType;
|
|
399
|
+
readonly max: NullType;
|
|
400
|
+
readonly count: NullType;
|
|
401
|
+
}>;
|
|
402
|
+
}>;
|
|
403
|
+
readonly subtree: NullType;
|
|
404
|
+
readonly subtreeTotals: NullType;
|
|
405
|
+
}>;
|
|
406
|
+
readonly level: VariantType<{
|
|
407
|
+
readonly day: NullType;
|
|
408
|
+
readonly week: NullType;
|
|
409
|
+
readonly month: NullType;
|
|
410
|
+
readonly quarter: NullType;
|
|
411
|
+
readonly year: NullType;
|
|
412
|
+
}>;
|
|
413
|
+
readonly tile: DateTimeType;
|
|
414
|
+
readonly item: VariantType<{
|
|
415
|
+
readonly id: StringType;
|
|
416
|
+
readonly at: DateTimeType;
|
|
417
|
+
readonly under: StructType<{
|
|
418
|
+
readonly path: RecursiveType<VariantType<{
|
|
419
|
+
readonly end: NullType;
|
|
420
|
+
readonly step: StructType<{
|
|
421
|
+
readonly key: StringType;
|
|
422
|
+
readonly rest: import("@elaraai/east").RecursiveTypeMarker;
|
|
423
|
+
}>;
|
|
424
|
+
}>>;
|
|
425
|
+
readonly id: StringType;
|
|
426
|
+
}>;
|
|
427
|
+
readonly none: NullType;
|
|
428
|
+
}>;
|
|
429
|
+
}>;
|
|
430
|
+
/**
|
|
431
|
+
* The key a nested series index's span keeps its totals under (#1438): a
|
|
432
|
+
* collection's place, as an entry's key names it, and a month its items or
|
|
433
|
+
* values touch. Each holds how many of them touch it and the milliseconds of it
|
|
434
|
+
* its items cover ({@link RecordSummaryTotalsType}), summed across the record's
|
|
435
|
+
* rows as a summary index's totals are, so a collection's first and last month
|
|
436
|
+
* held are its span across the rows, and its months' counts how much it holds
|
|
437
|
+
* in each.
|
|
438
|
+
*
|
|
439
|
+
* @property collection - The collection's place: the field names from the row down to it, a recursive step adding none
|
|
440
|
+
* @property tile - The start of a month its items or values touch
|
|
441
|
+
*/
|
|
442
|
+
export declare const NestedSpanKeyType: StructType<{
|
|
443
|
+
readonly collection: RecursiveType<VariantType<{
|
|
444
|
+
readonly end: NullType;
|
|
445
|
+
readonly step: StructType<{
|
|
446
|
+
readonly key: StringType;
|
|
447
|
+
readonly rest: import("@elaraai/east").RecursiveTypeMarker;
|
|
448
|
+
}>;
|
|
449
|
+
}>>;
|
|
450
|
+
readonly tile: DateTimeType;
|
|
451
|
+
}>;
|
|
452
|
+
export type NestedSpanKeyType = typeof NestedSpanKeyType;
|
|
453
|
+
/**
|
|
454
|
+
* The name of the index a nested series index's span is kept in, beside it
|
|
455
|
+
* (#1438): an index of its record's, built with it and never declared.
|
|
456
|
+
*
|
|
457
|
+
* @param index - The nested series index's name
|
|
458
|
+
* @returns The span's
|
|
459
|
+
*/
|
|
460
|
+
export declare function nestedSpanName(index: string): string;
|
|
461
|
+
/**
|
|
462
|
+
* One collection's totals in one summary tile (#1434), for one node, or for
|
|
463
|
+
* its descendants' items under `subtreeTotals`.
|
|
464
|
+
*
|
|
465
|
+
* @property count - How many items touch the tile
|
|
466
|
+
* @property ms - The milliseconds of the tile they cover; an instant covers none
|
|
467
|
+
* @property values - For a collection of Float or Integer values: their sum,
|
|
468
|
+
* the least, the greatest, and the value at the latest instant in the tile,
|
|
469
|
+
* as Floats, taken in key order; `none` for any other collection
|
|
470
|
+
*/
|
|
471
|
+
export declare const RecordNestedTotalsType: StructType<{
|
|
472
|
+
readonly count: IntegerType;
|
|
473
|
+
readonly ms: IntegerType;
|
|
474
|
+
readonly values: OptionType<StructType<{
|
|
475
|
+
readonly sum: FloatType;
|
|
476
|
+
readonly min: FloatType;
|
|
477
|
+
readonly max: FloatType;
|
|
478
|
+
readonly last: FloatType;
|
|
479
|
+
}>>;
|
|
480
|
+
}>;
|
|
481
|
+
export type RecordNestedTotalsType = typeof RecordNestedTotalsType;
|
|
482
|
+
export type RecordNestedTotals = ValueTypeOf<typeof RecordNestedTotalsType>;
|
|
483
|
+
/**
|
|
484
|
+
* What a nested series index's entry carries (#1434): an item or a value as
|
|
485
|
+
* its collection holds it, its variant nesting as the declaration nests
|
|
486
|
+
* (`.item .members .load 0.82`); a node's totals in a tile; or a parent's
|
|
487
|
+
* subtotal.
|
|
488
|
+
*
|
|
489
|
+
* @param places - The items' variant: `VariantType({ jobs: Job, members: VariantType({ load: FloatType }) })`
|
|
490
|
+
* @returns The value's variant type
|
|
491
|
+
*/
|
|
492
|
+
export declare function NestedEntryType<P extends EastType>(places: P): VariantType<{
|
|
493
|
+
readonly item: P;
|
|
494
|
+
readonly totals: StructType<{
|
|
495
|
+
readonly count: IntegerType;
|
|
496
|
+
readonly ms: IntegerType;
|
|
497
|
+
readonly values: OptionType<StructType<{
|
|
498
|
+
readonly sum: FloatType;
|
|
499
|
+
readonly min: FloatType;
|
|
500
|
+
readonly max: FloatType;
|
|
501
|
+
readonly last: FloatType;
|
|
502
|
+
}>>;
|
|
503
|
+
}>;
|
|
504
|
+
readonly subtotal: FloatType;
|
|
505
|
+
}>;
|
|
506
|
+
/**
|
|
507
|
+
* A nested series index's declaration, as its definition holds it (#1434):
|
|
508
|
+
* each collection a row nests by its field — things people drag, with the
|
|
509
|
+
* fields their times are read from and whether each is filed under its
|
|
510
|
+
* ancestors too; values, with the rollups a parent's subtotals are kept by;
|
|
511
|
+
* child rows, their own collections declared the same way; or more rows of
|
|
512
|
+
* the row's own type. The field names are data, as an index's `on` is, and
|
|
513
|
+
* the binding reads them (#1435).
|
|
514
|
+
*/
|
|
515
|
+
export declare const RecordNestedDeclType: RecursiveType<DictType<StringType, VariantType<{
|
|
516
|
+
readonly items: StructType<{
|
|
517
|
+
readonly times: VariantType<{
|
|
518
|
+
readonly span: StructType<{
|
|
519
|
+
readonly from: StringType;
|
|
520
|
+
readonly to: StringType;
|
|
521
|
+
}>;
|
|
522
|
+
readonly at: StringType;
|
|
523
|
+
}>;
|
|
524
|
+
readonly rollup: BooleanType;
|
|
525
|
+
}>;
|
|
526
|
+
readonly values: StructType<{
|
|
527
|
+
readonly rollups: ArrayType<StructType<{
|
|
528
|
+
readonly fold: VariantType<{
|
|
529
|
+
readonly sum: NullType;
|
|
530
|
+
readonly mean: NullType;
|
|
531
|
+
readonly min: NullType;
|
|
532
|
+
readonly max: NullType;
|
|
533
|
+
readonly last: NullType;
|
|
534
|
+
readonly count: NullType;
|
|
535
|
+
}>;
|
|
536
|
+
readonly aggregate: VariantType<{
|
|
537
|
+
readonly sum: NullType;
|
|
538
|
+
readonly mean: NullType;
|
|
539
|
+
readonly min: NullType;
|
|
540
|
+
readonly max: NullType;
|
|
541
|
+
readonly count: NullType;
|
|
542
|
+
}>;
|
|
543
|
+
}>>;
|
|
544
|
+
}>;
|
|
545
|
+
readonly rows: import("@elaraai/east").RecursiveTypeMarker;
|
|
546
|
+
readonly recursive: NullType;
|
|
547
|
+
}>>>;
|
|
548
|
+
export type RecordNestedDeclType = typeof RecordNestedDeclType;
|
|
549
|
+
export type RecordNestedDecl = ValueTypeOf<typeof RecordNestedDeclType>;
|
|
550
|
+
/**
|
|
551
|
+
* Which collection an index builds (#1039).
|
|
552
|
+
*
|
|
553
|
+
* - `entries` — an entry per index key a row has, `Dict<{ik, k}, P>`: the
|
|
554
|
+
* index every constructor but the summary's declares.
|
|
555
|
+
* - `summary` — one entry per index key, standing for every row that has it,
|
|
556
|
+
* `Dict<{ik, k: Null}, Totals>` ({@link RecordSummaryTotalsType}): the
|
|
557
|
+
* rows' totals per period, which a write changes by adding to them. Its
|
|
558
|
+
* build's pieces hold the same keys, so it names the merge that sums them,
|
|
559
|
+
* `mergeIr`, a `({ik, k}, Totals, Totals) -> Totals` IR bundle.
|
|
560
|
+
*
|
|
561
|
+
* @remarks
|
|
562
|
+
* A variant, so an index object decodes only with one of these: a collection
|
|
563
|
+
* this e3 does not know is refused where the object is read.
|
|
564
|
+
*/
|
|
565
|
+
export declare const RecordIndexFormType: VariantType<{
|
|
566
|
+
readonly entries: NullType;
|
|
567
|
+
readonly summary: StructType<{
|
|
568
|
+
readonly mergeIr: StringType;
|
|
569
|
+
}>;
|
|
570
|
+
}>;
|
|
571
|
+
export type RecordIndexFormType = typeof RecordIndexFormType;
|
|
572
|
+
export type RecordIndexForm = ValueTypeOf<typeof RecordIndexFormType>;
|
|
199
573
|
/**
|
|
200
574
|
* A secondary index over a record: an East function of an entry, and the
|
|
201
575
|
* collection it builds.
|
|
@@ -211,7 +585,8 @@ export declare function decodeMutationObject(data: Uint8Array): MutationObject;
|
|
|
211
585
|
*/
|
|
212
586
|
export declare const RecordIndexObjectType: StructType<{
|
|
213
587
|
/** Hash of the encoded EastIR bundle: `(K, V) -> IK`, or `-> Set<IK>` when
|
|
214
|
-
* {@link multi}
|
|
588
|
+
* {@link multi}; a summary's or a nested series index's `(K, V) ->
|
|
589
|
+
* Dict<IK, P>`, a row's entries with their values (#1039, #1434). */
|
|
215
590
|
readonly keyIr: StringType;
|
|
216
591
|
/** Declared with `keys` (a Set return) rather than `key`: one entry per
|
|
217
592
|
* element, so a row that names five resources appears under five keys. */
|
|
@@ -220,7 +595,7 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
220
595
|
* index carries no value and `P` is Null. */
|
|
221
596
|
readonly valueIr: OptionType<StringType>;
|
|
222
597
|
/** `IK` — the index key an entry sorts under. */
|
|
223
|
-
readonly keyType:
|
|
598
|
+
readonly keyType: RecursiveType<VariantType<{
|
|
224
599
|
readonly Never: NullType;
|
|
225
600
|
readonly Null: NullType;
|
|
226
601
|
readonly Boolean: NullType;
|
|
@@ -245,9 +620,9 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
245
620
|
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
246
621
|
}>>;
|
|
247
622
|
readonly Recursive: VariantType<{
|
|
248
|
-
readonly ref:
|
|
623
|
+
readonly ref: IntegerType;
|
|
249
624
|
readonly wrapper: StructType<{
|
|
250
|
-
readonly id:
|
|
625
|
+
readonly id: IntegerType;
|
|
251
626
|
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
252
627
|
}>;
|
|
253
628
|
}>;
|
|
@@ -263,7 +638,7 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
263
638
|
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
264
639
|
}>>;
|
|
265
640
|
/** `P` — the covering projection's type; Null when there is none. */
|
|
266
|
-
readonly valueType:
|
|
641
|
+
readonly valueType: RecursiveType<VariantType<{
|
|
267
642
|
readonly Never: NullType;
|
|
268
643
|
readonly Null: NullType;
|
|
269
644
|
readonly Boolean: NullType;
|
|
@@ -288,9 +663,9 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
288
663
|
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
289
664
|
}>>;
|
|
290
665
|
readonly Recursive: VariantType<{
|
|
291
|
-
readonly ref:
|
|
666
|
+
readonly ref: IntegerType;
|
|
292
667
|
readonly wrapper: StructType<{
|
|
293
|
-
readonly id:
|
|
668
|
+
readonly id: IntegerType;
|
|
294
669
|
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
295
670
|
}>;
|
|
296
671
|
}>;
|
|
@@ -336,6 +711,16 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
336
711
|
readonly command: ArrayType<StringType>;
|
|
337
712
|
}>;
|
|
338
713
|
}>;
|
|
714
|
+
/** Which collection it builds: an entry per key a row has, or a summary's
|
|
715
|
+
* totals per key ({@link RecordIndexFormType}). A summary's `keyIr` is
|
|
716
|
+
* `(K, V) -> Dict<IK, Totals>`, a row's contribution to each of its keys,
|
|
717
|
+
* and its `valueType` is {@link RecordSummaryTotalsType}. */
|
|
718
|
+
readonly form: VariantType<{
|
|
719
|
+
readonly entries: NullType;
|
|
720
|
+
readonly summary: StructType<{
|
|
721
|
+
readonly mergeIr: StringType;
|
|
722
|
+
}>;
|
|
723
|
+
}>;
|
|
339
724
|
}>;
|
|
340
725
|
export type RecordIndexObjectType = typeof RecordIndexObjectType;
|
|
341
726
|
export type RecordIndexObject = ValueTypeOf<typeof RecordIndexObjectType>;
|
|
@@ -400,7 +785,7 @@ export declare const MigrationObjectType: StructType<{
|
|
|
400
785
|
readonly value: NullType;
|
|
401
786
|
}>;
|
|
402
787
|
/** The record's type before the step. */
|
|
403
|
-
readonly from:
|
|
788
|
+
readonly from: RecursiveType<VariantType<{
|
|
404
789
|
readonly Never: NullType;
|
|
405
790
|
readonly Null: NullType;
|
|
406
791
|
readonly Boolean: NullType;
|
|
@@ -425,9 +810,9 @@ export declare const MigrationObjectType: StructType<{
|
|
|
425
810
|
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
426
811
|
}>>;
|
|
427
812
|
readonly Recursive: VariantType<{
|
|
428
|
-
readonly ref:
|
|
813
|
+
readonly ref: IntegerType;
|
|
429
814
|
readonly wrapper: StructType<{
|
|
430
|
-
readonly id:
|
|
815
|
+
readonly id: IntegerType;
|
|
431
816
|
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
432
817
|
}>;
|
|
433
818
|
}>;
|
|
@@ -443,7 +828,7 @@ export declare const MigrationObjectType: StructType<{
|
|
|
443
828
|
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
444
829
|
}>>;
|
|
445
830
|
/** The record's type after it. */
|
|
446
|
-
readonly to:
|
|
831
|
+
readonly to: RecursiveType<VariantType<{
|
|
447
832
|
readonly Never: NullType;
|
|
448
833
|
readonly Null: NullType;
|
|
449
834
|
readonly Boolean: NullType;
|
|
@@ -468,9 +853,9 @@ export declare const MigrationObjectType: StructType<{
|
|
|
468
853
|
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
469
854
|
}>>;
|
|
470
855
|
readonly Recursive: VariantType<{
|
|
471
|
-
readonly ref:
|
|
856
|
+
readonly ref: IntegerType;
|
|
472
857
|
readonly wrapper: StructType<{
|
|
473
|
-
readonly id:
|
|
858
|
+
readonly id: IntegerType;
|
|
474
859
|
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
475
860
|
}>;
|
|
476
861
|
}>;
|
|
@@ -623,7 +1008,9 @@ export declare function isRecordStateType(typeValue: EastTypeValue, value?: unkn
|
|
|
623
1008
|
* @remarks
|
|
624
1009
|
* `ik` first, so every entry with one index key is a contiguous run — ordered
|
|
625
1010
|
* by primary key inside it — and a RANGE of index keys is one contiguous run
|
|
626
|
-
* too. `k` makes the entry unique and gives the run its inner order.
|
|
1011
|
+
* too. `k` makes the entry unique and gives the run its inner order. A
|
|
1012
|
+
* summary's entry stands for every row of its key, so its `k` is Null and its
|
|
1013
|
+
* value its totals: `indexCollectionType(NullType, IK, RecordSummaryTotalsType)`.
|
|
627
1014
|
*
|
|
628
1015
|
* @param keyType - the record's primary key type, `K`
|
|
629
1016
|
* @param indexKeyType - the index key the function computes, `IK`
|
|
@@ -647,15 +1034,40 @@ export declare function indexCollectionType(keyType: EastType, indexKeyType: Eas
|
|
|
647
1034
|
* patches are sparse and addressed by key.
|
|
648
1035
|
*/
|
|
649
1036
|
export declare function patchOpsType(collectionType: EastType): EastType;
|
|
1037
|
+
/**
|
|
1038
|
+
* The op a summary index's arm of a mutation delta carries for one of its keys
|
|
1039
|
+
* (#1039): `add`, the change to the key's totals — what the write's rows took
|
|
1040
|
+
* away from it and gave it, summed.
|
|
1041
|
+
*
|
|
1042
|
+
* @remarks
|
|
1043
|
+
* A write's program reads the record, never its indexes, so it cannot say
|
|
1044
|
+
* what a summary's total becomes; it says what changed, and the apply adds it
|
|
1045
|
+
* to the total the summary holds. Its parts may be negative. A key the summary
|
|
1046
|
+
* does not hold is inserted with it, and a total whose count it brings to zero
|
|
1047
|
+
* is deleted (see `e3-core`'s `record-apply.ts`).
|
|
1048
|
+
*
|
|
1049
|
+
* @property add - The change to the key's totals
|
|
1050
|
+
*/
|
|
1051
|
+
export declare const RecordSummaryOpType: VariantType<{
|
|
1052
|
+
readonly add: StructType<{
|
|
1053
|
+
readonly count: IntegerType;
|
|
1054
|
+
readonly ms: IntegerType;
|
|
1055
|
+
}>;
|
|
1056
|
+
}>;
|
|
1057
|
+
export type RecordSummaryOpType = typeof RecordSummaryOpType;
|
|
1058
|
+
export type RecordSummaryOp = ValueTypeOf<typeof RecordSummaryOpType>;
|
|
650
1059
|
/** One target of a mutation delta: its name, its key and its op type. */
|
|
651
1060
|
export interface DeltaTarget {
|
|
652
1061
|
/** `primary`, or an index name. */
|
|
653
1062
|
name: string;
|
|
654
1063
|
/** The key the target is addressed by — `K` for the primary, `{ik, k}` for
|
|
655
|
-
* an index. */
|
|
1064
|
+
* an index, `{ik, k: Null}` for a summary. */
|
|
656
1065
|
keyType: EastType;
|
|
657
1066
|
/** The target's own collection type, whose patch ops the arm carries. */
|
|
658
1067
|
collectionType: EastType;
|
|
1068
|
+
/** Whether the target is a summary index, whose arm carries
|
|
1069
|
+
* {@link RecordSummaryOpType}'s `add` rather than its collection's patch ops. */
|
|
1070
|
+
summary?: boolean;
|
|
659
1071
|
}
|
|
660
1072
|
/**
|
|
661
1073
|
* The case of a mutation delta that says the write went stale: its key says
|
|
@@ -692,7 +1104,7 @@ export declare const DELTA_CONFLICT = "$conflict";
|
|
|
692
1104
|
* @param targets - the primary and each index, in canonical case order
|
|
693
1105
|
* @returns `Dict<DeltaKey, DeltaOp>`
|
|
694
1106
|
*/
|
|
695
|
-
export declare function mutationDeltaType(targets: readonly DeltaTarget[]): EastType
|
|
1107
|
+
export declare function mutationDeltaType(targets: readonly DeltaTarget[]): DictType<VariantType<Record<string, EastType>>, VariantType<Record<string, EastType>>>;
|
|
696
1108
|
/**
|
|
697
1109
|
* The `edit` capability an edit-form mutation writes through.
|
|
698
1110
|
*
|
|
@@ -739,4 +1151,21 @@ export declare function editTypeOf(recordType: EastType): EastType;
|
|
|
739
1151
|
* @returns the window's East type
|
|
740
1152
|
*/
|
|
741
1153
|
export declare function indexWindowType(keyType: EastType, indexKeyType: EastType, valueType: EastType, rowType: EastType): EastType;
|
|
1154
|
+
/**
|
|
1155
|
+
* What a read of a Dict's rows by key answers (#1351): one entry per key
|
|
1156
|
+
* asked, in the order asked — an ORDERED array, as an index window is.
|
|
1157
|
+
*
|
|
1158
|
+
* @remarks
|
|
1159
|
+
* Each entry says whether the Dict holds the key — its row, or none — and
|
|
1160
|
+
* where the key sits in the Dict's canonical order: the row's position, the
|
|
1161
|
+
* same row space a page's element windows address, or, for a key it does not
|
|
1162
|
+
* hold, the position the key would take. So a client holds each row at its
|
|
1163
|
+
* position, and answers a later search by the key, and a one-row page there,
|
|
1164
|
+
* from what it holds.
|
|
1165
|
+
*
|
|
1166
|
+
* @param keyType - The Dict's key type, `K`
|
|
1167
|
+
* @param rowType - Its value type, `V`
|
|
1168
|
+
* @returns The answer's East type
|
|
1169
|
+
*/
|
|
1170
|
+
export declare function datasetRowsType(keyType: EastType, rowType: EastType): EastType;
|
|
742
1171
|
//# sourceMappingURL=record.d.ts.map
|
package/dist/src/record.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../src/record.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAgB,YAAY,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"record.d.ts","sourceRoot":"","sources":["../../src/record.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAgB,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAC5G,UAAU,EAAa,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAEzE,KAAK,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EACtE,MAAM,eAAe,CAAC;AAGvB;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB;IAC3B,yDAAyD;;IAEzD,6EAA6E;;IAE7E,4EAA4E;;IAE5E,iFAAiF;;IAEjF,2EAA2E;;IAE3E,8BAA8B;;IAE9B;;;;;;0EAMsE;;EAEtE,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC;AACvD,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAIhE;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,YAAY,CASjE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gBAAgB;;;;EAI3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC;AAEvD,iFAAiF;AACjF,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE;;;;;;GAMG;AACH,eAAO,MAAM,kBAAk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