@secrecy/trpc-api-types 1.6.0-integration-prisma-selectors.2 → 1.6.0-integration-prisma-selectors.4
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 +1114 -488
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -351,15 +351,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
351
351
|
_input_in: {} | undefined;
|
|
352
352
|
_input_out: {} | undefined;
|
|
353
353
|
_output_in: {
|
|
354
|
-
mail: boolean;
|
|
355
354
|
id: string;
|
|
355
|
+
mail: boolean;
|
|
356
356
|
cloud: boolean;
|
|
357
357
|
enableAll: boolean;
|
|
358
358
|
disableAllUntil: Date | null;
|
|
359
359
|
};
|
|
360
360
|
_output_out: {
|
|
361
|
-
mail: boolean;
|
|
362
361
|
id: string;
|
|
362
|
+
mail: boolean;
|
|
363
363
|
cloud: boolean;
|
|
364
364
|
enableAll: boolean;
|
|
365
365
|
disableAllUntil: Date | null;
|
|
@@ -391,16 +391,16 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
391
391
|
_input_in: {} | undefined;
|
|
392
392
|
_input_out: {} | undefined;
|
|
393
393
|
_output_in: {
|
|
394
|
-
codes: string[];
|
|
395
394
|
id: string;
|
|
395
|
+
codes: string[];
|
|
396
396
|
kind: string;
|
|
397
397
|
price: _prisma_client_runtime_library.Decimal;
|
|
398
398
|
relatedTo: "secrecy_tech";
|
|
399
399
|
descriptorId: string;
|
|
400
400
|
};
|
|
401
401
|
_output_out: {
|
|
402
|
-
codes: string[];
|
|
403
402
|
id: string;
|
|
403
|
+
codes: string[];
|
|
404
404
|
kind: string;
|
|
405
405
|
price: _prisma_client_runtime_library.Decimal;
|
|
406
406
|
relatedTo: "secrecy_tech";
|
|
@@ -433,22 +433,60 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
433
433
|
_input_in: {} | undefined;
|
|
434
434
|
_input_out: {} | undefined;
|
|
435
435
|
_output_in: {
|
|
436
|
-
codes: string[];
|
|
437
436
|
id: string;
|
|
437
|
+
codes: string[];
|
|
438
438
|
kind: string;
|
|
439
439
|
price: _prisma_client_runtime_library.Decimal;
|
|
440
440
|
relatedTo: "secrecy_tech";
|
|
441
441
|
descriptorId: string;
|
|
442
442
|
}[];
|
|
443
443
|
_output_out: {
|
|
444
|
-
codes: string[];
|
|
445
444
|
id: string;
|
|
445
|
+
codes: string[];
|
|
446
446
|
kind: string;
|
|
447
447
|
price: _prisma_client_runtime_library.Decimal;
|
|
448
448
|
relatedTo: "secrecy_tech";
|
|
449
449
|
descriptorId: string;
|
|
450
450
|
}[];
|
|
451
451
|
}, unknown>;
|
|
452
|
+
settings: _trpc_server.BuildProcedure<"query", {
|
|
453
|
+
_config: _trpc_server.RootConfig<{
|
|
454
|
+
ctx: {};
|
|
455
|
+
meta: object;
|
|
456
|
+
errorShape: {
|
|
457
|
+
message: string;
|
|
458
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
459
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
460
|
+
} | {
|
|
461
|
+
data: {
|
|
462
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
463
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
464
|
+
httpStatus: number;
|
|
465
|
+
path?: string | undefined;
|
|
466
|
+
stack?: string | undefined;
|
|
467
|
+
};
|
|
468
|
+
message: string;
|
|
469
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
470
|
+
};
|
|
471
|
+
transformer: typeof superjson.default;
|
|
472
|
+
}>;
|
|
473
|
+
_meta: object;
|
|
474
|
+
_ctx_out: {};
|
|
475
|
+
_input_in: {};
|
|
476
|
+
_input_out: {};
|
|
477
|
+
_output_in: {
|
|
478
|
+
id: string;
|
|
479
|
+
cloudNodeDaysForDelete: number;
|
|
480
|
+
historyMaxFileCount: number;
|
|
481
|
+
historyFileDaysForDelete: number | null;
|
|
482
|
+
};
|
|
483
|
+
_output_out: {
|
|
484
|
+
id: string;
|
|
485
|
+
cloudNodeDaysForDelete: number;
|
|
486
|
+
historyMaxFileCount: number;
|
|
487
|
+
historyFileDaysForDelete: number | null;
|
|
488
|
+
};
|
|
489
|
+
}, unknown>;
|
|
452
490
|
updateNotification: _trpc_server.BuildProcedure<"mutation", {
|
|
453
491
|
_config: _trpc_server.RootConfig<{
|
|
454
492
|
ctx: {};
|
|
@@ -485,15 +523,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
485
523
|
disableAllUntil?: Date | null | undefined;
|
|
486
524
|
};
|
|
487
525
|
_output_in: {
|
|
488
|
-
mail: boolean;
|
|
489
526
|
id: string;
|
|
527
|
+
mail: boolean;
|
|
490
528
|
cloud: boolean;
|
|
491
529
|
enableAll: boolean;
|
|
492
530
|
disableAllUntil: Date | null;
|
|
493
531
|
};
|
|
494
532
|
_output_out: {
|
|
495
|
-
mail: boolean;
|
|
496
533
|
id: string;
|
|
534
|
+
mail: boolean;
|
|
497
535
|
cloud: boolean;
|
|
498
536
|
enableAll: boolean;
|
|
499
537
|
disableAllUntil: Date | null;
|
|
@@ -693,21 +731,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
693
731
|
};
|
|
694
732
|
_output_in: {
|
|
695
733
|
id: string;
|
|
696
|
-
createdAt: Date;
|
|
697
|
-
updatedAt: Date;
|
|
698
734
|
lastLogin: Date | null;
|
|
735
|
+
createdAt: Date;
|
|
699
736
|
deletedAt: Date | null;
|
|
700
737
|
lastname: string;
|
|
701
738
|
firstname: string;
|
|
739
|
+
updatedAt: Date;
|
|
702
740
|
};
|
|
703
741
|
_output_out: {
|
|
704
742
|
id: string;
|
|
705
|
-
createdAt: Date;
|
|
706
|
-
updatedAt: Date;
|
|
707
743
|
lastLogin: Date | null;
|
|
744
|
+
createdAt: Date;
|
|
708
745
|
deletedAt: Date | null;
|
|
709
746
|
lastname: string;
|
|
710
747
|
firstname: string;
|
|
748
|
+
updatedAt: Date;
|
|
711
749
|
};
|
|
712
750
|
}, unknown>;
|
|
713
751
|
}>;
|
|
@@ -1266,9 +1304,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1266
1304
|
_meta: object;
|
|
1267
1305
|
_ctx_out: {};
|
|
1268
1306
|
_input_in: {
|
|
1269
|
-
email: string;
|
|
1270
1307
|
lastname: string;
|
|
1271
1308
|
firstname: string;
|
|
1309
|
+
email: string;
|
|
1272
1310
|
phone: string;
|
|
1273
1311
|
srpSalt: string;
|
|
1274
1312
|
masterKeySalt: string;
|
|
@@ -1276,9 +1314,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1276
1314
|
token: string;
|
|
1277
1315
|
};
|
|
1278
1316
|
_input_out: {
|
|
1279
|
-
email: string;
|
|
1280
1317
|
lastname: string;
|
|
1281
1318
|
firstname: string;
|
|
1319
|
+
email: string;
|
|
1282
1320
|
phone: string;
|
|
1283
1321
|
srpSalt: string;
|
|
1284
1322
|
masterKeySalt: string;
|
|
@@ -1374,10 +1412,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1374
1412
|
};
|
|
1375
1413
|
_output_in: ({
|
|
1376
1414
|
id: string;
|
|
1415
|
+
body: string;
|
|
1377
1416
|
title: string;
|
|
1378
1417
|
summary: string;
|
|
1379
1418
|
date: Date;
|
|
1380
|
-
body: string;
|
|
1381
1419
|
author: string;
|
|
1382
1420
|
image: string;
|
|
1383
1421
|
imageAlt: string;
|
|
@@ -1389,10 +1427,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1389
1427
|
})[];
|
|
1390
1428
|
_output_out: ({
|
|
1391
1429
|
id: string;
|
|
1430
|
+
body: string;
|
|
1392
1431
|
title: string;
|
|
1393
1432
|
summary: string;
|
|
1394
1433
|
date: Date;
|
|
1395
|
-
body: string;
|
|
1396
1434
|
author: string;
|
|
1397
1435
|
image: string;
|
|
1398
1436
|
imageAlt: string;
|
|
@@ -1459,9 +1497,26 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1459
1497
|
type: "FILE" | "FOLDER";
|
|
1460
1498
|
id: string;
|
|
1461
1499
|
createdAt: Date;
|
|
1500
|
+
deletedAt: Date | null;
|
|
1462
1501
|
name: string;
|
|
1463
1502
|
updatedAt: Date;
|
|
1464
|
-
|
|
1503
|
+
parentId: string | null;
|
|
1504
|
+
isFavorite: boolean;
|
|
1505
|
+
} & {
|
|
1506
|
+
users: [{
|
|
1507
|
+
id: string;
|
|
1508
|
+
lastname: string;
|
|
1509
|
+
firstname: string;
|
|
1510
|
+
}, "admin" | "write" | "read"][];
|
|
1511
|
+
createdBy: {
|
|
1512
|
+
appId: string;
|
|
1513
|
+
userId: string;
|
|
1514
|
+
};
|
|
1515
|
+
access: {
|
|
1516
|
+
nameKey: string | null;
|
|
1517
|
+
sharedByPubKey: string;
|
|
1518
|
+
};
|
|
1519
|
+
} & {
|
|
1465
1520
|
current: {
|
|
1466
1521
|
id: string;
|
|
1467
1522
|
createdAt: Date;
|
|
@@ -1471,14 +1526,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1471
1526
|
storageType: "scaleway" | "mongo";
|
|
1472
1527
|
sizeBefore: bigint;
|
|
1473
1528
|
md5Encrypted: string;
|
|
1474
|
-
|
|
1529
|
+
access: {
|
|
1475
1530
|
key: string;
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
pub: string;
|
|
1479
|
-
} | null;
|
|
1480
|
-
};
|
|
1481
|
-
}[];
|
|
1531
|
+
sharedByPubKey: string;
|
|
1532
|
+
};
|
|
1482
1533
|
} | null;
|
|
1483
1534
|
history: {
|
|
1484
1535
|
id: string;
|
|
@@ -1489,57 +1540,84 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1489
1540
|
storageType: "scaleway" | "mongo";
|
|
1490
1541
|
sizeBefore: bigint;
|
|
1491
1542
|
md5Encrypted: string;
|
|
1492
|
-
|
|
1543
|
+
access: {
|
|
1493
1544
|
key: string;
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
pub: string;
|
|
1497
|
-
} | null;
|
|
1498
|
-
};
|
|
1499
|
-
}[];
|
|
1545
|
+
sharedByPubKey: string;
|
|
1546
|
+
};
|
|
1500
1547
|
}[];
|
|
1501
|
-
parent: {
|
|
1548
|
+
parent: ({
|
|
1502
1549
|
type: "FILE" | "FOLDER";
|
|
1503
1550
|
id: string;
|
|
1504
1551
|
createdAt: Date;
|
|
1552
|
+
deletedAt: Date | null;
|
|
1505
1553
|
name: string;
|
|
1506
1554
|
updatedAt: Date;
|
|
1507
|
-
deletedAt: Date | null;
|
|
1508
1555
|
parentId: string | null;
|
|
1509
1556
|
isFavorite: boolean;
|
|
1557
|
+
} & {
|
|
1558
|
+
users: [{
|
|
1559
|
+
id: string;
|
|
1560
|
+
lastname: string;
|
|
1561
|
+
firstname: string;
|
|
1562
|
+
}, "admin" | "write" | "read"][];
|
|
1510
1563
|
createdBy: {
|
|
1511
1564
|
appId: string;
|
|
1512
1565
|
userId: string;
|
|
1513
1566
|
};
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
};
|
|
1521
|
-
children: {
|
|
1567
|
+
access: {
|
|
1568
|
+
nameKey: string | null;
|
|
1569
|
+
sharedByPubKey: string;
|
|
1570
|
+
};
|
|
1571
|
+
}) | null;
|
|
1572
|
+
children: ({
|
|
1522
1573
|
type: "FILE" | "FOLDER";
|
|
1523
1574
|
id: string;
|
|
1524
1575
|
createdAt: Date;
|
|
1576
|
+
deletedAt: Date | null;
|
|
1525
1577
|
name: string;
|
|
1526
1578
|
updatedAt: Date;
|
|
1527
|
-
deletedAt: Date | null;
|
|
1528
1579
|
parentId: string | null;
|
|
1529
1580
|
isFavorite: boolean;
|
|
1581
|
+
} & {
|
|
1582
|
+
users: [{
|
|
1583
|
+
id: string;
|
|
1584
|
+
lastname: string;
|
|
1585
|
+
firstname: string;
|
|
1586
|
+
}, "admin" | "write" | "read"][];
|
|
1530
1587
|
createdBy: {
|
|
1531
1588
|
appId: string;
|
|
1532
1589
|
userId: string;
|
|
1533
1590
|
};
|
|
1534
|
-
|
|
1591
|
+
access: {
|
|
1592
|
+
nameKey: string | null;
|
|
1593
|
+
sharedByPubKey: string;
|
|
1594
|
+
};
|
|
1595
|
+
})[];
|
|
1535
1596
|
};
|
|
1536
1597
|
_output_out: {
|
|
1537
1598
|
type: "FILE" | "FOLDER";
|
|
1538
1599
|
id: string;
|
|
1539
1600
|
createdAt: Date;
|
|
1601
|
+
deletedAt: Date | null;
|
|
1540
1602
|
name: string;
|
|
1541
1603
|
updatedAt: Date;
|
|
1542
|
-
|
|
1604
|
+
parentId: string | null;
|
|
1605
|
+
isFavorite: boolean;
|
|
1606
|
+
} & {
|
|
1607
|
+
users: [{
|
|
1608
|
+
id: string;
|
|
1609
|
+
lastname: string;
|
|
1610
|
+
firstname: string;
|
|
1611
|
+
}, "admin" | "write" | "read"][];
|
|
1612
|
+
createdBy: {
|
|
1613
|
+
appId: string;
|
|
1614
|
+
userId: string;
|
|
1615
|
+
};
|
|
1616
|
+
access: {
|
|
1617
|
+
nameKey: string | null;
|
|
1618
|
+
sharedByPubKey: string;
|
|
1619
|
+
};
|
|
1620
|
+
} & {
|
|
1543
1621
|
current: {
|
|
1544
1622
|
id: string;
|
|
1545
1623
|
createdAt: Date;
|
|
@@ -1549,14 +1627,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1549
1627
|
storageType: "scaleway" | "mongo";
|
|
1550
1628
|
sizeBefore: bigint;
|
|
1551
1629
|
md5Encrypted: string;
|
|
1552
|
-
|
|
1630
|
+
access: {
|
|
1553
1631
|
key: string;
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
pub: string;
|
|
1557
|
-
} | null;
|
|
1558
|
-
};
|
|
1559
|
-
}[];
|
|
1632
|
+
sharedByPubKey: string;
|
|
1633
|
+
};
|
|
1560
1634
|
} | null;
|
|
1561
1635
|
history: {
|
|
1562
1636
|
id: string;
|
|
@@ -1567,49 +1641,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1567
1641
|
storageType: "scaleway" | "mongo";
|
|
1568
1642
|
sizeBefore: bigint;
|
|
1569
1643
|
md5Encrypted: string;
|
|
1570
|
-
|
|
1644
|
+
access: {
|
|
1571
1645
|
key: string;
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
pub: string;
|
|
1575
|
-
} | null;
|
|
1576
|
-
};
|
|
1577
|
-
}[];
|
|
1646
|
+
sharedByPubKey: string;
|
|
1647
|
+
};
|
|
1578
1648
|
}[];
|
|
1579
|
-
parent: {
|
|
1649
|
+
parent: ({
|
|
1580
1650
|
type: "FILE" | "FOLDER";
|
|
1581
1651
|
id: string;
|
|
1582
1652
|
createdAt: Date;
|
|
1653
|
+
deletedAt: Date | null;
|
|
1583
1654
|
name: string;
|
|
1584
1655
|
updatedAt: Date;
|
|
1585
|
-
deletedAt: Date | null;
|
|
1586
1656
|
parentId: string | null;
|
|
1587
1657
|
isFavorite: boolean;
|
|
1658
|
+
} & {
|
|
1659
|
+
users: [{
|
|
1660
|
+
id: string;
|
|
1661
|
+
lastname: string;
|
|
1662
|
+
firstname: string;
|
|
1663
|
+
}, "admin" | "write" | "read"][];
|
|
1588
1664
|
createdBy: {
|
|
1589
1665
|
appId: string;
|
|
1590
1666
|
userId: string;
|
|
1591
1667
|
};
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
};
|
|
1599
|
-
children: {
|
|
1668
|
+
access: {
|
|
1669
|
+
nameKey: string | null;
|
|
1670
|
+
sharedByPubKey: string;
|
|
1671
|
+
};
|
|
1672
|
+
}) | null;
|
|
1673
|
+
children: ({
|
|
1600
1674
|
type: "FILE" | "FOLDER";
|
|
1601
1675
|
id: string;
|
|
1602
1676
|
createdAt: Date;
|
|
1677
|
+
deletedAt: Date | null;
|
|
1603
1678
|
name: string;
|
|
1604
1679
|
updatedAt: Date;
|
|
1605
|
-
deletedAt: Date | null;
|
|
1606
1680
|
parentId: string | null;
|
|
1607
1681
|
isFavorite: boolean;
|
|
1682
|
+
} & {
|
|
1683
|
+
users: [{
|
|
1684
|
+
id: string;
|
|
1685
|
+
lastname: string;
|
|
1686
|
+
firstname: string;
|
|
1687
|
+
}, "admin" | "write" | "read"][];
|
|
1608
1688
|
createdBy: {
|
|
1609
1689
|
appId: string;
|
|
1610
1690
|
userId: string;
|
|
1611
1691
|
};
|
|
1612
|
-
|
|
1692
|
+
access: {
|
|
1693
|
+
nameKey: string | null;
|
|
1694
|
+
sharedByPubKey: string;
|
|
1695
|
+
};
|
|
1696
|
+
})[];
|
|
1613
1697
|
};
|
|
1614
1698
|
}, unknown>;
|
|
1615
1699
|
deleteFile: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -1688,14 +1772,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1688
1772
|
storageType: "scaleway" | "mongo";
|
|
1689
1773
|
sizeBefore: bigint;
|
|
1690
1774
|
md5Encrypted: string;
|
|
1691
|
-
|
|
1775
|
+
access: {
|
|
1692
1776
|
key: string;
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
pub: string;
|
|
1696
|
-
} | null;
|
|
1697
|
-
};
|
|
1698
|
-
}[];
|
|
1777
|
+
sharedByPubKey: string;
|
|
1778
|
+
};
|
|
1699
1779
|
};
|
|
1700
1780
|
_output_out: {
|
|
1701
1781
|
id: string;
|
|
@@ -1706,14 +1786,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1706
1786
|
storageType: "scaleway" | "mongo";
|
|
1707
1787
|
sizeBefore: bigint;
|
|
1708
1788
|
md5Encrypted: string;
|
|
1709
|
-
|
|
1789
|
+
access: {
|
|
1710
1790
|
key: string;
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
pub: string;
|
|
1714
|
-
} | null;
|
|
1715
|
-
};
|
|
1716
|
-
}[];
|
|
1791
|
+
sharedByPubKey: string;
|
|
1792
|
+
};
|
|
1717
1793
|
};
|
|
1718
1794
|
}, unknown>;
|
|
1719
1795
|
fileContentById: _trpc_server.BuildProcedure<"query", {
|
|
@@ -1993,9 +2069,26 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1993
2069
|
type: "FILE" | "FOLDER";
|
|
1994
2070
|
id: string;
|
|
1995
2071
|
createdAt: Date;
|
|
2072
|
+
deletedAt: Date | null;
|
|
1996
2073
|
name: string;
|
|
1997
2074
|
updatedAt: Date;
|
|
1998
|
-
|
|
2075
|
+
parentId: string | null;
|
|
2076
|
+
isFavorite: boolean;
|
|
2077
|
+
} & {
|
|
2078
|
+
users: [{
|
|
2079
|
+
id: string;
|
|
2080
|
+
lastname: string;
|
|
2081
|
+
firstname: string;
|
|
2082
|
+
}, "admin" | "write" | "read"][];
|
|
2083
|
+
createdBy: {
|
|
2084
|
+
appId: string;
|
|
2085
|
+
userId: string;
|
|
2086
|
+
};
|
|
2087
|
+
access: {
|
|
2088
|
+
nameKey: string | null;
|
|
2089
|
+
sharedByPubKey: string;
|
|
2090
|
+
};
|
|
2091
|
+
} & {
|
|
1999
2092
|
current: {
|
|
2000
2093
|
id: string;
|
|
2001
2094
|
createdAt: Date;
|
|
@@ -2005,14 +2098,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2005
2098
|
storageType: "scaleway" | "mongo";
|
|
2006
2099
|
sizeBefore: bigint;
|
|
2007
2100
|
md5Encrypted: string;
|
|
2008
|
-
|
|
2101
|
+
access: {
|
|
2009
2102
|
key: string;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
pub: string;
|
|
2013
|
-
} | null;
|
|
2014
|
-
};
|
|
2015
|
-
}[];
|
|
2103
|
+
sharedByPubKey: string;
|
|
2104
|
+
};
|
|
2016
2105
|
} | null;
|
|
2017
2106
|
history: {
|
|
2018
2107
|
id: string;
|
|
@@ -2023,57 +2112,84 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2023
2112
|
storageType: "scaleway" | "mongo";
|
|
2024
2113
|
sizeBefore: bigint;
|
|
2025
2114
|
md5Encrypted: string;
|
|
2026
|
-
|
|
2115
|
+
access: {
|
|
2027
2116
|
key: string;
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
pub: string;
|
|
2031
|
-
} | null;
|
|
2032
|
-
};
|
|
2033
|
-
}[];
|
|
2117
|
+
sharedByPubKey: string;
|
|
2118
|
+
};
|
|
2034
2119
|
}[];
|
|
2035
|
-
parent: {
|
|
2120
|
+
parent: ({
|
|
2036
2121
|
type: "FILE" | "FOLDER";
|
|
2037
2122
|
id: string;
|
|
2038
2123
|
createdAt: Date;
|
|
2124
|
+
deletedAt: Date | null;
|
|
2039
2125
|
name: string;
|
|
2040
2126
|
updatedAt: Date;
|
|
2041
|
-
deletedAt: Date | null;
|
|
2042
2127
|
parentId: string | null;
|
|
2043
2128
|
isFavorite: boolean;
|
|
2129
|
+
} & {
|
|
2130
|
+
users: [{
|
|
2131
|
+
id: string;
|
|
2132
|
+
lastname: string;
|
|
2133
|
+
firstname: string;
|
|
2134
|
+
}, "admin" | "write" | "read"][];
|
|
2044
2135
|
createdBy: {
|
|
2045
2136
|
appId: string;
|
|
2046
2137
|
userId: string;
|
|
2047
2138
|
};
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
};
|
|
2055
|
-
children: {
|
|
2139
|
+
access: {
|
|
2140
|
+
nameKey: string | null;
|
|
2141
|
+
sharedByPubKey: string;
|
|
2142
|
+
};
|
|
2143
|
+
}) | null;
|
|
2144
|
+
children: ({
|
|
2056
2145
|
type: "FILE" | "FOLDER";
|
|
2057
2146
|
id: string;
|
|
2058
2147
|
createdAt: Date;
|
|
2148
|
+
deletedAt: Date | null;
|
|
2059
2149
|
name: string;
|
|
2060
2150
|
updatedAt: Date;
|
|
2061
|
-
deletedAt: Date | null;
|
|
2062
2151
|
parentId: string | null;
|
|
2063
2152
|
isFavorite: boolean;
|
|
2153
|
+
} & {
|
|
2154
|
+
users: [{
|
|
2155
|
+
id: string;
|
|
2156
|
+
lastname: string;
|
|
2157
|
+
firstname: string;
|
|
2158
|
+
}, "admin" | "write" | "read"][];
|
|
2064
2159
|
createdBy: {
|
|
2065
2160
|
appId: string;
|
|
2066
2161
|
userId: string;
|
|
2067
2162
|
};
|
|
2068
|
-
|
|
2163
|
+
access: {
|
|
2164
|
+
nameKey: string | null;
|
|
2165
|
+
sharedByPubKey: string;
|
|
2166
|
+
};
|
|
2167
|
+
})[];
|
|
2069
2168
|
};
|
|
2070
2169
|
_output_out: {
|
|
2071
2170
|
type: "FILE" | "FOLDER";
|
|
2072
2171
|
id: string;
|
|
2073
2172
|
createdAt: Date;
|
|
2173
|
+
deletedAt: Date | null;
|
|
2074
2174
|
name: string;
|
|
2075
2175
|
updatedAt: Date;
|
|
2076
|
-
|
|
2176
|
+
parentId: string | null;
|
|
2177
|
+
isFavorite: boolean;
|
|
2178
|
+
} & {
|
|
2179
|
+
users: [{
|
|
2180
|
+
id: string;
|
|
2181
|
+
lastname: string;
|
|
2182
|
+
firstname: string;
|
|
2183
|
+
}, "admin" | "write" | "read"][];
|
|
2184
|
+
createdBy: {
|
|
2185
|
+
appId: string;
|
|
2186
|
+
userId: string;
|
|
2187
|
+
};
|
|
2188
|
+
access: {
|
|
2189
|
+
nameKey: string | null;
|
|
2190
|
+
sharedByPubKey: string;
|
|
2191
|
+
};
|
|
2192
|
+
} & {
|
|
2077
2193
|
current: {
|
|
2078
2194
|
id: string;
|
|
2079
2195
|
createdAt: Date;
|
|
@@ -2083,14 +2199,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2083
2199
|
storageType: "scaleway" | "mongo";
|
|
2084
2200
|
sizeBefore: bigint;
|
|
2085
2201
|
md5Encrypted: string;
|
|
2086
|
-
|
|
2202
|
+
access: {
|
|
2087
2203
|
key: string;
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
pub: string;
|
|
2091
|
-
} | null;
|
|
2092
|
-
};
|
|
2093
|
-
}[];
|
|
2204
|
+
sharedByPubKey: string;
|
|
2205
|
+
};
|
|
2094
2206
|
} | null;
|
|
2095
2207
|
history: {
|
|
2096
2208
|
id: string;
|
|
@@ -2101,49 +2213,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2101
2213
|
storageType: "scaleway" | "mongo";
|
|
2102
2214
|
sizeBefore: bigint;
|
|
2103
2215
|
md5Encrypted: string;
|
|
2104
|
-
|
|
2216
|
+
access: {
|
|
2105
2217
|
key: string;
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
pub: string;
|
|
2109
|
-
} | null;
|
|
2110
|
-
};
|
|
2111
|
-
}[];
|
|
2218
|
+
sharedByPubKey: string;
|
|
2219
|
+
};
|
|
2112
2220
|
}[];
|
|
2113
|
-
parent: {
|
|
2221
|
+
parent: ({
|
|
2114
2222
|
type: "FILE" | "FOLDER";
|
|
2115
2223
|
id: string;
|
|
2116
2224
|
createdAt: Date;
|
|
2225
|
+
deletedAt: Date | null;
|
|
2117
2226
|
name: string;
|
|
2118
2227
|
updatedAt: Date;
|
|
2119
|
-
deletedAt: Date | null;
|
|
2120
2228
|
parentId: string | null;
|
|
2121
2229
|
isFavorite: boolean;
|
|
2230
|
+
} & {
|
|
2231
|
+
users: [{
|
|
2232
|
+
id: string;
|
|
2233
|
+
lastname: string;
|
|
2234
|
+
firstname: string;
|
|
2235
|
+
}, "admin" | "write" | "read"][];
|
|
2122
2236
|
createdBy: {
|
|
2123
2237
|
appId: string;
|
|
2124
2238
|
userId: string;
|
|
2125
2239
|
};
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
};
|
|
2133
|
-
children: {
|
|
2240
|
+
access: {
|
|
2241
|
+
nameKey: string | null;
|
|
2242
|
+
sharedByPubKey: string;
|
|
2243
|
+
};
|
|
2244
|
+
}) | null;
|
|
2245
|
+
children: ({
|
|
2134
2246
|
type: "FILE" | "FOLDER";
|
|
2135
2247
|
id: string;
|
|
2136
2248
|
createdAt: Date;
|
|
2249
|
+
deletedAt: Date | null;
|
|
2137
2250
|
name: string;
|
|
2138
2251
|
updatedAt: Date;
|
|
2139
|
-
deletedAt: Date | null;
|
|
2140
2252
|
parentId: string | null;
|
|
2141
2253
|
isFavorite: boolean;
|
|
2254
|
+
} & {
|
|
2255
|
+
users: [{
|
|
2256
|
+
id: string;
|
|
2257
|
+
lastname: string;
|
|
2258
|
+
firstname: string;
|
|
2259
|
+
}, "admin" | "write" | "read"][];
|
|
2142
2260
|
createdBy: {
|
|
2143
2261
|
appId: string;
|
|
2144
2262
|
userId: string;
|
|
2145
2263
|
};
|
|
2146
|
-
|
|
2264
|
+
access: {
|
|
2265
|
+
nameKey: string | null;
|
|
2266
|
+
sharedByPubKey: string;
|
|
2267
|
+
};
|
|
2268
|
+
})[];
|
|
2147
2269
|
};
|
|
2148
2270
|
}, unknown>;
|
|
2149
2271
|
shareFileInHistory: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -2407,26 +2529,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2407
2529
|
type: "FILE" | "FOLDER";
|
|
2408
2530
|
id: string;
|
|
2409
2531
|
createdAt: Date;
|
|
2532
|
+
deletedAt: Date | null;
|
|
2410
2533
|
name: string;
|
|
2411
2534
|
updatedAt: Date;
|
|
2412
|
-
|
|
2413
|
-
|
|
2535
|
+
parentId: string | null;
|
|
2536
|
+
isFavorite: boolean;
|
|
2537
|
+
} & {
|
|
2538
|
+
users: [{
|
|
2414
2539
|
id: string;
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2540
|
+
lastname: string;
|
|
2541
|
+
firstname: string;
|
|
2542
|
+
}, "admin" | "write" | "read"][];
|
|
2543
|
+
createdBy: {
|
|
2544
|
+
appId: string;
|
|
2545
|
+
userId: string;
|
|
2546
|
+
};
|
|
2547
|
+
access: {
|
|
2548
|
+
nameKey: string | null;
|
|
2549
|
+
sharedByPubKey: string;
|
|
2550
|
+
};
|
|
2551
|
+
} & {
|
|
2552
|
+
current: {
|
|
2553
|
+
id: string;
|
|
2554
|
+
createdAt: Date;
|
|
2555
|
+
deletedAt: Date | null;
|
|
2556
|
+
size: bigint;
|
|
2418
2557
|
md5: string;
|
|
2419
2558
|
storageType: "scaleway" | "mongo";
|
|
2420
2559
|
sizeBefore: bigint;
|
|
2421
2560
|
md5Encrypted: string;
|
|
2422
|
-
|
|
2561
|
+
access: {
|
|
2423
2562
|
key: string;
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
pub: string;
|
|
2427
|
-
} | null;
|
|
2428
|
-
};
|
|
2429
|
-
}[];
|
|
2563
|
+
sharedByPubKey: string;
|
|
2564
|
+
};
|
|
2430
2565
|
} | null;
|
|
2431
2566
|
history: {
|
|
2432
2567
|
id: string;
|
|
@@ -2437,57 +2572,84 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2437
2572
|
storageType: "scaleway" | "mongo";
|
|
2438
2573
|
sizeBefore: bigint;
|
|
2439
2574
|
md5Encrypted: string;
|
|
2440
|
-
|
|
2575
|
+
access: {
|
|
2441
2576
|
key: string;
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
pub: string;
|
|
2445
|
-
} | null;
|
|
2446
|
-
};
|
|
2447
|
-
}[];
|
|
2577
|
+
sharedByPubKey: string;
|
|
2578
|
+
};
|
|
2448
2579
|
}[];
|
|
2449
|
-
parent: {
|
|
2580
|
+
parent: ({
|
|
2450
2581
|
type: "FILE" | "FOLDER";
|
|
2451
2582
|
id: string;
|
|
2452
2583
|
createdAt: Date;
|
|
2584
|
+
deletedAt: Date | null;
|
|
2453
2585
|
name: string;
|
|
2454
2586
|
updatedAt: Date;
|
|
2455
|
-
deletedAt: Date | null;
|
|
2456
2587
|
parentId: string | null;
|
|
2457
2588
|
isFavorite: boolean;
|
|
2589
|
+
} & {
|
|
2590
|
+
users: [{
|
|
2591
|
+
id: string;
|
|
2592
|
+
lastname: string;
|
|
2593
|
+
firstname: string;
|
|
2594
|
+
}, "admin" | "write" | "read"][];
|
|
2458
2595
|
createdBy: {
|
|
2459
2596
|
appId: string;
|
|
2460
2597
|
userId: string;
|
|
2461
2598
|
};
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
};
|
|
2469
|
-
children: {
|
|
2599
|
+
access: {
|
|
2600
|
+
nameKey: string | null;
|
|
2601
|
+
sharedByPubKey: string;
|
|
2602
|
+
};
|
|
2603
|
+
}) | null;
|
|
2604
|
+
children: ({
|
|
2470
2605
|
type: "FILE" | "FOLDER";
|
|
2471
2606
|
id: string;
|
|
2472
2607
|
createdAt: Date;
|
|
2608
|
+
deletedAt: Date | null;
|
|
2473
2609
|
name: string;
|
|
2474
2610
|
updatedAt: Date;
|
|
2475
|
-
deletedAt: Date | null;
|
|
2476
2611
|
parentId: string | null;
|
|
2477
2612
|
isFavorite: boolean;
|
|
2613
|
+
} & {
|
|
2614
|
+
users: [{
|
|
2615
|
+
id: string;
|
|
2616
|
+
lastname: string;
|
|
2617
|
+
firstname: string;
|
|
2618
|
+
}, "admin" | "write" | "read"][];
|
|
2478
2619
|
createdBy: {
|
|
2479
2620
|
appId: string;
|
|
2480
2621
|
userId: string;
|
|
2481
2622
|
};
|
|
2482
|
-
|
|
2623
|
+
access: {
|
|
2624
|
+
nameKey: string | null;
|
|
2625
|
+
sharedByPubKey: string;
|
|
2626
|
+
};
|
|
2627
|
+
})[];
|
|
2483
2628
|
};
|
|
2484
2629
|
_output_out: {
|
|
2485
2630
|
type: "FILE" | "FOLDER";
|
|
2486
2631
|
id: string;
|
|
2487
2632
|
createdAt: Date;
|
|
2633
|
+
deletedAt: Date | null;
|
|
2488
2634
|
name: string;
|
|
2489
2635
|
updatedAt: Date;
|
|
2490
|
-
|
|
2636
|
+
parentId: string | null;
|
|
2637
|
+
isFavorite: boolean;
|
|
2638
|
+
} & {
|
|
2639
|
+
users: [{
|
|
2640
|
+
id: string;
|
|
2641
|
+
lastname: string;
|
|
2642
|
+
firstname: string;
|
|
2643
|
+
}, "admin" | "write" | "read"][];
|
|
2644
|
+
createdBy: {
|
|
2645
|
+
appId: string;
|
|
2646
|
+
userId: string;
|
|
2647
|
+
};
|
|
2648
|
+
access: {
|
|
2649
|
+
nameKey: string | null;
|
|
2650
|
+
sharedByPubKey: string;
|
|
2651
|
+
};
|
|
2652
|
+
} & {
|
|
2491
2653
|
current: {
|
|
2492
2654
|
id: string;
|
|
2493
2655
|
createdAt: Date;
|
|
@@ -2497,14 +2659,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2497
2659
|
storageType: "scaleway" | "mongo";
|
|
2498
2660
|
sizeBefore: bigint;
|
|
2499
2661
|
md5Encrypted: string;
|
|
2500
|
-
|
|
2662
|
+
access: {
|
|
2501
2663
|
key: string;
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
pub: string;
|
|
2505
|
-
} | null;
|
|
2506
|
-
};
|
|
2507
|
-
}[];
|
|
2664
|
+
sharedByPubKey: string;
|
|
2665
|
+
};
|
|
2508
2666
|
} | null;
|
|
2509
2667
|
history: {
|
|
2510
2668
|
id: string;
|
|
@@ -2515,49 +2673,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2515
2673
|
storageType: "scaleway" | "mongo";
|
|
2516
2674
|
sizeBefore: bigint;
|
|
2517
2675
|
md5Encrypted: string;
|
|
2518
|
-
|
|
2676
|
+
access: {
|
|
2519
2677
|
key: string;
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
pub: string;
|
|
2523
|
-
} | null;
|
|
2524
|
-
};
|
|
2525
|
-
}[];
|
|
2678
|
+
sharedByPubKey: string;
|
|
2679
|
+
};
|
|
2526
2680
|
}[];
|
|
2527
|
-
parent: {
|
|
2681
|
+
parent: ({
|
|
2528
2682
|
type: "FILE" | "FOLDER";
|
|
2529
2683
|
id: string;
|
|
2530
2684
|
createdAt: Date;
|
|
2685
|
+
deletedAt: Date | null;
|
|
2531
2686
|
name: string;
|
|
2532
2687
|
updatedAt: Date;
|
|
2533
|
-
deletedAt: Date | null;
|
|
2534
2688
|
parentId: string | null;
|
|
2535
2689
|
isFavorite: boolean;
|
|
2690
|
+
} & {
|
|
2691
|
+
users: [{
|
|
2692
|
+
id: string;
|
|
2693
|
+
lastname: string;
|
|
2694
|
+
firstname: string;
|
|
2695
|
+
}, "admin" | "write" | "read"][];
|
|
2536
2696
|
createdBy: {
|
|
2537
2697
|
appId: string;
|
|
2538
2698
|
userId: string;
|
|
2539
2699
|
};
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
};
|
|
2547
|
-
children: {
|
|
2700
|
+
access: {
|
|
2701
|
+
nameKey: string | null;
|
|
2702
|
+
sharedByPubKey: string;
|
|
2703
|
+
};
|
|
2704
|
+
}) | null;
|
|
2705
|
+
children: ({
|
|
2548
2706
|
type: "FILE" | "FOLDER";
|
|
2549
2707
|
id: string;
|
|
2550
2708
|
createdAt: Date;
|
|
2709
|
+
deletedAt: Date | null;
|
|
2551
2710
|
name: string;
|
|
2552
2711
|
updatedAt: Date;
|
|
2553
|
-
deletedAt: Date | null;
|
|
2554
2712
|
parentId: string | null;
|
|
2555
2713
|
isFavorite: boolean;
|
|
2714
|
+
} & {
|
|
2715
|
+
users: [{
|
|
2716
|
+
id: string;
|
|
2717
|
+
lastname: string;
|
|
2718
|
+
firstname: string;
|
|
2719
|
+
}, "admin" | "write" | "read"][];
|
|
2556
2720
|
createdBy: {
|
|
2557
2721
|
appId: string;
|
|
2558
2722
|
userId: string;
|
|
2559
2723
|
};
|
|
2560
|
-
|
|
2724
|
+
access: {
|
|
2725
|
+
nameKey: string | null;
|
|
2726
|
+
sharedByPubKey: string;
|
|
2727
|
+
};
|
|
2728
|
+
})[];
|
|
2561
2729
|
};
|
|
2562
2730
|
}, unknown>;
|
|
2563
2731
|
deleteNodeCloudTrash: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -2780,6 +2948,98 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2780
2948
|
isMoved: boolean;
|
|
2781
2949
|
};
|
|
2782
2950
|
}, unknown>;
|
|
2951
|
+
nodeAccessById: _trpc_server.BuildProcedure<"query", {
|
|
2952
|
+
_config: _trpc_server.RootConfig<{
|
|
2953
|
+
ctx: {};
|
|
2954
|
+
meta: object;
|
|
2955
|
+
errorShape: {
|
|
2956
|
+
message: string;
|
|
2957
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2958
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2959
|
+
} | {
|
|
2960
|
+
data: {
|
|
2961
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2962
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
2963
|
+
httpStatus: number;
|
|
2964
|
+
path?: string | undefined;
|
|
2965
|
+
stack?: string | undefined;
|
|
2966
|
+
};
|
|
2967
|
+
message: string;
|
|
2968
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2969
|
+
};
|
|
2970
|
+
transformer: typeof superjson.default;
|
|
2971
|
+
}>;
|
|
2972
|
+
_meta: object;
|
|
2973
|
+
_ctx_out: {};
|
|
2974
|
+
_input_in: {
|
|
2975
|
+
id: string;
|
|
2976
|
+
};
|
|
2977
|
+
_input_out: {
|
|
2978
|
+
id: string;
|
|
2979
|
+
};
|
|
2980
|
+
_output_in: {
|
|
2981
|
+
rights: "admin" | "write" | "read";
|
|
2982
|
+
userAppUserId: string;
|
|
2983
|
+
userAppAppId: string;
|
|
2984
|
+
sharedByUserId: string;
|
|
2985
|
+
sharedByAppId: string;
|
|
2986
|
+
nodeId: string;
|
|
2987
|
+
nameKey: string | null;
|
|
2988
|
+
isRoot: boolean;
|
|
2989
|
+
};
|
|
2990
|
+
_output_out: {
|
|
2991
|
+
rights: "admin" | "write" | "read";
|
|
2992
|
+
userAppUserId: string;
|
|
2993
|
+
userAppAppId: string;
|
|
2994
|
+
sharedByUserId: string;
|
|
2995
|
+
sharedByAppId: string;
|
|
2996
|
+
nodeId: string;
|
|
2997
|
+
nameKey: string | null;
|
|
2998
|
+
isRoot: boolean;
|
|
2999
|
+
};
|
|
3000
|
+
}, unknown>;
|
|
3001
|
+
nodeBreadcrumbById: _trpc_server.BuildProcedure<"query", {
|
|
3002
|
+
_config: _trpc_server.RootConfig<{
|
|
3003
|
+
ctx: {};
|
|
3004
|
+
meta: object;
|
|
3005
|
+
errorShape: {
|
|
3006
|
+
message: string;
|
|
3007
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
3008
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3009
|
+
} | {
|
|
3010
|
+
data: {
|
|
3011
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
3012
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3013
|
+
httpStatus: number;
|
|
3014
|
+
path?: string | undefined;
|
|
3015
|
+
stack?: string | undefined;
|
|
3016
|
+
};
|
|
3017
|
+
message: string;
|
|
3018
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
3019
|
+
};
|
|
3020
|
+
transformer: typeof superjson.default;
|
|
3021
|
+
}>;
|
|
3022
|
+
_meta: object;
|
|
3023
|
+
_ctx_out: {};
|
|
3024
|
+
_input_in: {
|
|
3025
|
+
id: string;
|
|
3026
|
+
};
|
|
3027
|
+
_input_out: {
|
|
3028
|
+
id: string;
|
|
3029
|
+
};
|
|
3030
|
+
_output_in: {
|
|
3031
|
+
id: string;
|
|
3032
|
+
name: string;
|
|
3033
|
+
nameKey: string | null;
|
|
3034
|
+
pubKey: string;
|
|
3035
|
+
}[];
|
|
3036
|
+
_output_out: {
|
|
3037
|
+
id: string;
|
|
3038
|
+
name: string;
|
|
3039
|
+
nameKey: string | null;
|
|
3040
|
+
pubKey: string;
|
|
3041
|
+
}[];
|
|
3042
|
+
}, unknown>;
|
|
2783
3043
|
nodeById: _trpc_server.BuildProcedure<"query", {
|
|
2784
3044
|
_config: _trpc_server.RootConfig<{
|
|
2785
3045
|
ctx: {};
|
|
@@ -2815,29 +3075,49 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2815
3075
|
type: "FILE" | "FOLDER";
|
|
2816
3076
|
id: string;
|
|
2817
3077
|
createdAt: Date;
|
|
3078
|
+
deletedAt: Date | null;
|
|
2818
3079
|
name: string;
|
|
2819
3080
|
updatedAt: Date;
|
|
2820
|
-
deletedAt: Date | null;
|
|
2821
3081
|
parentId: string | null;
|
|
2822
3082
|
isFavorite: boolean;
|
|
3083
|
+
} & {
|
|
3084
|
+
users: [{
|
|
3085
|
+
id: string;
|
|
3086
|
+
lastname: string;
|
|
3087
|
+
firstname: string;
|
|
3088
|
+
}, "admin" | "write" | "read"][];
|
|
2823
3089
|
createdBy: {
|
|
2824
3090
|
appId: string;
|
|
2825
3091
|
userId: string;
|
|
2826
3092
|
};
|
|
3093
|
+
access: {
|
|
3094
|
+
nameKey: string | null;
|
|
3095
|
+
sharedByPubKey: string;
|
|
3096
|
+
};
|
|
2827
3097
|
};
|
|
2828
3098
|
_output_out: {
|
|
2829
3099
|
type: "FILE" | "FOLDER";
|
|
2830
3100
|
id: string;
|
|
2831
3101
|
createdAt: Date;
|
|
3102
|
+
deletedAt: Date | null;
|
|
2832
3103
|
name: string;
|
|
2833
3104
|
updatedAt: Date;
|
|
2834
|
-
deletedAt: Date | null;
|
|
2835
3105
|
parentId: string | null;
|
|
2836
3106
|
isFavorite: boolean;
|
|
3107
|
+
} & {
|
|
3108
|
+
users: [{
|
|
3109
|
+
id: string;
|
|
3110
|
+
lastname: string;
|
|
3111
|
+
firstname: string;
|
|
3112
|
+
}, "admin" | "write" | "read"][];
|
|
2837
3113
|
createdBy: {
|
|
2838
3114
|
appId: string;
|
|
2839
3115
|
userId: string;
|
|
2840
3116
|
};
|
|
3117
|
+
access: {
|
|
3118
|
+
nameKey: string | null;
|
|
3119
|
+
sharedByPubKey: string;
|
|
3120
|
+
};
|
|
2841
3121
|
};
|
|
2842
3122
|
}, unknown>;
|
|
2843
3123
|
nodeFullById: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2875,9 +3155,26 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2875
3155
|
type: "FILE" | "FOLDER";
|
|
2876
3156
|
id: string;
|
|
2877
3157
|
createdAt: Date;
|
|
3158
|
+
deletedAt: Date | null;
|
|
2878
3159
|
name: string;
|
|
2879
3160
|
updatedAt: Date;
|
|
2880
|
-
|
|
3161
|
+
parentId: string | null;
|
|
3162
|
+
isFavorite: boolean;
|
|
3163
|
+
} & {
|
|
3164
|
+
users: [{
|
|
3165
|
+
id: string;
|
|
3166
|
+
lastname: string;
|
|
3167
|
+
firstname: string;
|
|
3168
|
+
}, "admin" | "write" | "read"][];
|
|
3169
|
+
createdBy: {
|
|
3170
|
+
appId: string;
|
|
3171
|
+
userId: string;
|
|
3172
|
+
};
|
|
3173
|
+
access: {
|
|
3174
|
+
nameKey: string | null;
|
|
3175
|
+
sharedByPubKey: string;
|
|
3176
|
+
};
|
|
3177
|
+
} & {
|
|
2881
3178
|
current: {
|
|
2882
3179
|
id: string;
|
|
2883
3180
|
createdAt: Date;
|
|
@@ -2887,14 +3184,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2887
3184
|
storageType: "scaleway" | "mongo";
|
|
2888
3185
|
sizeBefore: bigint;
|
|
2889
3186
|
md5Encrypted: string;
|
|
2890
|
-
|
|
3187
|
+
access: {
|
|
2891
3188
|
key: string;
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
pub: string;
|
|
2895
|
-
} | null;
|
|
2896
|
-
};
|
|
2897
|
-
}[];
|
|
3189
|
+
sharedByPubKey: string;
|
|
3190
|
+
};
|
|
2898
3191
|
} | null;
|
|
2899
3192
|
history: {
|
|
2900
3193
|
id: string;
|
|
@@ -2905,57 +3198,84 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2905
3198
|
storageType: "scaleway" | "mongo";
|
|
2906
3199
|
sizeBefore: bigint;
|
|
2907
3200
|
md5Encrypted: string;
|
|
2908
|
-
|
|
3201
|
+
access: {
|
|
2909
3202
|
key: string;
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
pub: string;
|
|
2913
|
-
} | null;
|
|
2914
|
-
};
|
|
2915
|
-
}[];
|
|
3203
|
+
sharedByPubKey: string;
|
|
3204
|
+
};
|
|
2916
3205
|
}[];
|
|
2917
|
-
parent: {
|
|
3206
|
+
parent: ({
|
|
2918
3207
|
type: "FILE" | "FOLDER";
|
|
2919
3208
|
id: string;
|
|
2920
3209
|
createdAt: Date;
|
|
3210
|
+
deletedAt: Date | null;
|
|
2921
3211
|
name: string;
|
|
2922
3212
|
updatedAt: Date;
|
|
2923
|
-
deletedAt: Date | null;
|
|
2924
3213
|
parentId: string | null;
|
|
2925
3214
|
isFavorite: boolean;
|
|
3215
|
+
} & {
|
|
3216
|
+
users: [{
|
|
3217
|
+
id: string;
|
|
3218
|
+
lastname: string;
|
|
3219
|
+
firstname: string;
|
|
3220
|
+
}, "admin" | "write" | "read"][];
|
|
2926
3221
|
createdBy: {
|
|
2927
3222
|
appId: string;
|
|
2928
3223
|
userId: string;
|
|
2929
3224
|
};
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
};
|
|
2937
|
-
children: {
|
|
3225
|
+
access: {
|
|
3226
|
+
nameKey: string | null;
|
|
3227
|
+
sharedByPubKey: string;
|
|
3228
|
+
};
|
|
3229
|
+
}) | null;
|
|
3230
|
+
children: ({
|
|
2938
3231
|
type: "FILE" | "FOLDER";
|
|
2939
3232
|
id: string;
|
|
2940
3233
|
createdAt: Date;
|
|
3234
|
+
deletedAt: Date | null;
|
|
2941
3235
|
name: string;
|
|
2942
3236
|
updatedAt: Date;
|
|
2943
|
-
deletedAt: Date | null;
|
|
2944
3237
|
parentId: string | null;
|
|
2945
3238
|
isFavorite: boolean;
|
|
3239
|
+
} & {
|
|
3240
|
+
users: [{
|
|
3241
|
+
id: string;
|
|
3242
|
+
lastname: string;
|
|
3243
|
+
firstname: string;
|
|
3244
|
+
}, "admin" | "write" | "read"][];
|
|
2946
3245
|
createdBy: {
|
|
2947
3246
|
appId: string;
|
|
2948
3247
|
userId: string;
|
|
2949
3248
|
};
|
|
2950
|
-
|
|
3249
|
+
access: {
|
|
3250
|
+
nameKey: string | null;
|
|
3251
|
+
sharedByPubKey: string;
|
|
3252
|
+
};
|
|
3253
|
+
})[];
|
|
2951
3254
|
};
|
|
2952
3255
|
_output_out: {
|
|
2953
3256
|
type: "FILE" | "FOLDER";
|
|
2954
3257
|
id: string;
|
|
2955
3258
|
createdAt: Date;
|
|
3259
|
+
deletedAt: Date | null;
|
|
2956
3260
|
name: string;
|
|
2957
3261
|
updatedAt: Date;
|
|
2958
|
-
|
|
3262
|
+
parentId: string | null;
|
|
3263
|
+
isFavorite: boolean;
|
|
3264
|
+
} & {
|
|
3265
|
+
users: [{
|
|
3266
|
+
id: string;
|
|
3267
|
+
lastname: string;
|
|
3268
|
+
firstname: string;
|
|
3269
|
+
}, "admin" | "write" | "read"][];
|
|
3270
|
+
createdBy: {
|
|
3271
|
+
appId: string;
|
|
3272
|
+
userId: string;
|
|
3273
|
+
};
|
|
3274
|
+
access: {
|
|
3275
|
+
nameKey: string | null;
|
|
3276
|
+
sharedByPubKey: string;
|
|
3277
|
+
};
|
|
3278
|
+
} & {
|
|
2959
3279
|
current: {
|
|
2960
3280
|
id: string;
|
|
2961
3281
|
createdAt: Date;
|
|
@@ -2965,14 +3285,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2965
3285
|
storageType: "scaleway" | "mongo";
|
|
2966
3286
|
sizeBefore: bigint;
|
|
2967
3287
|
md5Encrypted: string;
|
|
2968
|
-
|
|
3288
|
+
access: {
|
|
2969
3289
|
key: string;
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
pub: string;
|
|
2973
|
-
} | null;
|
|
2974
|
-
};
|
|
2975
|
-
}[];
|
|
3290
|
+
sharedByPubKey: string;
|
|
3291
|
+
};
|
|
2976
3292
|
} | null;
|
|
2977
3293
|
history: {
|
|
2978
3294
|
id: string;
|
|
@@ -2983,49 +3299,97 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2983
3299
|
storageType: "scaleway" | "mongo";
|
|
2984
3300
|
sizeBefore: bigint;
|
|
2985
3301
|
md5Encrypted: string;
|
|
2986
|
-
|
|
3302
|
+
access: {
|
|
2987
3303
|
key: string;
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
pub: string;
|
|
2991
|
-
} | null;
|
|
2992
|
-
};
|
|
2993
|
-
}[];
|
|
3304
|
+
sharedByPubKey: string;
|
|
3305
|
+
};
|
|
2994
3306
|
}[];
|
|
2995
|
-
parent: {
|
|
3307
|
+
parent: ({
|
|
2996
3308
|
type: "FILE" | "FOLDER";
|
|
2997
3309
|
id: string;
|
|
2998
3310
|
createdAt: Date;
|
|
3311
|
+
deletedAt: Date | null;
|
|
2999
3312
|
name: string;
|
|
3000
3313
|
updatedAt: Date;
|
|
3001
|
-
deletedAt: Date | null;
|
|
3002
3314
|
parentId: string | null;
|
|
3003
3315
|
isFavorite: boolean;
|
|
3316
|
+
} & {
|
|
3317
|
+
users: [{
|
|
3318
|
+
id: string;
|
|
3319
|
+
lastname: string;
|
|
3320
|
+
firstname: string;
|
|
3321
|
+
}, "admin" | "write" | "read"][];
|
|
3004
3322
|
createdBy: {
|
|
3005
3323
|
appId: string;
|
|
3006
3324
|
userId: string;
|
|
3007
3325
|
};
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
};
|
|
3015
|
-
children: {
|
|
3326
|
+
access: {
|
|
3327
|
+
nameKey: string | null;
|
|
3328
|
+
sharedByPubKey: string;
|
|
3329
|
+
};
|
|
3330
|
+
}) | null;
|
|
3331
|
+
children: ({
|
|
3016
3332
|
type: "FILE" | "FOLDER";
|
|
3017
3333
|
id: string;
|
|
3018
3334
|
createdAt: Date;
|
|
3335
|
+
deletedAt: Date | null;
|
|
3019
3336
|
name: string;
|
|
3020
3337
|
updatedAt: Date;
|
|
3021
|
-
deletedAt: Date | null;
|
|
3022
3338
|
parentId: string | null;
|
|
3023
3339
|
isFavorite: boolean;
|
|
3340
|
+
} & {
|
|
3341
|
+
users: [{
|
|
3342
|
+
id: string;
|
|
3343
|
+
lastname: string;
|
|
3344
|
+
firstname: string;
|
|
3345
|
+
}, "admin" | "write" | "read"][];
|
|
3024
3346
|
createdBy: {
|
|
3025
3347
|
appId: string;
|
|
3026
3348
|
userId: string;
|
|
3027
3349
|
};
|
|
3028
|
-
|
|
3350
|
+
access: {
|
|
3351
|
+
nameKey: string | null;
|
|
3352
|
+
sharedByPubKey: string;
|
|
3353
|
+
};
|
|
3354
|
+
})[];
|
|
3355
|
+
};
|
|
3356
|
+
}, unknown>;
|
|
3357
|
+
nodeSizeById: _trpc_server.BuildProcedure<"query", {
|
|
3358
|
+
_config: _trpc_server.RootConfig<{
|
|
3359
|
+
ctx: {};
|
|
3360
|
+
meta: object;
|
|
3361
|
+
errorShape: {
|
|
3362
|
+
message: string;
|
|
3363
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
3364
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
3365
|
+
} | {
|
|
3366
|
+
data: {
|
|
3367
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
3368
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
3369
|
+
httpStatus: number;
|
|
3370
|
+
path?: string | undefined;
|
|
3371
|
+
stack?: string | undefined;
|
|
3372
|
+
};
|
|
3373
|
+
message: string;
|
|
3374
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
3375
|
+
};
|
|
3376
|
+
transformer: typeof superjson.default;
|
|
3377
|
+
}>;
|
|
3378
|
+
_meta: object;
|
|
3379
|
+
_ctx_out: {};
|
|
3380
|
+
_input_in: {
|
|
3381
|
+
id: string;
|
|
3382
|
+
};
|
|
3383
|
+
_input_out: {
|
|
3384
|
+
id: string;
|
|
3385
|
+
};
|
|
3386
|
+
_output_in: {
|
|
3387
|
+
size: bigint;
|
|
3388
|
+
sizeBefore: bigint;
|
|
3389
|
+
};
|
|
3390
|
+
_output_out: {
|
|
3391
|
+
size: bigint;
|
|
3392
|
+
sizeBefore: bigint;
|
|
3029
3393
|
};
|
|
3030
3394
|
}, unknown>;
|
|
3031
3395
|
nodesDeleted: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3057,29 +3421,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3057
3421
|
type: "FILE" | "FOLDER";
|
|
3058
3422
|
id: string;
|
|
3059
3423
|
createdAt: Date;
|
|
3424
|
+
deletedAt: Date | null;
|
|
3060
3425
|
name: string;
|
|
3061
3426
|
updatedAt: Date;
|
|
3062
|
-
deletedAt: Date | null;
|
|
3063
3427
|
parentId: string | null;
|
|
3064
3428
|
isFavorite: boolean;
|
|
3065
|
-
createdBy: {
|
|
3066
|
-
appId: string;
|
|
3067
|
-
userId: string;
|
|
3068
|
-
};
|
|
3069
3429
|
}[];
|
|
3070
3430
|
_output_out: {
|
|
3071
3431
|
type: "FILE" | "FOLDER";
|
|
3072
3432
|
id: string;
|
|
3073
3433
|
createdAt: Date;
|
|
3434
|
+
deletedAt: Date | null;
|
|
3074
3435
|
name: string;
|
|
3075
3436
|
updatedAt: Date;
|
|
3076
|
-
deletedAt: Date | null;
|
|
3077
3437
|
parentId: string | null;
|
|
3078
3438
|
isFavorite: boolean;
|
|
3079
|
-
createdBy: {
|
|
3080
|
-
appId: string;
|
|
3081
|
-
userId: string;
|
|
3082
|
-
};
|
|
3083
3439
|
}[];
|
|
3084
3440
|
}, unknown>;
|
|
3085
3441
|
nodesSharedWithMe: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3115,29 +3471,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3115
3471
|
type: "FILE" | "FOLDER";
|
|
3116
3472
|
id: string;
|
|
3117
3473
|
createdAt: Date;
|
|
3474
|
+
deletedAt: Date | null;
|
|
3118
3475
|
name: string;
|
|
3119
3476
|
updatedAt: Date;
|
|
3120
|
-
deletedAt: Date | null;
|
|
3121
3477
|
parentId: string | null;
|
|
3122
3478
|
isFavorite: boolean;
|
|
3123
|
-
createdBy: {
|
|
3124
|
-
appId: string;
|
|
3125
|
-
userId: string;
|
|
3126
|
-
};
|
|
3127
3479
|
}[];
|
|
3128
3480
|
_output_out: {
|
|
3129
3481
|
type: "FILE" | "FOLDER";
|
|
3130
3482
|
id: string;
|
|
3131
3483
|
createdAt: Date;
|
|
3484
|
+
deletedAt: Date | null;
|
|
3132
3485
|
name: string;
|
|
3133
3486
|
updatedAt: Date;
|
|
3134
|
-
deletedAt: Date | null;
|
|
3135
3487
|
parentId: string | null;
|
|
3136
3488
|
isFavorite: boolean;
|
|
3137
|
-
createdBy: {
|
|
3138
|
-
appId: string;
|
|
3139
|
-
userId: string;
|
|
3140
|
-
};
|
|
3141
3489
|
}[];
|
|
3142
3490
|
}, unknown>;
|
|
3143
3491
|
nodesShared: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3169,29 +3517,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3169
3517
|
type: "FILE" | "FOLDER";
|
|
3170
3518
|
id: string;
|
|
3171
3519
|
createdAt: Date;
|
|
3520
|
+
deletedAt: Date | null;
|
|
3172
3521
|
name: string;
|
|
3173
3522
|
updatedAt: Date;
|
|
3174
|
-
deletedAt: Date | null;
|
|
3175
3523
|
parentId: string | null;
|
|
3176
3524
|
isFavorite: boolean;
|
|
3177
|
-
createdBy: {
|
|
3178
|
-
appId: string;
|
|
3179
|
-
userId: string;
|
|
3180
|
-
};
|
|
3181
3525
|
}[];
|
|
3182
3526
|
_output_out: {
|
|
3183
3527
|
type: "FILE" | "FOLDER";
|
|
3184
3528
|
id: string;
|
|
3185
3529
|
createdAt: Date;
|
|
3530
|
+
deletedAt: Date | null;
|
|
3186
3531
|
name: string;
|
|
3187
3532
|
updatedAt: Date;
|
|
3188
|
-
deletedAt: Date | null;
|
|
3189
3533
|
parentId: string | null;
|
|
3190
3534
|
isFavorite: boolean;
|
|
3191
|
-
createdBy: {
|
|
3192
|
-
appId: string;
|
|
3193
|
-
userId: string;
|
|
3194
|
-
};
|
|
3195
3535
|
}[];
|
|
3196
3536
|
}, unknown>;
|
|
3197
3537
|
recoverNode: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -3347,23 +3687,40 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3347
3687
|
_ctx_out: {};
|
|
3348
3688
|
_input_in: {
|
|
3349
3689
|
id: string;
|
|
3350
|
-
name: string | null;
|
|
3351
3690
|
deletedAt: Date | null;
|
|
3691
|
+
name: string | null;
|
|
3352
3692
|
isFavorite: boolean | null;
|
|
3353
3693
|
};
|
|
3354
3694
|
_input_out: {
|
|
3355
3695
|
id: string;
|
|
3356
|
-
name: string | null;
|
|
3357
3696
|
deletedAt: Date | null;
|
|
3697
|
+
name: string | null;
|
|
3358
3698
|
isFavorite: boolean | null;
|
|
3359
3699
|
};
|
|
3360
3700
|
_output_in: {
|
|
3361
3701
|
type: "FILE" | "FOLDER";
|
|
3362
3702
|
id: string;
|
|
3363
3703
|
createdAt: Date;
|
|
3704
|
+
deletedAt: Date | null;
|
|
3364
3705
|
name: string;
|
|
3365
3706
|
updatedAt: Date;
|
|
3366
|
-
|
|
3707
|
+
parentId: string | null;
|
|
3708
|
+
isFavorite: boolean;
|
|
3709
|
+
} & {
|
|
3710
|
+
users: [{
|
|
3711
|
+
id: string;
|
|
3712
|
+
lastname: string;
|
|
3713
|
+
firstname: string;
|
|
3714
|
+
}, "admin" | "write" | "read"][];
|
|
3715
|
+
createdBy: {
|
|
3716
|
+
appId: string;
|
|
3717
|
+
userId: string;
|
|
3718
|
+
};
|
|
3719
|
+
access: {
|
|
3720
|
+
nameKey: string | null;
|
|
3721
|
+
sharedByPubKey: string;
|
|
3722
|
+
};
|
|
3723
|
+
} & {
|
|
3367
3724
|
current: {
|
|
3368
3725
|
id: string;
|
|
3369
3726
|
createdAt: Date;
|
|
@@ -3373,14 +3730,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3373
3730
|
storageType: "scaleway" | "mongo";
|
|
3374
3731
|
sizeBefore: bigint;
|
|
3375
3732
|
md5Encrypted: string;
|
|
3376
|
-
|
|
3733
|
+
access: {
|
|
3377
3734
|
key: string;
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
pub: string;
|
|
3381
|
-
} | null;
|
|
3382
|
-
};
|
|
3383
|
-
}[];
|
|
3735
|
+
sharedByPubKey: string;
|
|
3736
|
+
};
|
|
3384
3737
|
} | null;
|
|
3385
3738
|
history: {
|
|
3386
3739
|
id: string;
|
|
@@ -3391,57 +3744,84 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3391
3744
|
storageType: "scaleway" | "mongo";
|
|
3392
3745
|
sizeBefore: bigint;
|
|
3393
3746
|
md5Encrypted: string;
|
|
3394
|
-
|
|
3747
|
+
access: {
|
|
3395
3748
|
key: string;
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
pub: string;
|
|
3399
|
-
} | null;
|
|
3400
|
-
};
|
|
3401
|
-
}[];
|
|
3749
|
+
sharedByPubKey: string;
|
|
3750
|
+
};
|
|
3402
3751
|
}[];
|
|
3403
|
-
parent: {
|
|
3752
|
+
parent: ({
|
|
3404
3753
|
type: "FILE" | "FOLDER";
|
|
3405
3754
|
id: string;
|
|
3406
3755
|
createdAt: Date;
|
|
3756
|
+
deletedAt: Date | null;
|
|
3407
3757
|
name: string;
|
|
3408
3758
|
updatedAt: Date;
|
|
3409
|
-
deletedAt: Date | null;
|
|
3410
3759
|
parentId: string | null;
|
|
3411
3760
|
isFavorite: boolean;
|
|
3761
|
+
} & {
|
|
3762
|
+
users: [{
|
|
3763
|
+
id: string;
|
|
3764
|
+
lastname: string;
|
|
3765
|
+
firstname: string;
|
|
3766
|
+
}, "admin" | "write" | "read"][];
|
|
3412
3767
|
createdBy: {
|
|
3413
3768
|
appId: string;
|
|
3414
3769
|
userId: string;
|
|
3415
3770
|
};
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
};
|
|
3423
|
-
children: {
|
|
3771
|
+
access: {
|
|
3772
|
+
nameKey: string | null;
|
|
3773
|
+
sharedByPubKey: string;
|
|
3774
|
+
};
|
|
3775
|
+
}) | null;
|
|
3776
|
+
children: ({
|
|
3424
3777
|
type: "FILE" | "FOLDER";
|
|
3425
3778
|
id: string;
|
|
3426
3779
|
createdAt: Date;
|
|
3780
|
+
deletedAt: Date | null;
|
|
3427
3781
|
name: string;
|
|
3428
3782
|
updatedAt: Date;
|
|
3429
|
-
deletedAt: Date | null;
|
|
3430
3783
|
parentId: string | null;
|
|
3431
3784
|
isFavorite: boolean;
|
|
3785
|
+
} & {
|
|
3786
|
+
users: [{
|
|
3787
|
+
id: string;
|
|
3788
|
+
lastname: string;
|
|
3789
|
+
firstname: string;
|
|
3790
|
+
}, "admin" | "write" | "read"][];
|
|
3432
3791
|
createdBy: {
|
|
3433
3792
|
appId: string;
|
|
3434
3793
|
userId: string;
|
|
3435
3794
|
};
|
|
3436
|
-
|
|
3795
|
+
access: {
|
|
3796
|
+
nameKey: string | null;
|
|
3797
|
+
sharedByPubKey: string;
|
|
3798
|
+
};
|
|
3799
|
+
})[];
|
|
3437
3800
|
};
|
|
3438
3801
|
_output_out: {
|
|
3439
3802
|
type: "FILE" | "FOLDER";
|
|
3440
3803
|
id: string;
|
|
3441
3804
|
createdAt: Date;
|
|
3805
|
+
deletedAt: Date | null;
|
|
3442
3806
|
name: string;
|
|
3443
3807
|
updatedAt: Date;
|
|
3444
|
-
|
|
3808
|
+
parentId: string | null;
|
|
3809
|
+
isFavorite: boolean;
|
|
3810
|
+
} & {
|
|
3811
|
+
users: [{
|
|
3812
|
+
id: string;
|
|
3813
|
+
lastname: string;
|
|
3814
|
+
firstname: string;
|
|
3815
|
+
}, "admin" | "write" | "read"][];
|
|
3816
|
+
createdBy: {
|
|
3817
|
+
appId: string;
|
|
3818
|
+
userId: string;
|
|
3819
|
+
};
|
|
3820
|
+
access: {
|
|
3821
|
+
nameKey: string | null;
|
|
3822
|
+
sharedByPubKey: string;
|
|
3823
|
+
};
|
|
3824
|
+
} & {
|
|
3445
3825
|
current: {
|
|
3446
3826
|
id: string;
|
|
3447
3827
|
createdAt: Date;
|
|
@@ -3451,14 +3831,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3451
3831
|
storageType: "scaleway" | "mongo";
|
|
3452
3832
|
sizeBefore: bigint;
|
|
3453
3833
|
md5Encrypted: string;
|
|
3454
|
-
|
|
3834
|
+
access: {
|
|
3455
3835
|
key: string;
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
pub: string;
|
|
3459
|
-
} | null;
|
|
3460
|
-
};
|
|
3461
|
-
}[];
|
|
3836
|
+
sharedByPubKey: string;
|
|
3837
|
+
};
|
|
3462
3838
|
} | null;
|
|
3463
3839
|
history: {
|
|
3464
3840
|
id: string;
|
|
@@ -3469,49 +3845,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3469
3845
|
storageType: "scaleway" | "mongo";
|
|
3470
3846
|
sizeBefore: bigint;
|
|
3471
3847
|
md5Encrypted: string;
|
|
3472
|
-
|
|
3848
|
+
access: {
|
|
3473
3849
|
key: string;
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
pub: string;
|
|
3477
|
-
} | null;
|
|
3478
|
-
};
|
|
3479
|
-
}[];
|
|
3850
|
+
sharedByPubKey: string;
|
|
3851
|
+
};
|
|
3480
3852
|
}[];
|
|
3481
|
-
parent: {
|
|
3853
|
+
parent: ({
|
|
3482
3854
|
type: "FILE" | "FOLDER";
|
|
3483
3855
|
id: string;
|
|
3484
3856
|
createdAt: Date;
|
|
3857
|
+
deletedAt: Date | null;
|
|
3485
3858
|
name: string;
|
|
3486
3859
|
updatedAt: Date;
|
|
3487
|
-
deletedAt: Date | null;
|
|
3488
3860
|
parentId: string | null;
|
|
3489
3861
|
isFavorite: boolean;
|
|
3862
|
+
} & {
|
|
3863
|
+
users: [{
|
|
3864
|
+
id: string;
|
|
3865
|
+
lastname: string;
|
|
3866
|
+
firstname: string;
|
|
3867
|
+
}, "admin" | "write" | "read"][];
|
|
3490
3868
|
createdBy: {
|
|
3491
3869
|
appId: string;
|
|
3492
3870
|
userId: string;
|
|
3493
3871
|
};
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
};
|
|
3501
|
-
children: {
|
|
3872
|
+
access: {
|
|
3873
|
+
nameKey: string | null;
|
|
3874
|
+
sharedByPubKey: string;
|
|
3875
|
+
};
|
|
3876
|
+
}) | null;
|
|
3877
|
+
children: ({
|
|
3502
3878
|
type: "FILE" | "FOLDER";
|
|
3503
3879
|
id: string;
|
|
3504
3880
|
createdAt: Date;
|
|
3881
|
+
deletedAt: Date | null;
|
|
3505
3882
|
name: string;
|
|
3506
3883
|
updatedAt: Date;
|
|
3507
|
-
deletedAt: Date | null;
|
|
3508
3884
|
parentId: string | null;
|
|
3509
3885
|
isFavorite: boolean;
|
|
3886
|
+
} & {
|
|
3887
|
+
users: [{
|
|
3888
|
+
id: string;
|
|
3889
|
+
lastname: string;
|
|
3890
|
+
firstname: string;
|
|
3891
|
+
}, "admin" | "write" | "read"][];
|
|
3510
3892
|
createdBy: {
|
|
3511
3893
|
appId: string;
|
|
3512
3894
|
userId: string;
|
|
3513
3895
|
};
|
|
3514
|
-
|
|
3896
|
+
access: {
|
|
3897
|
+
nameKey: string | null;
|
|
3898
|
+
sharedByPubKey: string;
|
|
3899
|
+
};
|
|
3900
|
+
})[];
|
|
3515
3901
|
};
|
|
3516
3902
|
}, unknown>;
|
|
3517
3903
|
}>;
|
|
@@ -3567,14 +3953,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3567
3953
|
encryptedKeystore: string;
|
|
3568
3954
|
};
|
|
3569
3955
|
_output_in: {
|
|
3570
|
-
userId: string;
|
|
3571
3956
|
createdAt: Date;
|
|
3957
|
+
userId: string;
|
|
3572
3958
|
address: string;
|
|
3573
3959
|
encryptedKeystore: string;
|
|
3574
3960
|
};
|
|
3575
3961
|
_output_out: {
|
|
3576
|
-
userId: string;
|
|
3577
3962
|
createdAt: Date;
|
|
3963
|
+
userId: string;
|
|
3578
3964
|
address: string;
|
|
3579
3965
|
encryptedKeystore: string;
|
|
3580
3966
|
};
|
|
@@ -3862,6 +4248,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3862
4248
|
env: MongoDbEnv;
|
|
3863
4249
|
};
|
|
3864
4250
|
_output_in: {
|
|
4251
|
+
hash: string;
|
|
3865
4252
|
next: {
|
|
3866
4253
|
fields: {
|
|
3867
4254
|
type: "string" | "number" | "boolean" | "object";
|
|
@@ -3886,7 +4273,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3886
4273
|
default?: unknown;
|
|
3887
4274
|
}[];
|
|
3888
4275
|
};
|
|
3889
|
-
hash: string;
|
|
3890
4276
|
diff: ({
|
|
3891
4277
|
key: string;
|
|
3892
4278
|
next: {
|
|
@@ -3948,6 +4334,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3948
4334
|
env: MongoDbEnv;
|
|
3949
4335
|
};
|
|
3950
4336
|
_output_out: {
|
|
4337
|
+
hash: string;
|
|
3951
4338
|
next: {
|
|
3952
4339
|
fields: {
|
|
3953
4340
|
type: "string" | "number" | "boolean" | "object";
|
|
@@ -3972,7 +4359,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3972
4359
|
default?: unknown;
|
|
3973
4360
|
}[];
|
|
3974
4361
|
};
|
|
3975
|
-
hash: string;
|
|
3976
4362
|
diff: ({
|
|
3977
4363
|
key: string;
|
|
3978
4364
|
next: {
|
|
@@ -4059,15 +4445,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4059
4445
|
_ctx_out: {};
|
|
4060
4446
|
_input_in: {
|
|
4061
4447
|
appId: string;
|
|
4062
|
-
userId: string;
|
|
4063
4448
|
field: string;
|
|
4449
|
+
userId?: string | undefined;
|
|
4064
4450
|
env?: MongoDbEnv | undefined;
|
|
4065
4451
|
};
|
|
4066
4452
|
_input_out: {
|
|
4067
4453
|
appId: string;
|
|
4068
|
-
userId: string;
|
|
4069
4454
|
field: string;
|
|
4070
4455
|
env: MongoDbEnv;
|
|
4456
|
+
userId?: string | undefined;
|
|
4071
4457
|
};
|
|
4072
4458
|
_output_in: {
|
|
4073
4459
|
fieldData?: unknown;
|
|
@@ -4100,20 +4486,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4100
4486
|
_meta: object;
|
|
4101
4487
|
_ctx_out: {};
|
|
4102
4488
|
_input_in: {
|
|
4103
|
-
search: string;
|
|
4104
4489
|
appId: string;
|
|
4105
4490
|
orderBy: string | null;
|
|
4106
4491
|
take: number | null;
|
|
4107
4492
|
skip: number | null;
|
|
4493
|
+
search: string;
|
|
4108
4494
|
field: string;
|
|
4109
4495
|
env?: MongoDbEnv | undefined;
|
|
4110
4496
|
};
|
|
4111
4497
|
_input_out: {
|
|
4112
|
-
search: string;
|
|
4113
4498
|
appId: string;
|
|
4114
4499
|
orderBy: string | null;
|
|
4115
4500
|
take: number | null;
|
|
4116
4501
|
skip: number | null;
|
|
4502
|
+
search: string;
|
|
4117
4503
|
field: string;
|
|
4118
4504
|
env: MongoDbEnv;
|
|
4119
4505
|
};
|
|
@@ -4339,34 +4725,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4339
4725
|
};
|
|
4340
4726
|
_output_in: {
|
|
4341
4727
|
type: "received" | "sent";
|
|
4728
|
+
id: string;
|
|
4729
|
+
createdAt: Date;
|
|
4730
|
+
deletedAt: Date | null;
|
|
4731
|
+
subject: string;
|
|
4732
|
+
body: string;
|
|
4733
|
+
openedAt: Date | null;
|
|
4734
|
+
} & {
|
|
4342
4735
|
mailIntegrity: {
|
|
4343
4736
|
id: string;
|
|
4737
|
+
hashKey: string;
|
|
4738
|
+
hash: string;
|
|
4344
4739
|
replyTo: {
|
|
4345
4740
|
id: string;
|
|
4346
4741
|
} | null;
|
|
4347
|
-
hashKey: string;
|
|
4348
|
-
hash: string;
|
|
4349
4742
|
temporaryRecipients: {
|
|
4350
4743
|
email: string | null;
|
|
4351
4744
|
}[];
|
|
4352
4745
|
} | null;
|
|
4353
4746
|
mailIntegrityDraft: {
|
|
4354
4747
|
id: string;
|
|
4748
|
+
hashKey: string;
|
|
4749
|
+
hash: string;
|
|
4355
4750
|
replyTo: {
|
|
4356
4751
|
id: string;
|
|
4357
4752
|
} | null;
|
|
4358
|
-
hashKey: string;
|
|
4359
|
-
hash: string;
|
|
4360
4753
|
temporaryRecipients: {
|
|
4361
4754
|
email: string | null;
|
|
4362
4755
|
}[];
|
|
4363
4756
|
} | null;
|
|
4364
|
-
id: string;
|
|
4365
|
-
createdAt: Date;
|
|
4366
|
-
deletedAt: Date | null;
|
|
4367
|
-
subject: string;
|
|
4368
|
-
body: string;
|
|
4369
|
-
openedAt: Date | null;
|
|
4370
4757
|
files: {
|
|
4371
4758
|
fileId: string;
|
|
4372
4759
|
filename: string;
|
|
@@ -4375,34 +4762,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4375
4762
|
};
|
|
4376
4763
|
_output_out: {
|
|
4377
4764
|
type: "received" | "sent";
|
|
4765
|
+
id: string;
|
|
4766
|
+
createdAt: Date;
|
|
4767
|
+
deletedAt: Date | null;
|
|
4768
|
+
subject: string;
|
|
4769
|
+
body: string;
|
|
4770
|
+
openedAt: Date | null;
|
|
4771
|
+
} & {
|
|
4378
4772
|
mailIntegrity: {
|
|
4379
4773
|
id: string;
|
|
4774
|
+
hashKey: string;
|
|
4775
|
+
hash: string;
|
|
4380
4776
|
replyTo: {
|
|
4381
4777
|
id: string;
|
|
4382
4778
|
} | null;
|
|
4383
|
-
hashKey: string;
|
|
4384
|
-
hash: string;
|
|
4385
4779
|
temporaryRecipients: {
|
|
4386
4780
|
email: string | null;
|
|
4387
4781
|
}[];
|
|
4388
4782
|
} | null;
|
|
4389
4783
|
mailIntegrityDraft: {
|
|
4390
4784
|
id: string;
|
|
4785
|
+
hashKey: string;
|
|
4786
|
+
hash: string;
|
|
4391
4787
|
replyTo: {
|
|
4392
4788
|
id: string;
|
|
4393
4789
|
} | null;
|
|
4394
|
-
hashKey: string;
|
|
4395
|
-
hash: string;
|
|
4396
4790
|
temporaryRecipients: {
|
|
4397
4791
|
email: string | null;
|
|
4398
4792
|
}[];
|
|
4399
4793
|
} | null;
|
|
4400
|
-
id: string;
|
|
4401
|
-
createdAt: Date;
|
|
4402
|
-
deletedAt: Date | null;
|
|
4403
|
-
subject: string;
|
|
4404
|
-
body: string;
|
|
4405
|
-
openedAt: Date | null;
|
|
4406
4794
|
files: {
|
|
4407
4795
|
fileId: string;
|
|
4408
4796
|
filename: string;
|
|
@@ -4463,83 +4851,77 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4463
4851
|
};
|
|
4464
4852
|
_output_in: {
|
|
4465
4853
|
type: "received" | "sent";
|
|
4854
|
+
id: string;
|
|
4855
|
+
createdAt: Date;
|
|
4856
|
+
deletedAt: Date | null;
|
|
4857
|
+
subject: string;
|
|
4858
|
+
body: string;
|
|
4859
|
+
openedAt: Date | null;
|
|
4860
|
+
} & {
|
|
4466
4861
|
mailIntegrity: {
|
|
4467
4862
|
id: string;
|
|
4863
|
+
hashKey: string;
|
|
4864
|
+
hash: string;
|
|
4468
4865
|
replyTo: {
|
|
4469
4866
|
id: string;
|
|
4470
4867
|
} | null;
|
|
4471
|
-
hashKey: string;
|
|
4472
|
-
hash: string;
|
|
4473
4868
|
temporaryRecipients: {
|
|
4474
4869
|
email: string | null;
|
|
4475
4870
|
}[];
|
|
4476
4871
|
} | null;
|
|
4477
4872
|
mailIntegrityDraft: {
|
|
4478
4873
|
id: string;
|
|
4874
|
+
hashKey: string;
|
|
4875
|
+
hash: string;
|
|
4479
4876
|
replyTo: {
|
|
4480
4877
|
id: string;
|
|
4481
4878
|
} | null;
|
|
4482
|
-
hashKey: string;
|
|
4483
|
-
hash: string;
|
|
4484
4879
|
temporaryRecipients: {
|
|
4485
4880
|
email: string | null;
|
|
4486
4881
|
}[];
|
|
4487
4882
|
} | null;
|
|
4488
|
-
id: string;
|
|
4489
|
-
createdAt: Date;
|
|
4490
|
-
deletedAt: Date | null;
|
|
4491
|
-
subject: string;
|
|
4492
|
-
body: string;
|
|
4493
|
-
openedAt: Date | null;
|
|
4494
4883
|
files: {
|
|
4495
4884
|
fileId: string;
|
|
4496
4885
|
filename: string;
|
|
4497
4886
|
fileKey: string;
|
|
4498
4887
|
}[];
|
|
4499
|
-
} & {
|
|
4500
|
-
mailIntegrityDraft: {
|
|
4501
|
-
id: string;
|
|
4502
|
-
} | null;
|
|
4503
4888
|
};
|
|
4504
4889
|
_output_out: {
|
|
4505
4890
|
type: "received" | "sent";
|
|
4891
|
+
id: string;
|
|
4892
|
+
createdAt: Date;
|
|
4893
|
+
deletedAt: Date | null;
|
|
4894
|
+
subject: string;
|
|
4895
|
+
body: string;
|
|
4896
|
+
openedAt: Date | null;
|
|
4897
|
+
} & {
|
|
4506
4898
|
mailIntegrity: {
|
|
4507
4899
|
id: string;
|
|
4900
|
+
hashKey: string;
|
|
4901
|
+
hash: string;
|
|
4508
4902
|
replyTo: {
|
|
4509
4903
|
id: string;
|
|
4510
4904
|
} | null;
|
|
4511
|
-
hashKey: string;
|
|
4512
|
-
hash: string;
|
|
4513
4905
|
temporaryRecipients: {
|
|
4514
4906
|
email: string | null;
|
|
4515
4907
|
}[];
|
|
4516
4908
|
} | null;
|
|
4517
4909
|
mailIntegrityDraft: {
|
|
4518
4910
|
id: string;
|
|
4911
|
+
hashKey: string;
|
|
4912
|
+
hash: string;
|
|
4519
4913
|
replyTo: {
|
|
4520
4914
|
id: string;
|
|
4521
4915
|
} | null;
|
|
4522
|
-
hashKey: string;
|
|
4523
|
-
hash: string;
|
|
4524
4916
|
temporaryRecipients: {
|
|
4525
4917
|
email: string | null;
|
|
4526
4918
|
}[];
|
|
4527
4919
|
} | null;
|
|
4528
|
-
id: string;
|
|
4529
|
-
createdAt: Date;
|
|
4530
|
-
deletedAt: Date | null;
|
|
4531
|
-
subject: string;
|
|
4532
|
-
body: string;
|
|
4533
|
-
openedAt: Date | null;
|
|
4534
4920
|
files: {
|
|
4535
4921
|
fileId: string;
|
|
4536
4922
|
filename: string;
|
|
4537
4923
|
fileKey: string;
|
|
4538
4924
|
}[];
|
|
4539
|
-
} & {
|
|
4540
|
-
mailIntegrityDraft: {
|
|
4541
|
-
id: string;
|
|
4542
|
-
} | null;
|
|
4543
4925
|
};
|
|
4544
4926
|
}, unknown>;
|
|
4545
4927
|
deleteDraft: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -4679,78 +5061,180 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4679
5061
|
_input_out: {
|
|
4680
5062
|
type: "received" | "sent";
|
|
4681
5063
|
};
|
|
4682
|
-
_output_in: {
|
|
5064
|
+
_output_in: ({
|
|
4683
5065
|
type: "received" | "sent";
|
|
5066
|
+
id: string;
|
|
5067
|
+
createdAt: Date;
|
|
5068
|
+
deletedAt: Date | null;
|
|
5069
|
+
subject: string;
|
|
5070
|
+
body: string;
|
|
5071
|
+
openedAt: Date | null;
|
|
5072
|
+
} & {
|
|
4684
5073
|
mailIntegrity: {
|
|
4685
5074
|
id: string;
|
|
5075
|
+
hashKey: string;
|
|
5076
|
+
hash: string;
|
|
4686
5077
|
replyTo: {
|
|
4687
5078
|
id: string;
|
|
4688
5079
|
} | null;
|
|
4689
|
-
hashKey: string;
|
|
4690
|
-
hash: string;
|
|
4691
5080
|
temporaryRecipients: {
|
|
4692
5081
|
email: string | null;
|
|
4693
5082
|
}[];
|
|
4694
5083
|
} | null;
|
|
4695
5084
|
mailIntegrityDraft: {
|
|
4696
5085
|
id: string;
|
|
5086
|
+
hashKey: string;
|
|
5087
|
+
hash: string;
|
|
4697
5088
|
replyTo: {
|
|
4698
5089
|
id: string;
|
|
4699
5090
|
} | null;
|
|
4700
|
-
hashKey: string;
|
|
4701
|
-
hash: string;
|
|
4702
5091
|
temporaryRecipients: {
|
|
4703
5092
|
email: string | null;
|
|
4704
5093
|
}[];
|
|
4705
5094
|
} | null;
|
|
5095
|
+
files: {
|
|
5096
|
+
fileId: string;
|
|
5097
|
+
filename: string;
|
|
5098
|
+
fileKey: string;
|
|
5099
|
+
}[];
|
|
5100
|
+
})[];
|
|
5101
|
+
_output_out: ({
|
|
5102
|
+
type: "received" | "sent";
|
|
4706
5103
|
id: string;
|
|
4707
5104
|
createdAt: Date;
|
|
4708
5105
|
deletedAt: Date | null;
|
|
4709
5106
|
subject: string;
|
|
4710
5107
|
body: string;
|
|
4711
5108
|
openedAt: Date | null;
|
|
5109
|
+
} & {
|
|
5110
|
+
mailIntegrity: {
|
|
5111
|
+
id: string;
|
|
5112
|
+
hashKey: string;
|
|
5113
|
+
hash: string;
|
|
5114
|
+
replyTo: {
|
|
5115
|
+
id: string;
|
|
5116
|
+
} | null;
|
|
5117
|
+
temporaryRecipients: {
|
|
5118
|
+
email: string | null;
|
|
5119
|
+
}[];
|
|
5120
|
+
} | null;
|
|
5121
|
+
mailIntegrityDraft: {
|
|
5122
|
+
id: string;
|
|
5123
|
+
hashKey: string;
|
|
5124
|
+
hash: string;
|
|
5125
|
+
replyTo: {
|
|
5126
|
+
id: string;
|
|
5127
|
+
} | null;
|
|
5128
|
+
temporaryRecipients: {
|
|
5129
|
+
email: string | null;
|
|
5130
|
+
}[];
|
|
5131
|
+
} | null;
|
|
4712
5132
|
files: {
|
|
4713
5133
|
fileId: string;
|
|
4714
5134
|
filename: string;
|
|
4715
5135
|
fileKey: string;
|
|
4716
5136
|
}[];
|
|
4717
|
-
}[];
|
|
4718
|
-
|
|
5137
|
+
})[];
|
|
5138
|
+
}, unknown>;
|
|
5139
|
+
draft: _trpc_server.BuildProcedure<"query", {
|
|
5140
|
+
_config: _trpc_server.RootConfig<{
|
|
5141
|
+
ctx: {};
|
|
5142
|
+
meta: object;
|
|
5143
|
+
errorShape: {
|
|
5144
|
+
message: string;
|
|
5145
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
5146
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
5147
|
+
} | {
|
|
5148
|
+
data: {
|
|
5149
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
5150
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
5151
|
+
httpStatus: number;
|
|
5152
|
+
path?: string | undefined;
|
|
5153
|
+
stack?: string | undefined;
|
|
5154
|
+
};
|
|
5155
|
+
message: string;
|
|
5156
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
5157
|
+
};
|
|
5158
|
+
transformer: typeof superjson.default;
|
|
5159
|
+
}>;
|
|
5160
|
+
_meta: object;
|
|
5161
|
+
_ctx_out: {};
|
|
5162
|
+
_input_in: {};
|
|
5163
|
+
_input_out: {};
|
|
5164
|
+
_output_in: ({
|
|
4719
5165
|
type: "received" | "sent";
|
|
5166
|
+
id: string;
|
|
5167
|
+
createdAt: Date;
|
|
5168
|
+
deletedAt: Date | null;
|
|
5169
|
+
subject: string;
|
|
5170
|
+
body: string;
|
|
5171
|
+
openedAt: Date | null;
|
|
5172
|
+
} & {
|
|
4720
5173
|
mailIntegrity: {
|
|
4721
5174
|
id: string;
|
|
5175
|
+
hashKey: string;
|
|
5176
|
+
hash: string;
|
|
4722
5177
|
replyTo: {
|
|
4723
5178
|
id: string;
|
|
4724
5179
|
} | null;
|
|
4725
|
-
hashKey: string;
|
|
4726
|
-
hash: string;
|
|
4727
5180
|
temporaryRecipients: {
|
|
4728
5181
|
email: string | null;
|
|
4729
5182
|
}[];
|
|
4730
5183
|
} | null;
|
|
4731
5184
|
mailIntegrityDraft: {
|
|
4732
5185
|
id: string;
|
|
5186
|
+
hashKey: string;
|
|
5187
|
+
hash: string;
|
|
4733
5188
|
replyTo: {
|
|
4734
5189
|
id: string;
|
|
4735
5190
|
} | null;
|
|
4736
|
-
hashKey: string;
|
|
4737
|
-
hash: string;
|
|
4738
5191
|
temporaryRecipients: {
|
|
4739
5192
|
email: string | null;
|
|
4740
5193
|
}[];
|
|
4741
5194
|
} | null;
|
|
5195
|
+
files: {
|
|
5196
|
+
fileId: string;
|
|
5197
|
+
filename: string;
|
|
5198
|
+
fileKey: string;
|
|
5199
|
+
}[];
|
|
5200
|
+
})[];
|
|
5201
|
+
_output_out: ({
|
|
5202
|
+
type: "received" | "sent";
|
|
4742
5203
|
id: string;
|
|
4743
5204
|
createdAt: Date;
|
|
4744
5205
|
deletedAt: Date | null;
|
|
4745
5206
|
subject: string;
|
|
4746
5207
|
body: string;
|
|
4747
5208
|
openedAt: Date | null;
|
|
5209
|
+
} & {
|
|
5210
|
+
mailIntegrity: {
|
|
5211
|
+
id: string;
|
|
5212
|
+
hashKey: string;
|
|
5213
|
+
hash: string;
|
|
5214
|
+
replyTo: {
|
|
5215
|
+
id: string;
|
|
5216
|
+
} | null;
|
|
5217
|
+
temporaryRecipients: {
|
|
5218
|
+
email: string | null;
|
|
5219
|
+
}[];
|
|
5220
|
+
} | null;
|
|
5221
|
+
mailIntegrityDraft: {
|
|
5222
|
+
id: string;
|
|
5223
|
+
hashKey: string;
|
|
5224
|
+
hash: string;
|
|
5225
|
+
replyTo: {
|
|
5226
|
+
id: string;
|
|
5227
|
+
} | null;
|
|
5228
|
+
temporaryRecipients: {
|
|
5229
|
+
email: string | null;
|
|
5230
|
+
}[];
|
|
5231
|
+
} | null;
|
|
4748
5232
|
files: {
|
|
4749
5233
|
fileId: string;
|
|
4750
5234
|
filename: string;
|
|
4751
5235
|
fileKey: string;
|
|
4752
5236
|
}[];
|
|
4753
|
-
}[];
|
|
5237
|
+
})[];
|
|
4754
5238
|
}, unknown>;
|
|
4755
5239
|
emptyTrash: _trpc_server.BuildProcedure<"mutation", {
|
|
4756
5240
|
_config: _trpc_server.RootConfig<{
|
|
@@ -4807,18 +5291,70 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4807
5291
|
}>;
|
|
4808
5292
|
_meta: object;
|
|
4809
5293
|
_ctx_out: {};
|
|
4810
|
-
_input_in: {
|
|
4811
|
-
id: string;
|
|
4812
|
-
};
|
|
4813
|
-
_input_out: {
|
|
4814
|
-
id: string;
|
|
4815
|
-
};
|
|
5294
|
+
_input_in: {
|
|
5295
|
+
id: string;
|
|
5296
|
+
};
|
|
5297
|
+
_input_out: {
|
|
5298
|
+
id: string;
|
|
5299
|
+
};
|
|
5300
|
+
_output_in: {
|
|
5301
|
+
isRead: boolean;
|
|
5302
|
+
};
|
|
5303
|
+
_output_out: {
|
|
5304
|
+
isRead: boolean;
|
|
5305
|
+
};
|
|
5306
|
+
}, unknown>;
|
|
5307
|
+
received: _trpc_server.BuildProcedure<"query", {
|
|
5308
|
+
_config: _trpc_server.RootConfig<{
|
|
5309
|
+
ctx: {};
|
|
5310
|
+
meta: object;
|
|
5311
|
+
errorShape: {
|
|
5312
|
+
message: string;
|
|
5313
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
5314
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
5315
|
+
} | {
|
|
5316
|
+
data: {
|
|
5317
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
5318
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
5319
|
+
httpStatus: number;
|
|
5320
|
+
path?: string | undefined;
|
|
5321
|
+
stack?: string | undefined;
|
|
5322
|
+
};
|
|
5323
|
+
message: string;
|
|
5324
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
5325
|
+
};
|
|
5326
|
+
transformer: typeof superjson.default;
|
|
5327
|
+
}>;
|
|
5328
|
+
_meta: object;
|
|
5329
|
+
_ctx_out: {};
|
|
5330
|
+
_input_in: {};
|
|
5331
|
+
_input_out: {};
|
|
4816
5332
|
_output_in: {
|
|
4817
|
-
|
|
4818
|
-
|
|
5333
|
+
type: "received" | "sent";
|
|
5334
|
+
id: string;
|
|
5335
|
+
createdAt: Date;
|
|
5336
|
+
deletedAt: Date | null;
|
|
5337
|
+
subject: string;
|
|
5338
|
+
body: string;
|
|
5339
|
+
senderId: string;
|
|
5340
|
+
recipientId: string;
|
|
5341
|
+
openedAt: Date | null;
|
|
5342
|
+
appId: string;
|
|
5343
|
+
mailIntegrityId: string | null;
|
|
5344
|
+
}[];
|
|
4819
5345
|
_output_out: {
|
|
4820
|
-
|
|
4821
|
-
|
|
5346
|
+
type: "received" | "sent";
|
|
5347
|
+
id: string;
|
|
5348
|
+
createdAt: Date;
|
|
5349
|
+
deletedAt: Date | null;
|
|
5350
|
+
subject: string;
|
|
5351
|
+
body: string;
|
|
5352
|
+
senderId: string;
|
|
5353
|
+
recipientId: string;
|
|
5354
|
+
openedAt: Date | null;
|
|
5355
|
+
appId: string;
|
|
5356
|
+
mailIntegrityId: string | null;
|
|
5357
|
+
}[];
|
|
4822
5358
|
}, unknown>;
|
|
4823
5359
|
recover: _trpc_server.BuildProcedure<"mutation", {
|
|
4824
5360
|
_config: _trpc_server.RootConfig<{
|
|
@@ -4921,7 +5457,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4921
5457
|
_ctx_out: {};
|
|
4922
5458
|
_input_in: {
|
|
4923
5459
|
id: string;
|
|
4924
|
-
customMessage: string | null;
|
|
4925
5460
|
recipients: ({
|
|
4926
5461
|
subject: string;
|
|
4927
5462
|
body: string;
|
|
@@ -4934,10 +5469,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4934
5469
|
}[];
|
|
4935
5470
|
})[];
|
|
4936
5471
|
temporaryRecipients: string[];
|
|
5472
|
+
customMessage: string | null;
|
|
4937
5473
|
};
|
|
4938
5474
|
_input_out: {
|
|
4939
5475
|
id: string;
|
|
4940
|
-
customMessage: string | null;
|
|
4941
5476
|
recipients: ({
|
|
4942
5477
|
subject: string;
|
|
4943
5478
|
body: string;
|
|
@@ -4950,6 +5485,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4950
5485
|
}[];
|
|
4951
5486
|
})[];
|
|
4952
5487
|
temporaryRecipients: string[];
|
|
5488
|
+
customMessage: string | null;
|
|
4953
5489
|
};
|
|
4954
5490
|
_output_in: {
|
|
4955
5491
|
isSent: boolean;
|
|
@@ -5016,6 +5552,58 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5016
5552
|
isSended: boolean;
|
|
5017
5553
|
};
|
|
5018
5554
|
}, unknown>;
|
|
5555
|
+
sent: _trpc_server.BuildProcedure<"query", {
|
|
5556
|
+
_config: _trpc_server.RootConfig<{
|
|
5557
|
+
ctx: {};
|
|
5558
|
+
meta: object;
|
|
5559
|
+
errorShape: {
|
|
5560
|
+
message: string;
|
|
5561
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
5562
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
5563
|
+
} | {
|
|
5564
|
+
data: {
|
|
5565
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
5566
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
5567
|
+
httpStatus: number;
|
|
5568
|
+
path?: string | undefined;
|
|
5569
|
+
stack?: string | undefined;
|
|
5570
|
+
};
|
|
5571
|
+
message: string;
|
|
5572
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
5573
|
+
};
|
|
5574
|
+
transformer: typeof superjson.default;
|
|
5575
|
+
}>;
|
|
5576
|
+
_meta: object;
|
|
5577
|
+
_ctx_out: {};
|
|
5578
|
+
_input_in: {};
|
|
5579
|
+
_input_out: {};
|
|
5580
|
+
_output_in: {
|
|
5581
|
+
type: "received" | "sent";
|
|
5582
|
+
id: string;
|
|
5583
|
+
createdAt: Date;
|
|
5584
|
+
deletedAt: Date | null;
|
|
5585
|
+
subject: string;
|
|
5586
|
+
body: string;
|
|
5587
|
+
senderId: string;
|
|
5588
|
+
recipientId: string;
|
|
5589
|
+
openedAt: Date | null;
|
|
5590
|
+
appId: string;
|
|
5591
|
+
mailIntegrityId: string | null;
|
|
5592
|
+
}[];
|
|
5593
|
+
_output_out: {
|
|
5594
|
+
type: "received" | "sent";
|
|
5595
|
+
id: string;
|
|
5596
|
+
createdAt: Date;
|
|
5597
|
+
deletedAt: Date | null;
|
|
5598
|
+
subject: string;
|
|
5599
|
+
body: string;
|
|
5600
|
+
senderId: string;
|
|
5601
|
+
recipientId: string;
|
|
5602
|
+
openedAt: Date | null;
|
|
5603
|
+
appId: string;
|
|
5604
|
+
mailIntegrityId: string | null;
|
|
5605
|
+
}[];
|
|
5606
|
+
}, unknown>;
|
|
5019
5607
|
unreadReceivedCount: _trpc_server.BuildProcedure<"query", {
|
|
5020
5608
|
_config: _trpc_server.RootConfig<{
|
|
5021
5609
|
ctx: {};
|
|
@@ -5106,12 +5694,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5106
5694
|
_input_in: {
|
|
5107
5695
|
id: string;
|
|
5108
5696
|
} & {
|
|
5697
|
+
recipients: string[] | null;
|
|
5109
5698
|
subject: string | null;
|
|
5110
5699
|
body: string | null;
|
|
5111
5700
|
hashKey: string | null;
|
|
5112
5701
|
hash: string | null;
|
|
5113
5702
|
replyToId: string | null;
|
|
5114
|
-
recipients: string[] | null;
|
|
5115
5703
|
senderFiles: {
|
|
5116
5704
|
id: string;
|
|
5117
5705
|
name: string;
|
|
@@ -5120,12 +5708,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5120
5708
|
_input_out: {
|
|
5121
5709
|
id: string;
|
|
5122
5710
|
} & {
|
|
5711
|
+
recipients: string[] | null;
|
|
5123
5712
|
subject: string | null;
|
|
5124
5713
|
body: string | null;
|
|
5125
5714
|
hashKey: string | null;
|
|
5126
5715
|
hash: string | null;
|
|
5127
5716
|
replyToId: string | null;
|
|
5128
|
-
recipients: string[] | null;
|
|
5129
5717
|
senderFiles: {
|
|
5130
5718
|
id: string;
|
|
5131
5719
|
name: string;
|
|
@@ -5133,34 +5721,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5133
5721
|
};
|
|
5134
5722
|
_output_in: {
|
|
5135
5723
|
type: "received" | "sent";
|
|
5724
|
+
id: string;
|
|
5725
|
+
createdAt: Date;
|
|
5726
|
+
deletedAt: Date | null;
|
|
5727
|
+
subject: string;
|
|
5728
|
+
body: string;
|
|
5729
|
+
openedAt: Date | null;
|
|
5730
|
+
} & {
|
|
5136
5731
|
mailIntegrity: {
|
|
5137
5732
|
id: string;
|
|
5733
|
+
hashKey: string;
|
|
5734
|
+
hash: string;
|
|
5138
5735
|
replyTo: {
|
|
5139
5736
|
id: string;
|
|
5140
5737
|
} | null;
|
|
5141
|
-
hashKey: string;
|
|
5142
|
-
hash: string;
|
|
5143
5738
|
temporaryRecipients: {
|
|
5144
5739
|
email: string | null;
|
|
5145
5740
|
}[];
|
|
5146
5741
|
} | null;
|
|
5147
5742
|
mailIntegrityDraft: {
|
|
5148
5743
|
id: string;
|
|
5744
|
+
hashKey: string;
|
|
5745
|
+
hash: string;
|
|
5149
5746
|
replyTo: {
|
|
5150
5747
|
id: string;
|
|
5151
5748
|
} | null;
|
|
5152
|
-
hashKey: string;
|
|
5153
|
-
hash: string;
|
|
5154
5749
|
temporaryRecipients: {
|
|
5155
5750
|
email: string | null;
|
|
5156
5751
|
}[];
|
|
5157
5752
|
} | null;
|
|
5158
|
-
id: string;
|
|
5159
|
-
createdAt: Date;
|
|
5160
|
-
deletedAt: Date | null;
|
|
5161
|
-
subject: string;
|
|
5162
|
-
body: string;
|
|
5163
|
-
openedAt: Date | null;
|
|
5164
5753
|
files: {
|
|
5165
5754
|
fileId: string;
|
|
5166
5755
|
filename: string;
|
|
@@ -5169,34 +5758,35 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5169
5758
|
};
|
|
5170
5759
|
_output_out: {
|
|
5171
5760
|
type: "received" | "sent";
|
|
5761
|
+
id: string;
|
|
5762
|
+
createdAt: Date;
|
|
5763
|
+
deletedAt: Date | null;
|
|
5764
|
+
subject: string;
|
|
5765
|
+
body: string;
|
|
5766
|
+
openedAt: Date | null;
|
|
5767
|
+
} & {
|
|
5172
5768
|
mailIntegrity: {
|
|
5173
5769
|
id: string;
|
|
5770
|
+
hashKey: string;
|
|
5771
|
+
hash: string;
|
|
5174
5772
|
replyTo: {
|
|
5175
5773
|
id: string;
|
|
5176
5774
|
} | null;
|
|
5177
|
-
hashKey: string;
|
|
5178
|
-
hash: string;
|
|
5179
5775
|
temporaryRecipients: {
|
|
5180
5776
|
email: string | null;
|
|
5181
5777
|
}[];
|
|
5182
5778
|
} | null;
|
|
5183
5779
|
mailIntegrityDraft: {
|
|
5184
5780
|
id: string;
|
|
5781
|
+
hashKey: string;
|
|
5782
|
+
hash: string;
|
|
5185
5783
|
replyTo: {
|
|
5186
5784
|
id: string;
|
|
5187
5785
|
} | null;
|
|
5188
|
-
hashKey: string;
|
|
5189
|
-
hash: string;
|
|
5190
5786
|
temporaryRecipients: {
|
|
5191
5787
|
email: string | null;
|
|
5192
5788
|
}[];
|
|
5193
5789
|
} | null;
|
|
5194
|
-
id: string;
|
|
5195
|
-
createdAt: Date;
|
|
5196
|
-
deletedAt: Date | null;
|
|
5197
|
-
subject: string;
|
|
5198
|
-
body: string;
|
|
5199
|
-
openedAt: Date | null;
|
|
5200
5790
|
files: {
|
|
5201
5791
|
fileId: string;
|
|
5202
5792
|
filename: string;
|
|
@@ -5255,14 +5845,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5255
5845
|
email: string;
|
|
5256
5846
|
};
|
|
5257
5847
|
_output_in: {
|
|
5258
|
-
email: string;
|
|
5259
5848
|
id: string;
|
|
5260
5849
|
createdAt: Date;
|
|
5850
|
+
email: string;
|
|
5261
5851
|
};
|
|
5262
5852
|
_output_out: {
|
|
5263
|
-
email: string;
|
|
5264
5853
|
id: string;
|
|
5265
5854
|
createdAt: Date;
|
|
5855
|
+
email: string;
|
|
5266
5856
|
};
|
|
5267
5857
|
}, unknown>;
|
|
5268
5858
|
createFeedback: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -5388,8 +5978,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5388
5978
|
_input_in: {} | undefined;
|
|
5389
5979
|
_input_out: {} | undefined;
|
|
5390
5980
|
_output_in: ({
|
|
5391
|
-
codes: string[];
|
|
5392
5981
|
id: string;
|
|
5982
|
+
codes: string[];
|
|
5393
5983
|
limitsId: string;
|
|
5394
5984
|
kind: "free" | "basic" | "advanced" | "pro";
|
|
5395
5985
|
} & {
|
|
@@ -5406,8 +5996,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5406
5996
|
sentMailsId: string;
|
|
5407
5997
|
} & {
|
|
5408
5998
|
sentMails: {
|
|
5409
|
-
count: bigint | null;
|
|
5410
5999
|
id: string;
|
|
6000
|
+
count: bigint | null;
|
|
5411
6001
|
fileSize: bigint | null;
|
|
5412
6002
|
hardFileCount: bigint | null;
|
|
5413
6003
|
hardFileSize: bigint | null;
|
|
@@ -5416,8 +6006,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5416
6006
|
hardCount: bigint | null;
|
|
5417
6007
|
};
|
|
5418
6008
|
receivedMails: {
|
|
5419
|
-
count: bigint | null;
|
|
5420
6009
|
id: string;
|
|
6010
|
+
count: bigint | null;
|
|
5421
6011
|
fileSize: bigint | null;
|
|
5422
6012
|
hardFileCount: bigint | null;
|
|
5423
6013
|
hardFileSize: bigint | null;
|
|
@@ -5428,8 +6018,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5428
6018
|
};
|
|
5429
6019
|
})[];
|
|
5430
6020
|
_output_out: ({
|
|
5431
|
-
codes: string[];
|
|
5432
6021
|
id: string;
|
|
6022
|
+
codes: string[];
|
|
5433
6023
|
limitsId: string;
|
|
5434
6024
|
kind: "free" | "basic" | "advanced" | "pro";
|
|
5435
6025
|
} & {
|
|
@@ -5446,8 +6036,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5446
6036
|
sentMailsId: string;
|
|
5447
6037
|
} & {
|
|
5448
6038
|
sentMails: {
|
|
5449
|
-
count: bigint | null;
|
|
5450
6039
|
id: string;
|
|
6040
|
+
count: bigint | null;
|
|
5451
6041
|
fileSize: bigint | null;
|
|
5452
6042
|
hardFileCount: bigint | null;
|
|
5453
6043
|
hardFileSize: bigint | null;
|
|
@@ -5456,8 +6046,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5456
6046
|
hardCount: bigint | null;
|
|
5457
6047
|
};
|
|
5458
6048
|
receivedMails: {
|
|
5459
|
-
count: bigint | null;
|
|
5460
6049
|
id: string;
|
|
6050
|
+
count: bigint | null;
|
|
5461
6051
|
fileSize: bigint | null;
|
|
5462
6052
|
hardFileCount: bigint | null;
|
|
5463
6053
|
hardFileSize: bigint | null;
|
|
@@ -5521,14 +6111,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5521
6111
|
message?: string | undefined;
|
|
5522
6112
|
};
|
|
5523
6113
|
_output_in: {
|
|
5524
|
-
userId: string;
|
|
5525
6114
|
id: string;
|
|
6115
|
+
userId: string;
|
|
5526
6116
|
customMessage: string | null;
|
|
5527
6117
|
reportedUserId: string;
|
|
5528
6118
|
};
|
|
5529
6119
|
_output_out: {
|
|
5530
|
-
userId: string;
|
|
5531
6120
|
id: string;
|
|
6121
|
+
userId: string;
|
|
5532
6122
|
customMessage: string | null;
|
|
5533
6123
|
reportedUserId: string;
|
|
5534
6124
|
};
|
|
@@ -6945,6 +7535,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6945
7535
|
};
|
|
6946
7536
|
_output_in: {
|
|
6947
7537
|
code: string;
|
|
7538
|
+
id: string;
|
|
7539
|
+
createdAt: Date;
|
|
6948
7540
|
plan: {
|
|
6949
7541
|
id: string;
|
|
6950
7542
|
kind: string;
|
|
@@ -6969,16 +7561,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
6969
7561
|
bandwidthMax: bigint | null;
|
|
6970
7562
|
};
|
|
6971
7563
|
} | null;
|
|
6972
|
-
|
|
6973
|
-
|
|
7564
|
+
name: string;
|
|
7565
|
+
updatedAt: Date;
|
|
6974
7566
|
planId: string | null;
|
|
6975
7567
|
limitsId: string;
|
|
6976
7568
|
ownerId: string;
|
|
6977
7569
|
blocked: boolean;
|
|
6978
|
-
name: string;
|
|
6979
7570
|
color: string | null;
|
|
6980
7571
|
logo: string | null;
|
|
6981
|
-
updatedAt: Date;
|
|
6982
7572
|
origin: string[];
|
|
6983
7573
|
consumptionId: string;
|
|
6984
7574
|
owner: {
|
|
@@ -7016,6 +7606,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7016
7606
|
};
|
|
7017
7607
|
_output_out: {
|
|
7018
7608
|
code: string;
|
|
7609
|
+
id: string;
|
|
7610
|
+
createdAt: Date;
|
|
7019
7611
|
plan: {
|
|
7020
7612
|
id: string;
|
|
7021
7613
|
kind: string;
|
|
@@ -7040,16 +7632,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7040
7632
|
bandwidthMax: bigint | null;
|
|
7041
7633
|
};
|
|
7042
7634
|
} | null;
|
|
7043
|
-
|
|
7044
|
-
|
|
7635
|
+
name: string;
|
|
7636
|
+
updatedAt: Date;
|
|
7045
7637
|
planId: string | null;
|
|
7046
7638
|
limitsId: string;
|
|
7047
7639
|
ownerId: string;
|
|
7048
7640
|
blocked: boolean;
|
|
7049
|
-
name: string;
|
|
7050
7641
|
color: string | null;
|
|
7051
7642
|
logo: string | null;
|
|
7052
|
-
updatedAt: Date;
|
|
7053
7643
|
origin: string[];
|
|
7054
7644
|
consumptionId: string;
|
|
7055
7645
|
owner: {
|
|
@@ -7117,6 +7707,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7117
7707
|
};
|
|
7118
7708
|
_output_in: {
|
|
7119
7709
|
code: string;
|
|
7710
|
+
id: string;
|
|
7711
|
+
createdAt: Date;
|
|
7120
7712
|
plan: {
|
|
7121
7713
|
id: string;
|
|
7122
7714
|
kind: string;
|
|
@@ -7141,16 +7733,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7141
7733
|
bandwidthMax: bigint | null;
|
|
7142
7734
|
};
|
|
7143
7735
|
} | null;
|
|
7144
|
-
|
|
7145
|
-
|
|
7736
|
+
name: string;
|
|
7737
|
+
updatedAt: Date;
|
|
7146
7738
|
planId: string | null;
|
|
7147
7739
|
limitsId: string;
|
|
7148
7740
|
ownerId: string;
|
|
7149
7741
|
blocked: boolean;
|
|
7150
|
-
name: string;
|
|
7151
7742
|
color: string | null;
|
|
7152
7743
|
logo: string | null;
|
|
7153
|
-
updatedAt: Date;
|
|
7154
7744
|
origin: string[];
|
|
7155
7745
|
consumptionId: string;
|
|
7156
7746
|
owner: {
|
|
@@ -7188,6 +7778,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7188
7778
|
}[];
|
|
7189
7779
|
_output_out: {
|
|
7190
7780
|
code: string;
|
|
7781
|
+
id: string;
|
|
7782
|
+
createdAt: Date;
|
|
7191
7783
|
plan: {
|
|
7192
7784
|
id: string;
|
|
7193
7785
|
kind: string;
|
|
@@ -7212,16 +7804,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7212
7804
|
bandwidthMax: bigint | null;
|
|
7213
7805
|
};
|
|
7214
7806
|
} | null;
|
|
7215
|
-
|
|
7216
|
-
|
|
7807
|
+
name: string;
|
|
7808
|
+
updatedAt: Date;
|
|
7217
7809
|
planId: string | null;
|
|
7218
7810
|
limitsId: string;
|
|
7219
7811
|
ownerId: string;
|
|
7220
7812
|
blocked: boolean;
|
|
7221
|
-
name: string;
|
|
7222
7813
|
color: string | null;
|
|
7223
7814
|
logo: string | null;
|
|
7224
|
-
updatedAt: Date;
|
|
7225
7815
|
origin: string[];
|
|
7226
7816
|
consumptionId: string;
|
|
7227
7817
|
owner: {
|
|
@@ -7287,8 +7877,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7287
7877
|
logo: string | null;
|
|
7288
7878
|
origin: string;
|
|
7289
7879
|
collaborators: {
|
|
7290
|
-
userId: string;
|
|
7291
7880
|
role: "user" | "admin";
|
|
7881
|
+
userId: string;
|
|
7292
7882
|
}[];
|
|
7293
7883
|
};
|
|
7294
7884
|
_input_out: {
|
|
@@ -7297,8 +7887,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7297
7887
|
logo: string | null;
|
|
7298
7888
|
origin: string;
|
|
7299
7889
|
collaborators: {
|
|
7300
|
-
userId: string;
|
|
7301
7890
|
role: "user" | "admin";
|
|
7891
|
+
userId: string;
|
|
7302
7892
|
}[];
|
|
7303
7893
|
};
|
|
7304
7894
|
_output_in: {
|
|
@@ -7414,6 +8004,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7414
8004
|
appCode: string;
|
|
7415
8005
|
};
|
|
7416
8006
|
_output_in: {
|
|
8007
|
+
role: "user" | "admin";
|
|
7417
8008
|
developer: {
|
|
7418
8009
|
user: {
|
|
7419
8010
|
id: string;
|
|
@@ -7429,10 +8020,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7429
8020
|
};
|
|
7430
8021
|
id: string;
|
|
7431
8022
|
};
|
|
7432
|
-
role: "user" | "admin";
|
|
7433
8023
|
rights: "admin" | "write" | "read";
|
|
7434
8024
|
};
|
|
7435
8025
|
_output_out: {
|
|
8026
|
+
role: "user" | "admin";
|
|
7436
8027
|
developer: {
|
|
7437
8028
|
user: {
|
|
7438
8029
|
id: string;
|
|
@@ -7448,7 +8039,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7448
8039
|
};
|
|
7449
8040
|
id: string;
|
|
7450
8041
|
};
|
|
7451
|
-
role: "user" | "admin";
|
|
7452
8042
|
rights: "admin" | "write" | "read";
|
|
7453
8043
|
};
|
|
7454
8044
|
}, unknown>;
|
|
@@ -7482,6 +8072,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7482
8072
|
appCode: string;
|
|
7483
8073
|
};
|
|
7484
8074
|
_output_in: {
|
|
8075
|
+
role: "user" | "admin";
|
|
7485
8076
|
developer: {
|
|
7486
8077
|
user: {
|
|
7487
8078
|
id: string;
|
|
@@ -7497,10 +8088,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7497
8088
|
};
|
|
7498
8089
|
id: string;
|
|
7499
8090
|
};
|
|
7500
|
-
role: "user" | "admin";
|
|
7501
8091
|
rights: "admin" | "write" | "read";
|
|
7502
8092
|
}[];
|
|
7503
8093
|
_output_out: {
|
|
8094
|
+
role: "user" | "admin";
|
|
7504
8095
|
developer: {
|
|
7505
8096
|
user: {
|
|
7506
8097
|
id: string;
|
|
@@ -7516,7 +8107,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7516
8107
|
};
|
|
7517
8108
|
id: string;
|
|
7518
8109
|
};
|
|
7519
|
-
role: "user" | "admin";
|
|
7520
8110
|
rights: "admin" | "write" | "read";
|
|
7521
8111
|
}[];
|
|
7522
8112
|
}, unknown>;
|
|
@@ -7881,6 +8471,42 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7881
8471
|
isDeleted: boolean;
|
|
7882
8472
|
};
|
|
7883
8473
|
}, unknown>;
|
|
8474
|
+
publicKey: _trpc_server.BuildProcedure<"query", {
|
|
8475
|
+
_config: _trpc_server.RootConfig<{
|
|
8476
|
+
ctx: {};
|
|
8477
|
+
meta: object;
|
|
8478
|
+
errorShape: {
|
|
8479
|
+
message: string;
|
|
8480
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
8481
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
8482
|
+
} | {
|
|
8483
|
+
data: {
|
|
8484
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
8485
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
8486
|
+
httpStatus: number;
|
|
8487
|
+
path?: string | undefined;
|
|
8488
|
+
stack?: string | undefined;
|
|
8489
|
+
};
|
|
8490
|
+
message: string;
|
|
8491
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
8492
|
+
};
|
|
8493
|
+
transformer: typeof superjson.default;
|
|
8494
|
+
}>;
|
|
8495
|
+
_meta: object;
|
|
8496
|
+
_ctx_out: {};
|
|
8497
|
+
_input_in: {
|
|
8498
|
+
id: string;
|
|
8499
|
+
};
|
|
8500
|
+
_input_out: {
|
|
8501
|
+
id: string;
|
|
8502
|
+
};
|
|
8503
|
+
_output_in: {
|
|
8504
|
+
pub: string;
|
|
8505
|
+
};
|
|
8506
|
+
_output_out: {
|
|
8507
|
+
pub: string;
|
|
8508
|
+
};
|
|
8509
|
+
}, unknown>;
|
|
7884
8510
|
self: _trpc_server.BuildProcedure<"query", {
|
|
7885
8511
|
_config: _trpc_server.RootConfig<{
|
|
7886
8512
|
ctx: {};
|
|
@@ -7907,12 +8533,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7907
8533
|
_input_in: {} | undefined;
|
|
7908
8534
|
_input_out: {} | undefined;
|
|
7909
8535
|
_output_in: {
|
|
8536
|
+
id: string;
|
|
8537
|
+
lastLogin: Date | null;
|
|
8538
|
+
createdAt: Date;
|
|
8539
|
+
deletedAt: Date | null;
|
|
8540
|
+
lastname: string;
|
|
8541
|
+
firstname: string;
|
|
7910
8542
|
account: {
|
|
7911
8543
|
id: string;
|
|
7912
8544
|
createdAt: Date;
|
|
8545
|
+
deletedAt: Date | null;
|
|
7913
8546
|
role: "user" | "admin";
|
|
7914
8547
|
updatedAt: Date;
|
|
7915
|
-
deletedAt: Date | null;
|
|
7916
8548
|
emails: string[];
|
|
7917
8549
|
phones: string[];
|
|
7918
8550
|
infosId: string;
|
|
@@ -7920,21 +8552,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7920
8552
|
masterKeySalt: string;
|
|
7921
8553
|
srpVerifier: string;
|
|
7922
8554
|
};
|
|
7923
|
-
id: string;
|
|
7924
|
-
createdAt: Date;
|
|
7925
8555
|
updatedAt: Date;
|
|
8556
|
+
};
|
|
8557
|
+
_output_out: {
|
|
8558
|
+
id: string;
|
|
7926
8559
|
lastLogin: Date | null;
|
|
8560
|
+
createdAt: Date;
|
|
7927
8561
|
deletedAt: Date | null;
|
|
7928
8562
|
lastname: string;
|
|
7929
8563
|
firstname: string;
|
|
7930
|
-
};
|
|
7931
|
-
_output_out: {
|
|
7932
8564
|
account: {
|
|
7933
8565
|
id: string;
|
|
7934
8566
|
createdAt: Date;
|
|
8567
|
+
deletedAt: Date | null;
|
|
7935
8568
|
role: "user" | "admin";
|
|
7936
8569
|
updatedAt: Date;
|
|
7937
|
-
deletedAt: Date | null;
|
|
7938
8570
|
emails: string[];
|
|
7939
8571
|
phones: string[];
|
|
7940
8572
|
infosId: string;
|
|
@@ -7942,13 +8574,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7942
8574
|
masterKeySalt: string;
|
|
7943
8575
|
srpVerifier: string;
|
|
7944
8576
|
};
|
|
7945
|
-
id: string;
|
|
7946
|
-
createdAt: Date;
|
|
7947
8577
|
updatedAt: Date;
|
|
7948
|
-
lastLogin: Date | null;
|
|
7949
|
-
deletedAt: Date | null;
|
|
7950
|
-
lastname: string;
|
|
7951
|
-
firstname: string;
|
|
7952
8578
|
};
|
|
7953
8579
|
}, unknown>;
|
|
7954
8580
|
updateAutoDisconnectDelay: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -8022,21 +8648,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
8022
8648
|
};
|
|
8023
8649
|
_output_in: {
|
|
8024
8650
|
id: string;
|
|
8025
|
-
createdAt: Date;
|
|
8026
|
-
updatedAt: Date;
|
|
8027
8651
|
lastLogin: Date | null;
|
|
8652
|
+
createdAt: Date;
|
|
8028
8653
|
deletedAt: Date | null;
|
|
8029
8654
|
lastname: string;
|
|
8030
8655
|
firstname: string;
|
|
8656
|
+
updatedAt: Date;
|
|
8031
8657
|
};
|
|
8032
8658
|
_output_out: {
|
|
8033
8659
|
id: string;
|
|
8034
|
-
createdAt: Date;
|
|
8035
|
-
updatedAt: Date;
|
|
8036
8660
|
lastLogin: Date | null;
|
|
8661
|
+
createdAt: Date;
|
|
8037
8662
|
deletedAt: Date | null;
|
|
8038
8663
|
lastname: string;
|
|
8039
8664
|
firstname: string;
|
|
8665
|
+
updatedAt: Date;
|
|
8040
8666
|
};
|
|
8041
8667
|
}, unknown>;
|
|
8042
8668
|
}>;
|