bc-minecraft-bedrock-project 1.7.18 → 1.7.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/Lib/Project/General/Types/GeneralInfo.js +2 -2
- package/lib/src/Lib/Project/General/Types/GeneralInfo.js.map +1 -1
- package/lib/src/Lib/Types/Pack/include.d.ts +2 -0
- package/lib/src/Lib/Types/Pack/include.js +16 -0
- package/lib/src/Lib/Types/Pack/include.js.map +1 -0
- package/lib/src/Lib/Types/Text/Text.d.ts +3 -0
- package/lib/src/Lib/Types/Text/Text.js +15 -0
- package/lib/src/Lib/Types/Text/Text.js.map +1 -0
- package/lib/src/main.d.ts +4 -2
- package/lib/src/main.js +4 -2
- package/lib/src/main.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GeneralInfo = void 0;
|
|
4
|
+
const Text_1 = require("../../../../Lib/Types/Text/Text");
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
*/
|
|
@@ -14,8 +15,7 @@ var GeneralInfo;
|
|
|
14
15
|
* @returns
|
|
15
16
|
*/
|
|
16
17
|
function create(id, location, documentation = undefined) {
|
|
17
|
-
|
|
18
|
-
id = id.substring(1, id.length - 1);
|
|
18
|
+
id = Text_1.Text.UnQuote(id);
|
|
19
19
|
return {
|
|
20
20
|
id: id,
|
|
21
21
|
location: location,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralInfo.js","sourceRoot":"","sources":["../../../../../../src/Lib/Project/General/Types/GeneralInfo.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"GeneralInfo.js","sourceRoot":"","sources":["../../../../../../src/Lib/Project/General/Types/GeneralInfo.ts"],"names":[],"mappings":";;;AACA,0DAAuD;AAOvD;;GAEG;AACH,IAAiB,WAAW,CAiB3B;AAjBD,WAAiB,WAAW;IAC1B;;;;;;OAMG;IACH,SAAgB,MAAM,CAAC,EAAU,EAAE,QAAwB,EAAE,gBAAoC,SAAS;QACxG,EAAE,GAAG,WAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAEtB,OAAO;YACL,EAAE,EAAE,EAAE;YACN,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,aAAa;SAC7B,CAAC;IACJ,CAAC;IARe,kBAAM,SAQrB,CAAA;AACH,CAAC,EAjBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAiB3B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Auto generated */
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
6
|
+
}) : (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
o[k2] = m[k];
|
|
9
|
+
}));
|
|
10
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
11
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
__exportStar(require("./Pack"), exports);
|
|
15
|
+
__exportStar(require("./PackCollection"), exports);
|
|
16
|
+
//# sourceMappingURL=include.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"include.js","sourceRoot":"","sources":["../../../../../src/Lib/Types/Pack/include.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;AAEpB,yCAAuB;AACvB,mDAAiC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Text = void 0;
|
|
4
|
+
var Text;
|
|
5
|
+
(function (Text) {
|
|
6
|
+
function UnQuote(text) {
|
|
7
|
+
if (text.includes(" ") || text.includes('\t'))
|
|
8
|
+
return text;
|
|
9
|
+
if (text.startsWith('"') && text.endsWith('"'))
|
|
10
|
+
return text.slice(1, text.length - 1);
|
|
11
|
+
return text;
|
|
12
|
+
}
|
|
13
|
+
Text.UnQuote = UnQuote;
|
|
14
|
+
})(Text = exports.Text || (exports.Text = {}));
|
|
15
|
+
//# sourceMappingURL=Text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../../src/Lib/Types/Text/Text.ts"],"names":[],"mappings":";;;AAAA,IAAiB,IAAI,CAOpB;AAPD,WAAiB,IAAI;IACnB,SAAgB,OAAO,CAAC,IAAa;QACnC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAC;QAC3D,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAEtF,OAAO,IAAI,CAAC;IACd,CAAC;IALe,YAAO,UAKtB,CAAA;AACH,CAAC,EAPgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAOpB"}
|
package/lib/src/main.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * as Internal from "./Lib/Internal/include";
|
|
2
2
|
export * from "./Lib/Project/include";
|
|
3
|
+
export * from "./Lib/Types/Container/Container";
|
|
3
4
|
export * from "./Lib/Types/DataSet/include";
|
|
5
|
+
export * from "./Lib/Types/Documentation/Documentation";
|
|
4
6
|
export * from "./Lib/Types/Json/JsonPath";
|
|
5
7
|
export * from "./Lib/Types/Map/Map";
|
|
6
|
-
export * from "./Lib/Types/
|
|
8
|
+
export * from "./Lib/Types/Pack/include";
|
|
7
9
|
export * from "./Lib/Types/ProjectContext/ProjectContext";
|
|
8
|
-
export * from "./Lib/Types/
|
|
10
|
+
export * from "./Lib/Types/Text/Text";
|
|
9
11
|
export * from "./Lib/Types/TextDocument/TextDocument";
|
package/lib/src/main.js
CHANGED
|
@@ -25,11 +25,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
25
25
|
exports.Internal = void 0;
|
|
26
26
|
exports.Internal = __importStar(require("./Lib/Internal/include"));
|
|
27
27
|
__exportStar(require("./Lib/Project/include"), exports);
|
|
28
|
+
__exportStar(require("./Lib/Types/Container/Container"), exports);
|
|
28
29
|
__exportStar(require("./Lib/Types/DataSet/include"), exports);
|
|
30
|
+
__exportStar(require("./Lib/Types/Documentation/Documentation"), exports);
|
|
29
31
|
__exportStar(require("./Lib/Types/Json/JsonPath"), exports);
|
|
30
32
|
__exportStar(require("./Lib/Types/Map/Map"), exports);
|
|
31
|
-
__exportStar(require("./Lib/Types/
|
|
33
|
+
__exportStar(require("./Lib/Types/Pack/include"), exports);
|
|
32
34
|
__exportStar(require("./Lib/Types/ProjectContext/ProjectContext"), exports);
|
|
33
|
-
__exportStar(require("./Lib/Types/
|
|
35
|
+
__exportStar(require("./Lib/Types/Text/Text"), exports);
|
|
34
36
|
__exportStar(require("./Lib/Types/TextDocument/TextDocument"), exports);
|
|
35
37
|
//# sourceMappingURL=main.js.map
|
package/lib/src/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mEAAmD;AACnD,wDAAsC;AAEtC,8DAA4C;AAC5C,4DAA0C;AAC1C,sDAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mEAAmD;AACnD,wDAAsC;AAEtC,kEAAgD;AAChD,8DAA4C;AAC5C,0EAAwD;AACxD,4DAA0C;AAC1C,sDAAoC;AACpC,2DAAyC;AACzC,4EAA0D;AAC1D,wDAAsC;AACtC,wEAAsD"}
|
package/package.json
CHANGED