@ledgerhq/revault-api 1.31.0 → 1.32.1

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.
package/lib/index.d.mts CHANGED
@@ -10,7 +10,7 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
10
10
  import * as fastify_types_type_provider from 'fastify/types/type-provider';
11
11
  import * as http from 'http';
12
12
  import * as fastify from 'fastify';
13
- export { A as AccountResponse, a as AccountSortBy, d as ApiChallenge, H as HsmCertificate, P as PsdChallenge, e as PsdPairingData, f as PsdPairingInputData, g as PsdSignature, h as PubKey, R as RequestSortBy, w as UserChallengeResponse, U as UserRegistrationChallenge, i as UserRegistrationChallengeResponse, j as UserRegistrationDeviceData, V as VaultRequestCreateInput, t as VaultRequestResponse, c as zAccountLiveData, z as zAccountResponse, b as zAccountSortBy, k as zPsdPairingData, l as zPsdPairingInputData, m as zPsdSignature, n as zPubKey, u as zRequestSortBy, v as zUserChallengeResponse, o as zUserRegistrationChallenge, p as zUserRegistrationChallengeResponse, q as zUserRegistrationDeviceData, r as zVaultRequestCreateInput, s as zVaultRequestResponse } from './app-types--WzpkjcT.mjs';
13
+ export { A as AccountResponse, a as AccountSortBy, d as ApiChallenge, H as HsmCertificate, P as PsdChallenge, e as PsdPairingData, f as PsdPairingInputData, g as PsdSignature, h as PubKey, R as RequestSortBy, w as UserChallengeResponse, U as UserRegistrationChallenge, i as UserRegistrationChallengeResponse, j as UserRegistrationDeviceData, V as VaultRequestCreateInput, t as VaultRequestResponse, c as zAccountLiveData, z as zAccountResponse, b as zAccountSortBy, k as zPsdPairingData, l as zPsdPairingInputData, m as zPsdSignature, n as zPubKey, u as zRequestSortBy, v as zUserChallengeResponse, o as zUserRegistrationChallenge, p as zUserRegistrationChallengeResponse, q as zUserRegistrationDeviceData, r as zVaultRequestCreateInput, s as zVaultRequestResponse } from './app-types-cjzmhBDS.mjs';
14
14
  export { CreateWebhookPayload, DeleteWebhookResponse, WebhookResponse, WebhooksResponse, zCreateWebhookPayload, zDeleteWebhookResponse, zWebhookResponse } from '@ledgerhq/revault-notifier-types/webhook';
15
15
 
16
16
  type RateLimitRouteMetricsConfig = {
@@ -410,6 +410,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
410
410
  deviceType?: "PSD" | "API" | "SOFT_PSD" | undefined;
411
411
  sortBy?: "name" | "status" | "role" | "createdAt" | "updatedAt" | undefined;
412
412
  sortOrder?: "asc" | "desc" | undefined;
413
+ ids?: string[] | undefined;
413
414
  };
414
415
  output: {
415
416
  page: number;
@@ -3376,8 +3377,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3376
3377
  page?: number | undefined;
3377
3378
  pageSize?: number | undefined;
3378
3379
  state?: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK" | undefined;
3380
+ targetId?: string | undefined;
3379
3381
  createdBy?: string | undefined;
3380
- sortBy?: "createdAt" | "updatedAt" | "state" | "expiredAt" | undefined;
3382
+ sortBy?: "createdAt" | "updatedAt" | "state" | "expiresAt" | undefined;
3381
3383
  sortOrder?: "asc" | "desc" | undefined;
3382
3384
  reviewedBy?: string | undefined;
3383
3385
  pendingBy?: string | undefined;
@@ -3707,12 +3709,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3707
3709
  quorum: number;
3708
3710
  }[];
3709
3711
  currentStepIndex: number;
3710
- expiredAt: Date | null;
3712
+ expiresAt: Date;
3711
3713
  targetId: string | null;
3712
3714
  note: {
3713
3715
  title: string;
3714
3716
  content: string;
3715
3717
  } | null;
3718
+ createdById: string;
3716
3719
  reviews: {
3717
3720
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3718
3721
  createdAt: Date;
@@ -3743,12 +3746,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3743
3746
  quorum: number;
3744
3747
  }[];
3745
3748
  currentStepIndex: number;
3746
- expiredAt: Date | null;
3749
+ expiresAt: Date;
3747
3750
  targetId: string | null;
3748
3751
  note: {
3749
3752
  title: string;
3750
3753
  content: string;
3751
3754
  } | null;
3755
+ createdById: string;
3752
3756
  reviews: {
3753
3757
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3754
3758
  createdAt: Date;
@@ -3816,12 +3820,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3816
3820
  quorum: number;
3817
3821
  }[];
3818
3822
  currentStepIndex: number;
3819
- expiredAt: Date | null;
3823
+ expiresAt: Date;
3820
3824
  targetId: string | null;
3821
3825
  note: {
3822
3826
  title: string;
3823
3827
  content: string;
3824
3828
  } | null;
3829
+ createdById: string;
3825
3830
  reviews: {
3826
3831
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3827
3832
  createdAt: Date;
@@ -3847,12 +3852,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3847
3852
  quorum: number;
3848
3853
  }[];
3849
3854
  currentStepIndex: number;
3850
- expiredAt: Date | null;
3855
+ expiresAt: Date;
3851
3856
  targetId: string | null;
3852
3857
  note: {
3853
3858
  title: string;
3854
3859
  content: string;
3855
3860
  } | null;
3861
+ createdById: string;
3856
3862
  reviews: {
3857
3863
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3858
3864
  createdAt: Date;
@@ -3882,12 +3888,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3882
3888
  quorum: number;
3883
3889
  }[];
3884
3890
  currentStepIndex: number;
3885
- expiredAt: Date | null;
3891
+ expiresAt: Date;
3886
3892
  targetId: string | null;
3887
3893
  note: {
3888
3894
  title: string;
3889
3895
  content: string;
3890
3896
  } | null;
3897
+ createdById: string;
3891
3898
  reviews: {
3892
3899
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3893
3900
  createdAt: Date;
@@ -3917,12 +3924,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3917
3924
  quorum: number;
3918
3925
  }[];
3919
3926
  currentStepIndex: number;
3920
- expiredAt: Date | null;
3927
+ expiresAt: Date;
3921
3928
  targetId: string | null;
3922
3929
  note: {
3923
3930
  title: string;
3924
3931
  content: string;
3925
3932
  } | null;
3933
+ createdById: string;
3926
3934
  reviews: {
3927
3935
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3928
3936
  createdAt: Date;
@@ -3958,12 +3966,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3958
3966
  quorum: number;
3959
3967
  }[];
3960
3968
  currentStepIndex: number;
3961
- expiredAt: Date | null;
3969
+ expiresAt: Date;
3962
3970
  targetId: string | null;
3963
3971
  note: {
3964
3972
  title: string;
3965
3973
  content: string;
3966
3974
  } | null;
3975
+ createdById: string;
3967
3976
  reviews: {
3968
3977
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
3969
3978
  createdAt: Date;
@@ -3997,12 +4006,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3997
4006
  quorum: number;
3998
4007
  }[];
3999
4008
  currentStepIndex: number;
4000
- expiredAt: Date | null;
4009
+ expiresAt: Date;
4001
4010
  targetId: string | null;
4002
4011
  note: {
4003
4012
  title: string;
4004
4013
  content: string;
4005
4014
  } | null;
4015
+ createdById: string;
4006
4016
  reviews: {
4007
4017
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4008
4018
  createdAt: Date;
@@ -4030,12 +4040,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4030
4040
  quorum: number;
4031
4041
  }[];
4032
4042
  currentStepIndex: number;
4033
- expiredAt: Date | null;
4043
+ expiresAt: Date;
4034
4044
  targetId: string | null;
4035
4045
  note: {
4036
4046
  title: string;
4037
4047
  content: string;
4038
4048
  } | null;
4049
+ createdById: string;
4039
4050
  reviews: {
4040
4051
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4041
4052
  createdAt: Date;
@@ -4066,12 +4077,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4066
4077
  quorum: number;
4067
4078
  }[];
4068
4079
  currentStepIndex: number;
4069
- expiredAt: Date | null;
4080
+ expiresAt: Date;
4070
4081
  targetId: string | null;
4071
4082
  note: {
4072
4083
  title: string;
4073
4084
  content: string;
4074
4085
  } | null;
4086
+ createdById: string;
4075
4087
  reviews: {
4076
4088
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4077
4089
  createdAt: Date;
@@ -4116,12 +4128,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4116
4128
  quorum: number;
4117
4129
  }[];
4118
4130
  currentStepIndex: number;
4119
- expiredAt: Date | null;
4131
+ expiresAt: Date;
4120
4132
  targetId: string | null;
4121
4133
  note: {
4122
4134
  title: string;
4123
4135
  content: string;
4124
4136
  } | null;
4137
+ createdById: string;
4125
4138
  reviews: {
4126
4139
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4127
4140
  createdAt: Date;
@@ -4165,12 +4178,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4165
4178
  quorum: number;
4166
4179
  }[];
4167
4180
  currentStepIndex: number;
4168
- expiredAt: Date | null;
4181
+ expiresAt: Date;
4169
4182
  targetId: string | null;
4170
4183
  note: {
4171
4184
  title: string;
4172
4185
  content: string;
4173
4186
  } | null;
4187
+ createdById: string;
4174
4188
  reviews: {
4175
4189
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4176
4190
  createdAt: Date;
@@ -4209,12 +4223,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4209
4223
  quorum: number;
4210
4224
  }[];
4211
4225
  currentStepIndex: number;
4212
- expiredAt: Date | null;
4226
+ expiresAt: Date;
4213
4227
  targetId: string | null;
4214
4228
  note: {
4215
4229
  title: string;
4216
4230
  content: string;
4217
4231
  } | null;
4232
+ createdById: string;
4218
4233
  reviews: {
4219
4234
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4220
4235
  createdAt: Date;
@@ -4253,12 +4268,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4253
4268
  quorum: number;
4254
4269
  }[];
4255
4270
  currentStepIndex: number;
4256
- expiredAt: Date | null;
4271
+ expiresAt: Date;
4257
4272
  targetId: string | null;
4258
4273
  note: {
4259
4274
  title: string;
4260
4275
  content: string;
4261
4276
  } | null;
4277
+ createdById: string;
4262
4278
  reviews: {
4263
4279
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4264
4280
  createdAt: Date;
@@ -4295,12 +4311,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4295
4311
  quorum: number;
4296
4312
  }[];
4297
4313
  currentStepIndex: number;
4298
- expiredAt: Date | null;
4314
+ expiresAt: Date;
4299
4315
  targetId: string | null;
4300
4316
  note: {
4301
4317
  title: string;
4302
4318
  content: string;
4303
4319
  } | null;
4320
+ createdById: string;
4304
4321
  reviews: {
4305
4322
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4306
4323
  createdAt: Date;
@@ -4337,12 +4354,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4337
4354
  quorum: number;
4338
4355
  }[];
4339
4356
  currentStepIndex: number;
4340
- expiredAt: Date | null;
4357
+ expiresAt: Date;
4341
4358
  targetId: string | null;
4342
4359
  note: {
4343
4360
  title: string;
4344
4361
  content: string;
4345
4362
  } | null;
4363
+ createdById: string;
4346
4364
  reviews: {
4347
4365
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4348
4366
  createdAt: Date;
@@ -4379,12 +4397,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4379
4397
  quorum: number;
4380
4398
  }[];
4381
4399
  currentStepIndex: number;
4382
- expiredAt: Date | null;
4400
+ expiresAt: Date;
4383
4401
  targetId: string | null;
4384
4402
  note: {
4385
4403
  title: string;
4386
4404
  content: string;
4387
4405
  } | null;
4406
+ createdById: string;
4388
4407
  reviews: {
4389
4408
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4390
4409
  createdAt: Date;
@@ -4421,12 +4440,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4421
4440
  quorum: number;
4422
4441
  }[];
4423
4442
  currentStepIndex: number;
4424
- expiredAt: Date | null;
4443
+ expiresAt: Date;
4425
4444
  targetId: string | null;
4426
4445
  note: {
4427
4446
  title: string;
4428
4447
  content: string;
4429
4448
  } | null;
4449
+ createdById: string;
4430
4450
  reviews: {
4431
4451
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4432
4452
  createdAt: Date;
@@ -4456,12 +4476,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4456
4476
  quorum: number;
4457
4477
  }[];
4458
4478
  currentStepIndex: number;
4459
- expiredAt: Date | null;
4479
+ expiresAt: Date;
4460
4480
  targetId: string | null;
4461
4481
  note: {
4462
4482
  title: string;
4463
4483
  content: string;
4464
4484
  } | null;
4485
+ createdById: string;
4465
4486
  reviews: {
4466
4487
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4467
4488
  createdAt: Date;
@@ -4491,12 +4512,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4491
4512
  quorum: number;
4492
4513
  }[];
4493
4514
  currentStepIndex: number;
4494
- expiredAt: Date | null;
4515
+ expiresAt: Date;
4495
4516
  targetId: string | null;
4496
4517
  note: {
4497
4518
  title: string;
4498
4519
  content: string;
4499
4520
  } | null;
4521
+ createdById: string;
4500
4522
  reviews: {
4501
4523
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4502
4524
  createdAt: Date;
@@ -4615,12 +4637,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4615
4637
  quorum: number;
4616
4638
  }[];
4617
4639
  currentStepIndex: number;
4618
- expiredAt: Date | null;
4640
+ expiresAt: Date;
4619
4641
  targetId: string | null;
4620
4642
  note: {
4621
4643
  title: string;
4622
4644
  content: string;
4623
4645
  } | null;
4646
+ createdById: string;
4624
4647
  reviews: {
4625
4648
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4626
4649
  createdAt: Date;
@@ -4652,12 +4675,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4652
4675
  quorum: number;
4653
4676
  }[];
4654
4677
  currentStepIndex: number;
4655
- expiredAt: Date | null;
4678
+ expiresAt: Date;
4656
4679
  targetId: string | null;
4657
4680
  note: {
4658
4681
  title: string;
4659
4682
  content: string;
4660
4683
  } | null;
4684
+ createdById: string;
4661
4685
  reviews: {
4662
4686
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4663
4687
  createdAt: Date;
@@ -4775,12 +4799,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4775
4799
  quorum: number;
4776
4800
  }[];
4777
4801
  currentStepIndex: number;
4778
- expiredAt: Date | null;
4802
+ expiresAt: Date;
4779
4803
  targetId: string | null;
4780
4804
  note: {
4781
4805
  title: string;
4782
4806
  content: string;
4783
4807
  } | null;
4808
+ createdById: string;
4784
4809
  reviews: {
4785
4810
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4786
4811
  createdAt: Date;
@@ -4901,12 +4926,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4901
4926
  quorum: number;
4902
4927
  }[];
4903
4928
  currentStepIndex: number;
4904
- expiredAt: Date | null;
4929
+ expiresAt: Date;
4905
4930
  targetId: string | null;
4906
4931
  note: {
4907
4932
  title: string;
4908
4933
  content: string;
4909
4934
  } | null;
4935
+ createdById: string;
4910
4936
  reviews: {
4911
4937
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4912
4938
  createdAt: Date;
@@ -4943,12 +4969,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4943
4969
  quorum: number;
4944
4970
  }[];
4945
4971
  currentStepIndex: number;
4946
- expiredAt: Date | null;
4972
+ expiresAt: Date;
4947
4973
  targetId: string | null;
4948
4974
  note: {
4949
4975
  title: string;
4950
4976
  content: string;
4951
4977
  } | null;
4978
+ createdById: string;
4952
4979
  reviews: {
4953
4980
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4954
4981
  createdAt: Date;
@@ -4980,12 +5007,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
4980
5007
  quorum: number;
4981
5008
  }[];
4982
5009
  currentStepIndex: number;
4983
- expiredAt: Date | null;
5010
+ expiresAt: Date;
4984
5011
  targetId: string | null;
4985
5012
  note: {
4986
5013
  title: string;
4987
5014
  content: string;
4988
5015
  } | null;
5016
+ createdById: string;
4989
5017
  reviews: {
4990
5018
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
4991
5019
  createdAt: Date;
@@ -5059,12 +5087,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5059
5087
  quorum: number;
5060
5088
  }[];
5061
5089
  currentStepIndex: number;
5062
- expiredAt: Date | null;
5090
+ expiresAt: Date;
5063
5091
  targetId: string | null;
5064
5092
  note: {
5065
5093
  title: string;
5066
5094
  content: string;
5067
5095
  } | null;
5096
+ createdById: string;
5068
5097
  reviews: {
5069
5098
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5070
5099
  createdAt: Date;
@@ -5108,12 +5137,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5108
5137
  quorum: number;
5109
5138
  }[];
5110
5139
  currentStepIndex: number;
5111
- expiredAt: Date | null;
5140
+ expiresAt: Date;
5112
5141
  targetId: string | null;
5113
5142
  note: {
5114
5143
  title: string;
5115
5144
  content: string;
5116
5145
  } | null;
5146
+ createdById: string;
5117
5147
  reviews: {
5118
5148
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5119
5149
  createdAt: Date;
@@ -5139,12 +5169,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5139
5169
  quorum: number;
5140
5170
  }[];
5141
5171
  currentStepIndex: number;
5142
- expiredAt: Date | null;
5172
+ expiresAt: Date;
5143
5173
  targetId: string | null;
5144
5174
  note: {
5145
5175
  title: string;
5146
5176
  content: string;
5147
5177
  } | null;
5178
+ createdById: string;
5148
5179
  reviews: {
5149
5180
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5150
5181
  createdAt: Date;
@@ -5173,12 +5204,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5173
5204
  quorum: number;
5174
5205
  }[];
5175
5206
  currentStepIndex: number;
5176
- expiredAt: Date | null;
5207
+ expiresAt: Date;
5177
5208
  targetId: string | null;
5178
5209
  note: {
5179
5210
  title: string;
5180
5211
  content: string;
5181
5212
  } | null;
5213
+ createdById: string;
5182
5214
  reviews: {
5183
5215
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5184
5216
  createdAt: Date;
@@ -5207,12 +5239,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5207
5239
  quorum: number;
5208
5240
  }[];
5209
5241
  currentStepIndex: number;
5210
- expiredAt: Date | null;
5242
+ expiresAt: Date;
5211
5243
  targetId: string | null;
5212
5244
  note: {
5213
5245
  title: string;
5214
5246
  content: string;
5215
5247
  } | null;
5248
+ createdById: string;
5216
5249
  reviews: {
5217
5250
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5218
5251
  createdAt: Date;
@@ -5238,12 +5271,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5238
5271
  quorum: number;
5239
5272
  }[];
5240
5273
  currentStepIndex: number;
5241
- expiredAt: Date | null;
5274
+ expiresAt: Date;
5242
5275
  targetId: string | null;
5243
5276
  note: {
5244
5277
  title: string;
5245
5278
  content: string;
5246
5279
  } | null;
5280
+ createdById: string;
5247
5281
  reviews: {
5248
5282
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5249
5283
  createdAt: Date;
@@ -5271,12 +5305,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5271
5305
  quorum: number;
5272
5306
  }[];
5273
5307
  currentStepIndex: number;
5274
- expiredAt: Date | null;
5308
+ expiresAt: Date;
5275
5309
  targetId: string | null;
5276
5310
  note: {
5277
5311
  title: string;
5278
5312
  content: string;
5279
5313
  } | null;
5314
+ createdById: string;
5280
5315
  reviews: {
5281
5316
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5282
5317
  createdAt: Date;
@@ -5302,12 +5337,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5302
5337
  quorum: number;
5303
5338
  }[];
5304
5339
  currentStepIndex: number;
5305
- expiredAt: Date | null;
5340
+ expiresAt: Date;
5306
5341
  targetId: string | null;
5307
5342
  note: {
5308
5343
  title: string;
5309
5344
  content: string;
5310
5345
  } | null;
5346
+ createdById: string;
5311
5347
  reviews: {
5312
5348
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5313
5349
  createdAt: Date;
@@ -5339,12 +5375,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5339
5375
  quorum: number;
5340
5376
  }[];
5341
5377
  currentStepIndex: number;
5342
- expiredAt: Date | null;
5378
+ expiresAt: Date;
5343
5379
  targetId: string | null;
5344
5380
  note: {
5345
5381
  title: string;
5346
5382
  content: string;
5347
5383
  } | null;
5384
+ createdById: string;
5348
5385
  reviews: {
5349
5386
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5350
5387
  createdAt: Date;
@@ -5376,12 +5413,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5376
5413
  quorum: number;
5377
5414
  }[];
5378
5415
  currentStepIndex: number;
5379
- expiredAt: Date | null;
5416
+ expiresAt: Date;
5380
5417
  targetId: string | null;
5381
5418
  note: {
5382
5419
  title: string;
5383
5420
  content: string;
5384
5421
  } | null;
5422
+ createdById: string;
5385
5423
  reviews: {
5386
5424
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5387
5425
  createdAt: Date;
@@ -5413,12 +5451,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5413
5451
  quorum: number;
5414
5452
  }[];
5415
5453
  currentStepIndex: number;
5416
- expiredAt: Date | null;
5454
+ expiresAt: Date;
5417
5455
  targetId: string | null;
5418
5456
  note: {
5419
5457
  title: string;
5420
5458
  content: string;
5421
5459
  } | null;
5460
+ createdById: string;
5422
5461
  reviews: {
5423
5462
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5424
5463
  createdAt: Date;
@@ -5449,12 +5488,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5449
5488
  quorum: number;
5450
5489
  }[];
5451
5490
  currentStepIndex: number;
5452
- expiredAt: Date | null;
5491
+ expiresAt: Date;
5453
5492
  targetId: string | null;
5454
5493
  note: {
5455
5494
  title: string;
5456
5495
  content: string;
5457
5496
  } | null;
5497
+ createdById: string;
5458
5498
  reviews: {
5459
5499
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5460
5500
  createdAt: Date;
@@ -5484,12 +5524,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5484
5524
  quorum: number;
5485
5525
  }[];
5486
5526
  currentStepIndex: number;
5487
- expiredAt: Date | null;
5527
+ expiresAt: Date;
5488
5528
  targetId: string | null;
5489
5529
  note: {
5490
5530
  title: string;
5491
5531
  content: string;
5492
5532
  } | null;
5533
+ createdById: string;
5493
5534
  reviews: {
5494
5535
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5495
5536
  createdAt: Date;
@@ -5519,12 +5560,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5519
5560
  quorum: number;
5520
5561
  }[];
5521
5562
  currentStepIndex: number;
5522
- expiredAt: Date | null;
5563
+ expiresAt: Date;
5523
5564
  targetId: string | null;
5524
5565
  note: {
5525
5566
  title: string;
5526
5567
  content: string;
5527
5568
  } | null;
5569
+ createdById: string;
5528
5570
  reviews: {
5529
5571
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5530
5572
  createdAt: Date;
@@ -5550,12 +5592,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5550
5592
  quorum: number;
5551
5593
  }[];
5552
5594
  currentStepIndex: number;
5553
- expiredAt: Date | null;
5595
+ expiresAt: Date;
5554
5596
  targetId: string | null;
5555
5597
  note: {
5556
5598
  title: string;
5557
5599
  content: string;
5558
5600
  } | null;
5601
+ createdById: string;
5559
5602
  reviews: {
5560
5603
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5561
5604
  createdAt: Date;
@@ -5915,12 +5958,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5915
5958
  quorum: number;
5916
5959
  }[];
5917
5960
  currentStepIndex: number;
5918
- expiredAt: Date | null;
5961
+ expiresAt: Date;
5919
5962
  targetId: string | null;
5920
5963
  note: {
5921
5964
  title: string;
5922
5965
  content: string;
5923
5966
  } | null;
5967
+ createdById: string;
5924
5968
  reviews: {
5925
5969
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5926
5970
  createdAt: Date;
@@ -5951,12 +5995,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5951
5995
  quorum: number;
5952
5996
  }[];
5953
5997
  currentStepIndex: number;
5954
- expiredAt: Date | null;
5998
+ expiresAt: Date;
5955
5999
  targetId: string | null;
5956
6000
  note: {
5957
6001
  title: string;
5958
6002
  content: string;
5959
6003
  } | null;
6004
+ createdById: string;
5960
6005
  reviews: {
5961
6006
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
5962
6007
  createdAt: Date;
@@ -6024,12 +6069,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6024
6069
  quorum: number;
6025
6070
  }[];
6026
6071
  currentStepIndex: number;
6027
- expiredAt: Date | null;
6072
+ expiresAt: Date;
6028
6073
  targetId: string | null;
6029
6074
  note: {
6030
6075
  title: string;
6031
6076
  content: string;
6032
6077
  } | null;
6078
+ createdById: string;
6033
6079
  reviews: {
6034
6080
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6035
6081
  createdAt: Date;
@@ -6055,12 +6101,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6055
6101
  quorum: number;
6056
6102
  }[];
6057
6103
  currentStepIndex: number;
6058
- expiredAt: Date | null;
6104
+ expiresAt: Date;
6059
6105
  targetId: string | null;
6060
6106
  note: {
6061
6107
  title: string;
6062
6108
  content: string;
6063
6109
  } | null;
6110
+ createdById: string;
6064
6111
  reviews: {
6065
6112
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6066
6113
  createdAt: Date;
@@ -6090,12 +6137,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6090
6137
  quorum: number;
6091
6138
  }[];
6092
6139
  currentStepIndex: number;
6093
- expiredAt: Date | null;
6140
+ expiresAt: Date;
6094
6141
  targetId: string | null;
6095
6142
  note: {
6096
6143
  title: string;
6097
6144
  content: string;
6098
6145
  } | null;
6146
+ createdById: string;
6099
6147
  reviews: {
6100
6148
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6101
6149
  createdAt: Date;
@@ -6125,12 +6173,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6125
6173
  quorum: number;
6126
6174
  }[];
6127
6175
  currentStepIndex: number;
6128
- expiredAt: Date | null;
6176
+ expiresAt: Date;
6129
6177
  targetId: string | null;
6130
6178
  note: {
6131
6179
  title: string;
6132
6180
  content: string;
6133
6181
  } | null;
6182
+ createdById: string;
6134
6183
  reviews: {
6135
6184
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6136
6185
  createdAt: Date;
@@ -6166,12 +6215,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6166
6215
  quorum: number;
6167
6216
  }[];
6168
6217
  currentStepIndex: number;
6169
- expiredAt: Date | null;
6218
+ expiresAt: Date;
6170
6219
  targetId: string | null;
6171
6220
  note: {
6172
6221
  title: string;
6173
6222
  content: string;
6174
6223
  } | null;
6224
+ createdById: string;
6175
6225
  reviews: {
6176
6226
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6177
6227
  createdAt: Date;
@@ -6205,12 +6255,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6205
6255
  quorum: number;
6206
6256
  }[];
6207
6257
  currentStepIndex: number;
6208
- expiredAt: Date | null;
6258
+ expiresAt: Date;
6209
6259
  targetId: string | null;
6210
6260
  note: {
6211
6261
  title: string;
6212
6262
  content: string;
6213
6263
  } | null;
6264
+ createdById: string;
6214
6265
  reviews: {
6215
6266
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6216
6267
  createdAt: Date;
@@ -6238,12 +6289,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6238
6289
  quorum: number;
6239
6290
  }[];
6240
6291
  currentStepIndex: number;
6241
- expiredAt: Date | null;
6292
+ expiresAt: Date;
6242
6293
  targetId: string | null;
6243
6294
  note: {
6244
6295
  title: string;
6245
6296
  content: string;
6246
6297
  } | null;
6298
+ createdById: string;
6247
6299
  reviews: {
6248
6300
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6249
6301
  createdAt: Date;
@@ -6274,12 +6326,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6274
6326
  quorum: number;
6275
6327
  }[];
6276
6328
  currentStepIndex: number;
6277
- expiredAt: Date | null;
6329
+ expiresAt: Date;
6278
6330
  targetId: string | null;
6279
6331
  note: {
6280
6332
  title: string;
6281
6333
  content: string;
6282
6334
  } | null;
6335
+ createdById: string;
6283
6336
  reviews: {
6284
6337
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6285
6338
  createdAt: Date;
@@ -6324,12 +6377,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6324
6377
  quorum: number;
6325
6378
  }[];
6326
6379
  currentStepIndex: number;
6327
- expiredAt: Date | null;
6380
+ expiresAt: Date;
6328
6381
  targetId: string | null;
6329
6382
  note: {
6330
6383
  title: string;
6331
6384
  content: string;
6332
6385
  } | null;
6386
+ createdById: string;
6333
6387
  reviews: {
6334
6388
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6335
6389
  createdAt: Date;
@@ -6373,12 +6427,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6373
6427
  quorum: number;
6374
6428
  }[];
6375
6429
  currentStepIndex: number;
6376
- expiredAt: Date | null;
6430
+ expiresAt: Date;
6377
6431
  targetId: string | null;
6378
6432
  note: {
6379
6433
  title: string;
6380
6434
  content: string;
6381
6435
  } | null;
6436
+ createdById: string;
6382
6437
  reviews: {
6383
6438
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6384
6439
  createdAt: Date;
@@ -6417,12 +6472,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6417
6472
  quorum: number;
6418
6473
  }[];
6419
6474
  currentStepIndex: number;
6420
- expiredAt: Date | null;
6475
+ expiresAt: Date;
6421
6476
  targetId: string | null;
6422
6477
  note: {
6423
6478
  title: string;
6424
6479
  content: string;
6425
6480
  } | null;
6481
+ createdById: string;
6426
6482
  reviews: {
6427
6483
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6428
6484
  createdAt: Date;
@@ -6461,12 +6517,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6461
6517
  quorum: number;
6462
6518
  }[];
6463
6519
  currentStepIndex: number;
6464
- expiredAt: Date | null;
6520
+ expiresAt: Date;
6465
6521
  targetId: string | null;
6466
6522
  note: {
6467
6523
  title: string;
6468
6524
  content: string;
6469
6525
  } | null;
6526
+ createdById: string;
6470
6527
  reviews: {
6471
6528
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6472
6529
  createdAt: Date;
@@ -6503,12 +6560,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6503
6560
  quorum: number;
6504
6561
  }[];
6505
6562
  currentStepIndex: number;
6506
- expiredAt: Date | null;
6563
+ expiresAt: Date;
6507
6564
  targetId: string | null;
6508
6565
  note: {
6509
6566
  title: string;
6510
6567
  content: string;
6511
6568
  } | null;
6569
+ createdById: string;
6512
6570
  reviews: {
6513
6571
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6514
6572
  createdAt: Date;
@@ -6545,12 +6603,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6545
6603
  quorum: number;
6546
6604
  }[];
6547
6605
  currentStepIndex: number;
6548
- expiredAt: Date | null;
6606
+ expiresAt: Date;
6549
6607
  targetId: string | null;
6550
6608
  note: {
6551
6609
  title: string;
6552
6610
  content: string;
6553
6611
  } | null;
6612
+ createdById: string;
6554
6613
  reviews: {
6555
6614
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6556
6615
  createdAt: Date;
@@ -6587,12 +6646,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6587
6646
  quorum: number;
6588
6647
  }[];
6589
6648
  currentStepIndex: number;
6590
- expiredAt: Date | null;
6649
+ expiresAt: Date;
6591
6650
  targetId: string | null;
6592
6651
  note: {
6593
6652
  title: string;
6594
6653
  content: string;
6595
6654
  } | null;
6655
+ createdById: string;
6596
6656
  reviews: {
6597
6657
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6598
6658
  createdAt: Date;
@@ -6629,12 +6689,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6629
6689
  quorum: number;
6630
6690
  }[];
6631
6691
  currentStepIndex: number;
6632
- expiredAt: Date | null;
6692
+ expiresAt: Date;
6633
6693
  targetId: string | null;
6634
6694
  note: {
6635
6695
  title: string;
6636
6696
  content: string;
6637
6697
  } | null;
6698
+ createdById: string;
6638
6699
  reviews: {
6639
6700
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6640
6701
  createdAt: Date;
@@ -6664,12 +6725,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6664
6725
  quorum: number;
6665
6726
  }[];
6666
6727
  currentStepIndex: number;
6667
- expiredAt: Date | null;
6728
+ expiresAt: Date;
6668
6729
  targetId: string | null;
6669
6730
  note: {
6670
6731
  title: string;
6671
6732
  content: string;
6672
6733
  } | null;
6734
+ createdById: string;
6673
6735
  reviews: {
6674
6736
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6675
6737
  createdAt: Date;
@@ -6699,12 +6761,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6699
6761
  quorum: number;
6700
6762
  }[];
6701
6763
  currentStepIndex: number;
6702
- expiredAt: Date | null;
6764
+ expiresAt: Date;
6703
6765
  targetId: string | null;
6704
6766
  note: {
6705
6767
  title: string;
6706
6768
  content: string;
6707
6769
  } | null;
6770
+ createdById: string;
6708
6771
  reviews: {
6709
6772
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6710
6773
  createdAt: Date;
@@ -6823,12 +6886,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6823
6886
  quorum: number;
6824
6887
  }[];
6825
6888
  currentStepIndex: number;
6826
- expiredAt: Date | null;
6889
+ expiresAt: Date;
6827
6890
  targetId: string | null;
6828
6891
  note: {
6829
6892
  title: string;
6830
6893
  content: string;
6831
6894
  } | null;
6895
+ createdById: string;
6832
6896
  reviews: {
6833
6897
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6834
6898
  createdAt: Date;
@@ -6860,12 +6924,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6860
6924
  quorum: number;
6861
6925
  }[];
6862
6926
  currentStepIndex: number;
6863
- expiredAt: Date | null;
6927
+ expiresAt: Date;
6864
6928
  targetId: string | null;
6865
6929
  note: {
6866
6930
  title: string;
6867
6931
  content: string;
6868
6932
  } | null;
6933
+ createdById: string;
6869
6934
  reviews: {
6870
6935
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6871
6936
  createdAt: Date;
@@ -6983,12 +7048,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6983
7048
  quorum: number;
6984
7049
  }[];
6985
7050
  currentStepIndex: number;
6986
- expiredAt: Date | null;
7051
+ expiresAt: Date;
6987
7052
  targetId: string | null;
6988
7053
  note: {
6989
7054
  title: string;
6990
7055
  content: string;
6991
7056
  } | null;
7057
+ createdById: string;
6992
7058
  reviews: {
6993
7059
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
6994
7060
  createdAt: Date;
@@ -7109,12 +7175,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7109
7175
  quorum: number;
7110
7176
  }[];
7111
7177
  currentStepIndex: number;
7112
- expiredAt: Date | null;
7178
+ expiresAt: Date;
7113
7179
  targetId: string | null;
7114
7180
  note: {
7115
7181
  title: string;
7116
7182
  content: string;
7117
7183
  } | null;
7184
+ createdById: string;
7118
7185
  reviews: {
7119
7186
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7120
7187
  createdAt: Date;
@@ -7151,12 +7218,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7151
7218
  quorum: number;
7152
7219
  }[];
7153
7220
  currentStepIndex: number;
7154
- expiredAt: Date | null;
7221
+ expiresAt: Date;
7155
7222
  targetId: string | null;
7156
7223
  note: {
7157
7224
  title: string;
7158
7225
  content: string;
7159
7226
  } | null;
7227
+ createdById: string;
7160
7228
  reviews: {
7161
7229
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7162
7230
  createdAt: Date;
@@ -7188,12 +7256,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7188
7256
  quorum: number;
7189
7257
  }[];
7190
7258
  currentStepIndex: number;
7191
- expiredAt: Date | null;
7259
+ expiresAt: Date;
7192
7260
  targetId: string | null;
7193
7261
  note: {
7194
7262
  title: string;
7195
7263
  content: string;
7196
7264
  } | null;
7265
+ createdById: string;
7197
7266
  reviews: {
7198
7267
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7199
7268
  createdAt: Date;
@@ -7267,12 +7336,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7267
7336
  quorum: number;
7268
7337
  }[];
7269
7338
  currentStepIndex: number;
7270
- expiredAt: Date | null;
7339
+ expiresAt: Date;
7271
7340
  targetId: string | null;
7272
7341
  note: {
7273
7342
  title: string;
7274
7343
  content: string;
7275
7344
  } | null;
7345
+ createdById: string;
7276
7346
  reviews: {
7277
7347
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7278
7348
  createdAt: Date;
@@ -7316,12 +7386,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7316
7386
  quorum: number;
7317
7387
  }[];
7318
7388
  currentStepIndex: number;
7319
- expiredAt: Date | null;
7389
+ expiresAt: Date;
7320
7390
  targetId: string | null;
7321
7391
  note: {
7322
7392
  title: string;
7323
7393
  content: string;
7324
7394
  } | null;
7395
+ createdById: string;
7325
7396
  reviews: {
7326
7397
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7327
7398
  createdAt: Date;
@@ -7347,12 +7418,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7347
7418
  quorum: number;
7348
7419
  }[];
7349
7420
  currentStepIndex: number;
7350
- expiredAt: Date | null;
7421
+ expiresAt: Date;
7351
7422
  targetId: string | null;
7352
7423
  note: {
7353
7424
  title: string;
7354
7425
  content: string;
7355
7426
  } | null;
7427
+ createdById: string;
7356
7428
  reviews: {
7357
7429
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7358
7430
  createdAt: Date;
@@ -7381,12 +7453,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7381
7453
  quorum: number;
7382
7454
  }[];
7383
7455
  currentStepIndex: number;
7384
- expiredAt: Date | null;
7456
+ expiresAt: Date;
7385
7457
  targetId: string | null;
7386
7458
  note: {
7387
7459
  title: string;
7388
7460
  content: string;
7389
7461
  } | null;
7462
+ createdById: string;
7390
7463
  reviews: {
7391
7464
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7392
7465
  createdAt: Date;
@@ -7415,12 +7488,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7415
7488
  quorum: number;
7416
7489
  }[];
7417
7490
  currentStepIndex: number;
7418
- expiredAt: Date | null;
7491
+ expiresAt: Date;
7419
7492
  targetId: string | null;
7420
7493
  note: {
7421
7494
  title: string;
7422
7495
  content: string;
7423
7496
  } | null;
7497
+ createdById: string;
7424
7498
  reviews: {
7425
7499
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7426
7500
  createdAt: Date;
@@ -7446,12 +7520,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7446
7520
  quorum: number;
7447
7521
  }[];
7448
7522
  currentStepIndex: number;
7449
- expiredAt: Date | null;
7523
+ expiresAt: Date;
7450
7524
  targetId: string | null;
7451
7525
  note: {
7452
7526
  title: string;
7453
7527
  content: string;
7454
7528
  } | null;
7529
+ createdById: string;
7455
7530
  reviews: {
7456
7531
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7457
7532
  createdAt: Date;
@@ -7479,12 +7554,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7479
7554
  quorum: number;
7480
7555
  }[];
7481
7556
  currentStepIndex: number;
7482
- expiredAt: Date | null;
7557
+ expiresAt: Date;
7483
7558
  targetId: string | null;
7484
7559
  note: {
7485
7560
  title: string;
7486
7561
  content: string;
7487
7562
  } | null;
7563
+ createdById: string;
7488
7564
  reviews: {
7489
7565
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7490
7566
  createdAt: Date;
@@ -7510,12 +7586,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7510
7586
  quorum: number;
7511
7587
  }[];
7512
7588
  currentStepIndex: number;
7513
- expiredAt: Date | null;
7589
+ expiresAt: Date;
7514
7590
  targetId: string | null;
7515
7591
  note: {
7516
7592
  title: string;
7517
7593
  content: string;
7518
7594
  } | null;
7595
+ createdById: string;
7519
7596
  reviews: {
7520
7597
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7521
7598
  createdAt: Date;
@@ -7547,12 +7624,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7547
7624
  quorum: number;
7548
7625
  }[];
7549
7626
  currentStepIndex: number;
7550
- expiredAt: Date | null;
7627
+ expiresAt: Date;
7551
7628
  targetId: string | null;
7552
7629
  note: {
7553
7630
  title: string;
7554
7631
  content: string;
7555
7632
  } | null;
7633
+ createdById: string;
7556
7634
  reviews: {
7557
7635
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7558
7636
  createdAt: Date;
@@ -7584,12 +7662,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7584
7662
  quorum: number;
7585
7663
  }[];
7586
7664
  currentStepIndex: number;
7587
- expiredAt: Date | null;
7665
+ expiresAt: Date;
7588
7666
  targetId: string | null;
7589
7667
  note: {
7590
7668
  title: string;
7591
7669
  content: string;
7592
7670
  } | null;
7671
+ createdById: string;
7593
7672
  reviews: {
7594
7673
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7595
7674
  createdAt: Date;
@@ -7621,12 +7700,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7621
7700
  quorum: number;
7622
7701
  }[];
7623
7702
  currentStepIndex: number;
7624
- expiredAt: Date | null;
7703
+ expiresAt: Date;
7625
7704
  targetId: string | null;
7626
7705
  note: {
7627
7706
  title: string;
7628
7707
  content: string;
7629
7708
  } | null;
7709
+ createdById: string;
7630
7710
  reviews: {
7631
7711
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7632
7712
  createdAt: Date;
@@ -7657,12 +7737,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7657
7737
  quorum: number;
7658
7738
  }[];
7659
7739
  currentStepIndex: number;
7660
- expiredAt: Date | null;
7740
+ expiresAt: Date;
7661
7741
  targetId: string | null;
7662
7742
  note: {
7663
7743
  title: string;
7664
7744
  content: string;
7665
7745
  } | null;
7746
+ createdById: string;
7666
7747
  reviews: {
7667
7748
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7668
7749
  createdAt: Date;
@@ -7692,12 +7773,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7692
7773
  quorum: number;
7693
7774
  }[];
7694
7775
  currentStepIndex: number;
7695
- expiredAt: Date | null;
7776
+ expiresAt: Date;
7696
7777
  targetId: string | null;
7697
7778
  note: {
7698
7779
  title: string;
7699
7780
  content: string;
7700
7781
  } | null;
7782
+ createdById: string;
7701
7783
  reviews: {
7702
7784
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7703
7785
  createdAt: Date;
@@ -7727,12 +7809,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7727
7809
  quorum: number;
7728
7810
  }[];
7729
7811
  currentStepIndex: number;
7730
- expiredAt: Date | null;
7812
+ expiresAt: Date;
7731
7813
  targetId: string | null;
7732
7814
  note: {
7733
7815
  title: string;
7734
7816
  content: string;
7735
7817
  } | null;
7818
+ createdById: string;
7736
7819
  reviews: {
7737
7820
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7738
7821
  createdAt: Date;
@@ -7758,12 +7841,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7758
7841
  quorum: number;
7759
7842
  }[];
7760
7843
  currentStepIndex: number;
7761
- expiredAt: Date | null;
7844
+ expiresAt: Date;
7762
7845
  targetId: string | null;
7763
7846
  note: {
7764
7847
  title: string;
7765
7848
  content: string;
7766
7849
  } | null;
7850
+ createdById: string;
7767
7851
  reviews: {
7768
7852
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
7769
7853
  createdAt: Date;
@@ -9201,12 +9285,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9201
9285
  quorum: number;
9202
9286
  }[];
9203
9287
  currentStepIndex: number;
9204
- expiredAt: Date | null;
9288
+ expiresAt: Date;
9205
9289
  targetId: string | null;
9206
9290
  note: {
9207
9291
  title: string;
9208
9292
  content: string;
9209
9293
  } | null;
9294
+ createdById: string;
9210
9295
  reviews: {
9211
9296
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9212
9297
  createdAt: Date;
@@ -9237,12 +9322,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9237
9322
  quorum: number;
9238
9323
  }[];
9239
9324
  currentStepIndex: number;
9240
- expiredAt: Date | null;
9325
+ expiresAt: Date;
9241
9326
  targetId: string | null;
9242
9327
  note: {
9243
9328
  title: string;
9244
9329
  content: string;
9245
9330
  } | null;
9331
+ createdById: string;
9246
9332
  reviews: {
9247
9333
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9248
9334
  createdAt: Date;
@@ -9310,12 +9396,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9310
9396
  quorum: number;
9311
9397
  }[];
9312
9398
  currentStepIndex: number;
9313
- expiredAt: Date | null;
9399
+ expiresAt: Date;
9314
9400
  targetId: string | null;
9315
9401
  note: {
9316
9402
  title: string;
9317
9403
  content: string;
9318
9404
  } | null;
9405
+ createdById: string;
9319
9406
  reviews: {
9320
9407
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9321
9408
  createdAt: Date;
@@ -9341,12 +9428,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9341
9428
  quorum: number;
9342
9429
  }[];
9343
9430
  currentStepIndex: number;
9344
- expiredAt: Date | null;
9431
+ expiresAt: Date;
9345
9432
  targetId: string | null;
9346
9433
  note: {
9347
9434
  title: string;
9348
9435
  content: string;
9349
9436
  } | null;
9437
+ createdById: string;
9350
9438
  reviews: {
9351
9439
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9352
9440
  createdAt: Date;
@@ -9376,12 +9464,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9376
9464
  quorum: number;
9377
9465
  }[];
9378
9466
  currentStepIndex: number;
9379
- expiredAt: Date | null;
9467
+ expiresAt: Date;
9380
9468
  targetId: string | null;
9381
9469
  note: {
9382
9470
  title: string;
9383
9471
  content: string;
9384
9472
  } | null;
9473
+ createdById: string;
9385
9474
  reviews: {
9386
9475
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9387
9476
  createdAt: Date;
@@ -9411,12 +9500,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9411
9500
  quorum: number;
9412
9501
  }[];
9413
9502
  currentStepIndex: number;
9414
- expiredAt: Date | null;
9503
+ expiresAt: Date;
9415
9504
  targetId: string | null;
9416
9505
  note: {
9417
9506
  title: string;
9418
9507
  content: string;
9419
9508
  } | null;
9509
+ createdById: string;
9420
9510
  reviews: {
9421
9511
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9422
9512
  createdAt: Date;
@@ -9452,12 +9542,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9452
9542
  quorum: number;
9453
9543
  }[];
9454
9544
  currentStepIndex: number;
9455
- expiredAt: Date | null;
9545
+ expiresAt: Date;
9456
9546
  targetId: string | null;
9457
9547
  note: {
9458
9548
  title: string;
9459
9549
  content: string;
9460
9550
  } | null;
9551
+ createdById: string;
9461
9552
  reviews: {
9462
9553
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9463
9554
  createdAt: Date;
@@ -9491,12 +9582,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9491
9582
  quorum: number;
9492
9583
  }[];
9493
9584
  currentStepIndex: number;
9494
- expiredAt: Date | null;
9585
+ expiresAt: Date;
9495
9586
  targetId: string | null;
9496
9587
  note: {
9497
9588
  title: string;
9498
9589
  content: string;
9499
9590
  } | null;
9591
+ createdById: string;
9500
9592
  reviews: {
9501
9593
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9502
9594
  createdAt: Date;
@@ -9524,12 +9616,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9524
9616
  quorum: number;
9525
9617
  }[];
9526
9618
  currentStepIndex: number;
9527
- expiredAt: Date | null;
9619
+ expiresAt: Date;
9528
9620
  targetId: string | null;
9529
9621
  note: {
9530
9622
  title: string;
9531
9623
  content: string;
9532
9624
  } | null;
9625
+ createdById: string;
9533
9626
  reviews: {
9534
9627
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9535
9628
  createdAt: Date;
@@ -9560,12 +9653,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9560
9653
  quorum: number;
9561
9654
  }[];
9562
9655
  currentStepIndex: number;
9563
- expiredAt: Date | null;
9656
+ expiresAt: Date;
9564
9657
  targetId: string | null;
9565
9658
  note: {
9566
9659
  title: string;
9567
9660
  content: string;
9568
9661
  } | null;
9662
+ createdById: string;
9569
9663
  reviews: {
9570
9664
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9571
9665
  createdAt: Date;
@@ -9610,12 +9704,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9610
9704
  quorum: number;
9611
9705
  }[];
9612
9706
  currentStepIndex: number;
9613
- expiredAt: Date | null;
9707
+ expiresAt: Date;
9614
9708
  targetId: string | null;
9615
9709
  note: {
9616
9710
  title: string;
9617
9711
  content: string;
9618
9712
  } | null;
9713
+ createdById: string;
9619
9714
  reviews: {
9620
9715
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9621
9716
  createdAt: Date;
@@ -9659,12 +9754,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9659
9754
  quorum: number;
9660
9755
  }[];
9661
9756
  currentStepIndex: number;
9662
- expiredAt: Date | null;
9757
+ expiresAt: Date;
9663
9758
  targetId: string | null;
9664
9759
  note: {
9665
9760
  title: string;
9666
9761
  content: string;
9667
9762
  } | null;
9763
+ createdById: string;
9668
9764
  reviews: {
9669
9765
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9670
9766
  createdAt: Date;
@@ -9703,12 +9799,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9703
9799
  quorum: number;
9704
9800
  }[];
9705
9801
  currentStepIndex: number;
9706
- expiredAt: Date | null;
9802
+ expiresAt: Date;
9707
9803
  targetId: string | null;
9708
9804
  note: {
9709
9805
  title: string;
9710
9806
  content: string;
9711
9807
  } | null;
9808
+ createdById: string;
9712
9809
  reviews: {
9713
9810
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9714
9811
  createdAt: Date;
@@ -9747,12 +9844,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9747
9844
  quorum: number;
9748
9845
  }[];
9749
9846
  currentStepIndex: number;
9750
- expiredAt: Date | null;
9847
+ expiresAt: Date;
9751
9848
  targetId: string | null;
9752
9849
  note: {
9753
9850
  title: string;
9754
9851
  content: string;
9755
9852
  } | null;
9853
+ createdById: string;
9756
9854
  reviews: {
9757
9855
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9758
9856
  createdAt: Date;
@@ -9789,12 +9887,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9789
9887
  quorum: number;
9790
9888
  }[];
9791
9889
  currentStepIndex: number;
9792
- expiredAt: Date | null;
9890
+ expiresAt: Date;
9793
9891
  targetId: string | null;
9794
9892
  note: {
9795
9893
  title: string;
9796
9894
  content: string;
9797
9895
  } | null;
9896
+ createdById: string;
9798
9897
  reviews: {
9799
9898
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9800
9899
  createdAt: Date;
@@ -9831,12 +9930,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9831
9930
  quorum: number;
9832
9931
  }[];
9833
9932
  currentStepIndex: number;
9834
- expiredAt: Date | null;
9933
+ expiresAt: Date;
9835
9934
  targetId: string | null;
9836
9935
  note: {
9837
9936
  title: string;
9838
9937
  content: string;
9839
9938
  } | null;
9939
+ createdById: string;
9840
9940
  reviews: {
9841
9941
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9842
9942
  createdAt: Date;
@@ -9873,12 +9973,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9873
9973
  quorum: number;
9874
9974
  }[];
9875
9975
  currentStepIndex: number;
9876
- expiredAt: Date | null;
9976
+ expiresAt: Date;
9877
9977
  targetId: string | null;
9878
9978
  note: {
9879
9979
  title: string;
9880
9980
  content: string;
9881
9981
  } | null;
9982
+ createdById: string;
9882
9983
  reviews: {
9883
9984
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9884
9985
  createdAt: Date;
@@ -9915,12 +10016,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9915
10016
  quorum: number;
9916
10017
  }[];
9917
10018
  currentStepIndex: number;
9918
- expiredAt: Date | null;
10019
+ expiresAt: Date;
9919
10020
  targetId: string | null;
9920
10021
  note: {
9921
10022
  title: string;
9922
10023
  content: string;
9923
10024
  } | null;
10025
+ createdById: string;
9924
10026
  reviews: {
9925
10027
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9926
10028
  createdAt: Date;
@@ -9950,12 +10052,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9950
10052
  quorum: number;
9951
10053
  }[];
9952
10054
  currentStepIndex: number;
9953
- expiredAt: Date | null;
10055
+ expiresAt: Date;
9954
10056
  targetId: string | null;
9955
10057
  note: {
9956
10058
  title: string;
9957
10059
  content: string;
9958
10060
  } | null;
10061
+ createdById: string;
9959
10062
  reviews: {
9960
10063
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9961
10064
  createdAt: Date;
@@ -9985,12 +10088,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9985
10088
  quorum: number;
9986
10089
  }[];
9987
10090
  currentStepIndex: number;
9988
- expiredAt: Date | null;
10091
+ expiresAt: Date;
9989
10092
  targetId: string | null;
9990
10093
  note: {
9991
10094
  title: string;
9992
10095
  content: string;
9993
10096
  } | null;
10097
+ createdById: string;
9994
10098
  reviews: {
9995
10099
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
9996
10100
  createdAt: Date;
@@ -10109,12 +10213,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10109
10213
  quorum: number;
10110
10214
  }[];
10111
10215
  currentStepIndex: number;
10112
- expiredAt: Date | null;
10216
+ expiresAt: Date;
10113
10217
  targetId: string | null;
10114
10218
  note: {
10115
10219
  title: string;
10116
10220
  content: string;
10117
10221
  } | null;
10222
+ createdById: string;
10118
10223
  reviews: {
10119
10224
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10120
10225
  createdAt: Date;
@@ -10146,12 +10251,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10146
10251
  quorum: number;
10147
10252
  }[];
10148
10253
  currentStepIndex: number;
10149
- expiredAt: Date | null;
10254
+ expiresAt: Date;
10150
10255
  targetId: string | null;
10151
10256
  note: {
10152
10257
  title: string;
10153
10258
  content: string;
10154
10259
  } | null;
10260
+ createdById: string;
10155
10261
  reviews: {
10156
10262
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10157
10263
  createdAt: Date;
@@ -10269,12 +10375,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10269
10375
  quorum: number;
10270
10376
  }[];
10271
10377
  currentStepIndex: number;
10272
- expiredAt: Date | null;
10378
+ expiresAt: Date;
10273
10379
  targetId: string | null;
10274
10380
  note: {
10275
10381
  title: string;
10276
10382
  content: string;
10277
10383
  } | null;
10384
+ createdById: string;
10278
10385
  reviews: {
10279
10386
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10280
10387
  createdAt: Date;
@@ -10395,12 +10502,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10395
10502
  quorum: number;
10396
10503
  }[];
10397
10504
  currentStepIndex: number;
10398
- expiredAt: Date | null;
10505
+ expiresAt: Date;
10399
10506
  targetId: string | null;
10400
10507
  note: {
10401
10508
  title: string;
10402
10509
  content: string;
10403
10510
  } | null;
10511
+ createdById: string;
10404
10512
  reviews: {
10405
10513
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10406
10514
  createdAt: Date;
@@ -10437,12 +10545,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10437
10545
  quorum: number;
10438
10546
  }[];
10439
10547
  currentStepIndex: number;
10440
- expiredAt: Date | null;
10548
+ expiresAt: Date;
10441
10549
  targetId: string | null;
10442
10550
  note: {
10443
10551
  title: string;
10444
10552
  content: string;
10445
10553
  } | null;
10554
+ createdById: string;
10446
10555
  reviews: {
10447
10556
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10448
10557
  createdAt: Date;
@@ -10474,12 +10583,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10474
10583
  quorum: number;
10475
10584
  }[];
10476
10585
  currentStepIndex: number;
10477
- expiredAt: Date | null;
10586
+ expiresAt: Date;
10478
10587
  targetId: string | null;
10479
10588
  note: {
10480
10589
  title: string;
10481
10590
  content: string;
10482
10591
  } | null;
10592
+ createdById: string;
10483
10593
  reviews: {
10484
10594
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10485
10595
  createdAt: Date;
@@ -10553,12 +10663,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10553
10663
  quorum: number;
10554
10664
  }[];
10555
10665
  currentStepIndex: number;
10556
- expiredAt: Date | null;
10666
+ expiresAt: Date;
10557
10667
  targetId: string | null;
10558
10668
  note: {
10559
10669
  title: string;
10560
10670
  content: string;
10561
10671
  } | null;
10672
+ createdById: string;
10562
10673
  reviews: {
10563
10674
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10564
10675
  createdAt: Date;
@@ -10602,12 +10713,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10602
10713
  quorum: number;
10603
10714
  }[];
10604
10715
  currentStepIndex: number;
10605
- expiredAt: Date | null;
10716
+ expiresAt: Date;
10606
10717
  targetId: string | null;
10607
10718
  note: {
10608
10719
  title: string;
10609
10720
  content: string;
10610
10721
  } | null;
10722
+ createdById: string;
10611
10723
  reviews: {
10612
10724
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10613
10725
  createdAt: Date;
@@ -10633,12 +10745,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10633
10745
  quorum: number;
10634
10746
  }[];
10635
10747
  currentStepIndex: number;
10636
- expiredAt: Date | null;
10748
+ expiresAt: Date;
10637
10749
  targetId: string | null;
10638
10750
  note: {
10639
10751
  title: string;
10640
10752
  content: string;
10641
10753
  } | null;
10754
+ createdById: string;
10642
10755
  reviews: {
10643
10756
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10644
10757
  createdAt: Date;
@@ -10667,12 +10780,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10667
10780
  quorum: number;
10668
10781
  }[];
10669
10782
  currentStepIndex: number;
10670
- expiredAt: Date | null;
10783
+ expiresAt: Date;
10671
10784
  targetId: string | null;
10672
10785
  note: {
10673
10786
  title: string;
10674
10787
  content: string;
10675
10788
  } | null;
10789
+ createdById: string;
10676
10790
  reviews: {
10677
10791
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10678
10792
  createdAt: Date;
@@ -10701,12 +10815,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10701
10815
  quorum: number;
10702
10816
  }[];
10703
10817
  currentStepIndex: number;
10704
- expiredAt: Date | null;
10818
+ expiresAt: Date;
10705
10819
  targetId: string | null;
10706
10820
  note: {
10707
10821
  title: string;
10708
10822
  content: string;
10709
10823
  } | null;
10824
+ createdById: string;
10710
10825
  reviews: {
10711
10826
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10712
10827
  createdAt: Date;
@@ -10732,12 +10847,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10732
10847
  quorum: number;
10733
10848
  }[];
10734
10849
  currentStepIndex: number;
10735
- expiredAt: Date | null;
10850
+ expiresAt: Date;
10736
10851
  targetId: string | null;
10737
10852
  note: {
10738
10853
  title: string;
10739
10854
  content: string;
10740
10855
  } | null;
10856
+ createdById: string;
10741
10857
  reviews: {
10742
10858
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10743
10859
  createdAt: Date;
@@ -10765,12 +10881,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10765
10881
  quorum: number;
10766
10882
  }[];
10767
10883
  currentStepIndex: number;
10768
- expiredAt: Date | null;
10884
+ expiresAt: Date;
10769
10885
  targetId: string | null;
10770
10886
  note: {
10771
10887
  title: string;
10772
10888
  content: string;
10773
10889
  } | null;
10890
+ createdById: string;
10774
10891
  reviews: {
10775
10892
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10776
10893
  createdAt: Date;
@@ -10796,12 +10913,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10796
10913
  quorum: number;
10797
10914
  }[];
10798
10915
  currentStepIndex: number;
10799
- expiredAt: Date | null;
10916
+ expiresAt: Date;
10800
10917
  targetId: string | null;
10801
10918
  note: {
10802
10919
  title: string;
10803
10920
  content: string;
10804
10921
  } | null;
10922
+ createdById: string;
10805
10923
  reviews: {
10806
10924
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10807
10925
  createdAt: Date;
@@ -10833,12 +10951,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10833
10951
  quorum: number;
10834
10952
  }[];
10835
10953
  currentStepIndex: number;
10836
- expiredAt: Date | null;
10954
+ expiresAt: Date;
10837
10955
  targetId: string | null;
10838
10956
  note: {
10839
10957
  title: string;
10840
10958
  content: string;
10841
10959
  } | null;
10960
+ createdById: string;
10842
10961
  reviews: {
10843
10962
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10844
10963
  createdAt: Date;
@@ -10870,12 +10989,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10870
10989
  quorum: number;
10871
10990
  }[];
10872
10991
  currentStepIndex: number;
10873
- expiredAt: Date | null;
10992
+ expiresAt: Date;
10874
10993
  targetId: string | null;
10875
10994
  note: {
10876
10995
  title: string;
10877
10996
  content: string;
10878
10997
  } | null;
10998
+ createdById: string;
10879
10999
  reviews: {
10880
11000
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10881
11001
  createdAt: Date;
@@ -10907,12 +11027,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10907
11027
  quorum: number;
10908
11028
  }[];
10909
11029
  currentStepIndex: number;
10910
- expiredAt: Date | null;
11030
+ expiresAt: Date;
10911
11031
  targetId: string | null;
10912
11032
  note: {
10913
11033
  title: string;
10914
11034
  content: string;
10915
11035
  } | null;
11036
+ createdById: string;
10916
11037
  reviews: {
10917
11038
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10918
11039
  createdAt: Date;
@@ -10943,12 +11064,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10943
11064
  quorum: number;
10944
11065
  }[];
10945
11066
  currentStepIndex: number;
10946
- expiredAt: Date | null;
11067
+ expiresAt: Date;
10947
11068
  targetId: string | null;
10948
11069
  note: {
10949
11070
  title: string;
10950
11071
  content: string;
10951
11072
  } | null;
11073
+ createdById: string;
10952
11074
  reviews: {
10953
11075
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10954
11076
  createdAt: Date;
@@ -10978,12 +11100,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
10978
11100
  quorum: number;
10979
11101
  }[];
10980
11102
  currentStepIndex: number;
10981
- expiredAt: Date | null;
11103
+ expiresAt: Date;
10982
11104
  targetId: string | null;
10983
11105
  note: {
10984
11106
  title: string;
10985
11107
  content: string;
10986
11108
  } | null;
11109
+ createdById: string;
10987
11110
  reviews: {
10988
11111
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
10989
11112
  createdAt: Date;
@@ -11013,12 +11136,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11013
11136
  quorum: number;
11014
11137
  }[];
11015
11138
  currentStepIndex: number;
11016
- expiredAt: Date | null;
11139
+ expiresAt: Date;
11017
11140
  targetId: string | null;
11018
11141
  note: {
11019
11142
  title: string;
11020
11143
  content: string;
11021
11144
  } | null;
11145
+ createdById: string;
11022
11146
  reviews: {
11023
11147
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11024
11148
  createdAt: Date;
@@ -11044,12 +11168,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11044
11168
  quorum: number;
11045
11169
  }[];
11046
11170
  currentStepIndex: number;
11047
- expiredAt: Date | null;
11171
+ expiresAt: Date;
11048
11172
  targetId: string | null;
11049
11173
  note: {
11050
11174
  title: string;
11051
11175
  content: string;
11052
11176
  } | null;
11177
+ createdById: string;
11053
11178
  reviews: {
11054
11179
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11055
11180
  createdAt: Date;
@@ -11411,12 +11536,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11411
11536
  quorum: number;
11412
11537
  }[];
11413
11538
  currentStepIndex: number;
11414
- expiredAt: Date | null;
11539
+ expiresAt: Date;
11415
11540
  targetId: string | null;
11416
11541
  note: {
11417
11542
  title: string;
11418
11543
  content: string;
11419
11544
  } | null;
11545
+ createdById: string;
11420
11546
  reviews: {
11421
11547
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11422
11548
  createdAt: Date;
@@ -11447,12 +11573,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11447
11573
  quorum: number;
11448
11574
  }[];
11449
11575
  currentStepIndex: number;
11450
- expiredAt: Date | null;
11576
+ expiresAt: Date;
11451
11577
  targetId: string | null;
11452
11578
  note: {
11453
11579
  title: string;
11454
11580
  content: string;
11455
11581
  } | null;
11582
+ createdById: string;
11456
11583
  reviews: {
11457
11584
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11458
11585
  createdAt: Date;
@@ -11520,12 +11647,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11520
11647
  quorum: number;
11521
11648
  }[];
11522
11649
  currentStepIndex: number;
11523
- expiredAt: Date | null;
11650
+ expiresAt: Date;
11524
11651
  targetId: string | null;
11525
11652
  note: {
11526
11653
  title: string;
11527
11654
  content: string;
11528
11655
  } | null;
11656
+ createdById: string;
11529
11657
  reviews: {
11530
11658
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11531
11659
  createdAt: Date;
@@ -11551,12 +11679,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11551
11679
  quorum: number;
11552
11680
  }[];
11553
11681
  currentStepIndex: number;
11554
- expiredAt: Date | null;
11682
+ expiresAt: Date;
11555
11683
  targetId: string | null;
11556
11684
  note: {
11557
11685
  title: string;
11558
11686
  content: string;
11559
11687
  } | null;
11688
+ createdById: string;
11560
11689
  reviews: {
11561
11690
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11562
11691
  createdAt: Date;
@@ -11586,12 +11715,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11586
11715
  quorum: number;
11587
11716
  }[];
11588
11717
  currentStepIndex: number;
11589
- expiredAt: Date | null;
11718
+ expiresAt: Date;
11590
11719
  targetId: string | null;
11591
11720
  note: {
11592
11721
  title: string;
11593
11722
  content: string;
11594
11723
  } | null;
11724
+ createdById: string;
11595
11725
  reviews: {
11596
11726
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11597
11727
  createdAt: Date;
@@ -11621,12 +11751,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11621
11751
  quorum: number;
11622
11752
  }[];
11623
11753
  currentStepIndex: number;
11624
- expiredAt: Date | null;
11754
+ expiresAt: Date;
11625
11755
  targetId: string | null;
11626
11756
  note: {
11627
11757
  title: string;
11628
11758
  content: string;
11629
11759
  } | null;
11760
+ createdById: string;
11630
11761
  reviews: {
11631
11762
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11632
11763
  createdAt: Date;
@@ -11662,12 +11793,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11662
11793
  quorum: number;
11663
11794
  }[];
11664
11795
  currentStepIndex: number;
11665
- expiredAt: Date | null;
11796
+ expiresAt: Date;
11666
11797
  targetId: string | null;
11667
11798
  note: {
11668
11799
  title: string;
11669
11800
  content: string;
11670
11801
  } | null;
11802
+ createdById: string;
11671
11803
  reviews: {
11672
11804
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11673
11805
  createdAt: Date;
@@ -11701,12 +11833,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11701
11833
  quorum: number;
11702
11834
  }[];
11703
11835
  currentStepIndex: number;
11704
- expiredAt: Date | null;
11836
+ expiresAt: Date;
11705
11837
  targetId: string | null;
11706
11838
  note: {
11707
11839
  title: string;
11708
11840
  content: string;
11709
11841
  } | null;
11842
+ createdById: string;
11710
11843
  reviews: {
11711
11844
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11712
11845
  createdAt: Date;
@@ -11734,12 +11867,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11734
11867
  quorum: number;
11735
11868
  }[];
11736
11869
  currentStepIndex: number;
11737
- expiredAt: Date | null;
11870
+ expiresAt: Date;
11738
11871
  targetId: string | null;
11739
11872
  note: {
11740
11873
  title: string;
11741
11874
  content: string;
11742
11875
  } | null;
11876
+ createdById: string;
11743
11877
  reviews: {
11744
11878
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11745
11879
  createdAt: Date;
@@ -11770,12 +11904,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11770
11904
  quorum: number;
11771
11905
  }[];
11772
11906
  currentStepIndex: number;
11773
- expiredAt: Date | null;
11907
+ expiresAt: Date;
11774
11908
  targetId: string | null;
11775
11909
  note: {
11776
11910
  title: string;
11777
11911
  content: string;
11778
11912
  } | null;
11913
+ createdById: string;
11779
11914
  reviews: {
11780
11915
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11781
11916
  createdAt: Date;
@@ -11820,12 +11955,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11820
11955
  quorum: number;
11821
11956
  }[];
11822
11957
  currentStepIndex: number;
11823
- expiredAt: Date | null;
11958
+ expiresAt: Date;
11824
11959
  targetId: string | null;
11825
11960
  note: {
11826
11961
  title: string;
11827
11962
  content: string;
11828
11963
  } | null;
11964
+ createdById: string;
11829
11965
  reviews: {
11830
11966
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11831
11967
  createdAt: Date;
@@ -11869,12 +12005,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11869
12005
  quorum: number;
11870
12006
  }[];
11871
12007
  currentStepIndex: number;
11872
- expiredAt: Date | null;
12008
+ expiresAt: Date;
11873
12009
  targetId: string | null;
11874
12010
  note: {
11875
12011
  title: string;
11876
12012
  content: string;
11877
12013
  } | null;
12014
+ createdById: string;
11878
12015
  reviews: {
11879
12016
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11880
12017
  createdAt: Date;
@@ -11913,12 +12050,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11913
12050
  quorum: number;
11914
12051
  }[];
11915
12052
  currentStepIndex: number;
11916
- expiredAt: Date | null;
12053
+ expiresAt: Date;
11917
12054
  targetId: string | null;
11918
12055
  note: {
11919
12056
  title: string;
11920
12057
  content: string;
11921
12058
  } | null;
12059
+ createdById: string;
11922
12060
  reviews: {
11923
12061
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11924
12062
  createdAt: Date;
@@ -11957,12 +12095,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11957
12095
  quorum: number;
11958
12096
  }[];
11959
12097
  currentStepIndex: number;
11960
- expiredAt: Date | null;
12098
+ expiresAt: Date;
11961
12099
  targetId: string | null;
11962
12100
  note: {
11963
12101
  title: string;
11964
12102
  content: string;
11965
12103
  } | null;
12104
+ createdById: string;
11966
12105
  reviews: {
11967
12106
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
11968
12107
  createdAt: Date;
@@ -11999,12 +12138,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11999
12138
  quorum: number;
12000
12139
  }[];
12001
12140
  currentStepIndex: number;
12002
- expiredAt: Date | null;
12141
+ expiresAt: Date;
12003
12142
  targetId: string | null;
12004
12143
  note: {
12005
12144
  title: string;
12006
12145
  content: string;
12007
12146
  } | null;
12147
+ createdById: string;
12008
12148
  reviews: {
12009
12149
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12010
12150
  createdAt: Date;
@@ -12041,12 +12181,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12041
12181
  quorum: number;
12042
12182
  }[];
12043
12183
  currentStepIndex: number;
12044
- expiredAt: Date | null;
12184
+ expiresAt: Date;
12045
12185
  targetId: string | null;
12046
12186
  note: {
12047
12187
  title: string;
12048
12188
  content: string;
12049
12189
  } | null;
12190
+ createdById: string;
12050
12191
  reviews: {
12051
12192
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12052
12193
  createdAt: Date;
@@ -12083,12 +12224,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12083
12224
  quorum: number;
12084
12225
  }[];
12085
12226
  currentStepIndex: number;
12086
- expiredAt: Date | null;
12227
+ expiresAt: Date;
12087
12228
  targetId: string | null;
12088
12229
  note: {
12089
12230
  title: string;
12090
12231
  content: string;
12091
12232
  } | null;
12233
+ createdById: string;
12092
12234
  reviews: {
12093
12235
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12094
12236
  createdAt: Date;
@@ -12125,12 +12267,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12125
12267
  quorum: number;
12126
12268
  }[];
12127
12269
  currentStepIndex: number;
12128
- expiredAt: Date | null;
12270
+ expiresAt: Date;
12129
12271
  targetId: string | null;
12130
12272
  note: {
12131
12273
  title: string;
12132
12274
  content: string;
12133
12275
  } | null;
12276
+ createdById: string;
12134
12277
  reviews: {
12135
12278
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12136
12279
  createdAt: Date;
@@ -12160,12 +12303,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12160
12303
  quorum: number;
12161
12304
  }[];
12162
12305
  currentStepIndex: number;
12163
- expiredAt: Date | null;
12306
+ expiresAt: Date;
12164
12307
  targetId: string | null;
12165
12308
  note: {
12166
12309
  title: string;
12167
12310
  content: string;
12168
12311
  } | null;
12312
+ createdById: string;
12169
12313
  reviews: {
12170
12314
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12171
12315
  createdAt: Date;
@@ -12195,12 +12339,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12195
12339
  quorum: number;
12196
12340
  }[];
12197
12341
  currentStepIndex: number;
12198
- expiredAt: Date | null;
12342
+ expiresAt: Date;
12199
12343
  targetId: string | null;
12200
12344
  note: {
12201
12345
  title: string;
12202
12346
  content: string;
12203
12347
  } | null;
12348
+ createdById: string;
12204
12349
  reviews: {
12205
12350
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12206
12351
  createdAt: Date;
@@ -12319,12 +12464,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12319
12464
  quorum: number;
12320
12465
  }[];
12321
12466
  currentStepIndex: number;
12322
- expiredAt: Date | null;
12467
+ expiresAt: Date;
12323
12468
  targetId: string | null;
12324
12469
  note: {
12325
12470
  title: string;
12326
12471
  content: string;
12327
12472
  } | null;
12473
+ createdById: string;
12328
12474
  reviews: {
12329
12475
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12330
12476
  createdAt: Date;
@@ -12356,12 +12502,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12356
12502
  quorum: number;
12357
12503
  }[];
12358
12504
  currentStepIndex: number;
12359
- expiredAt: Date | null;
12505
+ expiresAt: Date;
12360
12506
  targetId: string | null;
12361
12507
  note: {
12362
12508
  title: string;
12363
12509
  content: string;
12364
12510
  } | null;
12511
+ createdById: string;
12365
12512
  reviews: {
12366
12513
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12367
12514
  createdAt: Date;
@@ -12479,12 +12626,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12479
12626
  quorum: number;
12480
12627
  }[];
12481
12628
  currentStepIndex: number;
12482
- expiredAt: Date | null;
12629
+ expiresAt: Date;
12483
12630
  targetId: string | null;
12484
12631
  note: {
12485
12632
  title: string;
12486
12633
  content: string;
12487
12634
  } | null;
12635
+ createdById: string;
12488
12636
  reviews: {
12489
12637
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12490
12638
  createdAt: Date;
@@ -12605,12 +12753,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12605
12753
  quorum: number;
12606
12754
  }[];
12607
12755
  currentStepIndex: number;
12608
- expiredAt: Date | null;
12756
+ expiresAt: Date;
12609
12757
  targetId: string | null;
12610
12758
  note: {
12611
12759
  title: string;
12612
12760
  content: string;
12613
12761
  } | null;
12762
+ createdById: string;
12614
12763
  reviews: {
12615
12764
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12616
12765
  createdAt: Date;
@@ -12647,12 +12796,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12647
12796
  quorum: number;
12648
12797
  }[];
12649
12798
  currentStepIndex: number;
12650
- expiredAt: Date | null;
12799
+ expiresAt: Date;
12651
12800
  targetId: string | null;
12652
12801
  note: {
12653
12802
  title: string;
12654
12803
  content: string;
12655
12804
  } | null;
12805
+ createdById: string;
12656
12806
  reviews: {
12657
12807
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12658
12808
  createdAt: Date;
@@ -12684,12 +12834,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12684
12834
  quorum: number;
12685
12835
  }[];
12686
12836
  currentStepIndex: number;
12687
- expiredAt: Date | null;
12837
+ expiresAt: Date;
12688
12838
  targetId: string | null;
12689
12839
  note: {
12690
12840
  title: string;
12691
12841
  content: string;
12692
12842
  } | null;
12843
+ createdById: string;
12693
12844
  reviews: {
12694
12845
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12695
12846
  createdAt: Date;
@@ -12763,12 +12914,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12763
12914
  quorum: number;
12764
12915
  }[];
12765
12916
  currentStepIndex: number;
12766
- expiredAt: Date | null;
12917
+ expiresAt: Date;
12767
12918
  targetId: string | null;
12768
12919
  note: {
12769
12920
  title: string;
12770
12921
  content: string;
12771
12922
  } | null;
12923
+ createdById: string;
12772
12924
  reviews: {
12773
12925
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12774
12926
  createdAt: Date;
@@ -12812,12 +12964,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12812
12964
  quorum: number;
12813
12965
  }[];
12814
12966
  currentStepIndex: number;
12815
- expiredAt: Date | null;
12967
+ expiresAt: Date;
12816
12968
  targetId: string | null;
12817
12969
  note: {
12818
12970
  title: string;
12819
12971
  content: string;
12820
12972
  } | null;
12973
+ createdById: string;
12821
12974
  reviews: {
12822
12975
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12823
12976
  createdAt: Date;
@@ -12843,12 +12996,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12843
12996
  quorum: number;
12844
12997
  }[];
12845
12998
  currentStepIndex: number;
12846
- expiredAt: Date | null;
12999
+ expiresAt: Date;
12847
13000
  targetId: string | null;
12848
13001
  note: {
12849
13002
  title: string;
12850
13003
  content: string;
12851
13004
  } | null;
13005
+ createdById: string;
12852
13006
  reviews: {
12853
13007
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12854
13008
  createdAt: Date;
@@ -12877,12 +13031,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12877
13031
  quorum: number;
12878
13032
  }[];
12879
13033
  currentStepIndex: number;
12880
- expiredAt: Date | null;
13034
+ expiresAt: Date;
12881
13035
  targetId: string | null;
12882
13036
  note: {
12883
13037
  title: string;
12884
13038
  content: string;
12885
13039
  } | null;
13040
+ createdById: string;
12886
13041
  reviews: {
12887
13042
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12888
13043
  createdAt: Date;
@@ -12911,12 +13066,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12911
13066
  quorum: number;
12912
13067
  }[];
12913
13068
  currentStepIndex: number;
12914
- expiredAt: Date | null;
13069
+ expiresAt: Date;
12915
13070
  targetId: string | null;
12916
13071
  note: {
12917
13072
  title: string;
12918
13073
  content: string;
12919
13074
  } | null;
13075
+ createdById: string;
12920
13076
  reviews: {
12921
13077
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12922
13078
  createdAt: Date;
@@ -12942,12 +13098,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12942
13098
  quorum: number;
12943
13099
  }[];
12944
13100
  currentStepIndex: number;
12945
- expiredAt: Date | null;
13101
+ expiresAt: Date;
12946
13102
  targetId: string | null;
12947
13103
  note: {
12948
13104
  title: string;
12949
13105
  content: string;
12950
13106
  } | null;
13107
+ createdById: string;
12951
13108
  reviews: {
12952
13109
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12953
13110
  createdAt: Date;
@@ -12975,12 +13132,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
12975
13132
  quorum: number;
12976
13133
  }[];
12977
13134
  currentStepIndex: number;
12978
- expiredAt: Date | null;
13135
+ expiresAt: Date;
12979
13136
  targetId: string | null;
12980
13137
  note: {
12981
13138
  title: string;
12982
13139
  content: string;
12983
13140
  } | null;
13141
+ createdById: string;
12984
13142
  reviews: {
12985
13143
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
12986
13144
  createdAt: Date;
@@ -13006,12 +13164,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13006
13164
  quorum: number;
13007
13165
  }[];
13008
13166
  currentStepIndex: number;
13009
- expiredAt: Date | null;
13167
+ expiresAt: Date;
13010
13168
  targetId: string | null;
13011
13169
  note: {
13012
13170
  title: string;
13013
13171
  content: string;
13014
13172
  } | null;
13173
+ createdById: string;
13015
13174
  reviews: {
13016
13175
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13017
13176
  createdAt: Date;
@@ -13043,12 +13202,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13043
13202
  quorum: number;
13044
13203
  }[];
13045
13204
  currentStepIndex: number;
13046
- expiredAt: Date | null;
13205
+ expiresAt: Date;
13047
13206
  targetId: string | null;
13048
13207
  note: {
13049
13208
  title: string;
13050
13209
  content: string;
13051
13210
  } | null;
13211
+ createdById: string;
13052
13212
  reviews: {
13053
13213
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13054
13214
  createdAt: Date;
@@ -13080,12 +13240,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13080
13240
  quorum: number;
13081
13241
  }[];
13082
13242
  currentStepIndex: number;
13083
- expiredAt: Date | null;
13243
+ expiresAt: Date;
13084
13244
  targetId: string | null;
13085
13245
  note: {
13086
13246
  title: string;
13087
13247
  content: string;
13088
13248
  } | null;
13249
+ createdById: string;
13089
13250
  reviews: {
13090
13251
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13091
13252
  createdAt: Date;
@@ -13117,12 +13278,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13117
13278
  quorum: number;
13118
13279
  }[];
13119
13280
  currentStepIndex: number;
13120
- expiredAt: Date | null;
13281
+ expiresAt: Date;
13121
13282
  targetId: string | null;
13122
13283
  note: {
13123
13284
  title: string;
13124
13285
  content: string;
13125
13286
  } | null;
13287
+ createdById: string;
13126
13288
  reviews: {
13127
13289
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13128
13290
  createdAt: Date;
@@ -13153,12 +13315,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13153
13315
  quorum: number;
13154
13316
  }[];
13155
13317
  currentStepIndex: number;
13156
- expiredAt: Date | null;
13318
+ expiresAt: Date;
13157
13319
  targetId: string | null;
13158
13320
  note: {
13159
13321
  title: string;
13160
13322
  content: string;
13161
13323
  } | null;
13324
+ createdById: string;
13162
13325
  reviews: {
13163
13326
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13164
13327
  createdAt: Date;
@@ -13188,12 +13351,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13188
13351
  quorum: number;
13189
13352
  }[];
13190
13353
  currentStepIndex: number;
13191
- expiredAt: Date | null;
13354
+ expiresAt: Date;
13192
13355
  targetId: string | null;
13193
13356
  note: {
13194
13357
  title: string;
13195
13358
  content: string;
13196
13359
  } | null;
13360
+ createdById: string;
13197
13361
  reviews: {
13198
13362
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13199
13363
  createdAt: Date;
@@ -13223,12 +13387,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13223
13387
  quorum: number;
13224
13388
  }[];
13225
13389
  currentStepIndex: number;
13226
- expiredAt: Date | null;
13390
+ expiresAt: Date;
13227
13391
  targetId: string | null;
13228
13392
  note: {
13229
13393
  title: string;
13230
13394
  content: string;
13231
13395
  } | null;
13396
+ createdById: string;
13232
13397
  reviews: {
13233
13398
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13234
13399
  createdAt: Date;
@@ -13254,12 +13419,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13254
13419
  quorum: number;
13255
13420
  }[];
13256
13421
  currentStepIndex: number;
13257
- expiredAt: Date | null;
13422
+ expiresAt: Date;
13258
13423
  targetId: string | null;
13259
13424
  note: {
13260
13425
  title: string;
13261
13426
  content: string;
13262
13427
  } | null;
13428
+ createdById: string;
13263
13429
  reviews: {
13264
13430
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13265
13431
  createdAt: Date;
@@ -13621,12 +13787,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13621
13787
  quorum: number;
13622
13788
  }[];
13623
13789
  currentStepIndex: number;
13624
- expiredAt: Date | null;
13790
+ expiresAt: Date;
13625
13791
  targetId: string | null;
13626
13792
  note: {
13627
13793
  title: string;
13628
13794
  content: string;
13629
13795
  } | null;
13796
+ createdById: string;
13630
13797
  reviews: {
13631
13798
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13632
13799
  createdAt: Date;
@@ -13657,12 +13824,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13657
13824
  quorum: number;
13658
13825
  }[];
13659
13826
  currentStepIndex: number;
13660
- expiredAt: Date | null;
13827
+ expiresAt: Date;
13661
13828
  targetId: string | null;
13662
13829
  note: {
13663
13830
  title: string;
13664
13831
  content: string;
13665
13832
  } | null;
13833
+ createdById: string;
13666
13834
  reviews: {
13667
13835
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13668
13836
  createdAt: Date;
@@ -13730,12 +13898,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13730
13898
  quorum: number;
13731
13899
  }[];
13732
13900
  currentStepIndex: number;
13733
- expiredAt: Date | null;
13901
+ expiresAt: Date;
13734
13902
  targetId: string | null;
13735
13903
  note: {
13736
13904
  title: string;
13737
13905
  content: string;
13738
13906
  } | null;
13907
+ createdById: string;
13739
13908
  reviews: {
13740
13909
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13741
13910
  createdAt: Date;
@@ -13761,12 +13930,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13761
13930
  quorum: number;
13762
13931
  }[];
13763
13932
  currentStepIndex: number;
13764
- expiredAt: Date | null;
13933
+ expiresAt: Date;
13765
13934
  targetId: string | null;
13766
13935
  note: {
13767
13936
  title: string;
13768
13937
  content: string;
13769
13938
  } | null;
13939
+ createdById: string;
13770
13940
  reviews: {
13771
13941
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13772
13942
  createdAt: Date;
@@ -13796,12 +13966,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13796
13966
  quorum: number;
13797
13967
  }[];
13798
13968
  currentStepIndex: number;
13799
- expiredAt: Date | null;
13969
+ expiresAt: Date;
13800
13970
  targetId: string | null;
13801
13971
  note: {
13802
13972
  title: string;
13803
13973
  content: string;
13804
13974
  } | null;
13975
+ createdById: string;
13805
13976
  reviews: {
13806
13977
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13807
13978
  createdAt: Date;
@@ -13831,12 +14002,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13831
14002
  quorum: number;
13832
14003
  }[];
13833
14004
  currentStepIndex: number;
13834
- expiredAt: Date | null;
14005
+ expiresAt: Date;
13835
14006
  targetId: string | null;
13836
14007
  note: {
13837
14008
  title: string;
13838
14009
  content: string;
13839
14010
  } | null;
14011
+ createdById: string;
13840
14012
  reviews: {
13841
14013
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13842
14014
  createdAt: Date;
@@ -13872,12 +14044,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13872
14044
  quorum: number;
13873
14045
  }[];
13874
14046
  currentStepIndex: number;
13875
- expiredAt: Date | null;
14047
+ expiresAt: Date;
13876
14048
  targetId: string | null;
13877
14049
  note: {
13878
14050
  title: string;
13879
14051
  content: string;
13880
14052
  } | null;
14053
+ createdById: string;
13881
14054
  reviews: {
13882
14055
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13883
14056
  createdAt: Date;
@@ -13911,12 +14084,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13911
14084
  quorum: number;
13912
14085
  }[];
13913
14086
  currentStepIndex: number;
13914
- expiredAt: Date | null;
14087
+ expiresAt: Date;
13915
14088
  targetId: string | null;
13916
14089
  note: {
13917
14090
  title: string;
13918
14091
  content: string;
13919
14092
  } | null;
14093
+ createdById: string;
13920
14094
  reviews: {
13921
14095
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13922
14096
  createdAt: Date;
@@ -13944,12 +14118,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13944
14118
  quorum: number;
13945
14119
  }[];
13946
14120
  currentStepIndex: number;
13947
- expiredAt: Date | null;
14121
+ expiresAt: Date;
13948
14122
  targetId: string | null;
13949
14123
  note: {
13950
14124
  title: string;
13951
14125
  content: string;
13952
14126
  } | null;
14127
+ createdById: string;
13953
14128
  reviews: {
13954
14129
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13955
14130
  createdAt: Date;
@@ -13980,12 +14155,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13980
14155
  quorum: number;
13981
14156
  }[];
13982
14157
  currentStepIndex: number;
13983
- expiredAt: Date | null;
14158
+ expiresAt: Date;
13984
14159
  targetId: string | null;
13985
14160
  note: {
13986
14161
  title: string;
13987
14162
  content: string;
13988
14163
  } | null;
14164
+ createdById: string;
13989
14165
  reviews: {
13990
14166
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
13991
14167
  createdAt: Date;
@@ -14030,12 +14206,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14030
14206
  quorum: number;
14031
14207
  }[];
14032
14208
  currentStepIndex: number;
14033
- expiredAt: Date | null;
14209
+ expiresAt: Date;
14034
14210
  targetId: string | null;
14035
14211
  note: {
14036
14212
  title: string;
14037
14213
  content: string;
14038
14214
  } | null;
14215
+ createdById: string;
14039
14216
  reviews: {
14040
14217
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14041
14218
  createdAt: Date;
@@ -14079,12 +14256,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14079
14256
  quorum: number;
14080
14257
  }[];
14081
14258
  currentStepIndex: number;
14082
- expiredAt: Date | null;
14259
+ expiresAt: Date;
14083
14260
  targetId: string | null;
14084
14261
  note: {
14085
14262
  title: string;
14086
14263
  content: string;
14087
14264
  } | null;
14265
+ createdById: string;
14088
14266
  reviews: {
14089
14267
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14090
14268
  createdAt: Date;
@@ -14123,12 +14301,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14123
14301
  quorum: number;
14124
14302
  }[];
14125
14303
  currentStepIndex: number;
14126
- expiredAt: Date | null;
14304
+ expiresAt: Date;
14127
14305
  targetId: string | null;
14128
14306
  note: {
14129
14307
  title: string;
14130
14308
  content: string;
14131
14309
  } | null;
14310
+ createdById: string;
14132
14311
  reviews: {
14133
14312
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14134
14313
  createdAt: Date;
@@ -14167,12 +14346,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14167
14346
  quorum: number;
14168
14347
  }[];
14169
14348
  currentStepIndex: number;
14170
- expiredAt: Date | null;
14349
+ expiresAt: Date;
14171
14350
  targetId: string | null;
14172
14351
  note: {
14173
14352
  title: string;
14174
14353
  content: string;
14175
14354
  } | null;
14355
+ createdById: string;
14176
14356
  reviews: {
14177
14357
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14178
14358
  createdAt: Date;
@@ -14209,12 +14389,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14209
14389
  quorum: number;
14210
14390
  }[];
14211
14391
  currentStepIndex: number;
14212
- expiredAt: Date | null;
14392
+ expiresAt: Date;
14213
14393
  targetId: string | null;
14214
14394
  note: {
14215
14395
  title: string;
14216
14396
  content: string;
14217
14397
  } | null;
14398
+ createdById: string;
14218
14399
  reviews: {
14219
14400
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14220
14401
  createdAt: Date;
@@ -14251,12 +14432,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14251
14432
  quorum: number;
14252
14433
  }[];
14253
14434
  currentStepIndex: number;
14254
- expiredAt: Date | null;
14435
+ expiresAt: Date;
14255
14436
  targetId: string | null;
14256
14437
  note: {
14257
14438
  title: string;
14258
14439
  content: string;
14259
14440
  } | null;
14441
+ createdById: string;
14260
14442
  reviews: {
14261
14443
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14262
14444
  createdAt: Date;
@@ -14293,12 +14475,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14293
14475
  quorum: number;
14294
14476
  }[];
14295
14477
  currentStepIndex: number;
14296
- expiredAt: Date | null;
14478
+ expiresAt: Date;
14297
14479
  targetId: string | null;
14298
14480
  note: {
14299
14481
  title: string;
14300
14482
  content: string;
14301
14483
  } | null;
14484
+ createdById: string;
14302
14485
  reviews: {
14303
14486
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14304
14487
  createdAt: Date;
@@ -14335,12 +14518,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14335
14518
  quorum: number;
14336
14519
  }[];
14337
14520
  currentStepIndex: number;
14338
- expiredAt: Date | null;
14521
+ expiresAt: Date;
14339
14522
  targetId: string | null;
14340
14523
  note: {
14341
14524
  title: string;
14342
14525
  content: string;
14343
14526
  } | null;
14527
+ createdById: string;
14344
14528
  reviews: {
14345
14529
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14346
14530
  createdAt: Date;
@@ -14370,12 +14554,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14370
14554
  quorum: number;
14371
14555
  }[];
14372
14556
  currentStepIndex: number;
14373
- expiredAt: Date | null;
14557
+ expiresAt: Date;
14374
14558
  targetId: string | null;
14375
14559
  note: {
14376
14560
  title: string;
14377
14561
  content: string;
14378
14562
  } | null;
14563
+ createdById: string;
14379
14564
  reviews: {
14380
14565
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14381
14566
  createdAt: Date;
@@ -14405,12 +14590,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14405
14590
  quorum: number;
14406
14591
  }[];
14407
14592
  currentStepIndex: number;
14408
- expiredAt: Date | null;
14593
+ expiresAt: Date;
14409
14594
  targetId: string | null;
14410
14595
  note: {
14411
14596
  title: string;
14412
14597
  content: string;
14413
14598
  } | null;
14599
+ createdById: string;
14414
14600
  reviews: {
14415
14601
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14416
14602
  createdAt: Date;
@@ -14529,12 +14715,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14529
14715
  quorum: number;
14530
14716
  }[];
14531
14717
  currentStepIndex: number;
14532
- expiredAt: Date | null;
14718
+ expiresAt: Date;
14533
14719
  targetId: string | null;
14534
14720
  note: {
14535
14721
  title: string;
14536
14722
  content: string;
14537
14723
  } | null;
14724
+ createdById: string;
14538
14725
  reviews: {
14539
14726
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14540
14727
  createdAt: Date;
@@ -14566,12 +14753,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14566
14753
  quorum: number;
14567
14754
  }[];
14568
14755
  currentStepIndex: number;
14569
- expiredAt: Date | null;
14756
+ expiresAt: Date;
14570
14757
  targetId: string | null;
14571
14758
  note: {
14572
14759
  title: string;
14573
14760
  content: string;
14574
14761
  } | null;
14762
+ createdById: string;
14575
14763
  reviews: {
14576
14764
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14577
14765
  createdAt: Date;
@@ -14689,12 +14877,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14689
14877
  quorum: number;
14690
14878
  }[];
14691
14879
  currentStepIndex: number;
14692
- expiredAt: Date | null;
14880
+ expiresAt: Date;
14693
14881
  targetId: string | null;
14694
14882
  note: {
14695
14883
  title: string;
14696
14884
  content: string;
14697
14885
  } | null;
14886
+ createdById: string;
14698
14887
  reviews: {
14699
14888
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14700
14889
  createdAt: Date;
@@ -14815,12 +15004,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14815
15004
  quorum: number;
14816
15005
  }[];
14817
15006
  currentStepIndex: number;
14818
- expiredAt: Date | null;
15007
+ expiresAt: Date;
14819
15008
  targetId: string | null;
14820
15009
  note: {
14821
15010
  title: string;
14822
15011
  content: string;
14823
15012
  } | null;
15013
+ createdById: string;
14824
15014
  reviews: {
14825
15015
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14826
15016
  createdAt: Date;
@@ -14857,12 +15047,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14857
15047
  quorum: number;
14858
15048
  }[];
14859
15049
  currentStepIndex: number;
14860
- expiredAt: Date | null;
15050
+ expiresAt: Date;
14861
15051
  targetId: string | null;
14862
15052
  note: {
14863
15053
  title: string;
14864
15054
  content: string;
14865
15055
  } | null;
15056
+ createdById: string;
14866
15057
  reviews: {
14867
15058
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14868
15059
  createdAt: Date;
@@ -14894,12 +15085,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14894
15085
  quorum: number;
14895
15086
  }[];
14896
15087
  currentStepIndex: number;
14897
- expiredAt: Date | null;
15088
+ expiresAt: Date;
14898
15089
  targetId: string | null;
14899
15090
  note: {
14900
15091
  title: string;
14901
15092
  content: string;
14902
15093
  } | null;
15094
+ createdById: string;
14903
15095
  reviews: {
14904
15096
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14905
15097
  createdAt: Date;
@@ -14973,12 +15165,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14973
15165
  quorum: number;
14974
15166
  }[];
14975
15167
  currentStepIndex: number;
14976
- expiredAt: Date | null;
15168
+ expiresAt: Date;
14977
15169
  targetId: string | null;
14978
15170
  note: {
14979
15171
  title: string;
14980
15172
  content: string;
14981
15173
  } | null;
15174
+ createdById: string;
14982
15175
  reviews: {
14983
15176
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
14984
15177
  createdAt: Date;
@@ -15022,12 +15215,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15022
15215
  quorum: number;
15023
15216
  }[];
15024
15217
  currentStepIndex: number;
15025
- expiredAt: Date | null;
15218
+ expiresAt: Date;
15026
15219
  targetId: string | null;
15027
15220
  note: {
15028
15221
  title: string;
15029
15222
  content: string;
15030
15223
  } | null;
15224
+ createdById: string;
15031
15225
  reviews: {
15032
15226
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15033
15227
  createdAt: Date;
@@ -15053,12 +15247,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15053
15247
  quorum: number;
15054
15248
  }[];
15055
15249
  currentStepIndex: number;
15056
- expiredAt: Date | null;
15250
+ expiresAt: Date;
15057
15251
  targetId: string | null;
15058
15252
  note: {
15059
15253
  title: string;
15060
15254
  content: string;
15061
15255
  } | null;
15256
+ createdById: string;
15062
15257
  reviews: {
15063
15258
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15064
15259
  createdAt: Date;
@@ -15087,12 +15282,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15087
15282
  quorum: number;
15088
15283
  }[];
15089
15284
  currentStepIndex: number;
15090
- expiredAt: Date | null;
15285
+ expiresAt: Date;
15091
15286
  targetId: string | null;
15092
15287
  note: {
15093
15288
  title: string;
15094
15289
  content: string;
15095
15290
  } | null;
15291
+ createdById: string;
15096
15292
  reviews: {
15097
15293
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15098
15294
  createdAt: Date;
@@ -15121,12 +15317,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15121
15317
  quorum: number;
15122
15318
  }[];
15123
15319
  currentStepIndex: number;
15124
- expiredAt: Date | null;
15320
+ expiresAt: Date;
15125
15321
  targetId: string | null;
15126
15322
  note: {
15127
15323
  title: string;
15128
15324
  content: string;
15129
15325
  } | null;
15326
+ createdById: string;
15130
15327
  reviews: {
15131
15328
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15132
15329
  createdAt: Date;
@@ -15152,12 +15349,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15152
15349
  quorum: number;
15153
15350
  }[];
15154
15351
  currentStepIndex: number;
15155
- expiredAt: Date | null;
15352
+ expiresAt: Date;
15156
15353
  targetId: string | null;
15157
15354
  note: {
15158
15355
  title: string;
15159
15356
  content: string;
15160
15357
  } | null;
15358
+ createdById: string;
15161
15359
  reviews: {
15162
15360
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15163
15361
  createdAt: Date;
@@ -15185,12 +15383,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15185
15383
  quorum: number;
15186
15384
  }[];
15187
15385
  currentStepIndex: number;
15188
- expiredAt: Date | null;
15386
+ expiresAt: Date;
15189
15387
  targetId: string | null;
15190
15388
  note: {
15191
15389
  title: string;
15192
15390
  content: string;
15193
15391
  } | null;
15392
+ createdById: string;
15194
15393
  reviews: {
15195
15394
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15196
15395
  createdAt: Date;
@@ -15216,12 +15415,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15216
15415
  quorum: number;
15217
15416
  }[];
15218
15417
  currentStepIndex: number;
15219
- expiredAt: Date | null;
15418
+ expiresAt: Date;
15220
15419
  targetId: string | null;
15221
15420
  note: {
15222
15421
  title: string;
15223
15422
  content: string;
15224
15423
  } | null;
15424
+ createdById: string;
15225
15425
  reviews: {
15226
15426
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15227
15427
  createdAt: Date;
@@ -15253,12 +15453,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15253
15453
  quorum: number;
15254
15454
  }[];
15255
15455
  currentStepIndex: number;
15256
- expiredAt: Date | null;
15456
+ expiresAt: Date;
15257
15457
  targetId: string | null;
15258
15458
  note: {
15259
15459
  title: string;
15260
15460
  content: string;
15261
15461
  } | null;
15462
+ createdById: string;
15262
15463
  reviews: {
15263
15464
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15264
15465
  createdAt: Date;
@@ -15290,12 +15491,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15290
15491
  quorum: number;
15291
15492
  }[];
15292
15493
  currentStepIndex: number;
15293
- expiredAt: Date | null;
15494
+ expiresAt: Date;
15294
15495
  targetId: string | null;
15295
15496
  note: {
15296
15497
  title: string;
15297
15498
  content: string;
15298
15499
  } | null;
15500
+ createdById: string;
15299
15501
  reviews: {
15300
15502
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15301
15503
  createdAt: Date;
@@ -15327,12 +15529,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15327
15529
  quorum: number;
15328
15530
  }[];
15329
15531
  currentStepIndex: number;
15330
- expiredAt: Date | null;
15532
+ expiresAt: Date;
15331
15533
  targetId: string | null;
15332
15534
  note: {
15333
15535
  title: string;
15334
15536
  content: string;
15335
15537
  } | null;
15538
+ createdById: string;
15336
15539
  reviews: {
15337
15540
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15338
15541
  createdAt: Date;
@@ -15363,12 +15566,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15363
15566
  quorum: number;
15364
15567
  }[];
15365
15568
  currentStepIndex: number;
15366
- expiredAt: Date | null;
15569
+ expiresAt: Date;
15367
15570
  targetId: string | null;
15368
15571
  note: {
15369
15572
  title: string;
15370
15573
  content: string;
15371
15574
  } | null;
15575
+ createdById: string;
15372
15576
  reviews: {
15373
15577
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15374
15578
  createdAt: Date;
@@ -15398,12 +15602,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15398
15602
  quorum: number;
15399
15603
  }[];
15400
15604
  currentStepIndex: number;
15401
- expiredAt: Date | null;
15605
+ expiresAt: Date;
15402
15606
  targetId: string | null;
15403
15607
  note: {
15404
15608
  title: string;
15405
15609
  content: string;
15406
15610
  } | null;
15611
+ createdById: string;
15407
15612
  reviews: {
15408
15613
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15409
15614
  createdAt: Date;
@@ -15433,12 +15638,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15433
15638
  quorum: number;
15434
15639
  }[];
15435
15640
  currentStepIndex: number;
15436
- expiredAt: Date | null;
15641
+ expiresAt: Date;
15437
15642
  targetId: string | null;
15438
15643
  note: {
15439
15644
  title: string;
15440
15645
  content: string;
15441
15646
  } | null;
15647
+ createdById: string;
15442
15648
  reviews: {
15443
15649
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15444
15650
  createdAt: Date;
@@ -15464,12 +15670,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
15464
15670
  quorum: number;
15465
15671
  }[];
15466
15672
  currentStepIndex: number;
15467
- expiredAt: Date | null;
15673
+ expiresAt: Date;
15468
15674
  targetId: string | null;
15469
15675
  note: {
15470
15676
  title: string;
15471
15677
  content: string;
15472
15678
  } | null;
15679
+ createdById: string;
15473
15680
  reviews: {
15474
15681
  status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
15475
15682
  createdAt: Date;
@@ -20925,7 +21132,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20925
21132
  total: number;
20926
21133
  results: {
20927
21134
  url: string;
20928
- targetType: "REQUEST" | null;
21135
+ actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_MOVED_TO_STEP" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
20929
21136
  id: string;
20930
21137
  createdAt: Date;
20931
21138
  }[];
@@ -20956,7 +21163,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20956
21163
  };
20957
21164
  output: {
20958
21165
  url: string;
20959
- targetType: "REQUEST" | null;
21166
+ actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_MOVED_TO_STEP" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
20960
21167
  id: string;
20961
21168
  createdAt: Date;
20962
21169
  };
@@ -20983,11 +21190,11 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
20983
21190
  create: _trpc_server.TRPCMutationProcedure<{
20984
21191
  input: {
20985
21192
  url: string;
20986
- targetType: "REQUEST" | null;
21193
+ actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_MOVED_TO_STEP" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
20987
21194
  };
20988
21195
  output: {
20989
21196
  url: string;
20990
- targetType: "REQUEST" | null;
21197
+ actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_MOVED_TO_STEP" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
20991
21198
  id: string;
20992
21199
  createdAt: Date;
20993
21200
  };