Skip to content

Commit

Permalink
Merge 0a27898 into 6d666eb
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeyer2115 committed Aug 15, 2022
2 parents 6d666eb + 0a27898 commit 7352041
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/search-core.builtinfieldtype.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export declare enum BuiltInFieldType
| MultiLineText | <code>&quot;multi_line_text&quot;</code> | |
| Phone | <code>&quot;phone&quot;</code> | |
| RichText | <code>&quot;rich_text&quot;</code> | |
| SingleLineText | <code>&quot;single_line_text&quot;</code> | |

4 changes: 3 additions & 1 deletion etc/search-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ export enum BuiltInFieldType {
// (undocumented)
Phone = "phone",
// (undocumented)
RichText = "rich_text"
RichText = "rich_text",
// (undocumented)
SingleLineText = "single_line_text"
}

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export enum BuiltInFieldType {
// Address = 'address',
// Hours = 'hours',
// Decimal = 'decimal',
SingleLineText = 'single_line_text',
RichText = 'rich_text',
// SingleLineText = 'single_line_text',
MultiLineText = 'multi_line_text'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { EnumOrLiteral } from '../../../utils/EnumOrLiteral';
import { BaseFieldValueDirectAnswer } from './BaseFieldValueDirectAnswer';
import { BuiltInFieldType } from './BuiltInFieldType';

/**
* A direct answer whose source is a string or string list field in the knowledge graph.
*
* @public
*/
export interface StringValueDirectAnswer extends BaseFieldValueDirectAnswer<string | string[]> {
fieldType: EnumOrLiteral<BuiltInFieldType.SingleLineText | BuiltInFieldType.MultiLineText>
}

0 comments on commit 7352041

Please sign in to comment.