Skip to content

Commit

Permalink
add comments for public api items
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Jul 15, 2022
1 parent 35c4dcf commit 250d034
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/plugins/data_views/common/data_views/data_views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ import { DuplicateDataViewError, DataViewInsufficientAccessError } from '../erro

const MAX_ATTEMPTS_TO_RESOLVE_CONFLICTS = 3;

/*
* Attributes of the data view saved object
* @public
*/
export type DataViewSavedObjectAttrs = Pick<
DataViewAttributes,
'title' | 'type' | 'typeMeta' | 'name'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ import { AggregationRestrictions } from '../../../common';
import { mergeJobConfigurations } from './jobs_compatibility';

/**
* A record of capabilities (aggregations) for an index rollup job
* A record of capabilities (aggregations) for index rollup jobs
*/
export interface RollupIndexCapability {
/**
* A record of capabilities (aggregations) for an index rollup job
*/
[index: string]: { aggs?: Dictionary<AggregationRestrictions>; error?: string };
}

Expand Down

0 comments on commit 250d034

Please sign in to comment.