mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Remove numeric positions from project responses (#61771)
## What changed Remove `position` from app-server `Project` responses, the thread-store project model, and generated schemas and SDK types. Document that clients should use the returned project order and that `beforeProjectId` places a moved project before another project, or appends it when omitted or null. GitOrigin-RevId: 5de481e13f524c03260b7fed5c74874f051d6f30
This commit is contained in:
committed by
copyberry
parent
98e1584a08
commit
75fc67e8f4
-5
@@ -19397,10 +19397,6 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"position": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"recencyAt": {
|
||||
"description": "Newest non-archived member thread's recency, in Unix seconds; null when none exist.",
|
||||
"format": "int64",
|
||||
@@ -19425,7 +19421,6 @@
|
||||
"id",
|
||||
"metadata",
|
||||
"name",
|
||||
"position",
|
||||
"roots",
|
||||
"updatedAt"
|
||||
],
|
||||
|
||||
-5
@@ -15351,10 +15351,6 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"position": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"recencyAt": {
|
||||
"description": "Newest non-archived member thread's recency, in Unix seconds; null when none exist.",
|
||||
"format": "int64",
|
||||
@@ -15379,7 +15375,6 @@
|
||||
"id",
|
||||
"metadata",
|
||||
"name",
|
||||
"position",
|
||||
"roots",
|
||||
"updatedAt"
|
||||
],
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ProjectRoot } from "./ProjectRoot";
|
||||
|
||||
export type Project = { id: string, name: string, roots: Array<ProjectRoot>, metadata: { [key in string]?: string }, position: number, createdAt: number, updatedAt: number,
|
||||
export type Project = { id: string, name: string, roots: Array<ProjectRoot>, metadata: { [key in string]?: string }, createdAt: number, updatedAt: number,
|
||||
/**
|
||||
* Newest non-archived member thread's recency, in Unix seconds; null when none exist.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user