@secrecy/trpc-api-types 1.33.0-feat-orgs.12 → 1.33.0-feat-orgs.14
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.cts +51 -13
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -146,24 +146,32 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
146
146
|
_input_in: {};
|
|
147
147
|
_input_out: {};
|
|
148
148
|
_output_in: {
|
|
149
|
-
users: {
|
|
149
|
+
users: ({
|
|
150
150
|
id: string;
|
|
151
151
|
lastname: string;
|
|
152
152
|
firstname: string;
|
|
153
153
|
avatar: string | null;
|
|
154
154
|
isSearchable: boolean;
|
|
155
|
-
}
|
|
156
|
-
|
|
155
|
+
} & {
|
|
156
|
+
orgs: {
|
|
157
|
+
name: string;
|
|
158
|
+
id: string;
|
|
159
|
+
}[];
|
|
160
|
+
})[];
|
|
157
161
|
};
|
|
158
162
|
_output_out: {
|
|
159
|
-
users: {
|
|
163
|
+
users: ({
|
|
160
164
|
id: string;
|
|
161
165
|
lastname: string;
|
|
162
166
|
firstname: string;
|
|
163
167
|
avatar: string | null;
|
|
164
168
|
isSearchable: boolean;
|
|
165
|
-
}
|
|
166
|
-
|
|
169
|
+
} & {
|
|
170
|
+
orgs: {
|
|
171
|
+
name: string;
|
|
172
|
+
id: string;
|
|
173
|
+
}[];
|
|
174
|
+
})[];
|
|
167
175
|
};
|
|
168
176
|
}, unknown>;
|
|
169
177
|
}>;
|
|
@@ -1595,10 +1603,18 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1595
1603
|
_output_in: {
|
|
1596
1604
|
session: string;
|
|
1597
1605
|
masterKeySalt: string;
|
|
1606
|
+
context: {
|
|
1607
|
+
userId: string;
|
|
1608
|
+
orgId: string;
|
|
1609
|
+
};
|
|
1598
1610
|
};
|
|
1599
1611
|
_output_out: {
|
|
1600
1612
|
session: string;
|
|
1601
1613
|
masterKeySalt: string;
|
|
1614
|
+
context: {
|
|
1615
|
+
userId: string;
|
|
1616
|
+
orgId: string;
|
|
1617
|
+
};
|
|
1602
1618
|
};
|
|
1603
1619
|
}, unknown>;
|
|
1604
1620
|
logout: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -1797,14 +1813,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1797
1813
|
godFather?: string | undefined;
|
|
1798
1814
|
};
|
|
1799
1815
|
_output_in: {
|
|
1800
|
-
userId: string;
|
|
1801
1816
|
sessionId: string;
|
|
1817
|
+
context: {
|
|
1818
|
+
userId: string;
|
|
1819
|
+
orgId: string;
|
|
1820
|
+
};
|
|
1802
1821
|
} & {
|
|
1803
1822
|
masterKeySalt: string;
|
|
1804
1823
|
};
|
|
1805
1824
|
_output_out: {
|
|
1806
|
-
userId: string;
|
|
1807
1825
|
sessionId: string;
|
|
1826
|
+
context: {
|
|
1827
|
+
userId: string;
|
|
1828
|
+
orgId: string;
|
|
1829
|
+
};
|
|
1808
1830
|
} & {
|
|
1809
1831
|
masterKeySalt: string;
|
|
1810
1832
|
};
|
|
@@ -1931,7 +1953,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1931
1953
|
_output_in: {};
|
|
1932
1954
|
_output_out: {};
|
|
1933
1955
|
}, {}>;
|
|
1934
|
-
|
|
1956
|
+
changeContext: _trpc_server.BuildProcedure<"mutation", {
|
|
1935
1957
|
_config: _trpc_server.RootConfig<{
|
|
1936
1958
|
ctx: {};
|
|
1937
1959
|
meta: object;
|
|
@@ -1965,16 +1987,26 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1965
1987
|
ls: TranslationFunctions;
|
|
1966
1988
|
};
|
|
1967
1989
|
_input_in: {
|
|
1968
|
-
userId
|
|
1990
|
+
userId?: string | undefined;
|
|
1991
|
+
orgId?: string | undefined;
|
|
1969
1992
|
};
|
|
1970
1993
|
_input_out: {
|
|
1971
|
-
userId
|
|
1994
|
+
userId?: string | undefined;
|
|
1995
|
+
orgId?: string | undefined;
|
|
1972
1996
|
};
|
|
1973
1997
|
_output_in: {
|
|
1974
1998
|
sessionId: string;
|
|
1999
|
+
context: {
|
|
2000
|
+
userId: string;
|
|
2001
|
+
orgId: string;
|
|
2002
|
+
};
|
|
1975
2003
|
};
|
|
1976
2004
|
_output_out: {
|
|
1977
2005
|
sessionId: string;
|
|
2006
|
+
context: {
|
|
2007
|
+
userId: string;
|
|
2008
|
+
orgId: string;
|
|
2009
|
+
};
|
|
1978
2010
|
};
|
|
1979
2011
|
}, unknown>;
|
|
1980
2012
|
}>;
|
|
@@ -13121,10 +13153,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
13121
13153
|
_input_in: {
|
|
13122
13154
|
name: string;
|
|
13123
13155
|
id: string;
|
|
13156
|
+
billingProfileStripeCustomerId: string | null;
|
|
13124
13157
|
};
|
|
13125
13158
|
_input_out: {
|
|
13126
13159
|
name: string;
|
|
13127
13160
|
id: string;
|
|
13161
|
+
billingProfileStripeCustomerId: string | null;
|
|
13128
13162
|
};
|
|
13129
13163
|
_output_in: {
|
|
13130
13164
|
name: string;
|
|
@@ -14173,8 +14207,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
14173
14207
|
}>;
|
|
14174
14208
|
_meta: object;
|
|
14175
14209
|
_ctx_out: {};
|
|
14176
|
-
_input_in: {
|
|
14177
|
-
|
|
14210
|
+
_input_in: {
|
|
14211
|
+
id: string;
|
|
14212
|
+
};
|
|
14213
|
+
_input_out: {
|
|
14214
|
+
id: string;
|
|
14215
|
+
};
|
|
14178
14216
|
_output_in: {
|
|
14179
14217
|
url: string | null;
|
|
14180
14218
|
};
|