Merge pull request #15338 from backstage/docs/update

doc updates, replay of #14797
This commit is contained in:
Patrik Oldsberg
2022-12-21 17:26:55 +01:00
committed by GitHub
8 changed files with 39 additions and 22 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
*/
import type { EntityMeta, UserEntity } from '@backstage/catalog-model';
import type { JsonValue, JsonObject } from '@backstage/types';
import type { JsonObject, JsonValue } from '@backstage/types';
/**
* Information about a template that is stored on a task specification.
@@ -51,7 +51,7 @@ export type TemplateInfo = {
*/
export interface TaskStep {
/**
* A unqiue identifier for this step.
* A unique identifier for this step.
*/
id: string;
/**
@@ -14,8 +14,6 @@
* limitations under the License.
*/
import { awsGetCredentials, createAWSConnection } from 'aws-os-connection';
import { Config } from '@backstage/config';
import {
IndexableDocument,
IndexableResult,
@@ -23,15 +21,18 @@ import {
SearchEngine,
SearchQuery,
} from '@backstage/plugin-search-common';
import { awsGetCredentials, createAWSConnection } from 'aws-os-connection';
import { isEmpty, isNumber, isNaN as nan } from 'lodash';
import { Config } from '@backstage/config';
import { ElasticSearchClientOptions } from './ElasticSearchClientOptions';
import { ElasticSearchClientWrapper } from './ElasticSearchClientWrapper';
import { ElasticSearchCustomIndexTemplate } from './types';
import { ElasticSearchSearchEngineIndexer } from './ElasticSearchSearchEngineIndexer';
import { Logger } from 'winston';
import { MissingIndexError } from '@backstage/plugin-search-backend-node';
import esb from 'elastic-builder';
import { isEmpty, isNaN as nan, isNumber } from 'lodash';
import { v4 as uuid } from 'uuid';
import { Logger } from 'winston';
import { ElasticSearchClientOptions } from './ElasticSearchClientOptions';
import { ElasticSearchSearchEngineIndexer } from './ElasticSearchSearchEngineIndexer';
import { ElasticSearchCustomIndexTemplate } from './types';
import { ElasticSearchClientWrapper } from './ElasticSearchClientWrapper';
export type { ElasticSearchClientOptions };
@@ -63,7 +64,7 @@ export type ElasticSearchQueryTranslator = (
) => ElasticSearchConcreteQuery;
/**
* Options for instansiate ElasticSearchSearchEngine
* Options for instantiate ElasticSearchSearchEngine
* @public
*/
export type ElasticSearchOptions = {
@@ -15,13 +15,13 @@
*/
import { BatchSearchEngineIndexer } from '@backstage/plugin-search-backend-node';
import { IndexableDocument } from '@backstage/plugin-search-common';
import { Readable } from 'stream';
import { Logger } from 'winston';
import { ElasticSearchClientWrapper } from './ElasticSearchClientWrapper';
import { IndexableDocument } from '@backstage/plugin-search-common';
import { Logger } from 'winston';
import { Readable } from 'stream';
/**
* Options for instansiate ElasticSearchSearchEngineIndexer
* Options for instantiate ElasticSearchSearchEngineIndexer
* @public
*/
export type ElasticSearchSearchEngineIndexerOptions = {
@@ -14,16 +14,16 @@
* limitations under the License.
*/
import { UrlReader } from '@backstage/backend-common';
import { Config } from '@backstage/config';
import { Permission } from '@backstage/plugin-permission-common';
import { DocumentCollatorFactory } from '@backstage/plugin-search-common';
import { parse as parseNdjson } from 'ndjson';
import { Readable } from 'stream';
import { Logger } from 'winston';
import { Permission } from '@backstage/plugin-permission-common';
import { Readable } from 'stream';
import { UrlReader } from '@backstage/backend-common';
import { parse as parseNdjson } from 'ndjson';
/**
* Options for instansiate NewlineDelimitedJsonCollatorFactory
* Options for instantiate NewlineDelimitedJsonCollatorFactory
* @public
*/
export type NewlineDelimitedJsonCollatorFactoryOptions = {