omniarena-nurvus-shared 0.40.0 → 0.43.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/dist/battle.d.ts +4 -1
- package/dist/users.d.ts +10 -0
- package/package.json +1 -1
package/dist/battle.d.ts
CHANGED
|
@@ -78,7 +78,6 @@ export type SkillDto = {
|
|
|
78
78
|
};
|
|
79
79
|
export type EffectDto = {
|
|
80
80
|
id: string;
|
|
81
|
-
isTrace?: boolean;
|
|
82
81
|
skillId: string;
|
|
83
82
|
userId: number;
|
|
84
83
|
description: string;
|
|
@@ -91,6 +90,8 @@ export type EffectDto = {
|
|
|
91
90
|
persistence: PersistenceType;
|
|
92
91
|
ignored: boolean;
|
|
93
92
|
paused: boolean;
|
|
93
|
+
isNew: boolean;
|
|
94
|
+
isTrace: boolean;
|
|
94
95
|
};
|
|
95
96
|
export type TargetingOptionsDto = {
|
|
96
97
|
self: boolean;
|
|
@@ -113,6 +114,8 @@ export type ChoosableDto = {
|
|
|
113
114
|
options: any[];
|
|
114
115
|
perTarget: boolean;
|
|
115
116
|
fromTarget: boolean;
|
|
117
|
+
min: number;
|
|
118
|
+
max: number;
|
|
116
119
|
picks: number;
|
|
117
120
|
};
|
|
118
121
|
export type SkillUseDto = {
|
package/dist/users.d.ts
CHANGED
|
@@ -8,6 +8,13 @@ export type RewardState = {
|
|
|
8
8
|
export type UserFlagsDto = {
|
|
9
9
|
changedDisplayName: boolean;
|
|
10
10
|
};
|
|
11
|
+
export type RepeatablePurchaseType = 'display_name_change';
|
|
12
|
+
export type ProfileChangePriceDto = {
|
|
13
|
+
field: 'displayName';
|
|
14
|
+
type: RepeatablePurchaseType;
|
|
15
|
+
shardCost: number;
|
|
16
|
+
regularShardCost: number;
|
|
17
|
+
};
|
|
11
18
|
export type UserDto = {
|
|
12
19
|
id: string;
|
|
13
20
|
username: string;
|
|
@@ -24,6 +31,7 @@ export type UserDto = {
|
|
|
24
31
|
shards: number;
|
|
25
32
|
rewardState: RewardState;
|
|
26
33
|
flags: UserFlagsDto;
|
|
34
|
+
profileChangePrices: ProfileChangePriceDto[];
|
|
27
35
|
skinId: string;
|
|
28
36
|
colorPrimary: string;
|
|
29
37
|
colorSecondary: string;
|
|
@@ -79,6 +87,8 @@ export type ResetPasswordData = {
|
|
|
79
87
|
newPassword: string;
|
|
80
88
|
};
|
|
81
89
|
export type UpdateProfileData = {
|
|
90
|
+
/** The total shown to the user. The server independently calculates the charge. */
|
|
91
|
+
expectedShardCost: number;
|
|
82
92
|
displayName: string;
|
|
83
93
|
title?: string;
|
|
84
94
|
avatar?: string | null;
|