@comfyorg/comfyui-desktop-bridge-types 0.6.1 → 0.7.0
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/comfyDesktopBridge.d.ts +4 -0
- package/package.json +1 -1
package/comfyDesktopBridge.d.ts
CHANGED
|
@@ -130,6 +130,10 @@ export interface ComfyDesktop2AuthBridge {
|
|
|
130
130
|
* is scoped to; null when signed out, disabled, or the scope is missing,
|
|
131
131
|
* malformed or different. The refresh token never leaves Desktop. */
|
|
132
132
|
getWorkspaceToken(workspaceId: string): Promise<string | null>
|
|
133
|
+
/** The partner-node token for prompts in `workspaceId`, under the same rules
|
|
134
|
+
* as `getWorkspaceToken`. Desktop mints and renews it; null means use the
|
|
135
|
+
* workspace token. Absent on Desktop builds before it. */
|
|
136
|
+
getPartnerNodeToken?(workspaceId: string): Promise<string | null>
|
|
133
137
|
/** Runs Desktop's browser sign-in and resolves with the resulting state. */
|
|
134
138
|
requestSignIn(): Promise<ComfyDesktop2AuthState>
|
|
135
139
|
/** Signs Desktop out of its account (every view follows) and resolves with
|