Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /** A resource kind svc-core can move into an organisation or project
* (`app/services/ownership.py`'s registry). */
export type MovableKind =
| "agent"
| "repository"
| "knowledge"
| "skill"
| "skillset"
| "worker"
| "rule"
| "dataset"
| "experiment"
| "dashboard";
export interface MoveItem {
kind: MovableKind;
label: string;
id: string;
name: string;
/** Why it blocks the move, for a blocker. */
reason?: string | null;
}
export interface MovePlan {
/** Personal work that goes with it. */
moves: MoveItem[];
/** Already owned by the destination, or a built-in: stays as it is. */
already_there: MoveItem[];
/** Someone else's, or more than the caller's level there lets them
* create: the move is refused while any remain. */
blockers: MoveItem[];
}
export interface MoveDestination {
organisation_id?: string;
project_id?: string;
}
|