mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +00:00
Add exact search mode for session lookup
This commit is contained in:
@@ -3628,6 +3628,17 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"searchMode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadListSearchMode"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional search matching mode. Defaults to substring matching."
|
||||
},
|
||||
"searchTerm": {
|
||||
"description": "Optional substring filter for the extracted thread title.",
|
||||
"type": [
|
||||
@@ -3674,6 +3685,13 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadListSearchMode": {
|
||||
"enum": [
|
||||
"contains",
|
||||
"exact"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadLoadedListParams": {
|
||||
"properties": {
|
||||
"cursor": {
|
||||
|
||||
+18
@@ -16123,6 +16123,17 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"searchMode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/ThreadListSearchMode"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional search matching mode. Defaults to substring matching."
|
||||
},
|
||||
"searchTerm": {
|
||||
"description": "Optional substring filter for the extracted thread title.",
|
||||
"type": [
|
||||
@@ -16200,6 +16211,13 @@
|
||||
"title": "ThreadListResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadListSearchMode": {
|
||||
"enum": [
|
||||
"contains",
|
||||
"exact"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadLoadedListParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
||||
+18
@@ -14009,6 +14009,17 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"searchMode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadListSearchMode"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional search matching mode. Defaults to substring matching."
|
||||
},
|
||||
"searchTerm": {
|
||||
"description": "Optional substring filter for the extracted thread title.",
|
||||
"type": [
|
||||
@@ -14086,6 +14097,13 @@
|
||||
"title": "ThreadListResponse",
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadListSearchMode": {
|
||||
"enum": [
|
||||
"contains",
|
||||
"exact"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadLoadedListParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
||||
@@ -21,6 +21,13 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"ThreadListSearchMode": {
|
||||
"enum": [
|
||||
"contains",
|
||||
"exact"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadSortKey": {
|
||||
"enum": [
|
||||
"created_at",
|
||||
@@ -89,6 +96,17 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"searchMode": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ThreadListSearchMode"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Optional search matching mode. Defaults to substring matching."
|
||||
},
|
||||
"searchTerm": {
|
||||
"description": "Optional substring filter for the extracted thread title.",
|
||||
"type": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { SortDirection } from "./SortDirection";
|
||||
import type { ThreadListSearchMode } from "./ThreadListSearchMode";
|
||||
import type { ThreadSortKey } from "./ThreadSortKey";
|
||||
import type { ThreadSourceKind } from "./ThreadSourceKind";
|
||||
|
||||
@@ -51,4 +52,8 @@ useStateDbOnly?: boolean,
|
||||
/**
|
||||
* Optional substring filter for the extracted thread title.
|
||||
*/
|
||||
searchTerm?: string | null, };
|
||||
searchTerm?: string | null,
|
||||
/**
|
||||
* Optional search matching mode. Defaults to substring matching.
|
||||
*/
|
||||
searchMode?: ThreadListSearchMode | null, };
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ThreadListSearchMode = "contains" | "exact";
|
||||
@@ -363,6 +363,7 @@ export type { ThreadInjectItemsResponse } from "./ThreadInjectItemsResponse";
|
||||
export type { ThreadItem } from "./ThreadItem";
|
||||
export type { ThreadListParams } from "./ThreadListParams";
|
||||
export type { ThreadListResponse } from "./ThreadListResponse";
|
||||
export type { ThreadListSearchMode } from "./ThreadListSearchMode";
|
||||
export type { ThreadLoadedListParams } from "./ThreadLoadedListParams";
|
||||
export type { ThreadLoadedListResponse } from "./ThreadLoadedListResponse";
|
||||
export type { ThreadMetadataGitInfoUpdateParams } from "./ThreadMetadataGitInfoUpdateParams";
|
||||
|
||||
Reference in New Issue
Block a user