enonic-types
Advanced tools
Comparing version 0.0.28 to 0.0.29
@@ -82,5 +82,3 @@ import { Region } from "./portal"; | ||
readonly sort?: string; | ||
readonly aggregations?: { | ||
readonly [key: string]: Aggregation; | ||
}; | ||
readonly aggregations?: Record<string, Aggregation>; | ||
readonly contentTypes?: ReadonlyArray<string>; | ||
@@ -178,7 +176,2 @@ readonly highlight?: Highlight; | ||
} | ||
export interface AggregationsResponse { | ||
readonly [name: string]: { | ||
readonly buckets: Array<AggregationsResponseBucket>; | ||
} | undefined; | ||
} | ||
export interface AggregationsResponseBucket { | ||
@@ -191,2 +184,6 @@ readonly docCount: number; | ||
} | ||
export interface AggregationsResponseEntry { | ||
readonly buckets: Array<AggregationsResponseBucket>; | ||
} | ||
export declare type AggregationsResponse = Record<string, AggregationsResponseEntry>; | ||
export interface Highlight { | ||
@@ -193,0 +190,0 @@ encoder?: 'default' | 'html'; |
{ | ||
"name": "enonic-types", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -27,4 +27,4 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.18.0", | ||
"@typescript-eslint/parser": "^2.18.0", | ||
"@typescript-eslint/eslint-plugin": "^2.19.0", | ||
"@typescript-eslint/parser": "^2.19.0", | ||
"eslint": "^6.8.0", | ||
@@ -31,0 +31,0 @@ "rimraf": "^3.0.1", |
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
38322
1077