@secrecy/lib 1.63.0-feat-orgs.3 → 1.63.0-feat-orgs.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/client.d.ts +35 -7
- package/package.json +2 -2
package/dist/types/client.d.ts
CHANGED
|
@@ -117,23 +117,33 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
117
117
|
_input_in: {};
|
|
118
118
|
_input_out: {};
|
|
119
119
|
_output_in: {
|
|
120
|
-
users: {
|
|
120
|
+
users: ({
|
|
121
121
|
id: string;
|
|
122
122
|
lastname: string;
|
|
123
123
|
firstname: string;
|
|
124
124
|
avatar: string | null;
|
|
125
125
|
isSearchable: boolean;
|
|
126
|
-
}
|
|
126
|
+
} & {
|
|
127
|
+
orgs: {
|
|
128
|
+
name: string;
|
|
129
|
+
id: string;
|
|
130
|
+
}[];
|
|
131
|
+
})[];
|
|
127
132
|
currentUserId: string;
|
|
128
133
|
};
|
|
129
134
|
_output_out: {
|
|
130
|
-
users: {
|
|
135
|
+
users: ({
|
|
131
136
|
id: string;
|
|
132
137
|
lastname: string;
|
|
133
138
|
firstname: string;
|
|
134
139
|
avatar: string | null;
|
|
135
140
|
isSearchable: boolean;
|
|
136
|
-
}
|
|
141
|
+
} & {
|
|
142
|
+
orgs: {
|
|
143
|
+
name: string;
|
|
144
|
+
id: string;
|
|
145
|
+
}[];
|
|
146
|
+
})[];
|
|
137
147
|
currentUserId: string;
|
|
138
148
|
};
|
|
139
149
|
}, unknown>>;
|
|
@@ -1517,10 +1527,18 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
1517
1527
|
_output_in: {
|
|
1518
1528
|
session: string;
|
|
1519
1529
|
masterKeySalt: string;
|
|
1530
|
+
context: {
|
|
1531
|
+
userId: string;
|
|
1532
|
+
orgId: string;
|
|
1533
|
+
};
|
|
1520
1534
|
};
|
|
1521
1535
|
_output_out: {
|
|
1522
1536
|
session: string;
|
|
1523
1537
|
masterKeySalt: string;
|
|
1538
|
+
context: {
|
|
1539
|
+
userId: string;
|
|
1540
|
+
orgId: string;
|
|
1541
|
+
};
|
|
1524
1542
|
};
|
|
1525
1543
|
}, unknown>>;
|
|
1526
1544
|
};
|
|
@@ -1870,7 +1888,7 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
1870
1888
|
_output_out: {};
|
|
1871
1889
|
}, {}>>;
|
|
1872
1890
|
};
|
|
1873
|
-
|
|
1891
|
+
changeContext: {
|
|
1874
1892
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
1875
1893
|
_config: import("@trpc/server").RootConfig<{
|
|
1876
1894
|
ctx: {};
|
|
@@ -1905,16 +1923,26 @@ export declare const createTRPCClient: (opts: CreateTrpcClientOptions) => {
|
|
|
1905
1923
|
ls: TranslationFunctions;
|
|
1906
1924
|
};
|
|
1907
1925
|
_input_in: {
|
|
1908
|
-
userId
|
|
1926
|
+
userId?: string | undefined;
|
|
1927
|
+
orgId?: string | undefined;
|
|
1909
1928
|
};
|
|
1910
1929
|
_input_out: {
|
|
1911
|
-
userId
|
|
1930
|
+
userId?: string | undefined;
|
|
1931
|
+
orgId?: string | undefined;
|
|
1912
1932
|
};
|
|
1913
1933
|
_output_in: {
|
|
1914
1934
|
sessionId: string;
|
|
1935
|
+
context: {
|
|
1936
|
+
userId: string;
|
|
1937
|
+
orgId: string;
|
|
1938
|
+
};
|
|
1915
1939
|
};
|
|
1916
1940
|
_output_out: {
|
|
1917
1941
|
sessionId: string;
|
|
1942
|
+
context: {
|
|
1943
|
+
userId: string;
|
|
1944
|
+
orgId: string;
|
|
1945
|
+
};
|
|
1918
1946
|
};
|
|
1919
1947
|
}, unknown>>;
|
|
1920
1948
|
};
|
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.63.0-feat-orgs.
|
|
5
|
+
"version": "1.63.0-feat-orgs.4",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^5.7.2"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@secrecy/trpc-api-types": "1.33.0-feat-orgs.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.33.0-feat-orgs.13",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|