@empathyco/x-components 6.0.0-alpha.5 → 6.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/design-system/deprecated-full-theme.css +714 -714
- package/docs/API-reference/api/x-adapter-platform.md +9 -0
- package/docs/API-reference/api/x-adapter-platform.platformadapter.relatedprompts.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.md +22 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.nextqueries.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.suggestiontext.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedprompt.type.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsrequest.md +15 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.data.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.md +21 -0
- package/docs/API-reference/api/x-adapter-platform.platformrelatedpromptsresponse.status.md +11 -0
- package/docs/API-reference/api/x-adapter-platform.relatedpromptschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.relatedpromptsendpointadapter.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.relatedpromptsrequestmapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.relatedpromptsrequestschema.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.relatedpromptsresponsemapper.md +13 -0
- package/docs/API-reference/api/x-adapter-platform.relatedpromptsresponseschema.md +13 -0
- package/docs/API-reference/api/x-types.md +3 -0
- package/docs/API-reference/api/x-types.relatedprompt.md +23 -0
- package/docs/API-reference/api/x-types.relatedprompt.nextqueries.md +13 -0
- package/docs/API-reference/api/x-types.relatedprompt.suggestiontext.md +13 -0
- package/docs/API-reference/api/x-types.relatedprompt.type.md +13 -0
- package/docs/API-reference/api/x-types.relatedpromptsrequest.md +15 -0
- package/docs/API-reference/api/x-types.relatedpromptsresponse.md +20 -0
- package/docs/API-reference/api/x-types.relatedpromptsresponse.relatedprompts.md +11 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.md +1 -0
- package/docs/API-reference/api/x-types.xcomponentsadapter.relatedprompts.md +11 -0
- package/package.json +4 -4
- package/report/x-adapter-platform.api.json +574 -0
- package/report/x-types.api.json +261 -0
- package/types/adapter/e2e-adapter.d.ts.map +1 -1
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
| [PlatformRecommendationsRequest](./x-adapter-platform.platformrecommendationsrequest.md) | Request for <code>recommendations</code> endpoint with <code>extra params</code>. |
|
|
40
40
|
| [PlatformRecommendationsResponse](./x-adapter-platform.platformrecommendationsresponse.md) | Response for the <code>recommendations</code> endpoint. |
|
|
41
41
|
| [PlatformRedirection](./x-adapter-platform.platformredirection.md) | Redirection model for the <code>platform</code> API. |
|
|
42
|
+
| [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) | Related prompt model for the <code>platform</code> API. |
|
|
43
|
+
| [PlatformRelatedPromptsRequest](./x-adapter-platform.platformrelatedpromptsrequest.md) | Request for the <code>related prompts</code> endpoint with <code>extra params</code>. |
|
|
44
|
+
| [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md) | Response for the <code>related prompts</code> endpoint. |
|
|
42
45
|
| [PlatformRelatedTag](./x-adapter-platform.platformrelatedtag.md) | Related tag model for the <code>platform</code> API. |
|
|
43
46
|
| [PlatformRelatedTagsRequest](./x-adapter-platform.platformrelatedtagsrequest.md) | Request for the <code>related tags</code> endpoint with <code>extra params</code>. |
|
|
44
47
|
| [PlatformRelatedTagsResponse](./x-adapter-platform.platformrelatedtagsresponse.md) | Response for the <code>related tags</code> endpoint. |
|
|
@@ -94,6 +97,12 @@
|
|
|
94
97
|
| [recommendationsResponseMapper](./x-adapter-platform.recommendationsresponsemapper.md) | Default implementation for the RecommendationsResponseMapper. |
|
|
95
98
|
| [recommendationsResponseSchema](./x-adapter-platform.recommendationsresponseschema.md) | Default implementation for the RecommendationsResponseSchema. |
|
|
96
99
|
| [redirectionSchema](./x-adapter-platform.redirectionschema.md) | Default implementation for the RedirectionSchema. |
|
|
100
|
+
| [relatedPromptSchema](./x-adapter-platform.relatedpromptschema.md) | Default implementation for the RelatedPromptSchema. |
|
|
101
|
+
| [relatedPromptsEndpointAdapter](./x-adapter-platform.relatedpromptsendpointadapter.md) | This endpoint does not support pagination in the request. |
|
|
102
|
+
| [relatedPromptsRequestMapper](./x-adapter-platform.relatedpromptsrequestmapper.md) | Default implementation for the RelatedPromptsRequestMapper. |
|
|
103
|
+
| [relatedPromptsRequestSchema](./x-adapter-platform.relatedpromptsrequestschema.md) | Default implementation for the RelatedPromptsRequestSchema. |
|
|
104
|
+
| [relatedPromptsResponseMapper](./x-adapter-platform.relatedpromptsresponsemapper.md) | Default implementation for the RelatedPromptsResponseMapper. |
|
|
105
|
+
| [relatedPromptsResponseSchema](./x-adapter-platform.relatedpromptsresponseschema.md) | Default implementation for the RelatedPromptsResponseSchema. |
|
|
97
106
|
| [relatedTagSchema](./x-adapter-platform.relatedtagschema.md) | Default implementation for the RelatedTagSchema. |
|
|
98
107
|
| [relatedTagsEndpointAdapter](./x-adapter-platform.relatedtagsendpointadapter.md) | This endpoint does not support pagination in the request. |
|
|
99
108
|
| [relatedTagsRequestMapper](./x-adapter-platform.relatedtagsrequestmapper.md) | Default implementation for the RelatedTagsRequestMapper. |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformAdapter](./x-adapter-platform.platformadapter.md) > [relatedPrompts](./x-adapter-platform.platformadapter.relatedprompts.md)
|
|
4
|
+
|
|
5
|
+
## PlatformAdapter.relatedPrompts property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
relatedPrompts: ExtendableEndpointAdapter<RelatedPromptsRequest, RelatedPromptsResponse>;
|
|
11
|
+
```
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPrompt interface
|
|
6
|
+
|
|
7
|
+
Related prompt model for the `platform` API.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface PlatformRelatedPrompt
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [nextQueries](./x-adapter-platform.platformrelatedprompt.nextqueries.md) | | string\[\] | |
|
|
20
|
+
| [suggestionText](./x-adapter-platform.platformrelatedprompt.suggestiontext.md) | | string | |
|
|
21
|
+
| [type](./x-adapter-platform.platformrelatedprompt.type.md) | | 'SYNTHETIC' \| 'CURATED' | |
|
|
22
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) > [nextQueries](./x-adapter-platform.platformrelatedprompt.nextqueries.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPrompt.nextQueries property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
nextQueries: string[];
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) > [suggestionText](./x-adapter-platform.platformrelatedprompt.suggestiontext.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPrompt.suggestionText property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
suggestionText: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md) > [type](./x-adapter-platform.platformrelatedprompt.type.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPrompt.type property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
type: 'SYNTHETIC' | 'CURATED';
|
|
11
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPromptsRequest](./x-adapter-platform.platformrelatedpromptsrequest.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPromptsRequest interface
|
|
6
|
+
|
|
7
|
+
Request for the `related prompts` endpoint with `extra params`<!-- -->.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface PlatformRelatedPromptsRequest extends PlatformQueryableRequest, PlatformExtraParamsRequest
|
|
13
|
+
```
|
|
14
|
+
**Extends:** PlatformQueryableRequest, PlatformExtraParamsRequest
|
|
15
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md) > [data](./x-adapter-platform.platformrelatedpromptsresponse.data.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPromptsResponse.data property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
data: {
|
|
11
|
+
relatedprompts: PlatformRelatedPrompt[];
|
|
12
|
+
};
|
|
13
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPromptsResponse interface
|
|
6
|
+
|
|
7
|
+
Response for the `related prompts` endpoint.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface PlatformRelatedPromptsResponse
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [data](./x-adapter-platform.platformrelatedpromptsresponse.data.md) | | { relatedprompts: [PlatformRelatedPrompt](./x-adapter-platform.platformrelatedprompt.md)<!-- -->\[\]; } | |
|
|
20
|
+
| [status](./x-adapter-platform.platformrelatedpromptsresponse.status.md) | | number | |
|
|
21
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [PlatformRelatedPromptsResponse](./x-adapter-platform.platformrelatedpromptsresponse.md) > [status](./x-adapter-platform.platformrelatedpromptsresponse.status.md)
|
|
4
|
+
|
|
5
|
+
## PlatformRelatedPromptsResponse.status property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
status: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [relatedPromptSchema](./x-adapter-platform.relatedpromptschema.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptSchema variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the RelatedPromptSchema.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
relatedPromptSchema: import("@empathyco/x-adapter").MutableSchema<PlatformRelatedPrompt, RelatedPrompt>
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [relatedPromptsEndpointAdapter](./x-adapter-platform.relatedpromptsendpointadapter.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptsEndpointAdapter variable
|
|
6
|
+
|
|
7
|
+
This endpoint does not support pagination in the request.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
relatedPromptsEndpointAdapter: import("@empathyco/x-adapter").ExtendableEndpointAdapter<RelatedPromptsRequest, RelatedPromptsResponse>
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [relatedPromptsRequestMapper](./x-adapter-platform.relatedpromptsrequestmapper.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptsRequestMapper variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the RelatedPromptsRequestMapper.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
relatedPromptsRequestMapper: import("@empathyco/x-adapter").Mapper<RelatedPromptsRequest, PlatformRelatedPromptsRequest>
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [relatedPromptsRequestSchema](./x-adapter-platform.relatedpromptsrequestschema.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptsRequestSchema variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the RelatedPromptsRequestSchema.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
relatedPromptsRequestSchema: import("@empathyco/x-adapter").MutableSchema<RelatedPromptsRequest, PlatformRelatedPromptsRequest>
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [relatedPromptsResponseMapper](./x-adapter-platform.relatedpromptsresponsemapper.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptsResponseMapper variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the RelatedPromptsResponseMapper.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
relatedPromptsResponseMapper: import("@empathyco/x-adapter").Mapper<PlatformRelatedPromptsResponse, RelatedPromptsResponse>
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-adapter-platform](./x-adapter-platform.md) > [relatedPromptsResponseSchema](./x-adapter-platform.relatedpromptsresponseschema.md)
|
|
4
|
+
|
|
5
|
+
## relatedPromptsResponseSchema variable
|
|
6
|
+
|
|
7
|
+
Default implementation for the RelatedPromptsResponseSchema.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
relatedPromptsResponseSchema: import("@empathyco/x-adapter").MutableSchema<PlatformRelatedPromptsResponse, RelatedPromptsResponse>
|
|
13
|
+
```
|
|
@@ -69,6 +69,9 @@ Entry point to export search-type models and testing schemas in a unified api-ex
|
|
|
69
69
|
| [RecommendationsRequest](./x-types.recommendationsrequest.md) | Request for Recommendations endpoint. |
|
|
70
70
|
| [RecommendationsResponse](./x-types.recommendationsresponse.md) | Response for the recommendations endpoint. |
|
|
71
71
|
| [Redirection](./x-types.redirection.md) | A redirection (AKA Direct Link) is simply a URL. Normally, the user is just redirected to it after making a query that matches the configuration of this URL. In other cases it is shown as a button that the user can click, and which will trigger the redirect action. |
|
|
72
|
+
| [RelatedPrompt](./x-types.relatedprompt.md) | Represents a related prompt. |
|
|
73
|
+
| [RelatedPromptsRequest](./x-types.relatedpromptsrequest.md) | Request for Related Prompts endpoint. |
|
|
74
|
+
| [RelatedPromptsResponse](./x-types.relatedpromptsresponse.md) | Response for the related prompts endpoint. |
|
|
72
75
|
| [RelatedTag](./x-types.relatedtag.md) | A related tag is just a term that refines the current query. |
|
|
73
76
|
| [RelatedTagsRequest](./x-types.relatedtagsrequest.md) | Request for Related Tags endpoint. |
|
|
74
77
|
| [RelatedTagsResponse](./x-types.relatedtagsresponse.md) | Response for the related tags endpoint. |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPrompt](./x-types.relatedprompt.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPrompt interface
|
|
6
|
+
|
|
7
|
+
Represents a related prompt.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface RelatedPrompt extends NamedModel<'RelatedPrompt'>
|
|
13
|
+
```
|
|
14
|
+
**Extends:** [NamedModel](./x-types.namedmodel.md)<!-- --><'RelatedPrompt'>
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
| Property | Modifiers | Type | Description |
|
|
19
|
+
| --- | --- | --- | --- |
|
|
20
|
+
| [nextQueries](./x-types.relatedprompt.nextqueries.md) | | string\[\] | The next queries related to the prompt. |
|
|
21
|
+
| [suggestionText](./x-types.relatedprompt.suggestiontext.md) | | string | The prompt. |
|
|
22
|
+
| [type](./x-types.relatedprompt.type.md) | | string | The type of the prompt. |
|
|
23
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPrompt](./x-types.relatedprompt.md) > [nextQueries](./x-types.relatedprompt.nextqueries.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPrompt.nextQueries property
|
|
6
|
+
|
|
7
|
+
The next queries related to the prompt.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
nextQueries: string[];
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPrompt](./x-types.relatedprompt.md) > [suggestionText](./x-types.relatedprompt.suggestiontext.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPrompt.suggestionText property
|
|
6
|
+
|
|
7
|
+
The prompt.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
suggestionText: string;
|
|
13
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPrompt](./x-types.relatedprompt.md) > [type](./x-types.relatedprompt.type.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPrompt.type property
|
|
6
|
+
|
|
7
|
+
The type of the prompt.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
type: string;
|
|
13
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPromptsRequest](./x-types.relatedpromptsrequest.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPromptsRequest interface
|
|
6
|
+
|
|
7
|
+
Request for Related Prompts endpoint.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface RelatedPromptsRequest extends QueryableRequest, ExtraParamsRequest
|
|
13
|
+
```
|
|
14
|
+
**Extends:** [QueryableRequest](./x-types.queryablerequest.md)<!-- -->, [ExtraParamsRequest](./x-types.extraparamsrequest.md)
|
|
15
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPromptsResponse](./x-types.relatedpromptsresponse.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPromptsResponse interface
|
|
6
|
+
|
|
7
|
+
Response for the related prompts endpoint.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
export interface RelatedPromptsResponse
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
| Property | Modifiers | Type | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| [relatedPrompts](./x-types.relatedpromptsresponse.relatedprompts.md) | | [RelatedPrompt](./x-types.relatedprompt.md)<!-- -->\[\] | |
|
|
20
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [RelatedPromptsResponse](./x-types.relatedpromptsresponse.md) > [relatedPrompts](./x-types.relatedpromptsresponse.relatedprompts.md)
|
|
4
|
+
|
|
5
|
+
## RelatedPromptsResponse.relatedPrompts property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
relatedPrompts: RelatedPrompt[];
|
|
11
|
+
```
|
|
@@ -20,6 +20,7 @@ export interface XComponentsAdapter
|
|
|
20
20
|
| [popularSearches](./x-types.xcomponentsadapter.popularsearches.md) | | EndpointAdapter<[PopularSearchesRequest](./x-types.popularsearchesrequest.md)<!-- -->, [PopularSearchesResponse](./x-types.popularsearchesresponse.md)<!-- -->> | |
|
|
21
21
|
| [querySuggestions](./x-types.xcomponentsadapter.querysuggestions.md) | | EndpointAdapter<[QuerySuggestionsRequest](./x-types.querysuggestionsrequest.md)<!-- -->, [QuerySuggestionsResponse](./x-types.querysuggestionsresponse.md)<!-- -->> | |
|
|
22
22
|
| [recommendations](./x-types.xcomponentsadapter.recommendations.md) | | EndpointAdapter<[RecommendationsRequest](./x-types.recommendationsrequest.md)<!-- -->, [RecommendationsResponse](./x-types.recommendationsresponse.md)<!-- -->> | |
|
|
23
|
+
| [relatedPrompts](./x-types.xcomponentsadapter.relatedprompts.md) | | EndpointAdapter<[RelatedPromptsRequest](./x-types.relatedpromptsrequest.md)<!-- -->, [RelatedPromptsResponse](./x-types.relatedpromptsresponse.md)<!-- -->> | |
|
|
23
24
|
| [relatedTags](./x-types.xcomponentsadapter.relatedtags.md) | | EndpointAdapter<[RelatedTagsRequest](./x-types.relatedtagsrequest.md)<!-- -->, [RelatedTagsResponse](./x-types.relatedtagsresponse.md)<!-- -->> | |
|
|
24
25
|
| [search](./x-types.xcomponentsadapter.search.md) | | EndpointAdapter<[SearchRequest](./x-types.searchrequest.md)<!-- -->, [SearchResponse](./x-types.searchresponse.md)<!-- -->> | |
|
|
25
26
|
| [semanticQueries](./x-types.xcomponentsadapter.semanticqueries.md) | | EndpointAdapter<[SemanticQueriesRequest](./x-types.semanticqueriesrequest.md)<!-- -->, [SemanticQueriesResponse](./x-types.semanticqueriesresponse.md)<!-- -->> | |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [XComponentsAdapter](./x-types.xcomponentsadapter.md) > [relatedPrompts](./x-types.xcomponentsadapter.relatedprompts.md)
|
|
4
|
+
|
|
5
|
+
## XComponentsAdapter.relatedPrompts property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
relatedPrompts: EndpointAdapter<RelatedPromptsRequest, RelatedPromptsResponse>;
|
|
11
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.7",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@empathyco/x-adapter": "^8.1.0-alpha.0",
|
|
73
|
-
"@empathyco/x-adapter-platform": "^1.1.0-alpha.
|
|
73
|
+
"@empathyco/x-adapter-platform": "^1.1.0-alpha.5",
|
|
74
74
|
"@empathyco/x-bus": "^1.0.3-alpha.1",
|
|
75
75
|
"@empathyco/x-deep-merge": "^2.0.3-alpha.1",
|
|
76
76
|
"@empathyco/x-logger": "^1.2.0-alpha.11",
|
|
77
77
|
"@empathyco/x-storage-service": "^2.0.3-alpha.0",
|
|
78
|
-
"@empathyco/x-types": "^10.1.0-alpha.
|
|
78
|
+
"@empathyco/x-types": "^10.1.0-alpha.4",
|
|
79
79
|
"@empathyco/x-utils": "^1.0.3-alpha.1",
|
|
80
80
|
"@vue/devtools-api": "~6.5.0",
|
|
81
81
|
"@vueuse/core": "~10.7.1",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"access": "public",
|
|
138
138
|
"directory": "dist"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "99d4d0a8395d42af1ba70308b9062935d37f6a8d"
|
|
141
141
|
}
|