@scm-js/plugin-api 1.1.0 → 1.2.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.
Files changed (2) hide show
  1. package/index.d.ts +6 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1775,6 +1775,12 @@ export interface NewDocumentOptions {
1775
1775
  description?: string;
1776
1776
  /** ISOM id of the terrain to fill with; the tileset's default ground when omitted. */
1777
1777
  terrainId?: number;
1778
+ /**
1779
+ * Start locations to lay down for players 1..N, as `tx.placeStartLocations` would.
1780
+ * Part of making the map, so a fresh scenario has no history to undo them from.
1781
+ */
1782
+ startLocations?: number;
1783
+ startLayout?: StartLayout;
1778
1784
  }
1779
1785
  export interface DocumentApi {
1780
1786
  isOpen(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",