Skip to content

Commit

Permalink
To lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Mar 28, 2024
1 parent 7d80c68 commit 8829da3
Show file tree
Hide file tree
Showing 96 changed files with 68 additions and 68 deletions.
7 changes: 0 additions & 7 deletions src/General/index.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/Minecraft/Components/index.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/Minecraft/Json/index.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/Minecraft/Selector/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions src/Minecraft/index.ts

This file was deleted.

File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions src/general/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Auto generated */

export * from "./boolean";
export * from "./float";
export * from "./integer";
export * from "./json";
export * from "./string";
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./Modes/Modes";
export * as Types from "./Types/";
export * as General from "./General/";
export * from "./modes/Modes";
export * as Types from "./types";
export * as General from "./general";
export * as Minecraft from "./Minecraft/";
8 changes: 4 additions & 4 deletions src/Minecraft/Block.ts → src/minecraft/block.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Documentated } from "../Types/Documentated";
import { Identifiable } from "../Types/Identifiable";
import { Locatable } from "../Types/Locatable";
import { Location } from "../Types/Location";
import { Documentated } from "../types/Documentated";
import { Identifiable } from "../types/Identifiable";
import { Locatable } from "../types/Locatable";
import { Location } from "../types/Location";

/**TODO add documentation
*
Expand Down
4 changes: 4 additions & 0 deletions src/minecraft/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Auto generated */

export * from "./interfaces";
export * from "./used";
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentBehavior } from "./Interfaces";
import { ComponentBehavior } from "./interfaces";

/**
* Returns all the used components in the given data
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/minecraft/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Auto generated */
export * as Components from "./components/index";
export * as Filter from "./filter/index";
export * as Json from "./json/index";
export * as Selector from "./selector/index";
export * from "./block";
export * from "./coordinate";
export * from "./xp";
export * from "./format-version";
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { OffsetWord } from "../../Types";
import { findCommaOrEnd, trimBraces, trimWithOffset } from "./Grammar";
import { OffsetWord } from "../../types";
import { findCommaOrEnd, trimBraces, trimWithOffset } from "./grammar";

/**
* Namespace that governs minecraft "compact json"
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions src/minecraft/json/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* Auto generated */

export * from "./compact";
export * from "./grammar";
export * from "./reader";
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CompactJson } from "./Compact";
import { CompactJson } from "./compact";

export class CompactJsonReader<T extends CompactJson.IBase> {
protected _data: T;
Expand Down
4 changes: 4 additions & 0 deletions src/minecraft/selector/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Auto generated */

export * from "./selector";
export * from "./selector-types";
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { off } from "process";
import { String } from "../../General";
import { Modes } from "../../Modes/Modes";
import { OffsetWord } from "../../Types";
import { CompactJson } from "../Json/Compact";
import { CompactJsonReader } from "../Json/Reader";
import { SelectorType } from "./SelectorTypes";
import { String } from "../../general";
import { Modes } from "../../modes/Modes";
import { OffsetWord } from "../../types";
import { CompactJson } from "../json/compact";
import { CompactJsonReader } from "../json/reader";
import { SelectorType } from "./selector-types";

/**
* The class that represents a selector.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/General/Boolean.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Boolean } from "../../src/General/Boolean";
import { Boolean } from "../../src/general/Boolean";

describe("Boolean", () => {
it("is", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/General/Float.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Float } from "../../src/General/Float";
import { Float } from "../../src/general/Float";

describe("Float", () => {
const valid = ["0.2", "-0.2", "-.2", ".2", "123456.987654", "-123456.987654", "-.987654", ".987654"];
Expand Down
2 changes: 1 addition & 1 deletion test/General/Integer.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Integer } from "../../src/General/Integer";
import { Integer } from "../../src/general/Integer";

describe("Integer", () => {
const valid = ["-123456", "123456"];
Expand Down
2 changes: 1 addition & 1 deletion test/General/Json.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Json } from "../../src/General/Json";
import { Json } from "../../src/general/Json";

describe("Json", () => {
const isObject = ['{"rawtext":[{"text":"example"}]}', '{"rawtext":[{"text":"example}]}'];
Expand Down
2 changes: 1 addition & 1 deletion test/General/String.Test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { String } from "../../src/General/String";
import { String } from "../../src/general/String";

describe("String", () => {
const valid = ["foo", "bar", '"im valid now"'];
Expand Down
4 changes: 2 additions & 2 deletions test/Minecraft/Block.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from "chai";
import { BlockState, Block } from "../../src/Minecraft/Block";
import { Location } from "../../src/Types/Location";
import { BlockState, Block } from "../../src/minecraft/block";
import { Location } from "../../src/types/Location";

const blockDescription: string = "minecraft:log[direction=west,stripped=true,half=top]";
const blockID = "minecraft:log";
Expand Down
2 changes: 1 addition & 1 deletion test/Minecraft/Coordinate.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Coordinate } from "../../src/Minecraft/Coordinate";
import { Coordinate } from "../../src/minecraft/coordinate";

describe("Coordinates", () => {
const valid = [
Expand Down
4 changes: 2 additions & 2 deletions test/Minecraft/Json/Compact.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from "chai";
import { CompactJsonReader } from "../../../src/Minecraft/Json";
import { CompactJson } from "../../../src/Minecraft/Json/Compact";
import { CompactJsonReader } from "../../../src/minecraft/json";
import { CompactJson } from "../../../src/minecraft/json/compact";

interface TestData {
text: string;
Expand Down
4 changes: 2 additions & 2 deletions test/Minecraft/Selector/Parse.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from "chai";
import { CompactJson } from '../../../src/Minecraft/Json';
import { Selector } from "../../../src/Minecraft/Selector";
import { CompactJson } from '../../../src/minecraft/json';
import { Selector } from "../../../src/minecraft/selector";

interface TestData {
selector: string;
Expand Down
2 changes: 1 addition & 1 deletion test/Minecraft/Selector/Selector.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Selector } from "../../../src/Minecraft/Selector";
import { Selector } from "../../../src/minecraft/selector";

describe("Selector", () => {
describe("Types", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/Minecraft/Xp.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { XP } from "../../src/Minecraft/Xp";
import { XP } from "../../src/minecraft/xp";

describe("XP", () => {
const valid = ["13", "1000", "-1000", "13L", "1000L", "-1000L"];
Expand Down
4 changes: 2 additions & 2 deletions test/Modes/Mode.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from "chai";
import { Json } from "../../src/General/Json";
import { Json } from "../../src/general/Json";
import { Modes } from "../../src/main";
import { Mode, ModeCollection } from "../../src/Modes/ModeCollection";
import { Mode, ModeCollection } from "../../src/modes/ModeCollection";

describe("Mode", () => {
let M = [
Expand Down
2 changes: 1 addition & 1 deletion test/Types/Conditional.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Conditional } from "../../src/Types";
import { Conditional } from "../../src/types";

describe("Conditional", () => {
it("getId", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/Types/Definition.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Definition } from "../../src/Types";
import { Definition } from "../../src/types";

describe("Definition", () => {
it("getId", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/Types/DocumentLocation.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { DocumentLocation, Position } from "../../src/Types";
import { DocumentLocation, Position } from "../../src/types";

const jsonData = `{
"format_version": "1.17.0",
Expand Down
2 changes: 1 addition & 1 deletion test/Types/JsonPath.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { JsonPath } from "../../src/Types/JsonPath";
import { JsonPath } from "../../src/types/JsonPath";

const jsonData = `{
"format_version": "1.17.0",
Expand Down
2 changes: 1 addition & 1 deletion test/Types/Position.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "chai";
import { Position } from "../../src/Types";
import { Position } from "../../src/types";

const jsonData = `{
"format_version": "1.17.0",
Expand Down
2 changes: 1 addition & 1 deletion test/Types/Version.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'chai';
import { Version } from '../../src/Types/Version';
import { Version } from '../../src/types/Version';

describe("Version", () => {
it("parse", () => {
Expand Down

0 comments on commit 8829da3

Please sign in to comment.