@devpad/api 2.3.1 → 2.3.3

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,11 +1,11 @@
1
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-ELBwaLBA.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-BZOIiHoO.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-BeVFWenc.js';
8
+ import '../schema.d-D3xGKqB8.js';
9
9
 
10
10
  declare const brand: unique symbol;
11
11
  type Brand<T, B extends string> = T & {
@@ -1866,6 +1866,16 @@ declare const goal: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1866
1866
  };
1867
1867
  dialect: "sqlite";
1868
1868
  }>;
1869
+ declare const GRAPH_DEPTH_CAP = 8;
1870
+ declare const GRAPH_CHILDREN_CAP = 100;
1871
+ declare const TASK_KINDS: readonly ["task", "phase", "approval"];
1872
+ type TaskKind = (typeof TASK_KINDS)[number];
1873
+ declare const COMPLETION_POLICIES: readonly ["manual", "auto_children"];
1874
+ type CompletionPolicy = (typeof COMPLETION_POLICIES)[number];
1875
+ declare const COMPLETED_VIA_VALUES: readonly ["user", "api", "policy"];
1876
+ type CompletedVia = (typeof COMPLETED_VIA_VALUES)[number];
1877
+ declare const TASK_LINK_KINDS: readonly ["blocks", "relates_to", "references", "discovered_from", "tracks_metric"];
1878
+ type TaskLinkKind = (typeof TASK_LINK_KINDS)[number];
1869
1879
  declare const task: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1870
1880
  name: "task";
1871
1881
  schema: undefined;
@@ -2079,6 +2089,156 @@ declare const task: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2079
2089
  }, {}, {
2080
2090
  length: number | undefined;
2081
2091
  }>;
2092
+ parent_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2093
+ name: "parent_id";
2094
+ tableName: "task";
2095
+ dataType: "string";
2096
+ columnType: "SQLiteText";
2097
+ data: string;
2098
+ driverParam: string;
2099
+ notNull: false;
2100
+ hasDefault: false;
2101
+ isPrimaryKey: false;
2102
+ isAutoincrement: false;
2103
+ hasRuntimeDefault: false;
2104
+ enumValues: [string, ...string[]];
2105
+ baseColumn: never;
2106
+ identity: undefined;
2107
+ generated: undefined;
2108
+ }, {}, {
2109
+ length: number | undefined;
2110
+ }>;
2111
+ rank: drizzle_orm_sqlite_core.SQLiteColumn<{
2112
+ name: "rank";
2113
+ tableName: "task";
2114
+ dataType: "string";
2115
+ columnType: "SQLiteText";
2116
+ data: string;
2117
+ driverParam: string;
2118
+ notNull: true;
2119
+ hasDefault: true;
2120
+ isPrimaryKey: false;
2121
+ isAutoincrement: false;
2122
+ hasRuntimeDefault: false;
2123
+ enumValues: [string, ...string[]];
2124
+ baseColumn: never;
2125
+ identity: undefined;
2126
+ generated: undefined;
2127
+ }, {}, {
2128
+ length: number | undefined;
2129
+ }>;
2130
+ rev: drizzle_orm_sqlite_core.SQLiteColumn<{
2131
+ name: "rev";
2132
+ tableName: "task";
2133
+ dataType: "number";
2134
+ columnType: "SQLiteInteger";
2135
+ data: number;
2136
+ driverParam: number;
2137
+ notNull: true;
2138
+ hasDefault: true;
2139
+ isPrimaryKey: false;
2140
+ isAutoincrement: false;
2141
+ hasRuntimeDefault: false;
2142
+ enumValues: undefined;
2143
+ baseColumn: never;
2144
+ identity: undefined;
2145
+ generated: undefined;
2146
+ }, {}, {}>;
2147
+ kind: drizzle_orm_sqlite_core.SQLiteColumn<{
2148
+ name: "kind";
2149
+ tableName: "task";
2150
+ dataType: "string";
2151
+ columnType: "SQLiteText";
2152
+ data: "task" | "phase" | "approval";
2153
+ driverParam: string;
2154
+ notNull: true;
2155
+ hasDefault: true;
2156
+ isPrimaryKey: false;
2157
+ isAutoincrement: false;
2158
+ hasRuntimeDefault: false;
2159
+ enumValues: ["task", "phase", "approval"];
2160
+ baseColumn: never;
2161
+ identity: undefined;
2162
+ generated: undefined;
2163
+ }, {}, {
2164
+ length: number | undefined;
2165
+ }>;
2166
+ completion_policy: drizzle_orm_sqlite_core.SQLiteColumn<{
2167
+ name: "completion_policy";
2168
+ tableName: "task";
2169
+ dataType: "string";
2170
+ columnType: "SQLiteText";
2171
+ data: "manual" | "auto_children";
2172
+ driverParam: string;
2173
+ notNull: true;
2174
+ hasDefault: true;
2175
+ isPrimaryKey: false;
2176
+ isAutoincrement: false;
2177
+ hasRuntimeDefault: false;
2178
+ enumValues: ["manual", "auto_children"];
2179
+ baseColumn: never;
2180
+ identity: undefined;
2181
+ generated: undefined;
2182
+ }, {}, {
2183
+ length: number | undefined;
2184
+ }>;
2185
+ completed_via: drizzle_orm_sqlite_core.SQLiteColumn<{
2186
+ name: "completed_via";
2187
+ tableName: "task";
2188
+ dataType: "string";
2189
+ columnType: "SQLiteText";
2190
+ data: "user" | "api" | "policy";
2191
+ driverParam: string;
2192
+ notNull: false;
2193
+ hasDefault: false;
2194
+ isPrimaryKey: false;
2195
+ isAutoincrement: false;
2196
+ hasRuntimeDefault: false;
2197
+ enumValues: ["user", "api", "policy"];
2198
+ baseColumn: never;
2199
+ identity: undefined;
2200
+ generated: undefined;
2201
+ }, {}, {
2202
+ length: number | undefined;
2203
+ }>;
2204
+ claimed_by: drizzle_orm_sqlite_core.SQLiteColumn<{
2205
+ name: "claimed_by";
2206
+ tableName: "task";
2207
+ dataType: "string";
2208
+ columnType: "SQLiteText";
2209
+ data: string;
2210
+ driverParam: string;
2211
+ notNull: false;
2212
+ hasDefault: false;
2213
+ isPrimaryKey: false;
2214
+ isAutoincrement: false;
2215
+ hasRuntimeDefault: false;
2216
+ enumValues: [string, ...string[]];
2217
+ baseColumn: never;
2218
+ identity: undefined;
2219
+ generated: undefined;
2220
+ }, {}, {
2221
+ length: number | undefined;
2222
+ }>;
2223
+ claimed_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2224
+ name: "claimed_at";
2225
+ tableName: "task";
2226
+ dataType: "string";
2227
+ columnType: "SQLiteText";
2228
+ data: string;
2229
+ driverParam: string;
2230
+ notNull: false;
2231
+ hasDefault: false;
2232
+ isPrimaryKey: false;
2233
+ isAutoincrement: false;
2234
+ hasRuntimeDefault: false;
2235
+ enumValues: [string, ...string[]];
2236
+ baseColumn: never;
2237
+ identity: undefined;
2238
+ generated: undefined;
2239
+ }, {}, {
2240
+ length: number | undefined;
2241
+ }>;
2082
2242
  owner_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2083
2243
  name: "owner_id";
2084
2244
  tableName: "task";
@@ -2230,6 +2390,410 @@ declare const task: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2230
2390
  };
2231
2391
  dialect: "sqlite";
2232
2392
  }>;
2393
+ declare const task_link: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2394
+ name: "task_link";
2395
+ schema: undefined;
2396
+ columns: {
2397
+ src_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2398
+ name: "src_id";
2399
+ tableName: "task_link";
2400
+ dataType: "string";
2401
+ columnType: "SQLiteText";
2402
+ data: string;
2403
+ driverParam: string;
2404
+ notNull: true;
2405
+ hasDefault: false;
2406
+ isPrimaryKey: false;
2407
+ isAutoincrement: false;
2408
+ hasRuntimeDefault: false;
2409
+ enumValues: [string, ...string[]];
2410
+ baseColumn: never;
2411
+ identity: undefined;
2412
+ generated: undefined;
2413
+ }, {}, {
2414
+ length: number | undefined;
2415
+ }>;
2416
+ dst_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2417
+ name: "dst_id";
2418
+ tableName: "task_link";
2419
+ dataType: "string";
2420
+ columnType: "SQLiteText";
2421
+ data: string;
2422
+ driverParam: string;
2423
+ notNull: false;
2424
+ hasDefault: false;
2425
+ isPrimaryKey: false;
2426
+ isAutoincrement: false;
2427
+ hasRuntimeDefault: false;
2428
+ enumValues: [string, ...string[]];
2429
+ baseColumn: never;
2430
+ identity: undefined;
2431
+ generated: undefined;
2432
+ }, {}, {
2433
+ length: number | undefined;
2434
+ }>;
2435
+ kind: drizzle_orm_sqlite_core.SQLiteColumn<{
2436
+ name: "kind";
2437
+ tableName: "task_link";
2438
+ dataType: "string";
2439
+ columnType: "SQLiteText";
2440
+ data: "blocks" | "relates_to" | "references" | "discovered_from" | "tracks_metric";
2441
+ driverParam: string;
2442
+ notNull: true;
2443
+ hasDefault: false;
2444
+ isPrimaryKey: false;
2445
+ isAutoincrement: false;
2446
+ hasRuntimeDefault: false;
2447
+ enumValues: ["blocks", "relates_to", "references", "discovered_from", "tracks_metric"];
2448
+ baseColumn: never;
2449
+ identity: undefined;
2450
+ generated: undefined;
2451
+ }, {}, {
2452
+ length: number | undefined;
2453
+ }>;
2454
+ ref: drizzle_orm_sqlite_core.SQLiteColumn<{
2455
+ name: "ref";
2456
+ tableName: "task_link";
2457
+ dataType: "json";
2458
+ columnType: "SQLiteTextJson";
2459
+ data: unknown;
2460
+ driverParam: string;
2461
+ notNull: false;
2462
+ hasDefault: false;
2463
+ isPrimaryKey: false;
2464
+ isAutoincrement: false;
2465
+ hasRuntimeDefault: false;
2466
+ enumValues: undefined;
2467
+ baseColumn: never;
2468
+ identity: undefined;
2469
+ generated: undefined;
2470
+ }, {}, {}>;
2471
+ note: drizzle_orm_sqlite_core.SQLiteColumn<{
2472
+ name: "note";
2473
+ tableName: "task_link";
2474
+ dataType: "string";
2475
+ columnType: "SQLiteText";
2476
+ data: string;
2477
+ driverParam: string;
2478
+ notNull: false;
2479
+ hasDefault: false;
2480
+ isPrimaryKey: false;
2481
+ isAutoincrement: false;
2482
+ hasRuntimeDefault: false;
2483
+ enumValues: [string, ...string[]];
2484
+ baseColumn: never;
2485
+ identity: undefined;
2486
+ generated: undefined;
2487
+ }, {}, {
2488
+ length: number | undefined;
2489
+ }>;
2490
+ created_by: drizzle_orm_sqlite_core.SQLiteColumn<{
2491
+ name: "created_by";
2492
+ tableName: "task_link";
2493
+ dataType: "string";
2494
+ columnType: "SQLiteText";
2495
+ data: "user" | "api";
2496
+ driverParam: string;
2497
+ notNull: true;
2498
+ hasDefault: true;
2499
+ isPrimaryKey: false;
2500
+ isAutoincrement: false;
2501
+ hasRuntimeDefault: false;
2502
+ enumValues: ["user", "api"];
2503
+ baseColumn: never;
2504
+ identity: undefined;
2505
+ generated: undefined;
2506
+ }, {}, {
2507
+ length: number | undefined;
2508
+ }>;
2509
+ modified_by: drizzle_orm_sqlite_core.SQLiteColumn<{
2510
+ name: "modified_by";
2511
+ tableName: "task_link";
2512
+ dataType: "string";
2513
+ columnType: "SQLiteText";
2514
+ data: "user" | "api";
2515
+ driverParam: string;
2516
+ notNull: true;
2517
+ hasDefault: true;
2518
+ isPrimaryKey: false;
2519
+ isAutoincrement: false;
2520
+ hasRuntimeDefault: false;
2521
+ enumValues: ["user", "api"];
2522
+ baseColumn: never;
2523
+ identity: undefined;
2524
+ generated: undefined;
2525
+ }, {}, {
2526
+ length: number | undefined;
2527
+ }>;
2528
+ protected: drizzle_orm_sqlite_core.SQLiteColumn<{
2529
+ name: "protected";
2530
+ tableName: "task_link";
2531
+ dataType: "boolean";
2532
+ columnType: "SQLiteBoolean";
2533
+ data: boolean;
2534
+ driverParam: number;
2535
+ notNull: true;
2536
+ hasDefault: true;
2537
+ isPrimaryKey: false;
2538
+ isAutoincrement: false;
2539
+ hasRuntimeDefault: false;
2540
+ enumValues: undefined;
2541
+ baseColumn: never;
2542
+ identity: undefined;
2543
+ generated: undefined;
2544
+ }, {}, {}>;
2545
+ deleted: drizzle_orm_sqlite_core.SQLiteColumn<{
2546
+ name: "deleted";
2547
+ tableName: "task_link";
2548
+ dataType: "boolean";
2549
+ columnType: "SQLiteBoolean";
2550
+ data: boolean;
2551
+ driverParam: number;
2552
+ notNull: true;
2553
+ hasDefault: true;
2554
+ isPrimaryKey: false;
2555
+ isAutoincrement: false;
2556
+ hasRuntimeDefault: false;
2557
+ enumValues: undefined;
2558
+ baseColumn: never;
2559
+ identity: undefined;
2560
+ generated: undefined;
2561
+ }, {}, {}>;
2562
+ created_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2563
+ name: "created_at";
2564
+ tableName: "task_link";
2565
+ dataType: "string";
2566
+ columnType: "SQLiteText";
2567
+ data: string;
2568
+ driverParam: string;
2569
+ notNull: true;
2570
+ hasDefault: true;
2571
+ isPrimaryKey: false;
2572
+ isAutoincrement: false;
2573
+ hasRuntimeDefault: false;
2574
+ enumValues: [string, ...string[]];
2575
+ baseColumn: never;
2576
+ identity: undefined;
2577
+ generated: undefined;
2578
+ }, {}, {
2579
+ length: number | undefined;
2580
+ }>;
2581
+ updated_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2582
+ name: "updated_at";
2583
+ tableName: "task_link";
2584
+ dataType: "string";
2585
+ columnType: "SQLiteText";
2586
+ data: string;
2587
+ driverParam: string;
2588
+ notNull: true;
2589
+ hasDefault: true;
2590
+ isPrimaryKey: false;
2591
+ isAutoincrement: false;
2592
+ hasRuntimeDefault: false;
2593
+ enumValues: [string, ...string[]];
2594
+ baseColumn: never;
2595
+ identity: undefined;
2596
+ generated: undefined;
2597
+ }, {}, {
2598
+ length: number | undefined;
2599
+ }>;
2600
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
2601
+ name: "id";
2602
+ tableName: "task_link";
2603
+ dataType: "string";
2604
+ columnType: "SQLiteText";
2605
+ data: string;
2606
+ driverParam: string;
2607
+ notNull: true;
2608
+ hasDefault: true;
2609
+ isPrimaryKey: true;
2610
+ isAutoincrement: false;
2611
+ hasRuntimeDefault: true;
2612
+ enumValues: [string, ...string[]];
2613
+ baseColumn: never;
2614
+ identity: undefined;
2615
+ generated: undefined;
2616
+ }, {}, {
2617
+ length: number | undefined;
2618
+ }>;
2619
+ };
2620
+ dialect: "sqlite";
2621
+ }>;
2622
+ declare const task_rollup: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2623
+ name: "task_rollup";
2624
+ schema: undefined;
2625
+ columns: {
2626
+ task_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2627
+ name: "task_id";
2628
+ tableName: "task_rollup";
2629
+ dataType: "string";
2630
+ columnType: "SQLiteText";
2631
+ data: string;
2632
+ driverParam: string;
2633
+ notNull: true;
2634
+ hasDefault: false;
2635
+ isPrimaryKey: true;
2636
+ isAutoincrement: false;
2637
+ hasRuntimeDefault: false;
2638
+ enumValues: [string, ...string[]];
2639
+ baseColumn: never;
2640
+ identity: undefined;
2641
+ generated: undefined;
2642
+ }, {}, {
2643
+ length: number | undefined;
2644
+ }>;
2645
+ direct_done: drizzle_orm_sqlite_core.SQLiteColumn<{
2646
+ name: "direct_done";
2647
+ tableName: "task_rollup";
2648
+ dataType: "number";
2649
+ columnType: "SQLiteInteger";
2650
+ data: number;
2651
+ driverParam: number;
2652
+ notNull: true;
2653
+ hasDefault: true;
2654
+ isPrimaryKey: false;
2655
+ isAutoincrement: false;
2656
+ hasRuntimeDefault: false;
2657
+ enumValues: undefined;
2658
+ baseColumn: never;
2659
+ identity: undefined;
2660
+ generated: undefined;
2661
+ }, {}, {}>;
2662
+ direct_total: drizzle_orm_sqlite_core.SQLiteColumn<{
2663
+ name: "direct_total";
2664
+ tableName: "task_rollup";
2665
+ dataType: "number";
2666
+ columnType: "SQLiteInteger";
2667
+ data: number;
2668
+ driverParam: number;
2669
+ notNull: true;
2670
+ hasDefault: true;
2671
+ isPrimaryKey: false;
2672
+ isAutoincrement: false;
2673
+ hasRuntimeDefault: false;
2674
+ enumValues: undefined;
2675
+ baseColumn: never;
2676
+ identity: undefined;
2677
+ generated: undefined;
2678
+ }, {}, {}>;
2679
+ subtree_done: drizzle_orm_sqlite_core.SQLiteColumn<{
2680
+ name: "subtree_done";
2681
+ tableName: "task_rollup";
2682
+ dataType: "number";
2683
+ columnType: "SQLiteInteger";
2684
+ data: number;
2685
+ driverParam: number;
2686
+ notNull: true;
2687
+ hasDefault: true;
2688
+ isPrimaryKey: false;
2689
+ isAutoincrement: false;
2690
+ hasRuntimeDefault: false;
2691
+ enumValues: undefined;
2692
+ baseColumn: never;
2693
+ identity: undefined;
2694
+ generated: undefined;
2695
+ }, {}, {}>;
2696
+ subtree_total: drizzle_orm_sqlite_core.SQLiteColumn<{
2697
+ name: "subtree_total";
2698
+ tableName: "task_rollup";
2699
+ dataType: "number";
2700
+ columnType: "SQLiteInteger";
2701
+ data: number;
2702
+ driverParam: number;
2703
+ notNull: true;
2704
+ hasDefault: true;
2705
+ isPrimaryKey: false;
2706
+ isAutoincrement: false;
2707
+ hasRuntimeDefault: false;
2708
+ enumValues: undefined;
2709
+ baseColumn: never;
2710
+ identity: undefined;
2711
+ generated: undefined;
2712
+ }, {}, {}>;
2713
+ };
2714
+ dialect: "sqlite";
2715
+ }>;
2716
+ declare const apply_log: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2717
+ name: "apply_log";
2718
+ schema: undefined;
2719
+ columns: {
2720
+ idempotency_key: drizzle_orm_sqlite_core.SQLiteColumn<{
2721
+ name: "idempotency_key";
2722
+ tableName: "apply_log";
2723
+ dataType: "string";
2724
+ columnType: "SQLiteText";
2725
+ data: string;
2726
+ driverParam: string;
2727
+ notNull: true;
2728
+ hasDefault: false;
2729
+ isPrimaryKey: true;
2730
+ isAutoincrement: false;
2731
+ hasRuntimeDefault: false;
2732
+ enumValues: [string, ...string[]];
2733
+ baseColumn: never;
2734
+ identity: undefined;
2735
+ generated: undefined;
2736
+ }, {}, {
2737
+ length: number | undefined;
2738
+ }>;
2739
+ owner_id: drizzle_orm_sqlite_core.SQLiteColumn<{
2740
+ name: "owner_id";
2741
+ tableName: "apply_log";
2742
+ dataType: "string";
2743
+ columnType: "SQLiteText";
2744
+ data: string;
2745
+ driverParam: string;
2746
+ notNull: true;
2747
+ hasDefault: false;
2748
+ isPrimaryKey: false;
2749
+ isAutoincrement: false;
2750
+ hasRuntimeDefault: false;
2751
+ enumValues: [string, ...string[]];
2752
+ baseColumn: never;
2753
+ identity: undefined;
2754
+ generated: undefined;
2755
+ }, {}, {
2756
+ length: number | undefined;
2757
+ }>;
2758
+ response: drizzle_orm_sqlite_core.SQLiteColumn<{
2759
+ name: "response";
2760
+ tableName: "apply_log";
2761
+ dataType: "json";
2762
+ columnType: "SQLiteTextJson";
2763
+ data: unknown;
2764
+ driverParam: string;
2765
+ notNull: true;
2766
+ hasDefault: false;
2767
+ isPrimaryKey: false;
2768
+ isAutoincrement: false;
2769
+ hasRuntimeDefault: false;
2770
+ enumValues: undefined;
2771
+ baseColumn: never;
2772
+ identity: undefined;
2773
+ generated: undefined;
2774
+ }, {}, {}>;
2775
+ created_at: drizzle_orm_sqlite_core.SQLiteColumn<{
2776
+ name: "created_at";
2777
+ tableName: "apply_log";
2778
+ dataType: "string";
2779
+ columnType: "SQLiteText";
2780
+ data: string;
2781
+ driverParam: string;
2782
+ notNull: true;
2783
+ hasDefault: true;
2784
+ isPrimaryKey: false;
2785
+ isAutoincrement: false;
2786
+ hasRuntimeDefault: false;
2787
+ enumValues: [string, ...string[]];
2788
+ baseColumn: never;
2789
+ identity: undefined;
2790
+ generated: undefined;
2791
+ }, {}, {
2792
+ length: number | undefined;
2793
+ }>;
2794
+ };
2795
+ dialect: "sqlite";
2796
+ }>;
2233
2797
  declare const codebase_tasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2234
2798
  name: "codebase_tasks";
2235
2799
  schema: undefined;
@@ -4764,4 +5328,4 @@ declare const pipeline_oidc_trust: drizzle_orm_sqlite_core.SQLiteTableWithColumn
4764
5328
  dialect: "sqlite";
4765
5329
  }>;
4766
5330
 
4767
- export { type ActionType as A, type ForcedAtomicReason as F, type PipelineOidcProvider as P, type RolloutShape as R, type StageEventKind as S, type ApprovalDecision as a, type RunStatus as b, action as c, api_keys as d, codebase_tasks as e, pipeline_approval as f, goal as g, pipeline_grant as h, ignore_path as i, pipeline_oidc_trust as j, pipeline_package as k, pipeline_run as l, milestone as m, pipeline_stage_event as n, project as o, pipeline_analysis_template as p, tag_config as q, task as r, session as s, tag as t, task_tag as u, todo_updates as v, tracker_result as w, user as x };
5331
+ export { type ActionType as A, task_tag as B, type CompletedVia as C, todo_updates as D, tracker_result as E, type ForcedAtomicReason as F, GRAPH_CHILDREN_CAP as G, user as H, type PipelineOidcProvider as P, type RolloutShape as R, type StageEventKind as S, type TaskKind as T, type ApprovalDecision as a, type CompletionPolicy as b, GRAPH_DEPTH_CAP as c, type RunStatus as d, type TaskLinkKind as e, action as f, api_keys as g, apply_log as h, codebase_tasks as i, goal as j, ignore_path as k, pipeline_approval as l, milestone as m, pipeline_grant as n, pipeline_oidc_trust as o, pipeline_analysis_template as p, pipeline_package as q, pipeline_run as r, pipeline_stage_event as s, project as t, session as u, tag as v, tag_config as w, task as x, task_link as y, task_rollup as z };