@spidunno/desmos-types 1.13.29 → 1.13.30
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.30
|
|
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.30`), 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 22e2c3471120bfc9abd39305de79871f657e0c9a).
|
|
4
4
|
// Actions accepted by each dispatch domain, from static analysis.
|
|
5
5
|
declare namespace Desmos.Internals.Generated {
|
|
6
6
|
/**
|
|
@@ -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 22e2c3471120bfc9abd39305de79871f657e0c9a).
|
|
4
4
|
// Runtime shapes of internal objects.
|
|
5
5
|
declare namespace Desmos.Internals.Generated {
|
|
6
6
|
interface Controller {
|
|
@@ -1666,7 +1666,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
1666
1666
|
getIconInstructionsForTool(arg0: unknown): unknown;
|
|
1667
1667
|
getNonObjectsState(): { objects?: unknown; ui: { currentTool: Record<string, unknown>; colors: Record<string, string>; clickToInsertMode: string }; hoveredObjects: unknown[]; uncommittedIds: Record<string, unknown>; selectedIds: Record<string, unknown>; nextSelectionNumber: number; fadeAnimations: Record<string, unknown>; maxAnimationEndTime: number };
|
|
1668
1668
|
getObjectDefUnderMouse(arg0: unknown, arg1: number, arg2: unknown): unknown;
|
|
1669
|
-
getOrCreatePointNearMouse(arg0: unknown, arg1: number): { type: "def"; def?: unknown } | { type: "spec"; spec: { type: "point-reference"; targetSpec: { type: "intersection"; parentDefs?: unknown }; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "intersection"; parentDefs?: unknown } } | { type: "spec"; spec: { type: "glider"; t?: unknown; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "
|
|
1669
|
+
getOrCreatePointNearMouse(arg0: unknown, arg1: number): { type: "spec"; spec: { type: "vector-endpoint"; location: "end" | "start"; parentDefs: unknown[] } } | { type: "def"; def?: unknown } | { type: "spec"; spec: { type: "point-reference"; targetSpec: { type: "intersection"; parentDefs?: unknown }; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "intersection"; parentDefs?: unknown } } | { type: "spec"; spec: { type: "glider"; t?: unknown; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "point"; x?: unknown; y?: unknown; parentDefs: unknown[]; previewOnly: boolean } };
|
|
1670
1670
|
getProjection(): Grapher2DProjection;
|
|
1671
1671
|
getTool(arg0: unknown): unknown;
|
|
1672
1672
|
getToolFadeOpacity(id: string): 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 22e2c3471120bfc9abd39305de79871f657e0c9a).
|
|
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 22e2c3471120bfc9abd39305de79871f657e0c9a).
|
|
2105
2105
|
// Runtime shapes of internal objects.
|
|
2106
2106
|
declare namespace Desmos.Internals.Generated {
|
|
2107
2107
|
interface Controller {
|
|
@@ -3767,7 +3767,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
3767
3767
|
getIconInstructionsForTool(arg0: unknown): unknown;
|
|
3768
3768
|
getNonObjectsState(): { objects?: unknown; ui: { currentTool: Record<string, unknown>; colors: Record<string, string>; clickToInsertMode: string }; hoveredObjects: unknown[]; uncommittedIds: Record<string, unknown>; selectedIds: Record<string, unknown>; nextSelectionNumber: number; fadeAnimations: Record<string, unknown>; maxAnimationEndTime: number };
|
|
3769
3769
|
getObjectDefUnderMouse(arg0: unknown, arg1: number, arg2: unknown): unknown;
|
|
3770
|
-
getOrCreatePointNearMouse(arg0: unknown, arg1: number): { type: "def"; def?: unknown } | { type: "spec"; spec: { type: "point-reference"; targetSpec: { type: "intersection"; parentDefs?: unknown }; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "intersection"; parentDefs?: unknown } } | { type: "spec"; spec: { type: "glider"; t?: unknown; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "
|
|
3770
|
+
getOrCreatePointNearMouse(arg0: unknown, arg1: number): { type: "spec"; spec: { type: "vector-endpoint"; location: "end" | "start"; parentDefs: unknown[] } } | { type: "def"; def?: unknown } | { type: "spec"; spec: { type: "point-reference"; targetSpec: { type: "intersection"; parentDefs?: unknown }; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "intersection"; parentDefs?: unknown } } | { type: "spec"; spec: { type: "glider"; t?: unknown; parentDefs: unknown[] } } | { type: "spec"; spec: { type: "point"; x?: unknown; y?: unknown; parentDefs: unknown[]; previewOnly: boolean } };
|
|
3771
3771
|
getProjection(): Grapher2DProjection;
|
|
3772
3772
|
getTool(arg0: unknown): unknown;
|
|
3773
3773
|
getToolFadeOpacity(id: string): number;
|
|
@@ -4761,7 +4761,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
4761
4761
|
|
|
4762
4762
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
4763
4763
|
// put precise types in the hand-written files in internals/ instead.
|
|
4764
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
4764
|
+
// Source: Desmos v1.13-prerelease (commit 22e2c3471120bfc9abd39305de79871f657e0c9a).
|
|
4765
4765
|
// Actions accepted by each dispatch domain, from static analysis.
|
|
4766
4766
|
declare namespace Desmos.Internals.Generated {
|
|
4767
4767
|
/**
|
|
@@ -5519,7 +5519,7 @@ declare namespace Desmos.Internals.Generated {
|
|
|
5519
5519
|
|
|
5520
5520
|
// AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
|
|
5521
5521
|
// put precise types in the hand-written files in internals/ instead.
|
|
5522
|
-
// Source: Desmos v1.13-prerelease (commit
|
|
5522
|
+
// Source: Desmos v1.13-prerelease (commit 22e2c3471120bfc9abd39305de79871f657e0c9a).
|
|
5523
5523
|
// Props and instance members of the views on Private.Fragile.
|
|
5524
5524
|
declare namespace Desmos.Internals.Generated {
|
|
5525
5525
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spidunno/desmos-types",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.30",
|
|
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": "22e2c3471120bfc9abd39305de79871f657e0c9a"
|
|
58
58
|
}
|
|
59
59
|
}
|