-
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.
add additional string and string[] field value direct answers
Each direct answer fieldType was manually tested and experimented with. I used the test-site to double check that every single BuiltInFieldType could be switch-cased over, and also added a bunch of test direct answer queries that I used to test. J=SLAP-2317,2311,2312,2309,2314 TEST=manual,auto added switch case to the test site, and updated github workflow to make sure test site always compiles
- Loading branch information
Showing
31 changed files
with
602 additions
and
15 deletions.
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
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) > [AndroidAppUrlDirectAnswer](./search-core.androidappurldirectanswer.md) > [fieldType](./search-core.androidappurldirectanswer.fieldtype.md) | ||
|
||
## AndroidAppUrlDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.AndroidAppURL>; | ||
``` |
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) > [AndroidAppUrlDirectAnswer](./search-core.androidappurldirectanswer.md) | ||
|
||
## AndroidAppUrlDirectAnswer interface | ||
|
||
A direct answer for an android app url field. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface AndroidAppUrlDirectAnswer extends BaseFieldValueDirectAnswer<string> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.androidappurldirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.AndroidAppURL](./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
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) > [DecimalDirectAnswer](./search-core.decimaldirectanswer.md) > [fieldType](./search-core.decimaldirectanswer.fieldtype.md) | ||
|
||
## DecimalDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.Decimal>; | ||
``` |
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) > [DecimalDirectAnswer](./search-core.decimaldirectanswer.md) | ||
|
||
## DecimalDirectAnswer interface | ||
|
||
A direct answer for a decimal field, which is a number represented using a string. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface DecimalDirectAnswer extends BaseFieldValueDirectAnswer<string | string[]> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string \| string\[\]> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.decimaldirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.Decimal](./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
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) > [FacebookUrlDirectAnswer](./search-core.facebookurldirectanswer.md) > [fieldType](./search-core.facebookurldirectanswer.fieldtype.md) | ||
|
||
## FacebookUrlDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.FacebookURL>; | ||
``` |
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) > [FacebookUrlDirectAnswer](./search-core.facebookurldirectanswer.md) | ||
|
||
## FacebookUrlDirectAnswer interface | ||
|
||
A direct answer for a facebook url field. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface FacebookUrlDirectAnswer extends BaseFieldValueDirectAnswer<string> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.facebookurldirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.FacebookURL](./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
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) > [InstagramHandleDirectAnswer](./search-core.instagramhandledirectanswer.md) > [fieldType](./search-core.instagramhandledirectanswer.fieldtype.md) | ||
|
||
## InstagramHandleDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.InstagramHandle>; | ||
``` |
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) > [InstagramHandleDirectAnswer](./search-core.instagramhandledirectanswer.md) | ||
|
||
## InstagramHandleDirectAnswer interface | ||
|
||
A direct answer for an instagram handle field. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface InstagramHandleDirectAnswer extends BaseFieldValueDirectAnswer<string> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.instagramhandledirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.InstagramHandle](./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
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) > [IosAppUrlDirectAnswer](./search-core.iosappurldirectanswer.md) > [fieldType](./search-core.iosappurldirectanswer.fieldtype.md) | ||
|
||
## IosAppUrlDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.IOSAppURL>; | ||
``` |
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) > [IosAppUrlDirectAnswer](./search-core.iosappurldirectanswer.md) | ||
|
||
## IosAppUrlDirectAnswer interface | ||
|
||
A direct answer for an iOS app url field. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface IosAppUrlDirectAnswer extends BaseFieldValueDirectAnswer<string> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.iosappurldirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.IOSAppURL](./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
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) > [RichTextDirectAnswer](./search-core.richtextdirectanswer.md) > [fieldType](./search-core.richtextdirectanswer.fieldtype.md) | ||
|
||
## RichTextDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.RichText>; | ||
``` |
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) > [RichTextDirectAnswer](./search-core.richtextdirectanswer.md) | ||
|
||
## RichTextDirectAnswer interface | ||
|
||
A direct answer for a rich text field. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface RichTextDirectAnswer extends BaseFieldValueDirectAnswer<string | string[]> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string \| string\[\]> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.richtextdirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.RichText](./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
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) > [TextValueDirectAnswer](./search-core.textvaluedirectanswer.md) > [fieldType](./search-core.textvaluedirectanswer.fieldtype.md) | ||
|
||
## TextValueDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.SingleLineText | BuiltInFieldType.MultiLineText>; | ||
``` |
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) > [TextValueDirectAnswer](./search-core.textvaluedirectanswer.md) | ||
|
||
## TextValueDirectAnswer interface | ||
|
||
A direct answer whose source is a string or string list field in the knowledge graph. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface TextValueDirectAnswer extends BaseFieldValueDirectAnswer<string | string[]> | ||
``` | ||
<b>Extends:</b> [BaseFieldValueDirectAnswer](./search-core.basefieldvaluedirectanswer.md)<!-- --><string \| string\[\]> | ||
## Properties | ||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [fieldType](./search-core.textvaluedirectanswer.fieldtype.md) | [EnumOrLiteral](./search-core.enumorliteral.md)<!-- --><[BuiltInFieldType.SingleLineText](./search-core.builtinfieldtype.md) \| [BuiltInFieldType.MultiLineText](./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
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) > [TwitterHandleDirectAnswer](./search-core.twitterhandledirectanswer.md) > [fieldType](./search-core.twitterhandledirectanswer.fieldtype.md) | ||
|
||
## TwitterHandleDirectAnswer.fieldType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fieldType: EnumOrLiteral<BuiltInFieldType.TwitterHandle>; | ||
``` |
Oops, something went wrong.