@yozora/tokenizer-table 2.1.3 → 2.1.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/src/types.ts DELETED
@@ -1,42 +0,0 @@
1
- import type {
2
- Position,
3
- Table,
4
- TableCellType,
5
- TableColumn,
6
- TableRowType,
7
- TableType,
8
- } from '@yozora/ast'
9
- import type {
10
- IBaseBlockTokenizerProps,
11
- IPartialBlockToken,
12
- IPhrasingContentLine,
13
- ITokenizer,
14
- } from '@yozora/core-tokenizer'
15
-
16
- export type T = TableType
17
- export type INode = Table
18
- export const uniqueName = '@yozora/tokenizer-table'
19
-
20
- export interface IToken extends IPartialBlockToken<TableType> {
21
- /**
22
- * Table column configuration items
23
- */
24
- columns: TableColumn[]
25
- /**
26
- * Table rows
27
- */
28
- rows: ITableRowToken[]
29
- }
30
-
31
- export type IThis = ITokenizer
32
-
33
- export type ITokenizerProps = Partial<IBaseBlockTokenizerProps>
34
-
35
- export interface ITableRowToken extends IPartialBlockToken<TableRowType> {
36
- cells: ITableCellToken[]
37
- }
38
-
39
- export interface ITableCellToken extends IPartialBlockToken<TableCellType> {
40
- position: Position
41
- lines: IPhrasingContentLine[]
42
- }