chore: fix lint and typecheck errors
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 3m15s
Some checks failed
🚀 Lint & Test & Deploy / release (pull_request) Failing after 3m15s
This commit is contained in:
@@ -209,7 +209,6 @@
|
||||
<NodeEl
|
||||
{node}
|
||||
inView={graphState.isNodeInView(node)}
|
||||
z={graphState.cameraPosition[2]}
|
||||
/>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
@@ -34,7 +34,7 @@ export function getSocketPosition(
|
||||
];
|
||||
} else {
|
||||
let height = 5;
|
||||
let nodeType = node.state.type!;
|
||||
const nodeType = node.state.type!;
|
||||
const inputs = nodeType.inputs || {};
|
||||
for (const inputKey in inputs) {
|
||||
const h = getParameterHeight(nodeType, inputKey) / 10;
|
||||
|
||||
@@ -91,7 +91,8 @@ export const NodeInputPathSchema = z.object({
|
||||
|
||||
export const NodeInputAnySchema = z.object({
|
||||
...DefaultOptionsSchema.shape,
|
||||
type: z.literal('*')
|
||||
type: z.literal('*'),
|
||||
value: z.any().optional()
|
||||
});
|
||||
|
||||
export const NodeInputSchema = z.union([
|
||||
|
||||
Reference in New Issue
Block a user