maidraw 0.3.1 → 0.4.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.
Files changed (32) hide show
  1. package/assets/themes/cn/2024Landscape/manifest.json +9 -0
  2. package/assets/themes/cn/2024Portrait/manifest.json +18 -0
  3. package/assets/themes/jp/buddiesLandscape/manifest.json +9 -0
  4. package/assets/themes/jp/buddiesPlusLandscape/manifest.json +9 -0
  5. package/assets/themes/jp/buddiesPlusPortrait/manifest.json +18 -0
  6. package/assets/themes/jp/buddiesPortrait/manifest.json +18 -0
  7. package/assets/themes/jp/finaleLandscape/manifest.json +9 -0
  8. package/assets/themes/jp/finalePortrait/manifest.json +18 -0
  9. package/assets/themes/jp/prismLandscape/manifest.json +9 -0
  10. package/assets/themes/jp/prismPlusLandscape/manifest.json +9 -0
  11. package/assets/themes/jp/prismPlusPortrait/manifest.json +18 -0
  12. package/assets/themes/jp/prismPortrait/manifest.json +18 -0
  13. package/dist/mai/best50/index.d.ts +6 -1
  14. package/dist/mai/best50/index.js +489 -538
  15. package/dist/mai/best50/index.js.map +1 -1
  16. package/dist/mai/best50/lib/divingFish/index.d.ts +5 -7
  17. package/dist/mai/best50/lib/divingFish/index.js +5 -43
  18. package/dist/mai/best50/lib/divingFish/index.js.map +1 -1
  19. package/dist/mai/best50/lib/index.d.ts +16 -1
  20. package/dist/mai/best50/lib/index.js +83 -2
  21. package/dist/mai/best50/lib/index.js.map +1 -1
  22. package/dist/mai/best50/lib/kamaiTachi/index.d.ts +5 -8
  23. package/dist/mai/best50/lib/kamaiTachi/index.js +81 -75
  24. package/dist/mai/best50/lib/kamaiTachi/index.js.map +1 -1
  25. package/dist/mai/best50/lib/lxns/index.d.ts +5 -9
  26. package/dist/mai/best50/lib/lxns/index.js +13 -57
  27. package/dist/mai/best50/lib/lxns/index.js.map +1 -1
  28. package/dist/mai/best50/type.d.ts +145 -0
  29. package/dist/mai/best50/type.js +3 -0
  30. package/dist/mai/best50/type.js.map +1 -0
  31. package/dist/type.d.ts +0 -106
  32. package/package.json +3 -1
package/dist/type.d.ts CHANGED
@@ -57,109 +57,3 @@ export interface IChart {
57
57
  level: number;
58
58
  maxDxScore: number;
59
59
  }
60
- export interface IThemeManifest {
61
- displayName: string;
62
- name: string;
63
- width: number;
64
- height: number;
65
- sprites: IThemeSprites;
66
- elements: IThemeElements[];
67
- }
68
- export interface IThemeSprites {
69
- achievement: {
70
- d: string;
71
- c: string;
72
- b: string;
73
- bb: string;
74
- bbb: string;
75
- a: string;
76
- aa: string;
77
- aaa: string;
78
- s: string;
79
- sp: string;
80
- ss: string;
81
- ssp: string;
82
- sss: string;
83
- sssp: string;
84
- };
85
- mode: {
86
- standard: string;
87
- dx: string;
88
- };
89
- milestone: {
90
- ap: string;
91
- app: string;
92
- fc: string;
93
- fcp: string;
94
- fdx: string;
95
- fdxp: string;
96
- fs: string;
97
- fsp: string;
98
- sync: string;
99
- none: string;
100
- };
101
- dxRating: {
102
- white: string;
103
- blue: string;
104
- green: string;
105
- yellow: string;
106
- red: string;
107
- purple: string;
108
- bronze: string;
109
- silver: string;
110
- gold: string;
111
- platinum: string;
112
- rainbow: string;
113
- };
114
- dxRatingNumberMap: string;
115
- profile: {
116
- icon: string;
117
- nameplate: string;
118
- };
119
- }
120
- export type IThemeElements = IThemeProfileElement | IThemeScoreElement | IThemeImageElement;
121
- export interface IThemeElement {
122
- type: string;
123
- x: number;
124
- y: number;
125
- }
126
- export interface IThemeProfileElement extends IThemeElement {
127
- type: "profile";
128
- height: number;
129
- }
130
- export interface IThemeScoreElement extends IThemeElement {
131
- type: "score-grid";
132
- horizontalSize: number;
133
- verticalSize: number;
134
- region: "new" | "old";
135
- index: number;
136
- scoreBubble: {
137
- width: number;
138
- height: number;
139
- margin: number;
140
- gap: number;
141
- color: {
142
- basic: string;
143
- advanced: string;
144
- expert: string;
145
- master: string;
146
- remaster: string;
147
- utage: string;
148
- };
149
- };
150
- }
151
- export interface IThemeImageElement extends IThemeElement {
152
- type: "image";
153
- width: number;
154
- height: number;
155
- /**
156
- * Relative path from the manifest file to the element file.
157
- */
158
- path: string;
159
- }
160
- export interface IBest50 {
161
- new: IScore[];
162
- old: IScore[];
163
- username: string;
164
- rating: number;
165
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maidraw",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "Kasumi module for maimai bot",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -27,6 +27,7 @@
27
27
  "homepage": "https://github.com/HexaNona/kasumi-module-template#readme",
28
28
  "dependencies": {
29
29
  "axios": "^1.7.2",
30
+ "bunyan": "^1.8.15",
30
31
  "canvas": "^2.11.2",
31
32
  "color": "^4.2.3",
32
33
  "glob": "^11.0.0",
@@ -42,6 +43,7 @@
42
43
  "upath": "^2.0.1"
43
44
  },
44
45
  "devDependencies": {
46
+ "@types/bunyan": "^1.8.11",
45
47
  "@types/color": "^3.0.6",
46
48
  "@types/memory-cache": "^0.2.6"
47
49
  }