@secrecy/trpc-api-types 1.27.0-feat-users-management.3 → 1.27.0-feat-data-search-bread.1
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.cts +21 -137
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -186,72 +186,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
186
186
|
isDeleted: boolean;
|
|
187
187
|
};
|
|
188
188
|
}, unknown>;
|
|
189
|
-
getUsers: _trpc_server.BuildProcedure<"query", {
|
|
190
|
-
_config: _trpc_server.RootConfig<{
|
|
191
|
-
ctx: {
|
|
192
|
-
req: {
|
|
193
|
-
headers: Headers;
|
|
194
|
-
body: ReadableStream<Uint8Array> | null;
|
|
195
|
-
};
|
|
196
|
-
res: {
|
|
197
|
-
headers: Headers;
|
|
198
|
-
};
|
|
199
|
-
session: SecrecySession | null;
|
|
200
|
-
locale: Locales;
|
|
201
|
-
ls: TranslationFunctions;
|
|
202
|
-
};
|
|
203
|
-
meta: object;
|
|
204
|
-
errorShape: {
|
|
205
|
-
message: string;
|
|
206
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
207
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
208
|
-
} | {
|
|
209
|
-
data: {
|
|
210
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
211
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
212
|
-
httpStatus: number;
|
|
213
|
-
path?: string;
|
|
214
|
-
stack?: string;
|
|
215
|
-
};
|
|
216
|
-
message: string;
|
|
217
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
218
|
-
};
|
|
219
|
-
transformer: typeof superjson.default;
|
|
220
|
-
}>;
|
|
221
|
-
_meta: object;
|
|
222
|
-
_ctx_out: {
|
|
223
|
-
session: SecrecySession;
|
|
224
|
-
req: {
|
|
225
|
-
headers: Headers;
|
|
226
|
-
body: ReadableStream<Uint8Array> | null;
|
|
227
|
-
};
|
|
228
|
-
res: {
|
|
229
|
-
headers: Headers;
|
|
230
|
-
};
|
|
231
|
-
locale: Locales;
|
|
232
|
-
ls: TranslationFunctions;
|
|
233
|
-
};
|
|
234
|
-
_input_in: {};
|
|
235
|
-
_input_out: {};
|
|
236
|
-
_output_in: {
|
|
237
|
-
users: {
|
|
238
|
-
id: string;
|
|
239
|
-
lastname: string;
|
|
240
|
-
firstname: string;
|
|
241
|
-
avatar: string | null;
|
|
242
|
-
isSearchable: boolean;
|
|
243
|
-
}[];
|
|
244
|
-
};
|
|
245
|
-
_output_out: {
|
|
246
|
-
users: {
|
|
247
|
-
id: string;
|
|
248
|
-
lastname: string;
|
|
249
|
-
firstname: string;
|
|
250
|
-
avatar: string | null;
|
|
251
|
-
isSearchable: boolean;
|
|
252
|
-
}[];
|
|
253
|
-
};
|
|
254
|
-
}, unknown>;
|
|
255
189
|
}>;
|
|
256
190
|
application: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
257
191
|
ctx: {
|
|
@@ -1666,13 +1600,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1666
1600
|
email: string;
|
|
1667
1601
|
};
|
|
1668
1602
|
_output_in: {
|
|
1669
|
-
srpSalt: string;
|
|
1670
1603
|
pub: string;
|
|
1604
|
+
srpSalt: string;
|
|
1671
1605
|
loginId: string;
|
|
1672
1606
|
};
|
|
1673
1607
|
_output_out: {
|
|
1674
|
-
srpSalt: string;
|
|
1675
1608
|
pub: string;
|
|
1609
|
+
srpSalt: string;
|
|
1676
1610
|
loginId: string;
|
|
1677
1611
|
};
|
|
1678
1612
|
}, unknown>;
|
|
@@ -1734,8 +1668,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1734
1668
|
id: string;
|
|
1735
1669
|
lastname: string;
|
|
1736
1670
|
firstname: string;
|
|
1737
|
-
avatar: string | null;
|
|
1738
|
-
isSearchable: boolean;
|
|
1739
1671
|
}[];
|
|
1740
1672
|
loginToken: string;
|
|
1741
1673
|
};
|
|
@@ -1744,8 +1676,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1744
1676
|
id: string;
|
|
1745
1677
|
lastname: string;
|
|
1746
1678
|
firstname: string;
|
|
1747
|
-
avatar: string | null;
|
|
1748
|
-
isSearchable: boolean;
|
|
1749
1679
|
}[];
|
|
1750
1680
|
loginToken: string;
|
|
1751
1681
|
};
|
|
@@ -2316,64 +2246,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2316
2246
|
_output_in: {};
|
|
2317
2247
|
_output_out: {};
|
|
2318
2248
|
}, {}>;
|
|
2319
|
-
changeUser: _trpc_server.BuildProcedure<"mutation", {
|
|
2320
|
-
_config: _trpc_server.RootConfig<{
|
|
2321
|
-
ctx: {
|
|
2322
|
-
req: {
|
|
2323
|
-
headers: Headers;
|
|
2324
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2325
|
-
};
|
|
2326
|
-
res: {
|
|
2327
|
-
headers: Headers;
|
|
2328
|
-
};
|
|
2329
|
-
session: SecrecySession | null;
|
|
2330
|
-
locale: Locales;
|
|
2331
|
-
ls: TranslationFunctions;
|
|
2332
|
-
};
|
|
2333
|
-
meta: object;
|
|
2334
|
-
errorShape: {
|
|
2335
|
-
message: string;
|
|
2336
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2337
|
-
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2338
|
-
} | {
|
|
2339
|
-
data: {
|
|
2340
|
-
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2341
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
2342
|
-
httpStatus: number;
|
|
2343
|
-
path?: string;
|
|
2344
|
-
stack?: string;
|
|
2345
|
-
};
|
|
2346
|
-
message: string;
|
|
2347
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2348
|
-
};
|
|
2349
|
-
transformer: typeof superjson.default;
|
|
2350
|
-
}>;
|
|
2351
|
-
_meta: object;
|
|
2352
|
-
_ctx_out: {
|
|
2353
|
-
session: SecrecySession;
|
|
2354
|
-
req: {
|
|
2355
|
-
headers: Headers;
|
|
2356
|
-
body: ReadableStream<Uint8Array> | null;
|
|
2357
|
-
};
|
|
2358
|
-
res: {
|
|
2359
|
-
headers: Headers;
|
|
2360
|
-
};
|
|
2361
|
-
locale: Locales;
|
|
2362
|
-
ls: TranslationFunctions;
|
|
2363
|
-
};
|
|
2364
|
-
_input_in: {
|
|
2365
|
-
userId: string;
|
|
2366
|
-
};
|
|
2367
|
-
_input_out: {
|
|
2368
|
-
userId: string;
|
|
2369
|
-
};
|
|
2370
|
-
_output_in: {
|
|
2371
|
-
sessionId: string;
|
|
2372
|
-
};
|
|
2373
|
-
_output_out: {
|
|
2374
|
-
sessionId: string;
|
|
2375
|
-
};
|
|
2376
|
-
}, unknown>;
|
|
2377
2249
|
}>;
|
|
2378
2250
|
blog: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
2379
2251
|
ctx: {
|
|
@@ -4244,11 +4116,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4244
4116
|
} | undefined;
|
|
4245
4117
|
};
|
|
4246
4118
|
_output_in: {
|
|
4247
|
-
keyPairs: {
|
|
4248
|
-
appId: string;
|
|
4249
|
-
pub: string;
|
|
4250
|
-
encPriv: string;
|
|
4251
|
-
}[];
|
|
4252
4119
|
nodes: {
|
|
4253
4120
|
id: string;
|
|
4254
4121
|
createdAt: Date;
|
|
@@ -4266,15 +4133,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4266
4133
|
nameKey: string;
|
|
4267
4134
|
};
|
|
4268
4135
|
totalSize: bigint;
|
|
4136
|
+
breadcrumb: {
|
|
4137
|
+
id: string;
|
|
4138
|
+
name: string;
|
|
4139
|
+
nameKey: string | null;
|
|
4140
|
+
pubKey: string;
|
|
4141
|
+
}[];
|
|
4269
4142
|
sharedCount: number;
|
|
4270
4143
|
}[];
|
|
4271
|
-
};
|
|
4272
|
-
_output_out: {
|
|
4273
4144
|
keyPairs: {
|
|
4274
4145
|
appId: string;
|
|
4275
4146
|
pub: string;
|
|
4276
4147
|
encPriv: string;
|
|
4277
4148
|
}[];
|
|
4149
|
+
};
|
|
4150
|
+
_output_out: {
|
|
4278
4151
|
nodes: {
|
|
4279
4152
|
id: string;
|
|
4280
4153
|
createdAt: Date;
|
|
@@ -4292,8 +4165,19 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4292
4165
|
nameKey: string;
|
|
4293
4166
|
};
|
|
4294
4167
|
totalSize: bigint;
|
|
4168
|
+
breadcrumb: {
|
|
4169
|
+
id: string;
|
|
4170
|
+
name: string;
|
|
4171
|
+
nameKey: string | null;
|
|
4172
|
+
pubKey: string;
|
|
4173
|
+
}[];
|
|
4295
4174
|
sharedCount: number;
|
|
4296
4175
|
}[];
|
|
4176
|
+
keyPairs: {
|
|
4177
|
+
appId: string;
|
|
4178
|
+
pub: string;
|
|
4179
|
+
encPriv: string;
|
|
4180
|
+
}[];
|
|
4297
4181
|
};
|
|
4298
4182
|
}, unknown>;
|
|
4299
4183
|
shareFileInHistory: _trpc_server.BuildProcedure<"mutation", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secrecy/trpc-api-types",
|
|
3
|
-
"version": "1.27.0-feat-
|
|
3
|
+
"version": "1.27.0-feat-data-search-bread.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"module": "./dist/index.cjs",
|
|
23
23
|
"types": "./dist/index.d.cts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@prisma/client": "5.
|
|
25
|
+
"@prisma/client": "5.12.1",
|
|
26
26
|
"@trpc/server": "10.45.2",
|
|
27
27
|
"superjson": "2.2.1",
|
|
28
|
-
"zod": "3.
|
|
28
|
+
"zod": "3.22.4"
|
|
29
29
|
}
|
|
30
30
|
}
|