@shell-shock/preset-script 0.6.28 → 0.6.29
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/README.md +1 -1
- package/dist/components/bin-entry.cjs +4 -4
- package/dist/components/bin-entry.mjs +3 -3
- package/dist/components/command-entry.cjs +5 -5
- package/dist/components/command-entry.d.mts +1 -1
- package/dist/components/command-entry.mjs +4 -4
- package/dist/components/command-router.cjs +1 -1
- package/dist/components/command-router.mjs +1 -1
- package/dist/components/exit-function-declaration.cjs +1 -1
- package/dist/components/exit-function-declaration.mjs +1 -1
- package/dist/components/virtual-command-entry.cjs +3 -3
- package/dist/components/virtual-command-entry.mjs +3 -3
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/dist/types/plugin.d.cts +6 -5
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +7 -6
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +12 -10
- package/dist/plugin-help/dist/components/display.cjs +0 -274
- package/dist/plugin-help/dist/components/display.cjs.map +0 -1
- package/dist/plugin-help/dist/components/display.mjs +0 -268
- package/dist/plugin-help/dist/components/display.mjs.map +0 -1
- package/dist/plugin-help/dist/components/help-builtin.cjs +0 -86
- package/dist/plugin-help/dist/components/help-builtin.cjs.map +0 -1
- package/dist/plugin-help/dist/components/help-builtin.mjs +0 -84
- package/dist/plugin-help/dist/components/help-builtin.mjs.map +0 -1
- package/dist/plugin-help/dist/components/help-command.cjs +0 -97
- package/dist/plugin-help/dist/components/help-command.cjs.map +0 -1
- package/dist/plugin-help/dist/components/help-command.mjs +0 -96
- package/dist/plugin-help/dist/components/help-command.mjs.map +0 -1
- package/dist/plugin-help/dist/components/index.cjs +0 -3
- package/dist/plugin-help/dist/components/index.mjs +0 -5
- package/dist/plugin-help/dist/index.cjs +0 -104
- package/dist/plugin-help/dist/index.cjs.map +0 -1
- package/dist/plugin-help/dist/index.d.cts +0 -2
- package/dist/plugin-help/dist/index.d.mts +0 -2
- package/dist/plugin-help/dist/index.mjs +0 -100
- package/dist/plugin-help/dist/index.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/constant-case.cjs +0 -18
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/constant-case.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/constant-case.mjs +0 -17
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/constant-case.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/get-words.cjs +0 -39
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/get-words.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/get-words.mjs +0 -38
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/get-words.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/kebab-case.cjs +0 -34
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/kebab-case.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/kebab-case.mjs +0 -34
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/kebab-case.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/snake-case.cjs +0 -41
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/snake-case.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/snake-case.mjs +0 -41
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/snake-case.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/upper-case-first.cjs +0 -18
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/upper-case-first.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/upper-case-first.mjs +0 -17
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_string-format@0.17.6/node_modules/@stryke/string-format/dist/upper-case-first.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-empty.cjs +0 -21
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-empty.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-empty.mjs +0 -21
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-empty.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-null.cjs +0 -13
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-null.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-null.mjs +0 -12
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-null.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.cjs +0 -21
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.mjs +0 -21
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.cjs +0 -20
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs +0 -20
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.cjs +0 -13
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs +0 -12
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.cjs +0 -9
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.cjs.map +0 -1
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs +0 -8
- package/dist/plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs.map +0 -1
- package/dist/plugin-help/dist/types/plugin.d.cts +0 -62
- package/dist/plugin-help/dist/types/plugin.d.cts.map +0 -1
- package/dist/plugin-help/dist/types/plugin.d.mts +0 -62
- package/dist/plugin-help/dist/types/plugin.d.mts.map +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { isString } from "./is-string.mjs";
|
|
2
|
-
import { isSet } from "./is-set.mjs";
|
|
3
|
-
|
|
4
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.mjs
|
|
5
|
-
/**
|
|
6
|
-
* Determine if the type is string and is not empty (length greater than zero)
|
|
7
|
-
*
|
|
8
|
-
* @param value - The value to type check
|
|
9
|
-
* @returns An indicator specifying if the value provided is of type `string` and length greater than zero
|
|
10
|
-
*/
|
|
11
|
-
const isSetString = (value) => {
|
|
12
|
-
try {
|
|
13
|
-
return isSet(value) && isString(value) && value.length > 0;
|
|
14
|
-
} catch {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { isSetString };
|
|
21
|
-
//# sourceMappingURL=is-set-string.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set-string.mjs","names":[],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.mjs"],"sourcesContent":["import { isString } from \"./is-string.mjs\";\nimport { isSet } from \"./is-set.mjs\";\n\n//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set-string.mjs\n/**\n* Determine if the type is string and is not empty (length greater than zero)\n*\n* @param value - The value to type check\n* @returns An indicator specifying if the value provided is of type `string` and length greater than zero\n*/\nconst isSetString = (value) => {\n\ttry {\n\t\treturn isSet(value) && isString(value) && value.length > 0;\n\t} catch {\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { isSetString };\n//# sourceMappingURL=is-set-string.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AAUA,MAAM,eAAe,UAAU;AAC9B,KAAI;AACH,SAAO,MAAM,MAAM,IAAI,SAAS,MAAM,IAAI,MAAM,SAAS;SAClD;AACP,SAAO"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const require_is_empty = require('./is-empty.cjs');
|
|
2
|
-
|
|
3
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs
|
|
4
|
-
/**
|
|
5
|
-
* The inverse of the `isEmpty` function
|
|
6
|
-
*
|
|
7
|
-
* @param value - The value to type check
|
|
8
|
-
* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
|
|
9
|
-
*/
|
|
10
|
-
const isSet = (value) => {
|
|
11
|
-
try {
|
|
12
|
-
return !require_is_empty.isEmpty(value);
|
|
13
|
-
} catch {
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
exports.isSet = isSet;
|
|
20
|
-
//# sourceMappingURL=is-set.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set.cjs","names":["isEmpty"],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs"],"sourcesContent":["import { isEmpty } from \"./is-empty.mjs\";\n\n//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs\n/**\n* The inverse of the `isEmpty` function\n*\n* @param value - The value to type check\n* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`\n*/\nconst isSet = (value) => {\n\ttry {\n\t\treturn !isEmpty(value);\n\t} catch {\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { isSet };\n//# sourceMappingURL=is-set.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AASA,MAAM,SAAS,UAAU;AACxB,KAAI;AACH,SAAO,CAACA,yBAAQ,MAAM;SACf;AACP,SAAO"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { isEmpty } from "./is-empty.mjs";
|
|
2
|
-
|
|
3
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs
|
|
4
|
-
/**
|
|
5
|
-
* The inverse of the `isEmpty` function
|
|
6
|
-
*
|
|
7
|
-
* @param value - The value to type check
|
|
8
|
-
* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`
|
|
9
|
-
*/
|
|
10
|
-
const isSet = (value) => {
|
|
11
|
-
try {
|
|
12
|
-
return !isEmpty(value);
|
|
13
|
-
} catch {
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export { isSet };
|
|
20
|
-
//# sourceMappingURL=is-set.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-set.mjs","names":[],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs"],"sourcesContent":["import { isEmpty } from \"./is-empty.mjs\";\n\n//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-set.mjs\n/**\n* The inverse of the `isEmpty` function\n*\n* @param value - The value to type check\n* @returns An indicator specifying if the value provided is **NOT** of type `null` or `undefined`\n*/\nconst isSet = (value) => {\n\ttry {\n\t\treturn !isEmpty(value);\n\t} catch {\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { isSet };\n//# sourceMappingURL=is-set.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;AASA,MAAM,SAAS,UAAU;AACxB,KAAI;AACH,SAAO,CAAC,QAAQ,MAAM;SACf;AACP,SAAO"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs
|
|
3
|
-
const isString = (value) => {
|
|
4
|
-
try {
|
|
5
|
-
return typeof value === "string";
|
|
6
|
-
} catch {
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
exports.isString = isString;
|
|
13
|
-
//# sourceMappingURL=is-string.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-string.cjs","names":[],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs"],"sourcesContent":["//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs\nconst isString = (value) => {\n\ttry {\n\t\treturn typeof value === \"string\";\n\t} catch {\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { isString };\n//# sourceMappingURL=is-string.mjs.map"],"x_google_ignoreList":[0],"mappings":";;AACA,MAAM,YAAY,UAAU;AAC3B,KAAI;AACH,SAAO,OAAO,UAAU;SACjB;AACP,SAAO"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs
|
|
2
|
-
const isString = (value) => {
|
|
3
|
-
try {
|
|
4
|
-
return typeof value === "string";
|
|
5
|
-
} catch {
|
|
6
|
-
return false;
|
|
7
|
-
}
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { isString };
|
|
12
|
-
//# sourceMappingURL=is-string.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-string.mjs","names":[],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs"],"sourcesContent":["//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-string.mjs\nconst isString = (value) => {\n\ttry {\n\t\treturn typeof value === \"string\";\n\t} catch {\n\t\treturn false;\n\t}\n};\n\n//#endregion\nexport { isString };\n//# sourceMappingURL=is-string.mjs.map"],"x_google_ignoreList":[0],"mappings":";AACA,MAAM,YAAY,UAAU;AAC3B,KAAI;AACH,SAAO,OAAO,UAAU;SACjB;AACP,SAAO"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs
|
|
3
|
-
const isUndefined = (value) => {
|
|
4
|
-
return value === void 0;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
//#endregion
|
|
8
|
-
exports.isUndefined = isUndefined;
|
|
9
|
-
//# sourceMappingURL=is-undefined.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-undefined.cjs","names":[],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs"],"sourcesContent":["//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs\nconst isUndefined = (value) => {\n\treturn value === void 0;\n};\n\n//#endregion\nexport { isUndefined };\n//# sourceMappingURL=is-undefined.mjs.map"],"x_google_ignoreList":[0],"mappings":";;AACA,MAAM,eAAe,UAAU;AAC9B,QAAO,UAAU,KAAK"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region ../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs
|
|
2
|
-
const isUndefined = (value) => {
|
|
3
|
-
return value === void 0;
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
//#endregion
|
|
7
|
-
export { isUndefined };
|
|
8
|
-
//# sourceMappingURL=is-undefined.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-undefined.mjs","names":[],"sources":["../../../../../../../../../../../plugin-help/dist/node_modules/.pnpm/@stryke_type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs"],"sourcesContent":["//#region ../../node_modules/.pnpm/@stryke+type-checks@0.5.41/node_modules/@stryke/type-checks/dist/is-undefined.mjs\nconst isUndefined = (value) => {\n\treturn value === void 0;\n};\n\n//#endregion\nexport { isUndefined };\n//# sourceMappingURL=is-undefined.mjs.map"],"x_google_ignoreList":[0],"mappings":";AACA,MAAM,eAAe,UAAU;AAC9B,QAAO,UAAU,KAAK"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ResolvedConfig, UserConfig } from "@shell-shock/core";
|
|
2
|
-
import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
|
|
3
|
-
import { Context as Context$1 } from "@shell-shock/core/types/context";
|
|
4
|
-
import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
|
|
5
|
-
|
|
6
|
-
//#region ../plugin-help/dist/types/plugin.d.cts
|
|
7
|
-
//#region src/types/plugin.d.ts
|
|
8
|
-
interface HelpPluginOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Should the plugin automatically add built-in help entries for all commands in the application?
|
|
11
|
-
*
|
|
12
|
-
* @defaultValue true
|
|
13
|
-
*/
|
|
14
|
-
builtins?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Should the plugin add the `help` command?
|
|
17
|
-
*
|
|
18
|
-
* @remarks
|
|
19
|
-
* This can be set to a string to specify a custom command name for the `help` command. By default, the command name will be `"help"`.
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue true
|
|
22
|
-
*/
|
|
23
|
-
command?: boolean | string;
|
|
24
|
-
/**
|
|
25
|
-
* Theme plugin options.
|
|
26
|
-
*/
|
|
27
|
-
theme?: ThemePluginOptions;
|
|
28
|
-
/**
|
|
29
|
-
* Console plugin options.
|
|
30
|
-
*/
|
|
31
|
-
console?: ConsolePluginOptions;
|
|
32
|
-
}
|
|
33
|
-
type HelpPluginUserConfig = ThemePluginUserConfig & ConsolePluginUserConfig & UserConfig & {
|
|
34
|
-
/**
|
|
35
|
-
* Resolved help configuration for the plugin.
|
|
36
|
-
*/
|
|
37
|
-
help: Omit<HelpPluginOptions, "theme" | "console" | "command"> & {
|
|
38
|
-
/**
|
|
39
|
-
* The name of the help command to add to the application, or `false` to disable adding a help command.
|
|
40
|
-
*
|
|
41
|
-
* @defaultValue "help"
|
|
42
|
-
*/
|
|
43
|
-
command: string | false;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
type HelpPluginResolvedConfig = ThemePluginResolvedConfig & ConsolePluginResolvedConfig & ResolvedConfig & {
|
|
47
|
-
/**
|
|
48
|
-
* Resolved help configuration for the plugin.
|
|
49
|
-
*/
|
|
50
|
-
help: Required<Omit<HelpPluginOptions, "theme" | "console" | "command">> & {
|
|
51
|
-
/**
|
|
52
|
-
* The name of the help command to add to the application, or `false` to disable adding a help command.
|
|
53
|
-
*
|
|
54
|
-
* @defaultValue "help"
|
|
55
|
-
*/
|
|
56
|
-
command: string | false;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
type HelpPluginContext<TResolvedConfig extends HelpPluginResolvedConfig = HelpPluginResolvedConfig> = ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & Context$1<TResolvedConfig>; //#endregion
|
|
60
|
-
//#endregion
|
|
61
|
-
export { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig };
|
|
62
|
-
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":["ResolvedConfig","UserConfig","Context","ConsolePluginContext","ConsolePluginOptions","ConsolePluginResolvedConfig","ConsolePluginUserConfig","ThemePluginContext","ThemePluginOptions","ThemePluginResolvedConfig","ThemePluginUserConfig","HelpPluginOptions","builtins","command","theme","console","HelpPluginUserConfig","Omit","help","HelpPluginResolvedConfig","Required","HelpPluginContext","TResolvedConfig"],"sources":["../../../../../plugin-help/dist/types/plugin.d.cts"],"mappings":";;;;;;;UAMUW,iBAAAA;EAAiB;;;;;EAMzBC,QAAAA;EAaQJ;;;;;AAIsB;;;EAR9BK,OAAAA;EAUkDP;;;EANlDQ,KAAAA,GAAQN,kBAAAA;EAUE;;;EANVO,OAAAA,GAAUX,oBAAAA;AAAAA;AAAAA,KAEPY,oBAAAA,GAAuBN,qBAAAA,GAAwBJ,uBAAAA,GAA0BL,UAAAA;EAItEgB;;;EAANC,IAAAA,EAAMD,IAAAA,CAAKN,iBAAAA;IAMF;AAAA;;;;IAAPE,OAAAA;EAAAA;AAAAA;AAAAA,KAGCM,wBAAAA,GAA2BV,yBAAAA,GAA4BJ,2BAAAA,GAA8BL,cAAAA;EAIlFoB;;;EAANF,IAAAA,EAAME,QAAAA,CAASH,IAAAA,CAAKN,iBAAAA;IAJsCN;;;;;IAUxDQ,OAAAA;EAAAA;AAAAA;AAAAA,KAGCQ,iBAAAA,yBAA0CF,wBAAAA,GAA2BA,wBAAAA,IAA4BZ,kBAAAA,CAAmBe,eAAAA,IAAmBnB,oBAAAA,CAAqBmB,eAAAA,IAAmBpB,SAAAA,CAAQoB,eAAAA"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ConsolePluginContext, ConsolePluginOptions, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
|
|
2
|
-
import { ResolvedConfig, UserConfig } from "@shell-shock/core";
|
|
3
|
-
import { ThemePluginContext, ThemePluginOptions, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme";
|
|
4
|
-
import { Context as Context$1 } from "@shell-shock/core/types/context";
|
|
5
|
-
|
|
6
|
-
//#region ../plugin-help/dist/types/plugin.d.cts
|
|
7
|
-
//#region src/types/plugin.d.ts
|
|
8
|
-
interface HelpPluginOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Should the plugin automatically add built-in help entries for all commands in the application?
|
|
11
|
-
*
|
|
12
|
-
* @defaultValue true
|
|
13
|
-
*/
|
|
14
|
-
builtins?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Should the plugin add the `help` command?
|
|
17
|
-
*
|
|
18
|
-
* @remarks
|
|
19
|
-
* This can be set to a string to specify a custom command name for the `help` command. By default, the command name will be `"help"`.
|
|
20
|
-
*
|
|
21
|
-
* @defaultValue true
|
|
22
|
-
*/
|
|
23
|
-
command?: boolean | string;
|
|
24
|
-
/**
|
|
25
|
-
* Theme plugin options.
|
|
26
|
-
*/
|
|
27
|
-
theme?: ThemePluginOptions;
|
|
28
|
-
/**
|
|
29
|
-
* Console plugin options.
|
|
30
|
-
*/
|
|
31
|
-
console?: ConsolePluginOptions;
|
|
32
|
-
}
|
|
33
|
-
type HelpPluginUserConfig = ThemePluginUserConfig & ConsolePluginUserConfig & UserConfig & {
|
|
34
|
-
/**
|
|
35
|
-
* Resolved help configuration for the plugin.
|
|
36
|
-
*/
|
|
37
|
-
help: Omit<HelpPluginOptions, "theme" | "console" | "command"> & {
|
|
38
|
-
/**
|
|
39
|
-
* The name of the help command to add to the application, or `false` to disable adding a help command.
|
|
40
|
-
*
|
|
41
|
-
* @defaultValue "help"
|
|
42
|
-
*/
|
|
43
|
-
command: string | false;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
type HelpPluginResolvedConfig = ThemePluginResolvedConfig & ConsolePluginResolvedConfig & ResolvedConfig & {
|
|
47
|
-
/**
|
|
48
|
-
* Resolved help configuration for the plugin.
|
|
49
|
-
*/
|
|
50
|
-
help: Required<Omit<HelpPluginOptions, "theme" | "console" | "command">> & {
|
|
51
|
-
/**
|
|
52
|
-
* The name of the help command to add to the application, or `false` to disable adding a help command.
|
|
53
|
-
*
|
|
54
|
-
* @defaultValue "help"
|
|
55
|
-
*/
|
|
56
|
-
command: string | false;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
type HelpPluginContext<TResolvedConfig extends HelpPluginResolvedConfig = HelpPluginResolvedConfig> = ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & Context$1<TResolvedConfig>; //#endregion
|
|
60
|
-
//#endregion
|
|
61
|
-
export { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig };
|
|
62
|
-
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":["ResolvedConfig","UserConfig","Context","ConsolePluginContext","ConsolePluginOptions","ConsolePluginResolvedConfig","ConsolePluginUserConfig","ThemePluginContext","ThemePluginOptions","ThemePluginResolvedConfig","ThemePluginUserConfig","HelpPluginOptions","builtins","command","theme","console","HelpPluginUserConfig","Omit","help","HelpPluginResolvedConfig","Required","HelpPluginContext","TResolvedConfig"],"sources":["../../../../../plugin-help/dist/types/plugin.d.cts"],"mappings":";;;;;;;UAMUW,iBAAAA;EAAiB;;;;;EAMzBC,QAAAA;EAaQJ;;;;;AAIsB;;;EAR9BK,OAAAA;EAUkDP;;;EANlDQ,KAAAA,GAAQN,kBAAAA;EAUE;;;EANVO,OAAAA,GAAUX,oBAAAA;AAAAA;AAAAA,KAEPY,oBAAAA,GAAuBN,qBAAAA,GAAwBJ,uBAAAA,GAA0BL,UAAAA;EAItEgB;;;EAANC,IAAAA,EAAMD,IAAAA,CAAKN,iBAAAA;IAMF;AAAA;;;;IAAPE,OAAAA;EAAAA;AAAAA;AAAAA,KAGCM,wBAAAA,GAA2BV,yBAAAA,GAA4BJ,2BAAAA,GAA8BL,cAAAA;EAIlFoB;;;EAANF,IAAAA,EAAME,QAAAA,CAASH,IAAAA,CAAKN,iBAAAA;IAJsCN;;;;;IAUxDQ,OAAAA;EAAAA;AAAAA;AAAAA,KAGCQ,iBAAAA,yBAA0CF,wBAAAA,GAA2BA,wBAAAA,IAA4BZ,kBAAAA,CAAmBe,eAAAA,IAAmBnB,oBAAAA,CAAqBmB,eAAAA,IAAmBpB,SAAAA,CAAQoB,eAAAA"}
|