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

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
@@ -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 subscriptions.
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,168 +1,84 @@
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 = subscriptionsPass(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
65
  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") + `
66
+ let message = "";
67
+ if (!pass)
68
+ message = this.utils.matcherHint(".toHaveNoSubscriptions") + `
142
69
 
143
70
  Expected observable to have no subscription points
144
71
  But got:
145
- ${this.utils.printReceived(marbles)}
72
+ ${this.utils.printReceived(marblize(actual))}
146
73
 
147
74
  `;
148
75
  return {
149
76
  pass,
150
- message
77
+ message: () => message
151
78
  };
152
79
  }
153
80
  };
154
81
  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
82
  function subscriptionsPass(actualMarbleArray, expectedMarbleArray) {
167
83
  if (actualMarbleArray.length !== expectedMarbleArray.length)
168
84
  return false;
@@ -173,12 +89,6 @@ function subscriptionsPass(actualMarbleArray, expectedMarbleArray) {
173
89
  }
174
90
 
175
91
  // 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
92
  function assertDeepEqual(actual, expected) {
183
93
  if (!expected)
184
94
  return;
@@ -189,6 +99,12 @@ function assertDeepEqual(actual, expected) {
189
99
  else
190
100
  expect(actual).toBeNotifications(expected);
191
101
  }
102
+ function actualIsSubscriptionsAndExpectedIsEmpty(actual, expected) {
103
+ return expected.length === 0 && actual.length !== 0 && actual[0].subscribedFrame !== void 0;
104
+ }
105
+ function expectedIsSubscriptionLogArray(actual, expected) {
106
+ return actual.length === 0 && expected.length === 0 || expected.length !== 0 && expected[0].subscribedFrame !== void 0;
107
+ }
192
108
 
193
109
  // src/lib/scheduler.ts
194
110
  var Scheduler = class _Scheduler {
@@ -206,20 +122,15 @@ var Scheduler = class _Scheduler {
206
122
  }
207
123
  };
208
124
 
209
- // src/lib/strip-alignment-chars.ts
210
- function stripAlignmentChars(marbles) {
211
- return marbles.replace(/^ +/, "");
212
- }
213
-
214
125
  // src/lib/marbles.ts
215
126
  function cold(marbles, values, error) {
216
- return Scheduler.get().createColdObservable(stripAlignmentChars(marbles), values, error);
127
+ return Scheduler.get().createColdObservable(marbles.trim(), values, error);
217
128
  }
218
129
  function hot(marbles, values, error) {
219
- return Scheduler.get().createHotObservable(stripAlignmentChars(marbles), values, error);
130
+ return Scheduler.get().createHotObservable(marbles.trim(), values, error);
220
131
  }
221
132
  function time(marbles) {
222
- return Scheduler.get().createTime(stripAlignmentChars(marbles));
133
+ return Scheduler.get().createTime(marbles.trim());
223
134
  }
224
135
  function schedule(work, delay) {
225
136
  return Scheduler.get().schedule(work, delay);
@@ -227,34 +138,34 @@ function schedule(work, delay) {
227
138
 
228
139
  // src/lib/matchers.ts
229
140
  import { TestScheduler as TestScheduler2 } from "rxjs/testing";
230
- var dummyResult = {
141
+ var success = {
231
142
  pass: true,
232
143
  message: () => ""
233
144
  };
234
145
  expect.extend({
235
146
  toHaveSubscriptions(actual, marbles) {
236
- const sanitizedMarbles = Array.isArray(marbles) ? marbles.map(stripAlignmentChars) : stripAlignmentChars(marbles);
147
+ const sanitizedMarbles = Array.isArray(marbles) ? marbles.map((m) => m.trim()) : marbles.trim();
237
148
  Scheduler.get().expectSubscriptions(actual.subscriptions).toBe(sanitizedMarbles);
238
- return dummyResult;
149
+ return success;
239
150
  },
240
151
  toHaveNoSubscriptions(actual) {
241
152
  Scheduler.get().expectSubscriptions(actual.subscriptions).toBe([]);
242
- return dummyResult;
153
+ return success;
243
154
  },
244
- toBeObservable(actual, expected) {
245
- Scheduler.get().expectObservable(actual).toEqual(expected);
246
- return dummyResult;
155
+ toBeObservable(actual, expected, subscription) {
156
+ Scheduler.get().expectObservable(actual, subscription).toEqual(expected);
157
+ return success;
247
158
  },
248
- toBeMarble(actual, marbles) {
249
- Scheduler.get().expectObservable(actual).toBe(stripAlignmentChars(marbles));
250
- return dummyResult;
159
+ toBeMarble(actual, marbles, values, error) {
160
+ Scheduler.get().expectObservable(actual).toBe(marbles.trim(), values, error);
161
+ return success;
251
162
  },
252
163
  toSatisfyOnFlush(actual, func) {
253
164
  Scheduler.get().expectObservable(actual);
254
165
  const flushTests = Scheduler.get()["flushTests"];
255
166
  flushTests[flushTests.length - 1].ready = true;
256
167
  onFlush.push(func);
257
- return dummyResult;
168
+ return success;
258
169
  }
259
170
  });
260
171
  var onFlush = [];
@@ -1,5 +1,4 @@
1
1
  import { SubscriptionLog, TestMessages } from './types';
2
2
  import './internal-matchers';
3
3
  export type MessagesOrSubscriptions = TestMessages | SubscriptionLog[];
4
- export declare function assertDeepEqual(actual: MessagesOrSubscriptions, expected: MessagesOrSubscriptions): void;
5
- //# sourceMappingURL=assert-deep-equal.d.ts.map
4
+ 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,3 @@ 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
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.5",
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"}