Skip to content

Commit

Permalink
chore: has_consistency_check
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed Nov 26, 2024
1 parent 4f4cf50 commit fd565f4
Show file tree
Hide file tree
Showing 31 changed files with 5,670 additions and 3,022 deletions.
100 changes: 87 additions & 13 deletions dist/js/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2907,6 +2907,52 @@ export interface DefaultableInMemoryEntitySchema {
*/
isDefault?: boolean;
}
/** Schema dist/js/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json */
/**
* The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.
*/
export interface HasConsistencyCheckHasMetadataNamedDefaultableInMemoryEntitySchema {
/**
* entity identity
*/
_id?: string;
/**
* entity slug
*/
slug?: string;
systemName?: string;
consistencyChecks?: {
/**
* Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
*/
key: string;
/**
* Name of the consistency check that is performed, which is listed in an enum.
*/
name: "default" | "atomsTooClose" | "atomsOverlap";
/**
* Severity level of the problem, which is used in UI to differentiate.
*/
severity: "info" | "warning" | "error";
/**
* Message generated by the consistency check describing the problem.
*/
message: string;
}[];
/**
* entity's schema version. Used to distinct between different schemas.
*/
schemaVersion?: string;
/**
* entity name
*/
name?: string;
/**
* Identifies that entity is defaultable
*/
isDefault?: boolean;
metadata?: {};
}
/** Schema dist/js/schema/in_memory_entity/named.json */
export interface NamedInMemoryEntitySchema {
/**
Expand Down Expand Up @@ -6609,6 +6655,28 @@ export interface JobSchema {
isDefault?: boolean;
metadata?: {};
}
/** Schema dist/js/schema/material/consistency_check.json */
/**
* The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.
*/
export interface MaterialConsistencyCheckSchema {
/**
* Name of the consistency check that is performed, which is listed in an enum.
*/
name: "default" | "atomsTooClose" | "atomsOverlap";
/**
* Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
*/
key: string;
/**
* Severity level of the problem, which is used in UI to differentiate.
*/
severity: "info" | "warning" | "error";
/**
* Message generated by the consistency check describing the problem.
*/
message: string;
}
/** Schema dist/js/schema/material/conventional.json */
export interface MaterialConventionalSchema {
conventional?: {};
Expand Down Expand Up @@ -6832,24 +6900,15 @@ export interface MaterialSchema {
* Whether to work in the finite molecular picture (usually with atomic orbital basis)
*/
isNonPeriodic?: boolean;
/**
* entity identity
*/
_id?: string;
/**
* entity slug
*/
slug?: string;
systemName?: string;
consistencyChecks?: {
/**
* Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
*/
key: string;
/**
* Name of the consistency check that is performed, which is listed in an enum.
*/
name: "default" | "atomsTooClose" | "atomsOverlap";
/**
* Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
*/
key: string;
/**
* Severity level of the problem, which is used in UI to differentiate.
*/
Expand All @@ -6859,6 +6918,15 @@ export interface MaterialSchema {
*/
message: string;
}[];
/**
* entity identity
*/
_id?: string;
/**
* entity slug
*/
slug?: string;
systemName?: string;
/**
* entity's schema version. Used to distinct between different schemas.
*/
Expand Down Expand Up @@ -23661,6 +23729,12 @@ export interface FileSourceSchema {
*/
hash: string;
}
/** Schema dist/js/schema/system/has_consistency_check.json */
/**
* The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.
*/
export interface HasConsistencyCheckSchema {
}
/** Schema dist/js/schema/system/history.json */
export interface HistorySchema {
history?: {
Expand Down
Loading

0 comments on commit fd565f4

Please sign in to comment.