Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1290 fix strict mode warnings in console #1295

Merged
merged 2 commits into from
Mar 3, 2022
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
13 changes: 7 additions & 6 deletions packages/ketcher-core/src/domain/serializers/ket/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@
"type": "array",
"minItems": 2,
"maxItems": 2,
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 0,
"uniqueItems": true
"minimum": 0
}
},
"stereo": {
Expand Down Expand Up @@ -339,10 +339,10 @@
},
"items": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 0,
"uniqueItems": true
"minimum": 0
}
}
}
Expand All @@ -357,10 +357,10 @@
},
"items": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "integer",
"minimum": 0,
"uniqueItems": true
"minimum": 0
}
}
}
Expand All @@ -372,6 +372,7 @@
"type": "array",
"items": {
"required": ["atoms", "type"],
"type": "object",
"properties": {
"atoms": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const labelEdit = {
label: {
title: 'Atom',
default: '',
type: 'string',
invalidMessage: 'Wrong atom symbol'
}
}
Expand Down Expand Up @@ -217,6 +218,7 @@ const sgroup = {
{
key: 'GEN',
title: 'Generic',
type: 'object',
properties: {
type: { enum: ['GEN'] }
}
Expand All @@ -241,6 +243,7 @@ const sgroup = {
{
key: 'SRU',
title: 'SRU polymer',
type: 'object',
properties: {
type: { enum: ['SRU'] },
subscript: {
Expand Down