@deveye/types 0.26.0 → 0.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deveye/types",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Shared contracts (types + zod schemas) for DevEye apps",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -1171,19 +1171,24 @@ declare module 'deveye-sdk-client' {
1171
1171
  name: string;
1172
1172
  features: readonly string[];
1173
1173
  }>;
1174
- /** A remote instance of the account (another DevEye server it signs in to). */
1174
+ /**
1175
+ * An instance of the account other than the active workspace's: a remote
1176
+ * one (another DevEye server it signs in to), or this one when the active
1177
+ * workspace is remote (`id` null).
1178
+ */
1175
1179
  export interface RemoteInstanceSummary {
1176
- id: number;
1180
+ id: number | null;
1177
1181
  label: string;
1178
1182
  origin: string;
1179
1183
  /** Why nothing can be sent there right now; `null` when it can. */
1180
1184
  unavailable: string | null;
1181
1185
  }
1182
- /** A workspace of a remote instance: the `{ instanceId, workspaceId }` target of `sendTo`. */
1186
+ /** A workspace of another instance: the `{ instanceId, workspaceId }` target of `sendTo`. */
1183
1187
  export interface RemoteWorkspaceTarget {
1184
1188
  /** Unique across the workspaces of every instance. */
1185
1189
  key: string;
1186
- instanceId: number;
1190
+ /** Null for a workspace of this instance. */
1191
+ instanceId: number | null;
1187
1192
  instanceLabel: string;
1188
1193
  instanceOrigin: string;
1189
1194
  workspaceId: number;
@@ -1196,11 +1201,13 @@ declare module 'deveye-sdk-client' {
1196
1201
  workspaces: readonly RemoteWorkspaceTarget[];
1197
1202
  }
1198
1203
  /**
1199
- * The account's remote instances and their workspaces, probed while the
1200
- * component is mounted. The two servers never talk to each other: this
1201
- * browser carries a `sendTo` command to the instance chosen, on the
1202
- * socket it holds there. Signed out of one, its workspaces are those last
1203
- * seen, named but not targetable.
1204
+ * The account's other instances and their workspaces: the remote ones
1205
+ * from a local workspace; from a remote workspace, this instance too and
1206
+ * not that one. Remote instances are probed while the component is
1207
+ * mounted. The servers never talk to each other: this browser carries a
1208
+ * `sendTo` command to the instance chosen, on the socket it holds there.
1209
+ * Signed out of a remote one, its workspaces are those last seen, named
1210
+ * but not targetable.
1204
1211
  */
1205
1212
  export function useRemoteTargets(): RemoteTargets;
1206
1213
  /**