We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0777cda commit 7bb23fdCopy full SHA for 7bb23fd
src/utils/schemas.js
@@ -1,6 +1,6 @@
1
import { JSONSchemasInterface } from "../JSONSchemasInterface";
2
3
-export const mainSchemas = {
+export const baseSchemas = {
4
Material: "material",
5
Entity: "system-entity",
6
BankMaterial: "material",
@@ -75,7 +75,7 @@ export const mixSchemas = {
75
};
76
77
export function getSchemaByClassName(className) {
78
- return mainSchemas[className] ? JSONSchemasInterface.schemaById(mainSchemas[className]) : null;
+ return baseSchemas[className] ? JSONSchemasInterface.schemaById(baseSchemas[className]) : null;
79
}
80
81
export function getMixSchemasByClassName(className) {
0 commit comments