@devpad/api 2.6.8 → 2.6.9

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.
@@ -510,7 +510,9 @@ var pipeline_oidc_trust = sqliteTable("pipeline_oidc_trust", {
510
510
  expected_audience: text("expected_audience").notNull(),
511
511
  allowed_actions: text("allowed_actions", { mode: "json" }).$type().notNull().default(sql`'["artifacts:upload","runs:start"]'`),
512
512
  session_ttl_seconds: integer("session_ttl_seconds").notNull().default(900),
513
- last_used_at: text("last_used_at")
513
+ last_used_at: text("last_used_at"),
514
+ repository_id: text("repository_id"),
515
+ repository_owner_id: text("repository_owner_id")
514
516
  });
515
517
  var user_relations = relations(user, ({ many }) => ({
516
518
  sessions: many(session),
@@ -914,7 +916,9 @@ var upsert_pipeline_oidc_trust = z.object({
914
916
  expected_audience: z.string().min(1),
915
917
  allowed_actions: z.array(z.string()).optional(),
916
918
  session_ttl_seconds: z.number().int().positive().optional(),
917
- last_used_at: z.string().nullable().optional()
919
+ last_used_at: z.string().nullable().optional(),
920
+ repository_id: z.string().regex(/^\d+$/, "must be a numeric GitHub repository id").nullable().optional(),
921
+ repository_owner_id: z.string().regex(/^\d+$/, "must be a numeric GitHub owner id").nullable().optional()
918
922
  });
919
923
  var webhook_event_body = z.object({
920
924
  stage_name: z.string().min(1),
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-D29eQkt1.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-Dt-0_WMH.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-BKOXxcoQ.js';
5
- export { S as ProjectConfig, a0 as ReviewItemKind } from './types.d-BKOXxcoQ.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-D1ao8Ynh.js';
5
+ export { S as ProjectConfig, a0 as ReviewItemKind } from './types.d-D1ao8Ynh.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-Cj-7Et-Z.js';
8
+ import { b as CompletionPolicy, H as HookDeliveryStatus, C as CompletedVia, c as DispatchStatus, l as StageEventKind } from './schema.d-CUm4wtV_.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-Y25WIU7Z.js";
19
+ } from "./chunk-AXQWQXZR.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-Cj-7Et-Z.js';
7
+ import { g as ProjectViewLayout } from '../schema.d-CUm4wtV_.js';
8
8
  import 'zod';
9
9
 
10
10
  declare const fullSchema: {
@@ -9349,6 +9349,44 @@ declare const fullSchema: {
9349
9349
  }, {}, {
9350
9350
  length: number | undefined;
9351
9351
  }>;
9352
+ repository_id: drizzle_orm_sqlite_core.SQLiteColumn<{
9353
+ name: "repository_id";
9354
+ tableName: "pipeline_oidc_trust";
9355
+ dataType: "string";
9356
+ columnType: "SQLiteText";
9357
+ data: string;
9358
+ driverParam: string;
9359
+ notNull: false;
9360
+ hasDefault: false;
9361
+ isPrimaryKey: false;
9362
+ isAutoincrement: false;
9363
+ hasRuntimeDefault: false;
9364
+ enumValues: [string, ...string[]];
9365
+ baseColumn: never;
9366
+ identity: undefined;
9367
+ generated: undefined;
9368
+ }, {}, {
9369
+ length: number | undefined;
9370
+ }>;
9371
+ repository_owner_id: drizzle_orm_sqlite_core.SQLiteColumn<{
9372
+ name: "repository_owner_id";
9373
+ tableName: "pipeline_oidc_trust";
9374
+ dataType: "string";
9375
+ columnType: "SQLiteText";
9376
+ data: string;
9377
+ driverParam: string;
9378
+ notNull: false;
9379
+ hasDefault: false;
9380
+ isPrimaryKey: false;
9381
+ isAutoincrement: false;
9382
+ hasRuntimeDefault: false;
9383
+ enumValues: [string, ...string[]];
9384
+ baseColumn: never;
9385
+ identity: undefined;
9386
+ generated: undefined;
9387
+ }, {}, {
9388
+ length: number | undefined;
9389
+ }>;
9352
9390
  created_by: drizzle_orm_sqlite_core.SQLiteColumn<{
9353
9391
  name: "created_by";
9354
9392
  tableName: "pipeline_oidc_trust";
@@ -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-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';
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';
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-Y25WIU7Z.js";
85
+ } from "../chunk-AXQWQXZR.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-D29eQkt1.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-Dt-0_WMH.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-Cj-7Et-Z.js';
8
+ import '../schema.d-CUm4wtV_.js';
9
9
 
10
10
  declare const brand: unique symbol;
11
11
  type Brand<T, B extends string> = T & {
@@ -6886,6 +6886,44 @@ declare const pipeline_oidc_trust: drizzle_orm_sqlite_core.SQLiteTableWithColumn
6886
6886
  }, {}, {
6887
6887
  length: number | undefined;
6888
6888
  }>;
6889
+ repository_id: drizzle_orm_sqlite_core.SQLiteColumn<{
6890
+ name: "repository_id";
6891
+ tableName: "pipeline_oidc_trust";
6892
+ dataType: "string";
6893
+ columnType: "SQLiteText";
6894
+ data: string;
6895
+ driverParam: string;
6896
+ notNull: false;
6897
+ hasDefault: false;
6898
+ isPrimaryKey: false;
6899
+ isAutoincrement: false;
6900
+ hasRuntimeDefault: false;
6901
+ enumValues: [string, ...string[]];
6902
+ baseColumn: never;
6903
+ identity: undefined;
6904
+ generated: undefined;
6905
+ }, {}, {
6906
+ length: number | undefined;
6907
+ }>;
6908
+ repository_owner_id: drizzle_orm_sqlite_core.SQLiteColumn<{
6909
+ name: "repository_owner_id";
6910
+ tableName: "pipeline_oidc_trust";
6911
+ dataType: "string";
6912
+ columnType: "SQLiteText";
6913
+ data: string;
6914
+ driverParam: string;
6915
+ notNull: false;
6916
+ hasDefault: false;
6917
+ isPrimaryKey: false;
6918
+ isAutoincrement: false;
6919
+ hasRuntimeDefault: false;
6920
+ enumValues: [string, ...string[]];
6921
+ baseColumn: never;
6922
+ identity: undefined;
6923
+ generated: undefined;
6924
+ }, {}, {
6925
+ length: number | undefined;
6926
+ }>;
6889
6927
  created_by: drizzle_orm_sqlite_core.SQLiteColumn<{
6890
6928
  name: "created_by";
6891
6929
  tableName: "pipeline_oidc_trust";
@@ -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-Cj-7Et-Z.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-CUm4wtV_.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
 
@@ -812,6 +812,8 @@ declare const upsert_pipeline_oidc_trust: z.ZodObject<{
812
812
  allowed_actions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
813
813
  session_ttl_seconds: z.ZodOptional<z.ZodNumber>;
814
814
  last_used_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
815
+ repository_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
+ repository_owner_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
815
817
  }, "strip", z.ZodTypeAny, {
816
818
  owner_id: string;
817
819
  github_owner: string;
@@ -824,6 +826,8 @@ declare const upsert_pipeline_oidc_trust: z.ZodObject<{
824
826
  allowed_environments?: string[] | undefined;
825
827
  allowed_actions?: string[] | undefined;
826
828
  session_ttl_seconds?: number | undefined;
829
+ repository_id?: string | null | undefined;
830
+ repository_owner_id?: string | null | undefined;
827
831
  }, {
828
832
  owner_id: string;
829
833
  github_owner: string;
@@ -836,6 +840,8 @@ declare const upsert_pipeline_oidc_trust: z.ZodObject<{
836
840
  allowed_environments?: string[] | undefined;
837
841
  allowed_actions?: string[] | undefined;
838
842
  session_ttl_seconds?: number | undefined;
843
+ repository_id?: string | null | undefined;
844
+ repository_owner_id?: string | null | undefined;
839
845
  }>;
840
846
  declare const webhook_event_body: z.ZodObject<{
841
847
  stage_name: 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-Cj-7Et-Z.js';
4
+ import { t as api_keys } from './schema.d-CUm4wtV_.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.8",
3
+ "version": "2.6.9",
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.8",
71
+ "@devpad/schema": "^2.6.9",
72
72
  "@types/node": "^20.11.24",
73
73
  "bun-types": "latest",
74
74
  "tsup": "^8.0.0",