@spidunno/desmos-types 1.13.57 → 1.13.58
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
CHANGED
|
@@ -6,11 +6,11 @@ the graphing calculator, geometry tool, 3D calculator, and the four-function and
|
|
|
6
6
|
## Install
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
npm install --save-dev @spidunno/desmos-types@~1.13.
|
|
9
|
+
npm install --save-dev @spidunno/desmos-types@~1.13.58
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
The package's major and minor version match the Desmos API version it describes; patch releases
|
|
13
|
-
are fixes to the types. Use a tilde range (`~1.13.
|
|
13
|
+
are fixes to the types. Use a tilde range (`~1.13.58`), not npm's default caret (`^`), so you only
|
|
14
14
|
get type fixes for the API version you load.
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
2
2
|
// put precise types in the hand-written files in internals/ instead.
|
|
3
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
3
|
+
// Source: Desmos v1.13-prerelease (commit 097ed87d2ac0aa33b521685832dbbeb9e849ba66).
|
|
4
4
|
// Actions accepted by each dispatch domain, from static analysis.
|
|
5
5
|
declare namespace Desmos.Internals.Generated {
|
|
6
6
|
/**
|
|
@@ -20,6 +20,8 @@ declare namespace Desmos.Internals.Generated {
|
|
|
20
20
|
/** Handled by: handleDispatchedAction. */
|
|
21
21
|
| { type: "adjust-slider-by-keyboard"; adjustment: unknown; id: string }
|
|
22
22
|
/** Handled by: handleDispatchedAction. */
|
|
23
|
+
| { type: "apply-legacy-vector-update" }
|
|
24
|
+
/** Handled by: handleDispatchedAction. */
|
|
23
25
|
| { type: "apply-transformation-to-selected"; assignmentLatex: string }
|
|
24
26
|
/** Handled by: handleDispatchedAction, hookUpDispatcher, logEventsFromDispatch. */
|
|
25
27
|
| { type: "audio-trace-command"; command: string; fromKeypad: boolean }
|
|
@@ -563,6 +565,8 @@ declare namespace Desmos.Internals.Generated {
|
|
|
563
565
|
| { type: "update-expression-search-str"; str: string }
|
|
564
566
|
/** Handled by: handleDispatchedAction. */
|
|
565
567
|
| { type: "update-legacy-random-seed-behavior" }
|
|
568
|
+
/** Handled by: handleDispatchedAction. */
|
|
569
|
+
| { type: "update-legacy-vector-behavior" }
|
|
566
570
|
/** Handled by: handleDispatchedAction, logEventsFromDispatch. */
|
|
567
571
|
| { type: "update-table-regression"; tableId: string; update: Record<string, unknown> }
|
|
568
572
|
/** Handled by: handleDispatchedAction. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
2
2
|
// put precise types in the hand-written files in internals/ instead.
|
|
3
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
3
|
+
// Source: Desmos v1.13-prerelease (commit 097ed87d2ac0aa33b521685832dbbeb9e849ba66).
|
|
4
4
|
// Runtime shapes of internal objects.
|
|
5
5
|
declare namespace Desmos.Internals.Generated {
|
|
6
6
|
interface Controller {
|
|
@@ -58,6 +58,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
58
58
|
lastParsableObjects: { abstract_item_2: Record<string, unknown>; abstract_item_3: Record<string, unknown>; abstract_item_4: Record<string, unknown>; abstract_item_5: Record<string, unknown>; abstract_item_6: Record<string, unknown>; abstract_item_7: { type: string; id: string; center: string; angle: string; width: string; height: string; opacity: string; mask: string; clickableInfo: Record<string, unknown>; description: string; draggable: boolean; moduleId?: unknown; guid: string; index: number; color: string; shouldGraph: boolean; showPoints: boolean }; abstract_item_8: { type: string; id: string; columns: Array<Record<string, unknown>>; regression?: unknown }; dcg_ticker_guid_internal: { type: string; id: string; handlerLatex: string; minStepLatex: string; shouldGraph: boolean }; dcg_viewport_statement_id_internal: { type: string; id: string; viewport: Record<string, unknown> } };
|
|
59
59
|
layoutMeasurements: { width: number; height: number };
|
|
60
60
|
layoutModel: LayoutModel;
|
|
61
|
+
legacyVectorUpdate: boolean;
|
|
61
62
|
listModel: ListModel;
|
|
62
63
|
logEvent(arg0: unknown): void;
|
|
63
64
|
movablePointsController: ControllerMovablePointsController;
|
|
@@ -334,6 +335,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
334
335
|
getLanguage(): string;
|
|
335
336
|
getLatexForInferenceItem(arg0: "t" | "z" | "chisquare" | "p" | "pleft" | "pright" | "confidenceLower" | "confidenceUpper" | "dof" | "pointEstimate" | "standardError", id: string): string | undefined;
|
|
336
337
|
getLayoutMeasurements(): { width: number; height: number };
|
|
338
|
+
getLegacyVectorMode(): boolean;
|
|
337
339
|
getListModel(): ListModel;
|
|
338
340
|
getLockRotationUserSetting(): boolean;
|
|
339
341
|
getLockViewportConfigSetting(): boolean;
|
|
@@ -474,6 +476,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
474
476
|
isItemSelected(id: string): boolean;
|
|
475
477
|
isItemSettingsMenuOpen(arg0: unknown): boolean | undefined;
|
|
476
478
|
isItemSlowInEvaluator(arg0: unknown): boolean;
|
|
479
|
+
isKeypadActivated(): boolean;
|
|
477
480
|
isKeypadEnabled(): boolean;
|
|
478
481
|
isKeypadForceActivated(): boolean;
|
|
479
482
|
isKeypadFunctionsPopoverOpen(): boolean;
|
|
@@ -966,7 +969,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
966
969
|
listeners: { evaluatorProgressUpdate: (arg0?: any) => void; changeSetResult: (arg0?: any) => void };
|
|
967
970
|
onEvaluatorProgressUpdate(): void;
|
|
968
971
|
onEvaluatorResults(arg0: unknown): void;
|
|
969
|
-
readEvaluatorConfig(): { product?: unknown; evaluationMode: "geometry" | "graphing_3d" | "graphing"; globalRandomSeed?: unknown; includeFunctionParametersInRandomSeed?: unknown; degreeMode?: unknown; viewState?: unknown; selectedIds?: unknown; restrictedFunctions?: unknown; forceEnableGeometryFunctions?: unknown; distributions?: unknown; tone?: unknown; audio?: unknown; pointsOfInterest?: unknown; plotSingleVariableImplicitEquations?: unknown; plotImplicits?: unknown; plotInequalities?: unknown; sliders?: unknown; actions: boolean; substitutions?: unknown; intervalComprehensions?: unknown; recursion?: unknown; calculus?: unknown; allowStrings?: unknown; matrices?: unknown;
|
|
972
|
+
readEvaluatorConfig(): { product?: unknown; evaluationMode: "geometry" | "graphing_3d" | "graphing"; globalRandomSeed?: unknown; includeFunctionParametersInRandomSeed?: unknown; degreeMode?: unknown; viewState?: unknown; selectedIds?: unknown; restrictedFunctions?: unknown; forceEnableGeometryFunctions?: unknown; distributions?: unknown; tone?: unknown; audio?: unknown; pointsOfInterest?: unknown; plotSingleVariableImplicitEquations?: unknown; plotImplicits?: unknown; plotInequalities?: unknown; sliders?: unknown; actions: boolean; substitutions?: unknown; intervalComprehensions?: unknown; recursion?: unknown; calculus?: unknown; allowStrings?: unknown; matrices?: unknown; degreeSymbol?: unknown; imageExpressions?: unknown; legacyVectorMode?: unknown; collectLegacyVectorRewrites?: unknown; recursionDepthLimit?: unknown; dimensions?: unknown; logInternalErrors?: unknown; showIDs?: unknown; complex?: unknown; customRegressions?: unknown; rayCast?: unknown; ignoreCostEstimate?: unknown; maxFragmentUniformComponents?: unknown; gpuBehavior?: unknown; debugCompiler?: unknown };
|
|
970
973
|
requestedIntentionalRestart: boolean;
|
|
971
974
|
shouldBlockEventUpdates(arg0?: unknown): unknown;
|
|
972
975
|
syncId: number;
|
|
@@ -1134,6 +1137,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
1134
1137
|
labelHangingColor: string;
|
|
1135
1138
|
labelSize: number;
|
|
1136
1139
|
lastChangedAxis: string;
|
|
1140
|
+
legacyVectorMode: boolean;
|
|
1137
1141
|
majorAxisOpacity: number;
|
|
1138
1142
|
minorAxisOpacity: number;
|
|
1139
1143
|
perspectiveDistortion: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
2
2
|
// put precise types in the hand-written files in internals/ instead.
|
|
3
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
3
|
+
// Source: Desmos v1.13-prerelease (commit 097ed87d2ac0aa33b521685832dbbeb9e849ba66).
|
|
4
4
|
// Props and instance members of the views on Private.Fragile.
|
|
5
5
|
declare namespace Desmos.Internals.Generated {
|
|
6
6
|
/**
|
package/module/internals.d.ts
CHANGED
|
@@ -2101,7 +2101,7 @@ declare namespace Desmos {
|
|
|
2101
2101
|
|
|
2102
2102
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
2103
2103
|
// put precise types in the hand-written files in internals/ instead.
|
|
2104
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
2104
|
+
// Source: Desmos v1.13-prerelease (commit 097ed87d2ac0aa33b521685832dbbeb9e849ba66).
|
|
2105
2105
|
// Runtime shapes of internal objects.
|
|
2106
2106
|
declare namespace Desmos.Internals.Generated {
|
|
2107
2107
|
interface Controller {
|
|
@@ -2159,6 +2159,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
2159
2159
|
lastParsableObjects: { abstract_item_2: Record<string, unknown>; abstract_item_3: Record<string, unknown>; abstract_item_4: Record<string, unknown>; abstract_item_5: Record<string, unknown>; abstract_item_6: Record<string, unknown>; abstract_item_7: { type: string; id: string; center: string; angle: string; width: string; height: string; opacity: string; mask: string; clickableInfo: Record<string, unknown>; description: string; draggable: boolean; moduleId?: unknown; guid: string; index: number; color: string; shouldGraph: boolean; showPoints: boolean }; abstract_item_8: { type: string; id: string; columns: Array<Record<string, unknown>>; regression?: unknown }; dcg_ticker_guid_internal: { type: string; id: string; handlerLatex: string; minStepLatex: string; shouldGraph: boolean }; dcg_viewport_statement_id_internal: { type: string; id: string; viewport: Record<string, unknown> } };
|
|
2160
2160
|
layoutMeasurements: { width: number; height: number };
|
|
2161
2161
|
layoutModel: LayoutModel;
|
|
2162
|
+
legacyVectorUpdate: boolean;
|
|
2162
2163
|
listModel: ListModel;
|
|
2163
2164
|
logEvent(arg0: unknown): void;
|
|
2164
2165
|
movablePointsController: ControllerMovablePointsController;
|
|
@@ -2435,6 +2436,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
2435
2436
|
getLanguage(): string;
|
|
2436
2437
|
getLatexForInferenceItem(arg0: "t" | "z" | "chisquare" | "p" | "pleft" | "pright" | "confidenceLower" | "confidenceUpper" | "dof" | "pointEstimate" | "standardError", id: string): string | undefined;
|
|
2437
2438
|
getLayoutMeasurements(): { width: number; height: number };
|
|
2439
|
+
getLegacyVectorMode(): boolean;
|
|
2438
2440
|
getListModel(): ListModel;
|
|
2439
2441
|
getLockRotationUserSetting(): boolean;
|
|
2440
2442
|
getLockViewportConfigSetting(): boolean;
|
|
@@ -2575,6 +2577,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
2575
2577
|
isItemSelected(id: string): boolean;
|
|
2576
2578
|
isItemSettingsMenuOpen(arg0: unknown): boolean | undefined;
|
|
2577
2579
|
isItemSlowInEvaluator(arg0: unknown): boolean;
|
|
2580
|
+
isKeypadActivated(): boolean;
|
|
2578
2581
|
isKeypadEnabled(): boolean;
|
|
2579
2582
|
isKeypadForceActivated(): boolean;
|
|
2580
2583
|
isKeypadFunctionsPopoverOpen(): boolean;
|
|
@@ -3067,7 +3070,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
3067
3070
|
listeners: { evaluatorProgressUpdate: (arg0?: any) => void; changeSetResult: (arg0?: any) => void };
|
|
3068
3071
|
onEvaluatorProgressUpdate(): void;
|
|
3069
3072
|
onEvaluatorResults(arg0: unknown): void;
|
|
3070
|
-
readEvaluatorConfig(): { product?: unknown; evaluationMode: "geometry" | "graphing_3d" | "graphing"; globalRandomSeed?: unknown; includeFunctionParametersInRandomSeed?: unknown; degreeMode?: unknown; viewState?: unknown; selectedIds?: unknown; restrictedFunctions?: unknown; forceEnableGeometryFunctions?: unknown; distributions?: unknown; tone?: unknown; audio?: unknown; pointsOfInterest?: unknown; plotSingleVariableImplicitEquations?: unknown; plotImplicits?: unknown; plotInequalities?: unknown; sliders?: unknown; actions: boolean; substitutions?: unknown; intervalComprehensions?: unknown; recursion?: unknown; calculus?: unknown; allowStrings?: unknown; matrices?: unknown;
|
|
3073
|
+
readEvaluatorConfig(): { product?: unknown; evaluationMode: "geometry" | "graphing_3d" | "graphing"; globalRandomSeed?: unknown; includeFunctionParametersInRandomSeed?: unknown; degreeMode?: unknown; viewState?: unknown; selectedIds?: unknown; restrictedFunctions?: unknown; forceEnableGeometryFunctions?: unknown; distributions?: unknown; tone?: unknown; audio?: unknown; pointsOfInterest?: unknown; plotSingleVariableImplicitEquations?: unknown; plotImplicits?: unknown; plotInequalities?: unknown; sliders?: unknown; actions: boolean; substitutions?: unknown; intervalComprehensions?: unknown; recursion?: unknown; calculus?: unknown; allowStrings?: unknown; matrices?: unknown; degreeSymbol?: unknown; imageExpressions?: unknown; legacyVectorMode?: unknown; collectLegacyVectorRewrites?: unknown; recursionDepthLimit?: unknown; dimensions?: unknown; logInternalErrors?: unknown; showIDs?: unknown; complex?: unknown; customRegressions?: unknown; rayCast?: unknown; ignoreCostEstimate?: unknown; maxFragmentUniformComponents?: unknown; gpuBehavior?: unknown; debugCompiler?: unknown };
|
|
3071
3074
|
requestedIntentionalRestart: boolean;
|
|
3072
3075
|
shouldBlockEventUpdates(arg0?: unknown): unknown;
|
|
3073
3076
|
syncId: number;
|
|
@@ -3235,6 +3238,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
3235
3238
|
labelHangingColor: string;
|
|
3236
3239
|
labelSize: number;
|
|
3237
3240
|
lastChangedAxis: string;
|
|
3241
|
+
legacyVectorMode: boolean;
|
|
3238
3242
|
majorAxisOpacity: number;
|
|
3239
3243
|
minorAxisOpacity: number;
|
|
3240
3244
|
perspectiveDistortion: number;
|
|
@@ -4784,7 +4788,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
4784
4788
|
|
|
4785
4789
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
4786
4790
|
// put precise types in the hand-written files in internals/ instead.
|
|
4787
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
4791
|
+
// Source: Desmos v1.13-prerelease (commit 097ed87d2ac0aa33b521685832dbbeb9e849ba66).
|
|
4788
4792
|
// Actions accepted by each dispatch domain, from static analysis.
|
|
4789
4793
|
declare namespace Desmos.Internals.Generated {
|
|
4790
4794
|
/**
|
|
@@ -4804,6 +4808,8 @@ declare namespace Desmos.Internals.Generated {
|
|
|
4804
4808
|
/** Handled by: handleDispatchedAction. */
|
|
4805
4809
|
| { type: "adjust-slider-by-keyboard"; adjustment: unknown; id: string }
|
|
4806
4810
|
/** Handled by: handleDispatchedAction. */
|
|
4811
|
+
| { type: "apply-legacy-vector-update" }
|
|
4812
|
+
/** Handled by: handleDispatchedAction. */
|
|
4807
4813
|
| { type: "apply-transformation-to-selected"; assignmentLatex: string }
|
|
4808
4814
|
/** Handled by: handleDispatchedAction, hookUpDispatcher, logEventsFromDispatch. */
|
|
4809
4815
|
| { type: "audio-trace-command"; command: string; fromKeypad: boolean }
|
|
@@ -5347,6 +5353,8 @@ declare namespace Desmos.Internals.Generated {
|
|
|
5347
5353
|
| { type: "update-expression-search-str"; str: string }
|
|
5348
5354
|
/** Handled by: handleDispatchedAction. */
|
|
5349
5355
|
| { type: "update-legacy-random-seed-behavior" }
|
|
5356
|
+
/** Handled by: handleDispatchedAction. */
|
|
5357
|
+
| { type: "update-legacy-vector-behavior" }
|
|
5350
5358
|
/** Handled by: handleDispatchedAction, logEventsFromDispatch. */
|
|
5351
5359
|
| { type: "update-table-regression"; tableId: string; update: Record<string, unknown> }
|
|
5352
5360
|
/** Handled by: handleDispatchedAction. */
|
|
@@ -5544,7 +5552,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
5544
5552
|
|
|
5545
5553
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
5546
5554
|
// put precise types in the hand-written files in internals/ instead.
|
|
5547
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
5555
|
+
// Source: Desmos v1.13-prerelease (commit 097ed87d2ac0aa33b521685832dbbeb9e849ba66).
|
|
5548
5556
|
// Props and instance members of the views on Private.Fragile.
|
|
5549
5557
|
declare namespace Desmos.Internals.Generated {
|
|
5550
5558
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spidunno/desmos-types",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.58",
|
|
4
4
|
"description": "TypeScript type definitions for the Desmos API v1.13",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
},
|
|
55
55
|
"desmos": {
|
|
56
56
|
"version": "v1.13-prerelease",
|
|
57
|
-
"commit": "
|
|
57
|
+
"commit": "097ed87d2ac0aa33b521685832dbbeb9e849ba66"
|
|
58
58
|
}
|
|
59
59
|
}
|