@druid-toolkit/query
Advanced tools
Comparing version 0.22.23 to 0.22.24
{ | ||
"name": "@druid-toolkit/query", | ||
"version": "0.22.23", | ||
"version": "0.22.24", | ||
"description": "A collection of utilities for working with Druid queries", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -19,3 +19,4 @@ export interface ColumnOptions { | ||
isTimeColumn(): boolean; | ||
isNumeric(): boolean; | ||
} | ||
//# sourceMappingURL=column.d.ts.map |
@@ -12,2 +12,3 @@ import type { SeparatedArray } from '.'; | ||
keywordCasing?: 'preserve'; | ||
clarifyingParens?: 'disable'; | ||
} | ||
@@ -84,2 +85,3 @@ export type SqlTypeDesignator = 'base' | 'type' | 'columnList' | 'extendClause' | 'columnDeclaration' | 'record' | 'query' | 'withQuery' | 'values' | 'withClause' | 'whereClause' | 'orderByExpression' | 'fromClause' | 'offsetClause' | 'orderByClause' | 'havingClause' | 'limitClause' | 'groupByClause' | 'insertClause' | 'replaceClause' | 'partitionedByClause' | 'partitionByClause' | 'clusteredByClause' | 'withPart' | 'joinPart' | 'alias' | 'labeledExpression' | 'betweenPart' | 'likePart' | 'comparison' | 'literal' | 'placeholder' | 'interval' | 'multi' | 'function' | 'case' | 'whenThenPart' | 'column' | 'star' | 'namespace' | 'table' | 'unary' | 'windowSpec' | 'frameBound'; | ||
getFirstColumnName(): string | undefined; | ||
addClarifyingParens(): this; | ||
prettify(options?: PrettifyOptions): this; | ||
@@ -86,0 +88,0 @@ prettyTrim(maxLength: number): this; |
@@ -0,1 +1,5 @@ | ||
export declare const SPACE = " "; | ||
export declare const NEWLINE = "\n"; | ||
export declare const INDENT = " "; | ||
export declare const NEWLINE_INDENT: string; | ||
export declare function trimString(str: string, maxLength: number): string; | ||
@@ -2,0 +6,0 @@ export declare function clampIndex(index: number, min: number, max: number): number; |
@@ -11,5 +11,6 @@ export interface SeparatorValue { | ||
static COMMA: Separator; | ||
static COMMA_NEW_LINE: Separator; | ||
static COMMA_NEWLINE: Separator; | ||
static symmetricSpace(separator: string): Separator; | ||
static rightSpace(separator: string): Separator; | ||
static indentSpace(separator: string): Separator; | ||
constructor(options: SeparatorValue); | ||
@@ -16,0 +17,0 @@ toString(): string; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
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
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
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
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
5654878
63337