Skip to content

Commit

Permalink
replace @yext/answers-core with @yext/search-core
Browse files Browse the repository at this point in the history
  • Loading branch information
alextaing committed Jul 5, 2022
1 parent b63d7a1 commit 80fc783
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@yext/answers-core",
"name": "@yext/search-core",
"version": "1.7.0",
"description": "Typescript Networking Library for the Yext Answers API",
"main": "./dist/commonjs/src/index.js",
Expand Down Expand Up @@ -31,14 +31,14 @@
},
"repository": {
"type": "git",
"url": "https://github.com/yext/answers-core.git"
"url": "https://github.com/yext/search-core.git"
},
"author": "slapshot@yext.com",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/yext/answers-core/issues"
"url": "https://github.com/yext/search-core/issues"
},
"homepage": "https://github.com/yext/answers-core#readme",
"homepage": "https://github.com/yext/search-core#readme",
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-transform-runtime": "^7.12.10",
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { provideCore } from '@yext/answers-core';
import { provideCore } from '@yext/search-core';
import verticalRequest from './requests/verticalRequest';
import universalRequest from './requests/universalRequest';
import questionRequest from './requests/questionRequest';
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/js/requests/universalRequest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QueryTrigger } from '@yext/answers-core';
import { QueryTrigger } from '@yext/search-core';

const universalRequest = {
query: 'office near me',
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/js/requests/verticalRequest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QueryTrigger } from '@yext/answers-core';
import { QueryTrigger } from '@yext/search-core';

const verticalRequest = {
verticalKey: 'people',
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/ts/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { provideCore, AnswersConfig, AnswersCore } from '@yext/answers-core';
import { provideCore, AnswersConfig, AnswersCore } from '@yext/search-core';
import verticalRequest from './requests/verticalRequest';
import universalRequest from './requests/universalRequest';
import questionRequest from './requests/questionRequest';
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/ts/requests/autocompleteRequests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { UniversalAutocompleteRequest, VerticalAutocompleteRequest, FilterSearchRequest, Matcher }
from '@yext/answers-core';
from '@yext/search-core';

export const univeralAutocompleteRequest: UniversalAutocompleteRequest = {
input: 'virginiaa',
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/ts/requests/questionRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QuestionSubmissionRequest } from '@yext/answers-core';
import { QuestionSubmissionRequest } from '@yext/search-core';

const questionRequest: QuestionSubmissionRequest = {
email: 'oshi@yext.com',
Expand Down
2 changes: 1 addition & 1 deletion test-site/src/ts/requests/universalRequest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QueryTrigger, UniversalSearchRequest } from '@yext/answers-core';
import { QueryTrigger, UniversalSearchRequest } from '@yext/search-core';

const universalRequest: UniversalSearchRequest = {
query: 'office near me',
Expand Down
4 changes: 2 additions & 2 deletions test-site/src/ts/requests/verticalRequest.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { QueryTrigger } from '@yext/answers-core';
import { VerticalSearchRequest } from '@yext/answers-core';
import { QueryTrigger } from '@yext/search-core';
import { VerticalSearchRequest } from '@yext/search-core';

const verticalRequest: VerticalSearchRequest = {
verticalKey: 'people',
Expand Down

0 comments on commit 80fc783

Please sign in to comment.