@spidunno/desmos-types 1.13.55 → 1.13.56

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.55
9
+ npm install --save-dev @spidunno/desmos-types@~1.13.56
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.55`), not npm's default caret (`^`), so you only
13
+ are fixes to the types. Use a tilde range (`~1.13.56`), 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 10328ba0f54d274d4558ecc80096728068a11449).
3
+ // Source: Desmos v1.13-prerelease (commit e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be).
4
4
  // Actions accepted by each dispatch domain, from static analysis.
5
5
  declare namespace Desmos.Internals.Generated {
6
6
  /**
@@ -619,6 +619,8 @@ declare namespace Desmos.Internals.Generated {
619
619
  /** Handled by: handleAction. */
620
620
  | { type: "mouse-up" }
621
621
  /** Handled by: handleAction. */
622
+ | { type: "paste"; content: unknown }
623
+ /** Handled by: handleAction. */
622
624
  | { type: "resize-matrix-at-cursor"; dx: number; dy: number }
623
625
  /** Handled by: handleAction. */
624
626
  | { type: "resize-matrix-by-arrow"; dx: number; dy: number }
@@ -659,7 +661,7 @@ declare namespace Desmos.Internals.Generated {
659
661
  /** Handled by: handleAction. */
660
662
  | { type: "type-char"; char: unknown }
661
663
  /** Handled by: handleAction. */
662
- | { type: "write-latex"; fromPaste: boolean; latex: string };
664
+ | { type: "write-latex"; latex: string };
663
665
 
664
666
  /**
665
667
  * Actions handled by a four-function or scientific calculator controller.
@@ -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 10328ba0f54d274d4558ecc80096728068a11449).
3
+ // Source: Desmos v1.13-prerelease (commit e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be).
4
4
  // Runtime shapes of internal objects.
5
5
  declare namespace Desmos.Internals.Generated {
6
6
  interface Controller {
@@ -1488,7 +1488,7 @@ declare namespace Desmos.Internals.Generated {
1488
1488
  onAction(action: unknown): void;
1489
1489
  rejectPaste(arg0: unknown): void;
1490
1490
  runAfterDispatch(callback: () => void): void;
1491
- selectedLatex(): string;
1491
+ selectedContentForCopy(): { plain?: unknown; latex: string } | { plain: string; latex: string };
1492
1492
  setMostRecentAriaMessage(mostRecentAriaMessage: unknown): void;
1493
1493
  subscribeToChanges(arg0: unknown): (...args: any[]) => unknown;
1494
1494
  updateViews(): void;
@@ -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 10328ba0f54d274d4558ecc80096728068a11449).
3
+ // Source: Desmos v1.13-prerelease (commit e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be).
4
4
  // Props and instance members of the views on Private.Fragile.
5
5
  declare namespace Desmos.Internals.Generated {
6
6
  /**
@@ -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 10328ba0f54d274d4558ecc80096728068a11449).
2104
+ // Source: Desmos v1.13-prerelease (commit e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be).
2105
2105
  // Runtime shapes of internal objects.
2106
2106
  declare namespace Desmos.Internals.Generated {
2107
2107
  interface Controller {
@@ -3589,7 +3589,7 @@ declare namespace Desmos.Internals.Generated {
3589
3589
  onAction(action: unknown): void;
3590
3590
  rejectPaste(arg0: unknown): void;
3591
3591
  runAfterDispatch(callback: () => void): void;
3592
- selectedLatex(): string;
3592
+ selectedContentForCopy(): { plain?: unknown; latex: string } | { plain: string; latex: string };
3593
3593
  setMostRecentAriaMessage(mostRecentAriaMessage: unknown): void;
3594
3594
  subscribeToChanges(arg0: unknown): (...args: any[]) => unknown;
3595
3595
  updateViews(): void;
@@ -4767,7 +4767,7 @@ declare namespace Desmos.Internals.Generated {
4767
4767
 
4768
4768
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
4769
4769
  // put precise types in the hand-written files in internals/ instead.
4770
- // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
4770
+ // Source: Desmos v1.13-prerelease (commit e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be).
4771
4771
  // Actions accepted by each dispatch domain, from static analysis.
4772
4772
  declare namespace Desmos.Internals.Generated {
4773
4773
  /**
@@ -5386,6 +5386,8 @@ declare namespace Desmos.Internals.Generated {
5386
5386
  /** Handled by: handleAction. */
5387
5387
  | { type: "mouse-up" }
5388
5388
  /** Handled by: handleAction. */
5389
+ | { type: "paste"; content: unknown }
5390
+ /** Handled by: handleAction. */
5389
5391
  | { type: "resize-matrix-at-cursor"; dx: number; dy: number }
5390
5392
  /** Handled by: handleAction. */
5391
5393
  | { type: "resize-matrix-by-arrow"; dx: number; dy: number }
@@ -5426,7 +5428,7 @@ declare namespace Desmos.Internals.Generated {
5426
5428
  /** Handled by: handleAction. */
5427
5429
  | { type: "type-char"; char: unknown }
5428
5430
  /** Handled by: handleAction. */
5429
- | { type: "write-latex"; fromPaste: boolean; latex: string };
5431
+ | { type: "write-latex"; latex: string };
5430
5432
 
5431
5433
  /**
5432
5434
  * Actions handled by a four-function or scientific calculator controller.
@@ -5525,7 +5527,7 @@ declare namespace Desmos.Internals.Generated {
5525
5527
 
5526
5528
  // AUTO-GENERATED by scripts/extract-internals.cjs. Do not edit by hand:
5527
5529
  // put precise types in the hand-written files in internals/ instead.
5528
- // Source: Desmos v1.13-prerelease (commit 10328ba0f54d274d4558ecc80096728068a11449).
5530
+ // Source: Desmos v1.13-prerelease (commit e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be).
5529
5531
  // Props and instance members of the views on Private.Fragile.
5530
5532
  declare namespace Desmos.Internals.Generated {
5531
5533
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spidunno/desmos-types",
3
- "version": "1.13.55",
3
+ "version": "1.13.56",
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": "10328ba0f54d274d4558ecc80096728068a11449"
57
+ "commit": "e1b566b8b1fecb3e2bd8c3279c6b6276ce8db5be"
58
58
  }
59
59
  }