@secrecy/lib 1.75.0-feat-groups-identity.7 → 1.75.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.
|
@@ -78,6 +78,13 @@ export class SecrecyCloudClient {
|
|
|
78
78
|
});
|
|
79
79
|
return isDeleted;
|
|
80
80
|
}
|
|
81
|
+
async leaveNodeSharing({ nodeId, fromPubKey, }) {
|
|
82
|
+
const { isDeleted } = await this.#client.apiClient.cloud.leaveSharing.mutate({
|
|
83
|
+
nodeId,
|
|
84
|
+
fromPubKey,
|
|
85
|
+
});
|
|
86
|
+
return isDeleted;
|
|
87
|
+
}
|
|
81
88
|
async duplicateNode({ nodeId, folderId, name, }) {
|
|
82
89
|
let node = nodesCache.get(nodeId);
|
|
83
90
|
if (node === undefined) {
|
|
@@ -614,6 +621,7 @@ export class SecrecyCloudClient {
|
|
|
614
621
|
const decompressed = decompress(src);
|
|
615
622
|
dataContentCache.set(dataContent.id, {
|
|
616
623
|
id: dataContent.id,
|
|
624
|
+
md5: dataContent.md5,
|
|
617
625
|
size: dataContent.size,
|
|
618
626
|
sizeEncrypted: dataContent.sizeEncrypted,
|
|
619
627
|
storageType: dataContent.storageType,
|
|
@@ -623,6 +631,7 @@ export class SecrecyCloudClient {
|
|
|
623
631
|
});
|
|
624
632
|
return {
|
|
625
633
|
id: dataContent.id,
|
|
634
|
+
md5: dataContent.md5,
|
|
626
635
|
size: dataContent.size,
|
|
627
636
|
sizeEncrypted: dataContent.sizeEncrypted,
|
|
628
637
|
storageType: dataContent.storageType,
|
|
@@ -123,6 +123,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
123
123
|
const localData = {
|
|
124
124
|
id: uploadData.id,
|
|
125
125
|
storageType: 'lite',
|
|
126
|
+
md5: uploadDataArgs.md5,
|
|
126
127
|
size: uploadDataArgs.size,
|
|
127
128
|
sizeEncrypted: uploadDataArgs.type === 'encrypted'
|
|
128
129
|
? uploadDataArgs.sizeEncrypted
|
|
@@ -169,6 +170,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
169
170
|
const localData = {
|
|
170
171
|
id: uploadData.id,
|
|
171
172
|
storageType: storageType,
|
|
173
|
+
md5: uploadDataArgs.md5,
|
|
172
174
|
size: uploadDataArgs.size,
|
|
173
175
|
sizeEncrypted: uploadDataArgs.type === 'encrypted'
|
|
174
176
|
? uploadDataArgs.sizeEncrypted
|
|
@@ -231,6 +233,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
231
233
|
const localData = {
|
|
232
234
|
id: uploadData.id,
|
|
233
235
|
storageType: storageType,
|
|
236
|
+
md5: uploadDataArgs.md5,
|
|
234
237
|
size: uploadDataArgs.size,
|
|
235
238
|
sizeEncrypted: uploadDataArgs.type === 'encrypted'
|
|
236
239
|
? uploadDataArgs.sizeEncrypted
|
|
@@ -32,6 +32,10 @@ export declare class SecrecyCloudClient {
|
|
|
32
32
|
nodeId: string;
|
|
33
33
|
destPubKey: string;
|
|
34
34
|
}): Promise<boolean>;
|
|
35
|
+
leaveNodeSharing({ nodeId, fromPubKey, }: {
|
|
36
|
+
nodeId: string;
|
|
37
|
+
fromPubKey: string;
|
|
38
|
+
}): Promise<boolean>;
|
|
35
39
|
duplicateNode({ nodeId, folderId, name, }: {
|
|
36
40
|
nodeId: string;
|
|
37
41
|
folderId?: string | null | undefined;
|
package/dist/types/client.d.ts
CHANGED
|
@@ -802,7 +802,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
802
802
|
cloud: import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
803
803
|
addDataToHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
804
804
|
input: {
|
|
805
|
-
|
|
805
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
806
806
|
dataId: string;
|
|
807
807
|
nodeId: string;
|
|
808
808
|
};
|
|
@@ -1004,7 +1004,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1004
1004
|
}>;
|
|
1005
1005
|
deleteData: import("@trpc/server").TRPCMutationProcedure<{
|
|
1006
1006
|
input: {
|
|
1007
|
-
|
|
1007
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1008
1008
|
dataId: string;
|
|
1009
1009
|
nodeId: string;
|
|
1010
1010
|
appId?: string | null | undefined;
|
|
@@ -1016,6 +1016,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1016
1016
|
}>;
|
|
1017
1017
|
dataById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1018
1018
|
input: {
|
|
1019
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1019
1020
|
id: string;
|
|
1020
1021
|
};
|
|
1021
1022
|
output: {
|
|
@@ -1044,7 +1045,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1044
1045
|
}>;
|
|
1045
1046
|
dataContentById: import("@trpc/server").TRPCQueryProcedure<{
|
|
1046
1047
|
input: {
|
|
1047
|
-
|
|
1048
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1048
1049
|
id: string;
|
|
1049
1050
|
};
|
|
1050
1051
|
output: {
|
|
@@ -1121,7 +1122,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1121
1122
|
}>;
|
|
1122
1123
|
dataContentByIds: import("@trpc/server").TRPCQueryProcedure<{
|
|
1123
1124
|
input: {
|
|
1124
|
-
|
|
1125
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1125
1126
|
ids: string[];
|
|
1126
1127
|
};
|
|
1127
1128
|
output: ({
|
|
@@ -1217,7 +1218,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1217
1218
|
}>;
|
|
1218
1219
|
saveInCloud: import("@trpc/server").TRPCMutationProcedure<{
|
|
1219
1220
|
input: {
|
|
1220
|
-
|
|
1221
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1221
1222
|
dataId: string;
|
|
1222
1223
|
nodeId: string | null;
|
|
1223
1224
|
key: string | null;
|
|
@@ -1498,7 +1499,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1498
1499
|
}>;
|
|
1499
1500
|
shareDataInHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
1500
1501
|
input: {
|
|
1501
|
-
|
|
1502
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1502
1503
|
dataId: string;
|
|
1503
1504
|
nodeId: string;
|
|
1504
1505
|
users: {
|
|
@@ -1570,7 +1571,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1570
1571
|
}>;
|
|
1571
1572
|
uploadColdData: import("@trpc/server").TRPCMutationProcedure<{
|
|
1572
1573
|
input: {
|
|
1573
|
-
|
|
1574
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1574
1575
|
size: bigint;
|
|
1575
1576
|
md5: string;
|
|
1576
1577
|
sizeEncrypted: bigint;
|
|
@@ -1580,7 +1581,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1580
1581
|
ext?: string | undefined;
|
|
1581
1582
|
key?: string | undefined;
|
|
1582
1583
|
} | {
|
|
1583
|
-
|
|
1584
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1584
1585
|
size: bigint;
|
|
1585
1586
|
md5: string;
|
|
1586
1587
|
type: "unencrypted";
|
|
@@ -1751,7 +1752,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1751
1752
|
}>;
|
|
1752
1753
|
checkAccesses: import("@trpc/server").TRPCQueryProcedure<{
|
|
1753
1754
|
input: {
|
|
1754
|
-
|
|
1755
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1755
1756
|
accesses: {
|
|
1756
1757
|
pubKey: string;
|
|
1757
1758
|
nodes: ({
|
|
@@ -1811,7 +1812,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
1811
1812
|
}>;
|
|
1812
1813
|
createFolder: import("@trpc/server").TRPCMutationProcedure<{
|
|
1813
1814
|
input: {
|
|
1814
|
-
|
|
1815
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
1815
1816
|
nameKey: string | null;
|
|
1816
1817
|
name: string;
|
|
1817
1818
|
parentId: string | null;
|
|
@@ -2014,7 +2015,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2014
2015
|
}>;
|
|
2015
2016
|
deleteNodeCloudTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
2016
2017
|
input: {
|
|
2017
|
-
|
|
2018
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2018
2019
|
ids: string[];
|
|
2019
2020
|
};
|
|
2020
2021
|
output: {
|
|
@@ -2024,7 +2025,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2024
2025
|
}>;
|
|
2025
2026
|
deleteNodeSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
2026
2027
|
input: {
|
|
2027
|
-
|
|
2028
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2028
2029
|
nodeId: string;
|
|
2029
2030
|
destPubKey: string;
|
|
2030
2031
|
};
|
|
@@ -2035,7 +2036,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2035
2036
|
}>;
|
|
2036
2037
|
deleteNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2037
2038
|
input: {
|
|
2038
|
-
|
|
2039
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2039
2040
|
id: string;
|
|
2040
2041
|
force?: boolean | undefined;
|
|
2041
2042
|
appId?: string | null | undefined;
|
|
@@ -2047,7 +2048,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2047
2048
|
}>;
|
|
2048
2049
|
deleteNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
2049
2050
|
input: {
|
|
2050
|
-
|
|
2051
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2051
2052
|
ids: string[];
|
|
2052
2053
|
force?: boolean | undefined;
|
|
2053
2054
|
};
|
|
@@ -2058,7 +2059,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2058
2059
|
}>;
|
|
2059
2060
|
duplicateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2060
2061
|
input: {
|
|
2061
|
-
|
|
2062
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2062
2063
|
nodeId: string;
|
|
2063
2064
|
folderId: string | null;
|
|
2064
2065
|
name: string | null;
|
|
@@ -2071,7 +2072,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2071
2072
|
emptyNodeCloudTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
2072
2073
|
input: {
|
|
2073
2074
|
[x: string]: never;
|
|
2074
|
-
|
|
2075
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2075
2076
|
};
|
|
2076
2077
|
output: {
|
|
2077
2078
|
isCleaned: boolean;
|
|
@@ -2080,7 +2081,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2080
2081
|
}>;
|
|
2081
2082
|
moveNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
2082
2083
|
input: {
|
|
2083
|
-
|
|
2084
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2084
2085
|
ids: string[];
|
|
2085
2086
|
parentId: string | null;
|
|
2086
2087
|
};
|
|
@@ -2091,7 +2092,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2091
2092
|
}>;
|
|
2092
2093
|
nodeAccessById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2093
2094
|
input: {
|
|
2094
|
-
|
|
2095
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2095
2096
|
id: string;
|
|
2096
2097
|
};
|
|
2097
2098
|
output: {
|
|
@@ -2114,7 +2115,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2114
2115
|
}>;
|
|
2115
2116
|
nodeBreadcrumbById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2116
2117
|
input: {
|
|
2117
|
-
|
|
2118
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2118
2119
|
id: string;
|
|
2119
2120
|
};
|
|
2120
2121
|
output: {
|
|
@@ -2128,7 +2129,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2128
2129
|
}>;
|
|
2129
2130
|
nodeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2130
2131
|
input: {
|
|
2131
|
-
|
|
2132
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2132
2133
|
id?: string | null | undefined;
|
|
2133
2134
|
deleted?: boolean | null | undefined;
|
|
2134
2135
|
};
|
|
@@ -2185,7 +2186,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2185
2186
|
}>;
|
|
2186
2187
|
nodeFullById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2187
2188
|
input: {
|
|
2188
|
-
|
|
2189
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2189
2190
|
id?: string | null | undefined;
|
|
2190
2191
|
deleted?: boolean | null | undefined;
|
|
2191
2192
|
};
|
|
@@ -2387,7 +2388,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2387
2388
|
}>;
|
|
2388
2389
|
nodesForEncryption: import("@trpc/server").TRPCQueryProcedure<{
|
|
2389
2390
|
input: {
|
|
2390
|
-
|
|
2391
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2391
2392
|
ids: string[];
|
|
2392
2393
|
};
|
|
2393
2394
|
output: {
|
|
@@ -2412,7 +2413,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2412
2413
|
}>;
|
|
2413
2414
|
nodeSizeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
2414
2415
|
input: {
|
|
2415
|
-
|
|
2416
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2416
2417
|
id: string;
|
|
2417
2418
|
};
|
|
2418
2419
|
output: {
|
|
@@ -2424,7 +2425,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2424
2425
|
nodesDeleted: import("@trpc/server").TRPCQueryProcedure<{
|
|
2425
2426
|
input: {
|
|
2426
2427
|
[x: string]: never;
|
|
2427
|
-
|
|
2428
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2428
2429
|
};
|
|
2429
2430
|
output: ({
|
|
2430
2431
|
id: string;
|
|
@@ -2474,7 +2475,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2474
2475
|
}>;
|
|
2475
2476
|
nodesSharedWithMe: import("@trpc/server").TRPCQueryProcedure<{
|
|
2476
2477
|
input: {
|
|
2477
|
-
|
|
2478
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2478
2479
|
type: "FILE" | "FOLDER";
|
|
2479
2480
|
};
|
|
2480
2481
|
output: ({
|
|
@@ -2525,7 +2526,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2525
2526
|
}>;
|
|
2526
2527
|
nodesShared: import("@trpc/server").TRPCQueryProcedure<{
|
|
2527
2528
|
input: {
|
|
2528
|
-
|
|
2529
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2529
2530
|
};
|
|
2530
2531
|
output: ({
|
|
2531
2532
|
id: string;
|
|
@@ -2575,7 +2576,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2575
2576
|
}>;
|
|
2576
2577
|
recoverNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2577
2578
|
input: {
|
|
2578
|
-
|
|
2579
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2579
2580
|
id: string;
|
|
2580
2581
|
};
|
|
2581
2582
|
output: {
|
|
@@ -2585,7 +2586,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2585
2586
|
}>;
|
|
2586
2587
|
shareNodeFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
2587
2588
|
input: {
|
|
2588
|
-
|
|
2589
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2589
2590
|
accesses: {
|
|
2590
2591
|
pubKey: string;
|
|
2591
2592
|
nodes: ({
|
|
@@ -2645,7 +2646,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2645
2646
|
}>;
|
|
2646
2647
|
shareNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2647
2648
|
input: {
|
|
2648
|
-
|
|
2649
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2649
2650
|
accesses: ({
|
|
2650
2651
|
nodeId: string;
|
|
2651
2652
|
pubKey: string;
|
|
@@ -2703,7 +2704,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2703
2704
|
}>;
|
|
2704
2705
|
updateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
2705
2706
|
input: {
|
|
2706
|
-
|
|
2707
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2707
2708
|
id: string;
|
|
2708
2709
|
name: string | null;
|
|
2709
2710
|
isFavorite: boolean | null;
|
|
@@ -2905,6 +2906,17 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
2905
2906
|
};
|
|
2906
2907
|
meta: any;
|
|
2907
2908
|
}>;
|
|
2909
|
+
leaveSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
2910
|
+
input: {
|
|
2911
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
2912
|
+
nodeId: string;
|
|
2913
|
+
fromPubKey: string;
|
|
2914
|
+
};
|
|
2915
|
+
output: {
|
|
2916
|
+
isDeleted: boolean;
|
|
2917
|
+
};
|
|
2918
|
+
meta: any;
|
|
2919
|
+
}>;
|
|
2908
2920
|
}>;
|
|
2909
2921
|
contacts: import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
2910
2922
|
getContacts: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -3898,7 +3910,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
3898
3910
|
}>;
|
|
3899
3911
|
createDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
3900
3912
|
input: {
|
|
3901
|
-
|
|
3913
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
3902
3914
|
body: string;
|
|
3903
3915
|
subject: string;
|
|
3904
3916
|
hash: string;
|
|
@@ -3983,7 +3995,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
3983
3995
|
}>;
|
|
3984
3996
|
deleteTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
3985
3997
|
input: {
|
|
3986
|
-
|
|
3998
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
3987
3999
|
ids: string[];
|
|
3988
4000
|
};
|
|
3989
4001
|
output: {
|
|
@@ -3993,7 +4005,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
3993
4005
|
}>;
|
|
3994
4006
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
3995
4007
|
input: {
|
|
3996
|
-
|
|
4008
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
3997
4009
|
id: string;
|
|
3998
4010
|
};
|
|
3999
4011
|
output: {
|
|
@@ -4003,7 +4015,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4003
4015
|
}>;
|
|
4004
4016
|
deleted: import("@trpc/server").TRPCQueryProcedure<{
|
|
4005
4017
|
input: {
|
|
4006
|
-
|
|
4018
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4007
4019
|
type: "sent" | "received";
|
|
4008
4020
|
};
|
|
4009
4021
|
output: ({
|
|
@@ -4138,7 +4150,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4138
4150
|
emptyTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
4139
4151
|
input: {
|
|
4140
4152
|
[x: string]: never;
|
|
4141
|
-
|
|
4153
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4142
4154
|
};
|
|
4143
4155
|
output: {
|
|
4144
4156
|
isDeleted: boolean;
|
|
@@ -4147,7 +4159,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4147
4159
|
}>;
|
|
4148
4160
|
read: import("@trpc/server").TRPCMutationProcedure<{
|
|
4149
4161
|
input: {
|
|
4150
|
-
|
|
4162
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4151
4163
|
id: string;
|
|
4152
4164
|
};
|
|
4153
4165
|
output: {
|
|
@@ -4157,7 +4169,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4157
4169
|
}>;
|
|
4158
4170
|
received: import("@trpc/server").TRPCQueryProcedure<{
|
|
4159
4171
|
input: {
|
|
4160
|
-
|
|
4172
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4161
4173
|
page?: number | undefined;
|
|
4162
4174
|
perPage?: number | undefined;
|
|
4163
4175
|
};
|
|
@@ -4225,7 +4237,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4225
4237
|
}>;
|
|
4226
4238
|
recover: import("@trpc/server").TRPCMutationProcedure<{
|
|
4227
4239
|
input: {
|
|
4228
|
-
|
|
4240
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4229
4241
|
id: string;
|
|
4230
4242
|
};
|
|
4231
4243
|
output: {
|
|
@@ -4357,14 +4369,14 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4357
4369
|
unreadReceivedCount: import("@trpc/server").TRPCQueryProcedure<{
|
|
4358
4370
|
input: {
|
|
4359
4371
|
[x: string]: never;
|
|
4360
|
-
|
|
4372
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4361
4373
|
};
|
|
4362
4374
|
output: number;
|
|
4363
4375
|
meta: any;
|
|
4364
4376
|
}>;
|
|
4365
4377
|
unread: import("@trpc/server").TRPCMutationProcedure<{
|
|
4366
4378
|
input: {
|
|
4367
|
-
|
|
4379
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4368
4380
|
id: string;
|
|
4369
4381
|
};
|
|
4370
4382
|
output: {
|
|
@@ -4374,7 +4386,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
4374
4386
|
}>;
|
|
4375
4387
|
updateDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
4376
4388
|
input: {
|
|
4377
|
-
|
|
4389
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
4378
4390
|
id: string;
|
|
4379
4391
|
subject: string | null;
|
|
4380
4392
|
body: string | null;
|
|
@@ -5869,10 +5881,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
5869
5881
|
group: import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5870
5882
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
5871
5883
|
input: {
|
|
5872
|
-
|
|
5884
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
5873
5885
|
id: string;
|
|
5874
5886
|
encPriv: string;
|
|
5875
5887
|
pubKey: string;
|
|
5888
|
+
fromPubKey: string;
|
|
5876
5889
|
role?: "ADMIN" | "MEMBER" | undefined;
|
|
5877
5890
|
};
|
|
5878
5891
|
output: {
|
|
@@ -5891,10 +5904,11 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => import
|
|
|
5891
5904
|
}>;
|
|
5892
5905
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
5893
5906
|
input: {
|
|
5894
|
-
|
|
5907
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
5895
5908
|
name: string;
|
|
5896
5909
|
encPriv: string;
|
|
5897
5910
|
pubKey: string;
|
|
5911
|
+
fromPubKey: string;
|
|
5898
5912
|
};
|
|
5899
5913
|
output: {
|
|
5900
5914
|
group: {
|
|
@@ -6834,7 +6848,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
6834
6848
|
cloud: import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
6835
6849
|
addDataToHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
6836
6850
|
input: {
|
|
6837
|
-
|
|
6851
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
6838
6852
|
dataId: string;
|
|
6839
6853
|
nodeId: string;
|
|
6840
6854
|
};
|
|
@@ -7036,7 +7050,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7036
7050
|
}>;
|
|
7037
7051
|
deleteData: import("@trpc/server").TRPCMutationProcedure<{
|
|
7038
7052
|
input: {
|
|
7039
|
-
|
|
7053
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7040
7054
|
dataId: string;
|
|
7041
7055
|
nodeId: string;
|
|
7042
7056
|
appId?: string | null | undefined;
|
|
@@ -7048,6 +7062,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7048
7062
|
}>;
|
|
7049
7063
|
dataById: import("@trpc/server").TRPCQueryProcedure<{
|
|
7050
7064
|
input: {
|
|
7065
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7051
7066
|
id: string;
|
|
7052
7067
|
};
|
|
7053
7068
|
output: {
|
|
@@ -7076,7 +7091,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7076
7091
|
}>;
|
|
7077
7092
|
dataContentById: import("@trpc/server").TRPCQueryProcedure<{
|
|
7078
7093
|
input: {
|
|
7079
|
-
|
|
7094
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7080
7095
|
id: string;
|
|
7081
7096
|
};
|
|
7082
7097
|
output: {
|
|
@@ -7153,7 +7168,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7153
7168
|
}>;
|
|
7154
7169
|
dataContentByIds: import("@trpc/server").TRPCQueryProcedure<{
|
|
7155
7170
|
input: {
|
|
7156
|
-
|
|
7171
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7157
7172
|
ids: string[];
|
|
7158
7173
|
};
|
|
7159
7174
|
output: ({
|
|
@@ -7249,7 +7264,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7249
7264
|
}>;
|
|
7250
7265
|
saveInCloud: import("@trpc/server").TRPCMutationProcedure<{
|
|
7251
7266
|
input: {
|
|
7252
|
-
|
|
7267
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7253
7268
|
dataId: string;
|
|
7254
7269
|
nodeId: string | null;
|
|
7255
7270
|
key: string | null;
|
|
@@ -7530,7 +7545,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7530
7545
|
}>;
|
|
7531
7546
|
shareDataInHistory: import("@trpc/server").TRPCMutationProcedure<{
|
|
7532
7547
|
input: {
|
|
7533
|
-
|
|
7548
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7534
7549
|
dataId: string;
|
|
7535
7550
|
nodeId: string;
|
|
7536
7551
|
users: {
|
|
@@ -7602,7 +7617,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7602
7617
|
}>;
|
|
7603
7618
|
uploadColdData: import("@trpc/server").TRPCMutationProcedure<{
|
|
7604
7619
|
input: {
|
|
7605
|
-
|
|
7620
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7606
7621
|
size: bigint;
|
|
7607
7622
|
md5: string;
|
|
7608
7623
|
sizeEncrypted: bigint;
|
|
@@ -7612,7 +7627,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7612
7627
|
ext?: string | undefined;
|
|
7613
7628
|
key?: string | undefined;
|
|
7614
7629
|
} | {
|
|
7615
|
-
|
|
7630
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7616
7631
|
size: bigint;
|
|
7617
7632
|
md5: string;
|
|
7618
7633
|
type: "unencrypted";
|
|
@@ -7783,7 +7798,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7783
7798
|
}>;
|
|
7784
7799
|
checkAccesses: import("@trpc/server").TRPCQueryProcedure<{
|
|
7785
7800
|
input: {
|
|
7786
|
-
|
|
7801
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7787
7802
|
accesses: {
|
|
7788
7803
|
pubKey: string;
|
|
7789
7804
|
nodes: ({
|
|
@@ -7843,7 +7858,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
7843
7858
|
}>;
|
|
7844
7859
|
createFolder: import("@trpc/server").TRPCMutationProcedure<{
|
|
7845
7860
|
input: {
|
|
7846
|
-
|
|
7861
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
7847
7862
|
nameKey: string | null;
|
|
7848
7863
|
name: string;
|
|
7849
7864
|
parentId: string | null;
|
|
@@ -8046,7 +8061,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8046
8061
|
}>;
|
|
8047
8062
|
deleteNodeCloudTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
8048
8063
|
input: {
|
|
8049
|
-
|
|
8064
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8050
8065
|
ids: string[];
|
|
8051
8066
|
};
|
|
8052
8067
|
output: {
|
|
@@ -8056,7 +8071,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8056
8071
|
}>;
|
|
8057
8072
|
deleteNodeSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
8058
8073
|
input: {
|
|
8059
|
-
|
|
8074
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8060
8075
|
nodeId: string;
|
|
8061
8076
|
destPubKey: string;
|
|
8062
8077
|
};
|
|
@@ -8067,7 +8082,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8067
8082
|
}>;
|
|
8068
8083
|
deleteNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8069
8084
|
input: {
|
|
8070
|
-
|
|
8085
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8071
8086
|
id: string;
|
|
8072
8087
|
force?: boolean | undefined;
|
|
8073
8088
|
appId?: string | null | undefined;
|
|
@@ -8079,7 +8094,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8079
8094
|
}>;
|
|
8080
8095
|
deleteNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
8081
8096
|
input: {
|
|
8082
|
-
|
|
8097
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8083
8098
|
ids: string[];
|
|
8084
8099
|
force?: boolean | undefined;
|
|
8085
8100
|
};
|
|
@@ -8090,7 +8105,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8090
8105
|
}>;
|
|
8091
8106
|
duplicateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8092
8107
|
input: {
|
|
8093
|
-
|
|
8108
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8094
8109
|
nodeId: string;
|
|
8095
8110
|
folderId: string | null;
|
|
8096
8111
|
name: string | null;
|
|
@@ -8103,7 +8118,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8103
8118
|
emptyNodeCloudTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
8104
8119
|
input: {
|
|
8105
8120
|
[x: string]: never;
|
|
8106
|
-
|
|
8121
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8107
8122
|
};
|
|
8108
8123
|
output: {
|
|
8109
8124
|
isCleaned: boolean;
|
|
@@ -8112,7 +8127,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8112
8127
|
}>;
|
|
8113
8128
|
moveNodes: import("@trpc/server").TRPCMutationProcedure<{
|
|
8114
8129
|
input: {
|
|
8115
|
-
|
|
8130
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8116
8131
|
ids: string[];
|
|
8117
8132
|
parentId: string | null;
|
|
8118
8133
|
};
|
|
@@ -8123,7 +8138,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8123
8138
|
}>;
|
|
8124
8139
|
nodeAccessById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8125
8140
|
input: {
|
|
8126
|
-
|
|
8141
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8127
8142
|
id: string;
|
|
8128
8143
|
};
|
|
8129
8144
|
output: {
|
|
@@ -8146,7 +8161,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8146
8161
|
}>;
|
|
8147
8162
|
nodeBreadcrumbById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8148
8163
|
input: {
|
|
8149
|
-
|
|
8164
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8150
8165
|
id: string;
|
|
8151
8166
|
};
|
|
8152
8167
|
output: {
|
|
@@ -8160,7 +8175,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8160
8175
|
}>;
|
|
8161
8176
|
nodeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8162
8177
|
input: {
|
|
8163
|
-
|
|
8178
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8164
8179
|
id?: string | null | undefined;
|
|
8165
8180
|
deleted?: boolean | null | undefined;
|
|
8166
8181
|
};
|
|
@@ -8217,7 +8232,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8217
8232
|
}>;
|
|
8218
8233
|
nodeFullById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8219
8234
|
input: {
|
|
8220
|
-
|
|
8235
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8221
8236
|
id?: string | null | undefined;
|
|
8222
8237
|
deleted?: boolean | null | undefined;
|
|
8223
8238
|
};
|
|
@@ -8419,7 +8434,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8419
8434
|
}>;
|
|
8420
8435
|
nodesForEncryption: import("@trpc/server").TRPCQueryProcedure<{
|
|
8421
8436
|
input: {
|
|
8422
|
-
|
|
8437
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8423
8438
|
ids: string[];
|
|
8424
8439
|
};
|
|
8425
8440
|
output: {
|
|
@@ -8444,7 +8459,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8444
8459
|
}>;
|
|
8445
8460
|
nodeSizeById: import("@trpc/server").TRPCQueryProcedure<{
|
|
8446
8461
|
input: {
|
|
8447
|
-
|
|
8462
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8448
8463
|
id: string;
|
|
8449
8464
|
};
|
|
8450
8465
|
output: {
|
|
@@ -8456,7 +8471,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8456
8471
|
nodesDeleted: import("@trpc/server").TRPCQueryProcedure<{
|
|
8457
8472
|
input: {
|
|
8458
8473
|
[x: string]: never;
|
|
8459
|
-
|
|
8474
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8460
8475
|
};
|
|
8461
8476
|
output: ({
|
|
8462
8477
|
id: string;
|
|
@@ -8506,7 +8521,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8506
8521
|
}>;
|
|
8507
8522
|
nodesSharedWithMe: import("@trpc/server").TRPCQueryProcedure<{
|
|
8508
8523
|
input: {
|
|
8509
|
-
|
|
8524
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8510
8525
|
type: "FILE" | "FOLDER";
|
|
8511
8526
|
};
|
|
8512
8527
|
output: ({
|
|
@@ -8557,7 +8572,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8557
8572
|
}>;
|
|
8558
8573
|
nodesShared: import("@trpc/server").TRPCQueryProcedure<{
|
|
8559
8574
|
input: {
|
|
8560
|
-
|
|
8575
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8561
8576
|
};
|
|
8562
8577
|
output: ({
|
|
8563
8578
|
id: string;
|
|
@@ -8607,7 +8622,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8607
8622
|
}>;
|
|
8608
8623
|
recoverNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8609
8624
|
input: {
|
|
8610
|
-
|
|
8625
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8611
8626
|
id: string;
|
|
8612
8627
|
};
|
|
8613
8628
|
output: {
|
|
@@ -8617,7 +8632,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8617
8632
|
}>;
|
|
8618
8633
|
shareNodeFinish: import("@trpc/server").TRPCMutationProcedure<{
|
|
8619
8634
|
input: {
|
|
8620
|
-
|
|
8635
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8621
8636
|
accesses: {
|
|
8622
8637
|
pubKey: string;
|
|
8623
8638
|
nodes: ({
|
|
@@ -8677,7 +8692,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8677
8692
|
}>;
|
|
8678
8693
|
shareNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8679
8694
|
input: {
|
|
8680
|
-
|
|
8695
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8681
8696
|
accesses: ({
|
|
8682
8697
|
nodeId: string;
|
|
8683
8698
|
pubKey: string;
|
|
@@ -8735,7 +8750,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8735
8750
|
}>;
|
|
8736
8751
|
updateNode: import("@trpc/server").TRPCMutationProcedure<{
|
|
8737
8752
|
input: {
|
|
8738
|
-
|
|
8753
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8739
8754
|
id: string;
|
|
8740
8755
|
name: string | null;
|
|
8741
8756
|
isFavorite: boolean | null;
|
|
@@ -8937,6 +8952,17 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
8937
8952
|
};
|
|
8938
8953
|
meta: any;
|
|
8939
8954
|
}>;
|
|
8955
|
+
leaveSharing: import("@trpc/server").TRPCMutationProcedure<{
|
|
8956
|
+
input: {
|
|
8957
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
8958
|
+
nodeId: string;
|
|
8959
|
+
fromPubKey: string;
|
|
8960
|
+
};
|
|
8961
|
+
output: {
|
|
8962
|
+
isDeleted: boolean;
|
|
8963
|
+
};
|
|
8964
|
+
meta: any;
|
|
8965
|
+
}>;
|
|
8940
8966
|
}>;
|
|
8941
8967
|
contacts: import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
8942
8968
|
getContacts: import("@trpc/server").TRPCQueryProcedure<{
|
|
@@ -9930,7 +9956,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
9930
9956
|
}>;
|
|
9931
9957
|
createDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
9932
9958
|
input: {
|
|
9933
|
-
|
|
9959
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
9934
9960
|
body: string;
|
|
9935
9961
|
subject: string;
|
|
9936
9962
|
hash: string;
|
|
@@ -10015,7 +10041,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10015
10041
|
}>;
|
|
10016
10042
|
deleteTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
10017
10043
|
input: {
|
|
10018
|
-
|
|
10044
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10019
10045
|
ids: string[];
|
|
10020
10046
|
};
|
|
10021
10047
|
output: {
|
|
@@ -10025,7 +10051,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10025
10051
|
}>;
|
|
10026
10052
|
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
10027
10053
|
input: {
|
|
10028
|
-
|
|
10054
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10029
10055
|
id: string;
|
|
10030
10056
|
};
|
|
10031
10057
|
output: {
|
|
@@ -10035,7 +10061,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10035
10061
|
}>;
|
|
10036
10062
|
deleted: import("@trpc/server").TRPCQueryProcedure<{
|
|
10037
10063
|
input: {
|
|
10038
|
-
|
|
10064
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10039
10065
|
type: "sent" | "received";
|
|
10040
10066
|
};
|
|
10041
10067
|
output: ({
|
|
@@ -10170,7 +10196,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10170
10196
|
emptyTrash: import("@trpc/server").TRPCMutationProcedure<{
|
|
10171
10197
|
input: {
|
|
10172
10198
|
[x: string]: never;
|
|
10173
|
-
|
|
10199
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10174
10200
|
};
|
|
10175
10201
|
output: {
|
|
10176
10202
|
isDeleted: boolean;
|
|
@@ -10179,7 +10205,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10179
10205
|
}>;
|
|
10180
10206
|
read: import("@trpc/server").TRPCMutationProcedure<{
|
|
10181
10207
|
input: {
|
|
10182
|
-
|
|
10208
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10183
10209
|
id: string;
|
|
10184
10210
|
};
|
|
10185
10211
|
output: {
|
|
@@ -10189,7 +10215,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10189
10215
|
}>;
|
|
10190
10216
|
received: import("@trpc/server").TRPCQueryProcedure<{
|
|
10191
10217
|
input: {
|
|
10192
|
-
|
|
10218
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10193
10219
|
page?: number | undefined;
|
|
10194
10220
|
perPage?: number | undefined;
|
|
10195
10221
|
};
|
|
@@ -10257,7 +10283,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10257
10283
|
}>;
|
|
10258
10284
|
recover: import("@trpc/server").TRPCMutationProcedure<{
|
|
10259
10285
|
input: {
|
|
10260
|
-
|
|
10286
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10261
10287
|
id: string;
|
|
10262
10288
|
};
|
|
10263
10289
|
output: {
|
|
@@ -10389,14 +10415,14 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10389
10415
|
unreadReceivedCount: import("@trpc/server").TRPCQueryProcedure<{
|
|
10390
10416
|
input: {
|
|
10391
10417
|
[x: string]: never;
|
|
10392
|
-
|
|
10418
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10393
10419
|
};
|
|
10394
10420
|
output: number;
|
|
10395
10421
|
meta: any;
|
|
10396
10422
|
}>;
|
|
10397
10423
|
unread: import("@trpc/server").TRPCMutationProcedure<{
|
|
10398
10424
|
input: {
|
|
10399
|
-
|
|
10425
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10400
10426
|
id: string;
|
|
10401
10427
|
};
|
|
10402
10428
|
output: {
|
|
@@ -10406,7 +10432,7 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
10406
10432
|
}>;
|
|
10407
10433
|
updateDraft: import("@trpc/server").TRPCMutationProcedure<{
|
|
10408
10434
|
input: {
|
|
10409
|
-
|
|
10435
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
10410
10436
|
id: string;
|
|
10411
10437
|
subject: string | null;
|
|
10412
10438
|
body: string | null;
|
|
@@ -11901,10 +11927,11 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
11901
11927
|
group: import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
11902
11928
|
addMember: import("@trpc/server").TRPCMutationProcedure<{
|
|
11903
11929
|
input: {
|
|
11904
|
-
|
|
11930
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
11905
11931
|
id: string;
|
|
11906
11932
|
encPriv: string;
|
|
11907
11933
|
pubKey: string;
|
|
11934
|
+
fromPubKey: string;
|
|
11908
11935
|
role?: "ADMIN" | "MEMBER" | undefined;
|
|
11909
11936
|
};
|
|
11910
11937
|
output: {
|
|
@@ -11923,10 +11950,11 @@ export declare const getTrpcGuestClient: ({ url }?: {
|
|
|
11923
11950
|
}>;
|
|
11924
11951
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
11925
11952
|
input: {
|
|
11926
|
-
|
|
11953
|
+
fromIdentityPubKey?: string | null | undefined;
|
|
11927
11954
|
name: string;
|
|
11928
11955
|
encPriv: string;
|
|
11929
11956
|
pubKey: string;
|
|
11957
|
+
fromPubKey: string;
|
|
11930
11958
|
};
|
|
11931
11959
|
output: {
|
|
11932
11960
|
group: {
|
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.75.0
|
|
5
|
+
"version": "1.75.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.0-feat-groups-identity.
|
|
79
|
+
"@secrecy/trpc-api-types": "1.33.0-feat-groups-identity.33",
|
|
80
80
|
"@trpc/client": "11.6.0",
|
|
81
81
|
"@trpc/server": "^11.6.0",
|
|
82
82
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|