@secrecy/lib 1.75.9 → 1.77.0
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.
|
@@ -1,13 +1,32 @@
|
|
|
1
|
+
import { encryptCryptoBox, generateCryptoBoxKeyPair, sodium, } from '../index.js';
|
|
1
2
|
export class SecrecyGroupClient {
|
|
2
3
|
#client;
|
|
3
4
|
constructor(client) {
|
|
4
5
|
this.#client = client;
|
|
5
6
|
}
|
|
6
7
|
async addMember(input) {
|
|
7
|
-
|
|
8
|
+
const groupIdentity = this.#client.groupIdentities.find((g) => g.groupId === input.id);
|
|
9
|
+
if (!groupIdentity) {
|
|
10
|
+
throw new Error('Group identity not found');
|
|
11
|
+
}
|
|
12
|
+
const opts = {
|
|
13
|
+
pubKey: input.pubKey,
|
|
14
|
+
role: input.role,
|
|
15
|
+
fromPubKey: this.#client.uaIdentity.identityPubKey,
|
|
16
|
+
id: input.id,
|
|
17
|
+
encPriv: sodium.to_hex(encryptCryptoBox(sodium.from_hex(groupIdentity.identityPubKey), input.pubKey, this.#client.uaPrivateKey)),
|
|
18
|
+
};
|
|
19
|
+
return this.#client.apiClient.group.addMember.mutate(opts);
|
|
8
20
|
}
|
|
9
21
|
async create(input) {
|
|
10
|
-
|
|
22
|
+
const keyPair = generateCryptoBoxKeyPair();
|
|
23
|
+
const opts = {
|
|
24
|
+
name: input.name,
|
|
25
|
+
fromPubKey: this.#client.uaIdentity.identityPubKey,
|
|
26
|
+
pubKey: keyPair.publicKey,
|
|
27
|
+
encPriv: sodium.to_hex(encryptCryptoBox(sodium.from_hex(keyPair.privateKey), this.#client.uaIdentity.identityPubKey, this.#client.uaPrivateKey)),
|
|
28
|
+
};
|
|
29
|
+
return this.#client.apiClient.group.create.mutate(opts);
|
|
11
30
|
}
|
|
12
31
|
async deleteMember(input) {
|
|
13
32
|
return this.#client.apiClient.group.deleteMember.mutate(input);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { RouterInputs, RouterOutputs } from '../client.js';
|
|
2
|
-
import type
|
|
2
|
+
import { type SecrecyClient } from '../index.js';
|
|
3
3
|
export declare class SecrecyGroupClient {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(client: SecrecyClient);
|
|
6
|
-
addMember(input: RouterInputs['group']['addMember']): Promise<RouterOutputs['group']['addMember']>;
|
|
7
|
-
create(input: RouterInputs['group']['create']): Promise<RouterOutputs['group']['create']>;
|
|
6
|
+
addMember(input: Pick<RouterInputs['group']['addMember'], 'pubKey' | 'role' | 'id'>): Promise<RouterOutputs['group']['addMember']>;
|
|
7
|
+
create(input: Pick<RouterInputs['group']['create'], 'name'>): Promise<RouterOutputs['group']['create']>;
|
|
8
8
|
deleteMember(input: RouterInputs['group']['deleteMember']): Promise<RouterOutputs['group']['deleteMember']>;
|
|
9
9
|
delete(input: RouterInputs['group']['delete']): Promise<RouterOutputs['group']['delete']>;
|
|
10
10
|
get(input: RouterInputs['group']['get']): Promise<RouterOutputs['group']['get']>;
|
package/dist/types/client.d.ts
CHANGED
|
@@ -803,6 +803,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
803
803
|
addDataToHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
804
804
|
input: {
|
|
805
805
|
fromIdentityPubKey?: string | null | undefined;
|
|
806
|
+
appId?: string | null | undefined;
|
|
806
807
|
dataId: string;
|
|
807
808
|
nodeId: string;
|
|
808
809
|
};
|
|
@@ -1005,9 +1006,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1005
1006
|
deleteData: import("@trpc/server").TRPCMutationProcedure<{
|
|
1006
1007
|
input: {
|
|
1007
1008
|
fromIdentityPubKey?: string | null | undefined;
|
|
1009
|
+
appId?: string | null | undefined;
|
|
1008
1010
|
dataId: string;
|
|
1009
1011
|
nodeId: string;
|
|
1010
|
-
appId?: string | null | undefined;
|
|
1011
1012
|
};
|
|
1012
1013
|
output: {
|
|
1013
1014
|
isDeleted: boolean;
|
|
@@ -1017,6 +1018,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1017
1018
|
dataById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1018
1019
|
input: {
|
|
1019
1020
|
fromIdentityPubKey?: string | null | undefined;
|
|
1021
|
+
appId?: string | null | undefined;
|
|
1020
1022
|
id: string;
|
|
1021
1023
|
};
|
|
1022
1024
|
output: {
|
|
@@ -1046,6 +1048,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1046
1048
|
dataContentById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1047
1049
|
input: {
|
|
1048
1050
|
fromIdentityPubKey?: string | null | undefined;
|
|
1051
|
+
appId?: string | null | undefined;
|
|
1049
1052
|
id: string;
|
|
1050
1053
|
};
|
|
1051
1054
|
output: {
|
|
@@ -1123,6 +1126,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1123
1126
|
dataContentByIds: import("@trpc/server").TRPCQueryProcedure<{
|
|
1124
1127
|
input: {
|
|
1125
1128
|
fromIdentityPubKey?: string | null | undefined;
|
|
1129
|
+
appId?: string | null | undefined;
|
|
1126
1130
|
ids: string[];
|
|
1127
1131
|
};
|
|
1128
1132
|
output: ({
|
|
@@ -1219,6 +1223,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1219
1223
|
saveInCloud: import("@trpc/server").TRPCMutationProcedure<{
|
|
1220
1224
|
input: {
|
|
1221
1225
|
fromIdentityPubKey?: string | null | undefined;
|
|
1226
|
+
appId?: string | null | undefined;
|
|
1222
1227
|
dataId: string;
|
|
1223
1228
|
nodeId: string | null;
|
|
1224
1229
|
key: string | null;
|
|
@@ -1500,6 +1505,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1500
1505
|
shareDataInHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
1501
1506
|
input: {
|
|
1502
1507
|
fromIdentityPubKey?: string | null | undefined;
|
|
1508
|
+
appId?: string | null | undefined;
|
|
1503
1509
|
dataId: string;
|
|
1504
1510
|
nodeId: string;
|
|
1505
1511
|
users: {
|
|
@@ -1572,6 +1578,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1572
1578
|
uploadColdData: import("@trpc/server").TRPCMutationProcedure<{
|
|
1573
1579
|
input: {
|
|
1574
1580
|
fromIdentityPubKey?: string | null | undefined;
|
|
1581
|
+
appId?: string | null | undefined;
|
|
1575
1582
|
size: bigint;
|
|
1576
1583
|
md5: string;
|
|
1577
1584
|
sizeEncrypted: bigint;
|
|
@@ -1582,6 +1589,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1582
1589
|
key?: string | undefined;
|
|
1583
1590
|
} | {
|
|
1584
1591
|
fromIdentityPubKey?: string | null | undefined;
|
|
1592
|
+
appId?: string | null | undefined;
|
|
1585
1593
|
size: bigint;
|
|
1586
1594
|
md5: string;
|
|
1587
1595
|
type: "unencrypted";
|
|
@@ -1753,6 +1761,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1753
1761
|
checkAccesses: import("@trpc/server").TRPCQueryProcedure<{
|
|
1754
1762
|
input: {
|
|
1755
1763
|
fromIdentityPubKey?: string | null | undefined;
|
|
1764
|
+
appId?: string | null | undefined;
|
|
1756
1765
|
accesses: {
|
|
1757
1766
|
pubKey: string;
|
|
1758
1767
|
nodes: ({
|
|
@@ -1813,6 +1822,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1813
1822
|
createFolder: import("@trpc/server").TRPCMutationProcedure<{
|
|
1814
1823
|
input: {
|
|
1815
1824
|
fromIdentityPubKey?: string | null | undefined;
|
|
1825
|
+
appId?: string | null | undefined;
|
|
1816
1826
|
nameKey: string | null;
|
|
1817
1827
|
name: string;
|
|
1818
1828
|
parentId: string | null;
|
|
@@ -2016,6 +2026,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2016
2026
|
deleteNodeCloudTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
2017
2027
|
input: {
|
|
2018
2028
|
fromIdentityPubKey?: string | null | undefined;
|
|
2029
|
+
appId?: string | null | undefined;
|
|
2019
2030
|
ids: string[];
|
|
2020
2031
|
};
|
|
2021
2032
|
output: {
|
|
@@ -2026,6 +2037,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2026
2037
|
deleteNodeSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
2027
2038
|
input: {
|
|
2028
2039
|
fromIdentityPubKey?: string | null | undefined;
|
|
2040
|
+
appId?: string | null | undefined;
|
|
2029
2041
|
nodeId: string;
|
|
2030
2042
|
destPubKey: string;
|
|
2031
2043
|
};
|
|
@@ -2037,9 +2049,9 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2037
2049
|
deleteNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2038
2050
|
input: {
|
|
2039
2051
|
fromIdentityPubKey?: string | null | undefined;
|
|
2052
|
+
appId?: string | null | undefined;
|
|
2040
2053
|
id: string;
|
|
2041
2054
|
force?: boolean | undefined;
|
|
2042
|
-
appId?: string | null | undefined;
|
|
2043
2055
|
};
|
|
2044
2056
|
output: {
|
|
2045
2057
|
isDeleted: boolean;
|
|
@@ -2049,6 +2061,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2049
2061
|
deleteNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
2050
2062
|
input: {
|
|
2051
2063
|
fromIdentityPubKey?: string | null | undefined;
|
|
2064
|
+
appId?: string | null | undefined;
|
|
2052
2065
|
ids: string[];
|
|
2053
2066
|
force?: boolean | undefined;
|
|
2054
2067
|
};
|
|
@@ -2060,6 +2073,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2060
2073
|
duplicateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2061
2074
|
input: {
|
|
2062
2075
|
fromIdentityPubKey?: string | null | undefined;
|
|
2076
|
+
appId?: string | null | undefined;
|
|
2063
2077
|
nodeId: string;
|
|
2064
2078
|
folderId: string | null;
|
|
2065
2079
|
name: string | null;
|
|
@@ -2073,6 +2087,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2073
2087
|
input: {
|
|
2074
2088
|
[x: string]: never;
|
|
2075
2089
|
fromIdentityPubKey?: string | null | undefined;
|
|
2090
|
+
appId?: string | null | undefined;
|
|
2076
2091
|
};
|
|
2077
2092
|
output: {
|
|
2078
2093
|
isCleaned: boolean;
|
|
@@ -2082,6 +2097,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2082
2097
|
moveNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
2083
2098
|
input: {
|
|
2084
2099
|
fromIdentityPubKey?: string | null | undefined;
|
|
2100
|
+
appId?: string | null | undefined;
|
|
2085
2101
|
ids: string[];
|
|
2086
2102
|
parentId: string | null;
|
|
2087
2103
|
};
|
|
@@ -2093,6 +2109,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2093
2109
|
nodeAccessById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2094
2110
|
input: {
|
|
2095
2111
|
fromIdentityPubKey?: string | null | undefined;
|
|
2112
|
+
appId?: string | null | undefined;
|
|
2096
2113
|
id: string;
|
|
2097
2114
|
};
|
|
2098
2115
|
output: {
|
|
@@ -2116,6 +2133,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2116
2133
|
nodeBreadcrumbById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2117
2134
|
input: {
|
|
2118
2135
|
fromIdentityPubKey?: string | null | undefined;
|
|
2136
|
+
appId?: string | null | undefined;
|
|
2119
2137
|
id: string;
|
|
2120
2138
|
};
|
|
2121
2139
|
output: {
|
|
@@ -2130,6 +2148,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2130
2148
|
nodeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2131
2149
|
input: {
|
|
2132
2150
|
fromIdentityPubKey?: string | null | undefined;
|
|
2151
|
+
appId?: string | null | undefined;
|
|
2133
2152
|
id?: string | null | undefined;
|
|
2134
2153
|
deleted?: boolean | null | undefined;
|
|
2135
2154
|
};
|
|
@@ -2187,6 +2206,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2187
2206
|
nodeFullById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2188
2207
|
input: {
|
|
2189
2208
|
fromIdentityPubKey?: string | null | undefined;
|
|
2209
|
+
appId?: string | null | undefined;
|
|
2190
2210
|
id?: string | null | undefined;
|
|
2191
2211
|
deleted?: boolean | null | undefined;
|
|
2192
2212
|
};
|
|
@@ -2389,6 +2409,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2389
2409
|
nodesForEncryption: import("@trpc/server").TRPCQueryProcedure<{
|
|
2390
2410
|
input: {
|
|
2391
2411
|
fromIdentityPubKey?: string | null | undefined;
|
|
2412
|
+
appId?: string | null | undefined;
|
|
2392
2413
|
ids: string[];
|
|
2393
2414
|
};
|
|
2394
2415
|
output: {
|
|
@@ -2414,6 +2435,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2414
2435
|
nodeSizeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2415
2436
|
input: {
|
|
2416
2437
|
fromIdentityPubKey?: string | null | undefined;
|
|
2438
|
+
appId?: string | null | undefined;
|
|
2417
2439
|
id: string;
|
|
2418
2440
|
};
|
|
2419
2441
|
output: {
|
|
@@ -2426,6 +2448,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2426
2448
|
input: {
|
|
2427
2449
|
[x: string]: never;
|
|
2428
2450
|
fromIdentityPubKey?: string | null | undefined;
|
|
2451
|
+
appId?: string | null | undefined;
|
|
2429
2452
|
};
|
|
2430
2453
|
output: ({
|
|
2431
2454
|
id: string;
|
|
@@ -2476,6 +2499,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2476
2499
|
nodesSharedWithMe: import("@trpc/server").TRPCQueryProcedure<{
|
|
2477
2500
|
input: {
|
|
2478
2501
|
fromIdentityPubKey?: string | null | undefined;
|
|
2502
|
+
appId?: string | null | undefined;
|
|
2479
2503
|
type: "FILE" | "FOLDER";
|
|
2480
2504
|
};
|
|
2481
2505
|
output: ({
|
|
@@ -2527,6 +2551,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2527
2551
|
nodesShared: import("@trpc/server").TRPCQueryProcedure<{
|
|
2528
2552
|
input: {
|
|
2529
2553
|
fromIdentityPubKey?: string | null | undefined;
|
|
2554
|
+
appId?: string | null | undefined;
|
|
2530
2555
|
};
|
|
2531
2556
|
output: ({
|
|
2532
2557
|
id: string;
|
|
@@ -2577,6 +2602,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2577
2602
|
recoverNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2578
2603
|
input: {
|
|
2579
2604
|
fromIdentityPubKey?: string | null | undefined;
|
|
2605
|
+
appId?: string | null | undefined;
|
|
2580
2606
|
id: string;
|
|
2581
2607
|
};
|
|
2582
2608
|
output: {
|
|
@@ -2587,6 +2613,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2587
2613
|
shareNodeFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
2588
2614
|
input: {
|
|
2589
2615
|
fromIdentityPubKey?: string | null | undefined;
|
|
2616
|
+
appId?: string | null | undefined;
|
|
2590
2617
|
accesses: {
|
|
2591
2618
|
pubKey: string;
|
|
2592
2619
|
nodes: ({
|
|
@@ -2647,6 +2674,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2647
2674
|
shareNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2648
2675
|
input: {
|
|
2649
2676
|
fromIdentityPubKey?: string | null | undefined;
|
|
2677
|
+
appId?: string | null | undefined;
|
|
2650
2678
|
accesses: ({
|
|
2651
2679
|
nodeId: string;
|
|
2652
2680
|
pubKey: string;
|
|
@@ -2705,6 +2733,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2705
2733
|
updateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2706
2734
|
input: {
|
|
2707
2735
|
fromIdentityPubKey?: string | null | undefined;
|
|
2736
|
+
appId?: string | null | undefined;
|
|
2708
2737
|
id: string;
|
|
2709
2738
|
name: string | null;
|
|
2710
2739
|
isFavorite: boolean | null;
|
|
@@ -2909,6 +2938,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2909
2938
|
leaveSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
2910
2939
|
input: {
|
|
2911
2940
|
fromIdentityPubKey?: string | null | undefined;
|
|
2941
|
+
appId?: string | null | undefined;
|
|
2912
2942
|
nodeId: string;
|
|
2913
2943
|
fromPubKey: string;
|
|
2914
2944
|
};
|
|
@@ -3911,6 +3941,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
3911
3941
|
createDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
3912
3942
|
input: {
|
|
3913
3943
|
fromIdentityPubKey?: string | null | undefined;
|
|
3944
|
+
appId?: string | null | undefined;
|
|
3914
3945
|
body: string;
|
|
3915
3946
|
subject: string;
|
|
3916
3947
|
hash: string;
|
|
@@ -3996,6 +4027,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
3996
4027
|
deleteTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
3997
4028
|
input: {
|
|
3998
4029
|
fromIdentityPubKey?: string | null | undefined;
|
|
4030
|
+
appId?: string | null | undefined;
|
|
3999
4031
|
ids: string[];
|
|
4000
4032
|
};
|
|
4001
4033
|
output: {
|
|
@@ -4006,6 +4038,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4006
4038
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
4007
4039
|
input: {
|
|
4008
4040
|
fromIdentityPubKey?: string | null | undefined;
|
|
4041
|
+
appId?: string | null | undefined;
|
|
4009
4042
|
id: string;
|
|
4010
4043
|
};
|
|
4011
4044
|
output: {
|
|
@@ -4016,6 +4049,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4016
4049
|
deleted: import("@trpc/server").TRPCQueryProcedure<{
|
|
4017
4050
|
input: {
|
|
4018
4051
|
fromIdentityPubKey?: string | null | undefined;
|
|
4052
|
+
appId?: string | null | undefined;
|
|
4019
4053
|
type: "sent" | "received";
|
|
4020
4054
|
};
|
|
4021
4055
|
output: ({
|
|
@@ -4151,6 +4185,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4151
4185
|
input: {
|
|
4152
4186
|
[x: string]: never;
|
|
4153
4187
|
fromIdentityPubKey?: string | null | undefined;
|
|
4188
|
+
appId?: string | null | undefined;
|
|
4154
4189
|
};
|
|
4155
4190
|
output: {
|
|
4156
4191
|
isDeleted: boolean;
|
|
@@ -4160,6 +4195,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4160
4195
|
read: import("@trpc/server").TRPCMutationProcedure<{
|
|
4161
4196
|
input: {
|
|
4162
4197
|
fromIdentityPubKey?: string | null | undefined;
|
|
4198
|
+
appId?: string | null | undefined;
|
|
4163
4199
|
id: string;
|
|
4164
4200
|
};
|
|
4165
4201
|
output: {
|
|
@@ -4170,6 +4206,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4170
4206
|
received: import("@trpc/server").TRPCQueryProcedure<{
|
|
4171
4207
|
input: {
|
|
4172
4208
|
fromIdentityPubKey?: string | null | undefined;
|
|
4209
|
+
appId?: string | null | undefined;
|
|
4173
4210
|
page?: number | undefined;
|
|
4174
4211
|
perPage?: number | undefined;
|
|
4175
4212
|
};
|
|
@@ -4238,6 +4275,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4238
4275
|
recover: import("@trpc/server").TRPCMutationProcedure<{
|
|
4239
4276
|
input: {
|
|
4240
4277
|
fromIdentityPubKey?: string | null | undefined;
|
|
4278
|
+
appId?: string | null | undefined;
|
|
4241
4279
|
id: string;
|
|
4242
4280
|
};
|
|
4243
4281
|
output: {
|
|
@@ -4370,6 +4408,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4370
4408
|
input: {
|
|
4371
4409
|
[x: string]: never;
|
|
4372
4410
|
fromIdentityPubKey?: string | null | undefined;
|
|
4411
|
+
appId?: string | null | undefined;
|
|
4373
4412
|
};
|
|
4374
4413
|
output: number;
|
|
4375
4414
|
meta: any;
|
|
@@ -4377,6 +4416,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4377
4416
|
unread: import("@trpc/server").TRPCMutationProcedure<{
|
|
4378
4417
|
input: {
|
|
4379
4418
|
fromIdentityPubKey?: string | null | undefined;
|
|
4419
|
+
appId?: string | null | undefined;
|
|
4380
4420
|
id: string;
|
|
4381
4421
|
};
|
|
4382
4422
|
output: {
|
|
@@ -4387,6 +4427,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4387
4427
|
updateDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
4388
4428
|
input: {
|
|
4389
4429
|
fromIdentityPubKey?: string | null | undefined;
|
|
4430
|
+
appId?: string | null | undefined;
|
|
4390
4431
|
id: string;
|
|
4391
4432
|
subject: string | null;
|
|
4392
4433
|
body: string | null;
|
|
@@ -5882,6 +5923,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
5882
5923
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
5883
5924
|
input: {
|
|
5884
5925
|
fromIdentityPubKey?: string | null | undefined;
|
|
5926
|
+
appId?: string | null | undefined;
|
|
5885
5927
|
id: string;
|
|
5886
5928
|
encPriv: string;
|
|
5887
5929
|
pubKey: string;
|
|
@@ -5905,6 +5947,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
5905
5947
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
5906
5948
|
input: {
|
|
5907
5949
|
fromIdentityPubKey?: string | null | undefined;
|
|
5950
|
+
appId?: string | null | undefined;
|
|
5908
5951
|
name: string;
|
|
5909
5952
|
encPriv: string;
|
|
5910
5953
|
pubKey: string;
|
|
@@ -5972,6 +6015,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
5972
6015
|
output: {
|
|
5973
6016
|
group: {
|
|
5974
6017
|
id: string;
|
|
6018
|
+
identityPubKey: string;
|
|
5975
6019
|
name: string;
|
|
5976
6020
|
};
|
|
5977
6021
|
};
|
|
@@ -5984,6 +6028,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
5984
6028
|
output: {
|
|
5985
6029
|
groups: {
|
|
5986
6030
|
id: string;
|
|
6031
|
+
identityPubKey: string;
|
|
5987
6032
|
name: string;
|
|
5988
6033
|
}[];
|
|
5989
6034
|
};
|
|
@@ -6849,6 +6894,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
6849
6894
|
addDataToHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
6850
6895
|
input: {
|
|
6851
6896
|
fromIdentityPubKey?: string | null | undefined;
|
|
6897
|
+
appId?: string | null | undefined;
|
|
6852
6898
|
dataId: string;
|
|
6853
6899
|
nodeId: string;
|
|
6854
6900
|
};
|
|
@@ -7051,9 +7097,9 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7051
7097
|
deleteData: import("@trpc/server").TRPCMutationProcedure<{
|
|
7052
7098
|
input: {
|
|
7053
7099
|
fromIdentityPubKey?: string | null | undefined;
|
|
7100
|
+
appId?: string | null | undefined;
|
|
7054
7101
|
dataId: string;
|
|
7055
7102
|
nodeId: string;
|
|
7056
|
-
appId?: string | null | undefined;
|
|
7057
7103
|
};
|
|
7058
7104
|
output: {
|
|
7059
7105
|
isDeleted: boolean;
|
|
@@ -7063,6 +7109,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7063
7109
|
dataById: import("@trpc/server").TRPCQueryProcedure<{
|
|
7064
7110
|
input: {
|
|
7065
7111
|
fromIdentityPubKey?: string | null | undefined;
|
|
7112
|
+
appId?: string | null | undefined;
|
|
7066
7113
|
id: string;
|
|
7067
7114
|
};
|
|
7068
7115
|
output: {
|
|
@@ -7092,6 +7139,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7092
7139
|
dataContentById: import("@trpc/server").TRPCQueryProcedure<{
|
|
7093
7140
|
input: {
|
|
7094
7141
|
fromIdentityPubKey?: string | null | undefined;
|
|
7142
|
+
appId?: string | null | undefined;
|
|
7095
7143
|
id: string;
|
|
7096
7144
|
};
|
|
7097
7145
|
output: {
|
|
@@ -7169,6 +7217,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7169
7217
|
dataContentByIds: import("@trpc/server").TRPCQueryProcedure<{
|
|
7170
7218
|
input: {
|
|
7171
7219
|
fromIdentityPubKey?: string | null | undefined;
|
|
7220
|
+
appId?: string | null | undefined;
|
|
7172
7221
|
ids: string[];
|
|
7173
7222
|
};
|
|
7174
7223
|
output: ({
|
|
@@ -7265,6 +7314,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7265
7314
|
saveInCloud: import("@trpc/server").TRPCMutationProcedure<{
|
|
7266
7315
|
input: {
|
|
7267
7316
|
fromIdentityPubKey?: string | null | undefined;
|
|
7317
|
+
appId?: string | null | undefined;
|
|
7268
7318
|
dataId: string;
|
|
7269
7319
|
nodeId: string | null;
|
|
7270
7320
|
key: string | null;
|
|
@@ -7546,6 +7596,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7546
7596
|
shareDataInHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
7547
7597
|
input: {
|
|
7548
7598
|
fromIdentityPubKey?: string | null | undefined;
|
|
7599
|
+
appId?: string | null | undefined;
|
|
7549
7600
|
dataId: string;
|
|
7550
7601
|
nodeId: string;
|
|
7551
7602
|
users: {
|
|
@@ -7618,6 +7669,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7618
7669
|
uploadColdData: import("@trpc/server").TRPCMutationProcedure<{
|
|
7619
7670
|
input: {
|
|
7620
7671
|
fromIdentityPubKey?: string | null | undefined;
|
|
7672
|
+
appId?: string | null | undefined;
|
|
7621
7673
|
size: bigint;
|
|
7622
7674
|
md5: string;
|
|
7623
7675
|
sizeEncrypted: bigint;
|
|
@@ -7628,6 +7680,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7628
7680
|
key?: string | undefined;
|
|
7629
7681
|
} | {
|
|
7630
7682
|
fromIdentityPubKey?: string | null | undefined;
|
|
7683
|
+
appId?: string | null | undefined;
|
|
7631
7684
|
size: bigint;
|
|
7632
7685
|
md5: string;
|
|
7633
7686
|
type: "unencrypted";
|
|
@@ -7799,6 +7852,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7799
7852
|
checkAccesses: import("@trpc/server").TRPCQueryProcedure<{
|
|
7800
7853
|
input: {
|
|
7801
7854
|
fromIdentityPubKey?: string | null | undefined;
|
|
7855
|
+
appId?: string | null | undefined;
|
|
7802
7856
|
accesses: {
|
|
7803
7857
|
pubKey: string;
|
|
7804
7858
|
nodes: ({
|
|
@@ -7859,6 +7913,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7859
7913
|
createFolder: import("@trpc/server").TRPCMutationProcedure<{
|
|
7860
7914
|
input: {
|
|
7861
7915
|
fromIdentityPubKey?: string | null | undefined;
|
|
7916
|
+
appId?: string | null | undefined;
|
|
7862
7917
|
nameKey: string | null;
|
|
7863
7918
|
name: string;
|
|
7864
7919
|
parentId: string | null;
|
|
@@ -8062,6 +8117,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8062
8117
|
deleteNodeCloudTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
8063
8118
|
input: {
|
|
8064
8119
|
fromIdentityPubKey?: string | null | undefined;
|
|
8120
|
+
appId?: string | null | undefined;
|
|
8065
8121
|
ids: string[];
|
|
8066
8122
|
};
|
|
8067
8123
|
output: {
|
|
@@ -8072,6 +8128,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8072
8128
|
deleteNodeSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
8073
8129
|
input: {
|
|
8074
8130
|
fromIdentityPubKey?: string | null | undefined;
|
|
8131
|
+
appId?: string | null | undefined;
|
|
8075
8132
|
nodeId: string;
|
|
8076
8133
|
destPubKey: string;
|
|
8077
8134
|
};
|
|
@@ -8083,9 +8140,9 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8083
8140
|
deleteNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8084
8141
|
input: {
|
|
8085
8142
|
fromIdentityPubKey?: string | null | undefined;
|
|
8143
|
+
appId?: string | null | undefined;
|
|
8086
8144
|
id: string;
|
|
8087
8145
|
force?: boolean | undefined;
|
|
8088
|
-
appId?: string | null | undefined;
|
|
8089
8146
|
};
|
|
8090
8147
|
output: {
|
|
8091
8148
|
isDeleted: boolean;
|
|
@@ -8095,6 +8152,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8095
8152
|
deleteNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
8096
8153
|
input: {
|
|
8097
8154
|
fromIdentityPubKey?: string | null | undefined;
|
|
8155
|
+
appId?: string | null | undefined;
|
|
8098
8156
|
ids: string[];
|
|
8099
8157
|
force?: boolean | undefined;
|
|
8100
8158
|
};
|
|
@@ -8106,6 +8164,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8106
8164
|
duplicateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8107
8165
|
input: {
|
|
8108
8166
|
fromIdentityPubKey?: string | null | undefined;
|
|
8167
|
+
appId?: string | null | undefined;
|
|
8109
8168
|
nodeId: string;
|
|
8110
8169
|
folderId: string | null;
|
|
8111
8170
|
name: string | null;
|
|
@@ -8119,6 +8178,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8119
8178
|
input: {
|
|
8120
8179
|
[x: string]: never;
|
|
8121
8180
|
fromIdentityPubKey?: string | null | undefined;
|
|
8181
|
+
appId?: string | null | undefined;
|
|
8122
8182
|
};
|
|
8123
8183
|
output: {
|
|
8124
8184
|
isCleaned: boolean;
|
|
@@ -8128,6 +8188,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8128
8188
|
moveNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
8129
8189
|
input: {
|
|
8130
8190
|
fromIdentityPubKey?: string | null | undefined;
|
|
8191
|
+
appId?: string | null | undefined;
|
|
8131
8192
|
ids: string[];
|
|
8132
8193
|
parentId: string | null;
|
|
8133
8194
|
};
|
|
@@ -8139,6 +8200,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8139
8200
|
nodeAccessById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8140
8201
|
input: {
|
|
8141
8202
|
fromIdentityPubKey?: string | null | undefined;
|
|
8203
|
+
appId?: string | null | undefined;
|
|
8142
8204
|
id: string;
|
|
8143
8205
|
};
|
|
8144
8206
|
output: {
|
|
@@ -8162,6 +8224,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8162
8224
|
nodeBreadcrumbById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8163
8225
|
input: {
|
|
8164
8226
|
fromIdentityPubKey?: string | null | undefined;
|
|
8227
|
+
appId?: string | null | undefined;
|
|
8165
8228
|
id: string;
|
|
8166
8229
|
};
|
|
8167
8230
|
output: {
|
|
@@ -8176,6 +8239,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8176
8239
|
nodeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8177
8240
|
input: {
|
|
8178
8241
|
fromIdentityPubKey?: string | null | undefined;
|
|
8242
|
+
appId?: string | null | undefined;
|
|
8179
8243
|
id?: string | null | undefined;
|
|
8180
8244
|
deleted?: boolean | null | undefined;
|
|
8181
8245
|
};
|
|
@@ -8233,6 +8297,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8233
8297
|
nodeFullById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8234
8298
|
input: {
|
|
8235
8299
|
fromIdentityPubKey?: string | null | undefined;
|
|
8300
|
+
appId?: string | null | undefined;
|
|
8236
8301
|
id?: string | null | undefined;
|
|
8237
8302
|
deleted?: boolean | null | undefined;
|
|
8238
8303
|
};
|
|
@@ -8435,6 +8500,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8435
8500
|
nodesForEncryption: import("@trpc/server").TRPCQueryProcedure<{
|
|
8436
8501
|
input: {
|
|
8437
8502
|
fromIdentityPubKey?: string | null | undefined;
|
|
8503
|
+
appId?: string | null | undefined;
|
|
8438
8504
|
ids: string[];
|
|
8439
8505
|
};
|
|
8440
8506
|
output: {
|
|
@@ -8460,6 +8526,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8460
8526
|
nodeSizeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8461
8527
|
input: {
|
|
8462
8528
|
fromIdentityPubKey?: string | null | undefined;
|
|
8529
|
+
appId?: string | null | undefined;
|
|
8463
8530
|
id: string;
|
|
8464
8531
|
};
|
|
8465
8532
|
output: {
|
|
@@ -8472,6 +8539,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8472
8539
|
input: {
|
|
8473
8540
|
[x: string]: never;
|
|
8474
8541
|
fromIdentityPubKey?: string | null | undefined;
|
|
8542
|
+
appId?: string | null | undefined;
|
|
8475
8543
|
};
|
|
8476
8544
|
output: ({
|
|
8477
8545
|
id: string;
|
|
@@ -8522,6 +8590,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8522
8590
|
nodesSharedWithMe: import("@trpc/server").TRPCQueryProcedure<{
|
|
8523
8591
|
input: {
|
|
8524
8592
|
fromIdentityPubKey?: string | null | undefined;
|
|
8593
|
+
appId?: string | null | undefined;
|
|
8525
8594
|
type: "FILE" | "FOLDER";
|
|
8526
8595
|
};
|
|
8527
8596
|
output: ({
|
|
@@ -8573,6 +8642,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8573
8642
|
nodesShared: import("@trpc/server").TRPCQueryProcedure<{
|
|
8574
8643
|
input: {
|
|
8575
8644
|
fromIdentityPubKey?: string | null | undefined;
|
|
8645
|
+
appId?: string | null | undefined;
|
|
8576
8646
|
};
|
|
8577
8647
|
output: ({
|
|
8578
8648
|
id: string;
|
|
@@ -8623,6 +8693,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8623
8693
|
recoverNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8624
8694
|
input: {
|
|
8625
8695
|
fromIdentityPubKey?: string | null | undefined;
|
|
8696
|
+
appId?: string | null | undefined;
|
|
8626
8697
|
id: string;
|
|
8627
8698
|
};
|
|
8628
8699
|
output: {
|
|
@@ -8633,6 +8704,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8633
8704
|
shareNodeFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
8634
8705
|
input: {
|
|
8635
8706
|
fromIdentityPubKey?: string | null | undefined;
|
|
8707
|
+
appId?: string | null | undefined;
|
|
8636
8708
|
accesses: {
|
|
8637
8709
|
pubKey: string;
|
|
8638
8710
|
nodes: ({
|
|
@@ -8693,6 +8765,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8693
8765
|
shareNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8694
8766
|
input: {
|
|
8695
8767
|
fromIdentityPubKey?: string | null | undefined;
|
|
8768
|
+
appId?: string | null | undefined;
|
|
8696
8769
|
accesses: ({
|
|
8697
8770
|
nodeId: string;
|
|
8698
8771
|
pubKey: string;
|
|
@@ -8751,6 +8824,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8751
8824
|
updateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8752
8825
|
input: {
|
|
8753
8826
|
fromIdentityPubKey?: string | null | undefined;
|
|
8827
|
+
appId?: string | null | undefined;
|
|
8754
8828
|
id: string;
|
|
8755
8829
|
name: string | null;
|
|
8756
8830
|
isFavorite: boolean | null;
|
|
@@ -8955,6 +9029,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8955
9029
|
leaveSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
8956
9030
|
input: {
|
|
8957
9031
|
fromIdentityPubKey?: string | null | undefined;
|
|
9032
|
+
appId?: string | null | undefined;
|
|
8958
9033
|
nodeId: string;
|
|
8959
9034
|
fromPubKey: string;
|
|
8960
9035
|
};
|
|
@@ -9957,6 +10032,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
9957
10032
|
createDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
9958
10033
|
input: {
|
|
9959
10034
|
fromIdentityPubKey?: string | null | undefined;
|
|
10035
|
+
appId?: string | null | undefined;
|
|
9960
10036
|
body: string;
|
|
9961
10037
|
subject: string;
|
|
9962
10038
|
hash: string;
|
|
@@ -10042,6 +10118,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10042
10118
|
deleteTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
10043
10119
|
input: {
|
|
10044
10120
|
fromIdentityPubKey?: string | null | undefined;
|
|
10121
|
+
appId?: string | null | undefined;
|
|
10045
10122
|
ids: string[];
|
|
10046
10123
|
};
|
|
10047
10124
|
output: {
|
|
@@ -10052,6 +10129,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10052
10129
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
10053
10130
|
input: {
|
|
10054
10131
|
fromIdentityPubKey?: string | null | undefined;
|
|
10132
|
+
appId?: string | null | undefined;
|
|
10055
10133
|
id: string;
|
|
10056
10134
|
};
|
|
10057
10135
|
output: {
|
|
@@ -10062,6 +10140,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10062
10140
|
deleted: import("@trpc/server").TRPCQueryProcedure<{
|
|
10063
10141
|
input: {
|
|
10064
10142
|
fromIdentityPubKey?: string | null | undefined;
|
|
10143
|
+
appId?: string | null | undefined;
|
|
10065
10144
|
type: "sent" | "received";
|
|
10066
10145
|
};
|
|
10067
10146
|
output: ({
|
|
@@ -10197,6 +10276,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10197
10276
|
input: {
|
|
10198
10277
|
[x: string]: never;
|
|
10199
10278
|
fromIdentityPubKey?: string | null | undefined;
|
|
10279
|
+
appId?: string | null | undefined;
|
|
10200
10280
|
};
|
|
10201
10281
|
output: {
|
|
10202
10282
|
isDeleted: boolean;
|
|
@@ -10206,6 +10286,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10206
10286
|
read: import("@trpc/server").TRPCMutationProcedure<{
|
|
10207
10287
|
input: {
|
|
10208
10288
|
fromIdentityPubKey?: string | null | undefined;
|
|
10289
|
+
appId?: string | null | undefined;
|
|
10209
10290
|
id: string;
|
|
10210
10291
|
};
|
|
10211
10292
|
output: {
|
|
@@ -10216,6 +10297,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10216
10297
|
received: import("@trpc/server").TRPCQueryProcedure<{
|
|
10217
10298
|
input: {
|
|
10218
10299
|
fromIdentityPubKey?: string | null | undefined;
|
|
10300
|
+
appId?: string | null | undefined;
|
|
10219
10301
|
page?: number | undefined;
|
|
10220
10302
|
perPage?: number | undefined;
|
|
10221
10303
|
};
|
|
@@ -10284,6 +10366,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10284
10366
|
recover: import("@trpc/server").TRPCMutationProcedure<{
|
|
10285
10367
|
input: {
|
|
10286
10368
|
fromIdentityPubKey?: string | null | undefined;
|
|
10369
|
+
appId?: string | null | undefined;
|
|
10287
10370
|
id: string;
|
|
10288
10371
|
};
|
|
10289
10372
|
output: {
|
|
@@ -10416,6 +10499,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10416
10499
|
input: {
|
|
10417
10500
|
[x: string]: never;
|
|
10418
10501
|
fromIdentityPubKey?: string | null | undefined;
|
|
10502
|
+
appId?: string | null | undefined;
|
|
10419
10503
|
};
|
|
10420
10504
|
output: number;
|
|
10421
10505
|
meta: any;
|
|
@@ -10423,6 +10507,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10423
10507
|
unread: import("@trpc/server").TRPCMutationProcedure<{
|
|
10424
10508
|
input: {
|
|
10425
10509
|
fromIdentityPubKey?: string | null | undefined;
|
|
10510
|
+
appId?: string | null | undefined;
|
|
10426
10511
|
id: string;
|
|
10427
10512
|
};
|
|
10428
10513
|
output: {
|
|
@@ -10433,6 +10518,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10433
10518
|
updateDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
10434
10519
|
input: {
|
|
10435
10520
|
fromIdentityPubKey?: string | null | undefined;
|
|
10521
|
+
appId?: string | null | undefined;
|
|
10436
10522
|
id: string;
|
|
10437
10523
|
subject: string | null;
|
|
10438
10524
|
body: string | null;
|
|
@@ -11928,6 +12014,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
11928
12014
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
11929
12015
|
input: {
|
|
11930
12016
|
fromIdentityPubKey?: string | null | undefined;
|
|
12017
|
+
appId?: string | null | undefined;
|
|
11931
12018
|
id: string;
|
|
11932
12019
|
encPriv: string;
|
|
11933
12020
|
pubKey: string;
|
|
@@ -11951,6 +12038,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
11951
12038
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
11952
12039
|
input: {
|
|
11953
12040
|
fromIdentityPubKey?: string | null | undefined;
|
|
12041
|
+
appId?: string | null | undefined;
|
|
11954
12042
|
name: string;
|
|
11955
12043
|
encPriv: string;
|
|
11956
12044
|
pubKey: string;
|
|
@@ -12018,6 +12106,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
12018
12106
|
output: {
|
|
12019
12107
|
group: {
|
|
12020
12108
|
id: string;
|
|
12109
|
+
identityPubKey: string;
|
|
12021
12110
|
name: string;
|
|
12022
12111
|
};
|
|
12023
12112
|
};
|
|
@@ -12030,6 +12119,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
12030
12119
|
output: {
|
|
12031
12120
|
groups: {
|
|
12032
12121
|
id: string;
|
|
12122
|
+
identityPubKey: string;
|
|
12033
12123
|
name: string;
|
|
12034
12124
|
}[];
|
|
12035
12125
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@secrecy/lib",
|
|
3
3
|
"author": "Anonymize <anonymize@gmail.com>",
|
|
4
4
|
"description": "Anonymize Secrecy Library",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.77.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@js-temporal/polyfill": "^0.5.1",
|
|
79
|
-
"@secrecy/trpc-api-types": "1.33.
|
|
79
|
+
"@secrecy/trpc-api-types": "1.33.1",
|
|
80
80
|
"@trpc/client": "11.6.0",
|
|
81
81
|
"@trpc/server": "^11.6.0",
|
|
82
82
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|