@secrecy/trpc-api-types 1.6.0-integration-prisma-selectors.5 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +108 -12
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3469,7 +3469,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3469
3469
  _ctx_out: {};
3470
3470
  _input_in: {};
3471
3471
  _input_out: {};
3472
- _output_in: {
3472
+ _output_in: ({
3473
3473
  type: "FILE" | "FOLDER";
3474
3474
  id: string;
3475
3475
  createdAt: Date;
@@ -3478,8 +3478,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3478
3478
  updatedAt: Date;
3479
3479
  parentId: string | null;
3480
3480
  isFavorite: boolean;
3481
- }[];
3482
- _output_out: {
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: ({
3483
3499
  type: "FILE" | "FOLDER";
3484
3500
  id: string;
3485
3501
  createdAt: Date;
@@ -3488,7 +3504,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3488
3504
  updatedAt: Date;
3489
3505
  parentId: string | null;
3490
3506
  isFavorite: boolean;
3491
- }[];
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
+ })[];
3492
3524
  }, unknown>;
3493
3525
  nodesSharedWithMe: _trpc_server.BuildProcedure<"query", {
3494
3526
  _config: _trpc_server.RootConfig<{
@@ -3519,7 +3551,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3519
3551
  _input_out: {
3520
3552
  type: "FILE" | "FOLDER";
3521
3553
  };
3522
- _output_in: {
3554
+ _output_in: ({
3523
3555
  type: "FILE" | "FOLDER";
3524
3556
  id: string;
3525
3557
  createdAt: Date;
@@ -3528,8 +3560,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3528
3560
  updatedAt: Date;
3529
3561
  parentId: string | null;
3530
3562
  isFavorite: boolean;
3531
- }[];
3532
- _output_out: {
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: ({
3533
3581
  type: "FILE" | "FOLDER";
3534
3582
  id: string;
3535
3583
  createdAt: Date;
@@ -3538,7 +3586,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3538
3586
  updatedAt: Date;
3539
3587
  parentId: string | null;
3540
3588
  isFavorite: boolean;
3541
- }[];
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
+ })[];
3542
3606
  }, unknown>;
3543
3607
  nodesShared: _trpc_server.BuildProcedure<"query", {
3544
3608
  _config: _trpc_server.RootConfig<{
@@ -3565,7 +3629,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3565
3629
  _ctx_out: {};
3566
3630
  _input_in: typeof _trpc_server.unsetMarker;
3567
3631
  _input_out: typeof _trpc_server.unsetMarker;
3568
- _output_in: {
3632
+ _output_in: ({
3569
3633
  type: "FILE" | "FOLDER";
3570
3634
  id: string;
3571
3635
  createdAt: Date;
@@ -3574,8 +3638,24 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3574
3638
  updatedAt: Date;
3575
3639
  parentId: string | null;
3576
3640
  isFavorite: boolean;
3577
- }[];
3578
- _output_out: {
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: ({
3579
3659
  type: "FILE" | "FOLDER";
3580
3660
  id: string;
3581
3661
  createdAt: Date;
@@ -3584,7 +3664,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3584
3664
  updatedAt: Date;
3585
3665
  parentId: string | null;
3586
3666
  isFavorite: boolean;
3587
- }[];
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
+ })[];
3588
3684
  }, unknown>;
3589
3685
  recoverNode: _trpc_server.BuildProcedure<"mutation", {
3590
3686
  _config: _trpc_server.RootConfig<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.6.0-integration-prisma-selectors.5",
3
+ "version": "1.6.0-integration-prisma-selectors.6",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"