@secrecy/trpc-api-types 1.33.0-feat-groups-identity.15 → 1.33.0-feat-groups-identity.16
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 +16 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1210,6 +1210,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1210
1210
|
}>;
|
|
1211
1211
|
dataContentById: _trpc_server.TRPCQueryProcedure<{
|
|
1212
1212
|
input: {
|
|
1213
|
+
fromPubKey?: string | null | undefined;
|
|
1213
1214
|
id: string;
|
|
1214
1215
|
};
|
|
1215
1216
|
output: {
|
|
@@ -1224,6 +1225,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1224
1225
|
type: "received_mail";
|
|
1225
1226
|
storageType: "s3" | "cold" | "lite";
|
|
1226
1227
|
senderPublicKey: string;
|
|
1228
|
+
recipientPublicKey: string;
|
|
1227
1229
|
maybeParts: {
|
|
1228
1230
|
order: number;
|
|
1229
1231
|
md5: string;
|
|
@@ -1246,6 +1248,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1246
1248
|
md5: string;
|
|
1247
1249
|
contentUrl: string;
|
|
1248
1250
|
}[] | null;
|
|
1251
|
+
senderPublicKey: string;
|
|
1249
1252
|
maybeContent: Uint8Array<ArrayBufferLike> | null;
|
|
1250
1253
|
} | {
|
|
1251
1254
|
id: string;
|
|
@@ -1258,7 +1261,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1258
1261
|
key: string | null;
|
|
1259
1262
|
type: "cloud";
|
|
1260
1263
|
storageType: "s3" | "cold";
|
|
1261
|
-
|
|
1264
|
+
sharedByPublicKey: string;
|
|
1265
|
+
identityPublicKey: string;
|
|
1262
1266
|
parts: {
|
|
1263
1267
|
order: number;
|
|
1264
1268
|
md5: string;
|
|
@@ -1275,13 +1279,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1275
1279
|
key: string | null;
|
|
1276
1280
|
type: "lite";
|
|
1277
1281
|
storageType: "lite";
|
|
1278
|
-
|
|
1282
|
+
sharedByPublicKey: string;
|
|
1283
|
+
identityPublicKey: string;
|
|
1279
1284
|
content: Uint8Array<ArrayBufferLike>;
|
|
1280
1285
|
};
|
|
1281
1286
|
meta: any;
|
|
1282
1287
|
}>;
|
|
1283
1288
|
dataContentByIds: _trpc_server.TRPCQueryProcedure<{
|
|
1284
1289
|
input: {
|
|
1290
|
+
fromPubKey?: string | null | undefined;
|
|
1285
1291
|
ids: string[];
|
|
1286
1292
|
};
|
|
1287
1293
|
output: ({
|
|
@@ -1296,6 +1302,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1296
1302
|
type: "received_mail";
|
|
1297
1303
|
storageType: "s3" | "cold" | "lite";
|
|
1298
1304
|
senderPublicKey: string;
|
|
1305
|
+
recipientPublicKey: string;
|
|
1299
1306
|
maybeParts: {
|
|
1300
1307
|
order: number;
|
|
1301
1308
|
md5: string;
|
|
@@ -1318,6 +1325,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1318
1325
|
md5: string;
|
|
1319
1326
|
contentUrl: string;
|
|
1320
1327
|
}[] | null;
|
|
1328
|
+
senderPublicKey: string;
|
|
1321
1329
|
maybeContent: Uint8Array<ArrayBufferLike> | null;
|
|
1322
1330
|
} | {
|
|
1323
1331
|
id: string;
|
|
@@ -1330,7 +1338,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1330
1338
|
key: string | null;
|
|
1331
1339
|
type: "cloud";
|
|
1332
1340
|
storageType: "s3" | "cold";
|
|
1333
|
-
|
|
1341
|
+
sharedByPublicKey: string;
|
|
1342
|
+
identityPublicKey: string;
|
|
1334
1343
|
parts: {
|
|
1335
1344
|
order: number;
|
|
1336
1345
|
md5: string;
|
|
@@ -1347,7 +1356,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1347
1356
|
key: string | null;
|
|
1348
1357
|
type: "lite";
|
|
1349
1358
|
storageType: "lite";
|
|
1350
|
-
|
|
1359
|
+
sharedByPublicKey: string;
|
|
1360
|
+
identityPublicKey: string;
|
|
1351
1361
|
content: Uint8Array<ArrayBufferLike>;
|
|
1352
1362
|
})[];
|
|
1353
1363
|
meta: any;
|
|
@@ -1724,6 +1734,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1724
1734
|
}>;
|
|
1725
1735
|
uploadColdData: _trpc_server.TRPCMutationProcedure<{
|
|
1726
1736
|
input: {
|
|
1737
|
+
fromPubKey?: string | null | undefined;
|
|
1727
1738
|
size: bigint;
|
|
1728
1739
|
md5: string;
|
|
1729
1740
|
sizeEncrypted: bigint;
|
|
@@ -1733,6 +1744,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1733
1744
|
mime?: string | undefined;
|
|
1734
1745
|
ext?: string | undefined;
|
|
1735
1746
|
} | {
|
|
1747
|
+
fromPubKey?: string | null | undefined;
|
|
1736
1748
|
size: bigint;
|
|
1737
1749
|
md5: string;
|
|
1738
1750
|
type: "unencrypted";
|