@soederpop/luca 0.0.15 → 0.0.16
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { setBuildTimeData, setContainerBuildTimeData } from './index.js';
|
|
2
2
|
|
|
3
3
|
// Auto-generated introspection registry data
|
|
4
|
-
// Generated at: 2026-03-
|
|
4
|
+
// Generated at: 2026-03-20T16:22:28.971Z
|
|
5
5
|
|
|
6
6
|
setBuildTimeData('features.googleDocs', {
|
|
7
7
|
"id": "features.googleDocs",
|
|
@@ -9787,198 +9787,254 @@ setBuildTimeData('clients.openai', {
|
|
|
9787
9787
|
]
|
|
9788
9788
|
});
|
|
9789
9789
|
|
|
9790
|
-
setBuildTimeData('clients.
|
|
9791
|
-
"id": "clients.
|
|
9792
|
-
"description": "
|
|
9793
|
-
"shortcut": "clients.
|
|
9794
|
-
"className": "
|
|
9790
|
+
setBuildTimeData('clients.comfyui', {
|
|
9791
|
+
"id": "clients.comfyui",
|
|
9792
|
+
"description": "ComfyUI client — execute Stable Diffusion workflows via the ComfyUI API. Connects to a ComfyUI instance to queue prompts, track execution via WebSocket or polling, and download generated images. Supports both UI-format and API-format workflows with automatic conversion.",
|
|
9793
|
+
"shortcut": "clients.comfyui",
|
|
9794
|
+
"className": "ComfyUIClient",
|
|
9795
9795
|
"methods": {
|
|
9796
|
-
"
|
|
9797
|
-
"description": "
|
|
9796
|
+
"queuePrompt": {
|
|
9797
|
+
"description": "Queue a prompt (API-format workflow) for execution.",
|
|
9798
9798
|
"parameters": {
|
|
9799
|
-
"
|
|
9799
|
+
"prompt": {
|
|
9800
|
+
"type": "Record<string, any>",
|
|
9801
|
+
"description": "The API-format workflow object"
|
|
9802
|
+
},
|
|
9803
|
+
"clientId": {
|
|
9800
9804
|
"type": "string",
|
|
9801
|
-
"description": "
|
|
9805
|
+
"description": "Override the client ID for this request"
|
|
9802
9806
|
}
|
|
9803
9807
|
},
|
|
9804
9808
|
"required": [
|
|
9805
|
-
"
|
|
9809
|
+
"prompt"
|
|
9806
9810
|
],
|
|
9807
|
-
"returns": "
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
"fn": {
|
|
9813
|
-
"type": "string",
|
|
9814
|
-
"description": "The function name"
|
|
9815
|
-
},
|
|
9816
|
-
"params": {
|
|
9817
|
-
"type": "Record<string, unknown>",
|
|
9818
|
-
"description": "Arguments to pass to the function"
|
|
9819
|
-
},
|
|
9820
|
-
"options": {
|
|
9821
|
-
"type": "{ head?: boolean; get?: boolean; count?: \"exact\" | \"planned\" | \"estimated\" }",
|
|
9822
|
-
"description": "Optional settings (head, get, count)"
|
|
9811
|
+
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
9812
|
+
"examples": [
|
|
9813
|
+
{
|
|
9814
|
+
"language": "ts",
|
|
9815
|
+
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
9823
9816
|
}
|
|
9824
|
-
|
|
9825
|
-
"required": [
|
|
9826
|
-
"fn"
|
|
9827
|
-
],
|
|
9828
|
-
"returns": "void"
|
|
9817
|
+
]
|
|
9829
9818
|
},
|
|
9830
|
-
"
|
|
9831
|
-
"description": "
|
|
9832
|
-
"parameters": {
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
"description": "Parameter email"
|
|
9836
|
-
},
|
|
9837
|
-
"password": {
|
|
9838
|
-
"type": "string",
|
|
9839
|
-
"description": "Parameter password"
|
|
9840
|
-
}
|
|
9841
|
-
},
|
|
9842
|
-
"required": [
|
|
9843
|
-
"email",
|
|
9844
|
-
"password"
|
|
9845
|
-
],
|
|
9846
|
-
"returns": "void"
|
|
9819
|
+
"getQueue": {
|
|
9820
|
+
"description": "Get the current prompt queue status.",
|
|
9821
|
+
"parameters": {},
|
|
9822
|
+
"required": [],
|
|
9823
|
+
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
9847
9824
|
},
|
|
9848
|
-
"
|
|
9849
|
-
"description": "
|
|
9825
|
+
"getHistory": {
|
|
9826
|
+
"description": "Get execution history, optionally for a specific prompt.",
|
|
9850
9827
|
"parameters": {
|
|
9851
|
-
"
|
|
9852
|
-
"type": "string",
|
|
9853
|
-
"description": "Parameter email"
|
|
9854
|
-
},
|
|
9855
|
-
"password": {
|
|
9828
|
+
"promptId": {
|
|
9856
9829
|
"type": "string",
|
|
9857
|
-
"description": "
|
|
9830
|
+
"description": "If provided, returns history for this prompt only"
|
|
9858
9831
|
}
|
|
9859
9832
|
},
|
|
9860
|
-
"required": [
|
|
9861
|
-
|
|
9862
|
-
"password"
|
|
9863
|
-
],
|
|
9864
|
-
"returns": "void"
|
|
9833
|
+
"required": [],
|
|
9834
|
+
"returns": "Promise<Record<string, any>>"
|
|
9865
9835
|
},
|
|
9866
|
-
"
|
|
9867
|
-
"description": "
|
|
9836
|
+
"getSystemStats": {
|
|
9837
|
+
"description": "Get system stats including GPU memory and queue info.",
|
|
9868
9838
|
"parameters": {},
|
|
9869
9839
|
"required": [],
|
|
9870
|
-
"returns": "
|
|
9840
|
+
"returns": "Promise<any>"
|
|
9871
9841
|
},
|
|
9872
|
-
"
|
|
9873
|
-
"description": "Get
|
|
9874
|
-
"parameters": {
|
|
9842
|
+
"getObjectInfo": {
|
|
9843
|
+
"description": "Get node type info with input/output schemas.",
|
|
9844
|
+
"parameters": {
|
|
9845
|
+
"nodeClass": {
|
|
9846
|
+
"type": "string",
|
|
9847
|
+
"description": "If provided, returns info for this node type only"
|
|
9848
|
+
}
|
|
9849
|
+
},
|
|
9875
9850
|
"required": [],
|
|
9876
|
-
"returns": "
|
|
9851
|
+
"returns": "Promise<any>"
|
|
9877
9852
|
},
|
|
9878
|
-
"
|
|
9879
|
-
"description": "
|
|
9853
|
+
"interrupt": {
|
|
9854
|
+
"description": "Interrupt the currently executing prompt.",
|
|
9880
9855
|
"parameters": {},
|
|
9881
9856
|
"required": [],
|
|
9882
|
-
"returns": "void"
|
|
9857
|
+
"returns": "Promise<void>"
|
|
9883
9858
|
},
|
|
9884
|
-
"
|
|
9885
|
-
"description": "
|
|
9859
|
+
"getModels": {
|
|
9860
|
+
"description": "List available models, optionally filtered by type.",
|
|
9886
9861
|
"parameters": {
|
|
9887
|
-
"
|
|
9862
|
+
"type": {
|
|
9888
9863
|
"type": "string",
|
|
9889
|
-
"description": "
|
|
9890
|
-
},
|
|
9891
|
-
"body": {
|
|
9892
|
-
"type": "any",
|
|
9893
|
-
"description": "Parameter body"
|
|
9864
|
+
"description": "Model type filter (e.g., 'checkpoints', 'loras')"
|
|
9894
9865
|
}
|
|
9895
9866
|
},
|
|
9896
|
-
"required": [
|
|
9897
|
-
|
|
9898
|
-
],
|
|
9899
|
-
"returns": "void"
|
|
9867
|
+
"required": [],
|
|
9868
|
+
"returns": "Promise<string[]>"
|
|
9900
9869
|
},
|
|
9901
|
-
"
|
|
9902
|
-
"description": "
|
|
9870
|
+
"getEmbeddings": {
|
|
9871
|
+
"description": "List available embedding models.",
|
|
9872
|
+
"parameters": {},
|
|
9873
|
+
"required": [],
|
|
9874
|
+
"returns": "Promise<string[]>"
|
|
9875
|
+
},
|
|
9876
|
+
"uploadImage": {
|
|
9877
|
+
"description": "Upload an image to ComfyUI's input directory.",
|
|
9903
9878
|
"parameters": {
|
|
9904
|
-
"
|
|
9905
|
-
"type": "
|
|
9906
|
-
"description": "
|
|
9879
|
+
"file": {
|
|
9880
|
+
"type": "Buffer | Blob",
|
|
9881
|
+
"description": "The image data as Buffer or Blob"
|
|
9907
9882
|
},
|
|
9908
|
-
"
|
|
9883
|
+
"filename": {
|
|
9909
9884
|
"type": "string",
|
|
9910
|
-
"description": "
|
|
9911
|
-
},
|
|
9912
|
-
"callback": {
|
|
9913
|
-
"type": "(payload: any) => void",
|
|
9914
|
-
"description": "Called with the payload on each change"
|
|
9885
|
+
"description": "File name for the upload"
|
|
9915
9886
|
},
|
|
9916
|
-
"
|
|
9917
|
-
"type": "
|
|
9918
|
-
"description": "
|
|
9887
|
+
"opts": {
|
|
9888
|
+
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
9889
|
+
"description": "Upload options (subfolder, type, overwrite)"
|
|
9919
9890
|
}
|
|
9920
9891
|
},
|
|
9921
9892
|
"required": [
|
|
9922
|
-
"
|
|
9923
|
-
"
|
|
9924
|
-
"callback"
|
|
9893
|
+
"file",
|
|
9894
|
+
"filename"
|
|
9925
9895
|
],
|
|
9926
|
-
"returns": "
|
|
9896
|
+
"returns": "Promise<any>"
|
|
9927
9897
|
},
|
|
9928
|
-
"
|
|
9929
|
-
"description": "
|
|
9898
|
+
"viewImage": {
|
|
9899
|
+
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
9930
9900
|
"parameters": {
|
|
9931
|
-
"
|
|
9901
|
+
"filename": {
|
|
9932
9902
|
"type": "string",
|
|
9933
|
-
"description": "The
|
|
9903
|
+
"description": "The image filename"
|
|
9904
|
+
},
|
|
9905
|
+
"subfolder": {
|
|
9906
|
+
"type": "any",
|
|
9907
|
+
"description": "Subfolder within the output directory"
|
|
9908
|
+
},
|
|
9909
|
+
"type": {
|
|
9910
|
+
"type": "any",
|
|
9911
|
+
"description": "Image type ('output', 'input', 'temp')"
|
|
9934
9912
|
}
|
|
9935
9913
|
},
|
|
9936
9914
|
"required": [
|
|
9937
|
-
"
|
|
9915
|
+
"filename"
|
|
9938
9916
|
],
|
|
9939
|
-
"returns": "
|
|
9917
|
+
"returns": "Promise<Buffer>"
|
|
9940
9918
|
},
|
|
9941
|
-
"
|
|
9942
|
-
"description": "
|
|
9919
|
+
"connectWs": {
|
|
9920
|
+
"description": "Open a WebSocket connection to ComfyUI for real-time execution tracking. Events emitted: `execution_start`, `executing`, `progress`, `executed`, `execution_cached`, `execution_error`, `execution_complete`.",
|
|
9943
9921
|
"parameters": {},
|
|
9944
9922
|
"required": [],
|
|
9945
|
-
"returns": "void"
|
|
9923
|
+
"returns": "Promise<void>"
|
|
9946
9924
|
},
|
|
9947
|
-
"
|
|
9948
|
-
"description": "
|
|
9925
|
+
"disconnectWs": {
|
|
9926
|
+
"description": "Close the WebSocket connection.",
|
|
9949
9927
|
"parameters": {},
|
|
9950
9928
|
"required": [],
|
|
9951
9929
|
"returns": "void"
|
|
9952
9930
|
},
|
|
9953
|
-
"
|
|
9954
|
-
"description": "
|
|
9955
|
-
"parameters": {
|
|
9956
|
-
|
|
9957
|
-
|
|
9931
|
+
"toApiFormat": {
|
|
9932
|
+
"description": "Convert a UI-format workflow to the API format that /prompt expects. Requires a running ComfyUI instance to fetch `object_info` so we can map positional `widgets_values` to their named input fields. If the workflow is already in API format, it's returned as-is.",
|
|
9933
|
+
"parameters": {
|
|
9934
|
+
"workflow": {
|
|
9935
|
+
"type": "Record<string, any>",
|
|
9936
|
+
"description": "Parameter workflow"
|
|
9937
|
+
}
|
|
9938
|
+
},
|
|
9939
|
+
"required": [
|
|
9940
|
+
"workflow"
|
|
9941
|
+
],
|
|
9942
|
+
"returns": "Promise<Record<string, any>>"
|
|
9943
|
+
},
|
|
9944
|
+
"runWorkflow": {
|
|
9945
|
+
"description": "Run a ComfyUI workflow with optional runtime input overrides. Inputs can be provided in two forms: **Direct node mapping** (when no `inputMap` in options): ``` { '3': { seed: 42 }, '6': { text: 'a cat' } } ``` **Named inputs** (when `inputMap` is provided in options): ``` inputs: { positive_prompt: 'a cat', seed: 42 } options.inputMap: { positive_prompt: { nodeId: '6', field: 'text' }, seed: { nodeId: '3', field: 'seed' } } ```",
|
|
9946
|
+
"parameters": {
|
|
9947
|
+
"workflow": {
|
|
9948
|
+
"type": "Record<string, any>",
|
|
9949
|
+
"description": "Parameter workflow"
|
|
9950
|
+
},
|
|
9951
|
+
"inputs": {
|
|
9952
|
+
"type": "Record<string, any>",
|
|
9953
|
+
"description": "Parameter inputs"
|
|
9954
|
+
},
|
|
9955
|
+
"options": {
|
|
9956
|
+
"type": "WorkflowRunOptions",
|
|
9957
|
+
"description": "Parameter options",
|
|
9958
|
+
"properties": {
|
|
9959
|
+
"poll": {
|
|
9960
|
+
"type": "boolean",
|
|
9961
|
+
"description": "Use polling instead of WebSocket for tracking execution"
|
|
9962
|
+
},
|
|
9963
|
+
"pollInterval": {
|
|
9964
|
+
"type": "number",
|
|
9965
|
+
"description": "Polling interval in ms (default 1000)"
|
|
9966
|
+
},
|
|
9967
|
+
"inputMap": {
|
|
9968
|
+
"type": "InputMapping",
|
|
9969
|
+
"description": "Named input mapping: semantic name -> { nodeId, field }"
|
|
9970
|
+
},
|
|
9971
|
+
"outputDir": {
|
|
9972
|
+
"type": "string",
|
|
9973
|
+
"description": "If provided, output images are downloaded to this directory"
|
|
9974
|
+
}
|
|
9975
|
+
}
|
|
9976
|
+
}
|
|
9977
|
+
},
|
|
9978
|
+
"required": [
|
|
9979
|
+
"workflow"
|
|
9980
|
+
],
|
|
9981
|
+
"returns": "Promise<WorkflowResult>"
|
|
9958
9982
|
}
|
|
9959
9983
|
},
|
|
9960
9984
|
"getters": {
|
|
9961
|
-
"
|
|
9962
|
-
"description": "
|
|
9963
|
-
"returns": "
|
|
9985
|
+
"clientId": {
|
|
9986
|
+
"description": "The unique client ID used for WebSocket session tracking.",
|
|
9987
|
+
"returns": "string"
|
|
9964
9988
|
},
|
|
9965
|
-
"
|
|
9966
|
-
"description": "
|
|
9967
|
-
"returns": "
|
|
9989
|
+
"wsURL": {
|
|
9990
|
+
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
9991
|
+
"returns": "string"
|
|
9992
|
+
}
|
|
9993
|
+
},
|
|
9994
|
+
"events": {
|
|
9995
|
+
"execution_start": {
|
|
9996
|
+
"name": "execution_start",
|
|
9997
|
+
"description": "Event emitted by ComfyUIClient",
|
|
9998
|
+
"arguments": {}
|
|
9968
9999
|
},
|
|
9969
|
-
"
|
|
9970
|
-
"
|
|
9971
|
-
"
|
|
10000
|
+
"execution_complete": {
|
|
10001
|
+
"name": "execution_complete",
|
|
10002
|
+
"description": "Event emitted by ComfyUIClient",
|
|
10003
|
+
"arguments": {}
|
|
10004
|
+
},
|
|
10005
|
+
"executing": {
|
|
10006
|
+
"name": "executing",
|
|
10007
|
+
"description": "Event emitted by ComfyUIClient",
|
|
10008
|
+
"arguments": {}
|
|
10009
|
+
},
|
|
10010
|
+
"progress": {
|
|
10011
|
+
"name": "progress",
|
|
10012
|
+
"description": "Event emitted by ComfyUIClient",
|
|
10013
|
+
"arguments": {}
|
|
10014
|
+
},
|
|
10015
|
+
"executed": {
|
|
10016
|
+
"name": "executed",
|
|
10017
|
+
"description": "Event emitted by ComfyUIClient",
|
|
10018
|
+
"arguments": {}
|
|
10019
|
+
},
|
|
10020
|
+
"execution_cached": {
|
|
10021
|
+
"name": "execution_cached",
|
|
10022
|
+
"description": "Event emitted by ComfyUIClient",
|
|
10023
|
+
"arguments": {}
|
|
10024
|
+
},
|
|
10025
|
+
"execution_error": {
|
|
10026
|
+
"name": "execution_error",
|
|
10027
|
+
"description": "Event emitted by ComfyUIClient",
|
|
10028
|
+
"arguments": {}
|
|
9972
10029
|
}
|
|
9973
10030
|
},
|
|
9974
|
-
"events": {},
|
|
9975
10031
|
"state": {},
|
|
9976
10032
|
"options": {},
|
|
9977
10033
|
"envVars": [],
|
|
9978
10034
|
"examples": [
|
|
9979
10035
|
{
|
|
9980
10036
|
"language": "ts",
|
|
9981
|
-
"code": "const
|
|
10037
|
+
"code": "const comfy = container.client('comfyui', { baseURL: 'http://localhost:8188' })\nconst result = await comfy.runWorkflow(workflow, {\n '6': { text: 'a beautiful sunset' }\n})\nconsole.log(result.images)"
|
|
9982
10038
|
}
|
|
9983
10039
|
]
|
|
9984
10040
|
});
|
|
@@ -10185,254 +10241,198 @@ setBuildTimeData('clients.elevenlabs', {
|
|
|
10185
10241
|
]
|
|
10186
10242
|
});
|
|
10187
10243
|
|
|
10188
|
-
setBuildTimeData('clients.
|
|
10189
|
-
"id": "clients.
|
|
10190
|
-
"description": "
|
|
10191
|
-
"shortcut": "clients.
|
|
10192
|
-
"className": "
|
|
10244
|
+
setBuildTimeData('clients.supabase', {
|
|
10245
|
+
"id": "clients.supabase",
|
|
10246
|
+
"description": "Supabase client for the Luca container system. Wraps the official `@supabase/supabase-js` SDK and exposes it through Luca's typed state, events, and introspection system. The SDK is isomorphic so this single implementation works in both Node and browser containers. Use `client.sdk` for full SDK access, or use the convenience wrappers for common operations (auth, database queries, storage, edge functions, realtime).",
|
|
10247
|
+
"shortcut": "clients.supabase",
|
|
10248
|
+
"className": "SupabaseClient",
|
|
10193
10249
|
"methods": {
|
|
10194
|
-
"
|
|
10195
|
-
"description": "
|
|
10250
|
+
"from": {
|
|
10251
|
+
"description": "Start a query on a Postgres table or view.",
|
|
10196
10252
|
"parameters": {
|
|
10197
|
-
"
|
|
10198
|
-
"type": "Record<string, any>",
|
|
10199
|
-
"description": "The API-format workflow object"
|
|
10200
|
-
},
|
|
10201
|
-
"clientId": {
|
|
10253
|
+
"table": {
|
|
10202
10254
|
"type": "string",
|
|
10203
|
-
"description": "
|
|
10255
|
+
"description": "The table or view name to query"
|
|
10204
10256
|
}
|
|
10205
10257
|
},
|
|
10206
10258
|
"required": [
|
|
10207
|
-
"
|
|
10259
|
+
"table"
|
|
10208
10260
|
],
|
|
10209
|
-
"returns": "
|
|
10210
|
-
"examples": [
|
|
10211
|
-
{
|
|
10212
|
-
"language": "ts",
|
|
10213
|
-
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
10214
|
-
}
|
|
10215
|
-
]
|
|
10216
|
-
},
|
|
10217
|
-
"getQueue": {
|
|
10218
|
-
"description": "Get the current prompt queue status.",
|
|
10219
|
-
"parameters": {},
|
|
10220
|
-
"required": [],
|
|
10221
|
-
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
10261
|
+
"returns": "void"
|
|
10222
10262
|
},
|
|
10223
|
-
"
|
|
10224
|
-
"description": "
|
|
10263
|
+
"rpc": {
|
|
10264
|
+
"description": "Call a Postgres function (RPC).",
|
|
10225
10265
|
"parameters": {
|
|
10226
|
-
"
|
|
10266
|
+
"fn": {
|
|
10227
10267
|
"type": "string",
|
|
10228
|
-
"description": "
|
|
10268
|
+
"description": "The function name"
|
|
10269
|
+
},
|
|
10270
|
+
"params": {
|
|
10271
|
+
"type": "Record<string, unknown>",
|
|
10272
|
+
"description": "Arguments to pass to the function"
|
|
10273
|
+
},
|
|
10274
|
+
"options": {
|
|
10275
|
+
"type": "{ head?: boolean; get?: boolean; count?: \"exact\" | \"planned\" | \"estimated\" }",
|
|
10276
|
+
"description": "Optional settings (head, get, count)"
|
|
10229
10277
|
}
|
|
10230
10278
|
},
|
|
10231
|
-
"required": [
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
"description": "Get system stats including GPU memory and queue info.",
|
|
10236
|
-
"parameters": {},
|
|
10237
|
-
"required": [],
|
|
10238
|
-
"returns": "Promise<any>"
|
|
10279
|
+
"required": [
|
|
10280
|
+
"fn"
|
|
10281
|
+
],
|
|
10282
|
+
"returns": "void"
|
|
10239
10283
|
},
|
|
10240
|
-
"
|
|
10241
|
-
"description": "
|
|
10284
|
+
"signInWithPassword": {
|
|
10285
|
+
"description": "Sign in with email and password.",
|
|
10242
10286
|
"parameters": {
|
|
10243
|
-
"
|
|
10287
|
+
"email": {
|
|
10244
10288
|
"type": "string",
|
|
10245
|
-
"description": "
|
|
10289
|
+
"description": "Parameter email"
|
|
10290
|
+
},
|
|
10291
|
+
"password": {
|
|
10292
|
+
"type": "string",
|
|
10293
|
+
"description": "Parameter password"
|
|
10246
10294
|
}
|
|
10247
10295
|
},
|
|
10248
|
-
"required": [
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
"
|
|
10253
|
-
"parameters": {},
|
|
10254
|
-
"required": [],
|
|
10255
|
-
"returns": "Promise<void>"
|
|
10296
|
+
"required": [
|
|
10297
|
+
"email",
|
|
10298
|
+
"password"
|
|
10299
|
+
],
|
|
10300
|
+
"returns": "void"
|
|
10256
10301
|
},
|
|
10257
|
-
"
|
|
10258
|
-
"description": "
|
|
10302
|
+
"signUp": {
|
|
10303
|
+
"description": "Create a new user account with email and password.",
|
|
10259
10304
|
"parameters": {
|
|
10260
|
-
"
|
|
10305
|
+
"email": {
|
|
10261
10306
|
"type": "string",
|
|
10262
|
-
"description": "
|
|
10307
|
+
"description": "Parameter email"
|
|
10308
|
+
},
|
|
10309
|
+
"password": {
|
|
10310
|
+
"type": "string",
|
|
10311
|
+
"description": "Parameter password"
|
|
10263
10312
|
}
|
|
10264
10313
|
},
|
|
10314
|
+
"required": [
|
|
10315
|
+
"email",
|
|
10316
|
+
"password"
|
|
10317
|
+
],
|
|
10318
|
+
"returns": "void"
|
|
10319
|
+
},
|
|
10320
|
+
"signOut": {
|
|
10321
|
+
"description": "Sign the current user out.",
|
|
10322
|
+
"parameters": {},
|
|
10265
10323
|
"required": [],
|
|
10266
|
-
"returns": "
|
|
10324
|
+
"returns": "void"
|
|
10267
10325
|
},
|
|
10268
|
-
"
|
|
10269
|
-
"description": "
|
|
10326
|
+
"getSession": {
|
|
10327
|
+
"description": "Get the current session, if any.",
|
|
10270
10328
|
"parameters": {},
|
|
10271
10329
|
"required": [],
|
|
10272
|
-
"returns": "
|
|
10330
|
+
"returns": "void"
|
|
10273
10331
|
},
|
|
10274
|
-
"
|
|
10275
|
-
"description": "
|
|
10276
|
-
"parameters": {
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
"description": "The image data as Buffer or Blob"
|
|
10280
|
-
},
|
|
10281
|
-
"filename": {
|
|
10282
|
-
"type": "string",
|
|
10283
|
-
"description": "File name for the upload"
|
|
10284
|
-
},
|
|
10285
|
-
"opts": {
|
|
10286
|
-
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
10287
|
-
"description": "Upload options (subfolder, type, overwrite)"
|
|
10288
|
-
}
|
|
10289
|
-
},
|
|
10290
|
-
"required": [
|
|
10291
|
-
"file",
|
|
10292
|
-
"filename"
|
|
10293
|
-
],
|
|
10294
|
-
"returns": "Promise<any>"
|
|
10332
|
+
"getUser": {
|
|
10333
|
+
"description": "Get the current user, if any.",
|
|
10334
|
+
"parameters": {},
|
|
10335
|
+
"required": [],
|
|
10336
|
+
"returns": "void"
|
|
10295
10337
|
},
|
|
10296
|
-
"
|
|
10297
|
-
"description": "
|
|
10338
|
+
"invoke": {
|
|
10339
|
+
"description": "Invoke a Supabase Edge Function by name.",
|
|
10298
10340
|
"parameters": {
|
|
10299
|
-
"
|
|
10341
|
+
"name": {
|
|
10300
10342
|
"type": "string",
|
|
10301
|
-
"description": "
|
|
10302
|
-
},
|
|
10303
|
-
"subfolder": {
|
|
10304
|
-
"type": "any",
|
|
10305
|
-
"description": "Subfolder within the output directory"
|
|
10343
|
+
"description": "Parameter name"
|
|
10306
10344
|
},
|
|
10307
|
-
"
|
|
10345
|
+
"body": {
|
|
10308
10346
|
"type": "any",
|
|
10309
|
-
"description": "
|
|
10347
|
+
"description": "Parameter body"
|
|
10310
10348
|
}
|
|
10311
10349
|
},
|
|
10312
10350
|
"required": [
|
|
10313
|
-
"
|
|
10351
|
+
"name"
|
|
10314
10352
|
],
|
|
10315
|
-
"returns": "Promise<Buffer>"
|
|
10316
|
-
},
|
|
10317
|
-
"connectWs": {
|
|
10318
|
-
"description": "Open a WebSocket connection to ComfyUI for real-time execution tracking. Events emitted: `execution_start`, `executing`, `progress`, `executed`, `execution_cached`, `execution_error`, `execution_complete`.",
|
|
10319
|
-
"parameters": {},
|
|
10320
|
-
"required": [],
|
|
10321
|
-
"returns": "Promise<void>"
|
|
10322
|
-
},
|
|
10323
|
-
"disconnectWs": {
|
|
10324
|
-
"description": "Close the WebSocket connection.",
|
|
10325
|
-
"parameters": {},
|
|
10326
|
-
"required": [],
|
|
10327
10353
|
"returns": "void"
|
|
10328
10354
|
},
|
|
10329
|
-
"
|
|
10330
|
-
"description": "
|
|
10355
|
+
"subscribe": {
|
|
10356
|
+
"description": "Subscribe to realtime changes on a Postgres table.",
|
|
10331
10357
|
"parameters": {
|
|
10332
|
-
"
|
|
10333
|
-
"type": "
|
|
10334
|
-
"description": "
|
|
10358
|
+
"channelName": {
|
|
10359
|
+
"type": "string",
|
|
10360
|
+
"description": "A name for this subscription channel"
|
|
10361
|
+
},
|
|
10362
|
+
"table": {
|
|
10363
|
+
"type": "string",
|
|
10364
|
+
"description": "The table to listen to"
|
|
10365
|
+
},
|
|
10366
|
+
"callback": {
|
|
10367
|
+
"type": "(payload: any) => void",
|
|
10368
|
+
"description": "Called with the payload on each change"
|
|
10369
|
+
},
|
|
10370
|
+
"event": {
|
|
10371
|
+
"type": "\"INSERT\" | \"UPDATE\" | \"DELETE\" | \"*\"",
|
|
10372
|
+
"description": "The event type to listen for (default: all changes)"
|
|
10335
10373
|
}
|
|
10336
10374
|
},
|
|
10337
10375
|
"required": [
|
|
10338
|
-
"
|
|
10376
|
+
"channelName",
|
|
10377
|
+
"table",
|
|
10378
|
+
"callback"
|
|
10339
10379
|
],
|
|
10340
|
-
"returns": "
|
|
10380
|
+
"returns": "RealtimeChannel"
|
|
10341
10381
|
},
|
|
10342
|
-
"
|
|
10343
|
-
"description": "
|
|
10382
|
+
"unsubscribe": {
|
|
10383
|
+
"description": "Unsubscribe and remove a realtime channel by name.",
|
|
10344
10384
|
"parameters": {
|
|
10345
|
-
"
|
|
10346
|
-
"type": "
|
|
10347
|
-
"description": "
|
|
10348
|
-
},
|
|
10349
|
-
"inputs": {
|
|
10350
|
-
"type": "Record<string, any>",
|
|
10351
|
-
"description": "Parameter inputs"
|
|
10352
|
-
},
|
|
10353
|
-
"options": {
|
|
10354
|
-
"type": "WorkflowRunOptions",
|
|
10355
|
-
"description": "Parameter options",
|
|
10356
|
-
"properties": {
|
|
10357
|
-
"poll": {
|
|
10358
|
-
"type": "boolean",
|
|
10359
|
-
"description": "Use polling instead of WebSocket for tracking execution"
|
|
10360
|
-
},
|
|
10361
|
-
"pollInterval": {
|
|
10362
|
-
"type": "number",
|
|
10363
|
-
"description": "Polling interval in ms (default 1000)"
|
|
10364
|
-
},
|
|
10365
|
-
"inputMap": {
|
|
10366
|
-
"type": "InputMapping",
|
|
10367
|
-
"description": "Named input mapping: semantic name -> { nodeId, field }"
|
|
10368
|
-
},
|
|
10369
|
-
"outputDir": {
|
|
10370
|
-
"type": "string",
|
|
10371
|
-
"description": "If provided, output images are downloaded to this directory"
|
|
10372
|
-
}
|
|
10373
|
-
}
|
|
10385
|
+
"channelName": {
|
|
10386
|
+
"type": "string",
|
|
10387
|
+
"description": "The channel name to remove"
|
|
10374
10388
|
}
|
|
10375
10389
|
},
|
|
10376
10390
|
"required": [
|
|
10377
|
-
"
|
|
10391
|
+
"channelName"
|
|
10378
10392
|
],
|
|
10379
|
-
"returns": "
|
|
10380
|
-
}
|
|
10381
|
-
},
|
|
10382
|
-
"getters": {
|
|
10383
|
-
"clientId": {
|
|
10384
|
-
"description": "The unique client ID used for WebSocket session tracking.",
|
|
10385
|
-
"returns": "string"
|
|
10386
|
-
},
|
|
10387
|
-
"wsURL": {
|
|
10388
|
-
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
10389
|
-
"returns": "string"
|
|
10390
|
-
}
|
|
10391
|
-
},
|
|
10392
|
-
"events": {
|
|
10393
|
-
"execution_start": {
|
|
10394
|
-
"name": "execution_start",
|
|
10395
|
-
"description": "Event emitted by ComfyUIClient",
|
|
10396
|
-
"arguments": {}
|
|
10397
|
-
},
|
|
10398
|
-
"execution_complete": {
|
|
10399
|
-
"name": "execution_complete",
|
|
10400
|
-
"description": "Event emitted by ComfyUIClient",
|
|
10401
|
-
"arguments": {}
|
|
10393
|
+
"returns": "void"
|
|
10402
10394
|
},
|
|
10403
|
-
"
|
|
10404
|
-
"
|
|
10405
|
-
"
|
|
10406
|
-
"
|
|
10395
|
+
"unsubscribeAll": {
|
|
10396
|
+
"description": "Unsubscribe and remove all realtime channels.",
|
|
10397
|
+
"parameters": {},
|
|
10398
|
+
"required": [],
|
|
10399
|
+
"returns": "void"
|
|
10407
10400
|
},
|
|
10408
|
-
"
|
|
10409
|
-
"
|
|
10410
|
-
"
|
|
10411
|
-
"
|
|
10401
|
+
"connect": {
|
|
10402
|
+
"description": "Connect is a no-op since the Supabase SDK initializes on construction. The client is ready to use immediately after creation.",
|
|
10403
|
+
"parameters": {},
|
|
10404
|
+
"required": [],
|
|
10405
|
+
"returns": "void"
|
|
10412
10406
|
},
|
|
10413
|
-
"
|
|
10414
|
-
"
|
|
10415
|
-
"
|
|
10416
|
-
"
|
|
10407
|
+
"disconnect": {
|
|
10408
|
+
"description": "Disconnect by signing out and removing all realtime channels.",
|
|
10409
|
+
"parameters": {},
|
|
10410
|
+
"required": [],
|
|
10411
|
+
"returns": "void"
|
|
10412
|
+
}
|
|
10413
|
+
},
|
|
10414
|
+
"getters": {
|
|
10415
|
+
"sdk": {
|
|
10416
|
+
"description": "Returns the raw Supabase SDK client for full access to all SDK methods.",
|
|
10417
|
+
"returns": "SupabaseSDKClient<any, any>"
|
|
10417
10418
|
},
|
|
10418
|
-
"
|
|
10419
|
-
"
|
|
10420
|
-
"
|
|
10421
|
-
"arguments": {}
|
|
10419
|
+
"storage": {
|
|
10420
|
+
"description": "Returns the Supabase Storage client for managing buckets and files.",
|
|
10421
|
+
"returns": "any"
|
|
10422
10422
|
},
|
|
10423
|
-
"
|
|
10424
|
-
"
|
|
10425
|
-
"
|
|
10426
|
-
"arguments": {}
|
|
10423
|
+
"functions": {
|
|
10424
|
+
"description": "Returns the Supabase Functions client.",
|
|
10425
|
+
"returns": "any"
|
|
10427
10426
|
}
|
|
10428
10427
|
},
|
|
10428
|
+
"events": {},
|
|
10429
10429
|
"state": {},
|
|
10430
10430
|
"options": {},
|
|
10431
10431
|
"envVars": [],
|
|
10432
10432
|
"examples": [
|
|
10433
10433
|
{
|
|
10434
10434
|
"language": "ts",
|
|
10435
|
-
"code": "const
|
|
10435
|
+
"code": "const supabase = container.client('supabase', {\n supabaseUrl: 'https://xyz.supabase.co',\n supabaseKey: 'your-anon-key',\n})\n\n// Query data\nconst { data } = await supabase.from('users').select('*')\n\n// Auth\nawait supabase.signInWithPassword('user@example.com', 'password')\n\n// Realtime\nsupabase.subscribe('changes', 'users', (payload) => {\n console.log('Change:', payload)\n})"
|
|
10436
10436
|
}
|
|
10437
10437
|
]
|
|
10438
10438
|
});
|
|
@@ -10657,6 +10657,19 @@ setBuildTimeData('servers.express', {
|
|
|
10657
10657
|
],
|
|
10658
10658
|
"returns": "Promise<this>"
|
|
10659
10659
|
},
|
|
10660
|
+
"useEndpointModules": {
|
|
10661
|
+
"description": "",
|
|
10662
|
+
"parameters": {
|
|
10663
|
+
"modules": {
|
|
10664
|
+
"type": "EndpointModule[]",
|
|
10665
|
+
"description": "Parameter modules"
|
|
10666
|
+
}
|
|
10667
|
+
},
|
|
10668
|
+
"required": [
|
|
10669
|
+
"modules"
|
|
10670
|
+
],
|
|
10671
|
+
"returns": "Promise<this>"
|
|
10672
|
+
},
|
|
10660
10673
|
"serveOpenAPISpec": {
|
|
10661
10674
|
"description": "",
|
|
10662
10675
|
"parameters": {
|
|
@@ -20965,197 +20978,253 @@ export const introspectionData = [
|
|
|
20965
20978
|
]
|
|
20966
20979
|
},
|
|
20967
20980
|
{
|
|
20968
|
-
"id": "clients.
|
|
20969
|
-
"description": "
|
|
20970
|
-
"shortcut": "clients.
|
|
20971
|
-
"className": "
|
|
20981
|
+
"id": "clients.comfyui",
|
|
20982
|
+
"description": "ComfyUI client — execute Stable Diffusion workflows via the ComfyUI API. Connects to a ComfyUI instance to queue prompts, track execution via WebSocket or polling, and download generated images. Supports both UI-format and API-format workflows with automatic conversion.",
|
|
20983
|
+
"shortcut": "clients.comfyui",
|
|
20984
|
+
"className": "ComfyUIClient",
|
|
20972
20985
|
"methods": {
|
|
20973
|
-
"
|
|
20974
|
-
"description": "
|
|
20986
|
+
"queuePrompt": {
|
|
20987
|
+
"description": "Queue a prompt (API-format workflow) for execution.",
|
|
20975
20988
|
"parameters": {
|
|
20976
|
-
"
|
|
20989
|
+
"prompt": {
|
|
20990
|
+
"type": "Record<string, any>",
|
|
20991
|
+
"description": "The API-format workflow object"
|
|
20992
|
+
},
|
|
20993
|
+
"clientId": {
|
|
20977
20994
|
"type": "string",
|
|
20978
|
-
"description": "
|
|
20995
|
+
"description": "Override the client ID for this request"
|
|
20979
20996
|
}
|
|
20980
20997
|
},
|
|
20981
20998
|
"required": [
|
|
20982
|
-
"
|
|
20999
|
+
"prompt"
|
|
20983
21000
|
],
|
|
20984
|
-
"returns": "
|
|
21001
|
+
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
21002
|
+
"examples": [
|
|
21003
|
+
{
|
|
21004
|
+
"language": "ts",
|
|
21005
|
+
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
21006
|
+
}
|
|
21007
|
+
]
|
|
20985
21008
|
},
|
|
20986
|
-
"
|
|
20987
|
-
"description": "
|
|
21009
|
+
"getQueue": {
|
|
21010
|
+
"description": "Get the current prompt queue status.",
|
|
21011
|
+
"parameters": {},
|
|
21012
|
+
"required": [],
|
|
21013
|
+
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
21014
|
+
},
|
|
21015
|
+
"getHistory": {
|
|
21016
|
+
"description": "Get execution history, optionally for a specific prompt.",
|
|
20988
21017
|
"parameters": {
|
|
20989
|
-
"
|
|
21018
|
+
"promptId": {
|
|
20990
21019
|
"type": "string",
|
|
20991
|
-
"description": "
|
|
20992
|
-
},
|
|
20993
|
-
"params": {
|
|
20994
|
-
"type": "Record<string, unknown>",
|
|
20995
|
-
"description": "Arguments to pass to the function"
|
|
20996
|
-
},
|
|
20997
|
-
"options": {
|
|
20998
|
-
"type": "{ head?: boolean; get?: boolean; count?: \"exact\" | \"planned\" | \"estimated\" }",
|
|
20999
|
-
"description": "Optional settings (head, get, count)"
|
|
21020
|
+
"description": "If provided, returns history for this prompt only"
|
|
21000
21021
|
}
|
|
21001
21022
|
},
|
|
21002
|
-
"required": [
|
|
21003
|
-
|
|
21004
|
-
],
|
|
21005
|
-
"returns": "void"
|
|
21023
|
+
"required": [],
|
|
21024
|
+
"returns": "Promise<Record<string, any>>"
|
|
21006
21025
|
},
|
|
21007
|
-
"
|
|
21008
|
-
"description": "
|
|
21026
|
+
"getSystemStats": {
|
|
21027
|
+
"description": "Get system stats including GPU memory and queue info.",
|
|
21028
|
+
"parameters": {},
|
|
21029
|
+
"required": [],
|
|
21030
|
+
"returns": "Promise<any>"
|
|
21031
|
+
},
|
|
21032
|
+
"getObjectInfo": {
|
|
21033
|
+
"description": "Get node type info with input/output schemas.",
|
|
21009
21034
|
"parameters": {
|
|
21010
|
-
"
|
|
21035
|
+
"nodeClass": {
|
|
21011
21036
|
"type": "string",
|
|
21012
|
-
"description": "
|
|
21037
|
+
"description": "If provided, returns info for this node type only"
|
|
21038
|
+
}
|
|
21039
|
+
},
|
|
21040
|
+
"required": [],
|
|
21041
|
+
"returns": "Promise<any>"
|
|
21042
|
+
},
|
|
21043
|
+
"interrupt": {
|
|
21044
|
+
"description": "Interrupt the currently executing prompt.",
|
|
21045
|
+
"parameters": {},
|
|
21046
|
+
"required": [],
|
|
21047
|
+
"returns": "Promise<void>"
|
|
21048
|
+
},
|
|
21049
|
+
"getModels": {
|
|
21050
|
+
"description": "List available models, optionally filtered by type.",
|
|
21051
|
+
"parameters": {
|
|
21052
|
+
"type": {
|
|
21053
|
+
"type": "string",
|
|
21054
|
+
"description": "Model type filter (e.g., 'checkpoints', 'loras')"
|
|
21055
|
+
}
|
|
21056
|
+
},
|
|
21057
|
+
"required": [],
|
|
21058
|
+
"returns": "Promise<string[]>"
|
|
21059
|
+
},
|
|
21060
|
+
"getEmbeddings": {
|
|
21061
|
+
"description": "List available embedding models.",
|
|
21062
|
+
"parameters": {},
|
|
21063
|
+
"required": [],
|
|
21064
|
+
"returns": "Promise<string[]>"
|
|
21065
|
+
},
|
|
21066
|
+
"uploadImage": {
|
|
21067
|
+
"description": "Upload an image to ComfyUI's input directory.",
|
|
21068
|
+
"parameters": {
|
|
21069
|
+
"file": {
|
|
21070
|
+
"type": "Buffer | Blob",
|
|
21071
|
+
"description": "The image data as Buffer or Blob"
|
|
21013
21072
|
},
|
|
21014
|
-
"
|
|
21073
|
+
"filename": {
|
|
21015
21074
|
"type": "string",
|
|
21016
|
-
"description": "
|
|
21075
|
+
"description": "File name for the upload"
|
|
21076
|
+
},
|
|
21077
|
+
"opts": {
|
|
21078
|
+
"type": "{ subfolder?: string; type?: string; overwrite?: boolean }",
|
|
21079
|
+
"description": "Upload options (subfolder, type, overwrite)"
|
|
21017
21080
|
}
|
|
21018
21081
|
},
|
|
21019
21082
|
"required": [
|
|
21020
|
-
"
|
|
21021
|
-
"
|
|
21083
|
+
"file",
|
|
21084
|
+
"filename"
|
|
21022
21085
|
],
|
|
21023
|
-
"returns": "
|
|
21086
|
+
"returns": "Promise<any>"
|
|
21024
21087
|
},
|
|
21025
|
-
"
|
|
21026
|
-
"description": "
|
|
21088
|
+
"viewImage": {
|
|
21089
|
+
"description": "Download a generated image from ComfyUI as a Buffer.",
|
|
21027
21090
|
"parameters": {
|
|
21028
|
-
"
|
|
21091
|
+
"filename": {
|
|
21029
21092
|
"type": "string",
|
|
21030
|
-
"description": "
|
|
21093
|
+
"description": "The image filename"
|
|
21031
21094
|
},
|
|
21032
|
-
"
|
|
21033
|
-
"type": "
|
|
21034
|
-
"description": "
|
|
21095
|
+
"subfolder": {
|
|
21096
|
+
"type": "any",
|
|
21097
|
+
"description": "Subfolder within the output directory"
|
|
21098
|
+
},
|
|
21099
|
+
"type": {
|
|
21100
|
+
"type": "any",
|
|
21101
|
+
"description": "Image type ('output', 'input', 'temp')"
|
|
21035
21102
|
}
|
|
21036
21103
|
},
|
|
21037
21104
|
"required": [
|
|
21038
|
-
"
|
|
21039
|
-
"password"
|
|
21105
|
+
"filename"
|
|
21040
21106
|
],
|
|
21041
|
-
"returns": "
|
|
21042
|
-
},
|
|
21043
|
-
"signOut": {
|
|
21044
|
-
"description": "Sign the current user out.",
|
|
21045
|
-
"parameters": {},
|
|
21046
|
-
"required": [],
|
|
21047
|
-
"returns": "void"
|
|
21107
|
+
"returns": "Promise<Buffer>"
|
|
21048
21108
|
},
|
|
21049
|
-
"
|
|
21050
|
-
"description": "
|
|
21109
|
+
"connectWs": {
|
|
21110
|
+
"description": "Open a WebSocket connection to ComfyUI for real-time execution tracking. Events emitted: `execution_start`, `executing`, `progress`, `executed`, `execution_cached`, `execution_error`, `execution_complete`.",
|
|
21051
21111
|
"parameters": {},
|
|
21052
21112
|
"required": [],
|
|
21053
|
-
"returns": "void"
|
|
21113
|
+
"returns": "Promise<void>"
|
|
21054
21114
|
},
|
|
21055
|
-
"
|
|
21056
|
-
"description": "
|
|
21115
|
+
"disconnectWs": {
|
|
21116
|
+
"description": "Close the WebSocket connection.",
|
|
21057
21117
|
"parameters": {},
|
|
21058
21118
|
"required": [],
|
|
21059
21119
|
"returns": "void"
|
|
21060
21120
|
},
|
|
21061
|
-
"
|
|
21062
|
-
"description": "
|
|
21121
|
+
"toApiFormat": {
|
|
21122
|
+
"description": "Convert a UI-format workflow to the API format that /prompt expects. Requires a running ComfyUI instance to fetch `object_info` so we can map positional `widgets_values` to their named input fields. If the workflow is already in API format, it's returned as-is.",
|
|
21063
21123
|
"parameters": {
|
|
21064
|
-
"
|
|
21065
|
-
"type": "string",
|
|
21066
|
-
"description": "Parameter
|
|
21067
|
-
},
|
|
21068
|
-
"body": {
|
|
21069
|
-
"type": "any",
|
|
21070
|
-
"description": "Parameter body"
|
|
21124
|
+
"workflow": {
|
|
21125
|
+
"type": "Record<string, any>",
|
|
21126
|
+
"description": "Parameter workflow"
|
|
21071
21127
|
}
|
|
21072
21128
|
},
|
|
21073
21129
|
"required": [
|
|
21074
|
-
"
|
|
21130
|
+
"workflow"
|
|
21075
21131
|
],
|
|
21076
|
-
"returns": "
|
|
21132
|
+
"returns": "Promise<Record<string, any>>"
|
|
21077
21133
|
},
|
|
21078
|
-
"
|
|
21079
|
-
"description": "
|
|
21134
|
+
"runWorkflow": {
|
|
21135
|
+
"description": "Run a ComfyUI workflow with optional runtime input overrides. Inputs can be provided in two forms: **Direct node mapping** (when no `inputMap` in options): ``` { '3': { seed: 42 }, '6': { text: 'a cat' } } ``` **Named inputs** (when `inputMap` is provided in options): ``` inputs: { positive_prompt: 'a cat', seed: 42 } options.inputMap: { positive_prompt: { nodeId: '6', field: 'text' }, seed: { nodeId: '3', field: 'seed' } } ```",
|
|
21080
21136
|
"parameters": {
|
|
21081
|
-
"
|
|
21082
|
-
"type": "string",
|
|
21083
|
-
"description": "
|
|
21084
|
-
},
|
|
21085
|
-
"table": {
|
|
21086
|
-
"type": "string",
|
|
21087
|
-
"description": "The table to listen to"
|
|
21137
|
+
"workflow": {
|
|
21138
|
+
"type": "Record<string, any>",
|
|
21139
|
+
"description": "Parameter workflow"
|
|
21088
21140
|
},
|
|
21089
|
-
"
|
|
21090
|
-
"type": "
|
|
21091
|
-
"description": "
|
|
21141
|
+
"inputs": {
|
|
21142
|
+
"type": "Record<string, any>",
|
|
21143
|
+
"description": "Parameter inputs"
|
|
21092
21144
|
},
|
|
21093
|
-
"
|
|
21094
|
-
"type": "
|
|
21095
|
-
"description": "
|
|
21145
|
+
"options": {
|
|
21146
|
+
"type": "WorkflowRunOptions",
|
|
21147
|
+
"description": "Parameter options",
|
|
21148
|
+
"properties": {
|
|
21149
|
+
"poll": {
|
|
21150
|
+
"type": "boolean",
|
|
21151
|
+
"description": "Use polling instead of WebSocket for tracking execution"
|
|
21152
|
+
},
|
|
21153
|
+
"pollInterval": {
|
|
21154
|
+
"type": "number",
|
|
21155
|
+
"description": "Polling interval in ms (default 1000)"
|
|
21156
|
+
},
|
|
21157
|
+
"inputMap": {
|
|
21158
|
+
"type": "InputMapping",
|
|
21159
|
+
"description": "Named input mapping: semantic name -> { nodeId, field }"
|
|
21160
|
+
},
|
|
21161
|
+
"outputDir": {
|
|
21162
|
+
"type": "string",
|
|
21163
|
+
"description": "If provided, output images are downloaded to this directory"
|
|
21164
|
+
}
|
|
21165
|
+
}
|
|
21096
21166
|
}
|
|
21097
21167
|
},
|
|
21098
21168
|
"required": [
|
|
21099
|
-
"
|
|
21100
|
-
"table",
|
|
21101
|
-
"callback"
|
|
21169
|
+
"workflow"
|
|
21102
21170
|
],
|
|
21103
|
-
"returns": "
|
|
21171
|
+
"returns": "Promise<WorkflowResult>"
|
|
21172
|
+
}
|
|
21173
|
+
},
|
|
21174
|
+
"getters": {
|
|
21175
|
+
"clientId": {
|
|
21176
|
+
"description": "The unique client ID used for WebSocket session tracking.",
|
|
21177
|
+
"returns": "string"
|
|
21104
21178
|
},
|
|
21105
|
-
"
|
|
21106
|
-
"description": "
|
|
21107
|
-
"
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
|
|
21112
|
-
|
|
21113
|
-
"
|
|
21114
|
-
|
|
21115
|
-
],
|
|
21116
|
-
"returns": "void"
|
|
21179
|
+
"wsURL": {
|
|
21180
|
+
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
21181
|
+
"returns": "string"
|
|
21182
|
+
}
|
|
21183
|
+
},
|
|
21184
|
+
"events": {
|
|
21185
|
+
"execution_start": {
|
|
21186
|
+
"name": "execution_start",
|
|
21187
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21188
|
+
"arguments": {}
|
|
21117
21189
|
},
|
|
21118
|
-
"
|
|
21119
|
-
"
|
|
21120
|
-
"
|
|
21121
|
-
"
|
|
21122
|
-
"returns": "void"
|
|
21190
|
+
"execution_complete": {
|
|
21191
|
+
"name": "execution_complete",
|
|
21192
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21193
|
+
"arguments": {}
|
|
21123
21194
|
},
|
|
21124
|
-
"
|
|
21125
|
-
"
|
|
21126
|
-
"
|
|
21127
|
-
"
|
|
21128
|
-
"returns": "void"
|
|
21195
|
+
"executing": {
|
|
21196
|
+
"name": "executing",
|
|
21197
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21198
|
+
"arguments": {}
|
|
21129
21199
|
},
|
|
21130
|
-
"
|
|
21131
|
-
"
|
|
21132
|
-
"
|
|
21133
|
-
"
|
|
21134
|
-
"returns": "void"
|
|
21135
|
-
}
|
|
21136
|
-
},
|
|
21137
|
-
"getters": {
|
|
21138
|
-
"sdk": {
|
|
21139
|
-
"description": "Returns the raw Supabase SDK client for full access to all SDK methods.",
|
|
21140
|
-
"returns": "SupabaseSDKClient<any, any>"
|
|
21200
|
+
"progress": {
|
|
21201
|
+
"name": "progress",
|
|
21202
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21203
|
+
"arguments": {}
|
|
21141
21204
|
},
|
|
21142
|
-
"
|
|
21143
|
-
"
|
|
21144
|
-
"
|
|
21205
|
+
"executed": {
|
|
21206
|
+
"name": "executed",
|
|
21207
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21208
|
+
"arguments": {}
|
|
21145
21209
|
},
|
|
21146
|
-
"
|
|
21147
|
-
"
|
|
21148
|
-
"
|
|
21210
|
+
"execution_cached": {
|
|
21211
|
+
"name": "execution_cached",
|
|
21212
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21213
|
+
"arguments": {}
|
|
21214
|
+
},
|
|
21215
|
+
"execution_error": {
|
|
21216
|
+
"name": "execution_error",
|
|
21217
|
+
"description": "Event emitted by ComfyUIClient",
|
|
21218
|
+
"arguments": {}
|
|
21149
21219
|
}
|
|
21150
21220
|
},
|
|
21151
|
-
"events": {},
|
|
21152
21221
|
"state": {},
|
|
21153
21222
|
"options": {},
|
|
21154
21223
|
"envVars": [],
|
|
21155
21224
|
"examples": [
|
|
21156
21225
|
{
|
|
21157
21226
|
"language": "ts",
|
|
21158
|
-
"code": "const
|
|
21227
|
+
"code": "const comfy = container.client('comfyui', { baseURL: 'http://localhost:8188' })\nconst result = await comfy.runWorkflow(workflow, {\n '6': { text: 'a beautiful sunset' }\n})\nconsole.log(result.images)"
|
|
21159
21228
|
}
|
|
21160
21229
|
]
|
|
21161
21230
|
},
|
|
@@ -21361,253 +21430,197 @@ export const introspectionData = [
|
|
|
21361
21430
|
]
|
|
21362
21431
|
},
|
|
21363
21432
|
{
|
|
21364
|
-
"id": "clients.
|
|
21365
|
-
"description": "
|
|
21366
|
-
"shortcut": "clients.
|
|
21367
|
-
"className": "
|
|
21433
|
+
"id": "clients.supabase",
|
|
21434
|
+
"description": "Supabase client for the Luca container system. Wraps the official `@supabase/supabase-js` SDK and exposes it through Luca's typed state, events, and introspection system. The SDK is isomorphic so this single implementation works in both Node and browser containers. Use `client.sdk` for full SDK access, or use the convenience wrappers for common operations (auth, database queries, storage, edge functions, realtime).",
|
|
21435
|
+
"shortcut": "clients.supabase",
|
|
21436
|
+
"className": "SupabaseClient",
|
|
21368
21437
|
"methods": {
|
|
21369
|
-
"
|
|
21370
|
-
"description": "
|
|
21371
|
-
"parameters": {
|
|
21372
|
-
"prompt": {
|
|
21373
|
-
"type": "Record<string, any>",
|
|
21374
|
-
"description": "The API-format workflow object"
|
|
21375
|
-
},
|
|
21376
|
-
"clientId": {
|
|
21377
|
-
"type": "string",
|
|
21378
|
-
"description": "Override the client ID for this request"
|
|
21379
|
-
}
|
|
21380
|
-
},
|
|
21381
|
-
"required": [
|
|
21382
|
-
"prompt"
|
|
21383
|
-
],
|
|
21384
|
-
"returns": "Promise<{ prompt_id: string; number: number }>",
|
|
21385
|
-
"examples": [
|
|
21386
|
-
{
|
|
21387
|
-
"language": "ts",
|
|
21388
|
-
"code": "const { prompt_id } = await comfy.queuePrompt(apiWorkflow)"
|
|
21389
|
-
}
|
|
21390
|
-
]
|
|
21391
|
-
},
|
|
21392
|
-
"getQueue": {
|
|
21393
|
-
"description": "Get the current prompt queue status.",
|
|
21394
|
-
"parameters": {},
|
|
21395
|
-
"required": [],
|
|
21396
|
-
"returns": "Promise<{ queue_running: any[]; queue_pending: any[] }>"
|
|
21397
|
-
},
|
|
21398
|
-
"getHistory": {
|
|
21399
|
-
"description": "Get execution history, optionally for a specific prompt.",
|
|
21400
|
-
"parameters": {
|
|
21401
|
-
"promptId": {
|
|
21402
|
-
"type": "string",
|
|
21403
|
-
"description": "If provided, returns history for this prompt only"
|
|
21404
|
-
}
|
|
21405
|
-
},
|
|
21406
|
-
"required": [],
|
|
21407
|
-
"returns": "Promise<Record<string, any>>"
|
|
21408
|
-
},
|
|
21409
|
-
"getSystemStats": {
|
|
21410
|
-
"description": "Get system stats including GPU memory and queue info.",
|
|
21411
|
-
"parameters": {},
|
|
21412
|
-
"required": [],
|
|
21413
|
-
"returns": "Promise<any>"
|
|
21414
|
-
},
|
|
21415
|
-
"getObjectInfo": {
|
|
21416
|
-
"description": "Get node type info with input/output schemas.",
|
|
21438
|
+
"from": {
|
|
21439
|
+
"description": "Start a query on a Postgres table or view.",
|
|
21417
21440
|
"parameters": {
|
|
21418
|
-
"
|
|
21441
|
+
"table": {
|
|
21419
21442
|
"type": "string",
|
|
21420
|
-
"description": "
|
|
21421
|
-
}
|
|
21422
|
-
},
|
|
21423
|
-
"required": [
|
|
21424
|
-
|
|
21425
|
-
|
|
21426
|
-
|
|
21427
|
-
"description": "Interrupt the currently executing prompt.",
|
|
21428
|
-
"parameters": {},
|
|
21429
|
-
"required": [],
|
|
21430
|
-
"returns": "Promise<void>"
|
|
21443
|
+
"description": "The table or view name to query"
|
|
21444
|
+
}
|
|
21445
|
+
},
|
|
21446
|
+
"required": [
|
|
21447
|
+
"table"
|
|
21448
|
+
],
|
|
21449
|
+
"returns": "void"
|
|
21431
21450
|
},
|
|
21432
|
-
"
|
|
21433
|
-
"description": "
|
|
21451
|
+
"rpc": {
|
|
21452
|
+
"description": "Call a Postgres function (RPC).",
|
|
21434
21453
|
"parameters": {
|
|
21435
|
-
"
|
|
21454
|
+
"fn": {
|
|
21436
21455
|
"type": "string",
|
|
21437
|
-
"description": "
|
|
21456
|
+
"description": "The function name"
|
|
21457
|
+
},
|
|
21458
|
+
"params": {
|
|
21459
|
+
"type": "Record<string, unknown>",
|
|
21460
|
+
"description": "Arguments to pass to the function"
|
|
21461
|
+
},
|
|
21462
|
+
"options": {
|
|
21463
|
+
"type": "{ head?: boolean; get?: boolean; count?: \"exact\" | \"planned\" | \"estimated\" }",
|
|
21464
|
+
"description": "Optional settings (head, get, count)"
|
|
21438
21465
|
}
|
|
21439
21466
|
},
|
|
21440
|
-
"required": [
|
|
21441
|
-
|
|
21442
|
-
|
|
21443
|
-
|
|
21444
|
-
"description": "List available embedding models.",
|
|
21445
|
-
"parameters": {},
|
|
21446
|
-
"required": [],
|
|
21447
|
-
"returns": "Promise<string[]>"
|
|
21467
|
+
"required": [
|
|
21468
|
+
"fn"
|
|
21469
|
+
],
|
|
21470
|
+
"returns": "void"
|
|
21448
21471
|
},
|
|
21449
|
-
"
|
|
21450
|
-
"description": "
|
|
21472
|
+
"signInWithPassword": {
|
|
21473
|
+
"description": "Sign in with email and password.",
|
|
21451
21474
|
"parameters": {
|
|
21452
|
-
"
|
|
21453
|
-
"type": "Buffer | Blob",
|
|
21454
|
-
"description": "The image data as Buffer or Blob"
|
|
21455
|
-
},
|
|
21456
|
-
"filename": {
|
|
21475
|
+
"email": {
|
|
21457
21476
|
"type": "string",
|
|
21458
|
-
"description": "
|
|
21477
|
+
"description": "Parameter email"
|
|
21459
21478
|
},
|
|
21460
|
-
"
|
|
21461
|
-
"type": "
|
|
21462
|
-
"description": "
|
|
21479
|
+
"password": {
|
|
21480
|
+
"type": "string",
|
|
21481
|
+
"description": "Parameter password"
|
|
21463
21482
|
}
|
|
21464
21483
|
},
|
|
21465
21484
|
"required": [
|
|
21466
|
-
"
|
|
21467
|
-
"
|
|
21485
|
+
"email",
|
|
21486
|
+
"password"
|
|
21468
21487
|
],
|
|
21469
|
-
"returns": "
|
|
21488
|
+
"returns": "void"
|
|
21470
21489
|
},
|
|
21471
|
-
"
|
|
21472
|
-
"description": "
|
|
21490
|
+
"signUp": {
|
|
21491
|
+
"description": "Create a new user account with email and password.",
|
|
21473
21492
|
"parameters": {
|
|
21474
|
-
"
|
|
21493
|
+
"email": {
|
|
21475
21494
|
"type": "string",
|
|
21476
|
-
"description": "
|
|
21477
|
-
},
|
|
21478
|
-
"subfolder": {
|
|
21479
|
-
"type": "any",
|
|
21480
|
-
"description": "Subfolder within the output directory"
|
|
21495
|
+
"description": "Parameter email"
|
|
21481
21496
|
},
|
|
21482
|
-
"
|
|
21483
|
-
"type": "
|
|
21484
|
-
"description": "
|
|
21497
|
+
"password": {
|
|
21498
|
+
"type": "string",
|
|
21499
|
+
"description": "Parameter password"
|
|
21485
21500
|
}
|
|
21486
21501
|
},
|
|
21487
21502
|
"required": [
|
|
21488
|
-
"
|
|
21503
|
+
"email",
|
|
21504
|
+
"password"
|
|
21489
21505
|
],
|
|
21490
|
-
"returns": "
|
|
21506
|
+
"returns": "void"
|
|
21491
21507
|
},
|
|
21492
|
-
"
|
|
21493
|
-
"description": "
|
|
21508
|
+
"signOut": {
|
|
21509
|
+
"description": "Sign the current user out.",
|
|
21494
21510
|
"parameters": {},
|
|
21495
21511
|
"required": [],
|
|
21496
|
-
"returns": "
|
|
21512
|
+
"returns": "void"
|
|
21497
21513
|
},
|
|
21498
|
-
"
|
|
21499
|
-
"description": "
|
|
21514
|
+
"getSession": {
|
|
21515
|
+
"description": "Get the current session, if any.",
|
|
21500
21516
|
"parameters": {},
|
|
21501
21517
|
"required": [],
|
|
21502
21518
|
"returns": "void"
|
|
21503
21519
|
},
|
|
21504
|
-
"
|
|
21505
|
-
"description": "
|
|
21520
|
+
"getUser": {
|
|
21521
|
+
"description": "Get the current user, if any.",
|
|
21522
|
+
"parameters": {},
|
|
21523
|
+
"required": [],
|
|
21524
|
+
"returns": "void"
|
|
21525
|
+
},
|
|
21526
|
+
"invoke": {
|
|
21527
|
+
"description": "Invoke a Supabase Edge Function by name.",
|
|
21506
21528
|
"parameters": {
|
|
21507
|
-
"
|
|
21508
|
-
"type": "
|
|
21509
|
-
"description": "Parameter
|
|
21529
|
+
"name": {
|
|
21530
|
+
"type": "string",
|
|
21531
|
+
"description": "Parameter name"
|
|
21532
|
+
},
|
|
21533
|
+
"body": {
|
|
21534
|
+
"type": "any",
|
|
21535
|
+
"description": "Parameter body"
|
|
21510
21536
|
}
|
|
21511
21537
|
},
|
|
21512
21538
|
"required": [
|
|
21513
|
-
"
|
|
21539
|
+
"name"
|
|
21514
21540
|
],
|
|
21515
|
-
"returns": "
|
|
21541
|
+
"returns": "void"
|
|
21516
21542
|
},
|
|
21517
|
-
"
|
|
21518
|
-
"description": "
|
|
21543
|
+
"subscribe": {
|
|
21544
|
+
"description": "Subscribe to realtime changes on a Postgres table.",
|
|
21519
21545
|
"parameters": {
|
|
21520
|
-
"
|
|
21521
|
-
"type": "
|
|
21522
|
-
"description": "
|
|
21546
|
+
"channelName": {
|
|
21547
|
+
"type": "string",
|
|
21548
|
+
"description": "A name for this subscription channel"
|
|
21523
21549
|
},
|
|
21524
|
-
"
|
|
21525
|
-
"type": "
|
|
21526
|
-
"description": "
|
|
21550
|
+
"table": {
|
|
21551
|
+
"type": "string",
|
|
21552
|
+
"description": "The table to listen to"
|
|
21527
21553
|
},
|
|
21528
|
-
"
|
|
21529
|
-
"type": "
|
|
21530
|
-
"description": "
|
|
21531
|
-
|
|
21532
|
-
|
|
21533
|
-
|
|
21534
|
-
|
|
21535
|
-
},
|
|
21536
|
-
"pollInterval": {
|
|
21537
|
-
"type": "number",
|
|
21538
|
-
"description": "Polling interval in ms (default 1000)"
|
|
21539
|
-
},
|
|
21540
|
-
"inputMap": {
|
|
21541
|
-
"type": "InputMapping",
|
|
21542
|
-
"description": "Named input mapping: semantic name -> { nodeId, field }"
|
|
21543
|
-
},
|
|
21544
|
-
"outputDir": {
|
|
21545
|
-
"type": "string",
|
|
21546
|
-
"description": "If provided, output images are downloaded to this directory"
|
|
21547
|
-
}
|
|
21548
|
-
}
|
|
21554
|
+
"callback": {
|
|
21555
|
+
"type": "(payload: any) => void",
|
|
21556
|
+
"description": "Called with the payload on each change"
|
|
21557
|
+
},
|
|
21558
|
+
"event": {
|
|
21559
|
+
"type": "\"INSERT\" | \"UPDATE\" | \"DELETE\" | \"*\"",
|
|
21560
|
+
"description": "The event type to listen for (default: all changes)"
|
|
21549
21561
|
}
|
|
21550
21562
|
},
|
|
21551
21563
|
"required": [
|
|
21552
|
-
"
|
|
21564
|
+
"channelName",
|
|
21565
|
+
"table",
|
|
21566
|
+
"callback"
|
|
21553
21567
|
],
|
|
21554
|
-
"returns": "
|
|
21555
|
-
}
|
|
21556
|
-
},
|
|
21557
|
-
"getters": {
|
|
21558
|
-
"clientId": {
|
|
21559
|
-
"description": "The unique client ID used for WebSocket session tracking.",
|
|
21560
|
-
"returns": "string"
|
|
21561
|
-
},
|
|
21562
|
-
"wsURL": {
|
|
21563
|
-
"description": "The WebSocket URL derived from baseURL or overridden via options.",
|
|
21564
|
-
"returns": "string"
|
|
21565
|
-
}
|
|
21566
|
-
},
|
|
21567
|
-
"events": {
|
|
21568
|
-
"execution_start": {
|
|
21569
|
-
"name": "execution_start",
|
|
21570
|
-
"description": "Event emitted by ComfyUIClient",
|
|
21571
|
-
"arguments": {}
|
|
21568
|
+
"returns": "RealtimeChannel"
|
|
21572
21569
|
},
|
|
21573
|
-
"
|
|
21574
|
-
"
|
|
21575
|
-
"
|
|
21576
|
-
|
|
21570
|
+
"unsubscribe": {
|
|
21571
|
+
"description": "Unsubscribe and remove a realtime channel by name.",
|
|
21572
|
+
"parameters": {
|
|
21573
|
+
"channelName": {
|
|
21574
|
+
"type": "string",
|
|
21575
|
+
"description": "The channel name to remove"
|
|
21576
|
+
}
|
|
21577
|
+
},
|
|
21578
|
+
"required": [
|
|
21579
|
+
"channelName"
|
|
21580
|
+
],
|
|
21581
|
+
"returns": "void"
|
|
21577
21582
|
},
|
|
21578
|
-
"
|
|
21579
|
-
"
|
|
21580
|
-
"
|
|
21581
|
-
"
|
|
21583
|
+
"unsubscribeAll": {
|
|
21584
|
+
"description": "Unsubscribe and remove all realtime channels.",
|
|
21585
|
+
"parameters": {},
|
|
21586
|
+
"required": [],
|
|
21587
|
+
"returns": "void"
|
|
21582
21588
|
},
|
|
21583
|
-
"
|
|
21584
|
-
"
|
|
21585
|
-
"
|
|
21586
|
-
"
|
|
21589
|
+
"connect": {
|
|
21590
|
+
"description": "Connect is a no-op since the Supabase SDK initializes on construction. The client is ready to use immediately after creation.",
|
|
21591
|
+
"parameters": {},
|
|
21592
|
+
"required": [],
|
|
21593
|
+
"returns": "void"
|
|
21587
21594
|
},
|
|
21588
|
-
"
|
|
21589
|
-
"
|
|
21590
|
-
"
|
|
21591
|
-
"
|
|
21595
|
+
"disconnect": {
|
|
21596
|
+
"description": "Disconnect by signing out and removing all realtime channels.",
|
|
21597
|
+
"parameters": {},
|
|
21598
|
+
"required": [],
|
|
21599
|
+
"returns": "void"
|
|
21600
|
+
}
|
|
21601
|
+
},
|
|
21602
|
+
"getters": {
|
|
21603
|
+
"sdk": {
|
|
21604
|
+
"description": "Returns the raw Supabase SDK client for full access to all SDK methods.",
|
|
21605
|
+
"returns": "SupabaseSDKClient<any, any>"
|
|
21592
21606
|
},
|
|
21593
|
-
"
|
|
21594
|
-
"
|
|
21595
|
-
"
|
|
21596
|
-
"arguments": {}
|
|
21607
|
+
"storage": {
|
|
21608
|
+
"description": "Returns the Supabase Storage client for managing buckets and files.",
|
|
21609
|
+
"returns": "any"
|
|
21597
21610
|
},
|
|
21598
|
-
"
|
|
21599
|
-
"
|
|
21600
|
-
"
|
|
21601
|
-
"arguments": {}
|
|
21611
|
+
"functions": {
|
|
21612
|
+
"description": "Returns the Supabase Functions client.",
|
|
21613
|
+
"returns": "any"
|
|
21602
21614
|
}
|
|
21603
21615
|
},
|
|
21616
|
+
"events": {},
|
|
21604
21617
|
"state": {},
|
|
21605
21618
|
"options": {},
|
|
21606
21619
|
"envVars": [],
|
|
21607
21620
|
"examples": [
|
|
21608
21621
|
{
|
|
21609
21622
|
"language": "ts",
|
|
21610
|
-
"code": "const
|
|
21623
|
+
"code": "const supabase = container.client('supabase', {\n supabaseUrl: 'https://xyz.supabase.co',\n supabaseKey: 'your-anon-key',\n})\n\n// Query data\nconst { data } = await supabase.from('users').select('*')\n\n// Auth\nawait supabase.signInWithPassword('user@example.com', 'password')\n\n// Realtime\nsupabase.subscribe('changes', 'users', (payload) => {\n console.log('Change:', payload)\n})"
|
|
21611
21624
|
}
|
|
21612
21625
|
]
|
|
21613
21626
|
},
|
|
@@ -21830,6 +21843,19 @@ export const introspectionData = [
|
|
|
21830
21843
|
],
|
|
21831
21844
|
"returns": "Promise<this>"
|
|
21832
21845
|
},
|
|
21846
|
+
"useEndpointModules": {
|
|
21847
|
+
"description": "",
|
|
21848
|
+
"parameters": {
|
|
21849
|
+
"modules": {
|
|
21850
|
+
"type": "EndpointModule[]",
|
|
21851
|
+
"description": "Parameter modules"
|
|
21852
|
+
}
|
|
21853
|
+
},
|
|
21854
|
+
"required": [
|
|
21855
|
+
"modules"
|
|
21856
|
+
],
|
|
21857
|
+
"returns": "Promise<this>"
|
|
21858
|
+
},
|
|
21833
21859
|
"serveOpenAPISpec": {
|
|
21834
21860
|
"description": "",
|
|
21835
21861
|
"parameters": {
|