@secrecy/lib 1.26.0 → 1.27.0
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/types/client.d.ts +61 -1
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
130
130
|
}, unknown>>;
|
|
131
131
|
};
|
|
132
132
|
getUsers: {
|
|
133
|
-
|
|
133
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
134
134
|
_config: import("@trpc/server").RootConfig<{
|
|
135
135
|
ctx: {
|
|
136
136
|
req: {
|
|
@@ -2197,6 +2197,66 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
2197
2197
|
_output_out: {};
|
|
2198
2198
|
}, {}>>;
|
|
2199
2199
|
};
|
|
2200
|
+
changeUser: {
|
|
2201
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
2202
|
+
_config: import("@trpc/server").RootConfig<{
|
|
2203
|
+
ctx: {
|
|
2204
|
+
req: {
|
|
2205
|
+
headers: Headers;
|
|
2206
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2207
|
+
};
|
|
2208
|
+
res: {
|
|
2209
|
+
headers: Headers;
|
|
2210
|
+
};
|
|
2211
|
+
session: SecrecySession | null;
|
|
2212
|
+
locale: Locales;
|
|
2213
|
+
ls: TranslationFunctions;
|
|
2214
|
+
};
|
|
2215
|
+
meta: object;
|
|
2216
|
+
errorShape: {
|
|
2217
|
+
message: string;
|
|
2218
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2219
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2220
|
+
} | {
|
|
2221
|
+
data: {
|
|
2222
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
2223
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
2224
|
+
httpStatus: number;
|
|
2225
|
+
path?: string;
|
|
2226
|
+
stack?: string;
|
|
2227
|
+
};
|
|
2228
|
+
message: string;
|
|
2229
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
2230
|
+
};
|
|
2231
|
+
transformer: typeof superjson;
|
|
2232
|
+
}>;
|
|
2233
|
+
_meta: object;
|
|
2234
|
+
_ctx_out: {
|
|
2235
|
+
session: SecrecySession;
|
|
2236
|
+
req: {
|
|
2237
|
+
headers: Headers;
|
|
2238
|
+
body: ReadableStream<Uint8Array> | null;
|
|
2239
|
+
};
|
|
2240
|
+
res: {
|
|
2241
|
+
headers: Headers;
|
|
2242
|
+
};
|
|
2243
|
+
locale: Locales;
|
|
2244
|
+
ls: TranslationFunctions;
|
|
2245
|
+
};
|
|
2246
|
+
_input_in: {
|
|
2247
|
+
userId: string;
|
|
2248
|
+
};
|
|
2249
|
+
_input_out: {
|
|
2250
|
+
userId: string;
|
|
2251
|
+
};
|
|
2252
|
+
_output_in: {
|
|
2253
|
+
sessionId: string;
|
|
2254
|
+
};
|
|
2255
|
+
_output_out: {
|
|
2256
|
+
sessionId: string;
|
|
2257
|
+
};
|
|
2258
|
+
}, unknown>>;
|
|
2259
|
+
};
|
|
2200
2260
|
};
|
|
2201
2261
|
blog: {
|
|
2202
2262
|
all: {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@secrecy/lib",
|
|
3
3
|
"author": "Anonymize <anonymize@gmail.com>",
|
|
4
4
|
"description": "Anonymize Secrecy Library",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.27.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@secrecy/lib-utils": "^1.0.18",
|
|
77
|
-
"@secrecy/trpc-api-types": "1.27.0-feat-users-management.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.27.0-feat-users-management.3",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|