wenum 1.0.0 → 1.2.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
@@ -5,19 +5,6 @@ declare enum PageType {
5
5
  Loi = 3
6
6
  }
7
7
 
8
- declare enum PostType {
9
- None = 0,
10
- Text = 1,
11
- Image = 2,
12
- Poll = 3
13
- }
14
- declare enum PostPrivacy {
15
- Public = 0,
16
- Private = 1,
17
- Parent = 2,
18
- Internal = 3
19
- }
20
-
21
8
  declare enum ProfileType {
22
9
  None = 0,
23
10
  User = 1,
@@ -50,13 +37,6 @@ declare enum ProfileImageType {
50
37
  Bg = 1
51
38
  }
52
39
 
53
- declare enum LocationType {
54
- None = 0,
55
- Point = 1,
56
- Street = 2,
57
- City = 3
58
- }
59
-
60
40
  declare enum MarketType {
61
41
  Zero = 0,
62
42
  One = 1,
@@ -113,6 +93,26 @@ declare enum AttendanceStatus {
113
93
  Left = 5
114
94
  }
115
95
 
96
+ declare enum PostType {
97
+ None = 0,
98
+ Text = 1,
99
+ Image = 2,
100
+ Poll = 3
101
+ }
102
+ declare enum PostPrivacy {
103
+ Public = 0,
104
+ Private = 1,
105
+ Parent = 2,
106
+ Internal = 3
107
+ }
108
+
109
+ declare enum LocationType {
110
+ None = 0,
111
+ Point = 1,
112
+ Street = 2,
113
+ City = 3
114
+ }
115
+
116
116
  declare enum AccountStatus {
117
117
  None = 0,
118
118
  RegistrationNeedBasicInfo = 1,
@@ -120,11 +120,10 @@ declare enum AccountStatus {
120
120
  Active = 3,
121
121
  Inactive = 4
122
122
  }
123
-
124
- declare enum PetGender {
123
+ declare enum AdminAccountStatus {
125
124
  None = 0,
126
- Male = 1,
127
- Female = 2
125
+ Active = 1,
126
+ Inactive = 2
128
127
  }
129
128
 
130
129
  declare enum PartneringStatus {
@@ -192,6 +191,12 @@ declare enum TennisLevel {
192
191
  SixAbove = 9
193
192
  }
194
193
 
194
+ declare enum PetGender {
195
+ None = 0,
196
+ Male = 1,
197
+ Female = 2
198
+ }
199
+
195
200
  declare enum PageUpdateType {
196
201
  None = 0,
197
202
  CreatePost = 1,
@@ -203,4 +208,11 @@ declare enum ConnectionType {
203
208
  Following = 2
204
209
  }
205
210
 
206
- export { AccountStatus, AttendanceStatus, BasketballPosition, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PartneringStatus, PetGender, PostPrivacy, PostType, ProfileImageType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, TennisBackhand, TennisLevel };
211
+ declare enum SubjectType {
212
+ None = 0,
213
+ Post = 1,
214
+ Rating = 2,
215
+ Comment = 3
216
+ }
217
+
218
+ export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PartneringStatus, PetGender, PostPrivacy, PostType, ProfileImageType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.d.ts CHANGED
@@ -5,19 +5,6 @@ declare enum PageType {
5
5
  Loi = 3
6
6
  }
7
7
 
8
- declare enum PostType {
9
- None = 0,
10
- Text = 1,
11
- Image = 2,
12
- Poll = 3
13
- }
14
- declare enum PostPrivacy {
15
- Public = 0,
16
- Private = 1,
17
- Parent = 2,
18
- Internal = 3
19
- }
20
-
21
8
  declare enum ProfileType {
22
9
  None = 0,
23
10
  User = 1,
@@ -50,13 +37,6 @@ declare enum ProfileImageType {
50
37
  Bg = 1
51
38
  }
52
39
 
53
- declare enum LocationType {
54
- None = 0,
55
- Point = 1,
56
- Street = 2,
57
- City = 3
58
- }
59
-
60
40
  declare enum MarketType {
61
41
  Zero = 0,
62
42
  One = 1,
@@ -113,6 +93,26 @@ declare enum AttendanceStatus {
113
93
  Left = 5
114
94
  }
115
95
 
96
+ declare enum PostType {
97
+ None = 0,
98
+ Text = 1,
99
+ Image = 2,
100
+ Poll = 3
101
+ }
102
+ declare enum PostPrivacy {
103
+ Public = 0,
104
+ Private = 1,
105
+ Parent = 2,
106
+ Internal = 3
107
+ }
108
+
109
+ declare enum LocationType {
110
+ None = 0,
111
+ Point = 1,
112
+ Street = 2,
113
+ City = 3
114
+ }
115
+
116
116
  declare enum AccountStatus {
117
117
  None = 0,
118
118
  RegistrationNeedBasicInfo = 1,
@@ -120,11 +120,10 @@ declare enum AccountStatus {
120
120
  Active = 3,
121
121
  Inactive = 4
122
122
  }
123
-
124
- declare enum PetGender {
123
+ declare enum AdminAccountStatus {
125
124
  None = 0,
126
- Male = 1,
127
- Female = 2
125
+ Active = 1,
126
+ Inactive = 2
128
127
  }
129
128
 
130
129
  declare enum PartneringStatus {
@@ -192,6 +191,12 @@ declare enum TennisLevel {
192
191
  SixAbove = 9
193
192
  }
194
193
 
194
+ declare enum PetGender {
195
+ None = 0,
196
+ Male = 1,
197
+ Female = 2
198
+ }
199
+
195
200
  declare enum PageUpdateType {
196
201
  None = 0,
197
202
  CreatePost = 1,
@@ -203,4 +208,11 @@ declare enum ConnectionType {
203
208
  Following = 2
204
209
  }
205
210
 
206
- export { AccountStatus, AttendanceStatus, BasketballPosition, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PartneringStatus, PetGender, PostPrivacy, PostType, ProfileImageType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, TennisBackhand, TennisLevel };
211
+ declare enum SubjectType {
212
+ None = 0,
213
+ Post = 1,
214
+ Rating = 2,
215
+ Comment = 3
216
+ }
217
+
218
+ export { AccountStatus, AdminAccountStatus, AttendanceStatus, BasketballPosition, CollectionType, ConnectionType, FollowingStatus, Handedness, LocationType, MarketType, MemberingStatus, PageType, PageUpdateType, PartneringStatus, PetGender, PostPrivacy, PostType, ProfileImageType, ProfilePermission, ProfilePrivacy, ProfileStatus, ProfileType, Pronoun, SubjectType, TennisBackhand, TennisLevel };
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AccountStatus: () => AccountStatus,
24
+ AdminAccountStatus: () => AdminAccountStatus,
24
25
  AttendanceStatus: () => AttendanceStatus,
25
26
  BasketballPosition: () => BasketballPosition,
26
27
  CollectionType: () => CollectionType,
@@ -42,12 +43,13 @@ __export(index_exports, {
42
43
  ProfileStatus: () => ProfileStatus,
43
44
  ProfileType: () => ProfileType,
44
45
  Pronoun: () => Pronoun,
46
+ SubjectType: () => SubjectType,
45
47
  TennisBackhand: () => TennisBackhand,
46
48
  TennisLevel: () => TennisLevel
47
49
  });
48
50
  module.exports = __toCommonJS(index_exports);
49
51
 
50
- // src/page.ts
52
+ // src/page/page.ts
51
53
  var PageType = /* @__PURE__ */ ((PageType2) => {
52
54
  PageType2[PageType2["None"] = 0] = "None";
53
55
  PageType2[PageType2["Profile"] = 1] = "Profile";
@@ -56,23 +58,7 @@ var PageType = /* @__PURE__ */ ((PageType2) => {
56
58
  return PageType2;
57
59
  })(PageType || {});
58
60
 
59
- // src/post.ts
60
- var PostType = /* @__PURE__ */ ((PostType2) => {
61
- PostType2[PostType2["None"] = 0] = "None";
62
- PostType2[PostType2["Text"] = 1] = "Text";
63
- PostType2[PostType2["Image"] = 2] = "Image";
64
- PostType2[PostType2["Poll"] = 3] = "Poll";
65
- return PostType2;
66
- })(PostType || {});
67
- var PostPrivacy = /* @__PURE__ */ ((PostPrivacy2) => {
68
- PostPrivacy2[PostPrivacy2["Public"] = 0] = "Public";
69
- PostPrivacy2[PostPrivacy2["Private"] = 1] = "Private";
70
- PostPrivacy2[PostPrivacy2["Parent"] = 2] = "Parent";
71
- PostPrivacy2[PostPrivacy2["Internal"] = 3] = "Internal";
72
- return PostPrivacy2;
73
- })(PostPrivacy || {});
74
-
75
- // src/profile.ts
61
+ // src/page/profile/profile.ts
76
62
  var ProfileType = /* @__PURE__ */ ((ProfileType2) => {
77
63
  ProfileType2[ProfileType2["None"] = 0] = "None";
78
64
  ProfileType2[ProfileType2["User"] = 1] = "User";
@@ -110,16 +96,7 @@ var ProfileImageType = /* @__PURE__ */ ((ProfileImageType2) => {
110
96
  return ProfileImageType2;
111
97
  })(ProfileImageType || {});
112
98
 
113
- // src/location.ts
114
- var LocationType = /* @__PURE__ */ ((LocationType2) => {
115
- LocationType2[LocationType2["None"] = 0] = "None";
116
- LocationType2[LocationType2["Point"] = 1] = "Point";
117
- LocationType2[LocationType2["Street"] = 2] = "Street";
118
- LocationType2[LocationType2["City"] = 3] = "City";
119
- return LocationType2;
120
- })(LocationType || {});
121
-
122
- // src/market.ts
99
+ // src/page/profile/market.ts
123
100
  var MarketType = /* @__PURE__ */ ((MarketType2) => {
124
101
  MarketType2[MarketType2["Zero"] = 0] = "Zero";
125
102
  MarketType2[MarketType2["One"] = 1] = "One";
@@ -148,7 +125,7 @@ var MarketType = /* @__PURE__ */ ((MarketType2) => {
148
125
  return MarketType2;
149
126
  })(MarketType || {});
150
127
 
151
- // src/collection.ts
128
+ // src/page/profile/collection.ts
152
129
  var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
153
130
  CollectionType2[CollectionType2["Zero"] = 0] = "Zero";
154
131
  CollectionType2[CollectionType2["One"] = 1] = "One";
@@ -164,7 +141,7 @@ var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
164
141
  return CollectionType2;
165
142
  })(CollectionType || {});
166
143
 
167
- // src/user.ts
144
+ // src/page/profile/user.ts
168
145
  var Pronoun = /* @__PURE__ */ ((Pronoun2) => {
169
146
  Pronoun2[Pronoun2["None"] = 0] = "None";
170
147
  Pronoun2[Pronoun2["He"] = 1] = "He";
@@ -172,7 +149,7 @@ var Pronoun = /* @__PURE__ */ ((Pronoun2) => {
172
149
  return Pronoun2;
173
150
  })(Pronoun || {});
174
151
 
175
- // src/event.ts
152
+ // src/page/profile/event.ts
176
153
  var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
177
154
  AttendanceStatus2[AttendanceStatus2["None"] = 0] = "None";
178
155
  AttendanceStatus2[AttendanceStatus2["Pending"] = 1] = "Pending";
@@ -183,6 +160,31 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
183
160
  return AttendanceStatus2;
184
161
  })(AttendanceStatus || {});
185
162
 
163
+ // src/page/post.ts
164
+ var PostType = /* @__PURE__ */ ((PostType2) => {
165
+ PostType2[PostType2["None"] = 0] = "None";
166
+ PostType2[PostType2["Text"] = 1] = "Text";
167
+ PostType2[PostType2["Image"] = 2] = "Image";
168
+ PostType2[PostType2["Poll"] = 3] = "Poll";
169
+ return PostType2;
170
+ })(PostType || {});
171
+ var PostPrivacy = /* @__PURE__ */ ((PostPrivacy2) => {
172
+ PostPrivacy2[PostPrivacy2["Public"] = 0] = "Public";
173
+ PostPrivacy2[PostPrivacy2["Private"] = 1] = "Private";
174
+ PostPrivacy2[PostPrivacy2["Parent"] = 2] = "Parent";
175
+ PostPrivacy2[PostPrivacy2["Internal"] = 3] = "Internal";
176
+ return PostPrivacy2;
177
+ })(PostPrivacy || {});
178
+
179
+ // src/page/location.ts
180
+ var LocationType = /* @__PURE__ */ ((LocationType2) => {
181
+ LocationType2[LocationType2["None"] = 0] = "None";
182
+ LocationType2[LocationType2["Point"] = 1] = "Point";
183
+ LocationType2[LocationType2["Street"] = 2] = "Street";
184
+ LocationType2[LocationType2["City"] = 3] = "City";
185
+ return LocationType2;
186
+ })(LocationType || {});
187
+
186
188
  // src/auth.ts
187
189
  var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
188
190
  AccountStatus2[AccountStatus2["None"] = 0] = "None";
@@ -192,14 +194,12 @@ var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
192
194
  AccountStatus2[AccountStatus2["Inactive"] = 4] = "Inactive";
193
195
  return AccountStatus2;
194
196
  })(AccountStatus || {});
195
-
196
- // src/pet.ts
197
- var PetGender = /* @__PURE__ */ ((PetGender2) => {
198
- PetGender2[PetGender2["None"] = 0] = "None";
199
- PetGender2[PetGender2["Male"] = 1] = "Male";
200
- PetGender2[PetGender2["Female"] = 2] = "Female";
201
- return PetGender2;
202
- })(PetGender || {});
197
+ var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
198
+ AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
199
+ AdminAccountStatus2[AdminAccountStatus2["Active"] = 1] = "Active";
200
+ AdminAccountStatus2[AdminAccountStatus2["Inactive"] = 2] = "Inactive";
201
+ return AdminAccountStatus2;
202
+ })(AdminAccountStatus || {});
203
203
 
204
204
  // src/connection.ts
205
205
  var PartneringStatus = /* @__PURE__ */ ((PartneringStatus2) => {
@@ -276,6 +276,14 @@ var TennisLevel = /* @__PURE__ */ ((TennisLevel2) => {
276
276
  return TennisLevel2;
277
277
  })(TennisLevel || {});
278
278
 
279
+ // src/attribute/pet.ts
280
+ var PetGender = /* @__PURE__ */ ((PetGender2) => {
281
+ PetGender2[PetGender2["None"] = 0] = "None";
282
+ PetGender2[PetGender2["Male"] = 1] = "Male";
283
+ PetGender2[PetGender2["Female"] = 2] = "Female";
284
+ return PetGender2;
285
+ })(PetGender || {});
286
+
279
287
  // src/pageUpdate.ts
280
288
  var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
281
289
  PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
@@ -289,9 +297,19 @@ var ConnectionType = /* @__PURE__ */ ((ConnectionType2) => {
289
297
  ConnectionType2[ConnectionType2["Following"] = 2] = "Following";
290
298
  return ConnectionType2;
291
299
  })(ConnectionType || {});
300
+
301
+ // src/comment.ts
302
+ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
303
+ SubjectType2[SubjectType2["None"] = 0] = "None";
304
+ SubjectType2[SubjectType2["Post"] = 1] = "Post";
305
+ SubjectType2[SubjectType2["Rating"] = 2] = "Rating";
306
+ SubjectType2[SubjectType2["Comment"] = 3] = "Comment";
307
+ return SubjectType2;
308
+ })(SubjectType || {});
292
309
  // Annotate the CommonJS export names for ESM import in node:
293
310
  0 && (module.exports = {
294
311
  AccountStatus,
312
+ AdminAccountStatus,
295
313
  AttendanceStatus,
296
314
  BasketballPosition,
297
315
  CollectionType,
@@ -313,6 +331,7 @@ var ConnectionType = /* @__PURE__ */ ((ConnectionType2) => {
313
331
  ProfileStatus,
314
332
  ProfileType,
315
333
  Pronoun,
334
+ SubjectType,
316
335
  TennisBackhand,
317
336
  TennisLevel
318
337
  });
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // src/page.ts
1
+ // src/page/page.ts
2
2
  var PageType = /* @__PURE__ */ ((PageType2) => {
3
3
  PageType2[PageType2["None"] = 0] = "None";
4
4
  PageType2[PageType2["Profile"] = 1] = "Profile";
@@ -7,23 +7,7 @@ var PageType = /* @__PURE__ */ ((PageType2) => {
7
7
  return PageType2;
8
8
  })(PageType || {});
9
9
 
10
- // src/post.ts
11
- var PostType = /* @__PURE__ */ ((PostType2) => {
12
- PostType2[PostType2["None"] = 0] = "None";
13
- PostType2[PostType2["Text"] = 1] = "Text";
14
- PostType2[PostType2["Image"] = 2] = "Image";
15
- PostType2[PostType2["Poll"] = 3] = "Poll";
16
- return PostType2;
17
- })(PostType || {});
18
- var PostPrivacy = /* @__PURE__ */ ((PostPrivacy2) => {
19
- PostPrivacy2[PostPrivacy2["Public"] = 0] = "Public";
20
- PostPrivacy2[PostPrivacy2["Private"] = 1] = "Private";
21
- PostPrivacy2[PostPrivacy2["Parent"] = 2] = "Parent";
22
- PostPrivacy2[PostPrivacy2["Internal"] = 3] = "Internal";
23
- return PostPrivacy2;
24
- })(PostPrivacy || {});
25
-
26
- // src/profile.ts
10
+ // src/page/profile/profile.ts
27
11
  var ProfileType = /* @__PURE__ */ ((ProfileType2) => {
28
12
  ProfileType2[ProfileType2["None"] = 0] = "None";
29
13
  ProfileType2[ProfileType2["User"] = 1] = "User";
@@ -61,16 +45,7 @@ var ProfileImageType = /* @__PURE__ */ ((ProfileImageType2) => {
61
45
  return ProfileImageType2;
62
46
  })(ProfileImageType || {});
63
47
 
64
- // src/location.ts
65
- var LocationType = /* @__PURE__ */ ((LocationType2) => {
66
- LocationType2[LocationType2["None"] = 0] = "None";
67
- LocationType2[LocationType2["Point"] = 1] = "Point";
68
- LocationType2[LocationType2["Street"] = 2] = "Street";
69
- LocationType2[LocationType2["City"] = 3] = "City";
70
- return LocationType2;
71
- })(LocationType || {});
72
-
73
- // src/market.ts
48
+ // src/page/profile/market.ts
74
49
  var MarketType = /* @__PURE__ */ ((MarketType2) => {
75
50
  MarketType2[MarketType2["Zero"] = 0] = "Zero";
76
51
  MarketType2[MarketType2["One"] = 1] = "One";
@@ -99,7 +74,7 @@ var MarketType = /* @__PURE__ */ ((MarketType2) => {
99
74
  return MarketType2;
100
75
  })(MarketType || {});
101
76
 
102
- // src/collection.ts
77
+ // src/page/profile/collection.ts
103
78
  var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
104
79
  CollectionType2[CollectionType2["Zero"] = 0] = "Zero";
105
80
  CollectionType2[CollectionType2["One"] = 1] = "One";
@@ -115,7 +90,7 @@ var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
115
90
  return CollectionType2;
116
91
  })(CollectionType || {});
117
92
 
118
- // src/user.ts
93
+ // src/page/profile/user.ts
119
94
  var Pronoun = /* @__PURE__ */ ((Pronoun2) => {
120
95
  Pronoun2[Pronoun2["None"] = 0] = "None";
121
96
  Pronoun2[Pronoun2["He"] = 1] = "He";
@@ -123,7 +98,7 @@ var Pronoun = /* @__PURE__ */ ((Pronoun2) => {
123
98
  return Pronoun2;
124
99
  })(Pronoun || {});
125
100
 
126
- // src/event.ts
101
+ // src/page/profile/event.ts
127
102
  var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
128
103
  AttendanceStatus2[AttendanceStatus2["None"] = 0] = "None";
129
104
  AttendanceStatus2[AttendanceStatus2["Pending"] = 1] = "Pending";
@@ -134,6 +109,31 @@ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
134
109
  return AttendanceStatus2;
135
110
  })(AttendanceStatus || {});
136
111
 
112
+ // src/page/post.ts
113
+ var PostType = /* @__PURE__ */ ((PostType2) => {
114
+ PostType2[PostType2["None"] = 0] = "None";
115
+ PostType2[PostType2["Text"] = 1] = "Text";
116
+ PostType2[PostType2["Image"] = 2] = "Image";
117
+ PostType2[PostType2["Poll"] = 3] = "Poll";
118
+ return PostType2;
119
+ })(PostType || {});
120
+ var PostPrivacy = /* @__PURE__ */ ((PostPrivacy2) => {
121
+ PostPrivacy2[PostPrivacy2["Public"] = 0] = "Public";
122
+ PostPrivacy2[PostPrivacy2["Private"] = 1] = "Private";
123
+ PostPrivacy2[PostPrivacy2["Parent"] = 2] = "Parent";
124
+ PostPrivacy2[PostPrivacy2["Internal"] = 3] = "Internal";
125
+ return PostPrivacy2;
126
+ })(PostPrivacy || {});
127
+
128
+ // src/page/location.ts
129
+ var LocationType = /* @__PURE__ */ ((LocationType2) => {
130
+ LocationType2[LocationType2["None"] = 0] = "None";
131
+ LocationType2[LocationType2["Point"] = 1] = "Point";
132
+ LocationType2[LocationType2["Street"] = 2] = "Street";
133
+ LocationType2[LocationType2["City"] = 3] = "City";
134
+ return LocationType2;
135
+ })(LocationType || {});
136
+
137
137
  // src/auth.ts
138
138
  var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
139
139
  AccountStatus2[AccountStatus2["None"] = 0] = "None";
@@ -143,14 +143,12 @@ var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
143
143
  AccountStatus2[AccountStatus2["Inactive"] = 4] = "Inactive";
144
144
  return AccountStatus2;
145
145
  })(AccountStatus || {});
146
-
147
- // src/pet.ts
148
- var PetGender = /* @__PURE__ */ ((PetGender2) => {
149
- PetGender2[PetGender2["None"] = 0] = "None";
150
- PetGender2[PetGender2["Male"] = 1] = "Male";
151
- PetGender2[PetGender2["Female"] = 2] = "Female";
152
- return PetGender2;
153
- })(PetGender || {});
146
+ var AdminAccountStatus = /* @__PURE__ */ ((AdminAccountStatus2) => {
147
+ AdminAccountStatus2[AdminAccountStatus2["None"] = 0] = "None";
148
+ AdminAccountStatus2[AdminAccountStatus2["Active"] = 1] = "Active";
149
+ AdminAccountStatus2[AdminAccountStatus2["Inactive"] = 2] = "Inactive";
150
+ return AdminAccountStatus2;
151
+ })(AdminAccountStatus || {});
154
152
 
155
153
  // src/connection.ts
156
154
  var PartneringStatus = /* @__PURE__ */ ((PartneringStatus2) => {
@@ -227,6 +225,14 @@ var TennisLevel = /* @__PURE__ */ ((TennisLevel2) => {
227
225
  return TennisLevel2;
228
226
  })(TennisLevel || {});
229
227
 
228
+ // src/attribute/pet.ts
229
+ var PetGender = /* @__PURE__ */ ((PetGender2) => {
230
+ PetGender2[PetGender2["None"] = 0] = "None";
231
+ PetGender2[PetGender2["Male"] = 1] = "Male";
232
+ PetGender2[PetGender2["Female"] = 2] = "Female";
233
+ return PetGender2;
234
+ })(PetGender || {});
235
+
230
236
  // src/pageUpdate.ts
231
237
  var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
232
238
  PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
@@ -240,8 +246,18 @@ var ConnectionType = /* @__PURE__ */ ((ConnectionType2) => {
240
246
  ConnectionType2[ConnectionType2["Following"] = 2] = "Following";
241
247
  return ConnectionType2;
242
248
  })(ConnectionType || {});
249
+
250
+ // src/comment.ts
251
+ var SubjectType = /* @__PURE__ */ ((SubjectType2) => {
252
+ SubjectType2[SubjectType2["None"] = 0] = "None";
253
+ SubjectType2[SubjectType2["Post"] = 1] = "Post";
254
+ SubjectType2[SubjectType2["Rating"] = 2] = "Rating";
255
+ SubjectType2[SubjectType2["Comment"] = 3] = "Comment";
256
+ return SubjectType2;
257
+ })(SubjectType || {});
243
258
  export {
244
259
  AccountStatus,
260
+ AdminAccountStatus,
245
261
  AttendanceStatus,
246
262
  BasketballPosition,
247
263
  CollectionType,
@@ -263,6 +279,7 @@ export {
263
279
  ProfileStatus,
264
280
  ProfileType,
265
281
  Pronoun,
282
+ SubjectType,
266
283
  TennisBackhand,
267
284
  TennisLevel
268
285
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -1,2 +1,3 @@
1
1
  export * from './common';
2
- export * from './sports';
2
+ export * from './sports';
3
+ export * from './pet';
package/src/auth.ts CHANGED
@@ -4,4 +4,10 @@ export enum AccountStatus {
4
4
  RegistrationNeedInterests,
5
5
  Active,
6
6
  Inactive,
7
+ }
8
+
9
+ export enum AdminAccountStatus {
10
+ None,
11
+ Active,
12
+ Inactive,
7
13
  }
package/src/comment.ts ADDED
@@ -0,0 +1,6 @@
1
+ export enum SubjectType {
2
+ None,
3
+ Post,
4
+ Rating,
5
+ Comment,
6
+ }
package/src/index.ts CHANGED
@@ -1,13 +1,6 @@
1
1
  export * from './page';
2
- export * from './post';
3
- export * from './profile';
4
- export * from './location';
5
- export * from './market';
6
- export * from './collection';
7
- export * from './user';
8
- export * from './event';
9
2
  export * from './auth';
10
- export * from './pet';
11
3
  export * from './connection';
12
4
  export * from './attribute';
13
- export * from './pageUpdate';
5
+ export * from './pageUpdate';
6
+ export * from './comment';
@@ -0,0 +1,5 @@
1
+ export * from './page';
2
+ export * from './profile';
3
+ export * from './post';
4
+ export * from './location';
5
+
@@ -0,0 +1,5 @@
1
+ export * from './profile';
2
+ export * from './market';
3
+ export * from './collection';
4
+ export * from './user';
5
+ export * from './event';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes