@alodi/site 0.0.1 → 0.0.3
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/cjs/argv.d.ts +1 -1
- package/dist/cjs/data.js +32 -0
- package/dist/cjs/index.d.ts +8 -6
- package/dist/cjs/index.js +16 -4
- package/dist/esm/argv.d.ts +1 -1
- package/dist/esm/data.js +31 -1
- package/dist/esm/index.d.ts +8 -6
- package/dist/esm/index.js +4 -2
- package/package.json +2 -2
package/dist/cjs/argv.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const options: readonly [{
|
|
|
12
12
|
}, {
|
|
13
13
|
readonly name: "site";
|
|
14
14
|
readonly describe: "指定站点";
|
|
15
|
-
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777")[];
|
|
15
|
+
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
16
16
|
readonly demandOption: true;
|
|
17
17
|
}, {
|
|
18
18
|
readonly name: "api";
|
package/dist/cjs/data.js
CHANGED
|
@@ -295,6 +295,38 @@ var SiteData = {
|
|
|
295
295
|
telegram: "YDG777Bonus",
|
|
296
296
|
support_email: "support@group291.com"
|
|
297
297
|
}
|
|
298
|
+
},
|
|
299
|
+
[import_index.SITE.ZAPP_SPIN]: {
|
|
300
|
+
name: "ZAPP SPIN",
|
|
301
|
+
seo: {
|
|
302
|
+
url: "https://www.zappspin.com/",
|
|
303
|
+
site_name: "zappspin.com"
|
|
304
|
+
},
|
|
305
|
+
text: {
|
|
306
|
+
title: "ZAPP SPIN",
|
|
307
|
+
site: "zappspin.com",
|
|
308
|
+
domain: "www.zappspin.com",
|
|
309
|
+
facebookMessenger: "zappspin",
|
|
310
|
+
instagram: "zappspin",
|
|
311
|
+
telegram: "",
|
|
312
|
+
support_email: ""
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
[import_index.SITE.WASP_SPIN]: {
|
|
316
|
+
name: "WASP SPIN",
|
|
317
|
+
seo: {
|
|
318
|
+
url: "https://www.waspspin.com/",
|
|
319
|
+
site_name: "waspspin.com"
|
|
320
|
+
},
|
|
321
|
+
text: {
|
|
322
|
+
title: "WASP SPIN",
|
|
323
|
+
site: "waspspin.com",
|
|
324
|
+
domain: "www.waspspin.com",
|
|
325
|
+
facebookMessenger: "waspspin",
|
|
326
|
+
instagram: "waspspin",
|
|
327
|
+
telegram: "",
|
|
328
|
+
support_email: ""
|
|
329
|
+
}
|
|
298
330
|
}
|
|
299
331
|
};
|
|
300
332
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -16,18 +16,20 @@ export declare const SITE: {
|
|
|
16
16
|
readonly PG_82: "82pg";
|
|
17
17
|
readonly PG_91: "91pg";
|
|
18
18
|
readonly YDG_777: "ydg777";
|
|
19
|
+
readonly ZAPP_SPIN: "zappspin";
|
|
20
|
+
readonly WASP_SPIN: "waspspin";
|
|
19
21
|
};
|
|
20
|
-
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777")[];
|
|
22
|
+
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
21
23
|
export type SiteKey = (typeof SiteKeys)[number];
|
|
22
24
|
export declare const COUNTRY: {
|
|
23
25
|
readonly LODI: "lodi";
|
|
24
26
|
readonly NCG: "ncg";
|
|
25
27
|
};
|
|
26
28
|
export declare const CountryKeys: ("lodi" | "ncg")[];
|
|
27
|
-
export type CountryKey = typeof CountryKeys[number];
|
|
28
|
-
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg"];
|
|
29
|
-
export type NcgSiteKey = typeof NcgSiteKeys[number];
|
|
30
|
-
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg";
|
|
29
|
+
export type CountryKey = (typeof CountryKeys)[number];
|
|
30
|
+
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg", "zappspin", "waspspin"];
|
|
31
|
+
export type NcgSiteKey = (typeof NcgSiteKeys)[number];
|
|
32
|
+
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin";
|
|
31
33
|
export declare const LodiSiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777")[];
|
|
32
|
-
export type LodiSiteKey = typeof LodiSiteKeys[number];
|
|
34
|
+
export type LodiSiteKey = (typeof LodiSiteKeys)[number];
|
|
33
35
|
export declare const isLodiSite: (site: SiteKey) => site is "291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777";
|
package/dist/cjs/index.js
CHANGED
|
@@ -46,17 +46,29 @@ var SITE = {
|
|
|
46
46
|
WASP: "wasp",
|
|
47
47
|
PG_82: "82pg",
|
|
48
48
|
PG_91: "91pg",
|
|
49
|
-
YDG_777: "ydg777"
|
|
49
|
+
YDG_777: "ydg777",
|
|
50
|
+
ZAPP_SPIN: "zappspin",
|
|
51
|
+
WASP_SPIN: "waspspin"
|
|
50
52
|
};
|
|
51
|
-
var SiteKeys = Object.keys(SITE).map(
|
|
53
|
+
var SiteKeys = Object.keys(SITE).map(
|
|
54
|
+
(x) => SITE[x]
|
|
55
|
+
);
|
|
52
56
|
var COUNTRY = {
|
|
53
57
|
LODI: "lodi",
|
|
54
58
|
NCG: "ncg"
|
|
55
59
|
};
|
|
56
60
|
var CountryKeys = Object.keys(COUNTRY).map((x) => COUNTRY[x]);
|
|
57
|
-
var NcgSiteKeys = [
|
|
61
|
+
var NcgSiteKeys = [
|
|
62
|
+
SITE.WASP,
|
|
63
|
+
SITE.PG_82,
|
|
64
|
+
SITE.PG_91,
|
|
65
|
+
SITE.ZAPP_SPIN,
|
|
66
|
+
SITE.WASP_SPIN
|
|
67
|
+
];
|
|
58
68
|
var isNcgSite = (site) => NcgSiteKeys.indexOf(site) !== -1;
|
|
59
|
-
var LodiSiteKeys = SiteKeys.filter(
|
|
69
|
+
var LodiSiteKeys = SiteKeys.filter(
|
|
70
|
+
(site) => !isNcgSite(site)
|
|
71
|
+
);
|
|
60
72
|
var isLodiSite = (site) => LodiSiteKeys.indexOf(site) !== -1;
|
|
61
73
|
// Annotate the CommonJS export names for ESM import in node:
|
|
62
74
|
0 && (module.exports = {
|
package/dist/esm/argv.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const options: readonly [{
|
|
|
12
12
|
}, {
|
|
13
13
|
readonly name: "site";
|
|
14
14
|
readonly describe: "指定站点";
|
|
15
|
-
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777")[];
|
|
15
|
+
readonly choices: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
16
16
|
readonly demandOption: true;
|
|
17
17
|
}, {
|
|
18
18
|
readonly name: "api";
|
package/dist/esm/data.js
CHANGED
|
@@ -154,7 +154,7 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
154
154
|
telegram: 'official646bonus',
|
|
155
155
|
support_email: 'support@group646.com'
|
|
156
156
|
}
|
|
157
|
-
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteData, SITE.PG_82, {
|
|
157
|
+
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_SiteData, SITE.PG_82, {
|
|
158
158
|
name: '82PG',
|
|
159
159
|
seo: {
|
|
160
160
|
url: 'https://www.82pg.com/',
|
|
@@ -259,4 +259,34 @@ export var SiteData = (_SiteData = {}, _defineProperty(_defineProperty(_definePr
|
|
|
259
259
|
telegram: 'YDG777Bonus',
|
|
260
260
|
support_email: 'support@group291.com'
|
|
261
261
|
}
|
|
262
|
+
}), SITE.ZAPP_SPIN, {
|
|
263
|
+
name: 'ZAPP SPIN',
|
|
264
|
+
seo: {
|
|
265
|
+
url: 'https://www.zappspin.com/',
|
|
266
|
+
site_name: 'zappspin.com'
|
|
267
|
+
},
|
|
268
|
+
text: {
|
|
269
|
+
title: 'ZAPP SPIN',
|
|
270
|
+
site: 'zappspin.com',
|
|
271
|
+
domain: 'www.zappspin.com',
|
|
272
|
+
facebookMessenger: 'zappspin',
|
|
273
|
+
instagram: 'zappspin',
|
|
274
|
+
telegram: '',
|
|
275
|
+
support_email: ''
|
|
276
|
+
}
|
|
277
|
+
}), SITE.WASP_SPIN, {
|
|
278
|
+
name: 'WASP SPIN',
|
|
279
|
+
seo: {
|
|
280
|
+
url: 'https://www.waspspin.com/',
|
|
281
|
+
site_name: 'waspspin.com'
|
|
282
|
+
},
|
|
283
|
+
text: {
|
|
284
|
+
title: 'WASP SPIN',
|
|
285
|
+
site: 'waspspin.com',
|
|
286
|
+
domain: 'www.waspspin.com',
|
|
287
|
+
facebookMessenger: 'waspspin',
|
|
288
|
+
instagram: 'waspspin',
|
|
289
|
+
telegram: '',
|
|
290
|
+
support_email: ''
|
|
291
|
+
}
|
|
262
292
|
}));
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -16,18 +16,20 @@ export declare const SITE: {
|
|
|
16
16
|
readonly PG_82: "82pg";
|
|
17
17
|
readonly PG_91: "91pg";
|
|
18
18
|
readonly YDG_777: "ydg777";
|
|
19
|
+
readonly ZAPP_SPIN: "zappspin";
|
|
20
|
+
readonly WASP_SPIN: "waspspin";
|
|
19
21
|
};
|
|
20
|
-
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777")[];
|
|
22
|
+
export declare const SiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "wasp" | "82pg" | "91pg" | "ydg777" | "zappspin" | "waspspin")[];
|
|
21
23
|
export type SiteKey = (typeof SiteKeys)[number];
|
|
22
24
|
export declare const COUNTRY: {
|
|
23
25
|
readonly LODI: "lodi";
|
|
24
26
|
readonly NCG: "ncg";
|
|
25
27
|
};
|
|
26
28
|
export declare const CountryKeys: ("lodi" | "ncg")[];
|
|
27
|
-
export type CountryKey = typeof CountryKeys[number];
|
|
28
|
-
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg"];
|
|
29
|
-
export type NcgSiteKey = typeof NcgSiteKeys[number];
|
|
30
|
-
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg";
|
|
29
|
+
export type CountryKey = (typeof CountryKeys)[number];
|
|
30
|
+
export declare const NcgSiteKeys: readonly ["wasp", "82pg", "91pg", "zappspin", "waspspin"];
|
|
31
|
+
export type NcgSiteKey = (typeof NcgSiteKeys)[number];
|
|
32
|
+
export declare const isNcgSite: (site: SiteKey) => site is "wasp" | "82pg" | "91pg" | "zappspin" | "waspspin";
|
|
31
33
|
export declare const LodiSiteKeys: ("291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777")[];
|
|
32
|
-
export type LodiSiteKey = typeof LodiSiteKeys[number];
|
|
34
|
+
export type LodiSiteKey = (typeof LodiSiteKeys)[number];
|
|
33
35
|
export declare const isLodiSite: (site: SiteKey) => site is "291jili" | "super291" | "646jili" | "lodi291" | "top646" | "80jili" | "ph646" | "ace291" | "hot646" | "lodi646" | "lodigame" | "lol646" | "lodi777" | "ydg777";
|
package/dist/esm/index.js
CHANGED
|
@@ -15,7 +15,9 @@ export var SITE = {
|
|
|
15
15
|
WASP: 'wasp',
|
|
16
16
|
PG_82: '82pg',
|
|
17
17
|
PG_91: '91pg',
|
|
18
|
-
YDG_777: 'ydg777'
|
|
18
|
+
YDG_777: 'ydg777',
|
|
19
|
+
ZAPP_SPIN: 'zappspin',
|
|
20
|
+
WASP_SPIN: 'waspspin'
|
|
19
21
|
};
|
|
20
22
|
export var SiteKeys = Object.keys(SITE).map(function (x) {
|
|
21
23
|
return SITE[x];
|
|
@@ -27,7 +29,7 @@ export var COUNTRY = {
|
|
|
27
29
|
export var CountryKeys = Object.keys(COUNTRY).map(function (x) {
|
|
28
30
|
return COUNTRY[x];
|
|
29
31
|
});
|
|
30
|
-
export var NcgSiteKeys = [SITE.WASP, SITE.PG_82, SITE.PG_91];
|
|
32
|
+
export var NcgSiteKeys = [SITE.WASP, SITE.PG_82, SITE.PG_91, SITE.ZAPP_SPIN, SITE.WASP_SPIN];
|
|
31
33
|
export var isNcgSite = function isNcgSite(site) {
|
|
32
34
|
return NcgSiteKeys.indexOf(site) !== -1;
|
|
33
35
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alodi/site",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "lodi site",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "3d465d01e36e968aaca2a6b4f3277707a1c4a59f"
|
|
52
52
|
}
|