@wildix/stream-client 0.0.11 → 0.0.13
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.
|
@@ -41,7 +41,7 @@ declare const SearchMessagesCommand_base: {
|
|
|
41
41
|
* channelId: "STRING_VALUE",
|
|
42
42
|
* size: Number("int"),
|
|
43
43
|
* cursor: "STRING_VALUE",
|
|
44
|
-
* sort: "relevance" || "recency",
|
|
44
|
+
* sort: "relevance" || "recency" || "recency_asc",
|
|
45
45
|
* };
|
|
46
46
|
* const command = new SearchMessagesCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
@@ -3414,6 +3414,7 @@ export interface SearchMessageHit {
|
|
|
3414
3414
|
*/
|
|
3415
3415
|
export declare const SearchSort: {
|
|
3416
3416
|
readonly RECENCY: "recency";
|
|
3417
|
+
readonly RECENCY_ASC: "recency_asc";
|
|
3417
3418
|
readonly RELEVANCE: "relevance";
|
|
3418
3419
|
};
|
|
3419
3420
|
/**
|
|
@@ -3455,7 +3456,7 @@ export interface SearchMessagesInput {
|
|
|
3455
3456
|
*/
|
|
3456
3457
|
cursor?: string | undefined;
|
|
3457
3458
|
/**
|
|
3458
|
-
* Result ordering. `relevance` (default) or `
|
|
3459
|
+
* Result ordering. `relevance` (default), `recency` (newest first), or `recency_asc` (oldest first).
|
|
3459
3460
|
* @public
|
|
3460
3461
|
*/
|
|
3461
3462
|
sort?: SearchSort | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/stream-client",
|
|
3
3
|
"description": "@wildix/stream-client client",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.13",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -80,4 +80,4 @@
|
|
|
80
80
|
"react-native": {
|
|
81
81
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
}
|