@casual-simulation/aux-common 3.1.36 → 3.2.1-alpha.5646793078
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/aux-format-2/AuxCausalTree2.js +5 -1
- package/aux-format-2/AuxCausalTree2.js.map +1 -1
- package/bots/Bot.d.ts +438 -43
- package/bots/Bot.js +15 -0
- package/bots/Bot.js.map +1 -1
- package/bots/BotEvents.d.ts +344 -31
- package/bots/BotEvents.js +15 -0
- package/bots/BotEvents.js.map +1 -1
- package/bots/StoredAux.d.ts +2 -0
- package/bots/StoredAux.js.map +1 -1
- package/math/Quaternion.d.ts +7 -0
- package/math/Quaternion.js +7 -0
- package/math/Quaternion.js.map +1 -1
- package/math/Rotation.d.ts +54 -2
- package/math/Rotation.js +9 -2
- package/math/Rotation.js.map +1 -1
- package/math/Vector2.d.ts +6 -0
- package/math/Vector2.js +6 -0
- package/math/Vector2.js.map +1 -1
- package/math/Vector3.d.ts +6 -0
- package/math/Vector3.js +6 -0
- package/math/Vector3.js.map +1 -1
- package/package.json +5 -5
- package/partitions/MemoryPartition.js +11 -2
- package/partitions/MemoryPartition.js.map +1 -1
- package/runtime/AuxDevice.d.ts +3 -0
- package/runtime/AuxLibrary.d.ts +1298 -54
- package/runtime/AuxLibrary.js +5406 -849
- package/runtime/AuxLibrary.js.map +1 -1
- package/runtime/AuxLibraryDefinitions.def +120 -4
- package/runtime/AuxRuntime.d.ts +4 -0
- package/runtime/AuxRuntime.js +31 -7
- package/runtime/AuxRuntime.js.map +1 -1
- package/runtime/AuxVersion.d.ts +2 -0
- package/runtime/CompiledBot.d.ts +8 -0
- package/runtime/CompiledBot.js +2 -0
- package/runtime/CompiledBot.js.map +1 -1
package/runtime/CompiledBot.d.ts
CHANGED
|
@@ -31,6 +31,13 @@ export interface CompiledBot extends PrecalculatedBot {
|
|
|
31
31
|
* The list of breakpoints that are registered on this bot.
|
|
32
32
|
*/
|
|
33
33
|
breakpoints: RuntimeBreakpoint[];
|
|
34
|
+
/**
|
|
35
|
+
* The number of errors that have occurred on each tag in this bot.
|
|
36
|
+
*/
|
|
37
|
+
errorCounts: TagErrorCounts;
|
|
38
|
+
}
|
|
39
|
+
interface TagErrorCounts {
|
|
40
|
+
[tag: string]: number;
|
|
34
41
|
}
|
|
35
42
|
export type RuntimeGenerator = Generator<InterpreterStop, any, InterpreterContinuation>;
|
|
36
43
|
export type RuntimeStop = RuntimeBeforeStop | RuntimeAfterStop;
|
|
@@ -95,4 +102,5 @@ export interface RuntimeBreakpoint extends Omit<Breakpoint, 'func'> {
|
|
|
95
102
|
* @param listeners The listeners that the bot should have.
|
|
96
103
|
*/
|
|
97
104
|
export declare function createCompiledBot(id?: string, values?: PrecalculatedTags, tags?: Bot['tags'], space?: BotSpace, listeners?: CompiledBotListeners, signatures?: BotSignatures): CompiledBot;
|
|
105
|
+
export {};
|
|
98
106
|
//# sourceMappingURL=CompiledBot.d.ts.map
|
package/runtime/CompiledBot.js
CHANGED
|
@@ -24,6 +24,7 @@ export function createCompiledBot(id = uuid(), values = {}, tags, space, listene
|
|
|
24
24
|
originalTagEditValues: {},
|
|
25
25
|
originalTagMaskEditValues: {},
|
|
26
26
|
breakpoints: [],
|
|
27
|
+
errorCounts: {},
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
return {
|
|
@@ -37,6 +38,7 @@ export function createCompiledBot(id = uuid(), values = {}, tags, space, listene
|
|
|
37
38
|
originalTagEditValues: {},
|
|
38
39
|
originalTagMaskEditValues: {},
|
|
39
40
|
breakpoints: [],
|
|
41
|
+
errorCounts: {},
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
//# sourceMappingURL=CompiledBot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompiledBot.js","sourceRoot":"","sources":["CompiledBot.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,QAAQ,GAKX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"CompiledBot.js","sourceRoot":"","sources":["CompiledBot.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,QAAQ,GAKX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,EAAE,IAAI,IAAI,EAAE,MAAM,MAAM,CAAC;AAwIlC;;;;;;;;;GASG;AACH,MAAM,UAAU,iBAAiB,CAC7B,EAAE,GAAG,IAAI,EAAE,EACX,SAA4B,EAAE,EAC9B,IAAkB,EAClB,KAAgB,EAChB,YAAkC,EAAE,EACpC,UAA0B;IAE1B,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE;QACjB,OAAO;YACH,EAAE;YACF,KAAK;YACL,aAAa,EAAE,IAAI;YACnB,IAAI,EAAE,IAAI,IAAI,MAAM;YACpB,MAAM;YACN,SAAS,EAAE,SAAS;YACpB,UAAU;YACV,MAAM,EAAE,IAAI;YACZ,qBAAqB,EAAE,EAAE;YACzB,yBAAyB,EAAE,EAAE;YAC7B,WAAW,EAAE,EAAE;YACf,WAAW,EAAE,EAAE;SAClB,CAAC;KACL;IACD,OAAO;QACH,EAAE;QACF,aAAa,EAAE,IAAI;QACnB,IAAI,EAAE,IAAI,IAAI,MAAM;QACpB,MAAM;QACN,SAAS,EAAE,SAAS;QACpB,UAAU;QACV,MAAM,EAAE,IAAI;QACZ,qBAAqB,EAAE,EAAE;QACzB,yBAAyB,EAAE,EAAE;QAC7B,WAAW,EAAE,EAAE;QACf,WAAW,EAAE,EAAE;KAClB,CAAC;AACN,CAAC"}
|