@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.
@@ -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
@@ -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,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