@types/table
Advanced tools
Comparing version 4.0.3 to 4.0.4
// Type definitions for Tabris.js 4.0 | ||
// Project: https://github.com/gajus/table | ||
// Definitions by: Evan Shortiss <https://github.com/evanshortiss> | ||
// mrmlnc <https://github.com/mrmlnc> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export type borderType = 'honeywell' | 'norc' | 'ramac' | 'void'; | ||
export type BorderType = 'honeywell' | 'norc' | 'ramac' | 'void'; | ||
export interface ColumnConfig { | ||
alignment?: string; | ||
width?: number; | ||
truncate?: number; | ||
paddingLeft?: string; | ||
paddingRight?: string; | ||
alignment?: 'left' | 'center' | 'right'; | ||
width?: number; | ||
truncate?: number; | ||
paddingLeft?: number; | ||
paddingRight?: number; | ||
} | ||
export interface JoinStruct { | ||
topBody?: string; | ||
topJoin?: string; | ||
topLeft?: string; | ||
topRight?: string; | ||
topBody?: string; | ||
topJoin?: string; | ||
topLeft?: string; | ||
topRight?: string; | ||
bottomBody?: string; | ||
bottomJoin?: string; | ||
bottomLeft?: string; | ||
bottomRight?: string; | ||
bottomBody?: string; | ||
bottomJoin?: string; | ||
bottomLeft?: string; | ||
bottomRight?: string; | ||
bodyLeft?: string; | ||
bodyRight?: string; | ||
bodyJoin?: string; | ||
bodyLeft?: string; | ||
bodyRight?: string; | ||
bodyJoin?: string; | ||
joinBody?: string; | ||
joinLeft?: string; | ||
joinRight?: string; | ||
joinJoin?: string; | ||
joinBody?: string; | ||
joinLeft?: string; | ||
joinRight?: string; | ||
joinJoin?: string; | ||
} | ||
export interface TableUserConfig { | ||
columns?: { | ||
[index: number]: ColumnConfig | ||
}; | ||
drawJoin?(index: number, size: number): boolean; | ||
border?: JoinStruct; | ||
columnDefault?: ColumnConfig; | ||
columns?: { | ||
[index: number]: ColumnConfig | ||
}; | ||
drawHorizontalLine?: (index: number, size: number) => boolean; | ||
border?: JoinStruct; | ||
columnDefault?: ColumnConfig; | ||
columnCount?: number; | ||
} | ||
@@ -50,2 +52,2 @@ | ||
export function getBorderCharacters(templateName: borderType): JoinStruct; | ||
export function getBorderCharacters(templateName: BorderType): JoinStruct; |
{ | ||
"name": "@types/table", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "TypeScript definitions for Tabris.js", | ||
@@ -9,3 +9,9 @@ "license": "MIT", | ||
"name": "Evan Shortiss", | ||
"url": "https://github.com/evanshortiss" | ||
"url": "https://github.com/evanshortiss", | ||
"githubUsername": "evanshortiss" | ||
}, | ||
{ | ||
"name": "mrmlnc", | ||
"url": "https://github.com/mrmlnc", | ||
"githubUsername": "mrmlnc" | ||
} | ||
@@ -20,4 +26,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c5d6e740855e6b5de4e21573787bdbb3d20e1071b91566171a8abfa4c6333550", | ||
"typesPublisherContentHash": "9991ef9849f697e64e2e5cfed5cd88d3352582fa633a93ee618a920632270aa5", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 22:03:22 GMT | ||
* Last updated: Fri, 08 Dec 2017 22:43:13 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Evan Shortiss <https://github.com/evanshortiss>. | ||
These definitions were written by Evan Shortiss <https://github.com/evanshortiss>, mrmlnc <https://github.com/mrmlnc>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3844
42