@secrecy/lib 1.29.0-feat-add-manage-user-data.1 → 1.29.0-feat-manage-user-data.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/types/client.d.ts +60 -0
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -4971,9 +4971,13 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
4971
4971
|
};
|
|
4972
4972
|
_input_in: {
|
|
4973
4973
|
id: string;
|
|
4974
|
+
} & {
|
|
4975
|
+
force?: boolean | undefined;
|
|
4974
4976
|
};
|
|
4975
4977
|
_input_out: {
|
|
4976
4978
|
id: string;
|
|
4979
|
+
} & {
|
|
4980
|
+
force?: boolean | undefined;
|
|
4977
4981
|
};
|
|
4978
4982
|
_output_in: {
|
|
4979
4983
|
isDeleted: boolean;
|
|
@@ -18185,6 +18189,62 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
18185
18189
|
};
|
|
18186
18190
|
}, unknown>>;
|
|
18187
18191
|
};
|
|
18192
|
+
myApps: {
|
|
18193
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
18194
|
+
_config: import("@trpc/server").RootConfig<{
|
|
18195
|
+
ctx: {
|
|
18196
|
+
req: {
|
|
18197
|
+
headers: Headers;
|
|
18198
|
+
body: ReadableStream<Uint8Array> | null;
|
|
18199
|
+
};
|
|
18200
|
+
res: {
|
|
18201
|
+
headers: Headers;
|
|
18202
|
+
};
|
|
18203
|
+
session: SecrecySession | null;
|
|
18204
|
+
locale: Locales;
|
|
18205
|
+
ls: TranslationFunctions;
|
|
18206
|
+
};
|
|
18207
|
+
meta: object;
|
|
18208
|
+
errorShape: {
|
|
18209
|
+
message: string;
|
|
18210
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
18211
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
18212
|
+
} | {
|
|
18213
|
+
data: {
|
|
18214
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
18215
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
18216
|
+
httpStatus: number;
|
|
18217
|
+
path?: string;
|
|
18218
|
+
stack?: string;
|
|
18219
|
+
};
|
|
18220
|
+
message: string;
|
|
18221
|
+
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
18222
|
+
};
|
|
18223
|
+
transformer: typeof superjson;
|
|
18224
|
+
}>;
|
|
18225
|
+
_meta: object;
|
|
18226
|
+
_ctx_out: {
|
|
18227
|
+
session: SecrecySession;
|
|
18228
|
+
req: {
|
|
18229
|
+
headers: Headers;
|
|
18230
|
+
body: ReadableStream<Uint8Array> | null;
|
|
18231
|
+
};
|
|
18232
|
+
res: {
|
|
18233
|
+
headers: Headers;
|
|
18234
|
+
};
|
|
18235
|
+
locale: Locales;
|
|
18236
|
+
ls: TranslationFunctions;
|
|
18237
|
+
};
|
|
18238
|
+
_input_in: {};
|
|
18239
|
+
_input_out: {};
|
|
18240
|
+
_output_in: {
|
|
18241
|
+
apps: Record<string, string>;
|
|
18242
|
+
};
|
|
18243
|
+
_output_out: {
|
|
18244
|
+
apps: Record<string, string>;
|
|
18245
|
+
};
|
|
18246
|
+
}, unknown>>;
|
|
18247
|
+
};
|
|
18188
18248
|
};
|
|
18189
18249
|
};
|
|
18190
18250
|
export type ApiClient = ReturnType<typeof createTRPCClient>;
|
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.29.0-feat-
|
|
5
|
+
"version": "1.29.0-feat-manage-user-data.2",
|
|
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-add-manage-user-data.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.27.0-feat-add-manage-user-data.2",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|