@enonic-types/lib-content 7.15.0 → 7.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/content.d.ts +3 -5
  2. package/package.json +2 -2
package/content.d.ts CHANGED
@@ -13,11 +13,9 @@ declare global {
13
13
  interface XpXData {
14
14
  }
15
15
  }
16
- import type { Aggregations, AggregationsResult, AggregationsToAggregationResults, ByteSource, Content, Filter, FormItem, Highlight, HighlightResult, PublishInfo, QueryDsl, SortDsl } from '@enonic-types/core';
16
+ import type { Aggregations, AggregationsResult, AggregationsToAggregationResults, ByteSource, Content, ContentInheritValue, Filter, FormItem, Highlight, HighlightResult, PublishInfo, QueryDsl, SortDsl, Workflow } from '@enonic-types/core';
17
17
  export type { Aggregation, Aggregations, AggregationsResult, Attachment, BooleanDslExpression, BooleanFilter, Bucket, BucketsAggregationResult, BucketsAggregationsUnion, ByteSource, Component, Content, DateBucket, DateHistogramAggregation, DateRange, DateRangeAggregation, DistanceUnit, DslOperator, DslQueryType, ExistsDslExpression, ExistsFilter, FieldSortDsl, Filter, FormItem, FormItemInlineMixin, FormItemInput, FormItemLayout, FormItemOptionSet, FormItemSet, FulltextDslExpression, GeoDistanceAggregation, GeoDistanceSortDsl, GroupKey, HasValueFilter, Highlight, HighlightResult, HistogramAggregation, IdsFilter, InDslExpression, InputType, LikeDslExpression, MatchAllDslExpression, MaxAggregation, MinAggregation, NgramDslExpression, NotExistsFilter, NumericBucket, NumericRange, NumericRangeAggregation, PathMatchDslExpression, PublishInfo, QueryDsl, RangeDslExpression, Region, RoleKey, ScriptValue, SingleValueMetricAggregationResult, SingleValueMetricAggregationsUnion, SortDirection, SortDsl, StatsAggregation, StatsAggregationResult, StemmedDslExpression, TermDslExpression, TermsAggregation, UserKey, ValueCountAggregation, ValueType, } from '@enonic-types/core';
18
18
  declare type Attachments = Content['attachments'];
19
- declare type ContentInheritType = Content['inherit'];
20
- declare type Workflow = Content['workflow'];
21
19
  export declare type PageComponentWhenAutomaticTemplate = Record<string, never>;
22
20
  export interface PageComponentWhenSpecificTemplate {
23
21
  path: '/';
@@ -511,12 +509,12 @@ export declare function getOutboundDependencies(params: GetOutboundDependenciesP
511
509
  export interface ResetInheritanceParams {
512
510
  key: string;
513
511
  projectName: string;
514
- inherit: ContentInheritType[];
512
+ inherit: ContentInheritValue[];
515
513
  }
516
514
  export interface ResetInheritanceHandler {
517
515
  setKey(value: string): void;
518
516
  setProjectName(value: string): void;
519
- setInherit(value: ContentInheritType[]): void;
517
+ setInherit(value: ContentInheritValue[]): void;
520
518
  execute(): void;
521
519
  }
522
520
  /** Resets dropped inherit flags back.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic-types/lib-content",
3
- "version": "7.15.0",
3
+ "version": "7.15.2",
4
4
  "description": "Type definitions for lib-content.",
5
5
  "types": "content.d.ts",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/enonic/xp/tree/master#readme",
29
29
  "dependencies": {
30
- "@enonic-types/core": "7.15.0"
30
+ "@enonic-types/core": "7.15.2"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"