alangregory-interfaces 1.0.1 → 1.0.4

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 CHANGED
@@ -1,2 +1,4 @@
1
1
  # alangregory-interfaces
2
2
  typescript interface definitions
3
+ # publish
4
+ run **npm run publish**
@@ -0,0 +1,67 @@
1
+ declare module 'alangregory-interfaces/games/mir4/api' {
2
+ export interface LauncherInforResponse {
3
+ Code: string;
4
+ LauncherVersiin: number;
5
+ FileData: string;
6
+ FileSize: number;
7
+ }
8
+ export interface VersionCheckResponse {
9
+ Data: {
10
+ FrontServerURL: string;
11
+ FrontServerList: {
12
+ [index: string]: string;
13
+ };
14
+ PaymentServerURL: string;
15
+ EventServerURL: string;
16
+ AuthServerURL: string;
17
+ MaintenanceURL: string;
18
+ ServiceURL: string;
19
+ PrivacyURL: string;
20
+ OperationURL: string;
21
+ SubscriptionURL: string;
22
+ CommunityURL: string;
23
+ CustomerURL: string;
24
+ CSURL: string;
25
+ ReportTyposURL: string;
26
+ GameguideURL: string;
27
+ HelpURL: string;
28
+ CouponURL: string;
29
+ OneStoreLogOutURL: string;
30
+ PolicyURL: string;
31
+ HotAndNewURL: string;
32
+ FrontBannerURL: string;
33
+ ProfileURL: string;
34
+ ImgUploadURL: string;
35
+ IOSConsumeURL: string;
36
+ HumanAuthURL: string;
37
+ StoreURL: string;
38
+ WemixWebAuthURL: string;
39
+ WemixOAuthURL: string;
40
+ WemixRedirectURL: string;
41
+ SteamAuthURL: string;
42
+ AdUnitAndroid: string;
43
+ AdUnitiOS: string;
44
+ isGuestLoginAllowed: boolean;
45
+ IsGameJoin: boolean;
46
+ IsMantenance: boolean;
47
+ UpdateStatus: number;
48
+ IsWhiteList: boolean;
49
+ MaintenanceList: {
50
+ [index: string]: string;
51
+ };
52
+ IsGameJoinList: {
53
+ [index: string]: string;
54
+ };
55
+ };
56
+ Code: string;
57
+ Msg: string;
58
+ }
59
+
60
+ }
61
+ declare module 'alangregory-interfaces/index' {
62
+
63
+ }
64
+ declare module 'alangregory-interfaces' {
65
+ import main = require('alangregory-interfaces/index');
66
+ export = main;
67
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alangregory-interfaces",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "typescript interface definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist/**/*"
9
9
  ],
10
10
  "scripts": {
11
- "app:build": "tsc",
11
+ "build": "tsc && publish",
12
12
  "lint": "eslint . --ext .ts,.tsx"
13
13
  },
14
14
  "repository": {
@@ -28,5 +28,8 @@
28
28
  "eslint": "^8.28.0",
29
29
  "ts-node": "^10.9.1",
30
30
  "typescript": "^4.9.3"
31
+ },
32
+ "dependencies": {
33
+ "npm-dts": "^1.3.12"
31
34
  }
32
- }
35
+ }
package/dist/api.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export interface LauncherInforResponse {
2
- Code: string;
3
- LauncherVersiin: number;
4
- FileData: string;
5
- FileSize: number;
6
- }