@secrecy/trpc-api-types 1.6.0-integration-prisma-selectors.5 → 1.6.0-integration-prisma-selectors.7
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 +116 -20
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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<{
|
|
@@ -4508,15 +4604,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4508
4604
|
_meta: object;
|
|
4509
4605
|
_ctx_out: {};
|
|
4510
4606
|
_input_in: {
|
|
4511
|
-
appId: string;
|
|
4512
4607
|
field: string;
|
|
4608
|
+
appId?: string | undefined;
|
|
4513
4609
|
userId?: string | undefined;
|
|
4514
4610
|
env?: MongoDbEnv | undefined;
|
|
4515
4611
|
};
|
|
4516
4612
|
_input_out: {
|
|
4517
|
-
appId: string;
|
|
4518
4613
|
field: string;
|
|
4519
4614
|
env: MongoDbEnv;
|
|
4615
|
+
appId?: string | undefined;
|
|
4520
4616
|
userId?: string | undefined;
|
|
4521
4617
|
};
|
|
4522
4618
|
_output_in: {
|
|
@@ -4550,22 +4646,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4550
4646
|
_meta: object;
|
|
4551
4647
|
_ctx_out: {};
|
|
4552
4648
|
_input_in: {
|
|
4553
|
-
appId: string;
|
|
4554
4649
|
orderBy: string | null;
|
|
4555
4650
|
take: number | null;
|
|
4556
4651
|
skip: number | null;
|
|
4557
4652
|
search: string;
|
|
4558
4653
|
field: string;
|
|
4654
|
+
appId?: string | undefined;
|
|
4559
4655
|
env?: MongoDbEnv | undefined;
|
|
4560
4656
|
};
|
|
4561
4657
|
_input_out: {
|
|
4562
|
-
appId: string;
|
|
4563
4658
|
orderBy: string | null;
|
|
4564
4659
|
take: number | null;
|
|
4565
4660
|
skip: number | null;
|
|
4566
4661
|
search: string;
|
|
4567
4662
|
field: string;
|
|
4568
4663
|
env: MongoDbEnv;
|
|
4664
|
+
appId?: string | undefined;
|
|
4569
4665
|
};
|
|
4570
4666
|
_output_in: ({
|
|
4571
4667
|
id: string;
|
|
@@ -4599,15 +4695,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4599
4695
|
_ctx_out: {};
|
|
4600
4696
|
_input_in: {
|
|
4601
4697
|
value: string;
|
|
4602
|
-
appId
|
|
4603
|
-
userId
|
|
4698
|
+
appId?: string | undefined;
|
|
4699
|
+
userId?: string | undefined;
|
|
4604
4700
|
env?: MongoDbEnv | undefined;
|
|
4605
4701
|
};
|
|
4606
4702
|
_input_out: {
|
|
4607
4703
|
value: string;
|
|
4608
|
-
appId: string;
|
|
4609
|
-
userId: string;
|
|
4610
4704
|
env: MongoDbEnv;
|
|
4705
|
+
appId?: string | undefined;
|
|
4706
|
+
userId?: string | undefined;
|
|
4611
4707
|
};
|
|
4612
4708
|
_output_in: {
|
|
4613
4709
|
id: string;
|