Skip to content

Commit

Permalink
delete deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannzhou committed Aug 16, 2022
1 parent f159737 commit c29d83f
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 221 deletions.
18 changes: 0 additions & 18 deletions docs/search-core.answersconfig.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/search-core.answersconfigwithapikey.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/search-core.answersconfigwithtoken.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/search-core.answerscore.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/search-core.answerserror.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/search-core.answersrequest.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/search-core.baseanswersconfig.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/search-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

| Class | Description |
| --- | --- |
| [AnswersCore](./search-core.answerscore.md) | |
| [SearchCore](./search-core.searchcore.md) | Provides methods for executing searches, submitting questions, and performing autocompletes. |
| [SearchError](./search-core.searcherror.md) | Represents an error |

Expand Down Expand Up @@ -45,15 +44,10 @@
| [Address](./search-core.address.md) | An interface with address fields to use in [BaseFieldValueDirectAnswer.value](./search-core.basefieldvaluedirectanswer.value.md)<!-- -->. |
| [AddressDirectAnswer](./search-core.addressdirectanswer.md) | A [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md) interface with 'address' field type. |
| [AndroidAppUrlDirectAnswer](./search-core.androidappurldirectanswer.md) | A direct answer for an android app url field. |
| [AnswersConfigWithApiKey](./search-core.answersconfigwithapikey.md) | |
| [AnswersConfigWithToken](./search-core.answersconfigwithtoken.md) | |
| [AnswersError](./search-core.answerserror.md) | |
| [AnswersRequest](./search-core.answersrequest.md) | |
| [AppliedQueryFilter](./search-core.appliedqueryfilter.md) | A filter that the Search API applied to the search. |
| [AutocompleteResponse](./search-core.autocompleteresponse.md) | The response of a universal or vertical autocomplete request. |
| [AutocompleteResult](./search-core.autocompleteresult.md) | An autocomplete suggestion. |
| [AutocompleteService](./search-core.autocompleteservice.md) | A service for autocomplete requests. |
| [BaseAnswersConfig](./search-core.baseanswersconfig.md) | |
| [BaseFeaturedSnippetDirectAnswer](./search-core.basefeaturedsnippetdirectanswer.md) | A direct answer which was found within a document. |
| [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md) | A direct answer where the answer came from a field from the knowledge graph. |
| [BaseSearchConfig](./search-core.basesearchconfig.md) | The base configuration options for [SearchCore](./search-core.searchcore.md)<!-- -->. |
Expand Down Expand Up @@ -129,7 +123,6 @@

| Type Alias | Description |
| --- | --- |
| [AnswersConfig](./search-core.answersconfig.md) | |
| [Context](./search-core.context.md) | Used to trigger Search [Query Rules](https://hitchhikers.yext.com/tracks/answers-advanced/ans302-query-rules/)<!-- -->. |
| [EnumOrLiteral](./search-core.enumorliteral.md) | Produces a union type from the enum passed as a generic which consists of the enum values and the string literals of the enum. |
| [FeaturedSnippetDirectAnswer](./search-core.featuredsnippetdirectanswer.md) | All possible built-in [BaseFeaturedSnippetDirectAnswer](./search-core.basefeaturedsnippetdirectanswer.md) interfaces. |
Expand Down
27 changes: 0 additions & 27 deletions etc/search-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,29 +43,6 @@ export interface AndroidAppUrlDirectAnswer extends BaseFieldValueDirectAnswer<st
fieldType: EnumOrLiteral<BuiltInFieldType.AndroidAppURL>;
}

// @public @deprecated (undocumented)
export type AnswersConfig = SearchConfig;

// @public @deprecated (undocumented)
export interface AnswersConfigWithApiKey extends SearchConfigWithApiKey {
}

// @public @deprecated (undocumented)
export interface AnswersConfigWithToken extends SearchConfigWithToken {
}

// @public @deprecated (undocumented)
export class AnswersCore extends SearchCore {
}

// @public @deprecated (undocumented)
export interface AnswersError extends SearchError {
}

// @public @deprecated (undocumented)
export interface AnswersRequest extends SearchRequest {
}

// @public
export interface AppliedQueryFilter {
details?: LocationFilterDetails;
Expand Down Expand Up @@ -110,10 +87,6 @@ export interface AutocompleteService {
verticalAutocomplete(request: VerticalAutocompleteRequest): Promise<AutocompleteResponse>;
}

// @public @deprecated (undocumented)
export interface BaseAnswersConfig extends BaseSearchConfig {
}

// @public
export interface BaseFeaturedSnippetDirectAnswer<T = unknown> extends DirectAnswer<T> {
fieldType: EnumOrLiteral<BuiltInFieldType.MultiLineText | BuiltInFieldType.RichText>;
Expand Down
7 changes: 0 additions & 7 deletions src/deprecated.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// deprecated symbols
export { AnswersCore } from './deprecated';

// main symbols
export { SearchCore } from './SearchCore';
export { provideCore } from './provideCore';
Expand Down
43 changes: 0 additions & 43 deletions src/models/deprecated.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
// deprecated symbols
export { AnswersConfig } from './deprecated';
export { BaseAnswersConfig } from './deprecated';
export { AnswersConfigWithApiKey } from './deprecated';
export { AnswersConfigWithToken } from './deprecated';
export { AnswersError } from './deprecated';
export { AnswersRequest } from './deprecated';

// Search API models
export { SearchError } from './searchapi/SearchError';

Expand Down

0 comments on commit c29d83f

Please sign in to comment.