enonic-types
Advanced tools
Comparing version 0.4.11 to 0.4.12
@@ -242,3 +242,3 @@ declare module "*/lib/xp/content" { | ||
query?: string | QueryDSL; | ||
filters?: BasicFilters | BooleanFilter; | ||
filters?: Filter | Filter[]; | ||
aggregations?: Record<string, Aggregation>; | ||
@@ -388,8 +388,8 @@ contentTypes?: Array<string>; | ||
} | ||
type BasicFilters = ExistsFilter | NotExistsFilter | HasValueFilter | IdsFilter; | ||
type Filter = ExistsFilter | NotExistsFilter | HasValueFilter | IdsFilter | BooleanFilter; | ||
interface BooleanFilter { | ||
boolean: { | ||
must?: BasicFilters | Array<BasicFilters>; | ||
mustNot?: BasicFilters | Array<BasicFilters>; | ||
should?: BasicFilters | Array<BasicFilters>; | ||
must?: Filter[]; | ||
mustNot?: Filter[]; | ||
should?: Filter[]; | ||
}; | ||
@@ -396,0 +396,0 @@ } |
@@ -11,2 +11,3 @@ declare module "*/lib/xp/node" { | ||
type PrincipalKey = import("/lib/xp/auth").PrincipalKey; | ||
type Filter = import("/lib/xp/content").Filter; | ||
interface Source { | ||
@@ -70,3 +71,3 @@ repoId: string; | ||
*/ | ||
filters?: import("/lib/xp/content").BasicFilters | import("/lib/xp/content").BooleanFilter; | ||
filters?: Filter | Filter[]; | ||
/** | ||
@@ -73,0 +74,0 @@ * Sorting expression. |
{ | ||
"name": "enonic-types", | ||
"sideEffects": false, | ||
"version": "0.4.11", | ||
"version": "0.4.12", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -6,0 +6,0 @@ "typings": "index.d.ts", |
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
7635
280402