@devpad/api 2.3.2 → 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.
@@ -3750,6 +3750,12 @@ declare const fullSchema: {
3750
3750
  };
3751
3751
  dialect: "sqlite";
3752
3752
  }>;
3753
+ GRAPH_DEPTH_CAP: 8;
3754
+ GRAPH_CHILDREN_CAP: 100;
3755
+ TASK_KINDS: readonly ["task", "phase", "approval"];
3756
+ COMPLETION_POLICIES: readonly ["manual", "auto_children"];
3757
+ COMPLETED_VIA_VALUES: readonly ["user", "api", "policy"];
3758
+ TASK_LINK_KINDS: readonly ["blocks", "relates_to", "references", "discovered_from", "tracks_metric"];
3753
3759
  task: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3754
3760
  name: "task";
3755
3761
  schema: undefined;
@@ -3963,6 +3969,156 @@ declare const fullSchema: {
3963
3969
  }, {}, {
3964
3970
  length: number | undefined;
3965
3971
  }>;
3972
+ parent_id: drizzle_orm_sqlite_core.SQLiteColumn<{
3973
+ name: "parent_id";
3974
+ tableName: "task";
3975
+ dataType: "string";
3976
+ columnType: "SQLiteText";
3977
+ data: string;
3978
+ driverParam: string;
3979
+ notNull: false;
3980
+ hasDefault: false;
3981
+ isPrimaryKey: false;
3982
+ isAutoincrement: false;
3983
+ hasRuntimeDefault: false;
3984
+ enumValues: [string, ...string[]];
3985
+ baseColumn: never;
3986
+ identity: undefined;
3987
+ generated: undefined;
3988
+ }, {}, {
3989
+ length: number | undefined;
3990
+ }>;
3991
+ rank: drizzle_orm_sqlite_core.SQLiteColumn<{
3992
+ name: "rank";
3993
+ tableName: "task";
3994
+ dataType: "string";
3995
+ columnType: "SQLiteText";
3996
+ data: string;
3997
+ driverParam: string;
3998
+ notNull: true;
3999
+ hasDefault: true;
4000
+ isPrimaryKey: false;
4001
+ isAutoincrement: false;
4002
+ hasRuntimeDefault: false;
4003
+ enumValues: [string, ...string[]];
4004
+ baseColumn: never;
4005
+ identity: undefined;
4006
+ generated: undefined;
4007
+ }, {}, {
4008
+ length: number | undefined;
4009
+ }>;
4010
+ rev: drizzle_orm_sqlite_core.SQLiteColumn<{
4011
+ name: "rev";
4012
+ tableName: "task";
4013
+ dataType: "number";
4014
+ columnType: "SQLiteInteger";
4015
+ data: number;
4016
+ driverParam: number;
4017
+ notNull: true;
4018
+ hasDefault: true;
4019
+ isPrimaryKey: false;
4020
+ isAutoincrement: false;
4021
+ hasRuntimeDefault: false;
4022
+ enumValues: undefined;
4023
+ baseColumn: never;
4024
+ identity: undefined;
4025
+ generated: undefined;
4026
+ }, {}, {}>;
4027
+ kind: drizzle_orm_sqlite_core.SQLiteColumn<{
4028
+ name: "kind";
4029
+ tableName: "task";
4030
+ dataType: "string";
4031
+ columnType: "SQLiteText";
4032
+ data: "task" | "phase" | "approval";
4033
+ driverParam: string;
4034
+ notNull: true;
4035
+ hasDefault: true;
4036
+ isPrimaryKey: false;
4037
+ isAutoincrement: false;
4038
+ hasRuntimeDefault: false;
4039
+ enumValues: ["task", "phase", "approval"];
4040
+ baseColumn: never;
4041
+ identity: undefined;
4042
+ generated: undefined;
4043
+ }, {}, {
4044
+ length: number | undefined;
4045
+ }>;
4046
+ completion_policy: drizzle_orm_sqlite_core.SQLiteColumn<{
4047
+ name: "completion_policy";
4048
+ tableName: "task";
4049
+ dataType: "string";
4050
+ columnType: "SQLiteText";
4051
+ data: "manual" | "auto_children";
4052
+ driverParam: string;
4053
+ notNull: true;
4054
+ hasDefault: true;
4055
+ isPrimaryKey: false;
4056
+ isAutoincrement: false;
4057
+ hasRuntimeDefault: false;
4058
+ enumValues: ["manual", "auto_children"];
4059
+ baseColumn: never;
4060
+ identity: undefined;
4061
+ generated: undefined;
4062
+ }, {}, {
4063
+ length: number | undefined;
4064
+ }>;
4065
+ completed_via: drizzle_orm_sqlite_core.SQLiteColumn<{
4066
+ name: "completed_via";
4067
+ tableName: "task";
4068
+ dataType: "string";
4069
+ columnType: "SQLiteText";
4070
+ data: "user" | "api" | "policy";
4071
+ driverParam: string;
4072
+ notNull: false;
4073
+ hasDefault: false;
4074
+ isPrimaryKey: false;
4075
+ isAutoincrement: false;
4076
+ hasRuntimeDefault: false;
4077
+ enumValues: ["user", "api", "policy"];
4078
+ baseColumn: never;
4079
+ identity: undefined;
4080
+ generated: undefined;
4081
+ }, {}, {
4082
+ length: number | undefined;
4083
+ }>;
4084
+ claimed_by: drizzle_orm_sqlite_core.SQLiteColumn<{
4085
+ name: "claimed_by";
4086
+ tableName: "task";
4087
+ dataType: "string";
4088
+ columnType: "SQLiteText";
4089
+ data: string;
4090
+ driverParam: string;
4091
+ notNull: false;
4092
+ hasDefault: false;
4093
+ isPrimaryKey: false;
4094
+ isAutoincrement: false;
4095
+ hasRuntimeDefault: false;
4096
+ enumValues: [string, ...string[]];
4097
+ baseColumn: never;
4098
+ identity: undefined;
4099
+ generated: undefined;
4100
+ }, {}, {
4101
+ length: number | undefined;
4102
+ }>;
4103
+ claimed_at: drizzle_orm_sqlite_core.SQLiteColumn<{
4104
+ name: "claimed_at";
4105
+ tableName: "task";
4106
+ dataType: "string";
4107
+ columnType: "SQLiteText";
4108
+ data: string;
4109
+ driverParam: string;
4110
+ notNull: false;
4111
+ hasDefault: false;
4112
+ isPrimaryKey: false;
4113
+ isAutoincrement: false;
4114
+ hasRuntimeDefault: false;
4115
+ enumValues: [string, ...string[]];
4116
+ baseColumn: never;
4117
+ identity: undefined;
4118
+ generated: undefined;
4119
+ }, {}, {
4120
+ length: number | undefined;
4121
+ }>;
3966
4122
  owner_id: drizzle_orm_sqlite_core.SQLiteColumn<{
3967
4123
  name: "owner_id";
3968
4124
  tableName: "task";
@@ -4114,6 +4270,410 @@ declare const fullSchema: {
4114
4270
  };
4115
4271
  dialect: "sqlite";
4116
4272
  }>;
4273
+ task_link: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4274
+ name: "task_link";
4275
+ schema: undefined;
4276
+ columns: {
4277
+ src_id: drizzle_orm_sqlite_core.SQLiteColumn<{
4278
+ name: "src_id";
4279
+ tableName: "task_link";
4280
+ dataType: "string";
4281
+ columnType: "SQLiteText";
4282
+ data: string;
4283
+ driverParam: string;
4284
+ notNull: true;
4285
+ hasDefault: false;
4286
+ isPrimaryKey: false;
4287
+ isAutoincrement: false;
4288
+ hasRuntimeDefault: false;
4289
+ enumValues: [string, ...string[]];
4290
+ baseColumn: never;
4291
+ identity: undefined;
4292
+ generated: undefined;
4293
+ }, {}, {
4294
+ length: number | undefined;
4295
+ }>;
4296
+ dst_id: drizzle_orm_sqlite_core.SQLiteColumn<{
4297
+ name: "dst_id";
4298
+ tableName: "task_link";
4299
+ dataType: "string";
4300
+ columnType: "SQLiteText";
4301
+ data: string;
4302
+ driverParam: string;
4303
+ notNull: false;
4304
+ hasDefault: false;
4305
+ isPrimaryKey: false;
4306
+ isAutoincrement: false;
4307
+ hasRuntimeDefault: false;
4308
+ enumValues: [string, ...string[]];
4309
+ baseColumn: never;
4310
+ identity: undefined;
4311
+ generated: undefined;
4312
+ }, {}, {
4313
+ length: number | undefined;
4314
+ }>;
4315
+ kind: drizzle_orm_sqlite_core.SQLiteColumn<{
4316
+ name: "kind";
4317
+ tableName: "task_link";
4318
+ dataType: "string";
4319
+ columnType: "SQLiteText";
4320
+ data: "blocks" | "relates_to" | "references" | "discovered_from" | "tracks_metric";
4321
+ driverParam: string;
4322
+ notNull: true;
4323
+ hasDefault: false;
4324
+ isPrimaryKey: false;
4325
+ isAutoincrement: false;
4326
+ hasRuntimeDefault: false;
4327
+ enumValues: ["blocks", "relates_to", "references", "discovered_from", "tracks_metric"];
4328
+ baseColumn: never;
4329
+ identity: undefined;
4330
+ generated: undefined;
4331
+ }, {}, {
4332
+ length: number | undefined;
4333
+ }>;
4334
+ ref: drizzle_orm_sqlite_core.SQLiteColumn<{
4335
+ name: "ref";
4336
+ tableName: "task_link";
4337
+ dataType: "json";
4338
+ columnType: "SQLiteTextJson";
4339
+ data: unknown;
4340
+ driverParam: string;
4341
+ notNull: false;
4342
+ hasDefault: false;
4343
+ isPrimaryKey: false;
4344
+ isAutoincrement: false;
4345
+ hasRuntimeDefault: false;
4346
+ enumValues: undefined;
4347
+ baseColumn: never;
4348
+ identity: undefined;
4349
+ generated: undefined;
4350
+ }, {}, {}>;
4351
+ note: drizzle_orm_sqlite_core.SQLiteColumn<{
4352
+ name: "note";
4353
+ tableName: "task_link";
4354
+ dataType: "string";
4355
+ columnType: "SQLiteText";
4356
+ data: string;
4357
+ driverParam: string;
4358
+ notNull: false;
4359
+ hasDefault: false;
4360
+ isPrimaryKey: false;
4361
+ isAutoincrement: false;
4362
+ hasRuntimeDefault: false;
4363
+ enumValues: [string, ...string[]];
4364
+ baseColumn: never;
4365
+ identity: undefined;
4366
+ generated: undefined;
4367
+ }, {}, {
4368
+ length: number | undefined;
4369
+ }>;
4370
+ created_by: drizzle_orm_sqlite_core.SQLiteColumn<{
4371
+ name: "created_by";
4372
+ tableName: "task_link";
4373
+ dataType: "string";
4374
+ columnType: "SQLiteText";
4375
+ data: "user" | "api";
4376
+ driverParam: string;
4377
+ notNull: true;
4378
+ hasDefault: true;
4379
+ isPrimaryKey: false;
4380
+ isAutoincrement: false;
4381
+ hasRuntimeDefault: false;
4382
+ enumValues: ["user", "api"];
4383
+ baseColumn: never;
4384
+ identity: undefined;
4385
+ generated: undefined;
4386
+ }, {}, {
4387
+ length: number | undefined;
4388
+ }>;
4389
+ modified_by: drizzle_orm_sqlite_core.SQLiteColumn<{
4390
+ name: "modified_by";
4391
+ tableName: "task_link";
4392
+ dataType: "string";
4393
+ columnType: "SQLiteText";
4394
+ data: "user" | "api";
4395
+ driverParam: string;
4396
+ notNull: true;
4397
+ hasDefault: true;
4398
+ isPrimaryKey: false;
4399
+ isAutoincrement: false;
4400
+ hasRuntimeDefault: false;
4401
+ enumValues: ["user", "api"];
4402
+ baseColumn: never;
4403
+ identity: undefined;
4404
+ generated: undefined;
4405
+ }, {}, {
4406
+ length: number | undefined;
4407
+ }>;
4408
+ protected: drizzle_orm_sqlite_core.SQLiteColumn<{
4409
+ name: "protected";
4410
+ tableName: "task_link";
4411
+ dataType: "boolean";
4412
+ columnType: "SQLiteBoolean";
4413
+ data: boolean;
4414
+ driverParam: number;
4415
+ notNull: true;
4416
+ hasDefault: true;
4417
+ isPrimaryKey: false;
4418
+ isAutoincrement: false;
4419
+ hasRuntimeDefault: false;
4420
+ enumValues: undefined;
4421
+ baseColumn: never;
4422
+ identity: undefined;
4423
+ generated: undefined;
4424
+ }, {}, {}>;
4425
+ deleted: drizzle_orm_sqlite_core.SQLiteColumn<{
4426
+ name: "deleted";
4427
+ tableName: "task_link";
4428
+ dataType: "boolean";
4429
+ columnType: "SQLiteBoolean";
4430
+ data: boolean;
4431
+ driverParam: number;
4432
+ notNull: true;
4433
+ hasDefault: true;
4434
+ isPrimaryKey: false;
4435
+ isAutoincrement: false;
4436
+ hasRuntimeDefault: false;
4437
+ enumValues: undefined;
4438
+ baseColumn: never;
4439
+ identity: undefined;
4440
+ generated: undefined;
4441
+ }, {}, {}>;
4442
+ created_at: drizzle_orm_sqlite_core.SQLiteColumn<{
4443
+ name: "created_at";
4444
+ tableName: "task_link";
4445
+ dataType: "string";
4446
+ columnType: "SQLiteText";
4447
+ data: string;
4448
+ driverParam: string;
4449
+ notNull: true;
4450
+ hasDefault: true;
4451
+ isPrimaryKey: false;
4452
+ isAutoincrement: false;
4453
+ hasRuntimeDefault: false;
4454
+ enumValues: [string, ...string[]];
4455
+ baseColumn: never;
4456
+ identity: undefined;
4457
+ generated: undefined;
4458
+ }, {}, {
4459
+ length: number | undefined;
4460
+ }>;
4461
+ updated_at: drizzle_orm_sqlite_core.SQLiteColumn<{
4462
+ name: "updated_at";
4463
+ tableName: "task_link";
4464
+ dataType: "string";
4465
+ columnType: "SQLiteText";
4466
+ data: string;
4467
+ driverParam: string;
4468
+ notNull: true;
4469
+ hasDefault: true;
4470
+ isPrimaryKey: false;
4471
+ isAutoincrement: false;
4472
+ hasRuntimeDefault: false;
4473
+ enumValues: [string, ...string[]];
4474
+ baseColumn: never;
4475
+ identity: undefined;
4476
+ generated: undefined;
4477
+ }, {}, {
4478
+ length: number | undefined;
4479
+ }>;
4480
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
4481
+ name: "id";
4482
+ tableName: "task_link";
4483
+ dataType: "string";
4484
+ columnType: "SQLiteText";
4485
+ data: string;
4486
+ driverParam: string;
4487
+ notNull: true;
4488
+ hasDefault: true;
4489
+ isPrimaryKey: true;
4490
+ isAutoincrement: false;
4491
+ hasRuntimeDefault: true;
4492
+ enumValues: [string, ...string[]];
4493
+ baseColumn: never;
4494
+ identity: undefined;
4495
+ generated: undefined;
4496
+ }, {}, {
4497
+ length: number | undefined;
4498
+ }>;
4499
+ };
4500
+ dialect: "sqlite";
4501
+ }>;
4502
+ task_rollup: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4503
+ name: "task_rollup";
4504
+ schema: undefined;
4505
+ columns: {
4506
+ task_id: drizzle_orm_sqlite_core.SQLiteColumn<{
4507
+ name: "task_id";
4508
+ tableName: "task_rollup";
4509
+ dataType: "string";
4510
+ columnType: "SQLiteText";
4511
+ data: string;
4512
+ driverParam: string;
4513
+ notNull: true;
4514
+ hasDefault: false;
4515
+ isPrimaryKey: true;
4516
+ isAutoincrement: false;
4517
+ hasRuntimeDefault: false;
4518
+ enumValues: [string, ...string[]];
4519
+ baseColumn: never;
4520
+ identity: undefined;
4521
+ generated: undefined;
4522
+ }, {}, {
4523
+ length: number | undefined;
4524
+ }>;
4525
+ direct_done: drizzle_orm_sqlite_core.SQLiteColumn<{
4526
+ name: "direct_done";
4527
+ tableName: "task_rollup";
4528
+ dataType: "number";
4529
+ columnType: "SQLiteInteger";
4530
+ data: number;
4531
+ driverParam: number;
4532
+ notNull: true;
4533
+ hasDefault: true;
4534
+ isPrimaryKey: false;
4535
+ isAutoincrement: false;
4536
+ hasRuntimeDefault: false;
4537
+ enumValues: undefined;
4538
+ baseColumn: never;
4539
+ identity: undefined;
4540
+ generated: undefined;
4541
+ }, {}, {}>;
4542
+ direct_total: drizzle_orm_sqlite_core.SQLiteColumn<{
4543
+ name: "direct_total";
4544
+ tableName: "task_rollup";
4545
+ dataType: "number";
4546
+ columnType: "SQLiteInteger";
4547
+ data: number;
4548
+ driverParam: number;
4549
+ notNull: true;
4550
+ hasDefault: true;
4551
+ isPrimaryKey: false;
4552
+ isAutoincrement: false;
4553
+ hasRuntimeDefault: false;
4554
+ enumValues: undefined;
4555
+ baseColumn: never;
4556
+ identity: undefined;
4557
+ generated: undefined;
4558
+ }, {}, {}>;
4559
+ subtree_done: drizzle_orm_sqlite_core.SQLiteColumn<{
4560
+ name: "subtree_done";
4561
+ tableName: "task_rollup";
4562
+ dataType: "number";
4563
+ columnType: "SQLiteInteger";
4564
+ data: number;
4565
+ driverParam: number;
4566
+ notNull: true;
4567
+ hasDefault: true;
4568
+ isPrimaryKey: false;
4569
+ isAutoincrement: false;
4570
+ hasRuntimeDefault: false;
4571
+ enumValues: undefined;
4572
+ baseColumn: never;
4573
+ identity: undefined;
4574
+ generated: undefined;
4575
+ }, {}, {}>;
4576
+ subtree_total: drizzle_orm_sqlite_core.SQLiteColumn<{
4577
+ name: "subtree_total";
4578
+ tableName: "task_rollup";
4579
+ dataType: "number";
4580
+ columnType: "SQLiteInteger";
4581
+ data: number;
4582
+ driverParam: number;
4583
+ notNull: true;
4584
+ hasDefault: true;
4585
+ isPrimaryKey: false;
4586
+ isAutoincrement: false;
4587
+ hasRuntimeDefault: false;
4588
+ enumValues: undefined;
4589
+ baseColumn: never;
4590
+ identity: undefined;
4591
+ generated: undefined;
4592
+ }, {}, {}>;
4593
+ };
4594
+ dialect: "sqlite";
4595
+ }>;
4596
+ apply_log: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4597
+ name: "apply_log";
4598
+ schema: undefined;
4599
+ columns: {
4600
+ idempotency_key: drizzle_orm_sqlite_core.SQLiteColumn<{
4601
+ name: "idempotency_key";
4602
+ tableName: "apply_log";
4603
+ dataType: "string";
4604
+ columnType: "SQLiteText";
4605
+ data: string;
4606
+ driverParam: string;
4607
+ notNull: true;
4608
+ hasDefault: false;
4609
+ isPrimaryKey: true;
4610
+ isAutoincrement: false;
4611
+ hasRuntimeDefault: false;
4612
+ enumValues: [string, ...string[]];
4613
+ baseColumn: never;
4614
+ identity: undefined;
4615
+ generated: undefined;
4616
+ }, {}, {
4617
+ length: number | undefined;
4618
+ }>;
4619
+ owner_id: drizzle_orm_sqlite_core.SQLiteColumn<{
4620
+ name: "owner_id";
4621
+ tableName: "apply_log";
4622
+ dataType: "string";
4623
+ columnType: "SQLiteText";
4624
+ data: string;
4625
+ driverParam: string;
4626
+ notNull: true;
4627
+ hasDefault: false;
4628
+ isPrimaryKey: false;
4629
+ isAutoincrement: false;
4630
+ hasRuntimeDefault: false;
4631
+ enumValues: [string, ...string[]];
4632
+ baseColumn: never;
4633
+ identity: undefined;
4634
+ generated: undefined;
4635
+ }, {}, {
4636
+ length: number | undefined;
4637
+ }>;
4638
+ response: drizzle_orm_sqlite_core.SQLiteColumn<{
4639
+ name: "response";
4640
+ tableName: "apply_log";
4641
+ dataType: "json";
4642
+ columnType: "SQLiteTextJson";
4643
+ data: unknown;
4644
+ driverParam: string;
4645
+ notNull: true;
4646
+ hasDefault: false;
4647
+ isPrimaryKey: false;
4648
+ isAutoincrement: false;
4649
+ hasRuntimeDefault: false;
4650
+ enumValues: undefined;
4651
+ baseColumn: never;
4652
+ identity: undefined;
4653
+ generated: undefined;
4654
+ }, {}, {}>;
4655
+ created_at: drizzle_orm_sqlite_core.SQLiteColumn<{
4656
+ name: "created_at";
4657
+ tableName: "apply_log";
4658
+ dataType: "string";
4659
+ columnType: "SQLiteText";
4660
+ data: string;
4661
+ driverParam: string;
4662
+ notNull: true;
4663
+ hasDefault: true;
4664
+ isPrimaryKey: false;
4665
+ isAutoincrement: false;
4666
+ hasRuntimeDefault: false;
4667
+ enumValues: [string, ...string[]];
4668
+ baseColumn: never;
4669
+ identity: undefined;
4670
+ generated: undefined;
4671
+ }, {}, {
4672
+ length: number | undefined;
4673
+ }>;
4674
+ };
4675
+ dialect: "sqlite";
4676
+ }>;
4117
4677
  checklist: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4118
4678
  name: "checklist";
4119
4679
  schema: undefined;
@@ -7227,6 +7787,16 @@ declare const fullSchema: {
7227
7787
  goal: drizzle_orm.One<"goal", false>;
7228
7788
  codebase_task: drizzle_orm.One<"codebase_tasks", false>;
7229
7789
  checklists: drizzle_orm.Many<"checklist">;
7790
+ outgoing_links: drizzle_orm.Many<"task_link">;
7791
+ incoming_links: drizzle_orm.Many<"task_link">;
7792
+ rollup: drizzle_orm.One<"task_rollup", true>;
7793
+ }>;
7794
+ task_link_relations: drizzle_orm.Relations<"task_link", {
7795
+ src: drizzle_orm.One<"task", true>;
7796
+ dst: drizzle_orm.One<"task", false>;
7797
+ }>;
7798
+ task_rollup_relations: drizzle_orm.Relations<"task_rollup", {
7799
+ task: drizzle_orm.One<"task", true>;
7230
7800
  }>;
7231
7801
  checklist_relations: drizzle_orm.Relations<"checklist", {
7232
7802
  task: drizzle_orm.One<"task", true>;
@@ -1,6 +1,6 @@
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 Action, a as ApiKey, C as CodebaseTask, b as ConfigSchemaType, D as DashboardResponse, c as DashboardWindowQuery, G as GetConfigResult, d as Goal, H as HistoryAction, I as IgnorePath, e as InsertPipelineStageEvent, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, f as PipelineApproval, g as PipelineGrant, h as PipelineOidcTrust, i as PipelinePackage, j as PipelineRun, k as PipelineStageEvent, l as Project, m as ProjectConfig, n as ProjectWithTasks, R as RolloutShapeZ, o as RunKindZ, S as SaveConfigRequest, p as ScanStatus, q as Session, T as TAG_COLOURS, r as Tag, s as TagColor, t as TagConfig, u as TagWithColor, v as TagWithTypedColor, w as Task, x as TaskTag, y as TaskView, z as TaskWithDetails, B as TodoUpdate, E as TrackerResult, U as UpdateAction, F as UpdateData, J as UpdateUser, K as UpsertGoal, L as UpsertMilestone, O as UpsertPipelineAnalysisTemplate, Q as UpsertPipelineApproval, V as UpsertPipelineGrant, W as UpsertPipelineOidcTrust, X as UpsertPipelinePackage, Y as UpsertPipelineRun, Z as UpsertProject, _ as UpsertTag, $ as UpsertTodo, a0 as User, a1 as WebhookEventBody, a2 as approval_decision, a3 as config_schema, a4 as dashboard_response, a5 as dashboard_window_query, a6 as forced_atomic_reason, a7 as gate_descriptor, a8 as grant_scope, a9 as insert_pipeline_stage_event, aa as pipeline_oidc_provider, ab as project_config, ac as resolved_gates, ad as resolved_rollout, ae as rollout_shape, af as rollout_stage, ag as run_kind, ah as run_status, ai as save_config_request, aj as save_tags_request, ak as stage_event_kind, al as update_action, am as update_user, an as upsert_goal, ao as upsert_milestone, ap as upsert_pipeline_analysis_template, aq as upsert_pipeline_approval, ar as upsert_pipeline_grant, as as upsert_pipeline_oidc_trust, at as upsert_pipeline_package, au as upsert_pipeline_run, av as upsert_project, aw as upsert_tag, ax as upsert_todo, ay as webhook_event_body } from '../types.d-DUtDEHYM.js';
3
- export { a as ApprovalDecision, F as ForcedAtomicReason, P as PipelineOidcProvider, R as RolloutShape, b as RunStatus, S as StageEventKind } from '../schema.d-BeVFWenc.js';
2
+ export { A as Action, a as ApiKey, b as ApplyLog, c as ApplyOp, d as ApplyRequest, C as ClaimRequest, e as CodebaseTask, f as ConfigSchemaType, D as DashboardResponse, g as DashboardWindowQuery, E as ExternalRef, G as GetConfigResult, h as Goal, H as HistoryAction, I as IgnorePath, i as InsertPipelineStageEvent, M as Milestone, N as Nullable, P as PipelineAnalysisTemplate, j as PipelineApproval, k as PipelineGrant, l as PipelineOidcTrust, m as PipelinePackage, n as PipelineRun, o as PipelineStageEvent, p as Project, q as ProjectConfig, r as ProjectWithTasks, R as RolloutShapeZ, s as RunKindZ, S as SaveConfigRequest, t as ScanStatus, u as Session, T as TAG_COLOURS, v as Tag, w as TagColor, x as TagConfig, y as TagWithColor, z as TagWithTypedColor, B as Task, F as TaskLink, J as TaskRollup, K as TaskTag, L as TaskView, O as TaskWithDetails, Q as TodoUpdate, U as TrackerResult, V as UpdateAction, W as UpdateData, X as UpdateUser, Y as UpsertGoal, Z as UpsertMilestone, _ as UpsertPipelineAnalysisTemplate, $ as UpsertPipelineApproval, a0 as UpsertPipelineGrant, a1 as UpsertPipelineOidcTrust, a2 as UpsertPipelinePackage, a3 as UpsertPipelineRun, a4 as UpsertProject, a5 as UpsertTag, a6 as UpsertTaskLink, a7 as UpsertTodo, a8 as User, a9 as WebhookEventBody, aa as apply_op, ab as apply_request, ac as approval_decision, ad as claim_request, ae as config_schema, af as dashboard_response, ag as dashboard_window_query, ah as external_ref, ai as forced_atomic_reason, aj as gate_descriptor, ak as grant_scope, al as insert_pipeline_stage_event, am as pipeline_oidc_provider, an as project_config, ao as resolved_gates, ap as resolved_rollout, aq as rollout_shape, ar as rollout_stage, as as run_kind, at as run_status, au as save_config_request, av as save_tags_request, aw as stage_event_kind, ax as task_link_kind, ay as update_action, az as update_user, aA as upsert_goal, aB as upsert_milestone, aC as upsert_pipeline_analysis_template, aD as upsert_pipeline_approval, aE as upsert_pipeline_grant, aF as upsert_pipeline_oidc_trust, aG as upsert_pipeline_package, aH as upsert_pipeline_run, aI as upsert_project, aJ as upsert_tag, aK as upsert_task_link, aL as upsert_todo, aM as webhook_event_body } from '../types.d-8FWQKyCL.js';
3
+ export { a as ApprovalDecision, C as CompletedVia, b as CompletionPolicy, F as ForcedAtomicReason, G as GRAPH_CHILDREN_CAP, c as GRAPH_DEPTH_CAP, P as PipelineOidcProvider, R as RolloutShape, d as RunStatus, S as StageEventKind, T as TaskKind, e as TaskLinkKind } from '../schema.d-D3xGKqB8.js';
4
4
  import '@f0rbit/corpus';
5
5
  import 'drizzle-orm';
6
6
  import 'zod';
@@ -1,8 +1,14 @@
1
1
  import {
2
+ GRAPH_CHILDREN_CAP,
3
+ GRAPH_DEPTH_CAP,
4
+ apply_op,
5
+ apply_request,
2
6
  approval_decision,
7
+ claim_request,
3
8
  config_schema,
4
9
  dashboard_response,
5
10
  dashboard_window_query,
11
+ external_ref,
6
12
  forced_atomic_reason,
7
13
  gate_descriptor,
8
14
  grant_scope,
@@ -18,6 +24,7 @@ import {
18
24
  save_config_request,
19
25
  save_tags_request,
20
26
  stage_event_kind,
27
+ task_link_kind,
21
28
  update_action,
22
29
  update_user,
23
30
  upsert_goal,
@@ -30,9 +37,10 @@ import {
30
37
  upsert_pipeline_run,
31
38
  upsert_project,
32
39
  upsert_tag,
40
+ upsert_task_link,
33
41
  upsert_todo,
34
42
  webhook_event_body
35
- } from "../chunk-DIX4XVUQ.js";
43
+ } from "../chunk-ZPDYJASJ.js";
36
44
  import {
37
45
  apiError,
38
46
  authExpired,
@@ -91,11 +99,16 @@ var TAG_COLOURS = {
91
99
  lime: { colour: "#ddf0bc", text: "#88b47f", border: "#becca5" }
92
100
  };
93
101
  export {
102
+ GRAPH_CHILDREN_CAP,
103
+ GRAPH_DEPTH_CAP,
94
104
  TAG_COLOURS,
95
105
  apiError,
106
+ apply_op,
107
+ apply_request,
96
108
  approval_decision,
97
109
  authExpired,
98
110
  badRequest,
111
+ claim_request,
99
112
  config_schema,
100
113
  configureErrorLogging,
101
114
  conflict,
@@ -104,6 +117,7 @@ export {
104
117
  dbError,
105
118
  encryptionError,
106
119
  errors,
120
+ external_ref,
107
121
  forbidden,
108
122
  forced_atomic_reason,
109
123
  gate_descriptor,
@@ -148,6 +162,7 @@ export {
148
162
  scanError,
149
163
  stage_event_kind,
150
164
  storeError,
165
+ task_link_kind,
151
166
  unauthorized,
152
167
  update_action,
153
168
  update_user,
@@ -161,6 +176,7 @@ export {
161
176
  upsert_pipeline_run,
162
177
  upsert_project,
163
178
  upsert_tag,
179
+ upsert_task_link,
164
180
  upsert_todo,
165
181
  validation,
166
182
  validationFieldError,