@devpad/api 2.2.6 → 2.2.8

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.
@@ -1,14 +1,3 @@
1
- // src/schema/blog.ts
2
- import {
3
- create_cloudflare_backend,
4
- create_corpus,
5
- create_memory_backend,
6
- define_store as define_store2,
7
- err as err2,
8
- json_codec as json_codec2,
9
- ok as ok2
10
- } from "@f0rbit/corpus";
11
-
12
1
  // ../schema/dist/blog/corpus.js
13
2
  import { define_store, json_codec } from "@f0rbit/corpus";
14
3
  import { z } from "zod";
@@ -232,6 +221,17 @@ var IntegrationUpsertSchema = z2.object({
232
221
  location: z2.string().min(1),
233
222
  data: z2.record(z2.unknown()).optional()
234
223
  });
224
+
225
+ // src/schema/blog.ts
226
+ import {
227
+ create_cloudflare_backend,
228
+ create_corpus,
229
+ create_memory_backend,
230
+ define_store as define_store2,
231
+ err as err2,
232
+ json_codec as json_codec2,
233
+ ok as ok2
234
+ } from "@f0rbit/corpus";
235
235
  export {
236
236
  AccessKeyCreateSchema,
237
237
  AccessKeyInsertSchema,
@@ -1,7 +1,7 @@
1
- export { b as ApiError, A as AuthExpiredError, d as BadRequestError, B as BaseError, C as ConflictError, h as CronError, D as DatabaseError, E as EncryptionError, i as ErrorContext, j as ErrorLogEntry, F as ForbiddenError, G as GithubError, a as NetworkError, N as NotFoundError, P as ParseError, c as ProtectedError, g as ProviderError, R as RateLimitedError, e as ScanError, f as ServiceError, S as StoreError, U as UnauthorizedError, V as ValidationError, Y as apiError, X as authExpired, a2 as badRequest, k as configureErrorLogging, a0 as conflict, $ as dbError, _ as encryptionError, a6 as errors, M as forbidden, a5 as githubError, s as isApiError, r as isAuthExpiredError, y as isBadRequestError, w as isConflictError, v as isDatabaseError, u as isEncryptionError, m as isForbiddenError, I as isGithubError, q as isNetworkError, l as isNotFoundError, t as isParseError, x as isProtectedError, o as isRateLimitedError, K as isRetryableError, H as isScanError, J as isServiceError, p as isStoreError, z as isUnauthorizedError, n as isValidationError, W as networkError, L as notFound, Z as parseError, a1 as protectedEntity, Q as rateLimited, a4 as scanError, T as storeError, a3 as unauthorized, O as validation } from '../errors.d-DcjQAql-.js';
2
- export { c as Action, A as ApiKey, C as CodebaseTask, z as ConfigSchemaType, r as GetConfigResult, G as Goal, H as HistoryAction, I as IgnorePath, M as Milestone, N as Nullable, P as Project, m as ProjectConfig, p as ProjectWithTasks, n as SaveConfigRequest, w as ScanStatus, S as Session, s as TAG_COLOURS, a as Tag, t as TagColor, f as TagConfig, q as TagWithColor, u as TagWithTypedColor, T as Task, b as TaskTag, v as TaskView, o as TaskWithDetails, d as TodoUpdate, e as TrackerResult, l as UpdateAction, x as UpdateData, y as UpdateUser, k as UpsertGoal, j as UpsertMilestone, g as UpsertProject, i as UpsertTag, h as UpsertTodo, U as User, Q as config_schema, J as project_config, K as save_config_request, L as save_tags_request, E as update_action, O as update_user, V as upsert_goal, R as upsert_milestone, B as upsert_project, F as upsert_tag, D as upsert_todo } from '../types.d-CW-e2BrO.js';
1
+ export { A as ApiError, a as AuthExpiredError, B as BadRequestError, b as BaseError, C as ConflictError, c as CronError, D as DatabaseError, E as EncryptionError, d as ErrorContext, e as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, f as NotFoundError, P as ParseError, g as ProtectedError, h as ProviderError, R as RateLimitedError, S as ScanError, i as ServiceError, j as StoreError, U as UnauthorizedError, V as ValidationError, k as ValidationFieldError, l as apiError, m as authExpired, n as badRequest, o as configureErrorLogging, p as conflict, q as dbError, r as encryptionError, s as errors, t as forbidden, u as githubError, v as isApiError, w as isAuthExpiredError, x as isBadRequestError, y as isConflictError, z as isDatabaseError, H as isEncryptionError, I as isForbiddenError, J as isGithubError, K as isNetworkError, L as isNotFoundError, M as isParseError, O as isProtectedError, Q as isRateLimitedError, T as isRetryableError, W as isScanError, X as isServiceError, Y as isStoreError, Z as isUnauthorizedError, _ as isValidationError, $ as isValidationFieldError, a0 as networkError, a1 as notFound, a2 as parseError, a3 as protectedEntity, a4 as rateLimited, a5 as scanError, a6 as storeError, a7 as unauthorized, a8 as validation, a9 as validationFieldError } from '../errors.d-CNYqUDaJ.js';
2
+ export { A as Action, a as ApiKey, C as CodebaseTask, b as ConfigSchemaType, D as DashboardResponse, c as DashboardWindowQuery, G as GetConfigResult, d as Goal, H as HistoryAction, I as IgnorePath, e as InsertPipelineStageEvent, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, f as PipelineApproval, g as PipelineGrant, h as PipelineOidcTrust, i as PipelinePackage, j as PipelineRun, k as PipelineStageEvent, l as Project, m as ProjectConfig, n as ProjectWithTasks, R as RolloutShapeZ, o as RunKindZ, S as SaveConfigRequest, p as ScanStatus, q as Session, T as TAG_COLOURS, r as Tag, s as TagColor, t as TagConfig, u as TagWithColor, v as TagWithTypedColor, w as Task, x as TaskTag, y as TaskView, z as TaskWithDetails, B as TodoUpdate, E as TrackerResult, U as UpdateAction, F as UpdateData, J as UpdateUser, K as UpsertGoal, L as UpsertMilestone, O as UpsertPipelineAnalysisTemplate, Q as UpsertPipelineApproval, V as UpsertPipelineGrant, W as UpsertPipelineOidcTrust, X as UpsertPipelinePackage, Y as UpsertPipelineRun, Z as UpsertProject, _ as UpsertTag, $ as UpsertTodo, a0 as User, a1 as WebhookEventBody, a2 as approval_decision, a3 as config_schema, a4 as dashboard_response, a5 as dashboard_window_query, a6 as forced_atomic_reason, a7 as gate_descriptor, a8 as grant_scope, a9 as insert_pipeline_stage_event, aa as pipeline_oidc_provider, ab as project_config, ac as resolved_gates, ad as resolved_rollout, ae as rollout_shape, af as rollout_stage, ag as run_kind, ah as run_status, ai as save_config_request, aj as save_tags_request, ak as stage_event_kind, al as update_action, am as update_user, an as upsert_goal, ao as upsert_milestone, ap as upsert_pipeline_analysis_template, aq as upsert_pipeline_approval, ar as upsert_pipeline_grant, as as upsert_pipeline_oidc_trust, at as upsert_pipeline_package, au as upsert_pipeline_run, av as upsert_project, aw as upsert_tag, ax as upsert_todo, ay as webhook_event_body } from '../types.d-BvfRohlZ.js';
3
+ export { a as ApprovalDecision, F as ForcedAtomicReason, P as PipelineOidcProvider, R as RolloutShape, b as RunStatus, S as StageEventKind } from '../schema.d-BeVFWenc.js';
3
4
  import '@f0rbit/corpus';
4
5
  import 'drizzle-orm';
5
6
  import 'zod';
6
- import '../schema.d-Bka8880l.js';
7
7
  import 'drizzle-orm/sqlite-core';
@@ -1,16 +1,38 @@
1
1
  import {
2
+ approval_decision,
2
3
  config_schema,
4
+ dashboard_response,
5
+ dashboard_window_query,
6
+ forced_atomic_reason,
7
+ gate_descriptor,
8
+ grant_scope,
9
+ insert_pipeline_stage_event,
10
+ pipeline_oidc_provider,
3
11
  project_config,
12
+ resolved_gates,
13
+ resolved_rollout,
14
+ rollout_shape,
15
+ rollout_stage,
16
+ run_kind,
17
+ run_status,
4
18
  save_config_request,
5
19
  save_tags_request,
20
+ stage_event_kind,
6
21
  update_action,
7
22
  update_user,
8
23
  upsert_goal,
9
24
  upsert_milestone,
25
+ upsert_pipeline_analysis_template,
26
+ upsert_pipeline_approval,
27
+ upsert_pipeline_grant,
28
+ upsert_pipeline_oidc_trust,
29
+ upsert_pipeline_package,
30
+ upsert_pipeline_run,
10
31
  upsert_project,
11
32
  upsert_tag,
12
- upsert_todo
13
- } from "../chunk-7SQVSGWV.js";
33
+ upsert_todo,
34
+ webhook_event_body
35
+ } from "../chunk-TEOIDOOX.js";
14
36
  import {
15
37
  apiError,
16
38
  authExpired,
@@ -41,6 +63,7 @@ import {
41
63
  isStoreError,
42
64
  isUnauthorizedError,
43
65
  isValidationError,
66
+ isValidationFieldError,
44
67
  networkError,
45
68
  notFound,
46
69
  parseError,
@@ -49,8 +72,9 @@ import {
49
72
  scanError,
50
73
  storeError,
51
74
  unauthorized,
52
- validation
53
- } from "../chunk-5ALH7B5B.js";
75
+ validation,
76
+ validationFieldError
77
+ } from "../chunk-NQZIDUBQ.js";
54
78
 
55
79
  // ../schema/dist/types.js
56
80
  var TAG_COLOURS = {
@@ -69,16 +93,23 @@ var TAG_COLOURS = {
69
93
  export {
70
94
  TAG_COLOURS,
71
95
  apiError,
96
+ approval_decision,
72
97
  authExpired,
73
98
  badRequest,
74
99
  config_schema,
75
100
  configureErrorLogging,
76
101
  conflict,
102
+ dashboard_response,
103
+ dashboard_window_query,
77
104
  dbError,
78
105
  encryptionError,
79
106
  errors,
80
107
  forbidden,
108
+ forced_atomic_reason,
109
+ gate_descriptor,
81
110
  githubError,
111
+ grant_scope,
112
+ insert_pipeline_stage_event,
82
113
  isApiError,
83
114
  isAuthExpiredError,
84
115
  isBadRequestError,
@@ -98,23 +129,40 @@ export {
98
129
  isStoreError,
99
130
  isUnauthorizedError,
100
131
  isValidationError,
132
+ isValidationFieldError,
101
133
  networkError,
102
134
  notFound,
103
135
  parseError,
136
+ pipeline_oidc_provider,
104
137
  project_config,
105
138
  protectedEntity,
106
139
  rateLimited,
140
+ resolved_gates,
141
+ resolved_rollout,
142
+ rollout_shape,
143
+ rollout_stage,
144
+ run_kind,
145
+ run_status,
107
146
  save_config_request,
108
147
  save_tags_request,
109
148
  scanError,
149
+ stage_event_kind,
110
150
  storeError,
111
151
  unauthorized,
112
152
  update_action,
113
153
  update_user,
114
154
  upsert_goal,
115
155
  upsert_milestone,
156
+ upsert_pipeline_analysis_template,
157
+ upsert_pipeline_approval,
158
+ upsert_pipeline_grant,
159
+ upsert_pipeline_oidc_trust,
160
+ upsert_pipeline_package,
161
+ upsert_pipeline_run,
116
162
  upsert_project,
117
163
  upsert_tag,
118
164
  upsert_todo,
119
- validation
165
+ validation,
166
+ validationFieldError,
167
+ webhook_event_body
120
168
  };
@@ -1,11 +1,11 @@
1
- export { b as ApiError, A as AuthExpiredError, d as BadRequestError, B as BaseError, C as ConflictError, h as CronError, D as DatabaseError, E as EncryptionError, i as ErrorContext, j as ErrorLogEntry, F as ForbiddenError, G as GithubError, a as NetworkError, N as NotFoundError, P as ParseError, c as ProtectedError, g as ProviderError, R as RateLimitedError, e as ScanError, f as ServiceError, S as StoreError, U as UnauthorizedError, V as ValidationError, Y as apiError, X as authExpired, a2 as badRequest, k as configureErrorLogging, a0 as conflict, $ as dbError, _ as encryptionError, a6 as errors, M as forbidden, a5 as githubError, s as isApiError, r as isAuthExpiredError, y as isBadRequestError, w as isConflictError, v as isDatabaseError, u as isEncryptionError, m as isForbiddenError, I as isGithubError, q as isNetworkError, l as isNotFoundError, t as isParseError, x as isProtectedError, o as isRateLimitedError, K as isRetryableError, H as isScanError, J as isServiceError, p as isStoreError, z as isUnauthorizedError, n as isValidationError, W as networkError, L as notFound, Z as parseError, a1 as protectedEntity, Q as rateLimited, a4 as scanError, T as storeError, a3 as unauthorized, O as validation } from '../errors.d-DcjQAql-.js';
1
+ export { A as ApiError, a as AuthExpiredError, B as BadRequestError, b as BaseError, C as ConflictError, c as CronError, D as DatabaseError, E as EncryptionError, d as ErrorContext, e as ErrorLogEntry, F as ForbiddenError, G as GithubError, N as NetworkError, f as NotFoundError, P as ParseError, g as ProtectedError, h as ProviderError, R as RateLimitedError, S as ScanError, i as ServiceError, j as StoreError, U as UnauthorizedError, V as ValidationError, k as ValidationFieldError, l as apiError, m as authExpired, n as badRequest, o as configureErrorLogging, p as conflict, q as dbError, r as encryptionError, s as errors, t as forbidden, u as githubError, v as isApiError, w as isAuthExpiredError, x as isBadRequestError, y as isConflictError, z as isDatabaseError, H as isEncryptionError, I as isForbiddenError, J as isGithubError, K as isNetworkError, L as isNotFoundError, M as isParseError, O as isProtectedError, Q as isRateLimitedError, T as isRetryableError, W as isScanError, X as isServiceError, Y as isStoreError, Z as isUnauthorizedError, _ as isValidationError, $ as isValidationFieldError, a0 as networkError, a1 as notFound, a2 as parseError, a3 as protectedEntity, a4 as rateLimited, a5 as scanError, a6 as storeError, a7 as unauthorized, a8 as validation, a9 as validationFieldError } from '../errors.d-CNYqUDaJ.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-BcKx3ryl.js';
2
3
  import { z } from 'zod';
3
- export { A as Account, p as AccountSetting, q as AccountWithUser, a6 as AddFilterInput, a3 as AddFilterSchema, r as ApiKey, s as BlueskyAuthor, B as BlueskyAuthorSchema, t as BlueskyFeedItem, a as BlueskyFeedItemSchema, u as BlueskyPost, b as BlueskyPostSchema, v as BlueskyRaw, c as BlueskyRawSchema, af as BlueskySettings, aa as BlueskySettingsSchema, aD as CommentPayload, aq as CommentPayloadSchema, aG as CommitGroup, at as CommitGroupSchema, ax as CommitPayload, ak as CommitPayloadSchema, C as CorpusPath, a4 as CreateProfileInput, $ as CreateProfileSchema, aH as DateGroup, au as DateGroupSchema, w as DevpadRaw, D as DevpadRawSchema, ah as DevpadSettings, ac as DevpadSettingsSchema, x as DevpadTask, d as DevpadTaskSchema, a8 as FilterKey, a2 as FilterKeySchema, a7 as FilterType, a1 as FilterTypeSchema, y as GitHubBaseEvent, G as GitHubBaseEventSchema, z as GitHubEvent, e as GitHubEventSchema, E as GitHubExtendedCommit, f as GitHubExtendedCommitSchema, F as GitHubPullRequest, g as GitHubPullRequestSchema, H as GitHubRaw, h as GitHubRawSchema, I as GitHubRepo, i as GitHubRepoSchema, ae as GitHubSettings, a9 as GitHubSettingsSchema, k as MULTI_STORE_PLATFORMS, M as MultiStorePlatform, N as NewAccount, J as NewAccountSetting, K as NewApiKey, L as NewPlatformCredential, O as NewProfile, Q as NewProfileFilter, R as NewRateLimit, l as PLATFORMS, aB as PRCommit, ao as PRCommitSchema, aE as Payload, ar as PayloadSchema, P as Platform, S as PlatformCredential, m as PlatformSchema, ai as PlatformSettings, ad as PlatformSettingsSchemaMap, ay as PostPayload, al as PostPayloadSchema, T as Profile, U as ProfileFilter, aC as PullRequestPayload, ap as PullRequestPayloadSchema, V as RateLimit, _ as SlugSchema, aA as TaskPayload, an as TaskPayloadSchema, aI as Timeline, aF as TimelineItem, as as TimelineItemSchema, av as TimelineSchema, aw as TimelineType, aj as TimelineTypeSchema, a5 as UpdateProfileInput, a0 as UpdateProfileSchema, az as VideoPayload, am as VideoPayloadSchema, W as YouTubeRaw, Y as YouTubeRawSchema, ag as YouTubeSettings, ab as YouTubeSettingsSchema, X as YouTubeThumbnail, n as YouTubeThumbnailSchema, Z as YouTubeVideo, o as YouTubeVideoSchema, j as isMultiStorePlatform } from '../types.d-VdW3W-u7.js';
4
4
  import '@f0rbit/corpus';
5
5
  import 'drizzle-orm';
6
- import '../media.d-CQ56ckoR.js';
6
+ import '../media.d-R87HGuRp.js';
7
7
  import 'drizzle-orm/sqlite-core';
8
- import '../schema.d-Bka8880l.js';
8
+ import '../schema.d-BeVFWenc.js';
9
9
 
10
10
  declare const brand: unique symbol;
11
11
  type Brand<T, B extends string> = T & {