@devpad/api 2.6.11 → 2.6.12
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/{chunk-4GRUM2BX.js → chunk-6I7TZ36B.js} +21 -17
- package/dist/{chunk-AXQWQXZR.js → chunk-DHYAC4LG.js} +230 -175
- package/dist/{chunk-5L3AUVMM.js → chunk-V6CM3V4I.js} +35 -9
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1203 -1159
- package/dist/schema/blog.d.ts +5 -5
- package/dist/schema/blog.js +1 -1
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/index.js +3 -3
- package/dist/schema/media.d.ts +156 -156
- package/dist/schema/media.js +36 -28
- package/dist/{schema.d-CUm4wtV_.d.ts → schema-CizNlS2t.d.ts} +2 -2
- package/dist/{types.d-D1ao8Ynh.d.ts → types-CnplaVqa.d.ts} +238 -241
- package/dist/{types.d-Dt-0_WMH.d.ts → types-T4cFlYTI.d.ts} +818 -818
- package/package.json +7 -2
- package/dist/{errors.d-BUNZEN7j.d.ts → errors-BUNZEN7j.d.ts} +0 -0
- package/dist/{media.d-R87HGuRp.d.ts → media-R87HGuRp.d.ts} +0 -0
- package/dist/{types.d-DbgtG-w1.d.ts → types-CDD2mUV6.d.ts} +73 -73
package/dist/schema/media.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as ApiError, a as ApprovalChannelError, b as AuthExpiredError, B as BadRequestError, c as BaseError, C as ConflictError, d as CronError, D as DatabaseError, E as EncryptionError, e as ErrorContext, f as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, g as NotFoundError, P as ParseError, h as ProtectedError, i as ProviderError, R as RateLimitedError, S as ScanError, j as ServiceError, k as StoreError, U as UnauthorizedError, V as ValidationError, l as ValidationFieldError, m as apiError, n as approvalChannel, o as authExpired, p as badRequest, q as configureErrorLogging, r as conflict, s as dbError, t as encryptionError, u as errors, v as forbidden, w as githubError, x as isApiError, y as isApprovalChannelError, z as isAuthExpiredError, H as isBadRequestError, I as isConflictError, J as isDatabaseError, K as isEncryptionError, L as isForbiddenError, M as isGithubError, O as isNetworkError, Q as isNotFoundError, T as isParseError, W as isProtectedError, X as isRateLimitedError, Y as isRetryableError, Z as isScanError, _ as isServiceError, $ as isStoreError, a0 as isUnauthorizedError, a1 as isValidationError, a2 as isValidationFieldError, a3 as networkError, a4 as notFound, a5 as parseError, a6 as protectedEntity, a7 as rateLimited, a8 as scanError, a9 as storeError, aa as unauthorized, ab as validation, ac as validationFieldError } from '../errors
|
|
2
|
-
export { A as Account, a as AccountSetting, b as AccountWithUser, c as AddFilterInput, d as AddFilterSchema, e as ApiKey, B as BlueskyAuthor, f as BlueskyAuthorSchema, g as BlueskyFeedItem, h as BlueskyFeedItemSchema, i as BlueskyPost, j as BlueskyPostSchema, k as BlueskyRaw, l as BlueskyRawSchema, m as BlueskySettings, n as BlueskySettingsSchema, C as CommentPayload, o as CommentPayloadSchema, p as CommitGroup, q as CommitGroupSchema, r as CommitPayload, s as CommitPayloadSchema, t as CorpusPath, u as CreateProfileInput, v as CreateProfileSchema, D as DateGroup, w as DateGroupSchema, x as DevpadRaw, y as DevpadRawSchema, z as DevpadSettings, E as DevpadSettingsSchema, F as DevpadTask, G as DevpadTaskSchema, H as FilterKey, I as FilterKeySchema, J as FilterType, K as FilterTypeSchema, L as GitHubBaseEvent, M as GitHubBaseEventSchema, N as GitHubEvent, O as GitHubEventSchema, P as GitHubExtendedCommit, Q as GitHubExtendedCommitSchema, R as GitHubPullRequest, S as GitHubPullRequestSchema, T as GitHubRaw, U as GitHubRawSchema, V as GitHubRepo, W as GitHubRepoSchema, X as GitHubSettings, Y as GitHubSettingsSchema, Z as MULTI_STORE_PLATFORMS, _ as MultiStorePlatform, $ as NewAccount, a0 as NewAccountSetting, a1 as NewApiKey, a2 as NewPlatformCredential, a3 as NewProfile, a4 as NewProfileFilter, a5 as NewRateLimit, a6 as PLATFORMS, a7 as PRCommit, a8 as PRCommitSchema, a9 as Payload, aa as PayloadSchema, ab as Platform, ac as PlatformCredential, ad as PlatformSchema, ae as PlatformSettings, af as PlatformSettingsSchemaMap, ag as PostPayload, ah as PostPayloadSchema, ai as Profile, aj as ProfileFilter, ak as PullRequestPayload, al as PullRequestPayloadSchema, am as RateLimit, an as SlugSchema, ao as TaskPayload, ap as TaskPayloadSchema, aq as Timeline, ar as TimelineItem, as as TimelineItemSchema, at as TimelineSchema, au as TimelineType, av as TimelineTypeSchema, aw as UpdateProfileInput, ax as UpdateProfileSchema, ay as VideoPayload, az as VideoPayloadSchema, aA as YouTubeRaw, aB as YouTubeRawSchema, aC as YouTubeSettings, aD as YouTubeSettingsSchema, aE as YouTubeThumbnail, aF as YouTubeThumbnailSchema, aG as YouTubeVideo, aH as YouTubeVideoSchema, aI as isMultiStorePlatform } from '../types
|
|
1
|
+
export { A as ApiError, a as ApprovalChannelError, b as AuthExpiredError, B as BadRequestError, c as BaseError, C as ConflictError, d as CronError, D as DatabaseError, E as EncryptionError, e as ErrorContext, f as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, g as NotFoundError, P as ParseError, h as ProtectedError, i as ProviderError, R as RateLimitedError, S as ScanError, j as ServiceError, k as StoreError, U as UnauthorizedError, V as ValidationError, l as ValidationFieldError, m as apiError, n as approvalChannel, o as authExpired, p as badRequest, q as configureErrorLogging, r as conflict, s as dbError, t as encryptionError, u as errors, v as forbidden, w as githubError, x as isApiError, y as isApprovalChannelError, z as isAuthExpiredError, H as isBadRequestError, I as isConflictError, J as isDatabaseError, K as isEncryptionError, L as isForbiddenError, M as isGithubError, O as isNetworkError, Q as isNotFoundError, T as isParseError, W as isProtectedError, X as isRateLimitedError, Y as isRetryableError, Z as isScanError, _ as isServiceError, $ as isStoreError, a0 as isUnauthorizedError, a1 as isValidationError, a2 as isValidationFieldError, a3 as networkError, a4 as notFound, a5 as parseError, a6 as protectedEntity, a7 as rateLimited, a8 as scanError, a9 as storeError, aa as unauthorized, ab as validation, ac as validationFieldError } from '../errors-BUNZEN7j.js';
|
|
2
|
+
export { A as Account, a as AccountSetting, b as AccountWithUser, c as AddFilterInput, d as AddFilterSchema, e as ApiKey, B as BlueskyAuthor, f as BlueskyAuthorSchema, g as BlueskyFeedItem, h as BlueskyFeedItemSchema, i as BlueskyPost, j as BlueskyPostSchema, k as BlueskyRaw, l as BlueskyRawSchema, m as BlueskySettings, n as BlueskySettingsSchema, C as CommentPayload, o as CommentPayloadSchema, p as CommitGroup, q as CommitGroupSchema, r as CommitPayload, s as CommitPayloadSchema, t as CorpusPath, u as CreateProfileInput, v as CreateProfileSchema, D as DateGroup, w as DateGroupSchema, x as DevpadRaw, y as DevpadRawSchema, z as DevpadSettings, E as DevpadSettingsSchema, F as DevpadTask, G as DevpadTaskSchema, H as FilterKey, I as FilterKeySchema, J as FilterType, K as FilterTypeSchema, L as GitHubBaseEvent, M as GitHubBaseEventSchema, N as GitHubEvent, O as GitHubEventSchema, P as GitHubExtendedCommit, Q as GitHubExtendedCommitSchema, R as GitHubPullRequest, S as GitHubPullRequestSchema, T as GitHubRaw, U as GitHubRawSchema, V as GitHubRepo, W as GitHubRepoSchema, X as GitHubSettings, Y as GitHubSettingsSchema, Z as MULTI_STORE_PLATFORMS, _ as MultiStorePlatform, $ as NewAccount, a0 as NewAccountSetting, a1 as NewApiKey, a2 as NewPlatformCredential, a3 as NewProfile, a4 as NewProfileFilter, a5 as NewRateLimit, a6 as PLATFORMS, a7 as PRCommit, a8 as PRCommitSchema, a9 as Payload, aa as PayloadSchema, ab as Platform, ac as PlatformCredential, ad as PlatformSchema, ae as PlatformSettings, af as PlatformSettingsSchemaMap, ag as PostPayload, ah as PostPayloadSchema, ai as Profile, aj as ProfileFilter, ak as PullRequestPayload, al as PullRequestPayloadSchema, am as RateLimit, an as SlugSchema, ao as TaskPayload, ap as TaskPayloadSchema, aq as Timeline, ar as TimelineItem, as as TimelineItemSchema, at as TimelineSchema, au as TimelineType, av as TimelineTypeSchema, aw as UpdateProfileInput, ax as UpdateProfileSchema, ay as VideoPayload, az as VideoPayloadSchema, aA as YouTubeRaw, aB as YouTubeRawSchema, aC as YouTubeSettings, aD as YouTubeSettingsSchema, aE as YouTubeThumbnail, aF as YouTubeThumbnailSchema, aG as YouTubeVideo, aH as YouTubeVideoSchema, aI as isMultiStorePlatform } from '../types-T4cFlYTI.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '@f0rbit/corpus';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
|
-
import '../media
|
|
6
|
+
import '../media-R87HGuRp.js';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
|
-
import '../schema
|
|
8
|
+
import '../schema-CizNlS2t.js';
|
|
9
9
|
|
|
10
10
|
declare const brand: unique symbol;
|
|
11
11
|
type Brand<T, B extends string> = T & {
|
|
@@ -115,8 +115,8 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
115
115
|
fetched_at: z.ZodString;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
117
|
owner: string;
|
|
118
|
+
fetched_at: string;
|
|
118
119
|
repo: string;
|
|
119
|
-
branches: string[];
|
|
120
120
|
commits: {
|
|
121
121
|
message: string;
|
|
122
122
|
branch: string;
|
|
@@ -132,12 +132,12 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
132
132
|
deletions?: number | undefined;
|
|
133
133
|
files_changed?: number | undefined;
|
|
134
134
|
}[];
|
|
135
|
+
branches: string[];
|
|
135
136
|
total_commits: number;
|
|
136
|
-
fetched_at: string;
|
|
137
137
|
}, {
|
|
138
138
|
owner: string;
|
|
139
|
+
fetched_at: string;
|
|
139
140
|
repo: string;
|
|
140
|
-
branches: string[];
|
|
141
141
|
commits: {
|
|
142
142
|
message: string;
|
|
143
143
|
branch: string;
|
|
@@ -153,8 +153,8 @@ declare const GitHubRepoCommitsStoreSchema: z.ZodObject<{
|
|
|
153
153
|
deletions?: number | undefined;
|
|
154
154
|
files_changed?: number | undefined;
|
|
155
155
|
}[];
|
|
156
|
+
branches: string[];
|
|
156
157
|
total_commits: number;
|
|
157
|
-
fetched_at: string;
|
|
158
158
|
}>;
|
|
159
159
|
type GitHubRepoCommit = z.infer<typeof GitHubRepoCommitSchema>;
|
|
160
160
|
type GitHubRepoCommitsStore = z.infer<typeof GitHubRepoCommitsStoreSchema>;
|
|
@@ -350,44 +350,44 @@ declare const GitHubRepoPRSchema: z.ZodObject<{
|
|
|
350
350
|
changed_files: z.ZodOptional<z.ZodNumber>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
352
|
number: number;
|
|
353
|
-
|
|
353
|
+
title: string;
|
|
354
354
|
created_at: string;
|
|
355
|
+
id: number;
|
|
355
356
|
updated_at: string;
|
|
356
|
-
title: string;
|
|
357
357
|
url: string;
|
|
358
|
-
body: string | null;
|
|
359
358
|
state: "open" | "closed" | "merged";
|
|
360
|
-
closed_at: string | null;
|
|
361
359
|
merged_at: string | null;
|
|
362
360
|
head_ref: string;
|
|
363
361
|
base_ref: string;
|
|
364
362
|
commit_shas: string[];
|
|
365
363
|
merge_commit_sha: string | null;
|
|
364
|
+
body: string | null;
|
|
365
|
+
closed_at: string | null;
|
|
366
366
|
author_login: string;
|
|
367
367
|
additions?: number | undefined;
|
|
368
368
|
deletions?: number | undefined;
|
|
369
|
-
author_avatar_url?: string | undefined;
|
|
370
369
|
changed_files?: number | undefined;
|
|
370
|
+
author_avatar_url?: string | undefined;
|
|
371
371
|
}, {
|
|
372
372
|
number: number;
|
|
373
|
-
|
|
373
|
+
title: string;
|
|
374
374
|
created_at: string;
|
|
375
|
+
id: number;
|
|
375
376
|
updated_at: string;
|
|
376
|
-
title: string;
|
|
377
377
|
url: string;
|
|
378
|
-
body: string | null;
|
|
379
378
|
state: "open" | "closed" | "merged";
|
|
380
|
-
closed_at: string | null;
|
|
381
379
|
merged_at: string | null;
|
|
382
380
|
head_ref: string;
|
|
383
381
|
base_ref: string;
|
|
384
382
|
commit_shas: string[];
|
|
385
383
|
merge_commit_sha: string | null;
|
|
384
|
+
body: string | null;
|
|
385
|
+
closed_at: string | null;
|
|
386
386
|
author_login: string;
|
|
387
387
|
additions?: number | undefined;
|
|
388
388
|
deletions?: number | undefined;
|
|
389
|
-
author_avatar_url?: string | undefined;
|
|
390
389
|
changed_files?: number | undefined;
|
|
390
|
+
author_avatar_url?: string | undefined;
|
|
391
391
|
}>;
|
|
392
392
|
declare const GitHubRepoPRsStoreSchema: z.ZodObject<{
|
|
393
393
|
owner: z.ZodString;
|
|
@@ -414,97 +414,97 @@ declare const GitHubRepoPRsStoreSchema: z.ZodObject<{
|
|
|
414
414
|
changed_files: z.ZodOptional<z.ZodNumber>;
|
|
415
415
|
}, "strip", z.ZodTypeAny, {
|
|
416
416
|
number: number;
|
|
417
|
-
|
|
417
|
+
title: string;
|
|
418
418
|
created_at: string;
|
|
419
|
+
id: number;
|
|
419
420
|
updated_at: string;
|
|
420
|
-
title: string;
|
|
421
421
|
url: string;
|
|
422
|
-
body: string | null;
|
|
423
422
|
state: "open" | "closed" | "merged";
|
|
424
|
-
closed_at: string | null;
|
|
425
423
|
merged_at: string | null;
|
|
426
424
|
head_ref: string;
|
|
427
425
|
base_ref: string;
|
|
428
426
|
commit_shas: string[];
|
|
429
427
|
merge_commit_sha: string | null;
|
|
428
|
+
body: string | null;
|
|
429
|
+
closed_at: string | null;
|
|
430
430
|
author_login: string;
|
|
431
431
|
additions?: number | undefined;
|
|
432
432
|
deletions?: number | undefined;
|
|
433
|
-
author_avatar_url?: string | undefined;
|
|
434
433
|
changed_files?: number | undefined;
|
|
434
|
+
author_avatar_url?: string | undefined;
|
|
435
435
|
}, {
|
|
436
436
|
number: number;
|
|
437
|
-
|
|
437
|
+
title: string;
|
|
438
438
|
created_at: string;
|
|
439
|
+
id: number;
|
|
439
440
|
updated_at: string;
|
|
440
|
-
title: string;
|
|
441
441
|
url: string;
|
|
442
|
-
body: string | null;
|
|
443
442
|
state: "open" | "closed" | "merged";
|
|
444
|
-
closed_at: string | null;
|
|
445
443
|
merged_at: string | null;
|
|
446
444
|
head_ref: string;
|
|
447
445
|
base_ref: string;
|
|
448
446
|
commit_shas: string[];
|
|
449
447
|
merge_commit_sha: string | null;
|
|
448
|
+
body: string | null;
|
|
449
|
+
closed_at: string | null;
|
|
450
450
|
author_login: string;
|
|
451
451
|
additions?: number | undefined;
|
|
452
452
|
deletions?: number | undefined;
|
|
453
|
-
author_avatar_url?: string | undefined;
|
|
454
453
|
changed_files?: number | undefined;
|
|
454
|
+
author_avatar_url?: string | undefined;
|
|
455
455
|
}>, "many">;
|
|
456
456
|
total_prs: z.ZodNumber;
|
|
457
457
|
fetched_at: z.ZodString;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
owner: string;
|
|
460
|
-
repo: string;
|
|
461
460
|
fetched_at: string;
|
|
461
|
+
repo: string;
|
|
462
462
|
pull_requests: {
|
|
463
463
|
number: number;
|
|
464
|
-
|
|
464
|
+
title: string;
|
|
465
465
|
created_at: string;
|
|
466
|
+
id: number;
|
|
466
467
|
updated_at: string;
|
|
467
|
-
title: string;
|
|
468
468
|
url: string;
|
|
469
|
-
body: string | null;
|
|
470
469
|
state: "open" | "closed" | "merged";
|
|
471
|
-
closed_at: string | null;
|
|
472
470
|
merged_at: string | null;
|
|
473
471
|
head_ref: string;
|
|
474
472
|
base_ref: string;
|
|
475
473
|
commit_shas: string[];
|
|
476
474
|
merge_commit_sha: string | null;
|
|
475
|
+
body: string | null;
|
|
476
|
+
closed_at: string | null;
|
|
477
477
|
author_login: string;
|
|
478
478
|
additions?: number | undefined;
|
|
479
479
|
deletions?: number | undefined;
|
|
480
|
-
author_avatar_url?: string | undefined;
|
|
481
480
|
changed_files?: number | undefined;
|
|
481
|
+
author_avatar_url?: string | undefined;
|
|
482
482
|
}[];
|
|
483
483
|
total_prs: number;
|
|
484
484
|
}, {
|
|
485
485
|
owner: string;
|
|
486
|
-
repo: string;
|
|
487
486
|
fetched_at: string;
|
|
487
|
+
repo: string;
|
|
488
488
|
pull_requests: {
|
|
489
489
|
number: number;
|
|
490
|
-
|
|
490
|
+
title: string;
|
|
491
491
|
created_at: string;
|
|
492
|
+
id: number;
|
|
492
493
|
updated_at: string;
|
|
493
|
-
title: string;
|
|
494
494
|
url: string;
|
|
495
|
-
body: string | null;
|
|
496
495
|
state: "open" | "closed" | "merged";
|
|
497
|
-
closed_at: string | null;
|
|
498
496
|
merged_at: string | null;
|
|
499
497
|
head_ref: string;
|
|
500
498
|
base_ref: string;
|
|
501
499
|
commit_shas: string[];
|
|
502
500
|
merge_commit_sha: string | null;
|
|
501
|
+
body: string | null;
|
|
502
|
+
closed_at: string | null;
|
|
503
503
|
author_login: string;
|
|
504
504
|
additions?: number | undefined;
|
|
505
505
|
deletions?: number | undefined;
|
|
506
|
-
author_avatar_url?: string | undefined;
|
|
507
506
|
changed_files?: number | undefined;
|
|
507
|
+
author_avatar_url?: string | undefined;
|
|
508
508
|
}[];
|
|
509
509
|
total_prs: number;
|
|
510
510
|
}>;
|
|
@@ -534,15 +534,15 @@ declare const RedditCommentSchema: z.ZodObject<{
|
|
|
534
534
|
name: string;
|
|
535
535
|
parent_id: string;
|
|
536
536
|
author: string;
|
|
537
|
+
subreddit: string;
|
|
538
|
+
score: number;
|
|
537
539
|
body: string;
|
|
538
540
|
permalink: string;
|
|
539
541
|
link_id: string;
|
|
540
542
|
link_title: string;
|
|
541
543
|
link_permalink: string;
|
|
542
|
-
subreddit: string;
|
|
543
544
|
subreddit_prefixed: string;
|
|
544
545
|
created_utc: number;
|
|
545
|
-
score: number;
|
|
546
546
|
is_submitter: boolean;
|
|
547
547
|
stickied: boolean;
|
|
548
548
|
edited: number | boolean;
|
|
@@ -552,15 +552,15 @@ declare const RedditCommentSchema: z.ZodObject<{
|
|
|
552
552
|
name: string;
|
|
553
553
|
parent_id: string;
|
|
554
554
|
author: string;
|
|
555
|
+
subreddit: string;
|
|
556
|
+
score: number;
|
|
555
557
|
body: string;
|
|
556
558
|
permalink: string;
|
|
557
559
|
link_id: string;
|
|
558
560
|
link_title: string;
|
|
559
561
|
link_permalink: string;
|
|
560
|
-
subreddit: string;
|
|
561
562
|
subreddit_prefixed: string;
|
|
562
563
|
created_utc: number;
|
|
563
|
-
score: number;
|
|
564
564
|
body_html?: string | undefined;
|
|
565
565
|
is_submitter?: boolean | undefined;
|
|
566
566
|
stickied?: boolean | undefined;
|
|
@@ -591,15 +591,15 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
591
591
|
name: string;
|
|
592
592
|
parent_id: string;
|
|
593
593
|
author: string;
|
|
594
|
+
subreddit: string;
|
|
595
|
+
score: number;
|
|
594
596
|
body: string;
|
|
595
597
|
permalink: string;
|
|
596
598
|
link_id: string;
|
|
597
599
|
link_title: string;
|
|
598
600
|
link_permalink: string;
|
|
599
|
-
subreddit: string;
|
|
600
601
|
subreddit_prefixed: string;
|
|
601
602
|
created_utc: number;
|
|
602
|
-
score: number;
|
|
603
603
|
is_submitter: boolean;
|
|
604
604
|
stickied: boolean;
|
|
605
605
|
edited: number | boolean;
|
|
@@ -609,15 +609,15 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
609
609
|
name: string;
|
|
610
610
|
parent_id: string;
|
|
611
611
|
author: string;
|
|
612
|
+
subreddit: string;
|
|
613
|
+
score: number;
|
|
612
614
|
body: string;
|
|
613
615
|
permalink: string;
|
|
614
616
|
link_id: string;
|
|
615
617
|
link_title: string;
|
|
616
618
|
link_permalink: string;
|
|
617
|
-
subreddit: string;
|
|
618
619
|
subreddit_prefixed: string;
|
|
619
620
|
created_utc: number;
|
|
620
|
-
score: number;
|
|
621
621
|
body_html?: string | undefined;
|
|
622
622
|
is_submitter?: boolean | undefined;
|
|
623
623
|
stickied?: boolean | undefined;
|
|
@@ -633,15 +633,15 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
633
633
|
name: string;
|
|
634
634
|
parent_id: string;
|
|
635
635
|
author: string;
|
|
636
|
+
subreddit: string;
|
|
637
|
+
score: number;
|
|
636
638
|
body: string;
|
|
637
639
|
permalink: string;
|
|
638
640
|
link_id: string;
|
|
639
641
|
link_title: string;
|
|
640
642
|
link_permalink: string;
|
|
641
|
-
subreddit: string;
|
|
642
643
|
subreddit_prefixed: string;
|
|
643
644
|
created_utc: number;
|
|
644
|
-
score: number;
|
|
645
645
|
is_submitter: boolean;
|
|
646
646
|
stickied: boolean;
|
|
647
647
|
edited: number | boolean;
|
|
@@ -656,15 +656,15 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
656
656
|
name: string;
|
|
657
657
|
parent_id: string;
|
|
658
658
|
author: string;
|
|
659
|
+
subreddit: string;
|
|
660
|
+
score: number;
|
|
659
661
|
body: string;
|
|
660
662
|
permalink: string;
|
|
661
663
|
link_id: string;
|
|
662
664
|
link_title: string;
|
|
663
665
|
link_permalink: string;
|
|
664
|
-
subreddit: string;
|
|
665
666
|
subreddit_prefixed: string;
|
|
666
667
|
created_utc: number;
|
|
667
|
-
score: number;
|
|
668
668
|
body_html?: string | undefined;
|
|
669
669
|
is_submitter?: boolean | undefined;
|
|
670
670
|
stickied?: boolean | undefined;
|
|
@@ -733,17 +733,17 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
733
733
|
locked: z.ZodDefault<z.ZodBoolean>;
|
|
734
734
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
735
735
|
}, "strip", z.ZodTypeAny, {
|
|
736
|
+
title: string;
|
|
736
737
|
id: string;
|
|
737
738
|
name: string;
|
|
738
|
-
|
|
739
|
+
archived: boolean;
|
|
739
740
|
url: string;
|
|
740
741
|
author: string;
|
|
741
|
-
archived: boolean;
|
|
742
|
-
permalink: string;
|
|
743
742
|
subreddit: string;
|
|
743
|
+
score: number;
|
|
744
|
+
permalink: string;
|
|
744
745
|
subreddit_prefixed: string;
|
|
745
746
|
created_utc: number;
|
|
746
|
-
score: number;
|
|
747
747
|
stickied: boolean;
|
|
748
748
|
selftext: string;
|
|
749
749
|
num_comments: number;
|
|
@@ -756,16 +756,16 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
756
756
|
thumbnail?: string | undefined;
|
|
757
757
|
link_flair_text?: string | null | undefined;
|
|
758
758
|
}, {
|
|
759
|
+
title: string;
|
|
759
760
|
id: string;
|
|
760
761
|
name: string;
|
|
761
|
-
title: string;
|
|
762
762
|
url: string;
|
|
763
763
|
author: string;
|
|
764
|
-
permalink: string;
|
|
765
764
|
subreddit: string;
|
|
765
|
+
score: number;
|
|
766
|
+
permalink: string;
|
|
766
767
|
subreddit_prefixed: string;
|
|
767
768
|
created_utc: number;
|
|
768
|
-
score: number;
|
|
769
769
|
num_comments: number;
|
|
770
770
|
is_self: boolean;
|
|
771
771
|
archived?: boolean | undefined;
|
|
@@ -805,17 +805,17 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
805
805
|
locked: z.ZodDefault<z.ZodBoolean>;
|
|
806
806
|
archived: z.ZodDefault<z.ZodBoolean>;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
+
title: string;
|
|
808
809
|
id: string;
|
|
809
810
|
name: string;
|
|
810
|
-
|
|
811
|
+
archived: boolean;
|
|
811
812
|
url: string;
|
|
812
813
|
author: string;
|
|
813
|
-
archived: boolean;
|
|
814
|
-
permalink: string;
|
|
815
814
|
subreddit: string;
|
|
815
|
+
score: number;
|
|
816
|
+
permalink: string;
|
|
816
817
|
subreddit_prefixed: string;
|
|
817
818
|
created_utc: number;
|
|
818
|
-
score: number;
|
|
819
819
|
stickied: boolean;
|
|
820
820
|
selftext: string;
|
|
821
821
|
num_comments: number;
|
|
@@ -828,16 +828,16 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
828
828
|
thumbnail?: string | undefined;
|
|
829
829
|
link_flair_text?: string | null | undefined;
|
|
830
830
|
}, {
|
|
831
|
+
title: string;
|
|
831
832
|
id: string;
|
|
832
833
|
name: string;
|
|
833
|
-
title: string;
|
|
834
834
|
url: string;
|
|
835
835
|
author: string;
|
|
836
|
-
permalink: string;
|
|
837
836
|
subreddit: string;
|
|
837
|
+
score: number;
|
|
838
|
+
permalink: string;
|
|
838
839
|
subreddit_prefixed: string;
|
|
839
840
|
created_utc: number;
|
|
840
|
-
score: number;
|
|
841
841
|
num_comments: number;
|
|
842
842
|
is_self: boolean;
|
|
843
843
|
archived?: boolean | undefined;
|
|
@@ -855,17 +855,17 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
855
855
|
fetched_at: z.ZodString;
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
857
|
posts: {
|
|
858
|
+
title: string;
|
|
858
859
|
id: string;
|
|
859
860
|
name: string;
|
|
860
|
-
|
|
861
|
+
archived: boolean;
|
|
861
862
|
url: string;
|
|
862
863
|
author: string;
|
|
863
|
-
archived: boolean;
|
|
864
|
-
permalink: string;
|
|
865
864
|
subreddit: string;
|
|
865
|
+
score: number;
|
|
866
|
+
permalink: string;
|
|
866
867
|
subreddit_prefixed: string;
|
|
867
868
|
created_utc: number;
|
|
868
|
-
score: number;
|
|
869
869
|
stickied: boolean;
|
|
870
870
|
selftext: string;
|
|
871
871
|
num_comments: number;
|
|
@@ -883,16 +883,16 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
883
883
|
username: string;
|
|
884
884
|
}, {
|
|
885
885
|
posts: {
|
|
886
|
+
title: string;
|
|
886
887
|
id: string;
|
|
887
888
|
name: string;
|
|
888
|
-
title: string;
|
|
889
889
|
url: string;
|
|
890
890
|
author: string;
|
|
891
|
-
permalink: string;
|
|
892
891
|
subreddit: string;
|
|
892
|
+
score: number;
|
|
893
|
+
permalink: string;
|
|
893
894
|
subreddit_prefixed: string;
|
|
894
895
|
created_utc: number;
|
|
895
|
-
score: number;
|
|
896
896
|
num_comments: number;
|
|
897
897
|
is_self: boolean;
|
|
898
898
|
archived?: boolean | undefined;
|
|
@@ -961,14 +961,14 @@ declare const TwitterMetaStoreSchema: z.ZodObject<{
|
|
|
961
961
|
pinned_tweet_id: z.ZodOptional<z.ZodString>;
|
|
962
962
|
fetched_at: z.ZodString;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
964
|
+
created_at: string;
|
|
964
965
|
id: string;
|
|
965
966
|
name: string;
|
|
966
967
|
protected: boolean;
|
|
967
|
-
created_at: string;
|
|
968
968
|
fetched_at: string;
|
|
969
969
|
username: string;
|
|
970
970
|
verified: boolean;
|
|
971
|
-
verified_type: "blue" | "
|
|
971
|
+
verified_type: "blue" | "business" | "government" | "none";
|
|
972
972
|
public_metrics: {
|
|
973
973
|
followers_count: number;
|
|
974
974
|
following_count: number;
|
|
@@ -976,15 +976,15 @@ declare const TwitterMetaStoreSchema: z.ZodObject<{
|
|
|
976
976
|
listed_count: number;
|
|
977
977
|
};
|
|
978
978
|
description?: string | undefined;
|
|
979
|
-
url?: string | undefined;
|
|
980
979
|
location?: string | undefined;
|
|
980
|
+
url?: string | undefined;
|
|
981
981
|
profile_image_url?: string | undefined;
|
|
982
982
|
profile_banner_url?: string | undefined;
|
|
983
983
|
pinned_tweet_id?: string | undefined;
|
|
984
984
|
}, {
|
|
985
|
+
created_at: string;
|
|
985
986
|
id: string;
|
|
986
987
|
name: string;
|
|
987
|
-
created_at: string;
|
|
988
988
|
fetched_at: string;
|
|
989
989
|
username: string;
|
|
990
990
|
public_metrics: {
|
|
@@ -993,14 +993,14 @@ declare const TwitterMetaStoreSchema: z.ZodObject<{
|
|
|
993
993
|
tweet_count: number;
|
|
994
994
|
listed_count: number;
|
|
995
995
|
};
|
|
996
|
-
protected?: boolean | undefined;
|
|
997
996
|
description?: string | undefined;
|
|
998
|
-
url?: string | undefined;
|
|
999
997
|
location?: string | undefined;
|
|
998
|
+
protected?: boolean | undefined;
|
|
999
|
+
url?: string | undefined;
|
|
1000
1000
|
profile_image_url?: string | undefined;
|
|
1001
1001
|
profile_banner_url?: string | undefined;
|
|
1002
1002
|
verified?: boolean | undefined;
|
|
1003
|
-
verified_type?: "blue" | "
|
|
1003
|
+
verified_type?: "blue" | "business" | "government" | "none" | undefined;
|
|
1004
1004
|
pinned_tweet_id?: string | undefined;
|
|
1005
1005
|
}>;
|
|
1006
1006
|
type TwitterUserMetrics = z.infer<typeof TwitterUserMetricsSchema>;
|
|
@@ -1013,16 +1013,16 @@ declare const TweetMetricsSchema: z.ZodObject<{
|
|
|
1013
1013
|
impression_count: z.ZodOptional<z.ZodNumber>;
|
|
1014
1014
|
bookmark_count: z.ZodOptional<z.ZodNumber>;
|
|
1015
1015
|
}, "strip", z.ZodTypeAny, {
|
|
1016
|
-
retweet_count: number;
|
|
1017
1016
|
reply_count: number;
|
|
1018
1017
|
like_count: number;
|
|
1018
|
+
retweet_count: number;
|
|
1019
1019
|
quote_count: number;
|
|
1020
1020
|
impression_count?: number | undefined;
|
|
1021
1021
|
bookmark_count?: number | undefined;
|
|
1022
1022
|
}, {
|
|
1023
|
-
retweet_count?: number | undefined;
|
|
1024
1023
|
reply_count?: number | undefined;
|
|
1025
1024
|
like_count?: number | undefined;
|
|
1025
|
+
retweet_count?: number | undefined;
|
|
1026
1026
|
quote_count?: number | undefined;
|
|
1027
1027
|
impression_count?: number | undefined;
|
|
1028
1028
|
bookmark_count?: number | undefined;
|
|
@@ -1037,23 +1037,23 @@ declare const TweetMediaSchema: z.ZodObject<{
|
|
|
1037
1037
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1038
1038
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1039
1039
|
}, "strip", z.ZodTypeAny, {
|
|
1040
|
-
type: "
|
|
1040
|
+
type: "video" | "photo" | "animated_gif";
|
|
1041
1041
|
media_key: string;
|
|
1042
1042
|
url?: string | undefined;
|
|
1043
|
+
width?: number | undefined;
|
|
1044
|
+
height?: number | undefined;
|
|
1043
1045
|
preview_image_url?: string | undefined;
|
|
1044
1046
|
alt_text?: string | undefined;
|
|
1045
1047
|
duration_ms?: number | undefined;
|
|
1046
|
-
width?: number | undefined;
|
|
1047
|
-
height?: number | undefined;
|
|
1048
1048
|
}, {
|
|
1049
|
-
type: "
|
|
1049
|
+
type: "video" | "photo" | "animated_gif";
|
|
1050
1050
|
media_key: string;
|
|
1051
1051
|
url?: string | undefined;
|
|
1052
|
+
width?: number | undefined;
|
|
1053
|
+
height?: number | undefined;
|
|
1052
1054
|
preview_image_url?: string | undefined;
|
|
1053
1055
|
alt_text?: string | undefined;
|
|
1054
1056
|
duration_ms?: number | undefined;
|
|
1055
|
-
width?: number | undefined;
|
|
1056
|
-
height?: number | undefined;
|
|
1057
1057
|
}>;
|
|
1058
1058
|
declare const TweetUrlSchema: z.ZodObject<{
|
|
1059
1059
|
start: z.ZodNumber;
|
|
@@ -1067,16 +1067,16 @@ declare const TweetUrlSchema: z.ZodObject<{
|
|
|
1067
1067
|
url: string;
|
|
1068
1068
|
start: number;
|
|
1069
1069
|
end: number;
|
|
1070
|
-
description?: string | undefined;
|
|
1071
1070
|
title?: string | undefined;
|
|
1071
|
+
description?: string | undefined;
|
|
1072
1072
|
expanded_url?: string | undefined;
|
|
1073
1073
|
display_url?: string | undefined;
|
|
1074
1074
|
}, {
|
|
1075
1075
|
url: string;
|
|
1076
1076
|
start: number;
|
|
1077
1077
|
end: number;
|
|
1078
|
-
description?: string | undefined;
|
|
1079
1078
|
title?: string | undefined;
|
|
1079
|
+
description?: string | undefined;
|
|
1080
1080
|
expanded_url?: string | undefined;
|
|
1081
1081
|
display_url?: string | undefined;
|
|
1082
1082
|
}>;
|
|
@@ -1095,16 +1095,16 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1095
1095
|
impression_count: z.ZodOptional<z.ZodNumber>;
|
|
1096
1096
|
bookmark_count: z.ZodOptional<z.ZodNumber>;
|
|
1097
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1098
|
-
retweet_count: number;
|
|
1099
1098
|
reply_count: number;
|
|
1100
1099
|
like_count: number;
|
|
1100
|
+
retweet_count: number;
|
|
1101
1101
|
quote_count: number;
|
|
1102
1102
|
impression_count?: number | undefined;
|
|
1103
1103
|
bookmark_count?: number | undefined;
|
|
1104
1104
|
}, {
|
|
1105
|
-
retweet_count?: number | undefined;
|
|
1106
1105
|
reply_count?: number | undefined;
|
|
1107
1106
|
like_count?: number | undefined;
|
|
1107
|
+
retweet_count?: number | undefined;
|
|
1108
1108
|
quote_count?: number | undefined;
|
|
1109
1109
|
impression_count?: number | undefined;
|
|
1110
1110
|
bookmark_count?: number | undefined;
|
|
@@ -1116,11 +1116,11 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1116
1116
|
type: z.ZodEnum<["retweeted", "quoted", "replied_to"]>;
|
|
1117
1117
|
id: z.ZodString;
|
|
1118
1118
|
}, "strip", z.ZodTypeAny, {
|
|
1119
|
-
id: string;
|
|
1120
1119
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1121
|
-
}, {
|
|
1122
1120
|
id: string;
|
|
1121
|
+
}, {
|
|
1123
1122
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1123
|
+
id: string;
|
|
1124
1124
|
}>, "many">>;
|
|
1125
1125
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
1126
1126
|
media_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1145,16 +1145,16 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1145
1145
|
url: string;
|
|
1146
1146
|
start: number;
|
|
1147
1147
|
end: number;
|
|
1148
|
-
description?: string | undefined;
|
|
1149
1148
|
title?: string | undefined;
|
|
1149
|
+
description?: string | undefined;
|
|
1150
1150
|
expanded_url?: string | undefined;
|
|
1151
1151
|
display_url?: string | undefined;
|
|
1152
1152
|
}, {
|
|
1153
1153
|
url: string;
|
|
1154
1154
|
start: number;
|
|
1155
1155
|
end: number;
|
|
1156
|
-
description?: string | undefined;
|
|
1157
1156
|
title?: string | undefined;
|
|
1157
|
+
description?: string | undefined;
|
|
1158
1158
|
expanded_url?: string | undefined;
|
|
1159
1159
|
display_url?: string | undefined;
|
|
1160
1160
|
}>, "many">>;
|
|
@@ -1165,14 +1165,14 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1165
1165
|
id: z.ZodString;
|
|
1166
1166
|
}, "strip", z.ZodTypeAny, {
|
|
1167
1167
|
id: string;
|
|
1168
|
+
username: string;
|
|
1168
1169
|
start: number;
|
|
1169
1170
|
end: number;
|
|
1170
|
-
username: string;
|
|
1171
1171
|
}, {
|
|
1172
1172
|
id: string;
|
|
1173
|
+
username: string;
|
|
1173
1174
|
start: number;
|
|
1174
1175
|
end: number;
|
|
1175
|
-
username: string;
|
|
1176
1176
|
}>, "many">>;
|
|
1177
1177
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1178
1178
|
start: z.ZodNumber;
|
|
@@ -1192,16 +1192,16 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1192
1192
|
url: string;
|
|
1193
1193
|
start: number;
|
|
1194
1194
|
end: number;
|
|
1195
|
-
description?: string | undefined;
|
|
1196
1195
|
title?: string | undefined;
|
|
1196
|
+
description?: string | undefined;
|
|
1197
1197
|
expanded_url?: string | undefined;
|
|
1198
1198
|
display_url?: string | undefined;
|
|
1199
1199
|
}[] | undefined;
|
|
1200
1200
|
mentions?: {
|
|
1201
1201
|
id: string;
|
|
1202
|
+
username: string;
|
|
1202
1203
|
start: number;
|
|
1203
1204
|
end: number;
|
|
1204
|
-
username: string;
|
|
1205
1205
|
}[] | undefined;
|
|
1206
1206
|
hashtags?: {
|
|
1207
1207
|
tag: string;
|
|
@@ -1213,16 +1213,16 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1213
1213
|
url: string;
|
|
1214
1214
|
start: number;
|
|
1215
1215
|
end: number;
|
|
1216
|
-
description?: string | undefined;
|
|
1217
1216
|
title?: string | undefined;
|
|
1217
|
+
description?: string | undefined;
|
|
1218
1218
|
expanded_url?: string | undefined;
|
|
1219
1219
|
display_url?: string | undefined;
|
|
1220
1220
|
}[] | undefined;
|
|
1221
1221
|
mentions?: {
|
|
1222
1222
|
id: string;
|
|
1223
|
+
username: string;
|
|
1223
1224
|
start: number;
|
|
1224
1225
|
end: number;
|
|
1225
|
-
username: string;
|
|
1226
1226
|
}[] | undefined;
|
|
1227
1227
|
hashtags?: {
|
|
1228
1228
|
tag: string;
|
|
@@ -1231,14 +1231,14 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1231
1231
|
}[] | undefined;
|
|
1232
1232
|
}>>;
|
|
1233
1233
|
}, "strip", z.ZodTypeAny, {
|
|
1234
|
+
created_at: string;
|
|
1234
1235
|
id: string;
|
|
1235
1236
|
text: string;
|
|
1236
|
-
created_at: string;
|
|
1237
1237
|
author_id: string;
|
|
1238
1238
|
public_metrics: {
|
|
1239
|
-
retweet_count: number;
|
|
1240
1239
|
reply_count: number;
|
|
1241
1240
|
like_count: number;
|
|
1241
|
+
retweet_count: number;
|
|
1242
1242
|
quote_count: number;
|
|
1243
1243
|
impression_count?: number | undefined;
|
|
1244
1244
|
bookmark_count?: number | undefined;
|
|
@@ -1249,8 +1249,8 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1249
1249
|
in_reply_to_user_id?: string | undefined;
|
|
1250
1250
|
lang?: string | undefined;
|
|
1251
1251
|
referenced_tweets?: {
|
|
1252
|
-
id: string;
|
|
1253
1252
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1253
|
+
id: string;
|
|
1254
1254
|
}[] | undefined;
|
|
1255
1255
|
attachments?: {
|
|
1256
1256
|
media_keys?: string[] | undefined;
|
|
@@ -1261,16 +1261,16 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1261
1261
|
url: string;
|
|
1262
1262
|
start: number;
|
|
1263
1263
|
end: number;
|
|
1264
|
-
description?: string | undefined;
|
|
1265
1264
|
title?: string | undefined;
|
|
1265
|
+
description?: string | undefined;
|
|
1266
1266
|
expanded_url?: string | undefined;
|
|
1267
1267
|
display_url?: string | undefined;
|
|
1268
1268
|
}[] | undefined;
|
|
1269
1269
|
mentions?: {
|
|
1270
1270
|
id: string;
|
|
1271
|
+
username: string;
|
|
1271
1272
|
start: number;
|
|
1272
1273
|
end: number;
|
|
1273
|
-
username: string;
|
|
1274
1274
|
}[] | undefined;
|
|
1275
1275
|
hashtags?: {
|
|
1276
1276
|
tag: string;
|
|
@@ -1279,14 +1279,14 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1279
1279
|
}[] | undefined;
|
|
1280
1280
|
} | undefined;
|
|
1281
1281
|
}, {
|
|
1282
|
+
created_at: string;
|
|
1282
1283
|
id: string;
|
|
1283
1284
|
text: string;
|
|
1284
|
-
created_at: string;
|
|
1285
1285
|
author_id: string;
|
|
1286
1286
|
public_metrics: {
|
|
1287
|
-
retweet_count?: number | undefined;
|
|
1288
1287
|
reply_count?: number | undefined;
|
|
1289
1288
|
like_count?: number | undefined;
|
|
1289
|
+
retweet_count?: number | undefined;
|
|
1290
1290
|
quote_count?: number | undefined;
|
|
1291
1291
|
impression_count?: number | undefined;
|
|
1292
1292
|
bookmark_count?: number | undefined;
|
|
@@ -1297,8 +1297,8 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1297
1297
|
possibly_sensitive?: boolean | undefined;
|
|
1298
1298
|
lang?: string | undefined;
|
|
1299
1299
|
referenced_tweets?: {
|
|
1300
|
-
id: string;
|
|
1301
1300
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1301
|
+
id: string;
|
|
1302
1302
|
}[] | undefined;
|
|
1303
1303
|
attachments?: {
|
|
1304
1304
|
media_keys?: string[] | undefined;
|
|
@@ -1309,16 +1309,16 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1309
1309
|
url: string;
|
|
1310
1310
|
start: number;
|
|
1311
1311
|
end: number;
|
|
1312
|
-
description?: string | undefined;
|
|
1313
1312
|
title?: string | undefined;
|
|
1313
|
+
description?: string | undefined;
|
|
1314
1314
|
expanded_url?: string | undefined;
|
|
1315
1315
|
display_url?: string | undefined;
|
|
1316
1316
|
}[] | undefined;
|
|
1317
1317
|
mentions?: {
|
|
1318
1318
|
id: string;
|
|
1319
|
+
username: string;
|
|
1319
1320
|
start: number;
|
|
1320
1321
|
end: number;
|
|
1321
|
-
username: string;
|
|
1322
1322
|
}[] | undefined;
|
|
1323
1323
|
hashtags?: {
|
|
1324
1324
|
tag: string;
|
|
@@ -1345,16 +1345,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1345
1345
|
impression_count: z.ZodOptional<z.ZodNumber>;
|
|
1346
1346
|
bookmark_count: z.ZodOptional<z.ZodNumber>;
|
|
1347
1347
|
}, "strip", z.ZodTypeAny, {
|
|
1348
|
-
retweet_count: number;
|
|
1349
1348
|
reply_count: number;
|
|
1350
1349
|
like_count: number;
|
|
1350
|
+
retweet_count: number;
|
|
1351
1351
|
quote_count: number;
|
|
1352
1352
|
impression_count?: number | undefined;
|
|
1353
1353
|
bookmark_count?: number | undefined;
|
|
1354
1354
|
}, {
|
|
1355
|
-
retweet_count?: number | undefined;
|
|
1356
1355
|
reply_count?: number | undefined;
|
|
1357
1356
|
like_count?: number | undefined;
|
|
1357
|
+
retweet_count?: number | undefined;
|
|
1358
1358
|
quote_count?: number | undefined;
|
|
1359
1359
|
impression_count?: number | undefined;
|
|
1360
1360
|
bookmark_count?: number | undefined;
|
|
@@ -1366,11 +1366,11 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1366
1366
|
type: z.ZodEnum<["retweeted", "quoted", "replied_to"]>;
|
|
1367
1367
|
id: z.ZodString;
|
|
1368
1368
|
}, "strip", z.ZodTypeAny, {
|
|
1369
|
-
id: string;
|
|
1370
1369
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1371
|
-
}, {
|
|
1372
1370
|
id: string;
|
|
1371
|
+
}, {
|
|
1373
1372
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1373
|
+
id: string;
|
|
1374
1374
|
}>, "many">>;
|
|
1375
1375
|
attachments: z.ZodOptional<z.ZodObject<{
|
|
1376
1376
|
media_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1395,16 +1395,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1395
1395
|
url: string;
|
|
1396
1396
|
start: number;
|
|
1397
1397
|
end: number;
|
|
1398
|
-
description?: string | undefined;
|
|
1399
1398
|
title?: string | undefined;
|
|
1399
|
+
description?: string | undefined;
|
|
1400
1400
|
expanded_url?: string | undefined;
|
|
1401
1401
|
display_url?: string | undefined;
|
|
1402
1402
|
}, {
|
|
1403
1403
|
url: string;
|
|
1404
1404
|
start: number;
|
|
1405
1405
|
end: number;
|
|
1406
|
-
description?: string | undefined;
|
|
1407
1406
|
title?: string | undefined;
|
|
1407
|
+
description?: string | undefined;
|
|
1408
1408
|
expanded_url?: string | undefined;
|
|
1409
1409
|
display_url?: string | undefined;
|
|
1410
1410
|
}>, "many">>;
|
|
@@ -1415,14 +1415,14 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1415
1415
|
id: z.ZodString;
|
|
1416
1416
|
}, "strip", z.ZodTypeAny, {
|
|
1417
1417
|
id: string;
|
|
1418
|
+
username: string;
|
|
1418
1419
|
start: number;
|
|
1419
1420
|
end: number;
|
|
1420
|
-
username: string;
|
|
1421
1421
|
}, {
|
|
1422
1422
|
id: string;
|
|
1423
|
+
username: string;
|
|
1423
1424
|
start: number;
|
|
1424
1425
|
end: number;
|
|
1425
|
-
username: string;
|
|
1426
1426
|
}>, "many">>;
|
|
1427
1427
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1428
1428
|
start: z.ZodNumber;
|
|
@@ -1442,16 +1442,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1442
1442
|
url: string;
|
|
1443
1443
|
start: number;
|
|
1444
1444
|
end: number;
|
|
1445
|
-
description?: string | undefined;
|
|
1446
1445
|
title?: string | undefined;
|
|
1446
|
+
description?: string | undefined;
|
|
1447
1447
|
expanded_url?: string | undefined;
|
|
1448
1448
|
display_url?: string | undefined;
|
|
1449
1449
|
}[] | undefined;
|
|
1450
1450
|
mentions?: {
|
|
1451
1451
|
id: string;
|
|
1452
|
+
username: string;
|
|
1452
1453
|
start: number;
|
|
1453
1454
|
end: number;
|
|
1454
|
-
username: string;
|
|
1455
1455
|
}[] | undefined;
|
|
1456
1456
|
hashtags?: {
|
|
1457
1457
|
tag: string;
|
|
@@ -1463,16 +1463,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1463
1463
|
url: string;
|
|
1464
1464
|
start: number;
|
|
1465
1465
|
end: number;
|
|
1466
|
-
description?: string | undefined;
|
|
1467
1466
|
title?: string | undefined;
|
|
1467
|
+
description?: string | undefined;
|
|
1468
1468
|
expanded_url?: string | undefined;
|
|
1469
1469
|
display_url?: string | undefined;
|
|
1470
1470
|
}[] | undefined;
|
|
1471
1471
|
mentions?: {
|
|
1472
1472
|
id: string;
|
|
1473
|
+
username: string;
|
|
1473
1474
|
start: number;
|
|
1474
1475
|
end: number;
|
|
1475
|
-
username: string;
|
|
1476
1476
|
}[] | undefined;
|
|
1477
1477
|
hashtags?: {
|
|
1478
1478
|
tag: string;
|
|
@@ -1481,14 +1481,14 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1481
1481
|
}[] | undefined;
|
|
1482
1482
|
}>>;
|
|
1483
1483
|
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
created_at: string;
|
|
1484
1485
|
id: string;
|
|
1485
1486
|
text: string;
|
|
1486
|
-
created_at: string;
|
|
1487
1487
|
author_id: string;
|
|
1488
1488
|
public_metrics: {
|
|
1489
|
-
retweet_count: number;
|
|
1490
1489
|
reply_count: number;
|
|
1491
1490
|
like_count: number;
|
|
1491
|
+
retweet_count: number;
|
|
1492
1492
|
quote_count: number;
|
|
1493
1493
|
impression_count?: number | undefined;
|
|
1494
1494
|
bookmark_count?: number | undefined;
|
|
@@ -1499,8 +1499,8 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1499
1499
|
in_reply_to_user_id?: string | undefined;
|
|
1500
1500
|
lang?: string | undefined;
|
|
1501
1501
|
referenced_tweets?: {
|
|
1502
|
-
id: string;
|
|
1503
1502
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1503
|
+
id: string;
|
|
1504
1504
|
}[] | undefined;
|
|
1505
1505
|
attachments?: {
|
|
1506
1506
|
media_keys?: string[] | undefined;
|
|
@@ -1511,16 +1511,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1511
1511
|
url: string;
|
|
1512
1512
|
start: number;
|
|
1513
1513
|
end: number;
|
|
1514
|
-
description?: string | undefined;
|
|
1515
1514
|
title?: string | undefined;
|
|
1515
|
+
description?: string | undefined;
|
|
1516
1516
|
expanded_url?: string | undefined;
|
|
1517
1517
|
display_url?: string | undefined;
|
|
1518
1518
|
}[] | undefined;
|
|
1519
1519
|
mentions?: {
|
|
1520
1520
|
id: string;
|
|
1521
|
+
username: string;
|
|
1521
1522
|
start: number;
|
|
1522
1523
|
end: number;
|
|
1523
|
-
username: string;
|
|
1524
1524
|
}[] | undefined;
|
|
1525
1525
|
hashtags?: {
|
|
1526
1526
|
tag: string;
|
|
@@ -1529,14 +1529,14 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1529
1529
|
}[] | undefined;
|
|
1530
1530
|
} | undefined;
|
|
1531
1531
|
}, {
|
|
1532
|
+
created_at: string;
|
|
1532
1533
|
id: string;
|
|
1533
1534
|
text: string;
|
|
1534
|
-
created_at: string;
|
|
1535
1535
|
author_id: string;
|
|
1536
1536
|
public_metrics: {
|
|
1537
|
-
retweet_count?: number | undefined;
|
|
1538
1537
|
reply_count?: number | undefined;
|
|
1539
1538
|
like_count?: number | undefined;
|
|
1539
|
+
retweet_count?: number | undefined;
|
|
1540
1540
|
quote_count?: number | undefined;
|
|
1541
1541
|
impression_count?: number | undefined;
|
|
1542
1542
|
bookmark_count?: number | undefined;
|
|
@@ -1547,8 +1547,8 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1547
1547
|
possibly_sensitive?: boolean | undefined;
|
|
1548
1548
|
lang?: string | undefined;
|
|
1549
1549
|
referenced_tweets?: {
|
|
1550
|
-
id: string;
|
|
1551
1550
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1551
|
+
id: string;
|
|
1552
1552
|
}[] | undefined;
|
|
1553
1553
|
attachments?: {
|
|
1554
1554
|
media_keys?: string[] | undefined;
|
|
@@ -1559,16 +1559,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1559
1559
|
url: string;
|
|
1560
1560
|
start: number;
|
|
1561
1561
|
end: number;
|
|
1562
|
-
description?: string | undefined;
|
|
1563
1562
|
title?: string | undefined;
|
|
1563
|
+
description?: string | undefined;
|
|
1564
1564
|
expanded_url?: string | undefined;
|
|
1565
1565
|
display_url?: string | undefined;
|
|
1566
1566
|
}[] | undefined;
|
|
1567
1567
|
mentions?: {
|
|
1568
1568
|
id: string;
|
|
1569
|
+
username: string;
|
|
1569
1570
|
start: number;
|
|
1570
1571
|
end: number;
|
|
1571
|
-
username: string;
|
|
1572
1572
|
}[] | undefined;
|
|
1573
1573
|
hashtags?: {
|
|
1574
1574
|
tag: string;
|
|
@@ -1587,23 +1587,23 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1587
1587
|
width: z.ZodOptional<z.ZodNumber>;
|
|
1588
1588
|
height: z.ZodOptional<z.ZodNumber>;
|
|
1589
1589
|
}, "strip", z.ZodTypeAny, {
|
|
1590
|
-
type: "
|
|
1590
|
+
type: "video" | "photo" | "animated_gif";
|
|
1591
1591
|
media_key: string;
|
|
1592
1592
|
url?: string | undefined;
|
|
1593
|
+
width?: number | undefined;
|
|
1594
|
+
height?: number | undefined;
|
|
1593
1595
|
preview_image_url?: string | undefined;
|
|
1594
1596
|
alt_text?: string | undefined;
|
|
1595
1597
|
duration_ms?: number | undefined;
|
|
1596
|
-
width?: number | undefined;
|
|
1597
|
-
height?: number | undefined;
|
|
1598
1598
|
}, {
|
|
1599
|
-
type: "
|
|
1599
|
+
type: "video" | "photo" | "animated_gif";
|
|
1600
1600
|
media_key: string;
|
|
1601
1601
|
url?: string | undefined;
|
|
1602
|
+
width?: number | undefined;
|
|
1603
|
+
height?: number | undefined;
|
|
1602
1604
|
preview_image_url?: string | undefined;
|
|
1603
1605
|
alt_text?: string | undefined;
|
|
1604
1606
|
duration_ms?: number | undefined;
|
|
1605
|
-
width?: number | undefined;
|
|
1606
|
-
height?: number | undefined;
|
|
1607
1607
|
}>, "many">>;
|
|
1608
1608
|
total_tweets: z.ZodNumber;
|
|
1609
1609
|
oldest_tweet_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1612,26 +1612,26 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1612
1612
|
}, "strip", z.ZodTypeAny, {
|
|
1613
1613
|
user_id: string;
|
|
1614
1614
|
media: {
|
|
1615
|
-
type: "
|
|
1615
|
+
type: "video" | "photo" | "animated_gif";
|
|
1616
1616
|
media_key: string;
|
|
1617
1617
|
url?: string | undefined;
|
|
1618
|
+
width?: number | undefined;
|
|
1619
|
+
height?: number | undefined;
|
|
1618
1620
|
preview_image_url?: string | undefined;
|
|
1619
1621
|
alt_text?: string | undefined;
|
|
1620
1622
|
duration_ms?: number | undefined;
|
|
1621
|
-
width?: number | undefined;
|
|
1622
|
-
height?: number | undefined;
|
|
1623
1623
|
}[];
|
|
1624
1624
|
fetched_at: string;
|
|
1625
1625
|
username: string;
|
|
1626
1626
|
tweets: {
|
|
1627
|
+
created_at: string;
|
|
1627
1628
|
id: string;
|
|
1628
1629
|
text: string;
|
|
1629
|
-
created_at: string;
|
|
1630
1630
|
author_id: string;
|
|
1631
1631
|
public_metrics: {
|
|
1632
|
-
retweet_count: number;
|
|
1633
1632
|
reply_count: number;
|
|
1634
1633
|
like_count: number;
|
|
1634
|
+
retweet_count: number;
|
|
1635
1635
|
quote_count: number;
|
|
1636
1636
|
impression_count?: number | undefined;
|
|
1637
1637
|
bookmark_count?: number | undefined;
|
|
@@ -1642,8 +1642,8 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1642
1642
|
in_reply_to_user_id?: string | undefined;
|
|
1643
1643
|
lang?: string | undefined;
|
|
1644
1644
|
referenced_tweets?: {
|
|
1645
|
-
id: string;
|
|
1646
1645
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1646
|
+
id: string;
|
|
1647
1647
|
}[] | undefined;
|
|
1648
1648
|
attachments?: {
|
|
1649
1649
|
media_keys?: string[] | undefined;
|
|
@@ -1654,16 +1654,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1654
1654
|
url: string;
|
|
1655
1655
|
start: number;
|
|
1656
1656
|
end: number;
|
|
1657
|
-
description?: string | undefined;
|
|
1658
1657
|
title?: string | undefined;
|
|
1658
|
+
description?: string | undefined;
|
|
1659
1659
|
expanded_url?: string | undefined;
|
|
1660
1660
|
display_url?: string | undefined;
|
|
1661
1661
|
}[] | undefined;
|
|
1662
1662
|
mentions?: {
|
|
1663
1663
|
id: string;
|
|
1664
|
+
username: string;
|
|
1664
1665
|
start: number;
|
|
1665
1666
|
end: number;
|
|
1666
|
-
username: string;
|
|
1667
1667
|
}[] | undefined;
|
|
1668
1668
|
hashtags?: {
|
|
1669
1669
|
tag: string;
|
|
@@ -1680,14 +1680,14 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1680
1680
|
fetched_at: string;
|
|
1681
1681
|
username: string;
|
|
1682
1682
|
tweets: {
|
|
1683
|
+
created_at: string;
|
|
1683
1684
|
id: string;
|
|
1684
1685
|
text: string;
|
|
1685
|
-
created_at: string;
|
|
1686
1686
|
author_id: string;
|
|
1687
1687
|
public_metrics: {
|
|
1688
|
-
retweet_count?: number | undefined;
|
|
1689
1688
|
reply_count?: number | undefined;
|
|
1690
1689
|
like_count?: number | undefined;
|
|
1690
|
+
retweet_count?: number | undefined;
|
|
1691
1691
|
quote_count?: number | undefined;
|
|
1692
1692
|
impression_count?: number | undefined;
|
|
1693
1693
|
bookmark_count?: number | undefined;
|
|
@@ -1698,8 +1698,8 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1698
1698
|
possibly_sensitive?: boolean | undefined;
|
|
1699
1699
|
lang?: string | undefined;
|
|
1700
1700
|
referenced_tweets?: {
|
|
1701
|
-
id: string;
|
|
1702
1701
|
type: "retweeted" | "quoted" | "replied_to";
|
|
1702
|
+
id: string;
|
|
1703
1703
|
}[] | undefined;
|
|
1704
1704
|
attachments?: {
|
|
1705
1705
|
media_keys?: string[] | undefined;
|
|
@@ -1710,16 +1710,16 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1710
1710
|
url: string;
|
|
1711
1711
|
start: number;
|
|
1712
1712
|
end: number;
|
|
1713
|
-
description?: string | undefined;
|
|
1714
1713
|
title?: string | undefined;
|
|
1714
|
+
description?: string | undefined;
|
|
1715
1715
|
expanded_url?: string | undefined;
|
|
1716
1716
|
display_url?: string | undefined;
|
|
1717
1717
|
}[] | undefined;
|
|
1718
1718
|
mentions?: {
|
|
1719
1719
|
id: string;
|
|
1720
|
+
username: string;
|
|
1720
1721
|
start: number;
|
|
1721
1722
|
end: number;
|
|
1722
|
-
username: string;
|
|
1723
1723
|
}[] | undefined;
|
|
1724
1724
|
hashtags?: {
|
|
1725
1725
|
tag: string;
|
|
@@ -1730,14 +1730,14 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1730
1730
|
}[];
|
|
1731
1731
|
total_tweets: number;
|
|
1732
1732
|
media?: {
|
|
1733
|
-
type: "
|
|
1733
|
+
type: "video" | "photo" | "animated_gif";
|
|
1734
1734
|
media_key: string;
|
|
1735
1735
|
url?: string | undefined;
|
|
1736
|
+
width?: number | undefined;
|
|
1737
|
+
height?: number | undefined;
|
|
1736
1738
|
preview_image_url?: string | undefined;
|
|
1737
1739
|
alt_text?: string | undefined;
|
|
1738
1740
|
duration_ms?: number | undefined;
|
|
1739
|
-
width?: number | undefined;
|
|
1740
|
-
height?: number | undefined;
|
|
1741
1741
|
}[] | undefined;
|
|
1742
1742
|
oldest_tweet_id?: string | undefined;
|
|
1743
1743
|
newest_tweet_id?: string | undefined;
|