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:
Anton Panasenko
2026-11-16 08:47:49 +00:00
committed by copyberry
parent 98e1584a08
commit 75fc67e8f4
10 changed files with 3 additions and 17 deletions
@@ -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"
],
@@ -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"
],
@@ -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.
*/