Enhance canvas functionality with new node types and validation
- Added support for new canvas node types: curves, color-adjust, light-adjust, detail-adjust, and render. - Implemented validation for adjustment nodes to restrict incoming edges to one. - Updated canvas connection validation to improve user feedback on invalid connections. - Enhanced node creation and rendering logic to accommodate new node types and their properties. - Refactored related components and utilities for better maintainability and performance.
This commit is contained in:
4
convex/_generated/api.d.ts
vendored
4
convex/_generated/api.d.ts
vendored
@@ -17,10 +17,12 @@ import type * as export_ from "../export.js";
|
||||
import type * as freepik from "../freepik.js";
|
||||
import type * as helpers from "../helpers.js";
|
||||
import type * as http from "../http.js";
|
||||
import type * as node_type_validator from "../node_type_validator.js";
|
||||
import type * as nodes from "../nodes.js";
|
||||
import type * as openrouter from "../openrouter.js";
|
||||
import type * as pexels from "../pexels.js";
|
||||
import type * as polar from "../polar.js";
|
||||
import type * as presets from "../presets.js";
|
||||
import type * as storage from "../storage.js";
|
||||
import type * as users from "../users.js";
|
||||
|
||||
@@ -40,10 +42,12 @@ declare const fullApi: ApiFromModules<{
|
||||
freepik: typeof freepik;
|
||||
helpers: typeof helpers;
|
||||
http: typeof http;
|
||||
node_type_validator: typeof node_type_validator;
|
||||
nodes: typeof nodes;
|
||||
openrouter: typeof openrouter;
|
||||
pexels: typeof pexels;
|
||||
polar: typeof polar;
|
||||
presets: typeof presets;
|
||||
storage: typeof storage;
|
||||
users: typeof users;
|
||||
}>;
|
||||
|
||||
Reference in New Issue
Block a user