@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.
@@ -1,10 +1,10 @@
1
- export { A as AccessKey, a as AccessKeyCreate, b as AccessKeyCreateSchema, c as AccessKeyInsert, d as AccessKeyInsertSchema, e as AccessKeyRow, f as AccessKeyRowSchema, g as AccessKeySchema, h as AccessKeyUpdate, i as AccessKeyUpdateSchema, j as ApiError, C as Category, k as CategoryCreate, l as CategoryCreateSchema, m as CategoryInsert, n as CategoryInsertSchema, o as CategorySchema, F as FetchLink, p as FetchLinkInsert, q as FetchLinkInsertSchema, r as FetchLinkSchema, I as Integration, s as IntegrationInsert, t as IntegrationInsertSchema, u as IntegrationSchema, v as IntegrationUpsert, w as IntegrationUpsertSchema, P as PaginatedResponse, x as Post, y as PostContent, z as PostContentSchema, B as PostCorpusError, D as PostCreate, E as PostCreateSchema, G as PostListParams, H as PostListParamsSchema, J as PostRow, K as PostRowInsert, L as PostRowInsertSchema, M as PostRowSchema, N as PostSchema, O as PostStatus, Q as PostUpdate, R as PostUpdateSchema, S as PostsCorpus, T as PostsResponse, U as PostsResponseSchema, V as Tag, W as TagInsert, X as TagInsertSchema, Y as TagSchema, Z as VersionInfo, _ as VersionInfoSchema, $ as corpusPath, a0 as isDraft, a1 as isPublished, a2 as isScheduled, a3 as mapCorpusError, a4 as parsePostContent, a5 as postStatus, a6 as postStoreId, a7 as postsStoreDefinition, a8 as serializePostContent } from '../types.d-DbgtG-w1.js';
1
+ export { A as AccessKey, a as AccessKeyCreate, b as AccessKeyCreateSchema, c as AccessKeyInsert, d as AccessKeyInsertSchema, e as AccessKeyRow, f as AccessKeyRowSchema, g as AccessKeySchema, h as AccessKeyUpdate, i as AccessKeyUpdateSchema, j as ApiError, C as Category, k as CategoryCreate, l as CategoryCreateSchema, m as CategoryInsert, n as CategoryInsertSchema, o as CategorySchema, F as FetchLink, p as FetchLinkInsert, q as FetchLinkInsertSchema, r as FetchLinkSchema, I as Integration, s as IntegrationInsert, t as IntegrationInsertSchema, u as IntegrationSchema, v as IntegrationUpsert, w as IntegrationUpsertSchema, P as PaginatedResponse, x as Post, y as PostContent, z as PostContentSchema, B as PostCorpusError, D as PostCreate, E as PostCreateSchema, G as PostListParams, H as PostListParamsSchema, J as PostRow, K as PostRowInsert, L as PostRowInsertSchema, M as PostRowSchema, N as PostSchema, O as PostStatus, Q as PostUpdate, R as PostUpdateSchema, S as PostsCorpus, T as PostsResponse, U as PostsResponseSchema, V as Tag, W as TagInsert, X as TagInsertSchema, Y as TagSchema, Z as VersionInfo, _ as VersionInfoSchema, $ as corpusPath, a0 as isDraft, a1 as isPublished, a2 as isScheduled, a3 as mapCorpusError, a4 as parsePostContent, a5 as postStatus, a6 as postStoreId, a7 as postsStoreDefinition, a8 as serializePostContent } from '../types-CDD2mUV6.js';
2
2
  export { Backend, Corpus, CorpusError, FetchError, ListOpts, Pipe, PutOpts, Result, Snapshot, SnapshotMeta, Store, StoreDefinition, at, create_cloudflare_backend, create_corpus, create_memory_backend, define_store, err, fetch_result, first, format_error, json_codec, last, match, ok, pipe, to_fallback, to_nullable, try_catch, try_catch_async, unwrap_or } from '@f0rbit/corpus';
3
3
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
4
4
  import { BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
5
5
  import * as drizzle_orm from 'drizzle-orm';
6
- import { M as MediaPlatform } from '../media.d-R87HGuRp.js';
7
- import { g as ProjectViewLayout } from '../schema.d-CUm4wtV_.js';
6
+ import { M as MediaPlatform } from '../media-R87HGuRp.js';
7
+ import { g as ProjectViewLayout } from '../schema-CizNlS2t.js';
8
8
  import 'zod';
9
9
 
10
10
  declare const fullSchema: {
@@ -4900,7 +4900,7 @@ declare const fullSchema: {
4900
4900
  tableName: "task_event";
4901
4901
  dataType: "string";
4902
4902
  columnType: "SQLiteText";
4903
- data: "user" | "api" | "policy" | "github";
4903
+ data: "github" | "user" | "api" | "policy";
4904
4904
  driverParam: string;
4905
4905
  notNull: true;
4906
4906
  hasDefault: false;
@@ -8236,7 +8236,7 @@ declare const fullSchema: {
8236
8236
  tableName: "pipeline_stage_event";
8237
8237
  dataType: "string";
8238
8238
  columnType: "SQLiteText";
8239
- data: "error" | "deploy_started" | "deploy_completed" | "deploy_failed" | "dispatch_requested" | "dispatch_failed" | "timed_out" | "bake_started" | "bake_completed" | "gate_verdict" | "approval_requested" | "rollback_started" | "rollback_completed" | "warning";
8239
+ data: "deploy_started" | "deploy_completed" | "deploy_failed" | "dispatch_requested" | "dispatch_failed" | "timed_out" | "bake_started" | "bake_completed" | "gate_verdict" | "approval_requested" | "rollback_started" | "rollback_completed" | "warning" | "error";
8240
8240
  driverParam: string;
8241
8241
  notNull: true;
8242
8242
  hasDefault: false;
@@ -33,7 +33,7 @@ import {
33
33
  postStoreId,
34
34
  postsStoreDefinition,
35
35
  serializePostContent
36
- } from "../chunk-5L3AUVMM.js";
36
+ } from "../chunk-V6CM3V4I.js";
37
37
 
38
38
  // src/schema/blog.ts
39
39
  import {
@@ -1,6 +1,6 @@
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, n as ExternalTarget, G as GetConfigResult, o as GithubWebhookEvent, p as Goal, H as HistoryAction, q as Hook, r as HookActionInput, s as HookActionPublic, t as HookActionStored, u as HookDelivery, v as HookSelector, w as HookTrigger, I as INTERFACE_DIFF_CLASSES, x as IgnorePath, y as InsertPipelineStageEvent, z as InterfaceDiffClass, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, B as PipelineApproval, F as PipelineDispatch, J as PipelineGrant, K as PipelineOidcTrust, L as PipelinePackage, O as PipelineRun, Q as PipelineStageEvent, R as Project, S as ProjectConfig, T as ProjectGraphResponse, U as ProjectViewLayoutInput, V as ProjectWithTasks, W as PushDocRequest, X as PushInterfaceReportRequest, Y as REVIEW_ITEM_KINDS, Z as ReplyThreadRequest, _ as RequestCheckpointRequest, $ as ReviewItem, a0 as ReviewItemKind, a1 as ReviewsPendingResponse, a2 as RolloutShapeZ, a3 as RunKindZ, a4 as SaveConfigRequest, a5 as ScanDiffProposal, a6 as ScanStatus, a7 as Session, a8 as Signoff, a9 as TAG_COLOURS, aa as Tag, ab as TagColor, ac as TagConfig, ad as TagWithColor, ae as TagWithTypedColor, af as Task, ag as TaskEvent, ah as TaskEventPayload, ai as TaskLink, aj as TaskRollup, ak as TaskTag, al as TaskView, am as TaskWithDetails, an as ThreadAnchor, ao as ThreadEntry, ap as ThreadMarker, aq as TodoUpdate, ar as ToggleBlockingRequest, as as ToggleHookEnabled, at as TrackerResult, au as UpdateAction, av as UpdateData, aw as UpdateUser, ax as UpsertGoal, ay as UpsertHook, az as UpsertMilestone, aA as UpsertPipelineAnalysisTemplate, aB as UpsertPipelineApproval, aC as UpsertPipelineDispatch, aD as UpsertPipelineGrant, aE as UpsertPipelineOidcTrust, aF as UpsertPipelinePackage, aG as UpsertPipelineRun, aH as UpsertProject, aI as UpsertTag, aJ as UpsertTaskLink, aK as UpsertTodo, aL as User, aM as WebhookEventBody, aN as advance_stage_request, aO as apply_op, aP as apply_request, aQ as approval_decision, aR as claim_request, aS as commit_sha, aT as config_schema, aU as create_thread_request, aV as dashboard_response, aW as dashboard_window_query, aX as decide_checkpoint_request, aY as deploy_mode, aZ as dispatch_status, a_ as document_kind, a$ as done_request, b0 as external_ref, b1 as external_target, b2 as forced_atomic_reason, b3 as gate_descriptor, b4 as grant_scope, b5 as hook_action_input, b6 as hook_action_public, b7 as hook_action_stored, b8 as hook_selector, b9 as hook_trigger, ba as insert_pipeline_stage_event, bb as pipeline_oidc_provider, bc as project_config, bd as project_graph_link, be as project_graph_response, bf as project_graph_rollup_counts, bg as project_graph_task, bh as project_view_layout, bi as project_view_pin, bj as push_doc_request, bk as push_interface_report_request, bl as reply_thread_request, bm as request_checkpoint_request, bn as resolved_gates, bo as resolved_rollout, bp as review_item, bq as reviews_pending_response, br as rollout_shape, bs as rollout_stage, bt as run_kind, bu as run_status, bv as save_config_request, bw as save_tags_request, bx as scan_diff_proposal, by as sdlc_stage, bz as signoff_checkpoint, bA as signoff_subject_kind, bB as stage_event_kind, bC as task_event_actor, bD as task_event_payload, bE as task_link_kind, bF as thread_anchor, bG as thread_entry, bH as thread_marker, bI as thread_status, bJ as toggle_blocking_request, bK as toggle_hook_enabled, bL as update_action, bM as update_user, bN as upsert_goal, bO as upsert_hook, bP as upsert_milestone, bQ as upsert_pipeline_analysis_template, bR as upsert_pipeline_approval, bS as upsert_pipeline_dispatch, bT as upsert_pipeline_grant, bU as upsert_pipeline_oidc_trust, bV as upsert_pipeline_package, bW as upsert_pipeline_run, bX as upsert_project, bY as upsert_tag, bZ as upsert_task_link, b_ as upsert_todo, b$ as webhook_event_body } from '../types.d-D1ao8Ynh.js';
3
- export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, D as DeployMode, c as DispatchStatus, d as DocumentKind, e as DocumentStatus, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP, f as GRAPH_DEPTH_CAP, H as HookDeliveryStatus, P as PipelineOidcProvider, R as RolloutShape, h as RunStatus, S as SdlcStage, i as SignoffCheckpoint, j as SignoffDecision, k as SignoffSubjectKind, l as StageEventKind, T as TaskEventActor, m as TaskEventDispatchStatus, n as TaskEventKind, o as TaskKind, p as TaskLinkKind, q as ThreadStatus } from '../schema.d-CUm4wtV_.js';
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 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, n as ExternalTarget, G as GetConfigResult, o as GithubWebhookEvent, p as Goal, H as HistoryAction, q as Hook, r as HookActionInput, s as HookActionPublic, t as HookActionStored, u as HookDelivery, v as HookSelector, w as HookTrigger, I as INTERFACE_DIFF_CLASSES, x as IgnorePath, y as InsertPipelineStageEvent, z as InterfaceDiffClass, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, B as PipelineApproval, F as PipelineDispatch, J as PipelineGrant, K as PipelineOidcTrust, L as PipelinePackage, O as PipelineRun, Q as PipelineStageEvent, R as Project, S as ProjectConfig, T as ProjectGraphResponse, U as ProjectViewLayoutInput, V as ProjectWithTasks, W as PushDocRequest, X as PushInterfaceReportRequest, Y as REVIEW_ITEM_KINDS, Z as ReplyThreadRequest, _ as RequestCheckpointRequest, $ as ReviewItem, a0 as ReviewItemKind, a1 as ReviewsPendingResponse, a2 as RolloutShapeZ, a3 as RunKindZ, a4 as SaveConfigRequest, a5 as ScanDiffProposal, a6 as ScanStatus, a7 as Session, a8 as Signoff, a9 as TAG_COLOURS, aa as Tag, ab as TagColor, ac as TagConfig, ad as TagWithColor, ae as TagWithTypedColor, af as Task, ag as TaskEvent, ah as TaskEventPayload, ai as TaskLink, aj as TaskRollup, ak as TaskTag, al as TaskView, am as TaskWithDetails, an as ThreadAnchor, ao as ThreadEntry, ap as ThreadMarker, aq as TodoUpdate, ar as ToggleBlockingRequest, as as ToggleHookEnabled, at as TrackerResult, au as UpdateAction, av as UpdateData, aw as UpdateUser, ax as UpsertGoal, ay as UpsertHook, az as UpsertMilestone, aA as UpsertPipelineAnalysisTemplate, aB as UpsertPipelineApproval, aC as UpsertPipelineDispatch, aD as UpsertPipelineGrant, aE as UpsertPipelineOidcTrust, aF as UpsertPipelinePackage, aG as UpsertPipelineRun, aH as UpsertProject, aI as UpsertTag, aJ as UpsertTaskLink, aK as UpsertTodo, aL as User, aM as WebhookEventBody, aN as advance_stage_request, aO as apply_op, aP as apply_request, aQ as approval_decision, aR as claim_request, aS as commit_sha, aT as config_schema, aU as create_thread_request, aV as dashboard_response, aW as dashboard_window_query, aX as decide_checkpoint_request, aY as deploy_mode, aZ as dispatch_status, a_ as document_kind, a$ as done_request, b0 as external_ref, b1 as external_target, b2 as forced_atomic_reason, b3 as gate_descriptor, b4 as grant_scope, b5 as hook_action_input, b6 as hook_action_public, b7 as hook_action_stored, b8 as hook_selector, b9 as hook_trigger, ba as insert_pipeline_stage_event, bb as pipeline_oidc_provider, bc as project_config, bd as project_graph_link, be as project_graph_response, bf as project_graph_rollup_counts, bg as project_graph_task, bh as project_view_layout, bi as project_view_pin, bj as push_doc_request, bk as push_interface_report_request, bl as reply_thread_request, bm as request_checkpoint_request, bn as resolved_gates, bo as resolved_rollout, bp as review_item, bq as reviews_pending_response, br as rollout_shape, bs as rollout_stage, bt as run_kind, bu as run_status, bv as save_config_request, bw as save_tags_request, bx as scan_diff_proposal, by as sdlc_stage, bz as signoff_checkpoint, bA as signoff_subject_kind, bB as stage_event_kind, bC as task_event_actor, bD as task_event_payload, bE as task_link_kind, bF as thread_anchor, bG as thread_entry, bH as thread_marker, bI as thread_status, bJ as toggle_blocking_request, bK as toggle_hook_enabled, bL as update_action, bM as update_user, bN as upsert_goal, bO as upsert_hook, bP as upsert_milestone, bQ as upsert_pipeline_analysis_template, bR as upsert_pipeline_approval, bS as upsert_pipeline_dispatch, bT as upsert_pipeline_grant, bU as upsert_pipeline_oidc_trust, bV as upsert_pipeline_package, bW as upsert_pipeline_run, bX as upsert_project, bY as upsert_tag, bZ as upsert_task_link, b_ as upsert_todo, b$ as webhook_event_body } from '../types-CnplaVqa.js';
3
+ export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, D as DeployMode, c as DispatchStatus, d as DocumentKind, e as DocumentStatus, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP, f as GRAPH_DEPTH_CAP, H as HookDeliveryStatus, P as PipelineOidcProvider, R as RolloutShape, h as RunStatus, S as SdlcStage, i as SignoffCheckpoint, j as SignoffDecision, k as SignoffSubjectKind, l as StageEventKind, T as TaskEventActor, m as TaskEventDispatchStatus, n as TaskEventKind, o as TaskKind, p as TaskLinkKind, q as ThreadStatus } from '../schema-CizNlS2t.js';
4
4
  import '@f0rbit/corpus';
5
5
  import 'drizzle-orm';
6
6
  import 'zod';
@@ -82,7 +82,7 @@ import {
82
82
  upsert_task_link,
83
83
  upsert_todo,
84
84
  webhook_event_body
85
- } from "../chunk-AXQWQXZR.js";
85
+ } from "../chunk-DHYAC4LG.js";
86
86
  import {
87
87
  apiError,
88
88
  approvalChannel,
@@ -126,9 +126,9 @@ import {
126
126
  unauthorized,
127
127
  validation,
128
128
  validationFieldError
129
- } from "../chunk-4GRUM2BX.js";
129
+ } from "../chunk-6I7TZ36B.js";
130
130
 
131
- // ../schema/dist/types.js
131
+ // ../schema/src/types.ts
132
132
  var TAG_COLOURS = {
133
133
  red: { colour: "#F28B82", text: "#faeeef", border: "#F5A5A5" },
134
134
  green: { colour: "#CCFF90", text: "#2E7D32", border: "#A5D6A7" },