@secrecy/trpc-api-types 1.2.0 → 1.3.0-integration-prisma-selectors.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +816 -110
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
1
2
|
import type * as _trpc_server from '@trpc/server';
|
|
2
3
|
import type * as superjson from 'superjson';
|
|
3
4
|
import type * as zod from 'zod';
|
|
4
5
|
import type * as _trpc_server_dist_error_formatter from '@trpc/server/dist/error/formatter';
|
|
5
6
|
import type * as _trpc_server_dist_rpc from '@trpc/server/dist/rpc';
|
|
6
|
-
import type * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
7
7
|
|
|
8
8
|
declare enum MongoDbEnv {
|
|
9
9
|
prod = "prod",
|
|
@@ -1403,9 +1403,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1403
1403
|
deletedAt: Date | null;
|
|
1404
1404
|
parentId: string | null;
|
|
1405
1405
|
isFavorite: boolean;
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1406
|
+
createdBy: {
|
|
1407
|
+
appId: string;
|
|
1408
|
+
userId: string;
|
|
1409
|
+
};
|
|
1409
1410
|
};
|
|
1410
1411
|
_output_out: {
|
|
1411
1412
|
type: "FILE" | "FOLDER";
|
|
@@ -1416,9 +1417,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1416
1417
|
deletedAt: Date | null;
|
|
1417
1418
|
parentId: string | null;
|
|
1418
1419
|
isFavorite: boolean;
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1420
|
+
createdBy: {
|
|
1421
|
+
appId: string;
|
|
1422
|
+
userId: string;
|
|
1423
|
+
};
|
|
1422
1424
|
};
|
|
1423
1425
|
}, unknown>;
|
|
1424
1426
|
deleteFile: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -1497,9 +1499,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1497
1499
|
storageType: "scaleway" | "mongo";
|
|
1498
1500
|
sizeBefore: bigint;
|
|
1499
1501
|
md5Encrypted: string;
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1502
|
+
accesses: {
|
|
1503
|
+
key: string;
|
|
1504
|
+
sharedBy: {
|
|
1505
|
+
keyPair: {
|
|
1506
|
+
pub: string;
|
|
1507
|
+
} | null;
|
|
1508
|
+
};
|
|
1509
|
+
}[];
|
|
1503
1510
|
} | null;
|
|
1504
1511
|
_output_out: {
|
|
1505
1512
|
id: string;
|
|
@@ -1510,9 +1517,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1510
1517
|
storageType: "scaleway" | "mongo";
|
|
1511
1518
|
sizeBefore: bigint;
|
|
1512
1519
|
md5Encrypted: string;
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1520
|
+
accesses: {
|
|
1521
|
+
key: string;
|
|
1522
|
+
sharedBy: {
|
|
1523
|
+
keyPair: {
|
|
1524
|
+
pub: string;
|
|
1525
|
+
} | null;
|
|
1526
|
+
};
|
|
1527
|
+
}[];
|
|
1516
1528
|
} | null;
|
|
1517
1529
|
}, unknown>;
|
|
1518
1530
|
fileContentById: _trpc_server.BuildProcedure<"query", {
|
|
@@ -1795,11 +1807,76 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1795
1807
|
name: string;
|
|
1796
1808
|
updatedAt: Date;
|
|
1797
1809
|
deletedAt: Date | null;
|
|
1810
|
+
current: {
|
|
1811
|
+
id: string;
|
|
1812
|
+
createdAt: Date;
|
|
1813
|
+
deletedAt: Date | null;
|
|
1814
|
+
size: bigint;
|
|
1815
|
+
md5: string;
|
|
1816
|
+
storageType: "scaleway" | "mongo";
|
|
1817
|
+
sizeBefore: bigint;
|
|
1818
|
+
md5Encrypted: string;
|
|
1819
|
+
accesses: {
|
|
1820
|
+
key: string;
|
|
1821
|
+
sharedBy: {
|
|
1822
|
+
keyPair: {
|
|
1823
|
+
pub: string;
|
|
1824
|
+
} | null;
|
|
1825
|
+
};
|
|
1826
|
+
}[];
|
|
1827
|
+
} | null;
|
|
1828
|
+
history: {
|
|
1829
|
+
id: string;
|
|
1830
|
+
createdAt: Date;
|
|
1831
|
+
deletedAt: Date | null;
|
|
1832
|
+
size: bigint;
|
|
1833
|
+
md5: string;
|
|
1834
|
+
storageType: "scaleway" | "mongo";
|
|
1835
|
+
sizeBefore: bigint;
|
|
1836
|
+
md5Encrypted: string;
|
|
1837
|
+
accesses: {
|
|
1838
|
+
key: string;
|
|
1839
|
+
sharedBy: {
|
|
1840
|
+
keyPair: {
|
|
1841
|
+
pub: string;
|
|
1842
|
+
} | null;
|
|
1843
|
+
};
|
|
1844
|
+
}[];
|
|
1845
|
+
}[];
|
|
1846
|
+
parent: {
|
|
1847
|
+
type: "FILE" | "FOLDER";
|
|
1848
|
+
id: string;
|
|
1849
|
+
createdAt: Date;
|
|
1850
|
+
name: string;
|
|
1851
|
+
updatedAt: Date;
|
|
1852
|
+
deletedAt: Date | null;
|
|
1853
|
+
parentId: string | null;
|
|
1854
|
+
isFavorite: boolean;
|
|
1855
|
+
createdBy: {
|
|
1856
|
+
appId: string;
|
|
1857
|
+
userId: string;
|
|
1858
|
+
};
|
|
1859
|
+
} | null;
|
|
1798
1860
|
parentId: string | null;
|
|
1799
1861
|
isFavorite: boolean;
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1862
|
+
createdBy: {
|
|
1863
|
+
appId: string;
|
|
1864
|
+
userId: string;
|
|
1865
|
+
};
|
|
1866
|
+
children: {
|
|
1867
|
+
type: "FILE" | "FOLDER";
|
|
1868
|
+
id: string;
|
|
1869
|
+
createdAt: Date;
|
|
1870
|
+
name: string;
|
|
1871
|
+
updatedAt: Date;
|
|
1872
|
+
deletedAt: Date | null;
|
|
1873
|
+
parentId: string | null;
|
|
1874
|
+
isFavorite: boolean;
|
|
1875
|
+
createdBy: {
|
|
1876
|
+
appId: string;
|
|
1877
|
+
userId: string;
|
|
1878
|
+
};
|
|
1879
|
+
}[];
|
|
1803
1880
|
};
|
|
1804
1881
|
_output_out: {
|
|
1805
1882
|
type: "FILE" | "FOLDER";
|
|
@@ -1808,11 +1885,76 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1808
1885
|
name: string;
|
|
1809
1886
|
updatedAt: Date;
|
|
1810
1887
|
deletedAt: Date | null;
|
|
1888
|
+
current: {
|
|
1889
|
+
id: string;
|
|
1890
|
+
createdAt: Date;
|
|
1891
|
+
deletedAt: Date | null;
|
|
1892
|
+
size: bigint;
|
|
1893
|
+
md5: string;
|
|
1894
|
+
storageType: "scaleway" | "mongo";
|
|
1895
|
+
sizeBefore: bigint;
|
|
1896
|
+
md5Encrypted: string;
|
|
1897
|
+
accesses: {
|
|
1898
|
+
key: string;
|
|
1899
|
+
sharedBy: {
|
|
1900
|
+
keyPair: {
|
|
1901
|
+
pub: string;
|
|
1902
|
+
} | null;
|
|
1903
|
+
};
|
|
1904
|
+
}[];
|
|
1905
|
+
} | null;
|
|
1906
|
+
history: {
|
|
1907
|
+
id: string;
|
|
1908
|
+
createdAt: Date;
|
|
1909
|
+
deletedAt: Date | null;
|
|
1910
|
+
size: bigint;
|
|
1911
|
+
md5: string;
|
|
1912
|
+
storageType: "scaleway" | "mongo";
|
|
1913
|
+
sizeBefore: bigint;
|
|
1914
|
+
md5Encrypted: string;
|
|
1915
|
+
accesses: {
|
|
1916
|
+
key: string;
|
|
1917
|
+
sharedBy: {
|
|
1918
|
+
keyPair: {
|
|
1919
|
+
pub: string;
|
|
1920
|
+
} | null;
|
|
1921
|
+
};
|
|
1922
|
+
}[];
|
|
1923
|
+
}[];
|
|
1924
|
+
parent: {
|
|
1925
|
+
type: "FILE" | "FOLDER";
|
|
1926
|
+
id: string;
|
|
1927
|
+
createdAt: Date;
|
|
1928
|
+
name: string;
|
|
1929
|
+
updatedAt: Date;
|
|
1930
|
+
deletedAt: Date | null;
|
|
1931
|
+
parentId: string | null;
|
|
1932
|
+
isFavorite: boolean;
|
|
1933
|
+
createdBy: {
|
|
1934
|
+
appId: string;
|
|
1935
|
+
userId: string;
|
|
1936
|
+
};
|
|
1937
|
+
} | null;
|
|
1811
1938
|
parentId: string | null;
|
|
1812
1939
|
isFavorite: boolean;
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1940
|
+
createdBy: {
|
|
1941
|
+
appId: string;
|
|
1942
|
+
userId: string;
|
|
1943
|
+
};
|
|
1944
|
+
children: {
|
|
1945
|
+
type: "FILE" | "FOLDER";
|
|
1946
|
+
id: string;
|
|
1947
|
+
createdAt: Date;
|
|
1948
|
+
name: string;
|
|
1949
|
+
updatedAt: Date;
|
|
1950
|
+
deletedAt: Date | null;
|
|
1951
|
+
parentId: string | null;
|
|
1952
|
+
isFavorite: boolean;
|
|
1953
|
+
createdBy: {
|
|
1954
|
+
appId: string;
|
|
1955
|
+
userId: string;
|
|
1956
|
+
};
|
|
1957
|
+
}[];
|
|
1816
1958
|
};
|
|
1817
1959
|
}, unknown>;
|
|
1818
1960
|
shareFileInHistory: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -2079,11 +2221,76 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2079
2221
|
name: string;
|
|
2080
2222
|
updatedAt: Date;
|
|
2081
2223
|
deletedAt: Date | null;
|
|
2224
|
+
current: {
|
|
2225
|
+
id: string;
|
|
2226
|
+
createdAt: Date;
|
|
2227
|
+
deletedAt: Date | null;
|
|
2228
|
+
size: bigint;
|
|
2229
|
+
md5: string;
|
|
2230
|
+
storageType: "scaleway" | "mongo";
|
|
2231
|
+
sizeBefore: bigint;
|
|
2232
|
+
md5Encrypted: string;
|
|
2233
|
+
accesses: {
|
|
2234
|
+
key: string;
|
|
2235
|
+
sharedBy: {
|
|
2236
|
+
keyPair: {
|
|
2237
|
+
pub: string;
|
|
2238
|
+
} | null;
|
|
2239
|
+
};
|
|
2240
|
+
}[];
|
|
2241
|
+
} | null;
|
|
2242
|
+
history: {
|
|
2243
|
+
id: string;
|
|
2244
|
+
createdAt: Date;
|
|
2245
|
+
deletedAt: Date | null;
|
|
2246
|
+
size: bigint;
|
|
2247
|
+
md5: string;
|
|
2248
|
+
storageType: "scaleway" | "mongo";
|
|
2249
|
+
sizeBefore: bigint;
|
|
2250
|
+
md5Encrypted: string;
|
|
2251
|
+
accesses: {
|
|
2252
|
+
key: string;
|
|
2253
|
+
sharedBy: {
|
|
2254
|
+
keyPair: {
|
|
2255
|
+
pub: string;
|
|
2256
|
+
} | null;
|
|
2257
|
+
};
|
|
2258
|
+
}[];
|
|
2259
|
+
}[];
|
|
2260
|
+
parent: {
|
|
2261
|
+
type: "FILE" | "FOLDER";
|
|
2262
|
+
id: string;
|
|
2263
|
+
createdAt: Date;
|
|
2264
|
+
name: string;
|
|
2265
|
+
updatedAt: Date;
|
|
2266
|
+
deletedAt: Date | null;
|
|
2267
|
+
parentId: string | null;
|
|
2268
|
+
isFavorite: boolean;
|
|
2269
|
+
createdBy: {
|
|
2270
|
+
appId: string;
|
|
2271
|
+
userId: string;
|
|
2272
|
+
};
|
|
2273
|
+
} | null;
|
|
2082
2274
|
parentId: string | null;
|
|
2083
2275
|
isFavorite: boolean;
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2276
|
+
createdBy: {
|
|
2277
|
+
appId: string;
|
|
2278
|
+
userId: string;
|
|
2279
|
+
};
|
|
2280
|
+
children: {
|
|
2281
|
+
type: "FILE" | "FOLDER";
|
|
2282
|
+
id: string;
|
|
2283
|
+
createdAt: Date;
|
|
2284
|
+
name: string;
|
|
2285
|
+
updatedAt: Date;
|
|
2286
|
+
deletedAt: Date | null;
|
|
2287
|
+
parentId: string | null;
|
|
2288
|
+
isFavorite: boolean;
|
|
2289
|
+
createdBy: {
|
|
2290
|
+
appId: string;
|
|
2291
|
+
userId: string;
|
|
2292
|
+
};
|
|
2293
|
+
}[];
|
|
2087
2294
|
};
|
|
2088
2295
|
_output_out: {
|
|
2089
2296
|
type: "FILE" | "FOLDER";
|
|
@@ -2092,11 +2299,76 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2092
2299
|
name: string;
|
|
2093
2300
|
updatedAt: Date;
|
|
2094
2301
|
deletedAt: Date | null;
|
|
2302
|
+
current: {
|
|
2303
|
+
id: string;
|
|
2304
|
+
createdAt: Date;
|
|
2305
|
+
deletedAt: Date | null;
|
|
2306
|
+
size: bigint;
|
|
2307
|
+
md5: string;
|
|
2308
|
+
storageType: "scaleway" | "mongo";
|
|
2309
|
+
sizeBefore: bigint;
|
|
2310
|
+
md5Encrypted: string;
|
|
2311
|
+
accesses: {
|
|
2312
|
+
key: string;
|
|
2313
|
+
sharedBy: {
|
|
2314
|
+
keyPair: {
|
|
2315
|
+
pub: string;
|
|
2316
|
+
} | null;
|
|
2317
|
+
};
|
|
2318
|
+
}[];
|
|
2319
|
+
} | null;
|
|
2320
|
+
history: {
|
|
2321
|
+
id: string;
|
|
2322
|
+
createdAt: Date;
|
|
2323
|
+
deletedAt: Date | null;
|
|
2324
|
+
size: bigint;
|
|
2325
|
+
md5: string;
|
|
2326
|
+
storageType: "scaleway" | "mongo";
|
|
2327
|
+
sizeBefore: bigint;
|
|
2328
|
+
md5Encrypted: string;
|
|
2329
|
+
accesses: {
|
|
2330
|
+
key: string;
|
|
2331
|
+
sharedBy: {
|
|
2332
|
+
keyPair: {
|
|
2333
|
+
pub: string;
|
|
2334
|
+
} | null;
|
|
2335
|
+
};
|
|
2336
|
+
}[];
|
|
2337
|
+
}[];
|
|
2338
|
+
parent: {
|
|
2339
|
+
type: "FILE" | "FOLDER";
|
|
2340
|
+
id: string;
|
|
2341
|
+
createdAt: Date;
|
|
2342
|
+
name: string;
|
|
2343
|
+
updatedAt: Date;
|
|
2344
|
+
deletedAt: Date | null;
|
|
2345
|
+
parentId: string | null;
|
|
2346
|
+
isFavorite: boolean;
|
|
2347
|
+
createdBy: {
|
|
2348
|
+
appId: string;
|
|
2349
|
+
userId: string;
|
|
2350
|
+
};
|
|
2351
|
+
} | null;
|
|
2095
2352
|
parentId: string | null;
|
|
2096
2353
|
isFavorite: boolean;
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2354
|
+
createdBy: {
|
|
2355
|
+
appId: string;
|
|
2356
|
+
userId: string;
|
|
2357
|
+
};
|
|
2358
|
+
children: {
|
|
2359
|
+
type: "FILE" | "FOLDER";
|
|
2360
|
+
id: string;
|
|
2361
|
+
createdAt: Date;
|
|
2362
|
+
name: string;
|
|
2363
|
+
updatedAt: Date;
|
|
2364
|
+
deletedAt: Date | null;
|
|
2365
|
+
parentId: string | null;
|
|
2366
|
+
isFavorite: boolean;
|
|
2367
|
+
createdBy: {
|
|
2368
|
+
appId: string;
|
|
2369
|
+
userId: string;
|
|
2370
|
+
};
|
|
2371
|
+
}[];
|
|
2100
2372
|
};
|
|
2101
2373
|
}, unknown>;
|
|
2102
2374
|
deleteNodeCloudTrash: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -2343,12 +2615,116 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2343
2615
|
_meta: object;
|
|
2344
2616
|
_ctx_out: {};
|
|
2345
2617
|
_input_in: {
|
|
2346
|
-
|
|
2618
|
+
type: "FILE" | "FOLDER";
|
|
2619
|
+
createdAt: Date;
|
|
2620
|
+
name: string;
|
|
2621
|
+
updatedAt: Date;
|
|
2622
|
+
deletedAt: Date | null;
|
|
2623
|
+
parentId: string | null;
|
|
2624
|
+
isFavorite: boolean;
|
|
2625
|
+
createdBy: {
|
|
2626
|
+
appId: string;
|
|
2627
|
+
userId: string;
|
|
2628
|
+
};
|
|
2347
2629
|
deleted?: boolean | undefined;
|
|
2630
|
+
id?: string | undefined;
|
|
2348
2631
|
};
|
|
2349
2632
|
_input_out: {
|
|
2633
|
+
type: "FILE" | "FOLDER";
|
|
2634
|
+
createdAt: Date;
|
|
2635
|
+
name: string;
|
|
2636
|
+
updatedAt: Date;
|
|
2637
|
+
deletedAt: Date | null;
|
|
2638
|
+
parentId: string | null;
|
|
2639
|
+
isFavorite: boolean;
|
|
2640
|
+
createdBy: {
|
|
2641
|
+
appId: string;
|
|
2642
|
+
userId: string;
|
|
2643
|
+
};
|
|
2644
|
+
deleted?: boolean | undefined;
|
|
2645
|
+
id?: string | undefined;
|
|
2646
|
+
};
|
|
2647
|
+
_output_in: {
|
|
2648
|
+
type: "FILE" | "FOLDER";
|
|
2649
|
+
id: string;
|
|
2650
|
+
createdAt: Date;
|
|
2651
|
+
name: string;
|
|
2652
|
+
updatedAt: Date;
|
|
2653
|
+
deletedAt: Date | null;
|
|
2654
|
+
parentId: string | null;
|
|
2655
|
+
isFavorite: boolean;
|
|
2656
|
+
createdBy: {
|
|
2657
|
+
appId: string;
|
|
2658
|
+
userId: string;
|
|
2659
|
+
};
|
|
2660
|
+
} | null;
|
|
2661
|
+
_output_out: {
|
|
2662
|
+
type: "FILE" | "FOLDER";
|
|
2350
2663
|
id: string;
|
|
2664
|
+
createdAt: Date;
|
|
2665
|
+
name: string;
|
|
2666
|
+
updatedAt: Date;
|
|
2667
|
+
deletedAt: Date | null;
|
|
2668
|
+
parentId: string | null;
|
|
2669
|
+
isFavorite: boolean;
|
|
2670
|
+
createdBy: {
|
|
2671
|
+
appId: string;
|
|
2672
|
+
userId: string;
|
|
2673
|
+
};
|
|
2674
|
+
} | null;
|
|
2675
|
+
}, unknown>;
|
|
2676
|
+
nodeFullById: _trpc_server.BuildProcedure<"query", {
|
|
2677
|
+
_config: _trpc_server.RootConfig<{
|
|
2678
|
+
ctx: {};
|
|
2679
|
+
meta: object;
|
|
2680
|
+
errorShape: {
|
|
2681
|
+
message: string;
|
|
2682
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2683
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
2684
|
+
} | {
|
|
2685
|
+
data: {
|
|
2686
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
2687
|
+
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";
|
|
2688
|
+
httpStatus: number;
|
|
2689
|
+
path?: string | undefined;
|
|
2690
|
+
stack?: string | undefined;
|
|
2691
|
+
};
|
|
2692
|
+
message: string;
|
|
2693
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
2694
|
+
};
|
|
2695
|
+
transformer: typeof superjson.default;
|
|
2696
|
+
}>;
|
|
2697
|
+
_meta: object;
|
|
2698
|
+
_ctx_out: {};
|
|
2699
|
+
_input_in: {
|
|
2700
|
+
type: "FILE" | "FOLDER";
|
|
2701
|
+
createdAt: Date;
|
|
2702
|
+
name: string;
|
|
2703
|
+
updatedAt: Date;
|
|
2704
|
+
deletedAt: Date | null;
|
|
2705
|
+
parentId: string | null;
|
|
2706
|
+
isFavorite: boolean;
|
|
2707
|
+
createdBy: {
|
|
2708
|
+
appId: string;
|
|
2709
|
+
userId: string;
|
|
2710
|
+
};
|
|
2711
|
+
deleted?: boolean | undefined;
|
|
2712
|
+
id?: string | undefined;
|
|
2713
|
+
};
|
|
2714
|
+
_input_out: {
|
|
2715
|
+
type: "FILE" | "FOLDER";
|
|
2716
|
+
createdAt: Date;
|
|
2717
|
+
name: string;
|
|
2718
|
+
updatedAt: Date;
|
|
2719
|
+
deletedAt: Date | null;
|
|
2720
|
+
parentId: string | null;
|
|
2721
|
+
isFavorite: boolean;
|
|
2722
|
+
createdBy: {
|
|
2723
|
+
appId: string;
|
|
2724
|
+
userId: string;
|
|
2725
|
+
};
|
|
2351
2726
|
deleted?: boolean | undefined;
|
|
2727
|
+
id?: string | undefined;
|
|
2352
2728
|
};
|
|
2353
2729
|
_output_in: {
|
|
2354
2730
|
type: "FILE" | "FOLDER";
|
|
@@ -2359,9 +2735,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2359
2735
|
deletedAt: Date | null;
|
|
2360
2736
|
parentId: string | null;
|
|
2361
2737
|
isFavorite: boolean;
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2738
|
+
createdBy: {
|
|
2739
|
+
appId: string;
|
|
2740
|
+
userId: string;
|
|
2741
|
+
};
|
|
2365
2742
|
} | null;
|
|
2366
2743
|
_output_out: {
|
|
2367
2744
|
type: "FILE" | "FOLDER";
|
|
@@ -2372,9 +2749,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2372
2749
|
deletedAt: Date | null;
|
|
2373
2750
|
parentId: string | null;
|
|
2374
2751
|
isFavorite: boolean;
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2752
|
+
createdBy: {
|
|
2753
|
+
appId: string;
|
|
2754
|
+
userId: string;
|
|
2755
|
+
};
|
|
2378
2756
|
} | null;
|
|
2379
2757
|
}, unknown>;
|
|
2380
2758
|
nodesDeleted: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2411,9 +2789,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2411
2789
|
deletedAt: Date | null;
|
|
2412
2790
|
parentId: string | null;
|
|
2413
2791
|
isFavorite: boolean;
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2792
|
+
createdBy: {
|
|
2793
|
+
appId: string;
|
|
2794
|
+
userId: string;
|
|
2795
|
+
};
|
|
2417
2796
|
}[];
|
|
2418
2797
|
_output_out: {
|
|
2419
2798
|
type: "FILE" | "FOLDER";
|
|
@@ -2424,9 +2803,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2424
2803
|
deletedAt: Date | null;
|
|
2425
2804
|
parentId: string | null;
|
|
2426
2805
|
isFavorite: boolean;
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2806
|
+
createdBy: {
|
|
2807
|
+
appId: string;
|
|
2808
|
+
userId: string;
|
|
2809
|
+
};
|
|
2430
2810
|
}[];
|
|
2431
2811
|
}, unknown>;
|
|
2432
2812
|
nodesSharedWithMe: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2467,9 +2847,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2467
2847
|
deletedAt: Date | null;
|
|
2468
2848
|
parentId: string | null;
|
|
2469
2849
|
isFavorite: boolean;
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2850
|
+
createdBy: {
|
|
2851
|
+
appId: string;
|
|
2852
|
+
userId: string;
|
|
2853
|
+
};
|
|
2473
2854
|
} | null)[];
|
|
2474
2855
|
_output_out: ({
|
|
2475
2856
|
type: "FILE" | "FOLDER";
|
|
@@ -2480,9 +2861,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2480
2861
|
deletedAt: Date | null;
|
|
2481
2862
|
parentId: string | null;
|
|
2482
2863
|
isFavorite: boolean;
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2864
|
+
createdBy: {
|
|
2865
|
+
appId: string;
|
|
2866
|
+
userId: string;
|
|
2867
|
+
};
|
|
2486
2868
|
} | null)[];
|
|
2487
2869
|
}, unknown>;
|
|
2488
2870
|
nodesShared: _trpc_server.BuildProcedure<"query", {
|
|
@@ -2519,9 +2901,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2519
2901
|
deletedAt: Date | null;
|
|
2520
2902
|
parentId: string | null;
|
|
2521
2903
|
isFavorite: boolean;
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2904
|
+
createdBy: {
|
|
2905
|
+
appId: string;
|
|
2906
|
+
userId: string;
|
|
2907
|
+
};
|
|
2525
2908
|
} | null)[];
|
|
2526
2909
|
_output_out: ({
|
|
2527
2910
|
type: "FILE" | "FOLDER";
|
|
@@ -2532,9 +2915,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2532
2915
|
deletedAt: Date | null;
|
|
2533
2916
|
parentId: string | null;
|
|
2534
2917
|
isFavorite: boolean;
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2918
|
+
createdBy: {
|
|
2919
|
+
appId: string;
|
|
2920
|
+
userId: string;
|
|
2921
|
+
};
|
|
2538
2922
|
} | null)[];
|
|
2539
2923
|
}, unknown>;
|
|
2540
2924
|
recoverNode: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -2707,11 +3091,76 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2707
3091
|
name: string;
|
|
2708
3092
|
updatedAt: Date;
|
|
2709
3093
|
deletedAt: Date | null;
|
|
3094
|
+
current: {
|
|
3095
|
+
id: string;
|
|
3096
|
+
createdAt: Date;
|
|
3097
|
+
deletedAt: Date | null;
|
|
3098
|
+
size: bigint;
|
|
3099
|
+
md5: string;
|
|
3100
|
+
storageType: "scaleway" | "mongo";
|
|
3101
|
+
sizeBefore: bigint;
|
|
3102
|
+
md5Encrypted: string;
|
|
3103
|
+
accesses: {
|
|
3104
|
+
key: string;
|
|
3105
|
+
sharedBy: {
|
|
3106
|
+
keyPair: {
|
|
3107
|
+
pub: string;
|
|
3108
|
+
} | null;
|
|
3109
|
+
};
|
|
3110
|
+
}[];
|
|
3111
|
+
} | null;
|
|
3112
|
+
history: {
|
|
3113
|
+
id: string;
|
|
3114
|
+
createdAt: Date;
|
|
3115
|
+
deletedAt: Date | null;
|
|
3116
|
+
size: bigint;
|
|
3117
|
+
md5: string;
|
|
3118
|
+
storageType: "scaleway" | "mongo";
|
|
3119
|
+
sizeBefore: bigint;
|
|
3120
|
+
md5Encrypted: string;
|
|
3121
|
+
accesses: {
|
|
3122
|
+
key: string;
|
|
3123
|
+
sharedBy: {
|
|
3124
|
+
keyPair: {
|
|
3125
|
+
pub: string;
|
|
3126
|
+
} | null;
|
|
3127
|
+
};
|
|
3128
|
+
}[];
|
|
3129
|
+
}[];
|
|
3130
|
+
parent: {
|
|
3131
|
+
type: "FILE" | "FOLDER";
|
|
3132
|
+
id: string;
|
|
3133
|
+
createdAt: Date;
|
|
3134
|
+
name: string;
|
|
3135
|
+
updatedAt: Date;
|
|
3136
|
+
deletedAt: Date | null;
|
|
3137
|
+
parentId: string | null;
|
|
3138
|
+
isFavorite: boolean;
|
|
3139
|
+
createdBy: {
|
|
3140
|
+
appId: string;
|
|
3141
|
+
userId: string;
|
|
3142
|
+
};
|
|
3143
|
+
} | null;
|
|
2710
3144
|
parentId: string | null;
|
|
2711
3145
|
isFavorite: boolean;
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
3146
|
+
createdBy: {
|
|
3147
|
+
appId: string;
|
|
3148
|
+
userId: string;
|
|
3149
|
+
};
|
|
3150
|
+
children: {
|
|
3151
|
+
type: "FILE" | "FOLDER";
|
|
3152
|
+
id: string;
|
|
3153
|
+
createdAt: Date;
|
|
3154
|
+
name: string;
|
|
3155
|
+
updatedAt: Date;
|
|
3156
|
+
deletedAt: Date | null;
|
|
3157
|
+
parentId: string | null;
|
|
3158
|
+
isFavorite: boolean;
|
|
3159
|
+
createdBy: {
|
|
3160
|
+
appId: string;
|
|
3161
|
+
userId: string;
|
|
3162
|
+
};
|
|
3163
|
+
}[];
|
|
2715
3164
|
};
|
|
2716
3165
|
_output_out: {
|
|
2717
3166
|
type: "FILE" | "FOLDER";
|
|
@@ -2720,11 +3169,76 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2720
3169
|
name: string;
|
|
2721
3170
|
updatedAt: Date;
|
|
2722
3171
|
deletedAt: Date | null;
|
|
3172
|
+
current: {
|
|
3173
|
+
id: string;
|
|
3174
|
+
createdAt: Date;
|
|
3175
|
+
deletedAt: Date | null;
|
|
3176
|
+
size: bigint;
|
|
3177
|
+
md5: string;
|
|
3178
|
+
storageType: "scaleway" | "mongo";
|
|
3179
|
+
sizeBefore: bigint;
|
|
3180
|
+
md5Encrypted: string;
|
|
3181
|
+
accesses: {
|
|
3182
|
+
key: string;
|
|
3183
|
+
sharedBy: {
|
|
3184
|
+
keyPair: {
|
|
3185
|
+
pub: string;
|
|
3186
|
+
} | null;
|
|
3187
|
+
};
|
|
3188
|
+
}[];
|
|
3189
|
+
} | null;
|
|
3190
|
+
history: {
|
|
3191
|
+
id: string;
|
|
3192
|
+
createdAt: Date;
|
|
3193
|
+
deletedAt: Date | null;
|
|
3194
|
+
size: bigint;
|
|
3195
|
+
md5: string;
|
|
3196
|
+
storageType: "scaleway" | "mongo";
|
|
3197
|
+
sizeBefore: bigint;
|
|
3198
|
+
md5Encrypted: string;
|
|
3199
|
+
accesses: {
|
|
3200
|
+
key: string;
|
|
3201
|
+
sharedBy: {
|
|
3202
|
+
keyPair: {
|
|
3203
|
+
pub: string;
|
|
3204
|
+
} | null;
|
|
3205
|
+
};
|
|
3206
|
+
}[];
|
|
3207
|
+
}[];
|
|
3208
|
+
parent: {
|
|
3209
|
+
type: "FILE" | "FOLDER";
|
|
3210
|
+
id: string;
|
|
3211
|
+
createdAt: Date;
|
|
3212
|
+
name: string;
|
|
3213
|
+
updatedAt: Date;
|
|
3214
|
+
deletedAt: Date | null;
|
|
3215
|
+
parentId: string | null;
|
|
3216
|
+
isFavorite: boolean;
|
|
3217
|
+
createdBy: {
|
|
3218
|
+
appId: string;
|
|
3219
|
+
userId: string;
|
|
3220
|
+
};
|
|
3221
|
+
} | null;
|
|
2723
3222
|
parentId: string | null;
|
|
2724
3223
|
isFavorite: boolean;
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
3224
|
+
createdBy: {
|
|
3225
|
+
appId: string;
|
|
3226
|
+
userId: string;
|
|
3227
|
+
};
|
|
3228
|
+
children: {
|
|
3229
|
+
type: "FILE" | "FOLDER";
|
|
3230
|
+
id: string;
|
|
3231
|
+
createdAt: Date;
|
|
3232
|
+
name: string;
|
|
3233
|
+
updatedAt: Date;
|
|
3234
|
+
deletedAt: Date | null;
|
|
3235
|
+
parentId: string | null;
|
|
3236
|
+
isFavorite: boolean;
|
|
3237
|
+
createdBy: {
|
|
3238
|
+
appId: string;
|
|
3239
|
+
userId: string;
|
|
3240
|
+
};
|
|
3241
|
+
}[];
|
|
2728
3242
|
};
|
|
2729
3243
|
}, unknown>;
|
|
2730
3244
|
}>;
|
|
@@ -2773,23 +3287,23 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2773
3287
|
_ctx_out: {};
|
|
2774
3288
|
_input_in: {
|
|
2775
3289
|
address: string;
|
|
2776
|
-
|
|
3290
|
+
encryptedKeystore: string;
|
|
2777
3291
|
};
|
|
2778
3292
|
_input_out: {
|
|
2779
3293
|
address: string;
|
|
2780
|
-
|
|
3294
|
+
encryptedKeystore: string;
|
|
2781
3295
|
};
|
|
2782
3296
|
_output_in: {
|
|
2783
3297
|
userId: string;
|
|
2784
3298
|
createdAt: Date;
|
|
2785
3299
|
address: string;
|
|
2786
|
-
|
|
3300
|
+
encryptedKeystore: string;
|
|
2787
3301
|
};
|
|
2788
3302
|
_output_out: {
|
|
2789
3303
|
userId: string;
|
|
2790
3304
|
createdAt: Date;
|
|
2791
3305
|
address: string;
|
|
2792
|
-
|
|
3306
|
+
encryptedKeystore: string;
|
|
2793
3307
|
};
|
|
2794
3308
|
}, unknown>;
|
|
2795
3309
|
isTransactionDone: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3552,29 +4066,75 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3552
4066
|
};
|
|
3553
4067
|
_output_in: {
|
|
3554
4068
|
type: "received" | "sent";
|
|
3555
|
-
|
|
4069
|
+
mailIntegrity: {
|
|
4070
|
+
id: string;
|
|
4071
|
+
replyTo: {
|
|
4072
|
+
id: string;
|
|
4073
|
+
} | null;
|
|
4074
|
+
hashKey: string;
|
|
4075
|
+
hash: string;
|
|
4076
|
+
temporaryRecipients: {
|
|
4077
|
+
email: string | null;
|
|
4078
|
+
}[];
|
|
4079
|
+
} | null;
|
|
4080
|
+
mailIntegrityDraft: {
|
|
4081
|
+
id: string;
|
|
4082
|
+
replyTo: {
|
|
4083
|
+
id: string;
|
|
4084
|
+
} | null;
|
|
4085
|
+
hashKey: string;
|
|
4086
|
+
hash: string;
|
|
4087
|
+
temporaryRecipients: {
|
|
4088
|
+
email: string | null;
|
|
4089
|
+
}[];
|
|
4090
|
+
} | null;
|
|
3556
4091
|
id: string;
|
|
3557
4092
|
createdAt: Date;
|
|
3558
4093
|
deletedAt: Date | null;
|
|
3559
4094
|
subject: string;
|
|
3560
4095
|
body: string;
|
|
3561
|
-
senderId: string;
|
|
3562
|
-
recipientId: string;
|
|
3563
4096
|
openedAt: Date | null;
|
|
3564
|
-
|
|
4097
|
+
files: {
|
|
4098
|
+
fileId: string;
|
|
4099
|
+
filename: string;
|
|
4100
|
+
fileKey: string;
|
|
4101
|
+
}[];
|
|
3565
4102
|
};
|
|
3566
4103
|
_output_out: {
|
|
3567
4104
|
type: "received" | "sent";
|
|
3568
|
-
|
|
4105
|
+
mailIntegrity: {
|
|
4106
|
+
id: string;
|
|
4107
|
+
replyTo: {
|
|
4108
|
+
id: string;
|
|
4109
|
+
} | null;
|
|
4110
|
+
hashKey: string;
|
|
4111
|
+
hash: string;
|
|
4112
|
+
temporaryRecipients: {
|
|
4113
|
+
email: string | null;
|
|
4114
|
+
}[];
|
|
4115
|
+
} | null;
|
|
4116
|
+
mailIntegrityDraft: {
|
|
4117
|
+
id: string;
|
|
4118
|
+
replyTo: {
|
|
4119
|
+
id: string;
|
|
4120
|
+
} | null;
|
|
4121
|
+
hashKey: string;
|
|
4122
|
+
hash: string;
|
|
4123
|
+
temporaryRecipients: {
|
|
4124
|
+
email: string | null;
|
|
4125
|
+
}[];
|
|
4126
|
+
} | null;
|
|
3569
4127
|
id: string;
|
|
3570
4128
|
createdAt: Date;
|
|
3571
4129
|
deletedAt: Date | null;
|
|
3572
4130
|
subject: string;
|
|
3573
4131
|
body: string;
|
|
3574
|
-
senderId: string;
|
|
3575
|
-
recipientId: string;
|
|
3576
4132
|
openedAt: Date | null;
|
|
3577
|
-
|
|
4133
|
+
files: {
|
|
4134
|
+
fileId: string;
|
|
4135
|
+
filename: string;
|
|
4136
|
+
fileKey: string;
|
|
4137
|
+
}[];
|
|
3578
4138
|
};
|
|
3579
4139
|
}, unknown>;
|
|
3580
4140
|
createDraft: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -3630,16 +4190,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3630
4190
|
};
|
|
3631
4191
|
_output_in: {
|
|
3632
4192
|
type: "received" | "sent";
|
|
3633
|
-
|
|
4193
|
+
mailIntegrity: {
|
|
4194
|
+
id: string;
|
|
4195
|
+
replyTo: {
|
|
4196
|
+
id: string;
|
|
4197
|
+
} | null;
|
|
4198
|
+
hashKey: string;
|
|
4199
|
+
hash: string;
|
|
4200
|
+
temporaryRecipients: {
|
|
4201
|
+
email: string | null;
|
|
4202
|
+
}[];
|
|
4203
|
+
} | null;
|
|
4204
|
+
mailIntegrityDraft: {
|
|
4205
|
+
id: string;
|
|
4206
|
+
replyTo: {
|
|
4207
|
+
id: string;
|
|
4208
|
+
} | null;
|
|
4209
|
+
hashKey: string;
|
|
4210
|
+
hash: string;
|
|
4211
|
+
temporaryRecipients: {
|
|
4212
|
+
email: string | null;
|
|
4213
|
+
}[];
|
|
4214
|
+
} | null;
|
|
3634
4215
|
id: string;
|
|
3635
4216
|
createdAt: Date;
|
|
3636
4217
|
deletedAt: Date | null;
|
|
3637
4218
|
subject: string;
|
|
3638
4219
|
body: string;
|
|
3639
|
-
senderId: string;
|
|
3640
|
-
recipientId: string;
|
|
3641
4220
|
openedAt: Date | null;
|
|
3642
|
-
|
|
4221
|
+
files: {
|
|
4222
|
+
fileId: string;
|
|
4223
|
+
filename: string;
|
|
4224
|
+
fileKey: string;
|
|
4225
|
+
}[];
|
|
3643
4226
|
} & {
|
|
3644
4227
|
mailIntegrityDraft: {
|
|
3645
4228
|
id: string;
|
|
@@ -3647,16 +4230,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3647
4230
|
};
|
|
3648
4231
|
_output_out: {
|
|
3649
4232
|
type: "received" | "sent";
|
|
3650
|
-
|
|
4233
|
+
mailIntegrity: {
|
|
4234
|
+
id: string;
|
|
4235
|
+
replyTo: {
|
|
4236
|
+
id: string;
|
|
4237
|
+
} | null;
|
|
4238
|
+
hashKey: string;
|
|
4239
|
+
hash: string;
|
|
4240
|
+
temporaryRecipients: {
|
|
4241
|
+
email: string | null;
|
|
4242
|
+
}[];
|
|
4243
|
+
} | null;
|
|
4244
|
+
mailIntegrityDraft: {
|
|
4245
|
+
id: string;
|
|
4246
|
+
replyTo: {
|
|
4247
|
+
id: string;
|
|
4248
|
+
} | null;
|
|
4249
|
+
hashKey: string;
|
|
4250
|
+
hash: string;
|
|
4251
|
+
temporaryRecipients: {
|
|
4252
|
+
email: string | null;
|
|
4253
|
+
}[];
|
|
4254
|
+
} | null;
|
|
3651
4255
|
id: string;
|
|
3652
4256
|
createdAt: Date;
|
|
3653
4257
|
deletedAt: Date | null;
|
|
3654
4258
|
subject: string;
|
|
3655
4259
|
body: string;
|
|
3656
|
-
senderId: string;
|
|
3657
|
-
recipientId: string;
|
|
3658
4260
|
openedAt: Date | null;
|
|
3659
|
-
|
|
4261
|
+
files: {
|
|
4262
|
+
fileId: string;
|
|
4263
|
+
filename: string;
|
|
4264
|
+
fileKey: string;
|
|
4265
|
+
}[];
|
|
3660
4266
|
} & {
|
|
3661
4267
|
mailIntegrityDraft: {
|
|
3662
4268
|
id: string;
|
|
@@ -3802,29 +4408,75 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3802
4408
|
};
|
|
3803
4409
|
_output_in: {
|
|
3804
4410
|
type: "received" | "sent";
|
|
3805
|
-
|
|
4411
|
+
mailIntegrity: {
|
|
4412
|
+
id: string;
|
|
4413
|
+
replyTo: {
|
|
4414
|
+
id: string;
|
|
4415
|
+
} | null;
|
|
4416
|
+
hashKey: string;
|
|
4417
|
+
hash: string;
|
|
4418
|
+
temporaryRecipients: {
|
|
4419
|
+
email: string | null;
|
|
4420
|
+
}[];
|
|
4421
|
+
} | null;
|
|
4422
|
+
mailIntegrityDraft: {
|
|
4423
|
+
id: string;
|
|
4424
|
+
replyTo: {
|
|
4425
|
+
id: string;
|
|
4426
|
+
} | null;
|
|
4427
|
+
hashKey: string;
|
|
4428
|
+
hash: string;
|
|
4429
|
+
temporaryRecipients: {
|
|
4430
|
+
email: string | null;
|
|
4431
|
+
}[];
|
|
4432
|
+
} | null;
|
|
3806
4433
|
id: string;
|
|
3807
4434
|
createdAt: Date;
|
|
3808
4435
|
deletedAt: Date | null;
|
|
3809
4436
|
subject: string;
|
|
3810
4437
|
body: string;
|
|
3811
|
-
senderId: string;
|
|
3812
|
-
recipientId: string;
|
|
3813
4438
|
openedAt: Date | null;
|
|
3814
|
-
|
|
4439
|
+
files: {
|
|
4440
|
+
fileId: string;
|
|
4441
|
+
filename: string;
|
|
4442
|
+
fileKey: string;
|
|
4443
|
+
}[];
|
|
3815
4444
|
}[];
|
|
3816
4445
|
_output_out: {
|
|
3817
4446
|
type: "received" | "sent";
|
|
3818
|
-
|
|
4447
|
+
mailIntegrity: {
|
|
4448
|
+
id: string;
|
|
4449
|
+
replyTo: {
|
|
4450
|
+
id: string;
|
|
4451
|
+
} | null;
|
|
4452
|
+
hashKey: string;
|
|
4453
|
+
hash: string;
|
|
4454
|
+
temporaryRecipients: {
|
|
4455
|
+
email: string | null;
|
|
4456
|
+
}[];
|
|
4457
|
+
} | null;
|
|
4458
|
+
mailIntegrityDraft: {
|
|
4459
|
+
id: string;
|
|
4460
|
+
replyTo: {
|
|
4461
|
+
id: string;
|
|
4462
|
+
} | null;
|
|
4463
|
+
hashKey: string;
|
|
4464
|
+
hash: string;
|
|
4465
|
+
temporaryRecipients: {
|
|
4466
|
+
email: string | null;
|
|
4467
|
+
}[];
|
|
4468
|
+
} | null;
|
|
3819
4469
|
id: string;
|
|
3820
4470
|
createdAt: Date;
|
|
3821
4471
|
deletedAt: Date | null;
|
|
3822
4472
|
subject: string;
|
|
3823
4473
|
body: string;
|
|
3824
|
-
senderId: string;
|
|
3825
|
-
recipientId: string;
|
|
3826
4474
|
openedAt: Date | null;
|
|
3827
|
-
|
|
4475
|
+
files: {
|
|
4476
|
+
fileId: string;
|
|
4477
|
+
filename: string;
|
|
4478
|
+
fileKey: string;
|
|
4479
|
+
}[];
|
|
3828
4480
|
}[];
|
|
3829
4481
|
}, unknown>;
|
|
3830
4482
|
emptyTrash: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -3889,10 +4541,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3889
4541
|
id: string;
|
|
3890
4542
|
};
|
|
3891
4543
|
_output_in: {
|
|
3892
|
-
|
|
4544
|
+
isRead: boolean;
|
|
3893
4545
|
};
|
|
3894
4546
|
_output_out: {
|
|
3895
|
-
|
|
4547
|
+
isRead: boolean;
|
|
3896
4548
|
};
|
|
3897
4549
|
}, unknown>;
|
|
3898
4550
|
recover: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -4000,8 +4652,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4000
4652
|
recipients: ({
|
|
4001
4653
|
subject: string;
|
|
4002
4654
|
body: string;
|
|
4003
|
-
recipientId: string;
|
|
4004
4655
|
} & {
|
|
4656
|
+
recipientId: string;
|
|
4005
4657
|
files: {
|
|
4006
4658
|
id: string;
|
|
4007
4659
|
filename: string;
|
|
@@ -4016,8 +4668,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4016
4668
|
recipients: ({
|
|
4017
4669
|
subject: string;
|
|
4018
4670
|
body: string;
|
|
4019
|
-
recipientId: string;
|
|
4020
4671
|
} & {
|
|
4672
|
+
recipientId: string;
|
|
4021
4673
|
files: {
|
|
4022
4674
|
id: string;
|
|
4023
4675
|
filename: string;
|
|
@@ -4027,10 +4679,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4027
4679
|
temporaryRecipients: string[];
|
|
4028
4680
|
};
|
|
4029
4681
|
_output_in: {
|
|
4030
|
-
|
|
4682
|
+
isSent: boolean;
|
|
4031
4683
|
};
|
|
4032
4684
|
_output_out: {
|
|
4033
|
-
|
|
4685
|
+
isSent: boolean;
|
|
4034
4686
|
};
|
|
4035
4687
|
}, unknown>;
|
|
4036
4688
|
sendOne: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -4061,8 +4713,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4061
4713
|
recipient: {
|
|
4062
4714
|
subject: string;
|
|
4063
4715
|
body: string;
|
|
4064
|
-
recipientId: string;
|
|
4065
4716
|
} & {
|
|
4717
|
+
recipientId: string;
|
|
4066
4718
|
files: {
|
|
4067
4719
|
id: string;
|
|
4068
4720
|
filename: string;
|
|
@@ -4075,8 +4727,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4075
4727
|
recipient: {
|
|
4076
4728
|
subject: string;
|
|
4077
4729
|
body: string;
|
|
4078
|
-
recipientId: string;
|
|
4079
4730
|
} & {
|
|
4731
|
+
recipientId: string;
|
|
4080
4732
|
files: {
|
|
4081
4733
|
id: string;
|
|
4082
4734
|
filename: string;
|
|
@@ -4149,10 +4801,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4149
4801
|
id: string;
|
|
4150
4802
|
};
|
|
4151
4803
|
_output_in: {
|
|
4152
|
-
|
|
4804
|
+
isUnread: boolean;
|
|
4153
4805
|
};
|
|
4154
4806
|
_output_out: {
|
|
4155
|
-
|
|
4807
|
+
isUnread: boolean;
|
|
4156
4808
|
};
|
|
4157
4809
|
}, unknown>;
|
|
4158
4810
|
updateDraft: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -4208,29 +4860,75 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4208
4860
|
};
|
|
4209
4861
|
_output_in: {
|
|
4210
4862
|
type: "received" | "sent";
|
|
4211
|
-
|
|
4863
|
+
mailIntegrity: {
|
|
4864
|
+
id: string;
|
|
4865
|
+
replyTo: {
|
|
4866
|
+
id: string;
|
|
4867
|
+
} | null;
|
|
4868
|
+
hashKey: string;
|
|
4869
|
+
hash: string;
|
|
4870
|
+
temporaryRecipients: {
|
|
4871
|
+
email: string | null;
|
|
4872
|
+
}[];
|
|
4873
|
+
} | null;
|
|
4874
|
+
mailIntegrityDraft: {
|
|
4875
|
+
id: string;
|
|
4876
|
+
replyTo: {
|
|
4877
|
+
id: string;
|
|
4878
|
+
} | null;
|
|
4879
|
+
hashKey: string;
|
|
4880
|
+
hash: string;
|
|
4881
|
+
temporaryRecipients: {
|
|
4882
|
+
email: string | null;
|
|
4883
|
+
}[];
|
|
4884
|
+
} | null;
|
|
4212
4885
|
id: string;
|
|
4213
4886
|
createdAt: Date;
|
|
4214
4887
|
deletedAt: Date | null;
|
|
4215
4888
|
subject: string;
|
|
4216
4889
|
body: string;
|
|
4217
|
-
senderId: string;
|
|
4218
|
-
recipientId: string;
|
|
4219
4890
|
openedAt: Date | null;
|
|
4220
|
-
|
|
4891
|
+
files: {
|
|
4892
|
+
fileId: string;
|
|
4893
|
+
filename: string;
|
|
4894
|
+
fileKey: string;
|
|
4895
|
+
}[];
|
|
4221
4896
|
};
|
|
4222
4897
|
_output_out: {
|
|
4223
4898
|
type: "received" | "sent";
|
|
4224
|
-
|
|
4899
|
+
mailIntegrity: {
|
|
4900
|
+
id: string;
|
|
4901
|
+
replyTo: {
|
|
4902
|
+
id: string;
|
|
4903
|
+
} | null;
|
|
4904
|
+
hashKey: string;
|
|
4905
|
+
hash: string;
|
|
4906
|
+
temporaryRecipients: {
|
|
4907
|
+
email: string | null;
|
|
4908
|
+
}[];
|
|
4909
|
+
} | null;
|
|
4910
|
+
mailIntegrityDraft: {
|
|
4911
|
+
id: string;
|
|
4912
|
+
replyTo: {
|
|
4913
|
+
id: string;
|
|
4914
|
+
} | null;
|
|
4915
|
+
hashKey: string;
|
|
4916
|
+
hash: string;
|
|
4917
|
+
temporaryRecipients: {
|
|
4918
|
+
email: string | null;
|
|
4919
|
+
}[];
|
|
4920
|
+
} | null;
|
|
4225
4921
|
id: string;
|
|
4226
4922
|
createdAt: Date;
|
|
4227
4923
|
deletedAt: Date | null;
|
|
4228
4924
|
subject: string;
|
|
4229
4925
|
body: string;
|
|
4230
|
-
senderId: string;
|
|
4231
|
-
recipientId: string;
|
|
4232
4926
|
openedAt: Date | null;
|
|
4233
|
-
|
|
4927
|
+
files: {
|
|
4928
|
+
fileId: string;
|
|
4929
|
+
filename: string;
|
|
4930
|
+
fileKey: string;
|
|
4931
|
+
}[];
|
|
4234
4932
|
};
|
|
4235
4933
|
}, unknown>;
|
|
4236
4934
|
}>;
|
|
@@ -4617,16 +5315,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4617
5315
|
uaEncPriv: string;
|
|
4618
5316
|
};
|
|
4619
5317
|
_output_in: {
|
|
5318
|
+
keyPair: {
|
|
5319
|
+
uaPub: string;
|
|
5320
|
+
uaEncPriv: string;
|
|
5321
|
+
};
|
|
4620
5322
|
jwt: string;
|
|
4621
5323
|
uaSession: string;
|
|
4622
|
-
uaPub: string;
|
|
4623
|
-
uaEncPriv: string;
|
|
4624
5324
|
};
|
|
4625
5325
|
_output_out: {
|
|
5326
|
+
keyPair: {
|
|
5327
|
+
uaPub: string;
|
|
5328
|
+
uaEncPriv: string;
|
|
5329
|
+
};
|
|
4626
5330
|
jwt: string;
|
|
4627
5331
|
uaSession: string;
|
|
4628
|
-
uaPub: string;
|
|
4629
|
-
uaEncPriv: string;
|
|
4630
5332
|
};
|
|
4631
5333
|
}, unknown>;
|
|
4632
5334
|
login: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -4669,14 +5371,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4669
5371
|
_output_in: {
|
|
4670
5372
|
jwt: string;
|
|
4671
5373
|
uaSession: string;
|
|
4672
|
-
|
|
4673
|
-
|
|
5374
|
+
keyPair?: {
|
|
5375
|
+
uaPub: string;
|
|
5376
|
+
uaEncPriv: string;
|
|
5377
|
+
} | undefined;
|
|
4674
5378
|
};
|
|
4675
5379
|
_output_out: {
|
|
4676
5380
|
jwt: string;
|
|
4677
5381
|
uaSession: string;
|
|
4678
|
-
|
|
4679
|
-
|
|
5382
|
+
keyPair?: {
|
|
5383
|
+
uaPub: string;
|
|
5384
|
+
uaEncPriv: string;
|
|
5385
|
+
} | undefined;
|
|
4680
5386
|
};
|
|
4681
5387
|
}, unknown>;
|
|
4682
5388
|
}>;
|