telegram-jobs-contract 1.0.15 → 1.0.16
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.
|
@@ -9,73 +9,43 @@ export declare const channelsContract: {
|
|
|
9
9
|
success: z.ZodLiteral<true>;
|
|
10
10
|
message: z.ZodString;
|
|
11
11
|
data: z.ZodArray<z.ZodObject<{
|
|
12
|
-
id: z.ZodString;
|
|
13
12
|
username: z.ZodString;
|
|
14
13
|
title: z.ZodString;
|
|
15
14
|
description: z.ZodOptional<z.ZodString>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
isActive: z.ZodBoolean;
|
|
19
|
-
isRecommended: z.ZodBoolean;
|
|
20
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
21
|
-
createdAt: z.ZodString;
|
|
22
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
isJoined: z.ZodBoolean;
|
|
23
17
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
id: string;
|
|
25
|
-
createdAt: string;
|
|
26
18
|
username: string;
|
|
27
19
|
title: string;
|
|
28
|
-
|
|
29
|
-
isRecommended: boolean;
|
|
20
|
+
isJoined: boolean;
|
|
30
21
|
description?: string | undefined;
|
|
31
|
-
|
|
32
|
-
category?: string | undefined;
|
|
33
|
-
memberCount?: string | undefined;
|
|
34
|
-
lastScrapedAt?: string | undefined;
|
|
22
|
+
memberCount?: number | undefined;
|
|
35
23
|
}, {
|
|
36
|
-
id: string;
|
|
37
|
-
createdAt: string;
|
|
38
24
|
username: string;
|
|
39
25
|
title: string;
|
|
40
|
-
|
|
41
|
-
isRecommended: boolean;
|
|
26
|
+
isJoined: boolean;
|
|
42
27
|
description?: string | undefined;
|
|
43
|
-
|
|
44
|
-
category?: string | undefined;
|
|
45
|
-
memberCount?: string | undefined;
|
|
46
|
-
lastScrapedAt?: string | undefined;
|
|
28
|
+
memberCount?: number | undefined;
|
|
47
29
|
}>, "many">;
|
|
48
30
|
}, "strip", z.ZodTypeAny, {
|
|
49
31
|
message: string;
|
|
50
32
|
success: true;
|
|
51
33
|
data: {
|
|
52
|
-
id: string;
|
|
53
|
-
createdAt: string;
|
|
54
34
|
username: string;
|
|
55
35
|
title: string;
|
|
56
|
-
|
|
57
|
-
isRecommended: boolean;
|
|
36
|
+
isJoined: boolean;
|
|
58
37
|
description?: string | undefined;
|
|
59
|
-
|
|
60
|
-
category?: string | undefined;
|
|
61
|
-
memberCount?: string | undefined;
|
|
62
|
-
lastScrapedAt?: string | undefined;
|
|
38
|
+
memberCount?: number | undefined;
|
|
63
39
|
}[];
|
|
64
40
|
}, {
|
|
65
41
|
message: string;
|
|
66
42
|
success: true;
|
|
67
43
|
data: {
|
|
68
|
-
id: string;
|
|
69
|
-
createdAt: string;
|
|
70
44
|
username: string;
|
|
71
45
|
title: string;
|
|
72
|
-
|
|
73
|
-
isRecommended: boolean;
|
|
46
|
+
isJoined: boolean;
|
|
74
47
|
description?: string | undefined;
|
|
75
|
-
|
|
76
|
-
category?: string | undefined;
|
|
77
|
-
memberCount?: string | undefined;
|
|
78
|
-
lastScrapedAt?: string | undefined;
|
|
48
|
+
memberCount?: number | undefined;
|
|
79
49
|
}[];
|
|
80
50
|
}>;
|
|
81
51
|
401: z.ZodObject<{
|
|
@@ -115,73 +85,43 @@ export declare const channelsContract: {
|
|
|
115
85
|
success: z.ZodLiteral<true>;
|
|
116
86
|
message: z.ZodString;
|
|
117
87
|
data: z.ZodArray<z.ZodObject<{
|
|
118
|
-
id: z.ZodString;
|
|
119
88
|
username: z.ZodString;
|
|
120
89
|
title: z.ZodString;
|
|
121
90
|
description: z.ZodOptional<z.ZodString>;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
isActive: z.ZodBoolean;
|
|
125
|
-
isRecommended: z.ZodBoolean;
|
|
126
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
127
|
-
createdAt: z.ZodString;
|
|
128
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
91
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
isJoined: z.ZodBoolean;
|
|
129
93
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
id: string;
|
|
131
|
-
createdAt: string;
|
|
132
94
|
username: string;
|
|
133
95
|
title: string;
|
|
134
|
-
|
|
135
|
-
isRecommended: boolean;
|
|
96
|
+
isJoined: boolean;
|
|
136
97
|
description?: string | undefined;
|
|
137
|
-
|
|
138
|
-
category?: string | undefined;
|
|
139
|
-
memberCount?: string | undefined;
|
|
140
|
-
lastScrapedAt?: string | undefined;
|
|
98
|
+
memberCount?: number | undefined;
|
|
141
99
|
}, {
|
|
142
|
-
id: string;
|
|
143
|
-
createdAt: string;
|
|
144
100
|
username: string;
|
|
145
101
|
title: string;
|
|
146
|
-
|
|
147
|
-
isRecommended: boolean;
|
|
102
|
+
isJoined: boolean;
|
|
148
103
|
description?: string | undefined;
|
|
149
|
-
|
|
150
|
-
category?: string | undefined;
|
|
151
|
-
memberCount?: string | undefined;
|
|
152
|
-
lastScrapedAt?: string | undefined;
|
|
104
|
+
memberCount?: number | undefined;
|
|
153
105
|
}>, "many">;
|
|
154
106
|
}, "strip", z.ZodTypeAny, {
|
|
155
107
|
message: string;
|
|
156
108
|
success: true;
|
|
157
109
|
data: {
|
|
158
|
-
id: string;
|
|
159
|
-
createdAt: string;
|
|
160
110
|
username: string;
|
|
161
111
|
title: string;
|
|
162
|
-
|
|
163
|
-
isRecommended: boolean;
|
|
112
|
+
isJoined: boolean;
|
|
164
113
|
description?: string | undefined;
|
|
165
|
-
|
|
166
|
-
category?: string | undefined;
|
|
167
|
-
memberCount?: string | undefined;
|
|
168
|
-
lastScrapedAt?: string | undefined;
|
|
114
|
+
memberCount?: number | undefined;
|
|
169
115
|
}[];
|
|
170
116
|
}, {
|
|
171
117
|
message: string;
|
|
172
118
|
success: true;
|
|
173
119
|
data: {
|
|
174
|
-
id: string;
|
|
175
|
-
createdAt: string;
|
|
176
120
|
username: string;
|
|
177
121
|
title: string;
|
|
178
|
-
|
|
179
|
-
isRecommended: boolean;
|
|
122
|
+
isJoined: boolean;
|
|
180
123
|
description?: string | undefined;
|
|
181
|
-
|
|
182
|
-
category?: string | undefined;
|
|
183
|
-
memberCount?: string | undefined;
|
|
184
|
-
lastScrapedAt?: string | undefined;
|
|
124
|
+
memberCount?: number | undefined;
|
|
185
125
|
}[];
|
|
186
126
|
}>;
|
|
187
127
|
401: z.ZodObject<{
|
|
@@ -221,73 +161,43 @@ export declare const channelsContract: {
|
|
|
221
161
|
success: z.ZodLiteral<true>;
|
|
222
162
|
message: z.ZodString;
|
|
223
163
|
data: z.ZodArray<z.ZodObject<{
|
|
224
|
-
id: z.ZodString;
|
|
225
164
|
username: z.ZodString;
|
|
226
165
|
title: z.ZodString;
|
|
227
166
|
description: z.ZodOptional<z.ZodString>;
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
isActive: z.ZodBoolean;
|
|
231
|
-
isRecommended: z.ZodBoolean;
|
|
232
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
233
|
-
createdAt: z.ZodString;
|
|
234
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
167
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
isJoined: z.ZodBoolean;
|
|
235
169
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
id: string;
|
|
237
|
-
createdAt: string;
|
|
238
170
|
username: string;
|
|
239
171
|
title: string;
|
|
240
|
-
|
|
241
|
-
isRecommended: boolean;
|
|
172
|
+
isJoined: boolean;
|
|
242
173
|
description?: string | undefined;
|
|
243
|
-
|
|
244
|
-
category?: string | undefined;
|
|
245
|
-
memberCount?: string | undefined;
|
|
246
|
-
lastScrapedAt?: string | undefined;
|
|
174
|
+
memberCount?: number | undefined;
|
|
247
175
|
}, {
|
|
248
|
-
id: string;
|
|
249
|
-
createdAt: string;
|
|
250
176
|
username: string;
|
|
251
177
|
title: string;
|
|
252
|
-
|
|
253
|
-
isRecommended: boolean;
|
|
178
|
+
isJoined: boolean;
|
|
254
179
|
description?: string | undefined;
|
|
255
|
-
|
|
256
|
-
category?: string | undefined;
|
|
257
|
-
memberCount?: string | undefined;
|
|
258
|
-
lastScrapedAt?: string | undefined;
|
|
180
|
+
memberCount?: number | undefined;
|
|
259
181
|
}>, "many">;
|
|
260
182
|
}, "strip", z.ZodTypeAny, {
|
|
261
183
|
message: string;
|
|
262
184
|
success: true;
|
|
263
185
|
data: {
|
|
264
|
-
id: string;
|
|
265
|
-
createdAt: string;
|
|
266
186
|
username: string;
|
|
267
187
|
title: string;
|
|
268
|
-
|
|
269
|
-
isRecommended: boolean;
|
|
188
|
+
isJoined: boolean;
|
|
270
189
|
description?: string | undefined;
|
|
271
|
-
|
|
272
|
-
category?: string | undefined;
|
|
273
|
-
memberCount?: string | undefined;
|
|
274
|
-
lastScrapedAt?: string | undefined;
|
|
190
|
+
memberCount?: number | undefined;
|
|
275
191
|
}[];
|
|
276
192
|
}, {
|
|
277
193
|
message: string;
|
|
278
194
|
success: true;
|
|
279
195
|
data: {
|
|
280
|
-
id: string;
|
|
281
|
-
createdAt: string;
|
|
282
196
|
username: string;
|
|
283
197
|
title: string;
|
|
284
|
-
|
|
285
|
-
isRecommended: boolean;
|
|
198
|
+
isJoined: boolean;
|
|
286
199
|
description?: string | undefined;
|
|
287
|
-
|
|
288
|
-
category?: string | undefined;
|
|
289
|
-
memberCount?: string | undefined;
|
|
290
|
-
lastScrapedAt?: string | undefined;
|
|
200
|
+
memberCount?: number | undefined;
|
|
291
201
|
}[];
|
|
292
202
|
}>;
|
|
293
203
|
500: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channels.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/channels.contract.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"channels.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/channels.contract.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkI3B,CAAC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.channelsContract = void 0;
|
|
4
4
|
const core_1 = require("@ts-rest/core");
|
|
5
|
-
const channels_1 = require("../schemas/channels");
|
|
6
5
|
const errors_1 = require("../schemas/errors");
|
|
7
6
|
const zod_1 = require("zod");
|
|
8
7
|
const c = (0, core_1.initContract)();
|
|
@@ -19,7 +18,7 @@ exports.channelsContract = c.router({
|
|
|
19
18
|
method: 'GET',
|
|
20
19
|
path: '/api/channels/available',
|
|
21
20
|
responses: {
|
|
22
|
-
200: (0, errors_1.SuccessResponseSchema)(zod_1.z.array(
|
|
21
|
+
200: (0, errors_1.SuccessResponseSchema)(zod_1.z.array(ChannelInfoSchema)),
|
|
23
22
|
401: errors_1.ErrorResponseSchema,
|
|
24
23
|
500: errors_1.ErrorResponseSchema,
|
|
25
24
|
},
|
|
@@ -29,7 +28,7 @@ exports.channelsContract = c.router({
|
|
|
29
28
|
method: 'GET',
|
|
30
29
|
path: '/api/channels/user-channels',
|
|
31
30
|
responses: {
|
|
32
|
-
200: (0, errors_1.SuccessResponseSchema)(zod_1.z.array(
|
|
31
|
+
200: (0, errors_1.SuccessResponseSchema)(zod_1.z.array(ChannelInfoSchema)),
|
|
33
32
|
401: errors_1.ErrorResponseSchema,
|
|
34
33
|
500: errors_1.ErrorResponseSchema,
|
|
35
34
|
},
|
|
@@ -39,7 +38,7 @@ exports.channelsContract = c.router({
|
|
|
39
38
|
method: 'GET',
|
|
40
39
|
path: '/api/channels/recommended',
|
|
41
40
|
responses: {
|
|
42
|
-
200: (0, errors_1.SuccessResponseSchema)(zod_1.z.array(
|
|
41
|
+
200: (0, errors_1.SuccessResponseSchema)(zod_1.z.array(ChannelInfoSchema)),
|
|
43
42
|
500: errors_1.ErrorResponseSchema,
|
|
44
43
|
},
|
|
45
44
|
summary: 'Get recommended channels',
|
package/dist/index.d.ts
CHANGED
|
@@ -959,73 +959,43 @@ export declare const apiContract: {
|
|
|
959
959
|
success: z.ZodLiteral<true>;
|
|
960
960
|
message: z.ZodString;
|
|
961
961
|
data: z.ZodArray<z.ZodObject<{
|
|
962
|
-
id: z.ZodString;
|
|
963
962
|
username: z.ZodString;
|
|
964
963
|
title: z.ZodString;
|
|
965
964
|
description: z.ZodOptional<z.ZodString>;
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
isActive: z.ZodBoolean;
|
|
969
|
-
isRecommended: z.ZodBoolean;
|
|
970
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
971
|
-
createdAt: z.ZodString;
|
|
972
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
965
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
966
|
+
isJoined: z.ZodBoolean;
|
|
973
967
|
}, "strip", z.ZodTypeAny, {
|
|
974
|
-
id: string;
|
|
975
|
-
createdAt: string;
|
|
976
968
|
username: string;
|
|
977
969
|
title: string;
|
|
978
|
-
|
|
979
|
-
isRecommended: boolean;
|
|
970
|
+
isJoined: boolean;
|
|
980
971
|
description?: string | undefined;
|
|
981
|
-
|
|
982
|
-
category?: string | undefined;
|
|
983
|
-
memberCount?: string | undefined;
|
|
984
|
-
lastScrapedAt?: string | undefined;
|
|
972
|
+
memberCount?: number | undefined;
|
|
985
973
|
}, {
|
|
986
|
-
id: string;
|
|
987
|
-
createdAt: string;
|
|
988
974
|
username: string;
|
|
989
975
|
title: string;
|
|
990
|
-
|
|
991
|
-
isRecommended: boolean;
|
|
976
|
+
isJoined: boolean;
|
|
992
977
|
description?: string | undefined;
|
|
993
|
-
|
|
994
|
-
category?: string | undefined;
|
|
995
|
-
memberCount?: string | undefined;
|
|
996
|
-
lastScrapedAt?: string | undefined;
|
|
978
|
+
memberCount?: number | undefined;
|
|
997
979
|
}>, "many">;
|
|
998
980
|
}, "strip", z.ZodTypeAny, {
|
|
999
981
|
message: string;
|
|
1000
982
|
success: true;
|
|
1001
983
|
data: {
|
|
1002
|
-
id: string;
|
|
1003
|
-
createdAt: string;
|
|
1004
984
|
username: string;
|
|
1005
985
|
title: string;
|
|
1006
|
-
|
|
1007
|
-
isRecommended: boolean;
|
|
986
|
+
isJoined: boolean;
|
|
1008
987
|
description?: string | undefined;
|
|
1009
|
-
|
|
1010
|
-
category?: string | undefined;
|
|
1011
|
-
memberCount?: string | undefined;
|
|
1012
|
-
lastScrapedAt?: string | undefined;
|
|
988
|
+
memberCount?: number | undefined;
|
|
1013
989
|
}[];
|
|
1014
990
|
}, {
|
|
1015
991
|
message: string;
|
|
1016
992
|
success: true;
|
|
1017
993
|
data: {
|
|
1018
|
-
id: string;
|
|
1019
|
-
createdAt: string;
|
|
1020
994
|
username: string;
|
|
1021
995
|
title: string;
|
|
1022
|
-
|
|
1023
|
-
isRecommended: boolean;
|
|
996
|
+
isJoined: boolean;
|
|
1024
997
|
description?: string | undefined;
|
|
1025
|
-
|
|
1026
|
-
category?: string | undefined;
|
|
1027
|
-
memberCount?: string | undefined;
|
|
1028
|
-
lastScrapedAt?: string | undefined;
|
|
998
|
+
memberCount?: number | undefined;
|
|
1029
999
|
}[];
|
|
1030
1000
|
}>;
|
|
1031
1001
|
401: z.ZodObject<{
|
|
@@ -1065,73 +1035,43 @@ export declare const apiContract: {
|
|
|
1065
1035
|
success: z.ZodLiteral<true>;
|
|
1066
1036
|
message: z.ZodString;
|
|
1067
1037
|
data: z.ZodArray<z.ZodObject<{
|
|
1068
|
-
id: z.ZodString;
|
|
1069
1038
|
username: z.ZodString;
|
|
1070
1039
|
title: z.ZodString;
|
|
1071
1040
|
description: z.ZodOptional<z.ZodString>;
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
isActive: z.ZodBoolean;
|
|
1075
|
-
isRecommended: z.ZodBoolean;
|
|
1076
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1077
|
-
createdAt: z.ZodString;
|
|
1078
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
1042
|
+
isJoined: z.ZodBoolean;
|
|
1079
1043
|
}, "strip", z.ZodTypeAny, {
|
|
1080
|
-
id: string;
|
|
1081
|
-
createdAt: string;
|
|
1082
1044
|
username: string;
|
|
1083
1045
|
title: string;
|
|
1084
|
-
|
|
1085
|
-
isRecommended: boolean;
|
|
1046
|
+
isJoined: boolean;
|
|
1086
1047
|
description?: string | undefined;
|
|
1087
|
-
|
|
1088
|
-
category?: string | undefined;
|
|
1089
|
-
memberCount?: string | undefined;
|
|
1090
|
-
lastScrapedAt?: string | undefined;
|
|
1048
|
+
memberCount?: number | undefined;
|
|
1091
1049
|
}, {
|
|
1092
|
-
id: string;
|
|
1093
|
-
createdAt: string;
|
|
1094
1050
|
username: string;
|
|
1095
1051
|
title: string;
|
|
1096
|
-
|
|
1097
|
-
isRecommended: boolean;
|
|
1052
|
+
isJoined: boolean;
|
|
1098
1053
|
description?: string | undefined;
|
|
1099
|
-
|
|
1100
|
-
category?: string | undefined;
|
|
1101
|
-
memberCount?: string | undefined;
|
|
1102
|
-
lastScrapedAt?: string | undefined;
|
|
1054
|
+
memberCount?: number | undefined;
|
|
1103
1055
|
}>, "many">;
|
|
1104
1056
|
}, "strip", z.ZodTypeAny, {
|
|
1105
1057
|
message: string;
|
|
1106
1058
|
success: true;
|
|
1107
1059
|
data: {
|
|
1108
|
-
id: string;
|
|
1109
|
-
createdAt: string;
|
|
1110
1060
|
username: string;
|
|
1111
1061
|
title: string;
|
|
1112
|
-
|
|
1113
|
-
isRecommended: boolean;
|
|
1062
|
+
isJoined: boolean;
|
|
1114
1063
|
description?: string | undefined;
|
|
1115
|
-
|
|
1116
|
-
category?: string | undefined;
|
|
1117
|
-
memberCount?: string | undefined;
|
|
1118
|
-
lastScrapedAt?: string | undefined;
|
|
1064
|
+
memberCount?: number | undefined;
|
|
1119
1065
|
}[];
|
|
1120
1066
|
}, {
|
|
1121
1067
|
message: string;
|
|
1122
1068
|
success: true;
|
|
1123
1069
|
data: {
|
|
1124
|
-
id: string;
|
|
1125
|
-
createdAt: string;
|
|
1126
1070
|
username: string;
|
|
1127
1071
|
title: string;
|
|
1128
|
-
|
|
1129
|
-
isRecommended: boolean;
|
|
1072
|
+
isJoined: boolean;
|
|
1130
1073
|
description?: string | undefined;
|
|
1131
|
-
|
|
1132
|
-
category?: string | undefined;
|
|
1133
|
-
memberCount?: string | undefined;
|
|
1134
|
-
lastScrapedAt?: string | undefined;
|
|
1074
|
+
memberCount?: number | undefined;
|
|
1135
1075
|
}[];
|
|
1136
1076
|
}>;
|
|
1137
1077
|
401: z.ZodObject<{
|
|
@@ -1171,73 +1111,43 @@ export declare const apiContract: {
|
|
|
1171
1111
|
success: z.ZodLiteral<true>;
|
|
1172
1112
|
message: z.ZodString;
|
|
1173
1113
|
data: z.ZodArray<z.ZodObject<{
|
|
1174
|
-
id: z.ZodString;
|
|
1175
1114
|
username: z.ZodString;
|
|
1176
1115
|
title: z.ZodString;
|
|
1177
1116
|
description: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
isActive: z.ZodBoolean;
|
|
1181
|
-
isRecommended: z.ZodBoolean;
|
|
1182
|
-
lastScrapedAt: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
createdAt: z.ZodString;
|
|
1184
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
memberCount: z.ZodOptional<z.ZodNumber>;
|
|
1118
|
+
isJoined: z.ZodBoolean;
|
|
1185
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
id: string;
|
|
1187
|
-
createdAt: string;
|
|
1188
1120
|
username: string;
|
|
1189
1121
|
title: string;
|
|
1190
|
-
|
|
1191
|
-
isRecommended: boolean;
|
|
1122
|
+
isJoined: boolean;
|
|
1192
1123
|
description?: string | undefined;
|
|
1193
|
-
|
|
1194
|
-
category?: string | undefined;
|
|
1195
|
-
memberCount?: string | undefined;
|
|
1196
|
-
lastScrapedAt?: string | undefined;
|
|
1124
|
+
memberCount?: number | undefined;
|
|
1197
1125
|
}, {
|
|
1198
|
-
id: string;
|
|
1199
|
-
createdAt: string;
|
|
1200
1126
|
username: string;
|
|
1201
1127
|
title: string;
|
|
1202
|
-
|
|
1203
|
-
isRecommended: boolean;
|
|
1128
|
+
isJoined: boolean;
|
|
1204
1129
|
description?: string | undefined;
|
|
1205
|
-
|
|
1206
|
-
category?: string | undefined;
|
|
1207
|
-
memberCount?: string | undefined;
|
|
1208
|
-
lastScrapedAt?: string | undefined;
|
|
1130
|
+
memberCount?: number | undefined;
|
|
1209
1131
|
}>, "many">;
|
|
1210
1132
|
}, "strip", z.ZodTypeAny, {
|
|
1211
1133
|
message: string;
|
|
1212
1134
|
success: true;
|
|
1213
1135
|
data: {
|
|
1214
|
-
id: string;
|
|
1215
|
-
createdAt: string;
|
|
1216
1136
|
username: string;
|
|
1217
1137
|
title: string;
|
|
1218
|
-
|
|
1219
|
-
isRecommended: boolean;
|
|
1138
|
+
isJoined: boolean;
|
|
1220
1139
|
description?: string | undefined;
|
|
1221
|
-
|
|
1222
|
-
category?: string | undefined;
|
|
1223
|
-
memberCount?: string | undefined;
|
|
1224
|
-
lastScrapedAt?: string | undefined;
|
|
1140
|
+
memberCount?: number | undefined;
|
|
1225
1141
|
}[];
|
|
1226
1142
|
}, {
|
|
1227
1143
|
message: string;
|
|
1228
1144
|
success: true;
|
|
1229
1145
|
data: {
|
|
1230
|
-
id: string;
|
|
1231
|
-
createdAt: string;
|
|
1232
1146
|
username: string;
|
|
1233
1147
|
title: string;
|
|
1234
|
-
|
|
1235
|
-
isRecommended: boolean;
|
|
1148
|
+
isJoined: boolean;
|
|
1236
1149
|
description?: string | undefined;
|
|
1237
|
-
|
|
1238
|
-
category?: string | undefined;
|
|
1239
|
-
memberCount?: string | undefined;
|
|
1240
|
-
lastScrapedAt?: string | undefined;
|
|
1150
|
+
memberCount?: number | undefined;
|
|
1241
1151
|
}[];
|
|
1242
1152
|
}>;
|
|
1243
1153
|
500: z.ZodObject<{
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;A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