@deephaven/jsapi-utils
Advanced tools
Comparing version 0.15.5-beta.3 to 0.15.5-beta.4
import type { FormattingRule } from './Formatter'; | ||
import Formatter from './Formatter'; | ||
import { DateTimeColumnFormatter } from './formatters'; | ||
export interface ColumnFormatSettings { | ||
formatter?: FormattingRule[]; | ||
} | ||
export interface DateTimeFormatSettings { | ||
timeZone?: string; | ||
defaultDateTimeFormat?: string; | ||
showTimeZone?: boolean; | ||
showTSeparator?: boolean; | ||
} | ||
declare class FormatterUtils { | ||
static getColumnFormats(settings?: { | ||
formatter?: FormattingRule[]; | ||
}): FormattingRule[] | undefined; | ||
static getDateTimeFormatterOptions(settings?: { | ||
timeZone?: string; | ||
defaultDateTimeFormat?: string; | ||
showTimeZone?: boolean; | ||
showTSeparator?: boolean; | ||
} | null): ConstructorParameters<typeof DateTimeColumnFormatter>[0]; | ||
static getColumnFormats(settings?: ColumnFormatSettings): FormattingRule[] | undefined; | ||
static getDateTimeFormatterOptions(settings?: DateTimeFormatSettings | null): ConstructorParameters<typeof DateTimeColumnFormatter>[0]; | ||
/** | ||
@@ -15,0 +17,0 @@ * Check if the formatter has a custom format defined for the column name and type |
@@ -75,3 +75,3 @@ import { TypeValue as FilterTypeValue, OperatorValue as FilterOperatorValue } from '@deephaven/filters'; | ||
static setSortForColumn(tableSort: Sort[], columnIndex: number, sort: Sort | null, addToExisting?: boolean): Sort[]; | ||
static getNormalizedType(columnType: string): DataType; | ||
static getNormalizedType(columnType?: string | null): DataType; | ||
static isLongType(columnType: string): boolean; | ||
@@ -98,3 +98,3 @@ static isDateType(columnType: string): boolean; | ||
*/ | ||
static isCompatibleType(type1: string, type2: string): boolean; | ||
static isCompatibleType(type1?: string | null, type2?: string | null): boolean; | ||
/** | ||
@@ -101,0 +101,0 @@ * Create filter with the provided column and text. Handles multiple filters joined with && or || |
{ | ||
"name": "@deephaven/jsapi-utils", | ||
"version": "0.15.5-beta.3+776006a", | ||
"version": "0.15.5-beta.4+951179d", | ||
"description": "Deephaven JSAPI Utils", | ||
@@ -30,9 +30,9 @@ "author": "Deephaven Data Labs LLC", | ||
"dependencies": { | ||
"@deephaven/filters": "^0.15.5-beta.3+776006a", | ||
"@deephaven/jsapi-shim": "^0.15.5-beta.3+776006a", | ||
"@deephaven/log": "^0.15.5-beta.3+776006a", | ||
"@deephaven/utils": "^0.15.5-beta.3+776006a" | ||
"@deephaven/filters": "^0.15.5-beta.4+951179d", | ||
"@deephaven/jsapi-shim": "^0.15.5-beta.4+951179d", | ||
"@deephaven/log": "^0.15.5-beta.4+951179d", | ||
"@deephaven/utils": "^0.15.5-beta.4+951179d" | ||
}, | ||
"devDependencies": { | ||
"@deephaven/tsconfig": "^0.15.5-beta.3+776006a" | ||
"@deephaven/tsconfig": "^0.15.5-beta.4+951179d" | ||
}, | ||
@@ -45,3 +45,3 @@ "files": [ | ||
}, | ||
"gitHead": "776006a07934244c2d059c7813be52efc375a40f" | ||
"gitHead": "951179d8b471f5909365d22da4f0f49a765870c8" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
275245
2474