@devpad/api 2.3.4 → 2.3.6
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-XHTCNYWS.js → chunk-KRYLGBPJ.js} +306 -6
- package/dist/{errors.d-CNYqUDaJ.d.ts → errors.d-BUNZEN7j.d.ts} +10 -2
- package/dist/index.d.ts +119 -6
- package/dist/index.js +278 -10
- package/dist/schema/blog.d.ts +1348 -125
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/index.js +58 -2
- package/dist/schema/media.d.ts +29 -29
- package/dist/schema/media.js +5 -1
- package/dist/{schema.d-DfzLWuRW.d.ts → schema.d-7jUA2Hd2.d.ts} +1219 -7
- package/dist/{types.d-BJ3g4B0G.d.ts → types.d-CEmFf0kh.d.ts} +708 -15
- package/dist/{types.d-ip2SzstN.d.ts → types.d-CsYeI1BE.d.ts} +1 -1
- package/dist/{types.d-BhWQru2j.d.ts → types.d-DbgtG-w1.d.ts} +8 -8
- 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 ScanStatus, a2 as Session, a3 as Signoff, a4 as TAG_COLOURS, a5 as Tag, a6 as TagColor, a7 as TagConfig, a8 as TagWithColor, a9 as TagWithTypedColor, aa as Task, ab as TaskEvent, ac as TaskEventPayload, ad as TaskLink, ae as TaskRollup, af as TaskTag, ag as TaskView, ah as TaskWithDetails, ai as ThreadAnchor, aj as ThreadEntry, ak as ThreadMarker, al as TodoUpdate, am as ToggleBlockingRequest, an as TrackerResult, ao as UpdateAction, ap as UpdateData, aq as UpdateUser, ar as UpsertGoal, as as UpsertHook, at as UpsertMilestone, au as UpsertPipelineAnalysisTemplate, av as UpsertPipelineApproval, aw as UpsertPipelineGrant, ax as UpsertPipelineOidcTrust, ay as UpsertPipelinePackage, az as UpsertPipelineRun, aA as UpsertProject, aB as UpsertTag, aC as UpsertTaskLink, aD as UpsertTodo, aE as User, aF as WebhookEventBody, aG as advance_stage_request, aH as apply_op, aI as apply_request, aJ as approval_decision, aK as claim_request, aL as config_schema, aM as create_thread_request, aN as dashboard_response, aO as dashboard_window_query, aP as decide_checkpoint_request, aQ as document_kind, aR as done_request, aS as external_ref, aT as forced_atomic_reason, aU as gate_descriptor, aV as grant_scope, aW as hook_action_input, aX as hook_action_public, aY as hook_action_stored, aZ as hook_selector, a_ as hook_trigger, a$ as insert_pipeline_stage_event, b0 as pipeline_oidc_provider, b1 as project_config, b2 as push_doc_request, b3 as push_interface_report_request, b4 as reply_thread_request, b5 as request_checkpoint_request, b6 as resolved_gates, b7 as resolved_rollout, b8 as review_item, b9 as reviews_pending_response, ba as rollout_shape, bb as rollout_stage, bc as run_kind, bd as run_status, be as save_config_request, bf as save_tags_request, bg as sdlc_stage, bh as signoff_checkpoint, bi as signoff_subject_kind, bj as stage_event_kind, bk as task_event_actor, bl as task_event_payload, bm as task_link_kind, bn as thread_anchor, bo as thread_entry, bp as thread_marker, bq as thread_status, br as toggle_blocking_request, bs as update_action, bt as update_user, bu as upsert_goal, bv as upsert_hook, bw as upsert_milestone, bx as upsert_pipeline_analysis_template, by as upsert_pipeline_approval, bz as upsert_pipeline_grant, bA as upsert_pipeline_oidc_trust, bB as upsert_pipeline_package, bC as upsert_pipeline_run, bD as upsert_project, bE as upsert_tag, bF as upsert_task_link, bG as upsert_todo, bH as webhook_event_body } from '../types.d-CEmFf0kh.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-7jUA2Hd2.js';
|
|
4
4
|
import '@f0rbit/corpus';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'zod';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,36 +1,62 @@
|
|
|
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,
|
|
14
20
|
gate_descriptor,
|
|
15
21
|
grant_scope,
|
|
22
|
+
hook_action_input,
|
|
23
|
+
hook_action_public,
|
|
24
|
+
hook_action_stored,
|
|
25
|
+
hook_selector,
|
|
26
|
+
hook_trigger,
|
|
16
27
|
insert_pipeline_stage_event,
|
|
17
28
|
pipeline_oidc_provider,
|
|
18
29
|
project_config,
|
|
30
|
+
push_doc_request,
|
|
31
|
+
push_interface_report_request,
|
|
32
|
+
reply_thread_request,
|
|
33
|
+
request_checkpoint_request,
|
|
19
34
|
resolved_gates,
|
|
20
35
|
resolved_rollout,
|
|
36
|
+
review_item,
|
|
37
|
+
reviews_pending_response,
|
|
21
38
|
rollout_shape,
|
|
22
39
|
rollout_stage,
|
|
23
40
|
run_kind,
|
|
24
41
|
run_status,
|
|
25
42
|
save_config_request,
|
|
26
43
|
save_tags_request,
|
|
44
|
+
sdlc_stage,
|
|
45
|
+
signoff_checkpoint,
|
|
46
|
+
signoff_subject_kind,
|
|
27
47
|
stage_event_kind,
|
|
28
48
|
task_event_actor,
|
|
29
49
|
task_event_payload,
|
|
30
50
|
task_link_kind,
|
|
51
|
+
thread_anchor,
|
|
52
|
+
thread_entry,
|
|
53
|
+
thread_marker,
|
|
54
|
+
thread_status,
|
|
55
|
+
toggle_blocking_request,
|
|
31
56
|
update_action,
|
|
32
57
|
update_user,
|
|
33
58
|
upsert_goal,
|
|
59
|
+
upsert_hook,
|
|
34
60
|
upsert_milestone,
|
|
35
61
|
upsert_pipeline_analysis_template,
|
|
36
62
|
upsert_pipeline_approval,
|
|
@@ -43,9 +69,10 @@ import {
|
|
|
43
69
|
upsert_task_link,
|
|
44
70
|
upsert_todo,
|
|
45
71
|
webhook_event_body
|
|
46
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-KRYLGBPJ.js";
|
|
47
73
|
import {
|
|
48
74
|
apiError,
|
|
75
|
+
approvalChannel,
|
|
49
76
|
authExpired,
|
|
50
77
|
badRequest,
|
|
51
78
|
configureErrorLogging,
|
|
@@ -56,6 +83,7 @@ import {
|
|
|
56
83
|
forbidden,
|
|
57
84
|
githubError,
|
|
58
85
|
isApiError,
|
|
86
|
+
isApprovalChannelError,
|
|
59
87
|
isAuthExpiredError,
|
|
60
88
|
isBadRequestError,
|
|
61
89
|
isConflictError,
|
|
@@ -85,7 +113,7 @@ import {
|
|
|
85
113
|
unauthorized,
|
|
86
114
|
validation,
|
|
87
115
|
validationFieldError
|
|
88
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-4GRUM2BX.js";
|
|
89
117
|
|
|
90
118
|
// ../schema/dist/types.js
|
|
91
119
|
var TAG_COLOURS = {
|
|
@@ -104,10 +132,14 @@ var TAG_COLOURS = {
|
|
|
104
132
|
export {
|
|
105
133
|
GRAPH_CHILDREN_CAP,
|
|
106
134
|
GRAPH_DEPTH_CAP,
|
|
135
|
+
INTERFACE_DIFF_CLASSES,
|
|
136
|
+
REVIEW_ITEM_KINDS,
|
|
107
137
|
TAG_COLOURS,
|
|
138
|
+
advance_stage_request,
|
|
108
139
|
apiError,
|
|
109
140
|
apply_op,
|
|
110
141
|
apply_request,
|
|
142
|
+
approvalChannel,
|
|
111
143
|
approval_decision,
|
|
112
144
|
authExpired,
|
|
113
145
|
badRequest,
|
|
@@ -115,9 +147,12 @@ export {
|
|
|
115
147
|
config_schema,
|
|
116
148
|
configureErrorLogging,
|
|
117
149
|
conflict,
|
|
150
|
+
create_thread_request,
|
|
118
151
|
dashboard_response,
|
|
119
152
|
dashboard_window_query,
|
|
120
153
|
dbError,
|
|
154
|
+
decide_checkpoint_request,
|
|
155
|
+
document_kind,
|
|
121
156
|
done_request,
|
|
122
157
|
encryptionError,
|
|
123
158
|
errors,
|
|
@@ -127,8 +162,14 @@ export {
|
|
|
127
162
|
gate_descriptor,
|
|
128
163
|
githubError,
|
|
129
164
|
grant_scope,
|
|
165
|
+
hook_action_input,
|
|
166
|
+
hook_action_public,
|
|
167
|
+
hook_action_stored,
|
|
168
|
+
hook_selector,
|
|
169
|
+
hook_trigger,
|
|
130
170
|
insert_pipeline_stage_event,
|
|
131
171
|
isApiError,
|
|
172
|
+
isApprovalChannelError,
|
|
132
173
|
isAuthExpiredError,
|
|
133
174
|
isBadRequestError,
|
|
134
175
|
isConflictError,
|
|
@@ -154,9 +195,15 @@ export {
|
|
|
154
195
|
pipeline_oidc_provider,
|
|
155
196
|
project_config,
|
|
156
197
|
protectedEntity,
|
|
198
|
+
push_doc_request,
|
|
199
|
+
push_interface_report_request,
|
|
157
200
|
rateLimited,
|
|
201
|
+
reply_thread_request,
|
|
202
|
+
request_checkpoint_request,
|
|
158
203
|
resolved_gates,
|
|
159
204
|
resolved_rollout,
|
|
205
|
+
review_item,
|
|
206
|
+
reviews_pending_response,
|
|
160
207
|
rollout_shape,
|
|
161
208
|
rollout_stage,
|
|
162
209
|
run_kind,
|
|
@@ -164,15 +211,24 @@ export {
|
|
|
164
211
|
save_config_request,
|
|
165
212
|
save_tags_request,
|
|
166
213
|
scanError,
|
|
214
|
+
sdlc_stage,
|
|
215
|
+
signoff_checkpoint,
|
|
216
|
+
signoff_subject_kind,
|
|
167
217
|
stage_event_kind,
|
|
168
218
|
storeError,
|
|
169
219
|
task_event_actor,
|
|
170
220
|
task_event_payload,
|
|
171
221
|
task_link_kind,
|
|
222
|
+
thread_anchor,
|
|
223
|
+
thread_entry,
|
|
224
|
+
thread_marker,
|
|
225
|
+
thread_status,
|
|
226
|
+
toggle_blocking_request,
|
|
172
227
|
unauthorized,
|
|
173
228
|
update_action,
|
|
174
229
|
update_user,
|
|
175
230
|
upsert_goal,
|
|
231
|
+
upsert_hook,
|
|
176
232
|
upsert_milestone,
|
|
177
233
|
upsert_pipeline_analysis_template,
|
|
178
234
|
upsert_pipeline_approval,
|
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-CsYeI1BE.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-7jUA2Hd2.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,
|