@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 +1 -1
- package/src/sdk/client-ambient.d.ts +16 -9
package/package.json
CHANGED
|
@@ -1171,19 +1171,24 @@ declare module 'deveye-sdk-client' {
|
|
|
1171
1171
|
name: string;
|
|
1172
1172
|
features: readonly string[];
|
|
1173
1173
|
}>;
|
|
1174
|
-
/**
|
|
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
|
|
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
|
-
|
|
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
|
|
1200
|
-
*
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
-
*
|
|
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
|
/**
|