@secrecy/trpc-api-types 1.9.2-integration-dev-role.1 → 1.9.2
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 +14 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3090,22 +3090,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3090
3090
|
id: string;
|
|
3091
3091
|
};
|
|
3092
3092
|
_output_in: {
|
|
3093
|
+
rights: "admin" | "write" | "read";
|
|
3093
3094
|
userAppUserId: string;
|
|
3094
3095
|
userAppAppId: string;
|
|
3095
3096
|
sharedByUserId: string;
|
|
3096
3097
|
sharedByAppId: string;
|
|
3097
3098
|
nodeId: string;
|
|
3098
|
-
rights: "admin" | "write" | "read";
|
|
3099
3099
|
nameKey: string | null;
|
|
3100
3100
|
isRoot: boolean;
|
|
3101
3101
|
};
|
|
3102
3102
|
_output_out: {
|
|
3103
|
+
rights: "admin" | "write" | "read";
|
|
3103
3104
|
userAppUserId: string;
|
|
3104
3105
|
userAppAppId: string;
|
|
3105
3106
|
sharedByUserId: string;
|
|
3106
3107
|
sharedByAppId: string;
|
|
3107
3108
|
nodeId: string;
|
|
3108
|
-
rights: "admin" | "write" | "read";
|
|
3109
3109
|
nameKey: string | null;
|
|
3110
3110
|
isRoot: boolean;
|
|
3111
3111
|
};
|
|
@@ -3829,6 +3829,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3829
3829
|
_ctx_out: {};
|
|
3830
3830
|
_input_in: {
|
|
3831
3831
|
userId: string;
|
|
3832
|
+
rights: "admin" | "write" | "read";
|
|
3832
3833
|
nodes: {
|
|
3833
3834
|
id: string;
|
|
3834
3835
|
files: {
|
|
@@ -3837,10 +3838,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3837
3838
|
}[];
|
|
3838
3839
|
nameKey: string;
|
|
3839
3840
|
}[];
|
|
3840
|
-
rights: "admin" | "write" | "read";
|
|
3841
3841
|
};
|
|
3842
3842
|
_input_out: {
|
|
3843
3843
|
userId: string;
|
|
3844
|
+
rights: "admin" | "write" | "read";
|
|
3844
3845
|
nodes: {
|
|
3845
3846
|
id: string;
|
|
3846
3847
|
files: {
|
|
@@ -3849,7 +3850,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3849
3850
|
}[];
|
|
3850
3851
|
nameKey: string;
|
|
3851
3852
|
}[];
|
|
3852
|
-
rights: "admin" | "write" | "read";
|
|
3853
3853
|
};
|
|
3854
3854
|
_output_in: {
|
|
3855
3855
|
isFinished: boolean;
|
|
@@ -8901,13 +8901,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
8901
8901
|
_ctx_out: {};
|
|
8902
8902
|
_input_in: {
|
|
8903
8903
|
userId: string;
|
|
8904
|
-
|
|
8904
|
+
userRole: "user" | "admin";
|
|
8905
8905
|
appCode: string;
|
|
8906
|
+
userRights: "admin" | "write" | "read";
|
|
8906
8907
|
};
|
|
8907
8908
|
_input_out: {
|
|
8908
8909
|
userId: string;
|
|
8909
|
-
|
|
8910
|
+
userRole: "user" | "admin";
|
|
8910
8911
|
appCode: string;
|
|
8912
|
+
userRights: "admin" | "write" | "read";
|
|
8911
8913
|
};
|
|
8912
8914
|
_output_in: {
|
|
8913
8915
|
isAdded: boolean;
|
|
@@ -9290,7 +9292,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9290
9292
|
origin: string;
|
|
9291
9293
|
collaborators: {
|
|
9292
9294
|
userId: string;
|
|
9293
|
-
role: "
|
|
9295
|
+
role: "user" | "admin";
|
|
9294
9296
|
}[];
|
|
9295
9297
|
};
|
|
9296
9298
|
_input_out: {
|
|
@@ -9300,7 +9302,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9300
9302
|
origin: string;
|
|
9301
9303
|
collaborators: {
|
|
9302
9304
|
userId: string;
|
|
9303
|
-
role: "
|
|
9305
|
+
role: "user" | "admin";
|
|
9304
9306
|
}[];
|
|
9305
9307
|
};
|
|
9306
9308
|
_output_in: {
|
|
@@ -9664,12 +9666,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9664
9666
|
_input_in: {
|
|
9665
9667
|
developerId: string;
|
|
9666
9668
|
appCode: string;
|
|
9667
|
-
|
|
9669
|
+
userRole?: "user" | "admin" | undefined;
|
|
9670
|
+
userRights?: "admin" | "write" | "read" | undefined;
|
|
9668
9671
|
};
|
|
9669
9672
|
_input_out: {
|
|
9670
9673
|
developerId: string;
|
|
9671
9674
|
appCode: string;
|
|
9672
|
-
|
|
9675
|
+
userRole?: "user" | "admin" | undefined;
|
|
9676
|
+
userRights?: "admin" | "write" | "read" | undefined;
|
|
9673
9677
|
};
|
|
9674
9678
|
_output_in: {
|
|
9675
9679
|
isUpdated: boolean;
|