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
@@ -184,7 +184,6 @@ fn stored_project(project: codex_state::Project) -> StoredProject {
|
||||
.map(|root| StoredProjectRoot { path: root.path })
|
||||
.collect(),
|
||||
metadata: project.metadata,
|
||||
position: project.position,
|
||||
created_at_ms: project.created_at_ms,
|
||||
updated_at_ms: project.updated_at_ms,
|
||||
recency_at_ms: project.recency_at_ms,
|
||||
|
||||
@@ -13,7 +13,6 @@ pub struct StoredProject {
|
||||
pub name: String,
|
||||
pub roots: Vec<StoredProjectRoot>,
|
||||
pub metadata: BTreeMap<String, String>,
|
||||
pub position: i64,
|
||||
pub created_at_ms: i64,
|
||||
pub updated_at_ms: i64,
|
||||
pub recency_at_ms: Option<i64>,
|
||||
|
||||
Reference in New Issue
Block a user