@devpad/api 2.6.7 → 2.6.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.
@@ -475,7 +475,10 @@ var pipeline_grant = sqliteTable("pipeline_grant", {
475
475
  stage_name: text("stage_name").notNull(),
476
476
  scope: text("scope").notNull(),
477
477
  granted_by: text("granted_by").references(() => user.id),
478
- granted_at: text("granted_at")
478
+ granted_at: text("granted_at"),
479
+ // Policy-table auto-approvals have no human grantor: `granted_by` stays
480
+ // null (it carries a FK to `user.id`) and this flag marks the row.
481
+ auto_approved: integer("auto_approved", { mode: "boolean" }).notNull().default(false)
479
482
  });
480
483
  var pipeline_approval = sqliteTable("pipeline_approval", {
481
484
  ...id("pipeline-approval"),
@@ -871,7 +874,8 @@ var upsert_pipeline_grant = z.object({
871
874
  stage_name: z.string(),
872
875
  scope: grant_scope,
873
876
  granted_by: z.string().nullable().optional(),
874
- granted_at: z.string().nullable().optional()
877
+ granted_at: z.string().nullable().optional(),
878
+ auto_approved: z.boolean().nullable().optional()
875
879
  });
876
880
  var upsert_pipeline_approval = z.object({
877
881
  run_id: z.string(),
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { G as PostListParams, T as PostsResponse, x as Post, D as PostCreate, Q as PostUpdate, Z as VersionInfo, y as PostContent, C as Category, k as CategoryCreate, A as AccessKey } from './types.d-DbgtG-w1.js';
2
- import { ai as Profile, u as CreateProfileInput, aw as UpdateProfileInput, aj as ProfileFilter, c as AddFilterInput, aq as Timeline, A as Account, ae as PlatformSettings } from './types.d-C6CmE533.js';
2
+ import { ai as Profile, u as CreateProfileInput, aw as UpdateProfileInput, aj as ProfileFilter, c as AddFilterInput, aq as Timeline, A as Account, ae as PlatformSettings } from './types.d-D29eQkt1.js';
3
3
  import { z } from 'zod';
4
- import { c as ApiKey, R as Project, aH as UpsertProject, G as GetConfigResult, a4 as SaveConfigRequest, aq as TodoUpdate, H as HistoryAction, T as ProjectGraphResponse, U as ProjectViewLayoutInput, M as Milestone, af as Task, p as Goal, q as Hook, w as HookTrigger, s as HookActionPublic, ay as UpsertHook, u as HookDelivery, am as TaskWithDetails, aK as UpsertTodo, aI as UpsertTag, ai as TaskLink, C as ClaimRequest, m as DoneRequest, a as AdvanceStageRequest, aJ as UpsertTaskLink, f as ApplyRequest, e as ApplyOp, ae as TagWithTypedColor, l as Document, W as PushDocRequest, ap as ThreadMarker, i as CreateThreadRequest, b as AnnotationThread, X as PushInterfaceReportRequest, z as InterfaceDiffClass, a8 as Signoff, _ as RequestCheckpointRequest, k as DecideCheckpointRequest, $ as ReviewItem, D as DashboardResponse, O as PipelineRun, Q as PipelineStageEvent, J as PipelineGrant, L as PipelinePackage, P as PipelineAnalysisTemplate, K as PipelineOidcTrust } from './types.d-CFeV7HJm.js';
5
- export { S as ProjectConfig, a0 as ReviewItemKind } from './types.d-CFeV7HJm.js';
4
+ import { c as ApiKey, R as Project, aH as UpsertProject, G as GetConfigResult, a4 as SaveConfigRequest, aq as TodoUpdate, H as HistoryAction, T as ProjectGraphResponse, U as ProjectViewLayoutInput, M as Milestone, af as Task, p as Goal, q as Hook, w as HookTrigger, s as HookActionPublic, ay as UpsertHook, u as HookDelivery, am as TaskWithDetails, aK as UpsertTodo, aI as UpsertTag, ai as TaskLink, C as ClaimRequest, m as DoneRequest, a as AdvanceStageRequest, aJ as UpsertTaskLink, f as ApplyRequest, e as ApplyOp, ae as TagWithTypedColor, l as Document, W as PushDocRequest, ap as ThreadMarker, i as CreateThreadRequest, b as AnnotationThread, X as PushInterfaceReportRequest, z as InterfaceDiffClass, a8 as Signoff, _ as RequestCheckpointRequest, k as DecideCheckpointRequest, $ as ReviewItem, D as DashboardResponse, O as PipelineRun, Q as PipelineStageEvent, J as PipelineGrant, L as PipelinePackage, P as PipelineAnalysisTemplate, K as PipelineOidcTrust } from './types.d-BKOXxcoQ.js';
5
+ export { S as ProjectConfig, a0 as ReviewItemKind } from './types.d-BKOXxcoQ.js';
6
6
  import { Result } from '@f0rbit/corpus';
7
7
  export { Result, err, ok } from '@f0rbit/corpus';
8
- import { b as CompletionPolicy, H as HookDeliveryStatus, C as CompletedVia, c as DispatchStatus, l as StageEventKind } from './schema.d-C-YLU4PN.js';
8
+ import { b as CompletionPolicy, H as HookDeliveryStatus, C as CompletedVia, c as DispatchStatus, l as StageEventKind } from './schema.d-Cj-7Et-Z.js';
9
9
  import 'drizzle-orm';
10
10
  import './media.d-R87HGuRp.js';
11
11
  import 'drizzle-orm/sqlite-core';
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  upsert_project,
17
17
  upsert_task_link,
18
18
  upsert_todo
19
- } from "./chunk-HJIP3VZT.js";
19
+ } from "./chunk-Y25WIU7Z.js";
20
20
  import {
21
21
  CategoryCreateSchema,
22
22
  PostCreateSchema,
@@ -4,7 +4,7 @@ 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
6
  import { M as MediaPlatform } from '../media.d-R87HGuRp.js';
7
- import { g as ProjectViewLayout } from '../schema.d-C-YLU4PN.js';
7
+ import { g as ProjectViewLayout } from '../schema.d-Cj-7Et-Z.js';
8
8
  import 'zod';
9
9
 
10
10
  declare const fullSchema: {
@@ -8604,6 +8604,23 @@ declare const fullSchema: {
8604
8604
  }, {}, {
8605
8605
  length: number | undefined;
8606
8606
  }>;
8607
+ auto_approved: drizzle_orm_sqlite_core.SQLiteColumn<{
8608
+ name: "auto_approved";
8609
+ tableName: "pipeline_grant";
8610
+ dataType: "boolean";
8611
+ columnType: "SQLiteBoolean";
8612
+ data: boolean;
8613
+ driverParam: number;
8614
+ notNull: true;
8615
+ hasDefault: true;
8616
+ isPrimaryKey: false;
8617
+ isAutoincrement: false;
8618
+ hasRuntimeDefault: false;
8619
+ enumValues: undefined;
8620
+ baseColumn: never;
8621
+ identity: undefined;
8622
+ generated: undefined;
8623
+ }, {}, {}>;
8607
8624
  created_by: drizzle_orm_sqlite_core.SQLiteColumn<{
8608
8625
  name: "created_by";
8609
8626
  tableName: "pipeline_grant";
@@ -1,6 +1,6 @@
1
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-CFeV7HJm.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-C-YLU4PN.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-BKOXxcoQ.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-Cj-7Et-Z.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-HJIP3VZT.js";
85
+ } from "../chunk-Y25WIU7Z.js";
86
86
  import {
87
87
  apiError,
88
88
  approvalChannel,
@@ -1,11 +1,11 @@
1
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-C6CmE533.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-D29eQkt1.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-C-YLU4PN.js';
8
+ import '../schema.d-Cj-7Et-Z.js';
9
9
 
10
10
  declare const brand: unique symbol;
11
11
  type Brand<T, B extends string> = T & {
@@ -6140,6 +6140,23 @@ declare const pipeline_grant: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6140
6140
  }, {}, {
6141
6141
  length: number | undefined;
6142
6142
  }>;
6143
+ auto_approved: drizzle_orm_sqlite_core.SQLiteColumn<{
6144
+ name: "auto_approved";
6145
+ tableName: "pipeline_grant";
6146
+ dataType: "boolean";
6147
+ columnType: "SQLiteBoolean";
6148
+ data: boolean;
6149
+ driverParam: number;
6150
+ notNull: true;
6151
+ hasDefault: true;
6152
+ isPrimaryKey: false;
6153
+ isAutoincrement: false;
6154
+ hasRuntimeDefault: false;
6155
+ enumValues: undefined;
6156
+ baseColumn: never;
6157
+ identity: undefined;
6158
+ generated: undefined;
6159
+ }, {}, {}>;
6143
6160
  created_by: drizzle_orm_sqlite_core.SQLiteColumn<{
6144
6161
  name: "created_by";
6145
6162
  tableName: "pipeline_grant";
@@ -1,6 +1,6 @@
1
1
  import { InferSelectModel } from 'drizzle-orm';
2
2
  import { z } from 'zod';
3
- import { t as api_keys, V as project, a3 as todo_updates, r as action, A as ActionType, I as milestone, _ as task, y as goal, z as hook, B as hook_delivery, v as codebase_tasks, a0 as task_link, Y as tag, w as document, s as annotation_thread, X as signoff, Q as pipeline_run, U as pipeline_stage_event, M as pipeline_grant, O as pipeline_package, J as pipeline_analysis_template, N as pipeline_oidc_trust, u as apply_log, x as github_webhook_event, E as ignore_path, K as pipeline_approval, L as pipeline_dispatch, W as session, Z as tag_config, $ as task_event, a1 as task_rollup, a2 as task_tag, a4 as tracker_result, a5 as user } from './schema.d-C-YLU4PN.js';
3
+ import { t as api_keys, V as project, a3 as todo_updates, r as action, A as ActionType, I as milestone, _ as task, y as goal, z as hook, B as hook_delivery, v as codebase_tasks, a0 as task_link, Y as tag, w as document, s as annotation_thread, X as signoff, Q as pipeline_run, U as pipeline_stage_event, M as pipeline_grant, O as pipeline_package, J as pipeline_analysis_template, N as pipeline_oidc_trust, u as apply_log, x as github_webhook_event, E as ignore_path, K as pipeline_approval, L as pipeline_dispatch, W as session, Z as tag_config, $ as task_event, a1 as task_rollup, a2 as task_tag, a4 as tracker_result, a5 as user } from './schema.d-Cj-7Et-Z.js';
4
4
  import * as drizzle_zod from 'drizzle-zod';
5
5
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
6
6
 
@@ -712,6 +712,7 @@ declare const upsert_pipeline_grant: z.ZodObject<{
712
712
  scope: z.ZodString;
713
713
  granted_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
714
  granted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
+ auto_approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
715
716
  }, "strip", z.ZodTypeAny, {
716
717
  scope: string;
717
718
  package_id: string;
@@ -719,6 +720,7 @@ declare const upsert_pipeline_grant: z.ZodObject<{
719
720
  id?: string | null | undefined;
720
721
  granted_by?: string | null | undefined;
721
722
  granted_at?: string | null | undefined;
723
+ auto_approved?: boolean | null | undefined;
722
724
  }, {
723
725
  scope: string;
724
726
  package_id: string;
@@ -726,6 +728,7 @@ declare const upsert_pipeline_grant: z.ZodObject<{
726
728
  id?: string | null | undefined;
727
729
  granted_by?: string | null | undefined;
728
730
  granted_at?: string | null | undefined;
731
+ auto_approved?: boolean | null | undefined;
729
732
  }>;
730
733
  declare const upsert_pipeline_approval: z.ZodObject<{
731
734
  run_id: z.ZodString;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
3
3
  import { a as media_accounts, d as media_profiles, c as media_profile_filters, m as media_account_settings, b as media_platform_credentials, e as media_rate_limits } from './media.d-R87HGuRp.js';
4
- import { t as api_keys } from './schema.d-C-YLU4PN.js';
4
+ import { t as api_keys } from './schema.d-Cj-7Et-Z.js';
5
5
 
6
6
  declare const GitHubSettingsSchema: z.ZodObject<{
7
7
  hidden_repos: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/api",
3
- "version": "2.6.7",
3
+ "version": "2.6.8",
4
4
  "description": "TypeScript client library for the devpad API - project and task management made simple",
5
5
  "keywords": [
6
6
  "api",
@@ -68,7 +68,7 @@
68
68
  "zod": "^3.22.4"
69
69
  },
70
70
  "devDependencies": {
71
- "@devpad/schema": "^2.6.7",
71
+ "@devpad/schema": "^2.6.8",
72
72
  "@types/node": "^20.11.24",
73
73
  "bun-types": "latest",
74
74
  "tsup": "^8.0.0",