linked-rolls 0.44.0 → 0.46.0
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 +17 -2
- package/lib/Agent.d.ts +1 -1
- package/lib/Assumption.d.ts +2 -2
- package/lib/Collation.d.ts +15 -8
- package/lib/Collation.js +4 -4
- package/lib/ConditionState.d.ts +1 -1
- package/lib/Edit.d.ts +3 -3
- package/lib/Edition.d.ts +6 -6
- package/lib/EditionView.d.ts +8 -8
- package/lib/EditionView.js +6 -6
- package/lib/Emulation.d.ts +4 -4
- package/lib/Emulation.js +3 -3
- package/lib/Feature.d.ts +5 -5
- package/lib/FeatureSource.d.ts +4 -4
- package/lib/ReproducingSystem.d.ts +4 -4
- package/lib/RollCopy.d.ts +10 -10
- package/lib/RollCopy.js +4 -4
- package/lib/Symbol.d.ts +2 -2
- package/lib/Symbol.js +1 -1
- package/lib/TrackCalibration.d.ts +1 -1
- package/lib/TrackCalibration.js +1 -1
- package/lib/TrackerBar.d.ts +3 -3
- package/lib/TrackerBar.js +1 -1
- package/lib/Version.d.ts +6 -6
- package/lib/Version.js +2 -2
- package/lib/alignment.d.ts +4 -4
- package/lib/alignment.js +3 -3
- package/lib/asJsonLd.d.ts +1 -1
- package/lib/asJsonLd.js +3 -3
- package/lib/constraints.d.ts +1 -1
- package/lib/constraints.js +5 -5
- package/lib/context.js +4 -4
- package/lib/editionOps.d.ts +9 -9
- package/lib/editionOps.js +12 -12
- package/lib/importJsonLd.d.ts +1 -1
- package/lib/importJsonLd.js +3 -3
- package/lib/index.d.ts +42 -42
- package/lib/index.js +42 -42
- package/lib/migrate.js +6 -6
- package/lib/procedures.d.ts +1 -1
- package/lib/readers/phillipsEroll.d.ts +3 -3
- package/lib/readers/phillipsEroll.js +5 -5
- package/lib/readers/spencerBar.d.ts +2 -2
- package/lib/readers/spencerBar.js +3 -3
- package/lib/readers/stanfordAton.d.ts +3 -3
- package/lib/readers/stanfordAton.js +4 -4
- package/lib/reservations.d.ts +3 -3
- package/lib/reservations.js +4 -4
- package/lib/scatter.d.ts +122 -14
- package/lib/scatter.js +104 -12
- package/lib/schema.json +4 -4
- package/lib/sigla.d.ts +1 -1
- package/lib/sigla.js +4 -4
- package/lib/statistics.d.ts +1 -1
- package/lib/statistics.js +1 -1
- package/lib/substitution.d.ts +5 -5
- package/lib/substitution.js +2 -2
- package/lib/systems/index.d.ts +2 -2
- package/lib/systems/index.js +4 -4
- package/lib/systems/welteLicensee/bar.d.ts +1 -1
- package/lib/systems/welteLicensee/bar.js +2 -2
- package/lib/systems/welteLicensee/system.d.ts +2 -2
- package/lib/systems/welteLicensee/system.js +3 -3
- package/lib/systems/welteT100/bar.d.ts +1 -1
- package/lib/systems/welteT100/bar.js +2 -2
- package/lib/systems/welteT100/system.d.ts +4 -4
- package/lib/systems/welteT100/system.js +4 -4
- package/lib/systems/welteT98/bar.d.ts +1 -1
- package/lib/systems/welteT98/bar.js +2 -2
- package/lib/systems/welteT98/system.d.ts +4 -4
- package/lib/systems/welteT98/system.js +4 -4
- package/lib/validate.d.ts +1 -1
- package/lib/validate.js +1 -1
- package/lib/vocabulary.d.ts +1 -1
- package/lib/vocabulary.js +3 -3
- package/lib/witnesses.d.ts +2 -2
- package/lib/witnesses.js +2 -2
- package/package.json +1 -1
package/lib/systems/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { systemIdOf } from "../TrackerBar";
|
|
2
|
-
import { welteT100 } from "./welteT100/bar";
|
|
3
|
-
import { welteLicensee } from "./welteLicensee/bar";
|
|
4
|
-
import { welteT98 } from "./welteT98/bar";
|
|
1
|
+
import { systemIdOf } from "../TrackerBar.js";
|
|
2
|
+
import { welteT100 } from "./welteT100/bar.js";
|
|
3
|
+
import { welteLicensee } from "./welteLicensee/bar.js";
|
|
4
|
+
import { welteT98 } from "./welteT98/bar.js";
|
|
5
5
|
/** The tracker bars the library knows, the T-100 first as the usual one. */
|
|
6
6
|
export const trackerBars = [welteT100, welteLicensee, welteT98];
|
|
7
7
|
/** The bar of a system the type vocabulary knows, from its concept. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describeTrackerBar } from "../../TrackerBar";
|
|
2
|
-
import { mm } from "../../Quantity";
|
|
1
|
+
import { describeTrackerBar } from "../../TrackerBar.js";
|
|
2
|
+
import { mm } from "../../Quantity.js";
|
|
3
3
|
/**
|
|
4
4
|
* Welte-Mignon (Licensee), the American re-cut of the T-100 rolls on
|
|
5
5
|
* a roll 11¼ inches wide with 98 positions at nine to the inch, cf.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReproducingSystem } from "../../ReproducingSystem";
|
|
2
|
-
import { type WelteT100Options } from "../welteT100/system";
|
|
1
|
+
import { ReproducingSystem } from "../../ReproducingSystem.js";
|
|
2
|
+
import { type WelteT100Options } from "../welteT100/system.js";
|
|
3
3
|
export type WelteLicenseeOptions = WelteT100Options;
|
|
4
4
|
/**
|
|
5
5
|
* The one instrument on offer, and it is not a Licensee instrument.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CONSENSUS } from "welte-mignon-emulator/t100";
|
|
2
|
-
import { track } from "../../Quantity";
|
|
3
|
-
import { welteLicensee } from "./bar";
|
|
4
|
-
import { defaultWelteT100Options, instrumentNameOf, nuanceOf, performAs } from "../welteT100/system";
|
|
2
|
+
import { track } from "../../Quantity.js";
|
|
3
|
+
import { welteLicensee } from "./bar.js";
|
|
4
|
+
import { defaultWelteT100Options, instrumentNameOf, nuanceOf, performAs } from "../welteT100/system.js";
|
|
5
5
|
/**
|
|
6
6
|
* The one instrument on offer, and it is not a Licensee instrument.
|
|
7
7
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describeTrackerBar } from "../../TrackerBar";
|
|
2
|
-
import { metersPerMinute, mm } from "../../Quantity";
|
|
1
|
+
import { describeTrackerBar } from "../../TrackerBar.js";
|
|
2
|
+
import { metersPerMinute, mm } from "../../Quantity.js";
|
|
3
3
|
/**
|
|
4
4
|
* The commands of the Welte-Mignon T-100, as its tracker bar reads them.
|
|
5
5
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Half, Parameters, PedalMode, Spool } from "welte-mignon-emulator";
|
|
2
2
|
import { Instrument, RollNumber } from "welte-mignon-emulator/t100";
|
|
3
|
-
import { NegotiatedEvent, Performance, ReproducingSystem, RollProperties } from "../../ReproducingSystem";
|
|
4
|
-
import { Millimeters, Seconds, Track } from "../../Quantity";
|
|
5
|
-
import { type VelocityMap } from "../velocity";
|
|
6
|
-
export type { VelocityMap } from "../velocity";
|
|
3
|
+
import { NegotiatedEvent, Performance, ReproducingSystem, RollProperties } from "../../ReproducingSystem.js";
|
|
4
|
+
import { Millimeters, Seconds, Track } from "../../Quantity.js";
|
|
5
|
+
import { type VelocityMap } from "../velocity.js";
|
|
6
|
+
export type { VelocityMap } from "../velocity.js";
|
|
7
7
|
export type { Instrument } from "welte-mignon-emulator/t100";
|
|
8
8
|
export type InstrumentName = 'consensus' | RollNumber;
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DEFAULT_PUNCH_MM, geometryInMm, Grid, levelChanges, paperSeconds, pedalBrushing, pedalDefaults, ROWS_PER_MM, TRACKER_BORE_MM, WELTE_SPOOL, } from "welte-mignon-emulator";
|
|
2
2
|
import { aperturePorts, CONSENSUS, mezzoforteTravel, pneumaticModel, PRESETS, runPedals, travelBetweenRails, } from "welte-mignon-emulator/t100";
|
|
3
|
-
import { welteT100 } from "./bar";
|
|
4
|
-
import { inCentimeters, mm, seconds, track } from "../../Quantity";
|
|
5
|
-
import { partitionPoint } from "../../sorted";
|
|
6
|
-
import { defaultVelocityMap, velocityOf } from "../velocity";
|
|
3
|
+
import { welteT100 } from "./bar.js";
|
|
4
|
+
import { inCentimeters, mm, seconds, track } from "../../Quantity.js";
|
|
5
|
+
import { partitionPoint } from "../../sorted.js";
|
|
6
|
+
import { defaultVelocityMap, velocityOf } from "../velocity.js";
|
|
7
7
|
/**
|
|
8
8
|
* The instruments the emulator was fitted as: the consensus over the six
|
|
9
9
|
* rolls with drawn nuance lines, and the setting that drew each of them,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { describeTrackerBar } from "../../TrackerBar";
|
|
2
|
-
import { metersPerMinute, mm } from "../../Quantity";
|
|
1
|
+
import { describeTrackerBar } from "../../TrackerBar.js";
|
|
2
|
+
import { metersPerMinute, mm } from "../../Quantity.js";
|
|
3
3
|
/**
|
|
4
4
|
* The commands of the Welte-Mignon T-98, as its tracker bar reads them.
|
|
5
5
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Half, Parameters, PedalMode, Spool } from "welte-mignon-emulator";
|
|
2
2
|
import { instrumentT98Of, labelOf, nuanceOf, WelteT98InstrumentName } from "welte-mignon-emulator/t98";
|
|
3
|
-
import { ReproducingSystem } from "../../ReproducingSystem";
|
|
4
|
-
import { Millimeters, Seconds, Track } from "../../Quantity";
|
|
5
|
-
import { type VelocityMap } from "../velocity";
|
|
6
|
-
export type { VelocityMap } from "../velocity";
|
|
3
|
+
import { ReproducingSystem } from "../../ReproducingSystem.js";
|
|
4
|
+
import { Millimeters, Seconds, Track } from "../../Quantity.js";
|
|
5
|
+
import { type VelocityMap } from "../velocity.js";
|
|
6
|
+
export type { VelocityMap } from "../velocity.js";
|
|
7
7
|
export type { WelteT98Instrument, WelteT98InstrumentName } from "welte-mignon-emulator/t98";
|
|
8
8
|
/**
|
|
9
9
|
* The instruments the emulator offers for the green Welte, in three groups that
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { geometryInMm, Grid, levelChanges, mezzoforteTravel, paperSeconds, pedalBrushing, pedalDefaults, ROWS_PER_MM, travelBetweenRails, WELTE_T98_SPOOL, } from "welte-mignon-emulator";
|
|
2
2
|
import { aperturePorts, CHAIN_GAP_MM, DERIVED, GENUINE, instrumentT98Of, labelOf, nuanceOf, PUNCH_T98_MM, pneumaticT98Model, rewindAt, runPedals, sforzandoPianoLift, STARTING_VALUES, TRACKER_BORE_T98_MM, } from "welte-mignon-emulator/t98";
|
|
3
|
-
import { welteT98 } from "./bar";
|
|
4
|
-
import { inCentimeters, mm, seconds, track } from "../../Quantity";
|
|
5
|
-
import { partitionPoint } from "../../sorted";
|
|
6
|
-
import { defaultVelocityMap, velocityOf } from "../velocity";
|
|
3
|
+
import { welteT98 } from "./bar.js";
|
|
4
|
+
import { inCentimeters, mm, seconds, track } from "../../Quantity.js";
|
|
5
|
+
import { partitionPoint } from "../../sorted.js";
|
|
6
|
+
import { defaultVelocityMap, velocityOf } from "../velocity.js";
|
|
7
7
|
/**
|
|
8
8
|
* The instruments the emulator offers for the green Welte, in three groups that
|
|
9
9
|
* answer three different questions and must not be listed as one.
|
package/lib/validate.d.ts
CHANGED
package/lib/validate.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Ajv from "ajv";
|
|
2
|
-
import * as schema from "./schema.json";
|
|
2
|
+
import * as schema from "./schema.json" with { type: 'json' };
|
|
3
3
|
const compileEditionSchema = () => new Ajv({ strict: false, formats: { "date": true } }).compile(schema);
|
|
4
4
|
/**
|
|
5
5
|
* Compiling costs enough that a consumer which never validates should not
|
package/lib/vocabulary.d.ts
CHANGED
package/lib/vocabulary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { procedures } from "./procedures";
|
|
2
|
-
import { systemOf } from "./TrackerBar";
|
|
3
|
-
import { trackerBars } from "./systems";
|
|
1
|
+
import { procedures } from "./procedures.js";
|
|
2
|
+
import { systemOf } from "./TrackerBar.js";
|
|
3
|
+
import { trackerBars } from "./systems/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* The concepts the type vocabulary declares, whatever kind they are:
|
|
6
6
|
* the reproducing systems and the procedures. An edition names one of
|
package/lib/witnesses.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Belief, Certainty } from "./Assumption";
|
|
2
|
-
import { EditionView } from "./EditionView";
|
|
1
|
+
import { Belief, Certainty } from "./Assumption.js";
|
|
2
|
+
import { EditionView } from "./EditionView.js";
|
|
3
3
|
export type WitnessBy = 'carriers' | 'statement';
|
|
4
4
|
/** A copy that bears witness to a version, and how. */
|
|
5
5
|
export interface Witness {
|
package/lib/witnesses.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { certaintyOf, idOf, idsOf } from "./Assumption";
|
|
2
|
-
import { insertedBy } from "./Version";
|
|
1
|
+
import { certaintyOf, idOf, idsOf } from "./Assumption.js";
|
|
2
|
+
import { insertedBy } from "./Version.js";
|
|
3
3
|
/** The copies whose features carry any of the symbols. */
|
|
4
4
|
const copiesCarrying = (view, symbols) => new Set(symbols
|
|
5
5
|
.flatMap(symbol => idsOf(symbol.carriers))
|
package/package.json
CHANGED