@granito/vitest-marbles 1.0.0-dev.4 → 1.0.0-dev.6

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
@@ -4,7 +4,7 @@
4
4
  # Vitest Marbles
5
5
 
6
6
  A set of helper functions and [Vitest](http://vitest.dev/) matchers for
7
- [RxJs](https://rxjs.dev/)
7
+ [RxJS](https://rxjs.dev/)
8
8
  [marble testing](https://rxjs.dev/guide/testing/marble-testing).
9
9
  This library will help you to test your reactive code in easy and
10
10
  clean way.
@@ -12,7 +12,7 @@ clean way.
12
12
  # Features
13
13
 
14
14
  * Typescript;
15
- * marblized error messages.
15
+ * easy to read error messages for subscription expectations.
16
16
 
17
17
  # Prerequisites
18
18
 
@@ -23,7 +23,8 @@ clean way.
23
23
 
24
24
  # Not supported
25
25
 
26
- * time progression syntax.
26
+ * time progression syntax;
27
+ * `.not` syntax.
27
28
 
28
29
  # Usage
29
30
 
package/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from './lib/marbles';
2
2
  export * from './lib/matchers';
3
- //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,169 +1,82 @@
1
1
  // src/lib/scheduler.ts
2
2
  import { TestScheduler } from "rxjs/testing";
3
3
 
4
- // src/lib/notification-event.ts
5
- var NotificationEvent = class {
6
- constructor(start) {
7
- this.start = start;
8
- }
9
- marbles = "";
10
- get end() {
11
- return this.start + this.marbles.length;
12
- }
13
- };
14
-
15
- // src/lib/notification-kind.ts
16
- var ValueLiteral = {};
17
- var NotificationKindChars = {
18
- N: ValueLiteral,
19
- C: "|" /* Completion */,
20
- E: "#" /* Error */
21
- };
22
-
23
4
  // src/lib/marblizer.ts
24
5
  var frameStep = 10;
25
- var Marblizer = class _Marblizer {
26
- static marblize(messages) {
27
- const emissions = _Marblizer.getNotificationEvents(messages);
28
- let marbles = "";
29
- for (let i = 0, prevEndFrame = 0; i < emissions.length; prevEndFrame = emissions[i].end, i++)
30
- marbles = `${marbles}${"-" /* TimeFrame */.repeat(emissions[i].start - prevEndFrame) + emissions[i].marbles}`;
31
- return marbles;
32
- }
33
- static marblizeSubscriptions(logs) {
34
- return logs.map(
35
- (log) => this.marblizeLogEntry(log.subscribedFrame / frameStep, "^" /* Subscription */) + this.marblizeLogEntry(
36
- (log.unsubscribedFrame - log.subscribedFrame) / frameStep - 1,
37
- "!" /* Unsubscription */
38
- )
39
- );
40
- }
41
- static marblizeLogEntry(logPoint, symbol) {
42
- return logPoint !== Infinity ? "-" /* TimeFrame */.repeat(logPoint) + symbol : "";
43
- }
44
- static getNotificationEvents(messages) {
45
- const framesToEmissions = messages.reduce((result, message) => {
46
- if (!result[message.frame])
47
- result[message.frame] = new NotificationEvent(message.frame / frameStep);
48
- const event = result[message.frame];
49
- event.marbles += _Marblizer.extractMarble(message);
50
- return result;
51
- }, {});
52
- const events = Object.keys(framesToEmissions).map((frame) => framesToEmissions[Number(frame)]);
53
- _Marblizer.encloseGroupEvents(events);
54
- return events;
55
- }
56
- static extractMarble(message) {
57
- let marble = NotificationKindChars[message.notification.kind];
58
- if (marble === ValueLiteral)
59
- marble = message.notification.value;
60
- return marble;
61
- }
62
- static encloseGroupEvents(events) {
63
- events.forEach((event) => {
64
- if (event.marbles.length > 1)
65
- event.marbles = `${"(" /* GroupStart */}${event.marbles}${")" /* GroupEnd */}`;
66
- });
67
- }
68
- };
6
+ function marblize(logs) {
7
+ return logs.map(
8
+ (log) => marblizeLogEntry(log.subscribedFrame / frameStep, "^" /* Subscription */) + marblizeLogEntry(
9
+ (log.unsubscribedFrame - log.subscribedFrame) / frameStep - 1,
10
+ "!" /* Unsubscription */
11
+ )
12
+ );
13
+ }
14
+ function marblizeLogEntry(logPoint, symbol) {
15
+ return logPoint !== Infinity ? "-" /* TimeFrame */.repeat(logPoint) + symbol : "";
16
+ }
69
17
 
70
18
  // src/lib/internal-matchers.ts
71
19
  var internalMatchers = {
72
20
  toBeNotifications(actual, expected) {
73
- let actualMarble = actual;
74
- let expectedMarble = expected;
75
- if (canMarblize(actual, expected)) {
76
- actualMarble = Marblizer.marblize(actual);
77
- expectedMarble = Marblizer.marblize(expected);
78
- }
79
- const pass = this.equals(actualMarble, expectedMarble);
80
- const message = pass ? () => this.utils.matcherHint(".not.toBeNotifications") + `
81
-
82
- Expected notifications to not be:
83
- ${this.utils.printExpected(expectedMarble)}
84
- But got:
85
- ${this.utils.printReceived(actualMarble)}` : () => {
86
- const diffString = this.utils.diff(expectedMarble, actualMarble, {
87
- expand: true
88
- });
89
- return this.utils.matcherHint(".toBeNotifications") + `
21
+ let message = "";
22
+ const pass = this.equals(actual, expected);
23
+ if (!pass) {
24
+ const diff = this.utils.diff(expected, actual, { expand: true });
25
+ message = this.utils.matcherHint(".toBeNotifications") + `
90
26
 
91
27
  Expected notifications to be:
92
- ${this.utils.printExpected(expectedMarble)}
28
+ ${this.utils.printExpected(expected)}
93
29
  But got:
94
- ${this.utils.printReceived(actualMarble)}` + (diffString ? `
30
+ ${this.utils.printReceived(actual)}
95
31
 
96
32
  Difference:
97
33
 
98
- ${diffString}` : "");
99
- };
34
+ ${diff}`;
35
+ }
100
36
  return {
101
37
  pass,
102
- message
38
+ message: () => message
103
39
  };
104
40
  },
105
- toBeSubscriptions(actual, expected) {
106
- const actualMarbleArray = Marblizer.marblizeSubscriptions(actual);
107
- const expectedMarbleArray = Marblizer.marblizeSubscriptions(expected);
108
- const pass = subscriptionsPass(actualMarbleArray, expectedMarbleArray);
109
- const message = pass ? () => this.utils.matcherHint(".not.toHaveSubscriptions") + `
110
-
111
- Expected observable to not have the following subscription points:
112
- ${this.utils.printExpected(expectedMarbleArray)}
113
- But got:
114
- ${this.utils.printReceived(actualMarbleArray)}` : () => {
115
- const diffString = this.utils.diff(expectedMarbleArray, actualMarbleArray, {
116
- expand: true
117
- });
118
- return this.utils.matcherHint(".toHaveSubscriptions") + `
41
+ toBeSubscriptions(actualSubs, expectedSubs) {
42
+ const actual = marblize(actualSubs);
43
+ const expected = marblize(expectedSubs);
44
+ const pass = sameSubscriptions(actual, expected);
45
+ let message = "";
46
+ if (!pass) {
47
+ const diff = this.utils.diff(expected, actual, { expand: true });
48
+ message = this.utils.matcherHint(".toHaveSubscriptions") + `
119
49
 
120
50
  Expected observable to have the following subscription points:
121
- ${this.utils.printExpected(expectedMarbleArray)}
51
+ ${this.utils.printExpected(expected)}
122
52
  But got:
123
- ${this.utils.printReceived(actualMarbleArray)}` + (diffString ? `
53
+ ${this.utils.printReceived(actual)}
124
54
 
125
55
  Difference:
126
56
 
127
- ${diffString}` : "");
128
- };
57
+ ${diff}`;
58
+ }
129
59
  return {
130
60
  pass,
131
- message
61
+ message: () => message
132
62
  };
133
63
  },
134
64
  toHaveEmptySubscriptions(actual) {
135
- const pass = !(actual && actual.length > 0);
136
- let marbles;
137
- if (actual && actual.length > 0)
138
- marbles = Marblizer.marblizeSubscriptions(actual);
139
- const message = pass ? () => this.utils.matcherHint(".not.toHaveNoSubscriptions") + `
140
-
141
- Expected observable to have at least one subscription point, but got nothing` + this.utils.printReceived("") : () => this.utils.matcherHint(".toHaveNoSubscriptions") + `
65
+ const message = this.utils.matcherHint(".toHaveNoSubscriptions") + `
142
66
 
143
67
  Expected observable to have no subscription points
144
68
  But got:
145
- ${this.utils.printReceived(marbles)}
69
+ ${this.utils.printReceived(marblize(actual))}
146
70
 
147
71
  `;
148
72
  return {
149
- pass,
150
- message
73
+ pass: false,
74
+ message: () => message
151
75
  };
152
76
  }
153
77
  };
154
78
  expect.extend(internalMatchers);
155
- function canMarblize(...messages) {
156
- return messages.every(isMessagesMarblizable);
157
- }
158
- function isMessagesMarblizable(messages) {
159
- return messages.every(
160
- ({ notification }) => notification.kind === "C" || notification.kind === "E" && notification.error === "error" || notification.kind === "N" && isCharacter(notification.value)
161
- );
162
- }
163
- function isCharacter(value) {
164
- return typeof value === "string" && value.length === 1 || value !== void 0 && JSON.stringify(value).length === 1;
165
- }
166
- function subscriptionsPass(actualMarbleArray, expectedMarbleArray) {
79
+ function sameSubscriptions(actualMarbleArray, expectedMarbleArray) {
167
80
  if (actualMarbleArray.length !== expectedMarbleArray.length)
168
81
  return false;
169
82
  for (const actualMarble of actualMarbleArray)
@@ -173,21 +86,23 @@ function subscriptionsPass(actualMarbleArray, expectedMarbleArray) {
173
86
  }
174
87
 
175
88
  // src/lib/assert-deep-equal.ts
176
- function expectedIsSubscriptionLogArray(actual, expected) {
177
- return actual.length === 0 && expected.length === 0 || expected.length !== 0 && expected[0].subscribedFrame !== void 0;
178
- }
179
- function actualIsSubscriptionsAndExpectedIsEmpty(actual, expected) {
180
- return expected.length === 0 && actual.length !== 0 && actual[0].subscribedFrame !== void 0;
181
- }
182
89
  function assertDeepEqual(actual, expected) {
183
90
  if (!expected)
184
91
  return;
185
- if (actualIsSubscriptionsAndExpectedIsEmpty(actual, expected))
186
- expect(actual).toHaveEmptySubscriptions();
187
- else if (expectedIsSubscriptionLogArray(actual, expected))
188
- expect(actual).toBeSubscriptions(expected);
189
- else
190
- expect(actual).toBeNotifications(expected);
92
+ if (expected.length !== 0) {
93
+ if (isSubscriptions(expected))
94
+ expect(actual).toBeSubscriptions(expected);
95
+ else
96
+ expect(actual).toBeNotifications(expected);
97
+ } else if (actual.length !== 0) {
98
+ if (isSubscriptions(actual))
99
+ expect(actual).toHaveEmptySubscriptions();
100
+ else
101
+ expect(actual).toBeNotifications([]);
102
+ }
103
+ }
104
+ function isSubscriptions(log) {
105
+ return log[0].subscribedFrame !== void 0;
191
106
  }
192
107
 
193
108
  // src/lib/scheduler.ts
@@ -206,20 +121,15 @@ var Scheduler = class _Scheduler {
206
121
  }
207
122
  };
208
123
 
209
- // src/lib/strip-alignment-chars.ts
210
- function stripAlignmentChars(marbles) {
211
- return marbles.replace(/^ +/, "");
212
- }
213
-
214
124
  // src/lib/marbles.ts
215
125
  function cold(marbles, values, error) {
216
- return Scheduler.get().createColdObservable(stripAlignmentChars(marbles), values, error);
126
+ return Scheduler.get().createColdObservable(marbles.trim(), values, error);
217
127
  }
218
128
  function hot(marbles, values, error) {
219
- return Scheduler.get().createHotObservable(stripAlignmentChars(marbles), values, error);
129
+ return Scheduler.get().createHotObservable(marbles.trim(), values, error);
220
130
  }
221
131
  function time(marbles) {
222
- return Scheduler.get().createTime(stripAlignmentChars(marbles));
132
+ return Scheduler.get().createTime(marbles.trim());
223
133
  }
224
134
  function schedule(work, delay) {
225
135
  return Scheduler.get().schedule(work, delay);
@@ -227,34 +137,34 @@ function schedule(work, delay) {
227
137
 
228
138
  // src/lib/matchers.ts
229
139
  import { TestScheduler as TestScheduler2 } from "rxjs/testing";
230
- var dummyResult = {
140
+ var success = {
231
141
  pass: true,
232
142
  message: () => ""
233
143
  };
234
144
  expect.extend({
235
145
  toHaveSubscriptions(actual, marbles) {
236
- const sanitizedMarbles = Array.isArray(marbles) ? marbles.map(stripAlignmentChars) : stripAlignmentChars(marbles);
146
+ const sanitizedMarbles = Array.isArray(marbles) ? marbles.map((m) => m.trim()) : marbles.trim();
237
147
  Scheduler.get().expectSubscriptions(actual.subscriptions).toBe(sanitizedMarbles);
238
- return dummyResult;
148
+ return success;
239
149
  },
240
150
  toHaveNoSubscriptions(actual) {
241
151
  Scheduler.get().expectSubscriptions(actual.subscriptions).toBe([]);
242
- return dummyResult;
152
+ return success;
243
153
  },
244
- toBeObservable(actual, expected) {
245
- Scheduler.get().expectObservable(actual).toEqual(expected);
246
- return dummyResult;
154
+ toBeObservable(actual, expected, subscription) {
155
+ Scheduler.get().expectObservable(actual, subscription).toEqual(expected);
156
+ return success;
247
157
  },
248
- toBeMarble(actual, marbles) {
249
- Scheduler.get().expectObservable(actual).toBe(stripAlignmentChars(marbles));
250
- return dummyResult;
158
+ toBeMarble(actual, marbles, values, error) {
159
+ Scheduler.get().expectObservable(actual).toBe(marbles.trim(), values, error);
160
+ return success;
251
161
  },
252
162
  toSatisfyOnFlush(actual, func) {
253
163
  Scheduler.get().expectObservable(actual);
254
164
  const flushTests = Scheduler.get()["flushTests"];
255
165
  flushTests[flushTests.length - 1].ready = true;
256
166
  onFlush.push(func);
257
- return dummyResult;
167
+ return success;
258
168
  }
259
169
  });
260
170
  var onFlush = [];
@@ -1,5 +1,3 @@
1
- import { SubscriptionLog, TestMessages } from './types';
1
+ import { MessagesOrSubscriptions } from './types';
2
2
  import './internal-matchers';
3
- export type MessagesOrSubscriptions = TestMessages | SubscriptionLog[];
4
- export declare function assertDeepEqual(actual: MessagesOrSubscriptions, expected: MessagesOrSubscriptions): void;
5
- //# sourceMappingURL=assert-deep-equal.d.ts.map
3
+ export declare function assertDeepEqual(actual: MessagesOrSubscriptions, expected?: MessagesOrSubscriptions): void;
@@ -11,4 +11,3 @@ declare module 'vitest' {
11
11
  }
12
12
  }
13
13
  export {};
14
- //# sourceMappingURL=internal-matchers.d.ts.map
package/lib/marbles.d.ts CHANGED
@@ -4,4 +4,3 @@ export declare function cold<T = string>(marbles: string, values?: Record<string
4
4
  export declare function hot<T = string>(marbles: string, values?: Record<string, T>, error?: any): HotObservable<T>;
5
5
  export declare function time(marbles: string): number;
6
6
  export declare function schedule(work: () => void, delay: number): Subscription;
7
- //# sourceMappingURL=marbles.d.ts.map
@@ -1,10 +1,2 @@
1
- import { SubscriptionLog, TestMessages } from './types';
2
- export declare class Marblizer {
3
- static marblize(messages: TestMessages): string;
4
- static marblizeSubscriptions(logs: SubscriptionLog[]): string[];
5
- private static marblizeLogEntry;
6
- private static getNotificationEvents;
7
- private static extractMarble;
8
- private static encloseGroupEvents;
9
- }
10
- //# sourceMappingURL=marblizer.d.ts.map
1
+ import { SubscriptionLog } from './types';
2
+ export declare function marblize(logs: SubscriptionLog[]): string[];
package/lib/matchers.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Observable } from 'rxjs';
2
2
  interface CustomMatchers<R = unknown> {
3
- toBeObservable<T>(observable: Observable<T>): R;
3
+ toBeObservable<T>(observable: Observable<T>, subscription?: string): R;
4
4
  toHaveSubscriptions(marbles: string | string[]): R;
5
5
  toHaveNoSubscriptions(): R;
6
- toBeMarble(marble: string): R;
6
+ toBeMarble<T = string>(marbles: string, values?: Record<string, T>, error?: any): R;
7
7
  toSatisfyOnFlush(func: () => void): R;
8
8
  }
9
9
  declare module 'vitest' {
@@ -11,4 +11,3 @@ declare module 'vitest' {
11
11
  }
12
12
  }
13
13
  export {};
14
- //# sourceMappingURL=matchers.d.ts.map
@@ -5,4 +5,3 @@ export declare class Scheduler {
5
5
  static get(): TestScheduler;
6
6
  static reset(): void;
7
7
  }
8
- //# sourceMappingURL=scheduler.d.ts.map
package/lib/types.d.ts CHANGED
@@ -10,4 +10,4 @@ export type TestMessages = ReturnType<typeof TestScheduler.parseMarbles>;
10
10
  * Exported return type of SubscriptionLog to avoid importing internal APIs.
11
11
  */
12
12
  export type SubscriptionLog = ReturnType<typeof TestScheduler.parseMarblesAsSubscriptions>;
13
- //# sourceMappingURL=types.d.ts.map
13
+ export type MessagesOrSubscriptions = TestMessages | SubscriptionLog[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granito/vitest-marbles",
3
- "version": "1.0.0-dev.4",
3
+ "version": "1.0.0-dev.6",
4
4
  "description": "Marble testing helpers library for RxJs and Vitest",
5
5
  "repository": {
6
6
  "type": "git",
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert-deep-equal.d.ts","sourceRoot":"","sources":["../../../src/lib/assert-deep-equal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,qBAAqB,CAAC;AAE7B,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG,eAAe,EAAE,CAAC;AAavE,wBAAgB,eAAe,CAAC,MAAM,EAAE,uBAAuB,EAAE,QAAQ,EAAE,uBAAuB,GAAG,IAAI,CAUxG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal-matchers.d.ts","sourceRoot":"","sources":["../../../src/lib/internal-matchers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,EAAqB,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEnE,UAAU,gBAAgB,CAAC,CAAC,GAAG,OAAO;IACpC,iBAAiB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,CAAC,CAAC;IAEjD,iBAAiB,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;IAE3D,wBAAwB,EAAE,MAAM,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,gBAAgB,EAAE,cA4F9B,CAAA;AAID,OAAO,QAAQ,QAAQ,CAAC;IACtB,UAAU,QAAQ,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,gBAAgB,CAAC,CAAC,CAAC;KACtD;CACF"}
@@ -1,10 +0,0 @@
1
- export declare enum MarblesGlossary {
2
- Completion = "|",
3
- Error = "#",
4
- TimeFrame = "-",
5
- Subscription = "^",
6
- Unsubscription = "!",
7
- GroupStart = "(",
8
- GroupEnd = ")"
9
- }
10
- //# sourceMappingURL=marbles-glossary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"marbles-glossary.d.ts","sourceRoot":"","sources":["../../../src/lib/marbles-glossary.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,UAAU,MAAM;IAChB,KAAK,MAAM;IACX,SAAS,MAAM;IACf,YAAY,MAAM;IAClB,cAAc,MAAM;IACpB,UAAU,MAAM;IAChB,QAAQ,MAAM;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"marbles.d.ts","sourceRoot":"","sources":["../../../src/lib/marbles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExD,wBAAgB,IAAI,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,cAAc,CAAC,CAAC,CAAC,CAE5G;AAED,wBAAgB,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,aAAa,CAAC,CAAC,CAAC,CAE1G;AAED,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY,CAEtE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"marblizer.d.ts","sourceRoot":"","sources":["../../../src/lib/marblizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAOxD,qBAAa,SAAS;WACN,QAAQ,CAAC,QAAQ,EAAE,YAAY,GAAG,MAAM;WAYxC,qBAAqB,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,EAAE;IAQtE,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAI/B,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAqBpC,OAAO,CAAC,MAAM,CAAC,aAAa;IAS5B,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAMlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"matchers.d.ts","sourceRoot":"","sources":["../../../src/lib/matchers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIlC,UAAU,cAAc,CAAC,CAAC,GAAG,OAAO;IAClC,cAAc,CAAC,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAEhD,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;IAEnD,qBAAqB,IAAI,CAAC,CAAC;IAE3B,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC;IAE9B,gBAAgB,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,CAAC,CAAC;CACvC;AAED,OAAO,QAAQ,QAAQ,CAAC;IACtB,UAAU,QAAQ,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;KACpD;CACF"}
@@ -1,7 +0,0 @@
1
- export declare class NotificationEvent {
2
- start: number;
3
- marbles: string;
4
- constructor(start: number);
5
- get end(): number;
6
- }
7
- //# sourceMappingURL=notification-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification-event.d.ts","sourceRoot":"","sources":["../../../src/lib/notification-event.ts"],"names":[],"mappings":"AAAA,qBAAa,iBAAiB;IAGT,KAAK,EAAE,MAAM;IAFhC,OAAO,SAAM;gBAEM,KAAK,EAAE,MAAM;IAGhC,IAAI,GAAG,IAAI,MAAM,CAEhB;CACF"}
@@ -1,8 +0,0 @@
1
- import { MarblesGlossary } from './marbles-glossary';
2
- export declare const ValueLiteral: {};
3
- export declare const NotificationKindChars: {
4
- N: {};
5
- C: MarblesGlossary;
6
- E: MarblesGlossary;
7
- };
8
- //# sourceMappingURL=notification-kind.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification-kind.d.ts","sourceRoot":"","sources":["../../../src/lib/notification-kind.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,eAAO,MAAM,YAAY,IAAK,CAAC;AAE/B,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scheduler.d.ts","sourceRoot":"","sources":["../../../src/lib/scheduler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,qBAAa,SAAS;IACpB,OAAc,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;WAE/B,IAAI,IAAI,IAAI;WAIZ,GAAG,IAAI,aAAa;WAOpB,KAAK,IAAI,IAAI;CAG5B"}
@@ -1,2 +0,0 @@
1
- export declare function stripAlignmentChars(marbles: string): string;
2
- //# sourceMappingURL=strip-alignment-chars.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"strip-alignment-chars.d.ts","sourceRoot":"","sources":["../../../src/lib/strip-alignment-chars.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE3D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnG,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjG,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,YAAY,CAAC,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,2BAA2B,CAAC,CAAC"}