Skip to content

Commit 32a9183

Browse files
author
Oleksii Husakov
committed
chore: update esse
2 parents 18d39a7 + e8704bf commit 32a9183

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@babel/preset-react": "7.16.7",
5757
"@babel/register": "^7.16.0",
5858
"@babel/runtime-corejs3": "7.16.8",
59-
"@exabyte-io/esse.js": "^2023.10.31-0",
59+
"@exabyte-io/esse.js": "2023.10.31-0",
6060
"@types/chai": "^4.3.5",
6161
"@types/crypto-js": "^4.1.1",
6262
"@types/js-yaml": "^4.0.5",

src/utils/schemas.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ interface Node {
2727
value: string;
2828
name: string;
2929
};
30-
staticOptions: Parameter[];
30+
staticOptions?: Parameter[];
3131
children?: Node[];
32+
[otherKey: string]: unknown;
3233
}
3334

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

0 commit comments

Comments
 (0)