@secrecy/trpc-api-types 1.33.0-feat-groups-identity.15 → 1.33.0-feat-groups-identity.17

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +27 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1121,6 +1121,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1121
1121
  id: string;
1122
1122
  storageType: "s3" | "cold" | "lite";
1123
1123
  size: bigint;
1124
+ prefix: string;
1124
1125
  sizeEncrypted: bigint | null;
1125
1126
  md5: string;
1126
1127
  md5Encrypted: string | null;
@@ -1142,6 +1143,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1142
1143
  id: string;
1143
1144
  storageType: "s3" | "cold" | "lite";
1144
1145
  size: bigint;
1146
+ prefix: string;
1145
1147
  sizeEncrypted: bigint | null;
1146
1148
  md5: string;
1147
1149
  md5Encrypted: string | null;
@@ -1189,6 +1191,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1189
1191
  id: string;
1190
1192
  storageType: "s3" | "cold" | "lite";
1191
1193
  size: bigint;
1194
+ prefix: string;
1192
1195
  sizeEncrypted: bigint | null;
1193
1196
  md5: string;
1194
1197
  md5Encrypted: string | null;
@@ -1210,6 +1213,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1210
1213
  }>;
1211
1214
  dataContentById: _trpc_server.TRPCQueryProcedure<{
1212
1215
  input: {
1216
+ fromPubKey?: string | null | undefined;
1213
1217
  id: string;
1214
1218
  };
1215
1219
  output: {
@@ -1224,6 +1228,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1224
1228
  type: "received_mail";
1225
1229
  storageType: "s3" | "cold" | "lite";
1226
1230
  senderPublicKey: string;
1231
+ recipientPublicKey: string;
1227
1232
  maybeParts: {
1228
1233
  order: number;
1229
1234
  md5: string;
@@ -1246,6 +1251,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1246
1251
  md5: string;
1247
1252
  contentUrl: string;
1248
1253
  }[] | null;
1254
+ senderPublicKey: string;
1249
1255
  maybeContent: Uint8Array<ArrayBufferLike> | null;
1250
1256
  } | {
1251
1257
  id: string;
@@ -1258,7 +1264,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1258
1264
  key: string | null;
1259
1265
  type: "cloud";
1260
1266
  storageType: "s3" | "cold";
1261
- publicKey: string;
1267
+ sharedByPublicKey: string;
1268
+ identityPublicKey: string;
1262
1269
  parts: {
1263
1270
  order: number;
1264
1271
  md5: string;
@@ -1275,13 +1282,15 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1275
1282
  key: string | null;
1276
1283
  type: "lite";
1277
1284
  storageType: "lite";
1278
- publicKey: string;
1285
+ sharedByPublicKey: string;
1286
+ identityPublicKey: string;
1279
1287
  content: Uint8Array<ArrayBufferLike>;
1280
1288
  };
1281
1289
  meta: any;
1282
1290
  }>;
1283
1291
  dataContentByIds: _trpc_server.TRPCQueryProcedure<{
1284
1292
  input: {
1293
+ fromPubKey?: string | null | undefined;
1285
1294
  ids: string[];
1286
1295
  };
1287
1296
  output: ({
@@ -1296,6 +1305,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1296
1305
  type: "received_mail";
1297
1306
  storageType: "s3" | "cold" | "lite";
1298
1307
  senderPublicKey: string;
1308
+ recipientPublicKey: string;
1299
1309
  maybeParts: {
1300
1310
  order: number;
1301
1311
  md5: string;
@@ -1318,6 +1328,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1318
1328
  md5: string;
1319
1329
  contentUrl: string;
1320
1330
  }[] | null;
1331
+ senderPublicKey: string;
1321
1332
  maybeContent: Uint8Array<ArrayBufferLike> | null;
1322
1333
  } | {
1323
1334
  id: string;
@@ -1330,7 +1341,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1330
1341
  key: string | null;
1331
1342
  type: "cloud";
1332
1343
  storageType: "s3" | "cold";
1333
- publicKey: string;
1344
+ sharedByPublicKey: string;
1345
+ identityPublicKey: string;
1334
1346
  parts: {
1335
1347
  order: number;
1336
1348
  md5: string;
@@ -1347,7 +1359,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1347
1359
  key: string | null;
1348
1360
  type: "lite";
1349
1361
  storageType: "lite";
1350
- publicKey: string;
1362
+ sharedByPublicKey: string;
1363
+ identityPublicKey: string;
1351
1364
  content: Uint8Array<ArrayBufferLike>;
1352
1365
  })[];
1353
1366
  meta: any;
@@ -1526,6 +1539,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1526
1539
  id: string;
1527
1540
  storageType: "s3" | "cold" | "lite";
1528
1541
  size: bigint;
1542
+ prefix: string;
1529
1543
  sizeEncrypted: bigint | null;
1530
1544
  md5: string;
1531
1545
  md5Encrypted: string | null;
@@ -1547,6 +1561,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1547
1561
  id: string;
1548
1562
  storageType: "s3" | "cold" | "lite";
1549
1563
  size: bigint;
1564
+ prefix: string;
1550
1565
  sizeEncrypted: bigint | null;
1551
1566
  md5: string;
1552
1567
  md5Encrypted: string | null;
@@ -1724,6 +1739,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1724
1739
  }>;
1725
1740
  uploadColdData: _trpc_server.TRPCMutationProcedure<{
1726
1741
  input: {
1742
+ fromPubKey?: string | null | undefined;
1727
1743
  size: bigint;
1728
1744
  md5: string;
1729
1745
  sizeEncrypted: bigint;
@@ -1733,6 +1749,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
1733
1749
  mime?: string | undefined;
1734
1750
  ext?: string | undefined;
1735
1751
  } | {
1752
+ fromPubKey?: string | null | undefined;
1736
1753
  size: bigint;
1737
1754
  md5: string;
1738
1755
  type: "unencrypted";
@@ -2114,6 +2131,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2114
2131
  id: string;
2115
2132
  storageType: "s3" | "cold" | "lite";
2116
2133
  size: bigint;
2134
+ prefix: string;
2117
2135
  sizeEncrypted: bigint | null;
2118
2136
  md5: string;
2119
2137
  md5Encrypted: string | null;
@@ -2135,6 +2153,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2135
2153
  id: string;
2136
2154
  storageType: "s3" | "cold" | "lite";
2137
2155
  size: bigint;
2156
+ prefix: string;
2138
2157
  sizeEncrypted: bigint | null;
2139
2158
  md5: string;
2140
2159
  md5Encrypted: string | null;
@@ -2485,6 +2504,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2485
2504
  id: string;
2486
2505
  storageType: "s3" | "cold" | "lite";
2487
2506
  size: bigint;
2507
+ prefix: string;
2488
2508
  sizeEncrypted: bigint | null;
2489
2509
  md5: string;
2490
2510
  md5Encrypted: string | null;
@@ -2506,6 +2526,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
2506
2526
  id: string;
2507
2527
  storageType: "s3" | "cold" | "lite";
2508
2528
  size: bigint;
2529
+ prefix: string;
2509
2530
  sizeEncrypted: bigint | null;
2510
2531
  md5: string;
2511
2532
  md5Encrypted: string | null;
@@ -3003,6 +3024,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3003
3024
  id: string;
3004
3025
  storageType: "s3" | "cold" | "lite";
3005
3026
  size: bigint;
3027
+ prefix: string;
3006
3028
  sizeEncrypted: bigint | null;
3007
3029
  md5: string;
3008
3030
  md5Encrypted: string | null;
@@ -3024,6 +3046,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
3024
3046
  id: string;
3025
3047
  storageType: "s3" | "cold" | "lite";
3026
3048
  size: bigint;
3049
+ prefix: string;
3027
3050
  sizeEncrypted: bigint | null;
3028
3051
  md5: string;
3029
3052
  md5Encrypted: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-groups-identity.15",
3
+ "version": "1.33.0-feat-groups-identity.17",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"