wenum 1.3.0 → 1.4.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/index.d.mts CHANGED
@@ -32,10 +32,6 @@ declare enum ProfileStatus {
32
32
  Active = 1,
33
33
  Inactive = 2
34
34
  }
35
- declare enum ProfileImageType {
36
- Avatar = 0,
37
- Bg = 1
38
- }
39
35
 
40
36
  declare enum MarketType {
41
37
  Zero = 0,
@@ -93,6 +89,12 @@ declare enum AttendanceStatus {
93
89
  Left = 5
94
90
  }
95
91
 
92
+ declare enum ChallengeStatus {
93
+ None = 0,
94
+ Open = 1,
95
+ Closed = 2
96
+ }
97
+
96
98
  declare enum PostType {
97
99
  None = 0,
98
100
  Text = 1,
@@ -212,7 +214,8 @@ declare enum SubjectType {
212
214
  None = 0,
213
215
  Post = 1,
214
216
  Rating = 2,
215
- Reply = 3
217
+ Comment = 3,
218
+ Reply = 4
216
219
  }
217
220
 
218
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfileImageType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
221
+ export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.d.ts CHANGED
@@ -32,10 +32,6 @@ declare enum ProfileStatus {
32
32
  Active = 1,
33
33
  Inactive = 2
34
34
  }
35
- declare enum ProfileImageType {
36
- Avatar = 0,
37
- Bg = 1
38
- }
39
35
 
40
36
  declare enum MarketType {
41
37
  Zero = 0,
@@ -93,6 +89,12 @@ declare enum AttendanceStatus {
93
89
  Left = 5
94
90
  }
95
91
 
92
+ declare enum ChallengeStatus {
93
+ None = 0,
94
+ Open = 1,
95
+ Closed = 2
96
+ }
97
+
96
98
  declare enum PostType {
97
99
  None = 0,
98
100
  Text = 1,
@@ -212,7 +214,8 @@ declare enum SubjectType {
212
214
  None = 0,
213
215
  Post = 1,
214
216
  Rating = 2,
215
- Reply = 3
217
+ Comment = 3,
218
+ Reply = 4
216
219
  }
217
220
 
218
- export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfileImageType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
221
+ export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, BuddyingStatus, ChallengeStatus, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PetGender, PostPrivacy, PostType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.js CHANGED
@@ -25,6 +25,7 @@ __export(index_exports, {
25
25
  AttendanceStatus: () => AttendanceStatus,
26
26
  BasketballPosition: () => BasketballPosition,
27
27
  BuddyingStatus: () => BuddyingStatus,
28
+ ChallengeStatus: () => ChallengeStatus,
28
29
  CollectionType: () => CollectionType,
29
30
  ConnectionType: () => ConnectionType,
30
31
  FollowingStatus: () => FollowingStatus,
@@ -37,7 +38,6 @@ __export(index_exports, {
37
38
  PetGender: () => PetGender,
38
39
  PostPrivacy: () => PostPrivacy,
39
40
  PostType: () => PostType,
40
- ProfileImageType: () => ProfileImageType,
41
41
  ProfilePermission: () => ProfilePermission,
42
42
  ProfilePrivacy: () => ProfilePrivacy,
43
43
  ProfileStatus: () => ProfileStatus,
@@ -90,11 +90,6 @@ var ProfileStatus = /* @__PURE__ */ ((ProfileStatus2) => {
90
90
  ProfileStatus2[ProfileStatus2["Inactive"] = 2] = "Inactive";
91
91
  return ProfileStatus2;
92
92
  })(ProfileStatus || {});
93
- var ProfileImageType = /* @__PURE__ */ ((ProfileImageType2) => {
94
- ProfileImageType2[ProfileImageType2["Avatar"] = 0] = "Avatar";
95
- ProfileImageType2[ProfileImageType2["Bg"] = 1] = "Bg";
96
- return ProfileImageType2;
97
- })(ProfileImageType || {});
98
93
 
99
94
  // src/page/profile/market.ts
100
95
  var MarketType = /* @__PURE__ */ ((MarketType2) => {
@@ -160,6 +155,14 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
160
155
  return AttendanceStatus2;
161
156
  })(AttendanceStatus || {});
162
157
 
158
+ // src/page/profile/common.ts
159
+ var ChallengeStatus = /* @__PURE__ */ ((ChallengeStatus2) => {
160
+ ChallengeStatus2[ChallengeStatus2["None"] = 0] = "None";
161
+ ChallengeStatus2[ChallengeStatus2["Open"] = 1] = "Open";
162
+ ChallengeStatus2[ChallengeStatus2["Closed"] = 2] = "Closed";
163
+ return ChallengeStatus2;
164
+ })(ChallengeStatus || {});
165
+
163
166
  // src/page/post.ts
164
167
  var PostType = /* @__PURE__ */ ((PostType2) => {
165
168
  PostType2[PostType2["None"] = 0] = "None";
@@ -303,7 +306,8 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
303
306
  SubjectType2[SubjectType2["None"] = 0] = "None";
304
307
  SubjectType2[SubjectType2["Post"] = 1] = "Post";
305
308
  SubjectType2[SubjectType2["Rating"] = 2] = "Rating";
306
- SubjectType2[SubjectType2["Reply"] = 3] = "Reply";
309
+ SubjectType2[SubjectType2["Comment"] = 3] = "Comment";
310
+ SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
307
311
  return SubjectType2;
308
312
  })(SubjectType || {});
309
313
  // Annotate the CommonJS export names for ESM import in node:
@@ -313,6 +317,7 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
313
317
  AttendanceStatus,
314
318
  BasketballPosition,
315
319
  BuddyingStatus,
320
+ ChallengeStatus,
316
321
  CollectionType,
317
322
  ConnectionType,
318
323
  FollowingStatus,
@@ -325,7 +330,6 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
325
330
  PetGender,
326
331
  PostPrivacy,
327
332
  PostType,
328
- ProfileImageType,
329
333
  ProfilePermission,
330
334
  ProfilePrivacy,
331
335
  ProfileStatus,
package/dist/index.mjs CHANGED
@@ -39,11 +39,6 @@ var ProfileStatus = /* @__PURE__ */ ((ProfileStatus2) => {
39
39
  ProfileStatus2[ProfileStatus2["Inactive"] = 2] = "Inactive";
40
40
  return ProfileStatus2;
41
41
  })(ProfileStatus || {});
42
- var ProfileImageType = /* @__PURE__ */ ((ProfileImageType2) => {
43
- ProfileImageType2[ProfileImageType2["Avatar"] = 0] = "Avatar";
44
- ProfileImageType2[ProfileImageType2["Bg"] = 1] = "Bg";
45
- return ProfileImageType2;
46
- })(ProfileImageType || {});
47
42
 
48
43
  // src/page/profile/market.ts
49
44
  var MarketType = /* @__PURE__ */ ((MarketType2) => {
@@ -109,6 +104,14 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
109
104
  return AttendanceStatus2;
110
105
  })(AttendanceStatus || {});
111
106
 
107
+ // src/page/profile/common.ts
108
+ var ChallengeStatus = /* @__PURE__ */ ((ChallengeStatus2) => {
109
+ ChallengeStatus2[ChallengeStatus2["None"] = 0] = "None";
110
+ ChallengeStatus2[ChallengeStatus2["Open"] = 1] = "Open";
111
+ ChallengeStatus2[ChallengeStatus2["Closed"] = 2] = "Closed";
112
+ return ChallengeStatus2;
113
+ })(ChallengeStatus || {});
114
+
112
115
  // src/page/post.ts
113
116
  var PostType = /* @__PURE__ */ ((PostType2) => {
114
117
  PostType2[PostType2["None"] = 0] = "None";
@@ -252,7 +255,8 @@ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
252
255
  SubjectType2[SubjectType2["None"] = 0] = "None";
253
256
  SubjectType2[SubjectType2["Post"] = 1] = "Post";
254
257
  SubjectType2[SubjectType2["Rating"] = 2] = "Rating";
255
- SubjectType2[SubjectType2["Reply"] = 3] = "Reply";
258
+ SubjectType2[SubjectType2["Comment"] = 3] = "Comment";
259
+ SubjectType2[SubjectType2["Reply"] = 4] = "Reply";
256
260
  return SubjectType2;
257
261
  })(SubjectType || {});
258
262
  export {
@@ -261,6 +265,7 @@ export {
261
265
  AttendanceStatus,
262
266
  BasketballPosition,
263
267
  BuddyingStatus,
268
+ ChallengeStatus,
264
269
  CollectionType,
265
270
  ConnectionType,
266
271
  FollowingStatus,
@@ -273,7 +278,6 @@ export {
273
278
  PetGender,
274
279
  PostPrivacy,
275
280
  PostType,
276
- ProfileImageType,
277
281
  ProfilePermission,
278
282
  ProfilePrivacy,
279
283
  ProfileStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
package/src/comment.ts CHANGED
@@ -2,5 +2,6 @@ export enum SubjectType {
2
2
  None,
3
3
  Post,
4
4
  Rating,
5
+ Comment,
5
6
  Reply,
6
7
  }
@@ -0,0 +1,3 @@
1
+ export enum ChallengeStatus {
2
+ None, Open, Closed,
3
+ }
@@ -2,4 +2,5 @@ export * from './profile';
2
2
  export * from './market';
3
3
  export * from './collection';
4
4
  export * from './user';
5
- export * from './event';
5
+ export * from './event';
6
+ export * from './common';
@@ -20,8 +20,3 @@ export enum ProfilePermission {
20
20
  export enum ProfileStatus {
21
21
  None, Active, Inactive,
22
22
  }
23
-
24
- export enum ProfileImageType {
25
- Avatar,
26
- Bg,
27
- }