@longdotxyz/shared 0.0.135 → 0.0.136
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.
|
@@ -248,6 +248,166 @@ declare const GitHubActivityResponseSchema: z.ZodObject<{
|
|
|
248
248
|
fetchedAt: string;
|
|
249
249
|
};
|
|
250
250
|
}>;
|
|
251
|
+
declare const XUserSchema: z.ZodObject<{
|
|
252
|
+
id: z.ZodString;
|
|
253
|
+
username: z.ZodString;
|
|
254
|
+
name: z.ZodString;
|
|
255
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
verified_type: z.ZodOptional<z.ZodString>;
|
|
257
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
258
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
profile_image_url: z.ZodOptional<z.ZodString>;
|
|
260
|
+
public_metrics: z.ZodOptional<z.ZodObject<{
|
|
261
|
+
followers_count: z.ZodNumber;
|
|
262
|
+
following_count: z.ZodNumber;
|
|
263
|
+
tweet_count: z.ZodNumber;
|
|
264
|
+
listed_count: z.ZodNumber;
|
|
265
|
+
like_count: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
followers_count: number;
|
|
268
|
+
following_count: number;
|
|
269
|
+
tweet_count: number;
|
|
270
|
+
listed_count: number;
|
|
271
|
+
like_count?: number | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
followers_count: number;
|
|
274
|
+
following_count: number;
|
|
275
|
+
tweet_count: number;
|
|
276
|
+
listed_count: number;
|
|
277
|
+
like_count?: number | undefined;
|
|
278
|
+
}>>;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
name: string;
|
|
281
|
+
id: string;
|
|
282
|
+
username: string;
|
|
283
|
+
verified?: boolean | undefined;
|
|
284
|
+
verified_type?: string | undefined;
|
|
285
|
+
created_at?: string | undefined;
|
|
286
|
+
protected?: boolean | undefined;
|
|
287
|
+
profile_image_url?: string | undefined;
|
|
288
|
+
public_metrics?: {
|
|
289
|
+
followers_count: number;
|
|
290
|
+
following_count: number;
|
|
291
|
+
tweet_count: number;
|
|
292
|
+
listed_count: number;
|
|
293
|
+
like_count?: number | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
name: string;
|
|
297
|
+
id: string;
|
|
298
|
+
username: string;
|
|
299
|
+
verified?: boolean | undefined;
|
|
300
|
+
verified_type?: string | undefined;
|
|
301
|
+
created_at?: string | undefined;
|
|
302
|
+
protected?: boolean | undefined;
|
|
303
|
+
profile_image_url?: string | undefined;
|
|
304
|
+
public_metrics?: {
|
|
305
|
+
followers_count: number;
|
|
306
|
+
following_count: number;
|
|
307
|
+
tweet_count: number;
|
|
308
|
+
listed_count: number;
|
|
309
|
+
like_count?: number | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
declare const XActivityResponseSchema: z.ZodObject<{
|
|
313
|
+
result: z.ZodObject<{
|
|
314
|
+
id: z.ZodString;
|
|
315
|
+
username: z.ZodString;
|
|
316
|
+
name: z.ZodString;
|
|
317
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
318
|
+
verified_type: z.ZodOptional<z.ZodString>;
|
|
319
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
320
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
+
profile_image_url: z.ZodOptional<z.ZodString>;
|
|
322
|
+
public_metrics: z.ZodOptional<z.ZodObject<{
|
|
323
|
+
followers_count: z.ZodNumber;
|
|
324
|
+
following_count: z.ZodNumber;
|
|
325
|
+
tweet_count: z.ZodNumber;
|
|
326
|
+
listed_count: z.ZodNumber;
|
|
327
|
+
like_count: z.ZodOptional<z.ZodNumber>;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
followers_count: number;
|
|
330
|
+
following_count: number;
|
|
331
|
+
tweet_count: number;
|
|
332
|
+
listed_count: number;
|
|
333
|
+
like_count?: number | undefined;
|
|
334
|
+
}, {
|
|
335
|
+
followers_count: number;
|
|
336
|
+
following_count: number;
|
|
337
|
+
tweet_count: number;
|
|
338
|
+
listed_count: number;
|
|
339
|
+
like_count?: number | undefined;
|
|
340
|
+
}>>;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
name: string;
|
|
343
|
+
id: string;
|
|
344
|
+
username: string;
|
|
345
|
+
verified?: boolean | undefined;
|
|
346
|
+
verified_type?: string | undefined;
|
|
347
|
+
created_at?: string | undefined;
|
|
348
|
+
protected?: boolean | undefined;
|
|
349
|
+
profile_image_url?: string | undefined;
|
|
350
|
+
public_metrics?: {
|
|
351
|
+
followers_count: number;
|
|
352
|
+
following_count: number;
|
|
353
|
+
tweet_count: number;
|
|
354
|
+
listed_count: number;
|
|
355
|
+
like_count?: number | undefined;
|
|
356
|
+
} | undefined;
|
|
357
|
+
}, {
|
|
358
|
+
name: string;
|
|
359
|
+
id: string;
|
|
360
|
+
username: string;
|
|
361
|
+
verified?: boolean | undefined;
|
|
362
|
+
verified_type?: string | undefined;
|
|
363
|
+
created_at?: string | undefined;
|
|
364
|
+
protected?: boolean | undefined;
|
|
365
|
+
profile_image_url?: string | undefined;
|
|
366
|
+
public_metrics?: {
|
|
367
|
+
followers_count: number;
|
|
368
|
+
following_count: number;
|
|
369
|
+
tweet_count: number;
|
|
370
|
+
listed_count: number;
|
|
371
|
+
like_count?: number | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
}>;
|
|
374
|
+
}, "strip", z.ZodTypeAny, {
|
|
375
|
+
result: {
|
|
376
|
+
name: string;
|
|
377
|
+
id: string;
|
|
378
|
+
username: string;
|
|
379
|
+
verified?: boolean | undefined;
|
|
380
|
+
verified_type?: string | undefined;
|
|
381
|
+
created_at?: string | undefined;
|
|
382
|
+
protected?: boolean | undefined;
|
|
383
|
+
profile_image_url?: string | undefined;
|
|
384
|
+
public_metrics?: {
|
|
385
|
+
followers_count: number;
|
|
386
|
+
following_count: number;
|
|
387
|
+
tweet_count: number;
|
|
388
|
+
listed_count: number;
|
|
389
|
+
like_count?: number | undefined;
|
|
390
|
+
} | undefined;
|
|
391
|
+
};
|
|
392
|
+
}, {
|
|
393
|
+
result: {
|
|
394
|
+
name: string;
|
|
395
|
+
id: string;
|
|
396
|
+
username: string;
|
|
397
|
+
verified?: boolean | undefined;
|
|
398
|
+
verified_type?: string | undefined;
|
|
399
|
+
created_at?: string | undefined;
|
|
400
|
+
protected?: boolean | undefined;
|
|
401
|
+
profile_image_url?: string | undefined;
|
|
402
|
+
public_metrics?: {
|
|
403
|
+
followers_count: number;
|
|
404
|
+
following_count: number;
|
|
405
|
+
tweet_count: number;
|
|
406
|
+
listed_count: number;
|
|
407
|
+
like_count?: number | undefined;
|
|
408
|
+
} | undefined;
|
|
409
|
+
};
|
|
410
|
+
}>;
|
|
251
411
|
declare const activityContract: {
|
|
252
412
|
github: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
253
413
|
username: z.ZodString;
|
|
@@ -503,5 +663,110 @@ declare const activityContract: {
|
|
|
503
663
|
fetchedAt: string;
|
|
504
664
|
};
|
|
505
665
|
}>, Record<never, never>, Record<never, never>>;
|
|
666
|
+
x: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
667
|
+
username: z.ZodString;
|
|
668
|
+
}, "strip", z.ZodTypeAny, {
|
|
669
|
+
username: string;
|
|
670
|
+
}, {
|
|
671
|
+
username: string;
|
|
672
|
+
}>, z.ZodObject<{
|
|
673
|
+
result: z.ZodObject<{
|
|
674
|
+
id: z.ZodString;
|
|
675
|
+
username: z.ZodString;
|
|
676
|
+
name: z.ZodString;
|
|
677
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
678
|
+
verified_type: z.ZodOptional<z.ZodString>;
|
|
679
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
680
|
+
protected: z.ZodOptional<z.ZodBoolean>;
|
|
681
|
+
profile_image_url: z.ZodOptional<z.ZodString>;
|
|
682
|
+
public_metrics: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
followers_count: z.ZodNumber;
|
|
684
|
+
following_count: z.ZodNumber;
|
|
685
|
+
tweet_count: z.ZodNumber;
|
|
686
|
+
listed_count: z.ZodNumber;
|
|
687
|
+
like_count: z.ZodOptional<z.ZodNumber>;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
followers_count: number;
|
|
690
|
+
following_count: number;
|
|
691
|
+
tweet_count: number;
|
|
692
|
+
listed_count: number;
|
|
693
|
+
like_count?: number | undefined;
|
|
694
|
+
}, {
|
|
695
|
+
followers_count: number;
|
|
696
|
+
following_count: number;
|
|
697
|
+
tweet_count: number;
|
|
698
|
+
listed_count: number;
|
|
699
|
+
like_count?: number | undefined;
|
|
700
|
+
}>>;
|
|
701
|
+
}, "strip", z.ZodTypeAny, {
|
|
702
|
+
name: string;
|
|
703
|
+
id: string;
|
|
704
|
+
username: string;
|
|
705
|
+
verified?: boolean | undefined;
|
|
706
|
+
verified_type?: string | undefined;
|
|
707
|
+
created_at?: string | undefined;
|
|
708
|
+
protected?: boolean | undefined;
|
|
709
|
+
profile_image_url?: string | undefined;
|
|
710
|
+
public_metrics?: {
|
|
711
|
+
followers_count: number;
|
|
712
|
+
following_count: number;
|
|
713
|
+
tweet_count: number;
|
|
714
|
+
listed_count: number;
|
|
715
|
+
like_count?: number | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
}, {
|
|
718
|
+
name: string;
|
|
719
|
+
id: string;
|
|
720
|
+
username: string;
|
|
721
|
+
verified?: boolean | undefined;
|
|
722
|
+
verified_type?: string | undefined;
|
|
723
|
+
created_at?: string | undefined;
|
|
724
|
+
protected?: boolean | undefined;
|
|
725
|
+
profile_image_url?: string | undefined;
|
|
726
|
+
public_metrics?: {
|
|
727
|
+
followers_count: number;
|
|
728
|
+
following_count: number;
|
|
729
|
+
tweet_count: number;
|
|
730
|
+
listed_count: number;
|
|
731
|
+
like_count?: number | undefined;
|
|
732
|
+
} | undefined;
|
|
733
|
+
}>;
|
|
734
|
+
}, "strip", z.ZodTypeAny, {
|
|
735
|
+
result: {
|
|
736
|
+
name: string;
|
|
737
|
+
id: string;
|
|
738
|
+
username: string;
|
|
739
|
+
verified?: boolean | undefined;
|
|
740
|
+
verified_type?: string | undefined;
|
|
741
|
+
created_at?: string | undefined;
|
|
742
|
+
protected?: boolean | undefined;
|
|
743
|
+
profile_image_url?: string | undefined;
|
|
744
|
+
public_metrics?: {
|
|
745
|
+
followers_count: number;
|
|
746
|
+
following_count: number;
|
|
747
|
+
tweet_count: number;
|
|
748
|
+
listed_count: number;
|
|
749
|
+
like_count?: number | undefined;
|
|
750
|
+
} | undefined;
|
|
751
|
+
};
|
|
752
|
+
}, {
|
|
753
|
+
result: {
|
|
754
|
+
name: string;
|
|
755
|
+
id: string;
|
|
756
|
+
username: string;
|
|
757
|
+
verified?: boolean | undefined;
|
|
758
|
+
verified_type?: string | undefined;
|
|
759
|
+
created_at?: string | undefined;
|
|
760
|
+
protected?: boolean | undefined;
|
|
761
|
+
profile_image_url?: string | undefined;
|
|
762
|
+
public_metrics?: {
|
|
763
|
+
followers_count: number;
|
|
764
|
+
following_count: number;
|
|
765
|
+
tweet_count: number;
|
|
766
|
+
listed_count: number;
|
|
767
|
+
like_count?: number | undefined;
|
|
768
|
+
} | undefined;
|
|
769
|
+
};
|
|
770
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
506
771
|
};
|
|
507
|
-
export { activityContract, GitHubActivityResponseSchema, TierEnum };
|
|
772
|
+
export { activityContract, GitHubActivityResponseSchema, XActivityResponseSchema, XUserSchema, TierEnum };
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.TierEnum = exports.GitHubActivityResponseSchema = exports.activityContract = void 0;
|
|
6
|
+
exports.TierEnum = exports.XUserSchema = exports.XActivityResponseSchema = exports.GitHubActivityResponseSchema = exports.activityContract = void 0;
|
|
7
7
|
const contract_1 = require("@orpc/contract");
|
|
8
8
|
const zod_1 = __importDefault(require("zod"));
|
|
9
9
|
const TierEnum = zod_1.default.enum(["inactive", "casual", "active", "builder", "elite"]);
|
|
@@ -38,6 +38,39 @@ const github = contract_1.oc
|
|
|
38
38
|
})
|
|
39
39
|
.input(zod_1.default.object({ username: zod_1.default.string() }))
|
|
40
40
|
.output(GitHubActivityResponseSchema);
|
|
41
|
-
const
|
|
41
|
+
const XUserSchema = zod_1.default.object({
|
|
42
|
+
id: zod_1.default.string(),
|
|
43
|
+
username: zod_1.default.string(),
|
|
44
|
+
name: zod_1.default.string(),
|
|
45
|
+
verified: zod_1.default.boolean().optional(),
|
|
46
|
+
verified_type: zod_1.default.string().optional(),
|
|
47
|
+
created_at: zod_1.default.string().optional(),
|
|
48
|
+
protected: zod_1.default.boolean().optional(),
|
|
49
|
+
profile_image_url: zod_1.default.string().optional(),
|
|
50
|
+
public_metrics: zod_1.default
|
|
51
|
+
.object({
|
|
52
|
+
followers_count: zod_1.default.number(),
|
|
53
|
+
following_count: zod_1.default.number(),
|
|
54
|
+
tweet_count: zod_1.default.number(),
|
|
55
|
+
listed_count: zod_1.default.number(),
|
|
56
|
+
like_count: zod_1.default.number().optional(),
|
|
57
|
+
})
|
|
58
|
+
.optional(),
|
|
59
|
+
});
|
|
60
|
+
exports.XUserSchema = XUserSchema;
|
|
61
|
+
const XActivityResponseSchema = zod_1.default.object({
|
|
62
|
+
result: XUserSchema,
|
|
63
|
+
});
|
|
64
|
+
exports.XActivityResponseSchema = XActivityResponseSchema;
|
|
65
|
+
const x = contract_1.oc
|
|
66
|
+
.route({
|
|
67
|
+
method: "GET",
|
|
68
|
+
path: "/activity/x/{username}",
|
|
69
|
+
description: "Get public account information for an X (Twitter) user",
|
|
70
|
+
tags: ["activity"],
|
|
71
|
+
})
|
|
72
|
+
.input(zod_1.default.object({ username: zod_1.default.string() }))
|
|
73
|
+
.output(XActivityResponseSchema);
|
|
74
|
+
const activityContract = { github, x };
|
|
42
75
|
exports.activityContract = activityContract;
|
|
43
76
|
//# sourceMappingURL=activity.contract.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.contract.js","sourceRoot":"","sources":["../../src/contracts/activity.contract.ts"],"names":[],"mappings":";;;;;;AAAA,6CAAoC;AACpC,8CAAoB;AAEpB,MAAM,QAAQ,GAAG,aAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"activity.contract.js","sourceRoot":"","sources":["../../src/contracts/activity.contract.ts"],"names":[],"mappings":";;;;;;AAAA,6CAAoC;AACpC,8CAAoB;AAEpB,MAAM,QAAQ,GAAG,aAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AAsEiB,4BAAQ;AApEvG,MAAM,oBAAoB,GAAG,aAAC,CAAC,MAAM,CAAC;IAClC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,aAAC,CAAC,MAAM,CAAC,aAAC,CAAC,MAAM,EAAE,EAAE,aAAC,CAAC,GAAG,EAAE,CAAC;CACzC,CAAC,CAAC;AAEH,MAAM,4BAA4B,GAAG,aAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,aAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE;QACpB,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE;QACjB,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,aAAC,CAAC,MAAM,CAAC;YAChB,eAAe,EAAE,oBAAoB;YACrC,iBAAiB,EAAE,oBAAoB;YACvC,qBAAqB,EAAE,oBAAoB;YAC3C,kBAAkB,EAAE,oBAAoB;YACxC,mBAAmB,EAAE,oBAAoB;YACzC,cAAc,EAAE,oBAAoB;SACvC,CAAC;QACF,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE;KACxB,CAAC;CACL,CAAC,CAAC;AAgDwB,oEAA4B;AA9CvD,MAAM,MAAM,GAAG,aAAE;KACZ,KAAK,CAAC;IACH,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;KACD,KAAK,CAAC,aAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;KACzC,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAE1C,MAAM,WAAW,GAAG,aAAC,CAAC,MAAM,CAAC;IACzB,EAAE,EAAE,aAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,aAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,aAAa,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,aAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,iBAAiB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,cAAc,EAAE,aAAC;SACZ,MAAM,CAAC;QACJ,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE;QAC3B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE;QAC3B,WAAW,EAAE,aAAC,CAAC,MAAM,EAAE;QACvB,YAAY,EAAE,aAAC,CAAC,MAAM,EAAE;QACxB,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACpC,CAAC;SACD,QAAQ,EAAE;CAClB,CAAC,CAAC;AAkB+E,kCAAW;AAhB7F,MAAM,uBAAuB,GAAG,aAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,WAAW;CACtB,CAAC,CAAC;AAcsD,0DAAuB;AAZhF,MAAM,CAAC,GAAG,aAAE;KACP,KAAK,CAAC;IACH,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE,wDAAwD;IACrE,IAAI,EAAE,CAAC,UAAU,CAAC;CACrB,CAAC;KACD,KAAK,CAAC,aAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,aAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;KACzC,MAAM,CAAC,uBAAuB,CAAC,CAAC;AAErC,MAAM,gBAAgB,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AAE9B,4CAAgB"}
|
|
@@ -4425,6 +4425,111 @@ export declare const rootContract: {
|
|
|
4425
4425
|
fetchedAt: string;
|
|
4426
4426
|
};
|
|
4427
4427
|
}>, Record<never, never>, Record<never, never>>;
|
|
4428
|
+
x: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
4429
|
+
username: import("zod").ZodString;
|
|
4430
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4431
|
+
username: string;
|
|
4432
|
+
}, {
|
|
4433
|
+
username: string;
|
|
4434
|
+
}>, import("zod").ZodObject<{
|
|
4435
|
+
result: import("zod").ZodObject<{
|
|
4436
|
+
id: import("zod").ZodString;
|
|
4437
|
+
username: import("zod").ZodString;
|
|
4438
|
+
name: import("zod").ZodString;
|
|
4439
|
+
verified: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4440
|
+
verified_type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4441
|
+
created_at: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4442
|
+
protected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4443
|
+
profile_image_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4444
|
+
public_metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4445
|
+
followers_count: import("zod").ZodNumber;
|
|
4446
|
+
following_count: import("zod").ZodNumber;
|
|
4447
|
+
tweet_count: import("zod").ZodNumber;
|
|
4448
|
+
listed_count: import("zod").ZodNumber;
|
|
4449
|
+
like_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4450
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4451
|
+
followers_count: number;
|
|
4452
|
+
following_count: number;
|
|
4453
|
+
tweet_count: number;
|
|
4454
|
+
listed_count: number;
|
|
4455
|
+
like_count?: number | undefined;
|
|
4456
|
+
}, {
|
|
4457
|
+
followers_count: number;
|
|
4458
|
+
following_count: number;
|
|
4459
|
+
tweet_count: number;
|
|
4460
|
+
listed_count: number;
|
|
4461
|
+
like_count?: number | undefined;
|
|
4462
|
+
}>>;
|
|
4463
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4464
|
+
name: string;
|
|
4465
|
+
id: string;
|
|
4466
|
+
username: string;
|
|
4467
|
+
verified?: boolean | undefined;
|
|
4468
|
+
verified_type?: string | undefined;
|
|
4469
|
+
created_at?: string | undefined;
|
|
4470
|
+
protected?: boolean | undefined;
|
|
4471
|
+
profile_image_url?: string | undefined;
|
|
4472
|
+
public_metrics?: {
|
|
4473
|
+
followers_count: number;
|
|
4474
|
+
following_count: number;
|
|
4475
|
+
tweet_count: number;
|
|
4476
|
+
listed_count: number;
|
|
4477
|
+
like_count?: number | undefined;
|
|
4478
|
+
} | undefined;
|
|
4479
|
+
}, {
|
|
4480
|
+
name: string;
|
|
4481
|
+
id: string;
|
|
4482
|
+
username: string;
|
|
4483
|
+
verified?: boolean | undefined;
|
|
4484
|
+
verified_type?: string | undefined;
|
|
4485
|
+
created_at?: string | undefined;
|
|
4486
|
+
protected?: boolean | undefined;
|
|
4487
|
+
profile_image_url?: string | undefined;
|
|
4488
|
+
public_metrics?: {
|
|
4489
|
+
followers_count: number;
|
|
4490
|
+
following_count: number;
|
|
4491
|
+
tweet_count: number;
|
|
4492
|
+
listed_count: number;
|
|
4493
|
+
like_count?: number | undefined;
|
|
4494
|
+
} | undefined;
|
|
4495
|
+
}>;
|
|
4496
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4497
|
+
result: {
|
|
4498
|
+
name: string;
|
|
4499
|
+
id: string;
|
|
4500
|
+
username: string;
|
|
4501
|
+
verified?: boolean | undefined;
|
|
4502
|
+
verified_type?: string | undefined;
|
|
4503
|
+
created_at?: string | undefined;
|
|
4504
|
+
protected?: boolean | undefined;
|
|
4505
|
+
profile_image_url?: string | undefined;
|
|
4506
|
+
public_metrics?: {
|
|
4507
|
+
followers_count: number;
|
|
4508
|
+
following_count: number;
|
|
4509
|
+
tweet_count: number;
|
|
4510
|
+
listed_count: number;
|
|
4511
|
+
like_count?: number | undefined;
|
|
4512
|
+
} | undefined;
|
|
4513
|
+
};
|
|
4514
|
+
}, {
|
|
4515
|
+
result: {
|
|
4516
|
+
name: string;
|
|
4517
|
+
id: string;
|
|
4518
|
+
username: string;
|
|
4519
|
+
verified?: boolean | undefined;
|
|
4520
|
+
verified_type?: string | undefined;
|
|
4521
|
+
created_at?: string | undefined;
|
|
4522
|
+
protected?: boolean | undefined;
|
|
4523
|
+
profile_image_url?: string | undefined;
|
|
4524
|
+
public_metrics?: {
|
|
4525
|
+
followers_count: number;
|
|
4526
|
+
following_count: number;
|
|
4527
|
+
tweet_count: number;
|
|
4528
|
+
listed_count: number;
|
|
4529
|
+
like_count?: number | undefined;
|
|
4530
|
+
} | undefined;
|
|
4531
|
+
};
|
|
4532
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
4428
4533
|
};
|
|
4429
4534
|
ipfs: {
|
|
4430
4535
|
uploadImage: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodAny, import("zod").ZodObject<{
|