@serverbench/js 1.2.4 → 1.3.1
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/{Serverbench-DUQryV8E.d.cts → Serverbench-DND0EZt-.d.cts} +2 -1
- package/dist/{Serverbench-CR18julx.d.ts → Serverbench-RY3pULSg.d.ts} +2 -1
- package/dist/Serverbench.cjs +1 -1
- package/dist/Serverbench.d.cts +8 -1
- package/dist/Serverbench.d.ts +8 -1
- package/dist/Serverbench.js +1 -1
- package/dist/chunk-42HPMZJG.js +2 -0
- package/dist/chunk-42HPMZJG.js.map +1 -0
- package/dist/chunk-D4DWOLC2.cjs +1 -0
- package/dist/chunk-D4DWOLC2.cjs.map +1 -0
- package/dist/chunk-DKGB4JPC.cjs +2 -0
- package/dist/chunk-DKGB4JPC.cjs.map +1 -0
- package/dist/{chunk-ZTRDRHGN.js → chunk-IWJCAFMQ.js} +2 -2
- package/dist/chunk-T26IOW25.js +1 -0
- package/dist/chunk-T26IOW25.js.map +1 -0
- package/dist/{chunk-RTRVDXGW.cjs → chunk-XN6ARL7Y.cjs} +2 -2
- package/dist/{chunk-RTRVDXGW.cjs.map → chunk-XN6ARL7Y.cjs.map} +1 -1
- package/dist/element/Element.d.cts +8 -1
- package/dist/element/Element.d.ts +8 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/store/Store.d.cts +8 -1
- package/dist/store/Store.d.ts +8 -1
- package/dist/voting/IListingAmountSettings.cjs +1 -0
- package/dist/voting/IListingAmountSettings.cjs.map +1 -0
- package/dist/voting/IListingAmountSettings.d.cts +6 -0
- package/dist/voting/IListingAmountSettings.d.ts +6 -0
- package/dist/voting/IListingAmountSettings.js +1 -0
- package/dist/voting/IListingAmountSettings.js.map +1 -0
- package/dist/voting/IListingDisplay.cjs +2 -0
- package/dist/voting/IListingDisplay.cjs.map +1 -0
- package/dist/voting/IListingDisplay.d.cts +22 -0
- package/dist/voting/IListingDisplay.d.ts +22 -0
- package/dist/voting/IListingDisplay.js +2 -0
- package/dist/voting/IListingDisplay.js.map +1 -0
- package/dist/voting/IListingSettings.cjs +1 -0
- package/dist/voting/IListingSettings.cjs.map +1 -0
- package/dist/voting/IListingSettings.d.cts +9 -0
- package/dist/voting/IListingSettings.d.ts +9 -0
- package/dist/voting/IListingSettings.js +1 -0
- package/dist/voting/IListingSettings.js.map +1 -0
- package/dist/voting/IListingSiteDisplay.cjs +1 -0
- package/dist/voting/IListingSiteDisplay.cjs.map +1 -0
- package/dist/voting/IListingSiteDisplay.d.cts +15 -0
- package/dist/voting/IListingSiteDisplay.d.ts +15 -0
- package/dist/voting/IListingSiteDisplay.js +1 -0
- package/dist/voting/IListingSiteDisplay.js.map +1 -0
- package/dist/voting/ISite.cjs +1 -0
- package/dist/voting/ISite.cjs.map +1 -0
- package/dist/voting/ISite.d.cts +5 -0
- package/dist/voting/ISite.d.ts +5 -0
- package/dist/voting/ISite.js +1 -0
- package/dist/voting/ISite.js.map +1 -0
- package/dist/voting/ISiteSetup.cjs +1 -0
- package/dist/voting/ISiteSetup.cjs.map +1 -0
- package/dist/voting/ISiteSetup.d.cts +8 -0
- package/dist/voting/ISiteSetup.d.ts +8 -0
- package/dist/voting/ISiteSetup.js +1 -0
- package/dist/voting/ISiteSetup.js.map +1 -0
- package/dist/voting/IVote.cjs +1 -0
- package/dist/voting/IVote.cjs.map +1 -0
- package/dist/voting/IVote.d.cts +5 -0
- package/dist/voting/IVote.d.ts +5 -0
- package/dist/voting/IVote.js +1 -0
- package/dist/voting/IVote.js.map +1 -0
- package/dist/voting/Voting.cjs +1 -1
- package/dist/voting/Voting.cjs.map +1 -1
- package/dist/voting/Voting.d.cts +8 -1
- package/dist/voting/Voting.d.ts +8 -1
- package/dist/voting/Voting.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-PFKIADMZ.cjs +0 -2
- package/dist/chunk-PFKIADMZ.cjs.map +0 -1
- package/dist/chunk-ZTEDBURE.js +0 -2
- package/dist/chunk-ZTEDBURE.js.map +0 -1
- /package/dist/{chunk-ZTRDRHGN.js.map → chunk-IWJCAFMQ.js.map} +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import IListingDisplay from './voting/IListingDisplay.cjs';
|
1
2
|
import Member from './Member.cjs';
|
2
3
|
import IDiscount from './store/IDiscount.cjs';
|
3
4
|
import ISkuPrice from './store/ISkuPrice.cjs';
|
@@ -30,7 +31,7 @@ declare class Store {
|
|
30
31
|
declare class Voting {
|
31
32
|
private readonly client;
|
32
33
|
constructor(client: Serverbench);
|
33
|
-
|
34
|
+
get(username: string | null, eid: string | null): Promise<IListingDisplay>;
|
34
35
|
}
|
35
36
|
|
36
37
|
declare class Serverbench {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import IListingDisplay from './voting/IListingDisplay.js';
|
1
2
|
import Member from './Member.js';
|
2
3
|
import IDiscount from './store/IDiscount.js';
|
3
4
|
import ISkuPrice from './store/ISkuPrice.js';
|
@@ -30,7 +31,7 @@ declare class Store {
|
|
30
31
|
declare class Voting {
|
31
32
|
private readonly client;
|
32
33
|
constructor(client: Serverbench);
|
33
|
-
|
34
|
+
get(username: string | null, eid: string | null): Promise<IListingDisplay>;
|
34
35
|
}
|
35
36
|
|
36
37
|
declare class Serverbench {
|
package/dist/Serverbench.cjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXN6ARL7Ycjs = require('./chunk-XN6ARL7Y.cjs');require('./chunk-DKGB4JPC.cjs');require('./chunk-EDOIUX46.cjs');require('./chunk-BTEE2PLS.cjs');exports.default = _chunkXN6ARL7Ycjs.a;
|
2
2
|
//# sourceMappingURL=Serverbench.cjs.map
|
package/dist/Serverbench.d.cts
CHANGED
@@ -1,5 +1,12 @@
|
|
1
|
-
export { S as default } from './Serverbench-
|
1
|
+
export { S as default } from './Serverbench-DND0EZt-.cjs';
|
2
|
+
import './voting/IListingDisplay.cjs';
|
2
3
|
import './Member.cjs';
|
4
|
+
import './voting/IListingSettings.cjs';
|
5
|
+
import './voting/IListingAmountSettings.cjs';
|
6
|
+
import './voting/IListingSiteDisplay.cjs';
|
7
|
+
import './voting/ISiteSetup.cjs';
|
8
|
+
import './voting/ISite.cjs';
|
9
|
+
import './voting/IVote.cjs';
|
3
10
|
import './store/IDiscount.cjs';
|
4
11
|
import './store/ISkuPrice.cjs';
|
5
12
|
import './store/ICountryCurrency.cjs';
|
package/dist/Serverbench.d.ts
CHANGED
@@ -1,5 +1,12 @@
|
|
1
|
-
export { S as default } from './Serverbench-
|
1
|
+
export { S as default } from './Serverbench-RY3pULSg.js';
|
2
|
+
import './voting/IListingDisplay.js';
|
2
3
|
import './Member.js';
|
4
|
+
import './voting/IListingSettings.js';
|
5
|
+
import './voting/IListingAmountSettings.js';
|
6
|
+
import './voting/IListingSiteDisplay.js';
|
7
|
+
import './voting/ISiteSetup.js';
|
8
|
+
import './voting/ISite.js';
|
9
|
+
import './voting/IVote.js';
|
3
10
|
import './store/IDiscount.js';
|
4
11
|
import './store/ISkuPrice.js';
|
5
12
|
import './store/ICountryCurrency.js';
|
package/dist/Serverbench.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import{a}from"./chunk-
|
1
|
+
import{a}from"./chunk-IWJCAFMQ.js";import"./chunk-42HPMZJG.js";import"./chunk-QCKIIGYU.js";import"./chunk-WXZHVORI.js";export{a as default};
|
2
2
|
//# sourceMappingURL=Serverbench.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../src/voting/Voting.ts"],"sourcesContent":["import Serverbench from \"../Serverbench.js\"\r\nimport IListingDisplay from \"./IListingDisplay.js\"\r\n\r\nexport default class Voting {\r\n\r\n private readonly client: Serverbench\r\n\r\n constructor(client: Serverbench) {\r\n this.client = client\r\n }\r\n\r\n async get(username: string | null, eid: string | null) {\r\n return (await this.client.post('community', '/listing/display', {\r\n username,\r\n eid\r\n })) as IListingDisplay\r\n }\r\n\r\n}"],"mappings":"AAGA,IAAqBA,EAArB,KAA4B,CAIxB,YAAYC,EAAqB,CAC7B,KAAK,OAASA,CAClB,CAEA,MAAM,IAAIC,EAAyBC,EAAoB,CACnD,OAAQ,MAAM,KAAK,OAAO,KAAK,YAAa,mBAAoB,CAC5D,SAAAD,EACA,IAAAC,CACJ,CAAC,CACL,CAEJ","names":["Voting","client","username","eid"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=chunk-D4DWOLC2.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-D4DWOLC2.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-D4DWOLC2.cjs"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-DKGB4JPC.cjs"],"names":[],"mappings":"AAAA,6EAAI,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-DKGB4JPC.cjs","sourcesContent":[null]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{a}from"./chunk-
|
2
|
-
//# sourceMappingURL=chunk-
|
1
|
+
import{a as c}from"./chunk-42HPMZJG.js";import{a}from"./chunk-QCKIIGYU.js";var s=class s{constructor(e,n,t){this.clientId=e,this.clientSecret=n,this.test=t}static get(e,n,t=!1){return(!s.instance||s.instance.clientId!==e||s.instance.clientSecret!==n||s.instance.test!==t)&&(s.instance=new s(e,n,t)),s.instance}get store(){return new a(this)}get voting(){return new c(this)}async fetch(e,n,t){let o=this.test?"https://dev.serverbench.io":"https://api.beta.serverbench.io",r=new Headers({authorization:`ApiKey ${this.clientSecret}`});return t&&r.set("Content-Type","application/json"),(await fetch(`${o}/${e}/${this.clientId}${n}`,{headers:r,method:t?"POST":"GET",body:t?JSON.stringify(t):void 0})).json()}async get(e,n){return this.fetch(e,n)}async post(e,n,t={}){return this.fetch(e,n,t)}};s.instance=null;var i=s;export{i as a};
|
2
|
+
//# sourceMappingURL=chunk-IWJCAFMQ.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=chunk-T26IOW25.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
2
|
-
//# sourceMappingURL=chunk-
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDKGB4JPCcjs = require('./chunk-DKGB4JPC.cjs');var _chunkEDOIUX46cjs = require('./chunk-EDOIUX46.cjs');var s=class s{constructor(e,n,t){this.clientId=e,this.clientSecret=n,this.test=t}static get(e,n,t=!1){return(!s.instance||s.instance.clientId!==e||s.instance.clientSecret!==n||s.instance.test!==t)&&(s.instance=new s(e,n,t)),s.instance}get store(){return new (0, _chunkEDOIUX46cjs.a)(this)}get voting(){return new (0, _chunkDKGB4JPCcjs.a)(this)}async fetch(e,n,t){let o=this.test?"https://dev.serverbench.io":"https://api.beta.serverbench.io",r=new Headers({authorization:`ApiKey ${this.clientSecret}`});return t&&r.set("Content-Type","application/json"),(await fetch(`${o}/${e}/${this.clientId}${n}`,{headers:r,method:t?"POST":"GET",body:t?JSON.stringify(t):void 0})).json()}async get(e,n){return this.fetch(e,n)}async post(e,n,t={}){return this.fetch(e,n,t)}};s.instance=null;var i=s;exports.a = i;
|
2
|
+
//# sourceMappingURL=chunk-XN6ARL7Y.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-XN6ARL7Y.cjs"],"names":[],"mappings":"AAAA,iIAAwC,wDAAoC,IAAK,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,YAAY,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,4BAA4B,CAAC,iCAAiC,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,CAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-XN6ARL7Y.cjs","sourcesContent":[null]}
|
@@ -1,5 +1,12 @@
|
|
1
|
-
export { E as default } from '../Serverbench-
|
1
|
+
export { E as default } from '../Serverbench-DND0EZt-.cjs';
|
2
|
+
import '../voting/IListingDisplay.cjs';
|
2
3
|
import '../Member.cjs';
|
4
|
+
import '../voting/IListingSettings.cjs';
|
5
|
+
import '../voting/IListingAmountSettings.cjs';
|
6
|
+
import '../voting/IListingSiteDisplay.cjs';
|
7
|
+
import '../voting/ISiteSetup.cjs';
|
8
|
+
import '../voting/ISite.cjs';
|
9
|
+
import '../voting/IVote.cjs';
|
3
10
|
import '../store/IDiscount.cjs';
|
4
11
|
import '../store/ISkuPrice.cjs';
|
5
12
|
import '../store/ICountryCurrency.cjs';
|
@@ -1,5 +1,12 @@
|
|
1
|
-
export { E as default } from '../Serverbench-
|
1
|
+
export { E as default } from '../Serverbench-RY3pULSg.js';
|
2
|
+
import '../voting/IListingDisplay.js';
|
2
3
|
import '../Member.js';
|
4
|
+
import '../voting/IListingSettings.js';
|
5
|
+
import '../voting/IListingAmountSettings.js';
|
6
|
+
import '../voting/IListingSiteDisplay.js';
|
7
|
+
import '../voting/ISiteSetup.js';
|
8
|
+
import '../voting/ISite.js';
|
9
|
+
import '../voting/IVote.js';
|
3
10
|
import '../store/IDiscount.js';
|
4
11
|
import '../store/ISkuPrice.js';
|
5
12
|
import '../store/ICountryCurrency.js';
|
package/dist/index.cjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OW4YZ724.cjs');require('./chunk-OJYCLEOF.cjs');require('./chunk-X4NW2R7G.cjs');require('./chunk-DSKIK7XF.cjs');require('./chunk-NRMKMC27.cjs');var
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-OW4YZ724.cjs');require('./chunk-OJYCLEOF.cjs');require('./chunk-X4NW2R7G.cjs');require('./chunk-DSKIK7XF.cjs');require('./chunk-D4DWOLC2.cjs');require('./chunk-NRMKMC27.cjs');var _chunkXN6ARL7Ycjs = require('./chunk-XN6ARL7Y.cjs');require('./chunk-DKGB4JPC.cjs');var _chunkEDOIUX46cjs = require('./chunk-EDOIUX46.cjs');var _chunkBTEE2PLScjs = require('./chunk-BTEE2PLS.cjs');require('./chunk-GOVZHEHO.cjs');require('./chunk-D22KLLON.cjs');require('./chunk-UHS7Z46V.cjs');require('./chunk-OVXIHLHV.cjs');var p=_chunkXN6ARL7Ycjs.a;exports.Element = _chunkBTEE2PLScjs.a; exports.Store = _chunkEDOIUX46cjs.a; exports.default = p;
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\index.cjs"],"names":[],"mappings":"AAAA,yGAA4B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\index.cjs"],"names":[],"mappings":"AAAA,yGAA4B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,wDAAyC,gCAA6B,wDAAyC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,IAAK,CAAC,CAAC,mBAAC,CAAC,gGAA4C","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\index.cjs","sourcesContent":[null]}
|
package/dist/index.d.cts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as Member } from './Member.cjs';
|
2
|
-
import { S as Serverbench } from './Serverbench-
|
3
|
-
export { E as Element, a as Store } from './Serverbench-
|
2
|
+
import { S as Serverbench } from './Serverbench-DND0EZt-.cjs';
|
3
|
+
export { E as Element, a as Store } from './Serverbench-DND0EZt-.cjs';
|
4
4
|
export { default as ICountryCurrency } from './store/ICountryCurrency.cjs';
|
5
5
|
export { default as ISku } from './store/ISku.cjs';
|
6
6
|
export { default as ISkuPerkUsage } from './store/ISkuPerkUsage.cjs';
|
@@ -9,6 +9,13 @@ export { default as IStore } from './store/IStore.cjs';
|
|
9
9
|
export { default as IStoreCategory } from './store/IStoreCategory.cjs';
|
10
10
|
export { default as IStoreCategorySet } from './store/IStoreCategorySet.cjs';
|
11
11
|
export { default as IDiscount } from './store/IDiscount.cjs';
|
12
|
+
export { default as IListingDisplay } from './voting/IListingDisplay.cjs';
|
13
|
+
import './voting/IListingSettings.cjs';
|
14
|
+
import './voting/IListingAmountSettings.cjs';
|
15
|
+
import './voting/IListingSiteDisplay.cjs';
|
16
|
+
import './voting/ISiteSetup.cjs';
|
17
|
+
import './voting/ISite.cjs';
|
18
|
+
import './voting/IVote.cjs';
|
12
19
|
|
13
20
|
|
14
21
|
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { default as Member } from './Member.js';
|
2
|
-
import { S as Serverbench } from './Serverbench-
|
3
|
-
export { E as Element, a as Store } from './Serverbench-
|
2
|
+
import { S as Serverbench } from './Serverbench-RY3pULSg.js';
|
3
|
+
export { E as Element, a as Store } from './Serverbench-RY3pULSg.js';
|
4
4
|
export { default as ICountryCurrency } from './store/ICountryCurrency.js';
|
5
5
|
export { default as ISku } from './store/ISku.js';
|
6
6
|
export { default as ISkuPerkUsage } from './store/ISkuPerkUsage.js';
|
@@ -9,6 +9,13 @@ export { default as IStore } from './store/IStore.js';
|
|
9
9
|
export { default as IStoreCategory } from './store/IStoreCategory.js';
|
10
10
|
export { default as IStoreCategorySet } from './store/IStoreCategorySet.js';
|
11
11
|
export { default as IDiscount } from './store/IDiscount.js';
|
12
|
+
export { default as IListingDisplay } from './voting/IListingDisplay.js';
|
13
|
+
import './voting/IListingSettings.js';
|
14
|
+
import './voting/IListingAmountSettings.js';
|
15
|
+
import './voting/IListingSiteDisplay.js';
|
16
|
+
import './voting/ISiteSetup.js';
|
17
|
+
import './voting/ISite.js';
|
18
|
+
import './voting/IVote.js';
|
12
19
|
|
13
20
|
|
14
21
|
|
package/dist/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import"./chunk-FI7FAFLX.js";import"./chunk-TGMXZUHQ.js";import"./chunk-LBVHKFZO.js";import"./chunk-7KUMKL43.js";import"./chunk-4SUKRL6R.js";import{a as r}from"./chunk-
|
1
|
+
import"./chunk-FI7FAFLX.js";import"./chunk-TGMXZUHQ.js";import"./chunk-LBVHKFZO.js";import"./chunk-7KUMKL43.js";import"./chunk-T26IOW25.js";import"./chunk-4SUKRL6R.js";import{a as r}from"./chunk-IWJCAFMQ.js";import"./chunk-42HPMZJG.js";import{a as t}from"./chunk-QCKIIGYU.js";import{a as o}from"./chunk-WXZHVORI.js";import"./chunk-RY7QEHM4.js";import"./chunk-ZYLLOUW6.js";import"./chunk-AS4B37XA.js";import"./chunk-56HSL4MD.js";var p=r;export{o as Element,t as Store,p as default};
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import Member from \"./Member.js\";\r\nimport Serverbench from \"./Serverbench.js\";\r\nimport ICountryCurrency from \"./store/ICountryCurrency.js\";\r\nimport ISku from \"./store/ISku.js\";\r\nimport ISkuPerkUsage from \"./store/ISkuPerkUsage.js\";\r\nimport ISkuPrice from \"./store/ISkuPrice.js\";\r\nimport IStore from \"./store/IStore.js\";\r\nimport IStoreCategory from \"./store/IStoreCategory.js\";\r\nimport IStoreCategorySet from \"./store/IStoreCategorySet.js\";\r\nimport Store from \"./store/Store.js\";\r\nimport Element from \"./element/Element.js\"\r\nimport IDiscount from \"./store/IDiscount.js\";\r\n\r\nexport {\r\n Store,\r\n ICountryCurrency,\r\n IDiscount,\r\n ISku,\r\n ISkuPerkUsage,\r\n ISkuPrice,\r\n IStore,\r\n IStoreCategory,\r\n IStoreCategorySet,\r\n}\r\n\r\nexport {\r\n Member\r\n}\r\n\r\nexport {\r\n Element\r\n}\r\n\r\nexport default Serverbench"],"mappings":"
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import Member from \"./Member.js\";\r\nimport Serverbench from \"./Serverbench.js\";\r\nimport ICountryCurrency from \"./store/ICountryCurrency.js\";\r\nimport ISku from \"./store/ISku.js\";\r\nimport ISkuPerkUsage from \"./store/ISkuPerkUsage.js\";\r\nimport ISkuPrice from \"./store/ISkuPrice.js\";\r\nimport IStore from \"./store/IStore.js\";\r\nimport IStoreCategory from \"./store/IStoreCategory.js\";\r\nimport IStoreCategorySet from \"./store/IStoreCategorySet.js\";\r\nimport Store from \"./store/Store.js\";\r\nimport Element from \"./element/Element.js\"\r\nimport IDiscount from \"./store/IDiscount.js\";\r\nimport IListingDisplay from \"./voting/IListingDisplay.js\";\r\n\r\nexport {\r\n Store,\r\n ICountryCurrency,\r\n IDiscount,\r\n ISku,\r\n ISkuPerkUsage,\r\n ISkuPrice,\r\n IStore,\r\n IStoreCategory,\r\n IStoreCategorySet,\r\n IListingDisplay\r\n}\r\n\r\nexport {\r\n Member\r\n}\r\n\r\nexport {\r\n Element\r\n}\r\n\r\nexport default Serverbench"],"mappings":"4aAmCA,IAAOA,EAAQC","names":["src_default","Serverbench"]}
|
package/dist/store/Store.d.cts
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
-
export { a as default } from '../Serverbench-
|
1
|
+
export { a as default } from '../Serverbench-DND0EZt-.cjs';
|
2
2
|
import '../Member.cjs';
|
3
3
|
import './IDiscount.cjs';
|
4
4
|
import './ISkuPrice.cjs';
|
5
5
|
import './IStore.cjs';
|
6
|
+
import '../voting/IListingDisplay.cjs';
|
7
|
+
import '../voting/IListingSettings.cjs';
|
8
|
+
import '../voting/IListingAmountSettings.cjs';
|
9
|
+
import '../voting/IListingSiteDisplay.cjs';
|
10
|
+
import '../voting/ISiteSetup.cjs';
|
11
|
+
import '../voting/ISite.cjs';
|
12
|
+
import '../voting/IVote.cjs';
|
6
13
|
import './ICountryCurrency.cjs';
|
7
14
|
import './IStoreCategory.cjs';
|
8
15
|
import './ISku.cjs';
|
package/dist/store/Store.d.ts
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
-
export { a as default } from '../Serverbench-
|
1
|
+
export { a as default } from '../Serverbench-RY3pULSg.js';
|
2
2
|
import '../Member.js';
|
3
3
|
import './IDiscount.js';
|
4
4
|
import './ISkuPrice.js';
|
5
5
|
import './IStore.js';
|
6
|
+
import '../voting/IListingDisplay.js';
|
7
|
+
import '../voting/IListingSettings.js';
|
8
|
+
import '../voting/IListingAmountSettings.js';
|
9
|
+
import '../voting/IListingSiteDisplay.js';
|
10
|
+
import '../voting/ISiteSetup.js';
|
11
|
+
import '../voting/ISite.js';
|
12
|
+
import '../voting/IVote.js';
|
6
13
|
import './ICountryCurrency.js';
|
7
14
|
import './IStoreCategory.js';
|
8
15
|
import './ISku.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=IListingAmountSettings.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingAmountSettings.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingAmountSettings.cjs"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=IListingAmountSettings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingDisplay.cjs"],"names":[],"mappings":"AAAA,8CAA6B","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingDisplay.cjs"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import Member from '../Member.cjs';
|
2
|
+
import IListingSettings from './IListingSettings.cjs';
|
3
|
+
import IListingSiteDisplay from './IListingSiteDisplay.cjs';
|
4
|
+
import './IListingAmountSettings.cjs';
|
5
|
+
import './ISiteSetup.cjs';
|
6
|
+
import './ISite.cjs';
|
7
|
+
import './IVote.cjs';
|
8
|
+
|
9
|
+
interface IListingDisplay {
|
10
|
+
id: string;
|
11
|
+
hash: string;
|
12
|
+
created: Date;
|
13
|
+
member: Member;
|
14
|
+
primaryCompleted: Date | null;
|
15
|
+
primaryNext: Date | null;
|
16
|
+
secondaryCompleted: Date | null;
|
17
|
+
secondaryNext: Date | null;
|
18
|
+
settings: IListingSettings;
|
19
|
+
sites: IListingSiteDisplay[];
|
20
|
+
}
|
21
|
+
|
22
|
+
export type { IListingDisplay as default };
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import Member from '../Member.js';
|
2
|
+
import IListingSettings from './IListingSettings.js';
|
3
|
+
import IListingSiteDisplay from './IListingSiteDisplay.js';
|
4
|
+
import './IListingAmountSettings.js';
|
5
|
+
import './ISiteSetup.js';
|
6
|
+
import './ISite.js';
|
7
|
+
import './IVote.js';
|
8
|
+
|
9
|
+
interface IListingDisplay {
|
10
|
+
id: string;
|
11
|
+
hash: string;
|
12
|
+
created: Date;
|
13
|
+
member: Member;
|
14
|
+
primaryCompleted: Date | null;
|
15
|
+
primaryNext: Date | null;
|
16
|
+
secondaryCompleted: Date | null;
|
17
|
+
secondaryNext: Date | null;
|
18
|
+
settings: IListingSettings;
|
19
|
+
sites: IListingSiteDisplay[];
|
20
|
+
}
|
21
|
+
|
22
|
+
export type { IListingDisplay as default };
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=IListingSettings.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingSettings.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingSettings.cjs"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=IListingSettings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=IListingSiteDisplay.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingSiteDisplay.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IListingSiteDisplay.cjs"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import ISiteSetup from './ISiteSetup.cjs';
|
2
|
+
import IVote from './IVote.cjs';
|
3
|
+
import './ISite.cjs';
|
4
|
+
|
5
|
+
interface IListingSiteDisplay {
|
6
|
+
id: string;
|
7
|
+
index: number;
|
8
|
+
last: IVote | null;
|
9
|
+
next: Date | null;
|
10
|
+
primary: boolean;
|
11
|
+
secondary: boolean;
|
12
|
+
site: ISiteSetup;
|
13
|
+
}
|
14
|
+
|
15
|
+
export type { IListingSiteDisplay as default };
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import ISiteSetup from './ISiteSetup.js';
|
2
|
+
import IVote from './IVote.js';
|
3
|
+
import './ISite.js';
|
4
|
+
|
5
|
+
interface IListingSiteDisplay {
|
6
|
+
id: string;
|
7
|
+
index: number;
|
8
|
+
last: IVote | null;
|
9
|
+
next: Date | null;
|
10
|
+
primary: boolean;
|
11
|
+
secondary: boolean;
|
12
|
+
site: ISiteSetup;
|
13
|
+
}
|
14
|
+
|
15
|
+
export type { IListingSiteDisplay as default };
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=IListingSiteDisplay.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=ISite.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\ISite.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\ISite.cjs"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=ISite.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=ISiteSetup.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\ISiteSetup.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\ISiteSetup.cjs"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=ISiteSetup.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";//# sourceMappingURL=IVote.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IVote.cjs"],"names":[],"mappings":"AAAA","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\IVote.cjs"}
|
@@ -0,0 +1 @@
|
|
1
|
+
//# sourceMappingURL=IVote.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/voting/Voting.cjs
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDKGB4JPCcjs = require('../chunk-DKGB4JPC.cjs');exports.default = _chunkDKGB4JPCcjs.a;
|
2
2
|
//# sourceMappingURL=Voting.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\Voting.cjs"],"names":[],"mappings":"AAAA,kIAAoC,
|
1
|
+
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\Voting.cjs"],"names":[],"mappings":"AAAA,kIAAoC,sCAAqB","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\voting\\Voting.cjs"}
|
package/dist/voting/Voting.d.cts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
export { V as default } from '../Serverbench-
|
1
|
+
export { V as default } from '../Serverbench-DND0EZt-.cjs';
|
2
|
+
import './IListingDisplay.cjs';
|
2
3
|
import '../Member.cjs';
|
3
4
|
import '../store/IDiscount.cjs';
|
4
5
|
import '../store/ISkuPrice.cjs';
|
@@ -8,3 +9,9 @@ import '../store/IStoreCategory.cjs';
|
|
8
9
|
import '../store/ISku.cjs';
|
9
10
|
import '../store/ISkuPerkUsage.cjs';
|
10
11
|
import '../store/IStoreCategorySet.cjs';
|
12
|
+
import './IListingSettings.cjs';
|
13
|
+
import './IListingAmountSettings.cjs';
|
14
|
+
import './IListingSiteDisplay.cjs';
|
15
|
+
import './ISiteSetup.cjs';
|
16
|
+
import './ISite.cjs';
|
17
|
+
import './IVote.cjs';
|
package/dist/voting/Voting.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
export { V as default } from '../Serverbench-
|
1
|
+
export { V as default } from '../Serverbench-RY3pULSg.js';
|
2
|
+
import './IListingDisplay.js';
|
2
3
|
import '../Member.js';
|
3
4
|
import '../store/IDiscount.js';
|
4
5
|
import '../store/ISkuPrice.js';
|
@@ -8,3 +9,9 @@ import '../store/IStoreCategory.js';
|
|
8
9
|
import '../store/ISku.js';
|
9
10
|
import '../store/ISkuPerkUsage.js';
|
10
11
|
import '../store/IStoreCategorySet.js';
|
12
|
+
import './IListingSettings.js';
|
13
|
+
import './IListingAmountSettings.js';
|
14
|
+
import './IListingSiteDisplay.js';
|
15
|
+
import './ISiteSetup.js';
|
16
|
+
import './ISite.js';
|
17
|
+
import './IVote.js';
|
package/dist/voting/Voting.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import{a}from"../chunk-
|
1
|
+
import{a}from"../chunk-42HPMZJG.js";export{a as default};
|
2
2
|
//# sourceMappingURL=Voting.js.map
|
package/package.json
CHANGED
package/dist/chunk-PFKIADMZ.cjs
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBTEE2PLScjs = require('./chunk-BTEE2PLS.cjs');var r=class{constructor(e){this.client=e}list(e,n){return new (0, _chunkBTEE2PLScjs.a)(this.client,"/community/vote/list",{username:e,eid:n})}};exports.a = r;
|
2
|
-
//# sourceMappingURL=chunk-PFKIADMZ.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["c:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-PFKIADMZ.cjs"],"names":[],"mappings":"AAAA,iIAAwC,IAAK,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,wBAAC,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc","file":"C:\\Users\\quique\\Documents\\nominal\\serverbench\\js\\dist\\chunk-PFKIADMZ.cjs","sourcesContent":[null]}
|
package/dist/chunk-ZTEDBURE.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/voting/Voting.ts"],"sourcesContent":["import Element from \"../element/Element.js\"\r\nimport Serverbench from \"../Serverbench.js\"\r\n\r\nexport default class Voting {\r\n\r\n private readonly client: Serverbench\r\n\r\n constructor(client: Serverbench) {\r\n this.client = client\r\n }\r\n\r\n list(username?: string, eid?: string) {\r\n return new Element(this.client, '/community/vote/list', {\r\n username,\r\n eid\r\n })\r\n }\r\n\r\n}"],"mappings":"wCAGA,IAAqBA,EAArB,KAA4B,CAIxB,YAAYC,EAAqB,CAC7B,KAAK,OAASA,CAClB,CAEA,KAAKC,EAAmBC,EAAc,CAClC,OAAO,IAAIC,EAAQ,KAAK,OAAQ,uBAAwB,CACpD,SAAAF,EACA,IAAAC,CACJ,CAAC,CACL,CAEJ","names":["Voting","client","username","eid","Element"]}
|
File without changes
|