hoshimi-venus 0.5.2 → 0.6.0
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/out/concert/concert.d.ts +2 -0
- package/out/concert/concert.js +5 -0
- package/out/concert/concert.js.map +1 -1
- package/out/concert/consts/chart_consts.d.ts +1 -0
- package/out/concert/consts/chart_consts.js +4 -1
- package/out/concert/consts/chart_consts.js.map +1 -1
- package/out/concert/partial/actions/action.d.ts +1 -1
- package/out/concert/partial/actions/action.js +2 -0
- package/out/concert/partial/actions/action.js.map +1 -1
- package/out/concert/partial/assignment_a_skill.d.ts +2 -0
- package/out/concert/partial/assignment_a_skill.js +35 -0
- package/out/concert/partial/assignment_a_skill.js.map +1 -0
- package/out/concert/partial/b_check_existence.d.ts +1 -1
- package/out/concert/partial/b_check_existence.js +6 -2
- package/out/concert/partial/b_check_existence.js.map +1 -1
- package/out/concert/partial/c_check_act_skill_stamina.js +3 -0
- package/out/concert/partial/c_check_act_skill_stamina.js.map +1 -1
- package/out/concert/partial/d_check_act_skill_cool_time.js +3 -0
- package/out/concert/partial/d_check_act_skill_cool_time.js.map +1 -1
- package/out/concert/partial/e_check_act_skill_possibility.js +3 -0
- package/out/concert/partial/e_check_act_skill_possibility.js.map +1 -1
- package/out/concert/partial/init_concert.js +1 -0
- package/out/concert/partial/init_concert.js.map +1 -1
- package/out/main.js +1 -1
- package/out/types/card_types.d.ts +3 -3
- package/out/types/concert_types.d.ts +13 -12
- package/out/types/misc_types.d.ts +2 -2
- package/out/types/proto/proto_api.d.ts +834 -834
- package/out/types/proto/proto_master.d.ts +265 -265
- package/out/types/proto/proto_transaction.d.ts +51 -51
- package/out/types/quest_types.d.ts +1 -1
- package/out/types/trans_types.d.ts +3 -3
- package/out/types/wap/card_waps.d.ts +1 -1
- package/out/types/wap/misc_waps.d.ts +2 -2
- package/out/types/wap/quest_waps.d.ts +2 -2
- package/out/types/wap/skill_waps.d.ts +5 -5
- package/package.json +4 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { HomePositionType, MessageStatusType, MissionStatusType, PhotoImageType, ProfileBackgroundType, ProfileLayoutType, ProfileInformationType, ProfileColorType, ResultRankType, StoryStatusType, TelephoneStatusType, ResourceType, NotificationType, PointType, ParameterType, TutorialType } from './proto_enum';
|
2
|
-
export
|
2
|
+
export type Payslip = {
|
3
3
|
managerLevel: number;
|
4
4
|
loginDays: number;
|
5
5
|
absenceDays: number;
|
@@ -25,7 +25,7 @@ export declare type Payslip = {
|
|
25
25
|
year: number;
|
26
26
|
month: number;
|
27
27
|
};
|
28
|
-
export
|
28
|
+
export type User = {
|
29
29
|
name: string;
|
30
30
|
managerExp: string;
|
31
31
|
deckSequence: string;
|
@@ -54,17 +54,17 @@ export declare type User = {
|
|
54
54
|
managerLevel: number;
|
55
55
|
cardSupportMaxNumber: number;
|
56
56
|
};
|
57
|
-
export
|
57
|
+
export type UserAccessory = {
|
58
58
|
accessoryId: string;
|
59
59
|
amount: string;
|
60
60
|
};
|
61
|
-
export
|
61
|
+
export type UserArea = {
|
62
62
|
areaId: string;
|
63
63
|
clearQuestCount: number;
|
64
64
|
dailyClearCount: number;
|
65
65
|
lastClearedTime: string;
|
66
66
|
};
|
67
|
-
export
|
67
|
+
export type UserCard = {
|
68
68
|
cardId: string;
|
69
69
|
totalExp: string;
|
70
70
|
rarityTotalExp: number;
|
@@ -109,7 +109,7 @@ export declare type UserCard = {
|
|
109
109
|
basePhotoEquipableCount: number;
|
110
110
|
rank: number;
|
111
111
|
};
|
112
|
-
export
|
112
|
+
export type UserCharacter = {
|
113
113
|
characterId: string;
|
114
114
|
activityExp: string;
|
115
115
|
activityStamina: number;
|
@@ -128,28 +128,28 @@ export declare type UserCharacter = {
|
|
128
128
|
activityLevel: number;
|
129
129
|
audienceCandidateAmount: number;
|
130
130
|
};
|
131
|
-
export
|
131
|
+
export type UserCharacterMusic = {
|
132
132
|
characterId: string;
|
133
133
|
musicId: string;
|
134
134
|
masteryPoint: number;
|
135
135
|
masteryLevel: number;
|
136
136
|
};
|
137
|
-
export
|
137
|
+
export type UserCostume = {
|
138
138
|
costumeId: string;
|
139
139
|
checked: boolean;
|
140
140
|
obtainedTime: string;
|
141
141
|
};
|
142
|
-
export
|
142
|
+
export type UserDecoration = {
|
143
143
|
decorationId: string;
|
144
144
|
};
|
145
|
-
export
|
145
|
+
export type UserEmblem = {
|
146
146
|
emblemId: string;
|
147
147
|
};
|
148
|
-
export
|
148
|
+
export type UserHair = {
|
149
149
|
hairId: string;
|
150
150
|
checked: boolean;
|
151
151
|
};
|
152
|
-
export
|
152
|
+
export type UserHierarchy = {
|
153
153
|
bestDetailGradeId: string;
|
154
154
|
currentFixedPoint: string;
|
155
155
|
currentVariablePoint: string;
|
@@ -158,46 +158,46 @@ export declare type UserHierarchy = {
|
|
158
158
|
receivedRewardIds: string[];
|
159
159
|
receivedDivisionRewardIds: string[];
|
160
160
|
};
|
161
|
-
export
|
161
|
+
export type UserHomePosition = {
|
162
162
|
homePositionType: HomePositionType;
|
163
163
|
characterId: string;
|
164
164
|
};
|
165
|
-
export
|
165
|
+
export type UserHomeTalk = {
|
166
166
|
homeTalkId: string;
|
167
167
|
};
|
168
|
-
export
|
168
|
+
export type UserItem = {
|
169
169
|
itemId: string;
|
170
170
|
expiredTime: string;
|
171
171
|
amount: string;
|
172
172
|
};
|
173
|
-
export
|
173
|
+
export type UserLoginBonus = {
|
174
174
|
loginBonusId: string;
|
175
175
|
lastLoginTime: string;
|
176
176
|
loginCount: number;
|
177
177
|
receiveCount: number;
|
178
178
|
loginBonusTextId: string;
|
179
179
|
};
|
180
|
-
export
|
180
|
+
export type UserMessage = {
|
181
181
|
messageId: string;
|
182
182
|
messageStatusType: MessageStatusType;
|
183
183
|
selectMessageDetailIds: string[];
|
184
184
|
arrivedTime: string;
|
185
185
|
};
|
186
|
-
export
|
186
|
+
export type UserMessageSchedule = {
|
187
187
|
messageId: string;
|
188
188
|
scheduledTime: string;
|
189
189
|
};
|
190
|
-
export
|
190
|
+
export type UserMission = {
|
191
191
|
missionId: string;
|
192
192
|
currentThreshold: string;
|
193
193
|
progress: string;
|
194
194
|
statusType: MissionStatusType;
|
195
195
|
lastUpdateTime: string;
|
196
196
|
};
|
197
|
-
export
|
197
|
+
export type UserMusic = {
|
198
198
|
musicId: string;
|
199
199
|
};
|
200
|
-
export
|
200
|
+
export type UserPhoto = {
|
201
201
|
photoId: string;
|
202
202
|
assetId: string;
|
203
203
|
imageType: PhotoImageType;
|
@@ -214,18 +214,18 @@ export declare type UserPhoto = {
|
|
214
214
|
focusCharacterId: string;
|
215
215
|
photoRecipeId: string;
|
216
216
|
};
|
217
|
-
export
|
217
|
+
export type UserPhotoAbility = {
|
218
218
|
photoAbilityId: string;
|
219
219
|
effectValue: string;
|
220
220
|
missionId: string;
|
221
221
|
grade: number;
|
222
222
|
isAvailable: boolean;
|
223
223
|
};
|
224
|
-
export
|
224
|
+
export type UserPhotoRecipe = {
|
225
225
|
photoRecipeId: string;
|
226
226
|
amount: string;
|
227
227
|
};
|
228
|
-
export
|
228
|
+
export type UserProfile = {
|
229
229
|
favoriteCardId: string;
|
230
230
|
favoritePhotoId: string;
|
231
231
|
favoriteCharacterIds: string[];
|
@@ -239,7 +239,7 @@ export declare type UserProfile = {
|
|
239
239
|
informationType: ProfileInformationType;
|
240
240
|
colorType: ProfileColorType;
|
241
241
|
};
|
242
|
-
export
|
242
|
+
export type UserQuest = {
|
243
243
|
questId: string;
|
244
244
|
dailyClearCount: number;
|
245
245
|
lastClearedTime: string;
|
@@ -252,41 +252,41 @@ export declare type UserQuest = {
|
|
252
252
|
currentRankingSeasonID: string;
|
253
253
|
highestScoreRank: ResultRankType;
|
254
254
|
};
|
255
|
-
export
|
255
|
+
export type UserStory = {
|
256
256
|
storyId: string;
|
257
257
|
statusType: StoryStatusType;
|
258
258
|
isInvalid: boolean;
|
259
259
|
};
|
260
|
-
export
|
260
|
+
export type UserTelephone = {
|
261
261
|
telephoneId: string;
|
262
262
|
unlockedTime: string;
|
263
263
|
scheduledTime: string;
|
264
264
|
telephoneStatusType: TelephoneStatusType;
|
265
265
|
};
|
266
|
-
export
|
266
|
+
export type ConsumptionResult = {
|
267
267
|
resourceType: ResourceType;
|
268
268
|
resourceId: string;
|
269
269
|
amount: number;
|
270
270
|
beforeAmount: string;
|
271
271
|
afterAmount: string;
|
272
272
|
};
|
273
|
-
export
|
273
|
+
export type MasterTag = {
|
274
274
|
version: string;
|
275
275
|
masterTagPacks: MasterTagPack[];
|
276
276
|
};
|
277
|
-
export
|
277
|
+
export type MasterTagPack = {
|
278
278
|
type: string;
|
279
279
|
fileName: string;
|
280
280
|
fileSize: number;
|
281
281
|
cryptoKey: string;
|
282
282
|
downloadUrl: string;
|
283
283
|
};
|
284
|
-
export
|
284
|
+
export type Reward = {
|
285
285
|
resourceType: ResourceType;
|
286
286
|
resourceId: string;
|
287
287
|
amount: string;
|
288
288
|
};
|
289
|
-
export
|
289
|
+
export type RewardResult = {
|
290
290
|
resourceType: ResourceType;
|
291
291
|
resourceId: string;
|
292
292
|
amount: number;
|
@@ -298,23 +298,23 @@ export declare type RewardResult = {
|
|
298
298
|
duplicateRewardResults: RewardResult[];
|
299
299
|
additionalGifts: Reward[];
|
300
300
|
};
|
301
|
-
export
|
301
|
+
export type UserBalance = {
|
302
302
|
freeBalance: number;
|
303
303
|
paidBalance: number;
|
304
304
|
};
|
305
|
-
export
|
305
|
+
export type UserBuddy = {
|
306
306
|
dailyRentalAmount: string;
|
307
307
|
};
|
308
|
-
export
|
308
|
+
export type UserCardSupport = {
|
309
309
|
number: number;
|
310
310
|
cardId: string;
|
311
311
|
removableTime: string;
|
312
312
|
};
|
313
|
-
export
|
313
|
+
export type UserDeck = {
|
314
314
|
number: number;
|
315
315
|
name: string;
|
316
316
|
};
|
317
|
-
export
|
317
|
+
export type UserDeckPosition = {
|
318
318
|
number: number;
|
319
319
|
position: number;
|
320
320
|
cardId: string;
|
@@ -324,13 +324,13 @@ export declare type UserDeckPosition = {
|
|
324
324
|
costumeId: string;
|
325
325
|
hairId: string;
|
326
326
|
};
|
327
|
-
export
|
327
|
+
export type UserGachaButton = {
|
328
328
|
gachaButtonId: string;
|
329
329
|
drawTime: string;
|
330
330
|
todayCount: number;
|
331
331
|
totalCount: number;
|
332
332
|
};
|
333
|
-
export
|
333
|
+
export type UserGift = {
|
334
334
|
giftId: string;
|
335
335
|
resourceType: ResourceType;
|
336
336
|
resourceId: string;
|
@@ -340,10 +340,10 @@ export declare type UserGift = {
|
|
340
340
|
limitTime: string;
|
341
341
|
photoGift: PhotoGift;
|
342
342
|
};
|
343
|
-
export
|
343
|
+
export type PhotoGift = {
|
344
344
|
name: string;
|
345
345
|
};
|
346
|
-
export
|
346
|
+
export type UserGiftHistory = {
|
347
347
|
giftId: string;
|
348
348
|
resourceType: ResourceType;
|
349
349
|
resourceId: string;
|
@@ -353,39 +353,39 @@ export declare type UserGiftHistory = {
|
|
353
353
|
receivedTime: string;
|
354
354
|
photoGift: PhotoGiftHistory;
|
355
355
|
};
|
356
|
-
export
|
356
|
+
export type PhotoGiftHistory = {
|
357
357
|
name: string;
|
358
358
|
};
|
359
|
-
export
|
359
|
+
export type UserInvite = {
|
360
360
|
inviteCode: string;
|
361
361
|
receivedHostRewardTotalAmount: string;
|
362
362
|
};
|
363
|
-
export
|
363
|
+
export type UserNotification = {
|
364
364
|
notificationType: NotificationType;
|
365
365
|
valid: boolean;
|
366
366
|
startTime: string;
|
367
367
|
};
|
368
|
-
export
|
368
|
+
export type UserPhotoReport = {
|
369
369
|
photos: UserPhoto[];
|
370
370
|
received: boolean;
|
371
371
|
};
|
372
|
-
export
|
372
|
+
export type UserPoint = {
|
373
373
|
pointType: PointType;
|
374
374
|
amount: string;
|
375
375
|
};
|
376
|
-
export
|
376
|
+
export type TwitterInfo = {
|
377
377
|
twitterUserID: string;
|
378
378
|
twitterScreenName: string;
|
379
379
|
};
|
380
|
-
export
|
380
|
+
export type UserPublic = {
|
381
381
|
serverUserId: string;
|
382
382
|
publicUserId: string;
|
383
383
|
};
|
384
|
-
export
|
384
|
+
export type UserStaff = {
|
385
385
|
parameterType: ParameterType;
|
386
386
|
level: number;
|
387
387
|
};
|
388
|
-
export
|
388
|
+
export type UserTotalCount = {
|
389
389
|
loginCount: string;
|
390
390
|
marketExchangeCount: string;
|
391
391
|
photoShootCount: string;
|
@@ -399,7 +399,7 @@ export declare type UserTotalCount = {
|
|
399
399
|
guildCheckInCount: string;
|
400
400
|
photoRetouchCount: string;
|
401
401
|
};
|
402
|
-
export
|
402
|
+
export type UserTutorial = {
|
403
403
|
tutorialType: TutorialType;
|
404
404
|
step: string;
|
405
405
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { UserCard } from "./card_types";
|
2
|
-
export
|
2
|
+
export type TransDeck = {
|
3
3
|
name: string;
|
4
4
|
userCards: {
|
5
5
|
index: number;
|
6
6
|
card: UserCard;
|
7
7
|
}[];
|
8
8
|
};
|
9
|
-
export
|
9
|
+
export type TransCard = {
|
10
10
|
cardId: string;
|
11
11
|
level: number;
|
12
12
|
rarity: number;
|
@@ -20,7 +20,7 @@ export declare type TransCard = {
|
|
20
20
|
mental: number;
|
21
21
|
technique: number;
|
22
22
|
};
|
23
|
-
export
|
23
|
+
export type CustomNote = {
|
24
24
|
ingamePos: number;
|
25
25
|
sequence: number;
|
26
26
|
privilege: "normal" | "opponent";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AttributeType } from "../proto/proto_enum";
|
2
2
|
import { Card } from "../proto/proto_master";
|
3
3
|
import { WapSkill } from "./skill_waps";
|
4
|
-
export
|
4
|
+
export type WapCard = Card & {
|
5
5
|
skill1: WapSkill;
|
6
6
|
skill2: WapSkill;
|
7
7
|
skill3: WapSkill;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { LiveBeat } from "../proto/proto_api";
|
2
|
-
export
|
2
|
+
export type WapLiveBeat = Omit<LiveBeat, "score"> & {
|
3
3
|
score: number;
|
4
4
|
};
|
5
|
-
export
|
5
|
+
export type WapPhotoAbility = {
|
6
6
|
photoAbilityId: string;
|
7
7
|
effectValue: string;
|
8
8
|
missionId: string;
|
@@ -2,12 +2,12 @@ import { AttributeType } from "../proto/proto_enum";
|
|
2
2
|
import { MusicChartPattern } from "../proto/proto_master";
|
3
3
|
import { QuestBase } from "../quest_types";
|
4
4
|
import { WapLiveAbility } from "./skill_waps";
|
5
|
-
export
|
5
|
+
export type WapQuest = QuestBase & {
|
6
6
|
musicName: string;
|
7
7
|
musicChartPatterns: WapMusicChartPattern[];
|
8
8
|
liveBonuses?: WapLiveAbility[];
|
9
9
|
getLaneType: (index: number) => AttributeType;
|
10
10
|
};
|
11
|
-
export
|
11
|
+
export type WapMusicChartPattern = MusicChartPattern & {
|
12
12
|
sequence: number;
|
13
13
|
};
|
@@ -1,24 +1,24 @@
|
|
1
1
|
import { SkillCategoryType } from "../proto/proto_enum";
|
2
2
|
import { Skill, SkillLevel, SkillTrigger, SkillDetail, SkillEfficacy, SkillTarget, LiveAbilityLevel } from "../proto/proto_master";
|
3
|
-
export
|
3
|
+
export type WapSkill = Skill & {
|
4
4
|
wapSkillLevels: WapSkillLevel[];
|
5
5
|
};
|
6
|
-
export
|
6
|
+
export type WapSkillLevel = SkillLevel & {
|
7
7
|
trigger?: SkillTrigger;
|
8
8
|
wapSkillDetails: WapSkillDetail[];
|
9
9
|
categoryType: SkillCategoryType;
|
10
10
|
name: string;
|
11
11
|
assetId: string;
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type WapSkillDetail = SkillDetail & {
|
14
14
|
trigger?: SkillTrigger;
|
15
15
|
efficacy: WapSkillEfficacy;
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export type WapSkillEfficacy = SkillEfficacy & {
|
18
18
|
skillTarget?: SkillTarget;
|
19
19
|
duration: number;
|
20
20
|
isInstant: boolean;
|
21
21
|
};
|
22
|
-
export
|
22
|
+
export type WapLiveAbility = LiveAbilityLevel & {
|
23
23
|
skill: WapSkillLevel;
|
24
24
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hoshimi-venus",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.6.0",
|
4
4
|
"author": "vibbit (https://github.com/MalitsPlus)",
|
5
5
|
"description": "Venus System Library (tentative)",
|
6
6
|
"keywords": [],
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"scripts": {
|
22
22
|
"build": "tsc",
|
23
|
-
"test": "
|
23
|
+
"test": "npx ts-node test/test.ts"
|
24
24
|
},
|
25
25
|
"dependencies": {
|
26
26
|
"lodash": "^4.17.21",
|
@@ -29,6 +29,7 @@
|
|
29
29
|
"devDependencies": {
|
30
30
|
"@types/lodash": "^4.14.191",
|
31
31
|
"@types/node": "^18.11.2",
|
32
|
-
"@types/uuid": "^9.0.0"
|
32
|
+
"@types/uuid": "^9.0.0",
|
33
|
+
"ts-node": "^10.9.1"
|
33
34
|
}
|
34
35
|
}
|