@ignifx/editor-host 0.10.0 → 0.12.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/dist/error-codes.d.ts +3 -3
- package/dist/error-codes.js +3 -3
- package/dist/error-codes.js.map +1 -1
- package/dist/index.d.ts +262 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1727 -741
- package/dist/index.js.map +1 -1
- package/dist/vite.d.ts +8 -3
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +305 -7
- package/dist/vite.js.map +1 -1
- package/package.json +10 -6
- package/skills/editor-host/SKILL.md +49 -16
package/dist/error-codes.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @beta
|
|
13
13
|
*/
|
|
14
14
|
declare const EditorHostErrorCode: {
|
|
15
|
-
/** `editorOrigin` is not an origin such as `"ignifx://app"` or `"http://localhost:5173"`. */
|
|
15
|
+
/** `editorOrigin` is not an origin such as `"ignifx-editor://app"` or `"http://localhost:5173"`. */
|
|
16
16
|
readonly invalidEditorOrigin: "IGX-1801";
|
|
17
17
|
/** The host was started where there is no `window` to receive the editor's port, and was given no `messageTarget`. */
|
|
18
18
|
readonly noMessageTarget: "IGX-1802";
|
|
@@ -30,10 +30,10 @@ type EditorHostErrorCode = (typeof EditorHostErrorCode)[keyof typeof EditorHostE
|
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
32
|
* `new URL(value).origin` is not usable here: for a scheme Node does not know, such as the
|
|
33
|
-
* editor's `ignifx://app`, it answers `"null"`, while Chromium reports `ignifx://app` as
|
|
33
|
+
* editor's `ignifx-editor://app`, it answers `"null"`, while Chromium reports `ignifx-editor://app` as
|
|
34
34
|
* `event.origin` because Electron registers the scheme as standard.
|
|
35
35
|
*
|
|
36
|
-
* @param value - The candidate, for example `"ignifx://app"` or `"http://localhost:5173"`.
|
|
36
|
+
* @param value - The candidate, for example `"ignifx-editor://app"` or `"http://localhost:5173"`.
|
|
37
37
|
* @returns `true` when the value is a scheme, `://`, and a host with an optional port.
|
|
38
38
|
*
|
|
39
39
|
* @beta
|
package/dist/error-codes.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @beta
|
|
13
13
|
*/
|
|
14
14
|
const EditorHostErrorCode = {
|
|
15
|
-
/** `editorOrigin` is not an origin such as `"ignifx://app"` or `"http://localhost:5173"`. */
|
|
15
|
+
/** `editorOrigin` is not an origin such as `"ignifx-editor://app"` or `"http://localhost:5173"`. */
|
|
16
16
|
invalidEditorOrigin: "IGX-1801",
|
|
17
17
|
/** The host was started where there is no `window` to receive the editor's port, and was given no `messageTarget`. */
|
|
18
18
|
noMessageTarget: "IGX-1802",
|
|
@@ -29,10 +29,10 @@ const ORIGIN_SHAPE = /^[a-z][a-z\d+.-]*:\/\/[^\s/?#;,'"*]+$/iu;
|
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
31
|
* `new URL(value).origin` is not usable here: for a scheme Node does not know, such as the
|
|
32
|
-
* editor's `ignifx://app`, it answers `"null"`, while Chromium reports `ignifx://app` as
|
|
32
|
+
* editor's `ignifx-editor://app`, it answers `"null"`, while Chromium reports `ignifx-editor://app` as
|
|
33
33
|
* `event.origin` because Electron registers the scheme as standard.
|
|
34
34
|
*
|
|
35
|
-
* @param value - The candidate, for example `"ignifx://app"` or `"http://localhost:5173"`.
|
|
35
|
+
* @param value - The candidate, for example `"ignifx-editor://app"` or `"http://localhost:5173"`.
|
|
36
36
|
* @returns `true` when the value is a scheme, `://`, and a host with an optional port.
|
|
37
37
|
*
|
|
38
38
|
* @beta
|
package/dist/error-codes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-codes.js","names":[],"sources":["../src/error-codes.ts"],"sourcesContent":["/**\n * The diagnostic codes `@ignifx/editor-host` owns, and the origin rule both of its entries check.\n *\n * The package owns the `18xx` range (`docs/architecture/15-devtools-and-diagnostics.md` §1). This\n * module is plain data with no imports, because the Vite plugin runs in Node without\n * `@ignifx/core` and still reports the same codes.\n */\n\n/**\n * Every diagnostic code `@ignifx/editor-host` can throw, keyed by an intention-revealing name.\n *\n * @beta\n */\nexport const EditorHostErrorCode = {\n /** `editorOrigin` is not an origin such as `\"ignifx://app\"` or `\"http://localhost:5173\"`. */\n invalidEditorOrigin: \"IGX-1801\",\n /** The host was started where there is no `window` to receive the editor's port, and was given no `messageTarget`. */\n noMessageTarget: \"IGX-1802\",\n /** An option is outside its documented domain. */\n invalidOption: \"IGX-1803\",\n} as const;\n\n/**\n * The union of the codes in `EditorHostErrorCode`.\n *\n * @beta\n */\nexport type EditorHostErrorCode = (typeof EditorHostErrorCode)[keyof typeof EditorHostErrorCode];\n\n/**\n * A scheme, `://`, and a host with an optional port: no path, no wildcard, and nothing that could\n * end a `Content-Security-Policy` directive early.\n */\nconst ORIGIN_SHAPE = /^[a-z][a-z\\d+.-]*:\\/\\/[^\\s/?#;,'\"*]+$/iu;\n\n/**\n * Tells whether a string is an origin the editor can be served from.\n *\n * @remarks\n * `new URL(value).origin` is not usable here: for a scheme Node does not know, such as the\n * editor's `ignifx://app`, it answers `\"null\"`, while Chromium reports `ignifx://app` as\n * `event.origin` because Electron registers the scheme as standard.\n *\n * @param value - The candidate, for example `\"ignifx://app\"` or `\"http://localhost:5173\"`.\n * @returns `true` when the value is a scheme, `://`, and a host with an optional port.\n *\n * @beta\n */\nexport function isEditorOrigin(value: string): boolean {\n return ORIGIN_SHAPE.test(value);\n}\n"],"mappings":";;;;;;;;;;;;;AAaA,MAAa,sBAAsB;;CAEjC,qBAAqB;;CAErB,iBAAiB;;CAEjB,eAAe;AACjB;;;;;AAaA,MAAM,eAAe;;;;;;;;;;;;;;AAerB,SAAgB,eAAe,OAAwB;CACrD,OAAO,aAAa,KAAK,KAAK;AAChC"}
|
|
1
|
+
{"version":3,"file":"error-codes.js","names":[],"sources":["../src/error-codes.ts"],"sourcesContent":["/**\n * The diagnostic codes `@ignifx/editor-host` owns, and the origin rule both of its entries check.\n *\n * The package owns the `18xx` range (`docs/architecture/15-devtools-and-diagnostics.md` §1). This\n * module is plain data with no imports, because the Vite plugin runs in Node without\n * `@ignifx/core` and still reports the same codes.\n */\n\n/**\n * Every diagnostic code `@ignifx/editor-host` can throw, keyed by an intention-revealing name.\n *\n * @beta\n */\nexport const EditorHostErrorCode = {\n /** `editorOrigin` is not an origin such as `\"ignifx-editor://app\"` or `\"http://localhost:5173\"`. */\n invalidEditorOrigin: \"IGX-1801\",\n /** The host was started where there is no `window` to receive the editor's port, and was given no `messageTarget`. */\n noMessageTarget: \"IGX-1802\",\n /** An option is outside its documented domain. */\n invalidOption: \"IGX-1803\",\n} as const;\n\n/**\n * The union of the codes in `EditorHostErrorCode`.\n *\n * @beta\n */\nexport type EditorHostErrorCode = (typeof EditorHostErrorCode)[keyof typeof EditorHostErrorCode];\n\n/**\n * A scheme, `://`, and a host with an optional port: no path, no wildcard, and nothing that could\n * end a `Content-Security-Policy` directive early.\n */\nconst ORIGIN_SHAPE = /^[a-z][a-z\\d+.-]*:\\/\\/[^\\s/?#;,'\"*]+$/iu;\n\n/**\n * Tells whether a string is an origin the editor can be served from.\n *\n * @remarks\n * `new URL(value).origin` is not usable here: for a scheme Node does not know, such as the\n * editor's `ignifx-editor://app`, it answers `\"null\"`, while Chromium reports `ignifx-editor://app` as\n * `event.origin` because Electron registers the scheme as standard.\n *\n * @param value - The candidate, for example `\"ignifx-editor://app\"` or `\"http://localhost:5173\"`.\n * @returns `true` when the value is a scheme, `://`, and a host with an optional port.\n *\n * @beta\n */\nexport function isEditorOrigin(value: string): boolean {\n return ORIGIN_SHAPE.test(value);\n}\n"],"mappings":";;;;;;;;;;;;;AAaA,MAAa,sBAAsB;;CAEjC,qBAAqB;;CAErB,iBAAiB;;CAEjB,eAAe;AACjB;;;;;AAaA,MAAM,eAAe;;;;;;;;;;;;;;AAerB,SAAgB,eAAe,OAAwB;CACrD,OAAO,aAAa,KAAK,KAAK;AAChC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as isEditorOrigin, t as EditorHostErrorCode } from "./error-codes.js";
|
|
2
|
-
import { App, AssetsCreateOptions, ConcreteComponentType, Extension, RenderSurface, SceneInstance, SettingsInput } from "@ignifx/core";
|
|
2
|
+
import { App, AssetsCreateOptions, Component, ConcreteComponentType, Extension, RenderSurface, SceneInstance, SettingsInput } from "@ignifx/core";
|
|
3
3
|
//#region src/protocol/connect.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The `type` of the window message that hands a host its `MessagePort`.
|
|
@@ -332,6 +332,25 @@ export declare const HostCapability: {
|
|
|
332
332
|
* @public
|
|
333
333
|
*/
|
|
334
334
|
export type HostCapability = (typeof HostCapability)[keyof typeof HostCapability];
|
|
335
|
+
/**
|
|
336
|
+
* The longest string, in UTF-16 code units, the editor accepts from a host in `ready` (the engine
|
|
337
|
+
* version, each capability name) and in the reports `log`, `hostError` (with `AppErrorData`) and
|
|
338
|
+
* `hotReloaded` (messages, codes, scopes, stacks, type ids). A message holding a longer one fails
|
|
339
|
+
* its guard and is dropped whole. It is far above what the Console keeps (which clips a message or
|
|
340
|
+
* a stack it shows), so it only stops a runaway report from crossing the editor's processes. The
|
|
341
|
+
* host does not clip to it.
|
|
342
|
+
*
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
export declare const HOST_TEXT_MAX_LENGTH = 1048576;
|
|
346
|
+
/**
|
|
347
|
+
* The longest list the editor accepts from a host in `ready` (the capabilities) and in a
|
|
348
|
+
* `hotReloaded` report (the type ids, the errors). A message holding a longer one fails its guard
|
|
349
|
+
* and is dropped whole.
|
|
350
|
+
*
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export declare const HOST_LIST_MAX_LENGTH = 4096;
|
|
335
354
|
/**
|
|
336
355
|
* What the editor says about itself in `hello`.
|
|
337
356
|
*
|
|
@@ -414,7 +433,8 @@ export declare function isProtocolVersion(value: unknown): value is ProtocolVers
|
|
|
414
433
|
*
|
|
415
434
|
* @param value - The received `result`.
|
|
416
435
|
* @returns True when it has a string `engineVersion`, a protocol version, an array of capability
|
|
417
|
-
* strings, and a known `hostKind
|
|
436
|
+
* strings, and a known `hostKind`; the strings and the list within {@link HOST_TEXT_MAX_LENGTH}
|
|
437
|
+
* and {@link HOST_LIST_MAX_LENGTH}.
|
|
418
438
|
*
|
|
419
439
|
* @public
|
|
420
440
|
*/
|
|
@@ -1252,6 +1272,24 @@ export declare const SceneMethod: {
|
|
|
1252
1272
|
readonly describeSettings: "describeSettings";
|
|
1253
1273
|
/** Switches the view between the 3D and the 2D editor camera. Answers `null`. */
|
|
1254
1274
|
readonly setViewMode: "setViewMode";
|
|
1275
|
+
/**
|
|
1276
|
+
* Turns the editor's "animate materials" toggle on or off: whether the shader clock runs in the
|
|
1277
|
+
* scene view. Answers `null`. The host starts with it on, after every load. A host from before it
|
|
1278
|
+
* answers `RpcErrorCode.methodNotFound`. Additive in 0.3.
|
|
1279
|
+
*/
|
|
1280
|
+
readonly setAnimateMaterials: "setAnimateMaterials";
|
|
1281
|
+
/**
|
|
1282
|
+
* Outlines the colliders of entities of the open scene, as world-space line segments, for the
|
|
1283
|
+
* editor's collider gizmos. Answers {@link ColliderOutlineSet}. A host from before it answers
|
|
1284
|
+
* `RpcErrorCode.methodNotFound`. Additive in 0.3.
|
|
1285
|
+
*/
|
|
1286
|
+
readonly getColliderOutlines: "getColliderOutlines";
|
|
1287
|
+
/**
|
|
1288
|
+
* Poses an entity's `Animator` at one point of one state without playing it (engine ADR-0028,
|
|
1289
|
+
* amendment 2026-10-20). Answers {@link SampleAnimationResult}. A host from before it answers
|
|
1290
|
+
* `RpcErrorCode.methodNotFound`. Additive in 0.3.
|
|
1291
|
+
*/
|
|
1292
|
+
readonly sampleAnimation: "sampleAnimation";
|
|
1255
1293
|
};
|
|
1256
1294
|
/**
|
|
1257
1295
|
* The union of the names in `SceneMethod`.
|
|
@@ -1315,6 +1353,36 @@ export declare const TRANSFORM_DRAGGING_INTERVAL_MS = 50;
|
|
|
1315
1353
|
* @public
|
|
1316
1354
|
*/
|
|
1317
1355
|
export declare const SCREENSHOT_MAX_SIZE = 2048;
|
|
1356
|
+
/**
|
|
1357
|
+
* The most entities one `getColliderOutlines` request outlines; the rest of a longer list are left
|
|
1358
|
+
* out and the answer says `truncated`.
|
|
1359
|
+
*
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
export declare const COLLIDER_OUTLINES_MAX_ENTITIES = 256;
|
|
1363
|
+
/**
|
|
1364
|
+
* The most numbers all the `lines` of one `getColliderOutlines` answer hold together, 100 000
|
|
1365
|
+
* segments: an outline that would pass it is left out, with every one after it, and the answer
|
|
1366
|
+
* says `truncated`.
|
|
1367
|
+
*
|
|
1368
|
+
* @public
|
|
1369
|
+
*/
|
|
1370
|
+
export declare const COLLIDER_OUTLINES_MAX_NUMBERS = 6e5;
|
|
1371
|
+
/**
|
|
1372
|
+
* The most parameter values one `sampleAnimation` request may carry. A request with more fails
|
|
1373
|
+
* with `invalidParams`.
|
|
1374
|
+
*
|
|
1375
|
+
* @public
|
|
1376
|
+
*/
|
|
1377
|
+
export declare const SAMPLE_ANIMATION_MAX_PARAMETERS = 64;
|
|
1378
|
+
/**
|
|
1379
|
+
* The longest `entity`, `state` or parameter name, in UTF-16 code units, one `sampleAnimation`
|
|
1380
|
+
* request may carry. A request with a longer one fails with `invalidParams`. It also bounds the
|
|
1381
|
+
* names an error message echoes back.
|
|
1382
|
+
*
|
|
1383
|
+
* @public
|
|
1384
|
+
*/
|
|
1385
|
+
export declare const SAMPLE_ANIMATION_MAX_NAME_LENGTH = 256;
|
|
1318
1386
|
/**
|
|
1319
1387
|
* A world-space point, `[x, y, z]`, in metres.
|
|
1320
1388
|
*
|
|
@@ -1475,6 +1543,15 @@ interface ApplyOpsResult {
|
|
|
1475
1543
|
readonly applied: number;
|
|
1476
1544
|
/** The ops that were not, in order. */
|
|
1477
1545
|
readonly failures: readonly ApplyOpFailure[];
|
|
1546
|
+
/**
|
|
1547
|
+
* Every recoverable problem the engine reported while the host applied these ops, in order: what
|
|
1548
|
+
* a subtree an op or an instance rebuild built reported (an override that names nothing in the
|
|
1549
|
+
* prefab, a reference that resolves nowhere in the document), in the form of
|
|
1550
|
+
* {@link OpenSceneResult}'s `warnings`. The host also logs each one as a `log` warning; this list
|
|
1551
|
+
* is the one tied to the command. Empty when there were none; absent from a host from before it,
|
|
1552
|
+
* which an editor treats as unknown, not as none.
|
|
1553
|
+
*/
|
|
1554
|
+
readonly warnings?: readonly SceneIssue[];
|
|
1478
1555
|
}
|
|
1479
1556
|
/**
|
|
1480
1557
|
* The parameters of `readBack`.
|
|
@@ -1772,6 +1849,24 @@ interface SchemaDescription {
|
|
|
1772
1849
|
* ask E4) sends no such member.
|
|
1773
1850
|
*/
|
|
1774
1851
|
readonly builtIn?: boolean;
|
|
1852
|
+
/**
|
|
1853
|
+
* The components the class lists in `static requires`, as type ids (`null` for a class without a
|
|
1854
|
+
* `typeId`), in declaration order. The engine adds each one that is missing whenever the component
|
|
1855
|
+
* is added, so an editor adds them itself as part of the same command; a component whose class
|
|
1856
|
+
* extends a required one counts. Absent when the class requires nothing, on file-format entries,
|
|
1857
|
+
* and from a host from before engine ask E33.
|
|
1858
|
+
*/
|
|
1859
|
+
readonly requires?: readonly (string | null)[];
|
|
1860
|
+
/**
|
|
1861
|
+
* The type ids of the registered components the class extends, nearest first: each ancestor class
|
|
1862
|
+
* registered under its own `static typeId`. The class itself and its unregistered ancestors (an
|
|
1863
|
+
* abstract base, `Component`, `Script`) are left out. The engine counts a component whose class
|
|
1864
|
+
* extends a required one as present, so an editor treats a `requires` entry as present on an
|
|
1865
|
+
* entity when one of its components has that type id or lists it here. Empty when the class
|
|
1866
|
+
* extends no registered component; absent on file-format entries and from a host from before
|
|
1867
|
+
* engine ask E44, which an editor treats as unknown, not as none.
|
|
1868
|
+
*/
|
|
1869
|
+
readonly extends?: readonly string[];
|
|
1775
1870
|
/**
|
|
1776
1871
|
* The JSON Schema of the component's `props` (the engine's `toJsonSchema(schema)`), which adds
|
|
1777
1872
|
* each field's `minimum`, `maximum`, `enum` and nested shapes; absent for file-format entries.
|
|
@@ -1836,6 +1931,93 @@ interface SetViewModeParams {
|
|
|
1836
1931
|
/** The editor camera to use. */
|
|
1837
1932
|
readonly mode: ViewMode;
|
|
1838
1933
|
}
|
|
1934
|
+
/**
|
|
1935
|
+
* The parameters of `setAnimateMaterials`.
|
|
1936
|
+
*
|
|
1937
|
+
* @public
|
|
1938
|
+
*/
|
|
1939
|
+
interface SetAnimateMaterialsParams {
|
|
1940
|
+
/** Whether the shader clock (`time` in shader materials and custom post effects) runs. */
|
|
1941
|
+
readonly enabled: boolean;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* One collider's outline in the answer to `getColliderOutlines`.
|
|
1945
|
+
*
|
|
1946
|
+
* @public
|
|
1947
|
+
*/
|
|
1948
|
+
interface ColliderOutlineRecord {
|
|
1949
|
+
/** The uid of the entity the collider is on. */
|
|
1950
|
+
readonly entity: string;
|
|
1951
|
+
/** The collider component's uid. */
|
|
1952
|
+
readonly component: string;
|
|
1953
|
+
/** Whether the collider is a trigger. */
|
|
1954
|
+
readonly isTrigger: boolean;
|
|
1955
|
+
/**
|
|
1956
|
+
* World-space line segments in metres: every six numbers are one segment, the `x, y, z` of its
|
|
1957
|
+
* two ends. A 2D collider's segments lie at its entity's world `z`. Empty for a collider the
|
|
1958
|
+
* engine cannot outline, such as a 3D `MeshCollider`.
|
|
1959
|
+
*/
|
|
1960
|
+
readonly lines: readonly number[];
|
|
1961
|
+
}
|
|
1962
|
+
/**
|
|
1963
|
+
* The answer to `getColliderOutlines`.
|
|
1964
|
+
*
|
|
1965
|
+
* @public
|
|
1966
|
+
*/
|
|
1967
|
+
interface ColliderOutlineSet {
|
|
1968
|
+
/**
|
|
1969
|
+
* One record per enabled collider of each requested entity that the open scene has, in request
|
|
1970
|
+
* order and then component order. Empty when the project registers no physics extension.
|
|
1971
|
+
*/
|
|
1972
|
+
readonly outlines: readonly ColliderOutlineRecord[];
|
|
1973
|
+
/**
|
|
1974
|
+
* True when outlines were left out: the request named more than
|
|
1975
|
+
* {@link COLLIDER_OUTLINES_MAX_ENTITIES} entities, or the lines would have passed
|
|
1976
|
+
* {@link COLLIDER_OUTLINES_MAX_NUMBERS} numbers. The outlines sent are whole.
|
|
1977
|
+
*/
|
|
1978
|
+
readonly truncated: boolean;
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* The parameters of `sampleAnimation`.
|
|
1982
|
+
*
|
|
1983
|
+
* @remarks
|
|
1984
|
+
* The host calls the engine's `Animator.sample(state, normalizedTime, { parameters })` on the
|
|
1985
|
+
* entity's `Animator`. A time inside `[0, 1]` is used as given; outside it a looping state wraps
|
|
1986
|
+
* and a one-shot state clamps. The state replaces its own layer and every other layer keeps its
|
|
1987
|
+
* current pose; nothing else about the animator changes, and in an edit-mode scene view the pose
|
|
1988
|
+
* stays until the next sample. Names are at most {@link SAMPLE_ANIMATION_MAX_NAME_LENGTH} long and
|
|
1989
|
+
* `parameters` holds at most {@link SAMPLE_ANIMATION_MAX_PARAMETERS} values. An entity the open scene
|
|
1990
|
+
* lacks, or one without an `Animator`, is refused with `RpcErrorCode.invalidParams`, and so is
|
|
1991
|
+
* whatever the engine refuses (an unknown state or parameter, an entity with no model to pose),
|
|
1992
|
+
* with the engine's code as `data.code`.
|
|
1993
|
+
*
|
|
1994
|
+
* @public
|
|
1995
|
+
*/
|
|
1996
|
+
interface SampleAnimationParams {
|
|
1997
|
+
/** The uid of the document entity whose `Animator` is posed. */
|
|
1998
|
+
readonly entity: string;
|
|
1999
|
+
/** The state's name in the animator document. */
|
|
2000
|
+
readonly state: string;
|
|
2001
|
+
/** How far into the state, where `0` is its start and `1` its end. */
|
|
2002
|
+
readonly normalizedTime: number;
|
|
2003
|
+
/**
|
|
2004
|
+
* Parameter values this sample reads instead of the animator's own, by name: a number for a
|
|
2005
|
+
* `float` or `int`, a boolean for a `bool`. A blend-tree state reads its parameter here first.
|
|
2006
|
+
*/
|
|
2007
|
+
readonly parameters?: Readonly<Record<string, number | boolean>>;
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* The answer to `sampleAnimation`.
|
|
2011
|
+
*
|
|
2012
|
+
* @public
|
|
2013
|
+
*/
|
|
2014
|
+
interface SampleAnimationResult {
|
|
2015
|
+
/**
|
|
2016
|
+
* Whether the pose was written. `false` while the animator document or the model's clips are
|
|
2017
|
+
* still loading, and always in a headless host; the editor may send the request again later.
|
|
2018
|
+
*/
|
|
2019
|
+
readonly posed: boolean;
|
|
2020
|
+
}
|
|
1839
2021
|
/**
|
|
1840
2022
|
* The parameters of `sceneOpened`.
|
|
1841
2023
|
*
|
|
@@ -2052,10 +2234,10 @@ interface RpcNotificationWithParams<M extends string, P> extends RpcNotification
|
|
|
2052
2234
|
*
|
|
2053
2235
|
* @public
|
|
2054
2236
|
*/
|
|
2055
|
-
type SceneRequest = RpcRequestWithParams<typeof SceneMethod.openScene, OpenSceneParams> | RpcRequest<typeof SceneMethod.closeScene, never> | RpcRequestWithParams<typeof SceneMethod.applyOps, ApplyOpsParams> | RpcRequestWithParams<typeof SceneMethod.readBack, ReadBackParams> | RpcRequestWithParams<typeof SceneMethod.select, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.setGizmo, SetGizmoParams> | RpcRequestWithParams<typeof SceneMethod.frame, FrameParams> | RpcRequestWithParams<typeof SceneMethod.pick, PickParams> | RpcRequestWithParams<typeof SceneMethod.screenshot, ScreenshotParams> | RpcRequest<typeof SceneMethod.getSchemas, never> | RpcRequest<typeof SceneMethod.describeSettings, never> | RpcRequestWithParams<typeof SceneMethod.setViewMode, SetViewModeParams>;
|
|
2237
|
+
type SceneRequest = RpcRequestWithParams<typeof SceneMethod.openScene, OpenSceneParams> | RpcRequest<typeof SceneMethod.closeScene, never> | RpcRequestWithParams<typeof SceneMethod.applyOps, ApplyOpsParams> | RpcRequestWithParams<typeof SceneMethod.readBack, ReadBackParams> | RpcRequestWithParams<typeof SceneMethod.select, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.setGizmo, SetGizmoParams> | RpcRequestWithParams<typeof SceneMethod.frame, FrameParams> | RpcRequestWithParams<typeof SceneMethod.pick, PickParams> | RpcRequestWithParams<typeof SceneMethod.screenshot, ScreenshotParams> | RpcRequest<typeof SceneMethod.getSchemas, never> | RpcRequest<typeof SceneMethod.describeSettings, never> | RpcRequestWithParams<typeof SceneMethod.setViewMode, SetViewModeParams> | RpcRequestWithParams<typeof SceneMethod.setAnimateMaterials, SetAnimateMaterialsParams> | RpcRequestWithParams<typeof SceneMethod.getColliderOutlines, EntitySelection> | RpcRequestWithParams<typeof SceneMethod.sampleAnimation, SampleAnimationParams>;
|
|
2056
2238
|
/**
|
|
2057
|
-
* The success answer of the `SceneMethod`s that return nothing: `closeScene`, `setGizmo`, `frame
|
|
2058
|
-
* and `
|
|
2239
|
+
* The success answer of the `SceneMethod`s that return nothing: `closeScene`, `setGizmo`, `frame`,
|
|
2240
|
+
* `setViewMode` and `setAnimateMaterials`.
|
|
2059
2241
|
*
|
|
2060
2242
|
* @public
|
|
2061
2243
|
*/
|
|
@@ -2108,6 +2290,18 @@ type GetSchemasResponse = RpcSuccessResponse<SchemaSet>;
|
|
|
2108
2290
|
* @public
|
|
2109
2291
|
*/
|
|
2110
2292
|
type DescribeSettingsResponse = RpcSuccessResponse<SettingsSet>;
|
|
2293
|
+
/**
|
|
2294
|
+
* The success answer to `getColliderOutlines`.
|
|
2295
|
+
*
|
|
2296
|
+
* @public
|
|
2297
|
+
*/
|
|
2298
|
+
type ColliderOutlinesResponse = RpcSuccessResponse<ColliderOutlineSet>;
|
|
2299
|
+
/**
|
|
2300
|
+
* The success answer to `sampleAnimation`.
|
|
2301
|
+
*
|
|
2302
|
+
* @public
|
|
2303
|
+
*/
|
|
2304
|
+
type SampleAnimationResponse = RpcSuccessResponse<SampleAnimationResult>;
|
|
2111
2305
|
/**
|
|
2112
2306
|
* Scene host → editor: one of the `SceneNotification`s.
|
|
2113
2307
|
*
|
|
@@ -2164,7 +2358,8 @@ export declare function isApplyOpsParams(value: unknown): value is ApplyOpsParam
|
|
|
2164
2358
|
* Checks the result of `applyOps`.
|
|
2165
2359
|
*
|
|
2166
2360
|
* @param value - The received `result`.
|
|
2167
|
-
* @returns True for a count of applied ops
|
|
2361
|
+
* @returns True for a count of applied ops, a list of failures with known codes, and an optional
|
|
2362
|
+
* list of issues.
|
|
2168
2363
|
*
|
|
2169
2364
|
* @public
|
|
2170
2365
|
*/
|
|
@@ -2280,6 +2475,54 @@ export declare function isSettingsSet(value: unknown): value is SettingsSet;
|
|
|
2280
2475
|
* @public
|
|
2281
2476
|
*/
|
|
2282
2477
|
export declare function isSetViewModeParams(value: unknown): value is SetViewModeParams;
|
|
2478
|
+
/**
|
|
2479
|
+
* Checks the parameters of `setAnimateMaterials`.
|
|
2480
|
+
*
|
|
2481
|
+
* @param value - The received `params`.
|
|
2482
|
+
* @returns True for a boolean `enabled`.
|
|
2483
|
+
*
|
|
2484
|
+
* @public
|
|
2485
|
+
*/
|
|
2486
|
+
export declare function isSetAnimateMaterialsParams(value: unknown): value is SetAnimateMaterialsParams;
|
|
2487
|
+
/**
|
|
2488
|
+
* Checks one record of `getColliderOutlines`.
|
|
2489
|
+
*
|
|
2490
|
+
* @param value - The value to test.
|
|
2491
|
+
* @returns True for two uids, a boolean, and a list of finite numbers whose length is a multiple of
|
|
2492
|
+
* six.
|
|
2493
|
+
*
|
|
2494
|
+
* @public
|
|
2495
|
+
*/
|
|
2496
|
+
export declare function isColliderOutlineRecord(value: unknown): value is ColliderOutlineRecord;
|
|
2497
|
+
/**
|
|
2498
|
+
* Checks the result of `getColliderOutlines`.
|
|
2499
|
+
*
|
|
2500
|
+
* @param value - The received `result`.
|
|
2501
|
+
* @returns True for a list of outline records and a boolean `truncated`.
|
|
2502
|
+
*
|
|
2503
|
+
* @public
|
|
2504
|
+
*/
|
|
2505
|
+
export declare function isColliderOutlineSet(value: unknown): value is ColliderOutlineSet;
|
|
2506
|
+
/**
|
|
2507
|
+
* Checks the parameters of `sampleAnimation`.
|
|
2508
|
+
*
|
|
2509
|
+
* @param value - The received `params`.
|
|
2510
|
+
* @returns True for a uid, a state name, a finite time, and optional parameter values that are
|
|
2511
|
+
* finite numbers or booleans, within {@link SAMPLE_ANIMATION_MAX_NAME_LENGTH} and
|
|
2512
|
+
* {@link SAMPLE_ANIMATION_MAX_PARAMETERS}.
|
|
2513
|
+
*
|
|
2514
|
+
* @public
|
|
2515
|
+
*/
|
|
2516
|
+
export declare function isSampleAnimationParams(value: unknown): value is SampleAnimationParams;
|
|
2517
|
+
/**
|
|
2518
|
+
* Checks the result of `sampleAnimation`.
|
|
2519
|
+
*
|
|
2520
|
+
* @param value - The received `result`.
|
|
2521
|
+
* @returns True for `{ posed: boolean }`.
|
|
2522
|
+
*
|
|
2523
|
+
* @public
|
|
2524
|
+
*/
|
|
2525
|
+
export declare function isSampleAnimationResult(value: unknown): value is SampleAnimationResult;
|
|
2283
2526
|
/**
|
|
2284
2527
|
* Checks the parameters of `sceneOpened`.
|
|
2285
2528
|
*
|
|
@@ -2293,7 +2536,8 @@ export declare function isSceneOpenedParams(value: unknown): value is SceneOpene
|
|
|
2293
2536
|
* Checks the parameters of `hotReloaded`.
|
|
2294
2537
|
*
|
|
2295
2538
|
* @param value - The received `params`.
|
|
2296
|
-
* @returns True for `{ report }` with a known kind, type ids, counts and JSON errors
|
|
2539
|
+
* @returns True for `{ report }` with a known kind, type ids, counts and JSON errors, its strings and
|
|
2540
|
+
* lists within `HOST_TEXT_MAX_LENGTH` and `HOST_LIST_MAX_LENGTH`.
|
|
2297
2541
|
*
|
|
2298
2542
|
* @public
|
|
2299
2543
|
*/
|
|
@@ -2329,7 +2573,8 @@ export declare function isTransformDraggedParams(value: unknown): value is Trans
|
|
|
2329
2573
|
* Checks the parameters of `hostError`.
|
|
2330
2574
|
*
|
|
2331
2575
|
* @param value - The received `params`.
|
|
2332
|
-
* @returns True for a code or `null`, a message and optional JSON data
|
|
2576
|
+
* @returns True for a code or `null`, a message and optional JSON data, the strings within
|
|
2577
|
+
* `HOST_TEXT_MAX_LENGTH`.
|
|
2333
2578
|
*
|
|
2334
2579
|
* @public
|
|
2335
2580
|
*/
|
|
@@ -2339,7 +2584,8 @@ export declare function isHostErrorParams(value: unknown): value is HostErrorPar
|
|
|
2339
2584
|
*
|
|
2340
2585
|
* @param value - The received `data`.
|
|
2341
2586
|
* @returns True for a boundary name, a phase or `null`, an entity uid or `null`, and, when present,
|
|
2342
|
-
* a phase name, an entity name, a component and a stack, each a string or `null
|
|
2587
|
+
* a phase name, an entity name, a component and a stack, each a string or `null`; the strings within
|
|
2588
|
+
* `HOST_TEXT_MAX_LENGTH`.
|
|
2343
2589
|
*
|
|
2344
2590
|
* @public
|
|
2345
2591
|
*/
|
|
@@ -2348,7 +2594,8 @@ export declare function isAppErrorData(value: unknown): value is AppErrorData;
|
|
|
2348
2594
|
* Checks the parameters of `log`.
|
|
2349
2595
|
*
|
|
2350
2596
|
* @param value - The received `params`.
|
|
2351
|
-
* @returns True for a known level, a scope or `null`, a message and a finite time
|
|
2597
|
+
* @returns True for a known level, a scope or `null`, a message and a finite time, the strings
|
|
2598
|
+
* within `HOST_TEXT_MAX_LENGTH`.
|
|
2352
2599
|
*
|
|
2353
2600
|
* @public
|
|
2354
2601
|
*/
|
|
@@ -2402,7 +2649,7 @@ interface EditorAssetChange {
|
|
|
2402
2649
|
*/
|
|
2403
2650
|
interface EditorHostOptions {
|
|
2404
2651
|
/**
|
|
2405
|
-
* The origin the editor is served from, for example `"ignifx://app"`. A port posted from any
|
|
2652
|
+
* The origin the editor is served from, for example `"ignifx-editor://app"`. A port posted from any
|
|
2406
2653
|
* other origin is ignored.
|
|
2407
2654
|
*/
|
|
2408
2655
|
readonly editorOrigin: string;
|
|
@@ -2510,7 +2757,7 @@ interface EditorHost {
|
|
|
2510
2757
|
* ```ts
|
|
2511
2758
|
* import { startEditorHost } from "@ignifx/editor-host";
|
|
2512
2759
|
*
|
|
2513
|
-
* const host = await startEditorHost({ editorOrigin: "ignifx://app", canvas, extensions: [], scripts });
|
|
2760
|
+
* const host = await startEditorHost({ editorOrigin: "ignifx-editor://app", canvas, extensions: [], scripts });
|
|
2514
2761
|
* ```
|
|
2515
2762
|
*
|
|
2516
2763
|
* @beta
|
|
@@ -2588,7 +2835,7 @@ interface EditorPlayConnector {
|
|
|
2588
2835
|
*
|
|
2589
2836
|
* @example
|
|
2590
2837
|
* ```ts
|
|
2591
|
-
* const controls = startEditorPlayControls(app, { editorOrigin: "ignifx://app" });
|
|
2838
|
+
* const controls = startEditorPlayControls(app, { editorOrigin: "ignifx-editor://app" });
|
|
2592
2839
|
* controls.dispose();
|
|
2593
2840
|
* ```
|
|
2594
2841
|
*
|
|
@@ -2614,7 +2861,7 @@ export declare function startEditorPlayControls(app: App, options: EditorPlayCon
|
|
|
2614
2861
|
*
|
|
2615
2862
|
* @example
|
|
2616
2863
|
* ```ts
|
|
2617
|
-
* const connector = listenForEditorPlayControls({ editorOrigin: "ignifx://app" });
|
|
2864
|
+
* const connector = listenForEditorPlayControls({ editorOrigin: "ignifx-editor://app" });
|
|
2618
2865
|
* const app = await createApp({ headless: true });
|
|
2619
2866
|
* const controls = connector.attach(app);
|
|
2620
2867
|
* connector.dispose();
|
|
@@ -2624,5 +2871,5 @@ export declare function startEditorPlayControls(app: App, options: EditorPlayCon
|
|
|
2624
2871
|
*/
|
|
2625
2872
|
export declare function listenForEditorPlayControls(options: EditorPlayControlsOptions): EditorPlayConnector;
|
|
2626
2873
|
//#endregion
|
|
2627
|
-
export { type AddComponentOp, type AppErrorData, type ApplyOpFailure, type ApplyOpsParams, type ApplyOpsResponse, type ApplyOpsResult, type AssetReloadedParams, type CreateEntityOp, type DescribeSettingsResponse, type DestroyEntityOp, type EditorAssetChange, type EditorConnectMessage, type EditorHost, EditorHostErrorCode, type EditorHostOptions, type EditorMessageTarget, type EditorPlayConnector, type EditorPlayControls, type EditorPlayControlsOptions, type EntityField, type EntityFieldValues, type EntitySelection, type FrameParams, type GetSchemasResponse, type GizmoDragMode, type GizmoSnap, type HeartbeatNotification, type HelloParams, type HelloRequest, type HostErrorParams, type HotReloadError, type HotReloadReport, type HotReloadedParams, type IncompatibleProtocolData, type InstantiateOp, type InvalidSceneFileData, type JsonArray, type JsonObject, type JsonPath, type JsonValue, type LogLevel, type LogParams, type LoggedError, type NullResponse, type OpenSceneParams, type OpenSceneResponse, type OpenSceneResult, type PickParams, type PickRay, type PickResponse, type PickResult, type PingRequest, type PlayRequest, type PlayResponse, type PlayState, type PlayStateChangedNotification, type PlayStateReport, type PlayStateResponse, type PlayStats, type PlayStatsResponse, type PongResponse, type ProtocolVersion, type ReadBackParams, type ReadBackResponse, type ReadBackResult, type ReadyResponse, type ReadyResult, type RemoveComponentOp, type RemoveOverrideOp, type ReorderOp, type ReparentOp, type RpcError, type RpcErrorResponse, type RpcId, type RpcMessage, type RpcNotification, type RpcNotificationWithParams, type RpcRequest, type RpcRequestWithParams, type RpcResponse, type RpcSuccessResponse, type SceneFile, type SceneFileAssetRef, type SceneFileComponent, type SceneFileEntity, type SceneFileInstance, type SceneFileIssue, type SceneFileOverride, type SceneFileTransform, type SceneHostNotification, type SceneIssue, type SceneOp, type SceneOpenedParams, type SceneRequest, type SchemaDescription, type SchemaFieldDescription, type SchemaSet, type ScreenshotParams, type ScreenshotResponse, type ScreenshotResult, type SelectResponse, type SetEntityFieldOp, type SetGizmoParams, type SetOverrideOp, type SetPropOp, type SetSceneSettingOp, type SetTransformOp, type SetViewModeParams, type SettingsSet, type StepParams, type TransformDraggedParams, type TransformDraggingParams, type Vec3, isEditorOrigin };
|
|
2874
|
+
export { type AddComponentOp, type AppErrorData, type ApplyOpFailure, type ApplyOpsParams, type ApplyOpsResponse, type ApplyOpsResult, type AssetReloadedParams, type ColliderOutlineRecord, type ColliderOutlineSet, type ColliderOutlinesResponse, type CreateEntityOp, type DescribeSettingsResponse, type DestroyEntityOp, type EditorAssetChange, type EditorConnectMessage, type EditorHost, EditorHostErrorCode, type EditorHostOptions, type EditorMessageTarget, type EditorPlayConnector, type EditorPlayControls, type EditorPlayControlsOptions, type EntityField, type EntityFieldValues, type EntitySelection, type FrameParams, type GetSchemasResponse, type GizmoDragMode, type GizmoSnap, type HeartbeatNotification, type HelloParams, type HelloRequest, type HostErrorParams, type HotReloadError, type HotReloadReport, type HotReloadedParams, type IncompatibleProtocolData, type InstantiateOp, type InvalidSceneFileData, type JsonArray, type JsonObject, type JsonPath, type JsonValue, type LogLevel, type LogParams, type LoggedError, type NullResponse, type OpenSceneParams, type OpenSceneResponse, type OpenSceneResult, type PickParams, type PickRay, type PickResponse, type PickResult, type PingRequest, type PlayRequest, type PlayResponse, type PlayState, type PlayStateChangedNotification, type PlayStateReport, type PlayStateResponse, type PlayStats, type PlayStatsResponse, type PongResponse, type ProtocolVersion, type ReadBackParams, type ReadBackResponse, type ReadBackResult, type ReadyResponse, type ReadyResult, type RemoveComponentOp, type RemoveOverrideOp, type ReorderOp, type ReparentOp, type RpcError, type RpcErrorResponse, type RpcId, type RpcMessage, type RpcNotification, type RpcNotificationWithParams, type RpcRequest, type RpcRequestWithParams, type RpcResponse, type RpcSuccessResponse, type SampleAnimationParams, type SampleAnimationResponse, type SampleAnimationResult, type SceneFile, type SceneFileAssetRef, type SceneFileComponent, type SceneFileEntity, type SceneFileInstance, type SceneFileIssue, type SceneFileOverride, type SceneFileTransform, type SceneHostNotification, type SceneIssue, type SceneOp, type SceneOpenedParams, type SceneRequest, type SchemaDescription, type SchemaFieldDescription, type SchemaSet, type ScreenshotParams, type ScreenshotResponse, type ScreenshotResult, type SelectResponse, type SetAnimateMaterialsParams, type SetEntityFieldOp, type SetGizmoParams, type SetOverrideOp, type SetPropOp, type SetSceneSettingOp, type SetTransformOp, type SetViewModeParams, type SettingsSet, type StepParams, type TransformDraggedParams, type TransformDraggingParams, type Vec3, isEditorOrigin };
|
|
2628
2875
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/protocol/connect.ts","../src/protocol/rpc.ts","../src/protocol/version.ts","../src/protocol/handshake.ts","../src/protocol/heartbeat.ts","../src/protocol/play.ts","../src/protocol/scene-file.ts","../src/protocol/scene-ops.ts","../src/protocol/scene.ts","../src/channel.ts","../src/scene/asset-reload.ts","../src/host.ts","../src/play-controls.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;qBA0Ba;;;;;;;UAQI;;WAEN,aAAa;;;;;;;;;;;wBAYR,uBAAuB,iBAAiB,SAAS;;;;;;;;;;;;qBCpCpD;;;;;;KAOD;;;;;;;;;;qBAWC;;WAEX;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;;;;WAKA;;WAEA;;;;;;;YAQU,uBAAuB,2BAA2B;;;;;;UAO7C;;WAEN,MAAM;;WAEN;;WAEA;;;;;;;;;;UAWM,WAAW,2BAA2B;;WAE5C,gBAAgB;;WAEhB,IAAI;;WAEJ,QAAQ;;WAER,SAAS;;;;;;;;;;UAWH,gBAAgB,2BAA2B;;WAEjD,gBAAgB;;WAEhB,QAAQ;;WAER,SAAS;;;;;;;;;UAUH,mBAAmB;;WAEzB,gBAAgB;;WAEhB,IAAI;;WAEJ,QAAQ;;;;;;;UAQF;;WAEN,gBAAgB;;WAEhB,IAAI;;WAEJ,OAAO;;;;;;;;;KAUN,YAAY,eAAe,mBAAmB,KAAK;;;;;;KAOnD,aAAa,aAAa,kBAAkB;;;;;;;;;;wBAgDxC,aAAa,iBAAiB,SAAS;;;;;;;;;;;;;UC5LtC;;WAEN;;WAEA;;;;;;;;qBASE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;wBAyBf,4BAA4B,GAAG,iBAAiB,GAAG;;;;;;;;;;;qBC5BtD;;WAEX;;WAEA;;;;;;;YAQU,0BAA0B,8BAA8B;;;;;;qBAOvD;;WAEX;;WAEA;;;;;;;YAQU,mBAAmB,uBAAuB;;;;;;;;;;;qBAYzC;;WAEX;;WAEA;;;;;WAKA;;WAEA;;WAEA;;;;;WAKA;;;;;;;WAOA;;;;;;;;WAQA;;;;;;;YAQU,yBAAyB,6BAA6B;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/protocol/connect.ts","../src/protocol/rpc.ts","../src/protocol/version.ts","../src/protocol/handshake.ts","../src/protocol/heartbeat.ts","../src/protocol/play.ts","../src/protocol/scene-file.ts","../src/protocol/scene-ops.ts","../src/protocol/scene.ts","../src/channel.ts","../src/scene/asset-reload.ts","../src/host.ts","../src/play-controls.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;qBA0Ba;;;;;;;UAQI;;WAEN,aAAa;;;;;;;;;;;wBAYR,uBAAuB,iBAAiB,SAAS;;;;;;;;;;;;qBCpCpD;;;;;;KAOD;;;;;;;;;;qBAWC;;WAEX;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;;;;WAKA;;WAEA;;;;;;;YAQU,uBAAuB,2BAA2B;;;;;;UAO7C;;WAEN,MAAM;;WAEN;;WAEA;;;;;;;;;;UAWM,WAAW,2BAA2B;;WAE5C,gBAAgB;;WAEhB,IAAI;;WAEJ,QAAQ;;WAER,SAAS;;;;;;;;;;UAWH,gBAAgB,2BAA2B;;WAEjD,gBAAgB;;WAEhB,QAAQ;;WAER,SAAS;;;;;;;;;UAUH,mBAAmB;;WAEzB,gBAAgB;;WAEhB,IAAI;;WAEJ,QAAQ;;;;;;;UAQF;;WAEN,gBAAgB;;WAEhB,IAAI;;WAEJ,OAAO;;;;;;;;;KAUN,YAAY,eAAe,mBAAmB,KAAK;;;;;;KAOnD,aAAa,aAAa,kBAAkB;;;;;;;;;;wBAgDxC,aAAa,iBAAiB,SAAS;;;;;;;;;;;;;UC5LtC;;WAEN;;WAEA;;;;;;;;qB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