@secrecy/trpc-api-types 1.6.0-integration-prisma-selectors.4 → 1.6.0-integration-prisma-selectors.6
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/dist/index.d.ts +292 -36
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1513,7 +1513,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1513
1513
|
userId: string;
|
|
1514
1514
|
};
|
|
1515
1515
|
access: {
|
|
1516
|
+
rights: "admin" | "write" | "read";
|
|
1516
1517
|
nameKey: string | null;
|
|
1518
|
+
isRoot: boolean;
|
|
1517
1519
|
sharedByPubKey: string;
|
|
1518
1520
|
};
|
|
1519
1521
|
} & {
|
|
@@ -1565,7 +1567,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1565
1567
|
userId: string;
|
|
1566
1568
|
};
|
|
1567
1569
|
access: {
|
|
1570
|
+
rights: "admin" | "write" | "read";
|
|
1568
1571
|
nameKey: string | null;
|
|
1572
|
+
isRoot: boolean;
|
|
1569
1573
|
sharedByPubKey: string;
|
|
1570
1574
|
};
|
|
1571
1575
|
}) | null;
|
|
@@ -1589,7 +1593,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1589
1593
|
userId: string;
|
|
1590
1594
|
};
|
|
1591
1595
|
access: {
|
|
1596
|
+
rights: "admin" | "write" | "read";
|
|
1592
1597
|
nameKey: string | null;
|
|
1598
|
+
isRoot: boolean;
|
|
1593
1599
|
sharedByPubKey: string;
|
|
1594
1600
|
};
|
|
1595
1601
|
})[];
|
|
@@ -1614,7 +1620,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1614
1620
|
userId: string;
|
|
1615
1621
|
};
|
|
1616
1622
|
access: {
|
|
1623
|
+
rights: "admin" | "write" | "read";
|
|
1617
1624
|
nameKey: string | null;
|
|
1625
|
+
isRoot: boolean;
|
|
1618
1626
|
sharedByPubKey: string;
|
|
1619
1627
|
};
|
|
1620
1628
|
} & {
|
|
@@ -1666,7 +1674,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1666
1674
|
userId: string;
|
|
1667
1675
|
};
|
|
1668
1676
|
access: {
|
|
1677
|
+
rights: "admin" | "write" | "read";
|
|
1669
1678
|
nameKey: string | null;
|
|
1679
|
+
isRoot: boolean;
|
|
1670
1680
|
sharedByPubKey: string;
|
|
1671
1681
|
};
|
|
1672
1682
|
}) | null;
|
|
@@ -1690,7 +1700,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1690
1700
|
userId: string;
|
|
1691
1701
|
};
|
|
1692
1702
|
access: {
|
|
1703
|
+
rights: "admin" | "write" | "read";
|
|
1693
1704
|
nameKey: string | null;
|
|
1705
|
+
isRoot: boolean;
|
|
1694
1706
|
sharedByPubKey: string;
|
|
1695
1707
|
};
|
|
1696
1708
|
})[];
|
|
@@ -2085,7 +2097,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2085
2097
|
userId: string;
|
|
2086
2098
|
};
|
|
2087
2099
|
access: {
|
|
2100
|
+
rights: "admin" | "write" | "read";
|
|
2088
2101
|
nameKey: string | null;
|
|
2102
|
+
isRoot: boolean;
|
|
2089
2103
|
sharedByPubKey: string;
|
|
2090
2104
|
};
|
|
2091
2105
|
} & {
|
|
@@ -2137,7 +2151,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2137
2151
|
userId: string;
|
|
2138
2152
|
};
|
|
2139
2153
|
access: {
|
|
2154
|
+
rights: "admin" | "write" | "read";
|
|
2140
2155
|
nameKey: string | null;
|
|
2156
|
+
isRoot: boolean;
|
|
2141
2157
|
sharedByPubKey: string;
|
|
2142
2158
|
};
|
|
2143
2159
|
}) | null;
|
|
@@ -2161,7 +2177,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2161
2177
|
userId: string;
|
|
2162
2178
|
};
|
|
2163
2179
|
access: {
|
|
2180
|
+
rights: "admin" | "write" | "read";
|
|
2164
2181
|
nameKey: string | null;
|
|
2182
|
+
isRoot: boolean;
|
|
2165
2183
|
sharedByPubKey: string;
|
|
2166
2184
|
};
|
|
2167
2185
|
})[];
|
|
@@ -2186,7 +2204,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2186
2204
|
userId: string;
|
|
2187
2205
|
};
|
|
2188
2206
|
access: {
|
|
2207
|
+
rights: "admin" | "write" | "read";
|
|
2189
2208
|
nameKey: string | null;
|
|
2209
|
+
isRoot: boolean;
|
|
2190
2210
|
sharedByPubKey: string;
|
|
2191
2211
|
};
|
|
2192
2212
|
} & {
|
|
@@ -2238,7 +2258,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2238
2258
|
userId: string;
|
|
2239
2259
|
};
|
|
2240
2260
|
access: {
|
|
2261
|
+
rights: "admin" | "write" | "read";
|
|
2241
2262
|
nameKey: string | null;
|
|
2263
|
+
isRoot: boolean;
|
|
2242
2264
|
sharedByPubKey: string;
|
|
2243
2265
|
};
|
|
2244
2266
|
}) | null;
|
|
@@ -2262,7 +2284,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2262
2284
|
userId: string;
|
|
2263
2285
|
};
|
|
2264
2286
|
access: {
|
|
2287
|
+
rights: "admin" | "write" | "read";
|
|
2265
2288
|
nameKey: string | null;
|
|
2289
|
+
isRoot: boolean;
|
|
2266
2290
|
sharedByPubKey: string;
|
|
2267
2291
|
};
|
|
2268
2292
|
})[];
|
|
@@ -2545,7 +2569,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2545
2569
|
userId: string;
|
|
2546
2570
|
};
|
|
2547
2571
|
access: {
|
|
2572
|
+
rights: "admin" | "write" | "read";
|
|
2548
2573
|
nameKey: string | null;
|
|
2574
|
+
isRoot: boolean;
|
|
2549
2575
|
sharedByPubKey: string;
|
|
2550
2576
|
};
|
|
2551
2577
|
} & {
|
|
@@ -2597,7 +2623,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2597
2623
|
userId: string;
|
|
2598
2624
|
};
|
|
2599
2625
|
access: {
|
|
2626
|
+
rights: "admin" | "write" | "read";
|
|
2600
2627
|
nameKey: string | null;
|
|
2628
|
+
isRoot: boolean;
|
|
2601
2629
|
sharedByPubKey: string;
|
|
2602
2630
|
};
|
|
2603
2631
|
}) | null;
|
|
@@ -2621,7 +2649,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2621
2649
|
userId: string;
|
|
2622
2650
|
};
|
|
2623
2651
|
access: {
|
|
2652
|
+
rights: "admin" | "write" | "read";
|
|
2624
2653
|
nameKey: string | null;
|
|
2654
|
+
isRoot: boolean;
|
|
2625
2655
|
sharedByPubKey: string;
|
|
2626
2656
|
};
|
|
2627
2657
|
})[];
|
|
@@ -2646,7 +2676,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2646
2676
|
userId: string;
|
|
2647
2677
|
};
|
|
2648
2678
|
access: {
|
|
2679
|
+
rights: "admin" | "write" | "read";
|
|
2649
2680
|
nameKey: string | null;
|
|
2681
|
+
isRoot: boolean;
|
|
2650
2682
|
sharedByPubKey: string;
|
|
2651
2683
|
};
|
|
2652
2684
|
} & {
|
|
@@ -2698,7 +2730,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2698
2730
|
userId: string;
|
|
2699
2731
|
};
|
|
2700
2732
|
access: {
|
|
2733
|
+
rights: "admin" | "write" | "read";
|
|
2701
2734
|
nameKey: string | null;
|
|
2735
|
+
isRoot: boolean;
|
|
2702
2736
|
sharedByPubKey: string;
|
|
2703
2737
|
};
|
|
2704
2738
|
}) | null;
|
|
@@ -2722,7 +2756,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2722
2756
|
userId: string;
|
|
2723
2757
|
};
|
|
2724
2758
|
access: {
|
|
2759
|
+
rights: "admin" | "write" | "read";
|
|
2725
2760
|
nameKey: string | null;
|
|
2761
|
+
isRoot: boolean;
|
|
2726
2762
|
sharedByPubKey: string;
|
|
2727
2763
|
};
|
|
2728
2764
|
})[];
|
|
@@ -3091,7 +3127,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3091
3127
|
userId: string;
|
|
3092
3128
|
};
|
|
3093
3129
|
access: {
|
|
3130
|
+
rights: "admin" | "write" | "read";
|
|
3094
3131
|
nameKey: string | null;
|
|
3132
|
+
isRoot: boolean;
|
|
3095
3133
|
sharedByPubKey: string;
|
|
3096
3134
|
};
|
|
3097
3135
|
};
|
|
@@ -3115,7 +3153,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3115
3153
|
userId: string;
|
|
3116
3154
|
};
|
|
3117
3155
|
access: {
|
|
3156
|
+
rights: "admin" | "write" | "read";
|
|
3118
3157
|
nameKey: string | null;
|
|
3158
|
+
isRoot: boolean;
|
|
3119
3159
|
sharedByPubKey: string;
|
|
3120
3160
|
};
|
|
3121
3161
|
};
|
|
@@ -3171,7 +3211,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3171
3211
|
userId: string;
|
|
3172
3212
|
};
|
|
3173
3213
|
access: {
|
|
3214
|
+
rights: "admin" | "write" | "read";
|
|
3174
3215
|
nameKey: string | null;
|
|
3216
|
+
isRoot: boolean;
|
|
3175
3217
|
sharedByPubKey: string;
|
|
3176
3218
|
};
|
|
3177
3219
|
} & {
|
|
@@ -3223,7 +3265,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3223
3265
|
userId: string;
|
|
3224
3266
|
};
|
|
3225
3267
|
access: {
|
|
3268
|
+
rights: "admin" | "write" | "read";
|
|
3226
3269
|
nameKey: string | null;
|
|
3270
|
+
isRoot: boolean;
|
|
3227
3271
|
sharedByPubKey: string;
|
|
3228
3272
|
};
|
|
3229
3273
|
}) | null;
|
|
@@ -3247,7 +3291,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3247
3291
|
userId: string;
|
|
3248
3292
|
};
|
|
3249
3293
|
access: {
|
|
3294
|
+
rights: "admin" | "write" | "read";
|
|
3250
3295
|
nameKey: string | null;
|
|
3296
|
+
isRoot: boolean;
|
|
3251
3297
|
sharedByPubKey: string;
|
|
3252
3298
|
};
|
|
3253
3299
|
})[];
|
|
@@ -3272,7 +3318,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3272
3318
|
userId: string;
|
|
3273
3319
|
};
|
|
3274
3320
|
access: {
|
|
3321
|
+
rights: "admin" | "write" | "read";
|
|
3275
3322
|
nameKey: string | null;
|
|
3323
|
+
isRoot: boolean;
|
|
3276
3324
|
sharedByPubKey: string;
|
|
3277
3325
|
};
|
|
3278
3326
|
} & {
|
|
@@ -3324,7 +3372,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3324
3372
|
userId: string;
|
|
3325
3373
|
};
|
|
3326
3374
|
access: {
|
|
3375
|
+
rights: "admin" | "write" | "read";
|
|
3327
3376
|
nameKey: string | null;
|
|
3377
|
+
isRoot: boolean;
|
|
3328
3378
|
sharedByPubKey: string;
|
|
3329
3379
|
};
|
|
3330
3380
|
}) | null;
|
|
@@ -3348,7 +3398,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3348
3398
|
userId: string;
|
|
3349
3399
|
};
|
|
3350
3400
|
access: {
|
|
3401
|
+
rights: "admin" | "write" | "read";
|
|
3351
3402
|
nameKey: string | null;
|
|
3403
|
+
isRoot: boolean;
|
|
3352
3404
|
sharedByPubKey: string;
|
|
3353
3405
|
};
|
|
3354
3406
|
})[];
|
|
@@ -3417,7 +3469,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3417
3469
|
_ctx_out: {};
|
|
3418
3470
|
_input_in: {};
|
|
3419
3471
|
_input_out: {};
|
|
3420
|
-
_output_in: {
|
|
3472
|
+
_output_in: ({
|
|
3421
3473
|
type: "FILE" | "FOLDER";
|
|
3422
3474
|
id: string;
|
|
3423
3475
|
createdAt: Date;
|
|
@@ -3426,8 +3478,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3426
3478
|
updatedAt: Date;
|
|
3427
3479
|
parentId: string | null;
|
|
3428
3480
|
isFavorite: boolean;
|
|
3429
|
-
}
|
|
3430
|
-
|
|
3481
|
+
} & {
|
|
3482
|
+
users: [{
|
|
3483
|
+
id: string;
|
|
3484
|
+
lastname: string;
|
|
3485
|
+
firstname: string;
|
|
3486
|
+
}, "admin" | "write" | "read"][];
|
|
3487
|
+
createdBy: {
|
|
3488
|
+
appId: string;
|
|
3489
|
+
userId: string;
|
|
3490
|
+
};
|
|
3491
|
+
access: {
|
|
3492
|
+
rights: "admin" | "write" | "read";
|
|
3493
|
+
nameKey: string | null;
|
|
3494
|
+
isRoot: boolean;
|
|
3495
|
+
sharedByPubKey: string;
|
|
3496
|
+
};
|
|
3497
|
+
})[];
|
|
3498
|
+
_output_out: ({
|
|
3431
3499
|
type: "FILE" | "FOLDER";
|
|
3432
3500
|
id: string;
|
|
3433
3501
|
createdAt: Date;
|
|
@@ -3436,7 +3504,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3436
3504
|
updatedAt: Date;
|
|
3437
3505
|
parentId: string | null;
|
|
3438
3506
|
isFavorite: boolean;
|
|
3439
|
-
}
|
|
3507
|
+
} & {
|
|
3508
|
+
users: [{
|
|
3509
|
+
id: string;
|
|
3510
|
+
lastname: string;
|
|
3511
|
+
firstname: string;
|
|
3512
|
+
}, "admin" | "write" | "read"][];
|
|
3513
|
+
createdBy: {
|
|
3514
|
+
appId: string;
|
|
3515
|
+
userId: string;
|
|
3516
|
+
};
|
|
3517
|
+
access: {
|
|
3518
|
+
rights: "admin" | "write" | "read";
|
|
3519
|
+
nameKey: string | null;
|
|
3520
|
+
isRoot: boolean;
|
|
3521
|
+
sharedByPubKey: string;
|
|
3522
|
+
};
|
|
3523
|
+
})[];
|
|
3440
3524
|
}, unknown>;
|
|
3441
3525
|
nodesSharedWithMe: _trpc_server.BuildProcedure<"query", {
|
|
3442
3526
|
_config: _trpc_server.RootConfig<{
|
|
@@ -3467,7 +3551,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3467
3551
|
_input_out: {
|
|
3468
3552
|
type: "FILE" | "FOLDER";
|
|
3469
3553
|
};
|
|
3470
|
-
_output_in: {
|
|
3554
|
+
_output_in: ({
|
|
3471
3555
|
type: "FILE" | "FOLDER";
|
|
3472
3556
|
id: string;
|
|
3473
3557
|
createdAt: Date;
|
|
@@ -3476,8 +3560,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3476
3560
|
updatedAt: Date;
|
|
3477
3561
|
parentId: string | null;
|
|
3478
3562
|
isFavorite: boolean;
|
|
3479
|
-
}
|
|
3480
|
-
|
|
3563
|
+
} & {
|
|
3564
|
+
users: [{
|
|
3565
|
+
id: string;
|
|
3566
|
+
lastname: string;
|
|
3567
|
+
firstname: string;
|
|
3568
|
+
}, "admin" | "write" | "read"][];
|
|
3569
|
+
createdBy: {
|
|
3570
|
+
appId: string;
|
|
3571
|
+
userId: string;
|
|
3572
|
+
};
|
|
3573
|
+
access: {
|
|
3574
|
+
rights: "admin" | "write" | "read";
|
|
3575
|
+
nameKey: string | null;
|
|
3576
|
+
isRoot: boolean;
|
|
3577
|
+
sharedByPubKey: string;
|
|
3578
|
+
};
|
|
3579
|
+
})[];
|
|
3580
|
+
_output_out: ({
|
|
3481
3581
|
type: "FILE" | "FOLDER";
|
|
3482
3582
|
id: string;
|
|
3483
3583
|
createdAt: Date;
|
|
@@ -3486,7 +3586,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3486
3586
|
updatedAt: Date;
|
|
3487
3587
|
parentId: string | null;
|
|
3488
3588
|
isFavorite: boolean;
|
|
3489
|
-
}
|
|
3589
|
+
} & {
|
|
3590
|
+
users: [{
|
|
3591
|
+
id: string;
|
|
3592
|
+
lastname: string;
|
|
3593
|
+
firstname: string;
|
|
3594
|
+
}, "admin" | "write" | "read"][];
|
|
3595
|
+
createdBy: {
|
|
3596
|
+
appId: string;
|
|
3597
|
+
userId: string;
|
|
3598
|
+
};
|
|
3599
|
+
access: {
|
|
3600
|
+
rights: "admin" | "write" | "read";
|
|
3601
|
+
nameKey: string | null;
|
|
3602
|
+
isRoot: boolean;
|
|
3603
|
+
sharedByPubKey: string;
|
|
3604
|
+
};
|
|
3605
|
+
})[];
|
|
3490
3606
|
}, unknown>;
|
|
3491
3607
|
nodesShared: _trpc_server.BuildProcedure<"query", {
|
|
3492
3608
|
_config: _trpc_server.RootConfig<{
|
|
@@ -3513,7 +3629,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3513
3629
|
_ctx_out: {};
|
|
3514
3630
|
_input_in: typeof _trpc_server.unsetMarker;
|
|
3515
3631
|
_input_out: typeof _trpc_server.unsetMarker;
|
|
3516
|
-
_output_in: {
|
|
3632
|
+
_output_in: ({
|
|
3517
3633
|
type: "FILE" | "FOLDER";
|
|
3518
3634
|
id: string;
|
|
3519
3635
|
createdAt: Date;
|
|
@@ -3522,8 +3638,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3522
3638
|
updatedAt: Date;
|
|
3523
3639
|
parentId: string | null;
|
|
3524
3640
|
isFavorite: boolean;
|
|
3525
|
-
}
|
|
3526
|
-
|
|
3641
|
+
} & {
|
|
3642
|
+
users: [{
|
|
3643
|
+
id: string;
|
|
3644
|
+
lastname: string;
|
|
3645
|
+
firstname: string;
|
|
3646
|
+
}, "admin" | "write" | "read"][];
|
|
3647
|
+
createdBy: {
|
|
3648
|
+
appId: string;
|
|
3649
|
+
userId: string;
|
|
3650
|
+
};
|
|
3651
|
+
access: {
|
|
3652
|
+
rights: "admin" | "write" | "read";
|
|
3653
|
+
nameKey: string | null;
|
|
3654
|
+
isRoot: boolean;
|
|
3655
|
+
sharedByPubKey: string;
|
|
3656
|
+
};
|
|
3657
|
+
})[];
|
|
3658
|
+
_output_out: ({
|
|
3527
3659
|
type: "FILE" | "FOLDER";
|
|
3528
3660
|
id: string;
|
|
3529
3661
|
createdAt: Date;
|
|
@@ -3532,7 +3664,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3532
3664
|
updatedAt: Date;
|
|
3533
3665
|
parentId: string | null;
|
|
3534
3666
|
isFavorite: boolean;
|
|
3535
|
-
}
|
|
3667
|
+
} & {
|
|
3668
|
+
users: [{
|
|
3669
|
+
id: string;
|
|
3670
|
+
lastname: string;
|
|
3671
|
+
firstname: string;
|
|
3672
|
+
}, "admin" | "write" | "read"][];
|
|
3673
|
+
createdBy: {
|
|
3674
|
+
appId: string;
|
|
3675
|
+
userId: string;
|
|
3676
|
+
};
|
|
3677
|
+
access: {
|
|
3678
|
+
rights: "admin" | "write" | "read";
|
|
3679
|
+
nameKey: string | null;
|
|
3680
|
+
isRoot: boolean;
|
|
3681
|
+
sharedByPubKey: string;
|
|
3682
|
+
};
|
|
3683
|
+
})[];
|
|
3536
3684
|
}, unknown>;
|
|
3537
3685
|
recoverNode: _trpc_server.BuildProcedure<"mutation", {
|
|
3538
3686
|
_config: _trpc_server.RootConfig<{
|
|
@@ -3717,7 +3865,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3717
3865
|
userId: string;
|
|
3718
3866
|
};
|
|
3719
3867
|
access: {
|
|
3868
|
+
rights: "admin" | "write" | "read";
|
|
3720
3869
|
nameKey: string | null;
|
|
3870
|
+
isRoot: boolean;
|
|
3721
3871
|
sharedByPubKey: string;
|
|
3722
3872
|
};
|
|
3723
3873
|
} & {
|
|
@@ -3769,7 +3919,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3769
3919
|
userId: string;
|
|
3770
3920
|
};
|
|
3771
3921
|
access: {
|
|
3922
|
+
rights: "admin" | "write" | "read";
|
|
3772
3923
|
nameKey: string | null;
|
|
3924
|
+
isRoot: boolean;
|
|
3773
3925
|
sharedByPubKey: string;
|
|
3774
3926
|
};
|
|
3775
3927
|
}) | null;
|
|
@@ -3793,7 +3945,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3793
3945
|
userId: string;
|
|
3794
3946
|
};
|
|
3795
3947
|
access: {
|
|
3948
|
+
rights: "admin" | "write" | "read";
|
|
3796
3949
|
nameKey: string | null;
|
|
3950
|
+
isRoot: boolean;
|
|
3797
3951
|
sharedByPubKey: string;
|
|
3798
3952
|
};
|
|
3799
3953
|
})[];
|
|
@@ -3818,7 +3972,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3818
3972
|
userId: string;
|
|
3819
3973
|
};
|
|
3820
3974
|
access: {
|
|
3975
|
+
rights: "admin" | "write" | "read";
|
|
3821
3976
|
nameKey: string | null;
|
|
3977
|
+
isRoot: boolean;
|
|
3822
3978
|
sharedByPubKey: string;
|
|
3823
3979
|
};
|
|
3824
3980
|
} & {
|
|
@@ -3870,7 +4026,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3870
4026
|
userId: string;
|
|
3871
4027
|
};
|
|
3872
4028
|
access: {
|
|
4029
|
+
rights: "admin" | "write" | "read";
|
|
3873
4030
|
nameKey: string | null;
|
|
4031
|
+
isRoot: boolean;
|
|
3874
4032
|
sharedByPubKey: string;
|
|
3875
4033
|
};
|
|
3876
4034
|
}) | null;
|
|
@@ -3894,7 +4052,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3894
4052
|
userId: string;
|
|
3895
4053
|
};
|
|
3896
4054
|
access: {
|
|
4055
|
+
rights: "admin" | "write" | "read";
|
|
3897
4056
|
nameKey: string | null;
|
|
4057
|
+
isRoot: boolean;
|
|
3898
4058
|
sharedByPubKey: string;
|
|
3899
4059
|
};
|
|
3900
4060
|
})[];
|
|
@@ -5329,32 +5489,80 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5329
5489
|
_ctx_out: {};
|
|
5330
5490
|
_input_in: {};
|
|
5331
5491
|
_input_out: {};
|
|
5332
|
-
_output_in: {
|
|
5492
|
+
_output_in: ({
|
|
5333
5493
|
type: "received" | "sent";
|
|
5334
5494
|
id: string;
|
|
5335
5495
|
createdAt: Date;
|
|
5336
5496
|
deletedAt: Date | null;
|
|
5337
5497
|
subject: string;
|
|
5338
5498
|
body: string;
|
|
5339
|
-
senderId: string;
|
|
5340
|
-
recipientId: string;
|
|
5341
5499
|
openedAt: Date | null;
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5500
|
+
} & {
|
|
5501
|
+
mailIntegrity: {
|
|
5502
|
+
id: string;
|
|
5503
|
+
hashKey: string;
|
|
5504
|
+
hash: string;
|
|
5505
|
+
replyTo: {
|
|
5506
|
+
id: string;
|
|
5507
|
+
} | null;
|
|
5508
|
+
temporaryRecipients: {
|
|
5509
|
+
email: string | null;
|
|
5510
|
+
}[];
|
|
5511
|
+
} | null;
|
|
5512
|
+
mailIntegrityDraft: {
|
|
5513
|
+
id: string;
|
|
5514
|
+
hashKey: string;
|
|
5515
|
+
hash: string;
|
|
5516
|
+
replyTo: {
|
|
5517
|
+
id: string;
|
|
5518
|
+
} | null;
|
|
5519
|
+
temporaryRecipients: {
|
|
5520
|
+
email: string | null;
|
|
5521
|
+
}[];
|
|
5522
|
+
} | null;
|
|
5523
|
+
files: {
|
|
5524
|
+
fileId: string;
|
|
5525
|
+
filename: string;
|
|
5526
|
+
fileKey: string;
|
|
5527
|
+
}[];
|
|
5528
|
+
})[];
|
|
5529
|
+
_output_out: ({
|
|
5346
5530
|
type: "received" | "sent";
|
|
5347
5531
|
id: string;
|
|
5348
5532
|
createdAt: Date;
|
|
5349
5533
|
deletedAt: Date | null;
|
|
5350
5534
|
subject: string;
|
|
5351
5535
|
body: string;
|
|
5352
|
-
senderId: string;
|
|
5353
|
-
recipientId: string;
|
|
5354
5536
|
openedAt: Date | null;
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5537
|
+
} & {
|
|
5538
|
+
mailIntegrity: {
|
|
5539
|
+
id: string;
|
|
5540
|
+
hashKey: string;
|
|
5541
|
+
hash: string;
|
|
5542
|
+
replyTo: {
|
|
5543
|
+
id: string;
|
|
5544
|
+
} | null;
|
|
5545
|
+
temporaryRecipients: {
|
|
5546
|
+
email: string | null;
|
|
5547
|
+
}[];
|
|
5548
|
+
} | null;
|
|
5549
|
+
mailIntegrityDraft: {
|
|
5550
|
+
id: string;
|
|
5551
|
+
hashKey: string;
|
|
5552
|
+
hash: string;
|
|
5553
|
+
replyTo: {
|
|
5554
|
+
id: string;
|
|
5555
|
+
} | null;
|
|
5556
|
+
temporaryRecipients: {
|
|
5557
|
+
email: string | null;
|
|
5558
|
+
}[];
|
|
5559
|
+
} | null;
|
|
5560
|
+
files: {
|
|
5561
|
+
fileId: string;
|
|
5562
|
+
filename: string;
|
|
5563
|
+
fileKey: string;
|
|
5564
|
+
}[];
|
|
5565
|
+
})[];
|
|
5358
5566
|
}, unknown>;
|
|
5359
5567
|
recover: _trpc_server.BuildProcedure<"mutation", {
|
|
5360
5568
|
_config: _trpc_server.RootConfig<{
|
|
@@ -5577,32 +5785,80 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5577
5785
|
_ctx_out: {};
|
|
5578
5786
|
_input_in: {};
|
|
5579
5787
|
_input_out: {};
|
|
5580
|
-
_output_in: {
|
|
5788
|
+
_output_in: ({
|
|
5581
5789
|
type: "received" | "sent";
|
|
5582
5790
|
id: string;
|
|
5583
5791
|
createdAt: Date;
|
|
5584
5792
|
deletedAt: Date | null;
|
|
5585
5793
|
subject: string;
|
|
5586
5794
|
body: string;
|
|
5587
|
-
senderId: string;
|
|
5588
|
-
recipientId: string;
|
|
5589
5795
|
openedAt: Date | null;
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5796
|
+
} & {
|
|
5797
|
+
mailIntegrity: {
|
|
5798
|
+
id: string;
|
|
5799
|
+
hashKey: string;
|
|
5800
|
+
hash: string;
|
|
5801
|
+
replyTo: {
|
|
5802
|
+
id: string;
|
|
5803
|
+
} | null;
|
|
5804
|
+
temporaryRecipients: {
|
|
5805
|
+
email: string | null;
|
|
5806
|
+
}[];
|
|
5807
|
+
} | null;
|
|
5808
|
+
mailIntegrityDraft: {
|
|
5809
|
+
id: string;
|
|
5810
|
+
hashKey: string;
|
|
5811
|
+
hash: string;
|
|
5812
|
+
replyTo: {
|
|
5813
|
+
id: string;
|
|
5814
|
+
} | null;
|
|
5815
|
+
temporaryRecipients: {
|
|
5816
|
+
email: string | null;
|
|
5817
|
+
}[];
|
|
5818
|
+
} | null;
|
|
5819
|
+
files: {
|
|
5820
|
+
fileId: string;
|
|
5821
|
+
filename: string;
|
|
5822
|
+
fileKey: string;
|
|
5823
|
+
}[];
|
|
5824
|
+
})[];
|
|
5825
|
+
_output_out: ({
|
|
5594
5826
|
type: "received" | "sent";
|
|
5595
5827
|
id: string;
|
|
5596
5828
|
createdAt: Date;
|
|
5597
5829
|
deletedAt: Date | null;
|
|
5598
5830
|
subject: string;
|
|
5599
5831
|
body: string;
|
|
5600
|
-
senderId: string;
|
|
5601
|
-
recipientId: string;
|
|
5602
5832
|
openedAt: Date | null;
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5833
|
+
} & {
|
|
5834
|
+
mailIntegrity: {
|
|
5835
|
+
id: string;
|
|
5836
|
+
hashKey: string;
|
|
5837
|
+
hash: string;
|
|
5838
|
+
replyTo: {
|
|
5839
|
+
id: string;
|
|
5840
|
+
} | null;
|
|
5841
|
+
temporaryRecipients: {
|
|
5842
|
+
email: string | null;
|
|
5843
|
+
}[];
|
|
5844
|
+
} | null;
|
|
5845
|
+
mailIntegrityDraft: {
|
|
5846
|
+
id: string;
|
|
5847
|
+
hashKey: string;
|
|
5848
|
+
hash: string;
|
|
5849
|
+
replyTo: {
|
|
5850
|
+
id: string;
|
|
5851
|
+
} | null;
|
|
5852
|
+
temporaryRecipients: {
|
|
5853
|
+
email: string | null;
|
|
5854
|
+
}[];
|
|
5855
|
+
} | null;
|
|
5856
|
+
files: {
|
|
5857
|
+
fileId: string;
|
|
5858
|
+
filename: string;
|
|
5859
|
+
fileKey: string;
|
|
5860
|
+
}[];
|
|
5861
|
+
})[];
|
|
5606
5862
|
}, unknown>;
|
|
5607
5863
|
unreadReceivedCount: _trpc_server.BuildProcedure<"query", {
|
|
5608
5864
|
_config: _trpc_server.RootConfig<{
|