@drincs/pixi-vn 1.2.14 → 1.2.16

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.
@@ -1,8 +1,17 @@
1
1
  import { b as TickerHistoryForExport, c as TickersSequence } from './TickersSequence-_GvVF_1g.js';
2
2
  import { Container, ContainerOptions } from 'pixi.js';
3
3
 
4
- interface CanvasBaseInterface<T2 extends CanvasBaseItemMemory> extends CanvasBaseItem<T2>, Container {
5
- }
4
+ type PauseTickerType = {
5
+ /**
6
+ * Ticker ids excluded
7
+ */
8
+ tickerIdsExcluded?: string[];
9
+ /**
10
+ * Ticker ids included
11
+ */
12
+ tickerIdsIncluded?: string[];
13
+ };
14
+
6
15
  /**
7
16
  * This class is used to create a canvas element to add into a Pixi Application.
8
17
  * You can use {@link canvas.add()} to add this element into the application.
@@ -44,16 +53,12 @@ declare class CanvasBaseItem<T2 extends CanvasBaseItemMemory> {
44
53
  pixivnId: string;
45
54
  }
46
55
 
47
- type PauseTickerType = {
48
- /**
49
- * Ticker ids excluded
50
- */
51
- tickerIdsExcluded?: string[];
52
- /**
53
- * Ticker ids included
54
- */
55
- tickerIdsIncluded?: string[];
56
- };
56
+ /**
57
+ * Interface for the canvas base memory
58
+ */
59
+ interface CanvasBaseItemMemory {
60
+ pixivnId: string;
61
+ }
57
62
 
58
63
  /**
59
64
  * Interface exported canvas
@@ -86,13 +91,6 @@ interface CanvasGameState {
86
91
  };
87
92
  }
88
93
 
89
- /**
90
- * Interface for the canvas base memory
91
- */
92
- interface CanvasBaseItemMemory {
93
- pixivnId: string;
94
- }
95
-
96
94
  type ContainerChild = Container & CanvasBaseItem<any>;
97
95
 
98
96
  /**
@@ -102,4 +100,4 @@ interface ContainerMemory<C extends ContainerChild = ContainerChild> extends Con
102
100
  elements: CanvasBaseItemMemory[];
103
101
  }
104
102
 
105
- export { type CanvasBaseInterface as C, type PauseTickerType as P, CanvasBaseItem as a, type CanvasGameState as b, type CanvasBaseItemMemory as c, type ContainerMemory as d, type ContainerChild as e };
103
+ export { CanvasBaseItem as C, type PauseTickerType as P, type CanvasGameState as a, type CanvasBaseItemMemory as b, type ContainerMemory as c, type ContainerChild as d };
@@ -1,8 +1,17 @@
1
1
  import { b as TickerHistoryForExport, c as TickersSequence } from './TickersSequence-_GvVF_1g.cjs';
2
2
  import { Container, ContainerOptions } from 'pixi.js';
3
3
 
4
- interface CanvasBaseInterface<T2 extends CanvasBaseItemMemory> extends CanvasBaseItem<T2>, Container {
5
- }
4
+ type PauseTickerType = {
5
+ /**
6
+ * Ticker ids excluded
7
+ */
8
+ tickerIdsExcluded?: string[];
9
+ /**
10
+ * Ticker ids included
11
+ */
12
+ tickerIdsIncluded?: string[];
13
+ };
14
+
6
15
  /**
7
16
  * This class is used to create a canvas element to add into a Pixi Application.
8
17
  * You can use {@link canvas.add()} to add this element into the application.
@@ -44,16 +53,12 @@ declare class CanvasBaseItem<T2 extends CanvasBaseItemMemory> {
44
53
  pixivnId: string;
45
54
  }
46
55
 
47
- type PauseTickerType = {
48
- /**
49
- * Ticker ids excluded
50
- */
51
- tickerIdsExcluded?: string[];
52
- /**
53
- * Ticker ids included
54
- */
55
- tickerIdsIncluded?: string[];
56
- };
56
+ /**
57
+ * Interface for the canvas base memory
58
+ */
59
+ interface CanvasBaseItemMemory {
60
+ pixivnId: string;
61
+ }
57
62
 
58
63
  /**
59
64
  * Interface exported canvas
@@ -86,13 +91,6 @@ interface CanvasGameState {
86
91
  };
87
92
  }
88
93
 
89
- /**
90
- * Interface for the canvas base memory
91
- */
92
- interface CanvasBaseItemMemory {
93
- pixivnId: string;
94
- }
95
-
96
94
  type ContainerChild = Container & CanvasBaseItem<any>;
97
95
 
98
96
  /**
@@ -102,4 +100,4 @@ interface ContainerMemory<C extends ContainerChild = ContainerChild> extends Con
102
100
  elements: CanvasBaseItemMemory[];
103
101
  }
104
102
 
105
- export { type CanvasBaseInterface as C, type PauseTickerType as P, CanvasBaseItem as a, type CanvasGameState as b, type CanvasBaseItemMemory as c, type ContainerMemory as d, type ContainerChild as e };
103
+ export { CanvasBaseItem as C, type PauseTickerType as P, type CanvasGameState as a, type CanvasBaseItemMemory as b, type ContainerMemory as c, type ContainerChild as d };