feat: enhance canvas functionality with new asset node type and improved image handling
- Introduced a new "asset" node type in the canvas sidebar for better resource management. - Updated image node components to support dynamic image dimensions and improved resizing logic. - Enhanced prompt and AI image nodes to utilize reference images from asset nodes, improving integration and functionality. - Refactored canvas utilities to accommodate new asset configurations and maintain consistent media handling.
This commit is contained in:
@@ -7,6 +7,9 @@ import type { FunctionReference, FunctionArgs, FunctionReturnType } from "convex
|
||||
* Wrapper um `useQuery` der automatisch `"skip"` nutzt wenn der
|
||||
* Convex-Auth-Token noch nicht bereit ist. Verhindert "Unauthenticated"-Fehler
|
||||
* bei Queries die `requireAuth` nutzen.
|
||||
* Convex-Queries sind reaktiv: Ergebnisse werden im Client-Cache gehalten und
|
||||
* nur bei relevanten Datenänderungen aktualisiert (keine manuelle Polling-
|
||||
* Schleife, z. B. alle 3000ms, notwendig).
|
||||
*
|
||||
* Nutzt nur `isAuthenticated` (nicht `isLoading`) als Guard — wenn ein
|
||||
* `initialToken` vom SSR vorhanden ist, springt `isAuthenticated` sofort
|
||||
|
||||
Reference in New Issue
Block a user