-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
222 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [city](./search-core.address.city.md) | ||
|
||
## Address.city property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
city: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [countryCode](./search-core.address.countrycode.md) | ||
|
||
## Address.countryCode property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
countryCode?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [extraDescription](./search-core.address.extradescription.md) | ||
|
||
## Address.extraDescription property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
extraDescription?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [line1](./search-core.address.line1.md) | ||
|
||
## Address.line1 property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
line1: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [line2](./search-core.address.line2.md) | ||
|
||
## Address.line2 property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
line2?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [line3](./search-core.address.line3.md) | ||
|
||
## Address.line3 property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
line3?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) | ||
|
||
## Address interface | ||
|
||
An interface with address fields to use in [DirectAnswer.value](./search-core.directanswer.value.md)<!-- -->. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface Address | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [city](./search-core.address.city.md) | string | | | ||
| [countryCode?](./search-core.address.countrycode.md) | string | <i>(Optional)</i> | | ||
| [extraDescription?](./search-core.address.extradescription.md) | string | <i>(Optional)</i> | | ||
| [line1](./search-core.address.line1.md) | string | | | ||
| [line2?](./search-core.address.line2.md) | string | <i>(Optional)</i> | | ||
| [line3?](./search-core.address.line3.md) | string | <i>(Optional)</i> | | ||
| [postalCode](./search-core.address.postalcode.md) | string | | | ||
| [region](./search-core.address.region.md) | string | | | ||
| [sublocality?](./search-core.address.sublocality.md) | string | <i>(Optional)</i> | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [postalCode](./search-core.address.postalcode.md) | ||
|
||
## Address.postalCode property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
postalCode: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [region](./search-core.address.region.md) | ||
|
||
## Address.region property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
region: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [Address](./search-core.address.md) > [sublocality](./search-core.address.sublocality.md) | ||
|
||
## Address.sublocality property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
sublocality?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [AddressDirectAnswer](./search-core.addressdirectanswer.md) > [fieldType](./search-core.addressdirectanswer.fieldtype.md) | ||
|
||
## AddressDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: BuiltInFieldType.Address; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-core](./search-core.md) > [AddressDirectAnswer](./search-core.addressdirectanswer.md) | ||
|
||
## AddressDirectAnswer interface | ||
|
||
A [DirectAnswer](./search-core.directanswer.md) interface with address value. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface AddressDirectAnswer extends DirectAnswer<Address> | ||
``` | ||
<b>Extends:</b> [DirectAnswer](./search-core.directanswer.md)<!-- --><[Address](./search-core.address.md)<!-- -->> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.addressdirectanswer.fieldtype.md) | [BuiltInFieldType.Address](./search-core.builtinfieldtype.md) | | | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { BuiltInFieldType } from './directanswer/BuiltInFieldType'; | ||
import { DirectAnswer } from './directanswer/DirectAnswer'; | ||
|
||
/** | ||
* A {@link DirectAnswer} interface with address value. | ||
* | ||
* @public | ||
*/ | ||
export interface AddressDirectAnswer extends DirectAnswer<Address> { | ||
fieldType: BuiltInFieldType.Address | ||
} | ||
|
||
/** | ||
* An interface with address fields to use in {@link DirectAnswer.value}. | ||
* | ||
* @public | ||
*/ | ||
export interface Address { | ||
line1: string, | ||
line2?: string, | ||
line3?: string, | ||
sublocality?: string, | ||
city: string, | ||
region: string, | ||
postalCode: string, | ||
extraDescription?: string, | ||
countryCode?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters