Skip to content

Commit 7bb23fd

Browse files
committed
chore: main -> base in schemas (part 2)
1 parent 0777cda commit 7bb23fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/schemas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { JSONSchemasInterface } from "../JSONSchemasInterface";
22

3-
export const mainSchemas = {
3+
export const baseSchemas = {
44
Material: "material",
55
Entity: "system-entity",
66
BankMaterial: "material",
@@ -75,7 +75,7 @@ export const mixSchemas = {
7575
};
7676

7777
export function getSchemaByClassName(className) {
78-
return mainSchemas[className] ? JSONSchemasInterface.schemaById(mainSchemas[className]) : null;
78+
return baseSchemas[className] ? JSONSchemasInterface.schemaById(baseSchemas[className]) : null;
7979
}
8080

8181
export function getMixSchemasByClassName(className) {

0 commit comments

Comments
 (0)