@devpad/api 2.3.5 → 2.3.7
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-BMT7GORG.js → chunk-4GRUM2BX.js} +11 -1
- package/dist/{chunk-A7B2SE7T.js → chunk-HWPYBI52.js} +212 -5
- package/dist/{errors.d-CNYqUDaJ.d.ts → errors.d-BUNZEN7j.d.ts} +10 -2
- package/dist/index.d.ts +133 -5
- package/dist/index.js +239 -10
- package/dist/schema/blog.d.ts +872 -139
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/index.js +48 -2
- package/dist/schema/media.d.ts +29 -29
- package/dist/schema/media.js +5 -1
- package/dist/{schema.d-CFQELmTM.d.ts → schema.d-CaVQ-Ate.d.ts} +738 -10
- package/dist/{types.d-NajL6dL5.d.ts → types.d-BIJAwHaZ.d.ts} +443 -27
- package/dist/{types.d-CK6qaT-O.d.ts → types.d-CpUFC2tW.d.ts} +1 -1
- package/dist/{types.d-BEtzx3lu.d.ts → types.d-DbgtG-w1.d.ts} +2 -2
- package/package.json +2 -2
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as ApiError, a as AuthExpiredError, B as BadRequestError,
|
|
2
|
-
export { A as Action, a as
|
|
3
|
-
export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP,
|
|
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.d-BUNZEN7j.js';
|
|
2
|
+
export { A as Action, a as AdvanceStageRequest, b as AnnotationThread, c as ApiKey, d as ApplyLog, e as ApplyOp, f as ApplyRequest, C as ClaimRequest, g as CodebaseTask, h as ConfigSchemaType, i as CreateThreadRequest, D as DashboardResponse, j as DashboardWindowQuery, k as DecideCheckpointRequest, l as Document, m as DoneRequest, E as ExternalRef, G as GetConfigResult, n as GithubWebhookEvent, o as Goal, H as HistoryAction, p as Hook, q as HookActionInput, r as HookActionPublic, s as HookActionStored, t as HookDelivery, u as HookSelector, v as HookTrigger, I as INTERFACE_DIFF_CLASSES, w as IgnorePath, x as InsertPipelineStageEvent, y as InterfaceDiffClass, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, z as PipelineApproval, B as PipelineGrant, F as PipelineOidcTrust, J as PipelinePackage, K as PipelineRun, L as PipelineStageEvent, O as Project, Q as ProjectConfig, R as ProjectWithTasks, S as PushDocRequest, T as PushInterfaceReportRequest, U as REVIEW_ITEM_KINDS, V as ReplyThreadRequest, W as RequestCheckpointRequest, X as ReviewItem, Y as ReviewItemKind, Z as ReviewsPendingResponse, _ as RolloutShapeZ, $ as RunKindZ, a0 as SaveConfigRequest, a1 as ScanDiffProposal, a2 as ScanStatus, a3 as Session, a4 as Signoff, a5 as TAG_COLOURS, a6 as Tag, a7 as TagColor, a8 as TagConfig, a9 as TagWithColor, aa as TagWithTypedColor, ab as Task, ac as TaskEvent, ad as TaskEventPayload, ae as TaskLink, af as TaskRollup, ag as TaskTag, ah as TaskView, ai as TaskWithDetails, aj as ThreadAnchor, ak as ThreadEntry, al as ThreadMarker, am as TodoUpdate, an as ToggleBlockingRequest, ao as TrackerResult, ap as UpdateAction, aq as UpdateData, ar as UpdateUser, as as UpsertGoal, at as UpsertHook, au as UpsertMilestone, av as UpsertPipelineAnalysisTemplate, aw as UpsertPipelineApproval, ax as UpsertPipelineGrant, ay as UpsertPipelineOidcTrust, az as UpsertPipelinePackage, aA as UpsertPipelineRun, aB as UpsertProject, aC as UpsertTag, aD as UpsertTaskLink, aE as UpsertTodo, aF as User, aG as WebhookEventBody, aH as advance_stage_request, aI as apply_op, aJ as apply_request, aK as approval_decision, aL as claim_request, aM as config_schema, aN as create_thread_request, aO as dashboard_response, aP as dashboard_window_query, aQ as decide_checkpoint_request, aR as document_kind, aS as done_request, aT as external_ref, aU as forced_atomic_reason, aV as gate_descriptor, aW as grant_scope, aX as hook_action_input, aY as hook_action_public, aZ as hook_action_stored, a_ as hook_selector, a$ as hook_trigger, b0 as insert_pipeline_stage_event, b1 as pipeline_oidc_provider, b2 as project_config, b3 as push_doc_request, b4 as push_interface_report_request, b5 as reply_thread_request, b6 as request_checkpoint_request, b7 as resolved_gates, b8 as resolved_rollout, b9 as review_item, ba as reviews_pending_response, bb as rollout_shape, bc as rollout_stage, bd as run_kind, be as run_status, bf as save_config_request, bg as save_tags_request, bh as scan_diff_proposal, bi as sdlc_stage, bj as signoff_checkpoint, bk as signoff_subject_kind, bl as stage_event_kind, bm as task_event_actor, bn as task_event_payload, bo as task_link_kind, bp as thread_anchor, bq as thread_entry, br as thread_marker, bs as thread_status, bt as toggle_blocking_request, bu as update_action, bv as update_user, bw as upsert_goal, bx as upsert_hook, by as upsert_milestone, bz as upsert_pipeline_analysis_template, bA as upsert_pipeline_approval, bB as upsert_pipeline_grant, bC as upsert_pipeline_oidc_trust, bD as upsert_pipeline_package, bE as upsert_pipeline_run, bF as upsert_project, bG as upsert_tag, bH as upsert_task_link, bI as upsert_todo, bJ as webhook_event_body } from '../types.d-BIJAwHaZ.js';
|
|
3
|
+
export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, D as DocumentKind, c as DocumentStatus, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP, d as GRAPH_DEPTH_CAP, H as HookDeliveryStatus, P as PipelineOidcProvider, R as RolloutShape, e as RunStatus, S as SdlcStage, f as SignoffCheckpoint, g as SignoffDecision, h as SignoffSubjectKind, i as StageEventKind, T as TaskEventActor, j as TaskEventDispatchStatus, k as TaskEventKind, l as TaskKind, m as TaskLinkKind, n as ThreadStatus } from '../schema.d-CaVQ-Ate.js';
|
|
4
4
|
import '@f0rbit/corpus';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'zod';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GRAPH_CHILDREN_CAP,
|
|
3
3
|
GRAPH_DEPTH_CAP,
|
|
4
|
+
INTERFACE_DIFF_CLASSES,
|
|
5
|
+
REVIEW_ITEM_KINDS,
|
|
6
|
+
advance_stage_request,
|
|
4
7
|
apply_op,
|
|
5
8
|
apply_request,
|
|
6
9
|
approval_decision,
|
|
7
10
|
claim_request,
|
|
8
11
|
config_schema,
|
|
12
|
+
create_thread_request,
|
|
9
13
|
dashboard_response,
|
|
10
14
|
dashboard_window_query,
|
|
15
|
+
decide_checkpoint_request,
|
|
16
|
+
document_kind,
|
|
11
17
|
done_request,
|
|
12
18
|
external_ref,
|
|
13
19
|
forced_atomic_reason,
|
|
@@ -21,18 +27,33 @@ import {
|
|
|
21
27
|
insert_pipeline_stage_event,
|
|
22
28
|
pipeline_oidc_provider,
|
|
23
29
|
project_config,
|
|
30
|
+
push_doc_request,
|
|
31
|
+
push_interface_report_request,
|
|
32
|
+
reply_thread_request,
|
|
33
|
+
request_checkpoint_request,
|
|
24
34
|
resolved_gates,
|
|
25
35
|
resolved_rollout,
|
|
36
|
+
review_item,
|
|
37
|
+
reviews_pending_response,
|
|
26
38
|
rollout_shape,
|
|
27
39
|
rollout_stage,
|
|
28
40
|
run_kind,
|
|
29
41
|
run_status,
|
|
30
42
|
save_config_request,
|
|
31
43
|
save_tags_request,
|
|
44
|
+
scan_diff_proposal,
|
|
45
|
+
sdlc_stage,
|
|
46
|
+
signoff_checkpoint,
|
|
47
|
+
signoff_subject_kind,
|
|
32
48
|
stage_event_kind,
|
|
33
49
|
task_event_actor,
|
|
34
50
|
task_event_payload,
|
|
35
51
|
task_link_kind,
|
|
52
|
+
thread_anchor,
|
|
53
|
+
thread_entry,
|
|
54
|
+
thread_marker,
|
|
55
|
+
thread_status,
|
|
56
|
+
toggle_blocking_request,
|
|
36
57
|
update_action,
|
|
37
58
|
update_user,
|
|
38
59
|
upsert_goal,
|
|
@@ -49,9 +70,10 @@ import {
|
|
|
49
70
|
upsert_task_link,
|
|
50
71
|
upsert_todo,
|
|
51
72
|
webhook_event_body
|
|
52
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-HWPYBI52.js";
|
|
53
74
|
import {
|
|
54
75
|
apiError,
|
|
76
|
+
approvalChannel,
|
|
55
77
|
authExpired,
|
|
56
78
|
badRequest,
|
|
57
79
|
configureErrorLogging,
|
|
@@ -62,6 +84,7 @@ import {
|
|
|
62
84
|
forbidden,
|
|
63
85
|
githubError,
|
|
64
86
|
isApiError,
|
|
87
|
+
isApprovalChannelError,
|
|
65
88
|
isAuthExpiredError,
|
|
66
89
|
isBadRequestError,
|
|
67
90
|
isConflictError,
|
|
@@ -91,7 +114,7 @@ import {
|
|
|
91
114
|
unauthorized,
|
|
92
115
|
validation,
|
|
93
116
|
validationFieldError
|
|
94
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-4GRUM2BX.js";
|
|
95
118
|
|
|
96
119
|
// ../schema/dist/types.js
|
|
97
120
|
var TAG_COLOURS = {
|
|
@@ -110,10 +133,14 @@ var TAG_COLOURS = {
|
|
|
110
133
|
export {
|
|
111
134
|
GRAPH_CHILDREN_CAP,
|
|
112
135
|
GRAPH_DEPTH_CAP,
|
|
136
|
+
INTERFACE_DIFF_CLASSES,
|
|
137
|
+
REVIEW_ITEM_KINDS,
|
|
113
138
|
TAG_COLOURS,
|
|
139
|
+
advance_stage_request,
|
|
114
140
|
apiError,
|
|
115
141
|
apply_op,
|
|
116
142
|
apply_request,
|
|
143
|
+
approvalChannel,
|
|
117
144
|
approval_decision,
|
|
118
145
|
authExpired,
|
|
119
146
|
badRequest,
|
|
@@ -121,9 +148,12 @@ export {
|
|
|
121
148
|
config_schema,
|
|
122
149
|
configureErrorLogging,
|
|
123
150
|
conflict,
|
|
151
|
+
create_thread_request,
|
|
124
152
|
dashboard_response,
|
|
125
153
|
dashboard_window_query,
|
|
126
154
|
dbError,
|
|
155
|
+
decide_checkpoint_request,
|
|
156
|
+
document_kind,
|
|
127
157
|
done_request,
|
|
128
158
|
encryptionError,
|
|
129
159
|
errors,
|
|
@@ -140,6 +170,7 @@ export {
|
|
|
140
170
|
hook_trigger,
|
|
141
171
|
insert_pipeline_stage_event,
|
|
142
172
|
isApiError,
|
|
173
|
+
isApprovalChannelError,
|
|
143
174
|
isAuthExpiredError,
|
|
144
175
|
isBadRequestError,
|
|
145
176
|
isConflictError,
|
|
@@ -165,9 +196,15 @@ export {
|
|
|
165
196
|
pipeline_oidc_provider,
|
|
166
197
|
project_config,
|
|
167
198
|
protectedEntity,
|
|
199
|
+
push_doc_request,
|
|
200
|
+
push_interface_report_request,
|
|
168
201
|
rateLimited,
|
|
202
|
+
reply_thread_request,
|
|
203
|
+
request_checkpoint_request,
|
|
169
204
|
resolved_gates,
|
|
170
205
|
resolved_rollout,
|
|
206
|
+
review_item,
|
|
207
|
+
reviews_pending_response,
|
|
171
208
|
rollout_shape,
|
|
172
209
|
rollout_stage,
|
|
173
210
|
run_kind,
|
|
@@ -175,11 +212,20 @@ export {
|
|
|
175
212
|
save_config_request,
|
|
176
213
|
save_tags_request,
|
|
177
214
|
scanError,
|
|
215
|
+
scan_diff_proposal,
|
|
216
|
+
sdlc_stage,
|
|
217
|
+
signoff_checkpoint,
|
|
218
|
+
signoff_subject_kind,
|
|
178
219
|
stage_event_kind,
|
|
179
220
|
storeError,
|
|
180
221
|
task_event_actor,
|
|
181
222
|
task_event_payload,
|
|
182
223
|
task_link_kind,
|
|
224
|
+
thread_anchor,
|
|
225
|
+
thread_entry,
|
|
226
|
+
thread_marker,
|
|
227
|
+
thread_status,
|
|
228
|
+
toggle_blocking_request,
|
|
183
229
|
unauthorized,
|
|
184
230
|
update_action,
|
|
185
231
|
update_user,
|
package/dist/schema/media.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as ApiError, a as AuthExpiredError, B as BadRequestError,
|
|
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.d-
|
|
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.d-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.d-CpUFC2tW.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '@f0rbit/corpus';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import '../media.d-R87HGuRp.js';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
|
-
import '../schema.d-
|
|
8
|
+
import '../schema.d-CaVQ-Ate.js';
|
|
9
9
|
|
|
10
10
|
declare const brand: unique symbol;
|
|
11
11
|
type Brand<T, B extends string> = T & {
|
|
@@ -457,6 +457,7 @@ declare const RedditCommentSchema: z.ZodObject<{
|
|
|
457
457
|
id: string;
|
|
458
458
|
name: string;
|
|
459
459
|
parent_id: string;
|
|
460
|
+
author: string;
|
|
460
461
|
body: string;
|
|
461
462
|
permalink: string;
|
|
462
463
|
link_id: string;
|
|
@@ -464,7 +465,6 @@ declare const RedditCommentSchema: z.ZodObject<{
|
|
|
464
465
|
link_permalink: string;
|
|
465
466
|
subreddit: string;
|
|
466
467
|
subreddit_prefixed: string;
|
|
467
|
-
author: string;
|
|
468
468
|
created_utc: number;
|
|
469
469
|
score: number;
|
|
470
470
|
is_submitter: boolean;
|
|
@@ -475,6 +475,7 @@ declare const RedditCommentSchema: z.ZodObject<{
|
|
|
475
475
|
id: string;
|
|
476
476
|
name: string;
|
|
477
477
|
parent_id: string;
|
|
478
|
+
author: string;
|
|
478
479
|
body: string;
|
|
479
480
|
permalink: string;
|
|
480
481
|
link_id: string;
|
|
@@ -482,7 +483,6 @@ declare const RedditCommentSchema: z.ZodObject<{
|
|
|
482
483
|
link_permalink: string;
|
|
483
484
|
subreddit: string;
|
|
484
485
|
subreddit_prefixed: string;
|
|
485
|
-
author: string;
|
|
486
486
|
created_utc: number;
|
|
487
487
|
score: number;
|
|
488
488
|
body_html?: string | undefined;
|
|
@@ -514,6 +514,7 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
514
514
|
id: string;
|
|
515
515
|
name: string;
|
|
516
516
|
parent_id: string;
|
|
517
|
+
author: string;
|
|
517
518
|
body: string;
|
|
518
519
|
permalink: string;
|
|
519
520
|
link_id: string;
|
|
@@ -521,7 +522,6 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
521
522
|
link_permalink: string;
|
|
522
523
|
subreddit: string;
|
|
523
524
|
subreddit_prefixed: string;
|
|
524
|
-
author: string;
|
|
525
525
|
created_utc: number;
|
|
526
526
|
score: number;
|
|
527
527
|
is_submitter: boolean;
|
|
@@ -532,6 +532,7 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
532
532
|
id: string;
|
|
533
533
|
name: string;
|
|
534
534
|
parent_id: string;
|
|
535
|
+
author: string;
|
|
535
536
|
body: string;
|
|
536
537
|
permalink: string;
|
|
537
538
|
link_id: string;
|
|
@@ -539,7 +540,6 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
539
540
|
link_permalink: string;
|
|
540
541
|
subreddit: string;
|
|
541
542
|
subreddit_prefixed: string;
|
|
542
|
-
author: string;
|
|
543
543
|
created_utc: number;
|
|
544
544
|
score: number;
|
|
545
545
|
body_html?: string | undefined;
|
|
@@ -556,6 +556,7 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
556
556
|
id: string;
|
|
557
557
|
name: string;
|
|
558
558
|
parent_id: string;
|
|
559
|
+
author: string;
|
|
559
560
|
body: string;
|
|
560
561
|
permalink: string;
|
|
561
562
|
link_id: string;
|
|
@@ -563,7 +564,6 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
563
564
|
link_permalink: string;
|
|
564
565
|
subreddit: string;
|
|
565
566
|
subreddit_prefixed: string;
|
|
566
|
-
author: string;
|
|
567
567
|
created_utc: number;
|
|
568
568
|
score: number;
|
|
569
569
|
is_submitter: boolean;
|
|
@@ -579,6 +579,7 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
579
579
|
id: string;
|
|
580
580
|
name: string;
|
|
581
581
|
parent_id: string;
|
|
582
|
+
author: string;
|
|
582
583
|
body: string;
|
|
583
584
|
permalink: string;
|
|
584
585
|
link_id: string;
|
|
@@ -586,7 +587,6 @@ declare const RedditCommentsStoreSchema: z.ZodObject<{
|
|
|
586
587
|
link_permalink: string;
|
|
587
588
|
subreddit: string;
|
|
588
589
|
subreddit_prefixed: string;
|
|
589
|
-
author: string;
|
|
590
590
|
created_utc: number;
|
|
591
591
|
score: number;
|
|
592
592
|
body_html?: string | undefined;
|
|
@@ -661,11 +661,11 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
661
661
|
name: string;
|
|
662
662
|
title: string;
|
|
663
663
|
url: string;
|
|
664
|
+
author: string;
|
|
664
665
|
archived: boolean;
|
|
665
666
|
permalink: string;
|
|
666
667
|
subreddit: string;
|
|
667
668
|
subreddit_prefixed: string;
|
|
668
|
-
author: string;
|
|
669
669
|
created_utc: number;
|
|
670
670
|
score: number;
|
|
671
671
|
stickied: boolean;
|
|
@@ -684,10 +684,10 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
684
684
|
name: string;
|
|
685
685
|
title: string;
|
|
686
686
|
url: string;
|
|
687
|
+
author: string;
|
|
687
688
|
permalink: string;
|
|
688
689
|
subreddit: string;
|
|
689
690
|
subreddit_prefixed: string;
|
|
690
|
-
author: string;
|
|
691
691
|
created_utc: number;
|
|
692
692
|
score: number;
|
|
693
693
|
num_comments: number;
|
|
@@ -733,11 +733,11 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
733
733
|
name: string;
|
|
734
734
|
title: string;
|
|
735
735
|
url: string;
|
|
736
|
+
author: string;
|
|
736
737
|
archived: boolean;
|
|
737
738
|
permalink: string;
|
|
738
739
|
subreddit: string;
|
|
739
740
|
subreddit_prefixed: string;
|
|
740
|
-
author: string;
|
|
741
741
|
created_utc: number;
|
|
742
742
|
score: number;
|
|
743
743
|
stickied: boolean;
|
|
@@ -756,10 +756,10 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
756
756
|
name: string;
|
|
757
757
|
title: string;
|
|
758
758
|
url: string;
|
|
759
|
+
author: string;
|
|
759
760
|
permalink: string;
|
|
760
761
|
subreddit: string;
|
|
761
762
|
subreddit_prefixed: string;
|
|
762
|
-
author: string;
|
|
763
763
|
created_utc: number;
|
|
764
764
|
score: number;
|
|
765
765
|
num_comments: number;
|
|
@@ -783,11 +783,11 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
783
783
|
name: string;
|
|
784
784
|
title: string;
|
|
785
785
|
url: string;
|
|
786
|
+
author: string;
|
|
786
787
|
archived: boolean;
|
|
787
788
|
permalink: string;
|
|
788
789
|
subreddit: string;
|
|
789
790
|
subreddit_prefixed: string;
|
|
790
|
-
author: string;
|
|
791
791
|
created_utc: number;
|
|
792
792
|
score: number;
|
|
793
793
|
stickied: boolean;
|
|
@@ -811,10 +811,10 @@ declare const RedditPostsStoreSchema: z.ZodObject<{
|
|
|
811
811
|
name: string;
|
|
812
812
|
title: string;
|
|
813
813
|
url: string;
|
|
814
|
+
author: string;
|
|
814
815
|
permalink: string;
|
|
815
816
|
subreddit: string;
|
|
816
817
|
subreddit_prefixed: string;
|
|
817
|
-
author: string;
|
|
818
818
|
created_utc: number;
|
|
819
819
|
score: number;
|
|
820
820
|
num_comments: number;
|
|
@@ -1089,14 +1089,14 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1089
1089
|
id: z.ZodString;
|
|
1090
1090
|
}, "strip", z.ZodTypeAny, {
|
|
1091
1091
|
id: string;
|
|
1092
|
-
username: string;
|
|
1093
1092
|
start: number;
|
|
1094
1093
|
end: number;
|
|
1094
|
+
username: string;
|
|
1095
1095
|
}, {
|
|
1096
1096
|
id: string;
|
|
1097
|
-
username: string;
|
|
1098
1097
|
start: number;
|
|
1099
1098
|
end: number;
|
|
1099
|
+
username: string;
|
|
1100
1100
|
}>, "many">>;
|
|
1101
1101
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1102
1102
|
start: z.ZodNumber;
|
|
@@ -1123,9 +1123,9 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1123
1123
|
}[] | undefined;
|
|
1124
1124
|
mentions?: {
|
|
1125
1125
|
id: string;
|
|
1126
|
-
username: string;
|
|
1127
1126
|
start: number;
|
|
1128
1127
|
end: number;
|
|
1128
|
+
username: string;
|
|
1129
1129
|
}[] | undefined;
|
|
1130
1130
|
hashtags?: {
|
|
1131
1131
|
tag: string;
|
|
@@ -1144,9 +1144,9 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1144
1144
|
}[] | undefined;
|
|
1145
1145
|
mentions?: {
|
|
1146
1146
|
id: string;
|
|
1147
|
-
username: string;
|
|
1148
1147
|
start: number;
|
|
1149
1148
|
end: number;
|
|
1149
|
+
username: string;
|
|
1150
1150
|
}[] | undefined;
|
|
1151
1151
|
hashtags?: {
|
|
1152
1152
|
tag: string;
|
|
@@ -1192,9 +1192,9 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1192
1192
|
}[] | undefined;
|
|
1193
1193
|
mentions?: {
|
|
1194
1194
|
id: string;
|
|
1195
|
-
username: string;
|
|
1196
1195
|
start: number;
|
|
1197
1196
|
end: number;
|
|
1197
|
+
username: string;
|
|
1198
1198
|
}[] | undefined;
|
|
1199
1199
|
hashtags?: {
|
|
1200
1200
|
tag: string;
|
|
@@ -1240,9 +1240,9 @@ declare const TwitterTweetSchema: z.ZodObject<{
|
|
|
1240
1240
|
}[] | undefined;
|
|
1241
1241
|
mentions?: {
|
|
1242
1242
|
id: string;
|
|
1243
|
-
username: string;
|
|
1244
1243
|
start: number;
|
|
1245
1244
|
end: number;
|
|
1245
|
+
username: string;
|
|
1246
1246
|
}[] | undefined;
|
|
1247
1247
|
hashtags?: {
|
|
1248
1248
|
tag: string;
|
|
@@ -1339,14 +1339,14 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1339
1339
|
id: z.ZodString;
|
|
1340
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1341
1341
|
id: string;
|
|
1342
|
-
username: string;
|
|
1343
1342
|
start: number;
|
|
1344
1343
|
end: number;
|
|
1344
|
+
username: string;
|
|
1345
1345
|
}, {
|
|
1346
1346
|
id: string;
|
|
1347
|
-
username: string;
|
|
1348
1347
|
start: number;
|
|
1349
1348
|
end: number;
|
|
1349
|
+
username: string;
|
|
1350
1350
|
}>, "many">>;
|
|
1351
1351
|
hashtags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1352
1352
|
start: z.ZodNumber;
|
|
@@ -1373,9 +1373,9 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1373
1373
|
}[] | undefined;
|
|
1374
1374
|
mentions?: {
|
|
1375
1375
|
id: string;
|
|
1376
|
-
username: string;
|
|
1377
1376
|
start: number;
|
|
1378
1377
|
end: number;
|
|
1378
|
+
username: string;
|
|
1379
1379
|
}[] | undefined;
|
|
1380
1380
|
hashtags?: {
|
|
1381
1381
|
tag: string;
|
|
@@ -1394,9 +1394,9 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1394
1394
|
}[] | undefined;
|
|
1395
1395
|
mentions?: {
|
|
1396
1396
|
id: string;
|
|
1397
|
-
username: string;
|
|
1398
1397
|
start: number;
|
|
1399
1398
|
end: number;
|
|
1399
|
+
username: string;
|
|
1400
1400
|
}[] | undefined;
|
|
1401
1401
|
hashtags?: {
|
|
1402
1402
|
tag: string;
|
|
@@ -1442,9 +1442,9 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1442
1442
|
}[] | undefined;
|
|
1443
1443
|
mentions?: {
|
|
1444
1444
|
id: string;
|
|
1445
|
-
username: string;
|
|
1446
1445
|
start: number;
|
|
1447
1446
|
end: number;
|
|
1447
|
+
username: string;
|
|
1448
1448
|
}[] | undefined;
|
|
1449
1449
|
hashtags?: {
|
|
1450
1450
|
tag: string;
|
|
@@ -1490,9 +1490,9 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1490
1490
|
}[] | undefined;
|
|
1491
1491
|
mentions?: {
|
|
1492
1492
|
id: string;
|
|
1493
|
-
username: string;
|
|
1494
1493
|
start: number;
|
|
1495
1494
|
end: number;
|
|
1495
|
+
username: string;
|
|
1496
1496
|
}[] | undefined;
|
|
1497
1497
|
hashtags?: {
|
|
1498
1498
|
tag: string;
|
|
@@ -1585,9 +1585,9 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1585
1585
|
}[] | undefined;
|
|
1586
1586
|
mentions?: {
|
|
1587
1587
|
id: string;
|
|
1588
|
-
username: string;
|
|
1589
1588
|
start: number;
|
|
1590
1589
|
end: number;
|
|
1590
|
+
username: string;
|
|
1591
1591
|
}[] | undefined;
|
|
1592
1592
|
hashtags?: {
|
|
1593
1593
|
tag: string;
|
|
@@ -1641,9 +1641,9 @@ declare const TwitterTweetsStoreSchema: z.ZodObject<{
|
|
|
1641
1641
|
}[] | undefined;
|
|
1642
1642
|
mentions?: {
|
|
1643
1643
|
id: string;
|
|
1644
|
-
username: string;
|
|
1645
1644
|
start: number;
|
|
1646
1645
|
end: number;
|
|
1646
|
+
username: string;
|
|
1647
1647
|
}[] | undefined;
|
|
1648
1648
|
hashtags?: {
|
|
1649
1649
|
tag: string;
|
package/dist/schema/media.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
apiError,
|
|
3
|
+
approvalChannel,
|
|
3
4
|
authExpired,
|
|
4
5
|
badRequest,
|
|
5
6
|
configureErrorLogging,
|
|
@@ -10,6 +11,7 @@ import {
|
|
|
10
11
|
forbidden,
|
|
11
12
|
githubError,
|
|
12
13
|
isApiError,
|
|
14
|
+
isApprovalChannelError,
|
|
13
15
|
isAuthExpiredError,
|
|
14
16
|
isBadRequestError,
|
|
15
17
|
isConflictError,
|
|
@@ -39,7 +41,7 @@ import {
|
|
|
39
41
|
unauthorized,
|
|
40
42
|
validation,
|
|
41
43
|
validationFieldError
|
|
42
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-4GRUM2BX.js";
|
|
43
45
|
|
|
44
46
|
// ../schema/dist/media/branded.js
|
|
45
47
|
var userId = (id) => id;
|
|
@@ -648,6 +650,7 @@ export {
|
|
|
648
650
|
YouTubeVideoSchema,
|
|
649
651
|
accountId,
|
|
650
652
|
apiError,
|
|
653
|
+
approvalChannel,
|
|
651
654
|
authExpired,
|
|
652
655
|
badRequest,
|
|
653
656
|
configureErrorLogging,
|
|
@@ -659,6 +662,7 @@ export {
|
|
|
659
662
|
forbidden,
|
|
660
663
|
githubError,
|
|
661
664
|
isApiError,
|
|
665
|
+
isApprovalChannelError,
|
|
662
666
|
isAuthExpiredError,
|
|
663
667
|
isBadRequestError,
|
|
664
668
|
isConflictError,
|