Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@babel/preset-react": "7.16.7",
"@babel/register": "^7.16.0",
"@babel/runtime-corejs3": "7.16.8",
"@exabyte-io/esse.js": "^2023.9.29-0",
"@exabyte-io/esse.js": "^2023.10.24-0",
"@types/chai": "^4.3.5",
"@types/crypto-js": "^4.1.1",
"@types/js-yaml": "^4.0.5",
Expand Down
5 changes: 3 additions & 2 deletions src/utils/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ interface Node {
value: string;
name: string;
};
staticOptions: Parameter[];
staticOptions?: Parameter[];
children?: Node[];
[otherKey: string]: unknown;
}

/**
Expand Down Expand Up @@ -127,7 +128,7 @@ interface Props {
// Schema
schema?: JSONSchema;
// Schema id (takes precedence over `schema` when both are provided)
schemaId: string;
schemaId?: string;
// Array of nodes
nodes: Node[];
// Whether properties in main schema should be modified (add `enum` and `enumNames`)
Expand Down