@open-discord-bots/framework 0.2.6 → 0.2.8
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/dist/api/main.js
CHANGED
|
@@ -45,7 +45,7 @@ class ODMain {
|
|
|
45
45
|
constructor(managers, project) {
|
|
46
46
|
this.project = project;
|
|
47
47
|
this.versions = managers.versions;
|
|
48
|
-
this.versions.add(base_1.ODVersion.fromString("opendiscord:api", "
|
|
48
|
+
this.versions.add(base_1.ODVersion.fromString("opendiscord:api", "v0.2.8"));
|
|
49
49
|
this.versions.add(base_1.ODVersion.fromString("opendiscord:livestatus", "v2.0.0"));
|
|
50
50
|
this.debugfile = managers.debugfile;
|
|
51
51
|
this.console = managers.console;
|
|
@@ -33,7 +33,7 @@ export type ODProgressBarManagerIdConstraint = Record<string, ODProgressBar>;
|
|
|
33
33
|
*/
|
|
34
34
|
export declare class ODProgressBarManager<IdList extends ODProgressBarManagerIdConstraint = ODProgressBarManagerIdConstraint, RendererIdList extends ODProgressBarRendererManagerIdConstraint = ODProgressBarRendererManagerIdConstraint> extends ODManager<ODProgressBar> {
|
|
35
35
|
/**A collection of render types for progress bars. */
|
|
36
|
-
renderers: ODProgressBarRendererManager<
|
|
36
|
+
renderers: ODProgressBarRendererManager<RendererIdList>;
|
|
37
37
|
constructor(debug: ODDebugger);
|
|
38
38
|
get<ProgressBarId extends keyof ODNoGeneric<IdList>>(id: ProgressBarId): IdList[ProgressBarId];
|
|
39
39
|
get(id: ODValidId): ODProgressBar | null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-discord-bots/framework",
|
|
3
3
|
"author": "DJj123dj",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.8",
|
|
5
5
|
"description": "The core framework of the popular open-source discord bots: Open Ticket & Open Moderation.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"exports": {
|
|
30
30
|
".": "./dist/index.js",
|
|
31
31
|
"./api": "./dist/api/index.js",
|
|
32
|
-
"./utilities": "./dist/utilities/index.js"
|
|
32
|
+
"./utilities": "./dist/utilities/index.js",
|
|
33
|
+
"./cli": "./dist/cli/index.js"
|
|
33
34
|
}
|
|
34
35
|
}
|
package/src/api/main.ts
CHANGED
|
@@ -142,7 +142,7 @@ export class ODMain implements ODMainManagers {
|
|
|
142
142
|
constructor(managers:ODMainManagers,project:ODProjectType){
|
|
143
143
|
this.project = project
|
|
144
144
|
this.versions = managers.versions
|
|
145
|
-
this.versions.add(ODVersion.fromString("opendiscord:api","
|
|
145
|
+
this.versions.add(ODVersion.fromString("opendiscord:api","v0.2.8"))
|
|
146
146
|
this.versions.add(ODVersion.fromString("opendiscord:livestatus","v2.0.0"))
|
|
147
147
|
|
|
148
148
|
this.debugfile = managers.debugfile
|
|
@@ -59,7 +59,7 @@ export type ODProgressBarManagerIdConstraint = Record<string,ODProgressBar>
|
|
|
59
59
|
*/
|
|
60
60
|
export class ODProgressBarManager<IdList extends ODProgressBarManagerIdConstraint = ODProgressBarManagerIdConstraint,RendererIdList extends ODProgressBarRendererManagerIdConstraint = ODProgressBarRendererManagerIdConstraint> extends ODManager<ODProgressBar> {
|
|
61
61
|
/**A collection of render types for progress bars. */
|
|
62
|
-
renderers: ODProgressBarRendererManager<
|
|
62
|
+
renderers: ODProgressBarRendererManager<RendererIdList>
|
|
63
63
|
|
|
64
64
|
constructor(debug:ODDebugger){
|
|
65
65
|
super(debug,"progress bar")
|