@secrecy/trpc-api-types 1.9.3 → 1.9.5
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 +870 -157
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1558,12 +1558,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1558
1558
|
appId: string;
|
|
1559
1559
|
userId: string;
|
|
1560
1560
|
};
|
|
1561
|
-
access
|
|
1561
|
+
access?: {
|
|
1562
1562
|
rights: "admin" | "write" | "read";
|
|
1563
1563
|
nameKey: string | null;
|
|
1564
1564
|
isRoot: boolean;
|
|
1565
1565
|
sharedByPubKey: string;
|
|
1566
|
-
};
|
|
1566
|
+
} | undefined;
|
|
1567
1567
|
} & {
|
|
1568
1568
|
sizes: {
|
|
1569
1569
|
size: bigint;
|
|
@@ -1579,10 +1579,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1579
1579
|
storageType: "scaleway" | "mongo";
|
|
1580
1580
|
sizeBefore: bigint;
|
|
1581
1581
|
md5Encrypted: string;
|
|
1582
|
-
access
|
|
1582
|
+
access?: {
|
|
1583
1583
|
key: string;
|
|
1584
1584
|
sharedByPubKey: string;
|
|
1585
|
-
};
|
|
1585
|
+
} | undefined;
|
|
1586
1586
|
} | null;
|
|
1587
1587
|
history: {
|
|
1588
1588
|
id: string;
|
|
@@ -1593,10 +1593,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1593
1593
|
storageType: "scaleway" | "mongo";
|
|
1594
1594
|
sizeBefore: bigint;
|
|
1595
1595
|
md5Encrypted: string;
|
|
1596
|
-
access
|
|
1596
|
+
access?: {
|
|
1597
1597
|
key: string;
|
|
1598
1598
|
sharedByPubKey: string;
|
|
1599
|
-
};
|
|
1599
|
+
} | undefined;
|
|
1600
1600
|
}[];
|
|
1601
1601
|
parent: ({
|
|
1602
1602
|
type: "FILE" | "FOLDER";
|
|
@@ -1617,12 +1617,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1617
1617
|
appId: string;
|
|
1618
1618
|
userId: string;
|
|
1619
1619
|
};
|
|
1620
|
-
access
|
|
1620
|
+
access?: {
|
|
1621
1621
|
rights: "admin" | "write" | "read";
|
|
1622
1622
|
nameKey: string | null;
|
|
1623
1623
|
isRoot: boolean;
|
|
1624
1624
|
sharedByPubKey: string;
|
|
1625
|
-
};
|
|
1625
|
+
} | undefined;
|
|
1626
1626
|
}) | null;
|
|
1627
1627
|
children: ({
|
|
1628
1628
|
type: "FILE" | "FOLDER";
|
|
@@ -1643,12 +1643,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1643
1643
|
appId: string;
|
|
1644
1644
|
userId: string;
|
|
1645
1645
|
};
|
|
1646
|
-
access
|
|
1646
|
+
access?: {
|
|
1647
1647
|
rights: "admin" | "write" | "read";
|
|
1648
1648
|
nameKey: string | null;
|
|
1649
1649
|
isRoot: boolean;
|
|
1650
1650
|
sharedByPubKey: string;
|
|
1651
|
-
};
|
|
1651
|
+
} | undefined;
|
|
1652
1652
|
})[];
|
|
1653
1653
|
};
|
|
1654
1654
|
_output_out: {
|
|
@@ -1670,12 +1670,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1670
1670
|
appId: string;
|
|
1671
1671
|
userId: string;
|
|
1672
1672
|
};
|
|
1673
|
-
access
|
|
1673
|
+
access?: {
|
|
1674
1674
|
rights: "admin" | "write" | "read";
|
|
1675
1675
|
nameKey: string | null;
|
|
1676
1676
|
isRoot: boolean;
|
|
1677
1677
|
sharedByPubKey: string;
|
|
1678
|
-
};
|
|
1678
|
+
} | undefined;
|
|
1679
1679
|
} & {
|
|
1680
1680
|
sizes: {
|
|
1681
1681
|
size: bigint;
|
|
@@ -1691,10 +1691,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1691
1691
|
storageType: "scaleway" | "mongo";
|
|
1692
1692
|
sizeBefore: bigint;
|
|
1693
1693
|
md5Encrypted: string;
|
|
1694
|
-
access
|
|
1694
|
+
access?: {
|
|
1695
1695
|
key: string;
|
|
1696
1696
|
sharedByPubKey: string;
|
|
1697
|
-
};
|
|
1697
|
+
} | undefined;
|
|
1698
1698
|
} | null;
|
|
1699
1699
|
history: {
|
|
1700
1700
|
id: string;
|
|
@@ -1705,10 +1705,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1705
1705
|
storageType: "scaleway" | "mongo";
|
|
1706
1706
|
sizeBefore: bigint;
|
|
1707
1707
|
md5Encrypted: string;
|
|
1708
|
-
access
|
|
1708
|
+
access?: {
|
|
1709
1709
|
key: string;
|
|
1710
1710
|
sharedByPubKey: string;
|
|
1711
|
-
};
|
|
1711
|
+
} | undefined;
|
|
1712
1712
|
}[];
|
|
1713
1713
|
parent: ({
|
|
1714
1714
|
type: "FILE" | "FOLDER";
|
|
@@ -1729,12 +1729,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1729
1729
|
appId: string;
|
|
1730
1730
|
userId: string;
|
|
1731
1731
|
};
|
|
1732
|
-
access
|
|
1732
|
+
access?: {
|
|
1733
1733
|
rights: "admin" | "write" | "read";
|
|
1734
1734
|
nameKey: string | null;
|
|
1735
1735
|
isRoot: boolean;
|
|
1736
1736
|
sharedByPubKey: string;
|
|
1737
|
-
};
|
|
1737
|
+
} | undefined;
|
|
1738
1738
|
}) | null;
|
|
1739
1739
|
children: ({
|
|
1740
1740
|
type: "FILE" | "FOLDER";
|
|
@@ -1755,12 +1755,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1755
1755
|
appId: string;
|
|
1756
1756
|
userId: string;
|
|
1757
1757
|
};
|
|
1758
|
-
access
|
|
1758
|
+
access?: {
|
|
1759
1759
|
rights: "admin" | "write" | "read";
|
|
1760
1760
|
nameKey: string | null;
|
|
1761
1761
|
isRoot: boolean;
|
|
1762
1762
|
sharedByPubKey: string;
|
|
1763
|
-
};
|
|
1763
|
+
} | undefined;
|
|
1764
1764
|
})[];
|
|
1765
1765
|
};
|
|
1766
1766
|
}, unknown>;
|
|
@@ -1840,10 +1840,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1840
1840
|
storageType: "scaleway" | "mongo";
|
|
1841
1841
|
sizeBefore: bigint;
|
|
1842
1842
|
md5Encrypted: string;
|
|
1843
|
-
access
|
|
1843
|
+
access?: {
|
|
1844
1844
|
key: string;
|
|
1845
1845
|
sharedByPubKey: string;
|
|
1846
|
-
};
|
|
1846
|
+
} | undefined;
|
|
1847
1847
|
};
|
|
1848
1848
|
_output_out: {
|
|
1849
1849
|
id: string;
|
|
@@ -1854,10 +1854,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1854
1854
|
storageType: "scaleway" | "mongo";
|
|
1855
1855
|
sizeBefore: bigint;
|
|
1856
1856
|
md5Encrypted: string;
|
|
1857
|
-
access
|
|
1857
|
+
access?: {
|
|
1858
1858
|
key: string;
|
|
1859
1859
|
sharedByPubKey: string;
|
|
1860
|
-
};
|
|
1860
|
+
} | undefined;
|
|
1861
1861
|
};
|
|
1862
1862
|
}, unknown>;
|
|
1863
1863
|
fileContentById: _trpc_server.BuildProcedure<"query", {
|
|
@@ -1890,13 +1890,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1890
1890
|
id: string;
|
|
1891
1891
|
};
|
|
1892
1892
|
_output_in: {
|
|
1893
|
+
type: "received_mail";
|
|
1893
1894
|
id: string;
|
|
1894
1895
|
key: string;
|
|
1895
1896
|
md5: string;
|
|
1896
1897
|
md5Encrypted: string;
|
|
1897
1898
|
totalSize: bigint;
|
|
1898
|
-
} & ({
|
|
1899
|
-
type: "received_mail";
|
|
1900
1899
|
senderPublicKey: string;
|
|
1901
1900
|
maybeParts: {
|
|
1902
1901
|
md5: string;
|
|
@@ -1906,6 +1905,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1906
1905
|
maybeContent: Buffer | null;
|
|
1907
1906
|
} | {
|
|
1908
1907
|
type: "sent_mail";
|
|
1908
|
+
id: string;
|
|
1909
|
+
key: string;
|
|
1910
|
+
md5: string;
|
|
1911
|
+
md5Encrypted: string;
|
|
1912
|
+
totalSize: bigint;
|
|
1909
1913
|
maybeParts: {
|
|
1910
1914
|
md5: string;
|
|
1911
1915
|
order: number;
|
|
@@ -1914,25 +1918,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1914
1918
|
maybeContent: Buffer | null;
|
|
1915
1919
|
} | {
|
|
1916
1920
|
type: "cloud";
|
|
1921
|
+
id: string;
|
|
1922
|
+
key: string;
|
|
1923
|
+
md5: string;
|
|
1924
|
+
md5Encrypted: string;
|
|
1917
1925
|
parts: {
|
|
1918
1926
|
md5: string;
|
|
1919
1927
|
order: number;
|
|
1920
1928
|
contentUrl: string;
|
|
1921
1929
|
}[];
|
|
1922
1930
|
publicKey: string;
|
|
1931
|
+
totalSize: bigint;
|
|
1923
1932
|
} | {
|
|
1924
1933
|
type: "lite";
|
|
1934
|
+
id: string;
|
|
1935
|
+
key: string;
|
|
1925
1936
|
content: Buffer;
|
|
1937
|
+
md5: string;
|
|
1938
|
+
md5Encrypted: string;
|
|
1926
1939
|
publicKey: string;
|
|
1927
|
-
|
|
1940
|
+
totalSize: bigint;
|
|
1941
|
+
};
|
|
1928
1942
|
_output_out: {
|
|
1943
|
+
type: "received_mail";
|
|
1929
1944
|
id: string;
|
|
1930
1945
|
key: string;
|
|
1931
1946
|
md5: string;
|
|
1932
1947
|
md5Encrypted: string;
|
|
1933
1948
|
totalSize: bigint;
|
|
1934
|
-
} & ({
|
|
1935
|
-
type: "received_mail";
|
|
1936
1949
|
senderPublicKey: string;
|
|
1937
1950
|
maybeParts: {
|
|
1938
1951
|
md5: string;
|
|
@@ -1942,6 +1955,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1942
1955
|
maybeContent: Buffer | null;
|
|
1943
1956
|
} | {
|
|
1944
1957
|
type: "sent_mail";
|
|
1958
|
+
id: string;
|
|
1959
|
+
key: string;
|
|
1960
|
+
md5: string;
|
|
1961
|
+
md5Encrypted: string;
|
|
1962
|
+
totalSize: bigint;
|
|
1945
1963
|
maybeParts: {
|
|
1946
1964
|
md5: string;
|
|
1947
1965
|
order: number;
|
|
@@ -1950,17 +1968,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1950
1968
|
maybeContent: Buffer | null;
|
|
1951
1969
|
} | {
|
|
1952
1970
|
type: "cloud";
|
|
1971
|
+
id: string;
|
|
1972
|
+
key: string;
|
|
1973
|
+
md5: string;
|
|
1974
|
+
md5Encrypted: string;
|
|
1953
1975
|
parts: {
|
|
1954
1976
|
md5: string;
|
|
1955
1977
|
order: number;
|
|
1956
1978
|
contentUrl: string;
|
|
1957
1979
|
}[];
|
|
1958
1980
|
publicKey: string;
|
|
1981
|
+
totalSize: bigint;
|
|
1959
1982
|
} | {
|
|
1960
1983
|
type: "lite";
|
|
1984
|
+
id: string;
|
|
1985
|
+
key: string;
|
|
1961
1986
|
content: Buffer;
|
|
1987
|
+
md5: string;
|
|
1988
|
+
md5Encrypted: string;
|
|
1962
1989
|
publicKey: string;
|
|
1963
|
-
|
|
1990
|
+
totalSize: bigint;
|
|
1991
|
+
};
|
|
1964
1992
|
}, unknown>;
|
|
1965
1993
|
fileContentByIds: _trpc_server.BuildProcedure<"query", {
|
|
1966
1994
|
_config: _trpc_server.RootConfig<{
|
|
@@ -1992,13 +2020,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
1992
2020
|
ids: string[];
|
|
1993
2021
|
};
|
|
1994
2022
|
_output_in: ({
|
|
2023
|
+
type: "received_mail";
|
|
1995
2024
|
id: string;
|
|
1996
2025
|
key: string;
|
|
1997
2026
|
md5: string;
|
|
1998
2027
|
md5Encrypted: string;
|
|
1999
2028
|
totalSize: bigint;
|
|
2000
|
-
} & ({
|
|
2001
|
-
type: "received_mail";
|
|
2002
2029
|
senderPublicKey: string;
|
|
2003
2030
|
maybeParts: {
|
|
2004
2031
|
md5: string;
|
|
@@ -2008,6 +2035,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2008
2035
|
maybeContent: Buffer | null;
|
|
2009
2036
|
} | {
|
|
2010
2037
|
type: "sent_mail";
|
|
2038
|
+
id: string;
|
|
2039
|
+
key: string;
|
|
2040
|
+
md5: string;
|
|
2041
|
+
md5Encrypted: string;
|
|
2042
|
+
totalSize: bigint;
|
|
2011
2043
|
maybeParts: {
|
|
2012
2044
|
md5: string;
|
|
2013
2045
|
order: number;
|
|
@@ -2016,25 +2048,34 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2016
2048
|
maybeContent: Buffer | null;
|
|
2017
2049
|
} | {
|
|
2018
2050
|
type: "cloud";
|
|
2051
|
+
id: string;
|
|
2052
|
+
key: string;
|
|
2053
|
+
md5: string;
|
|
2054
|
+
md5Encrypted: string;
|
|
2019
2055
|
parts: {
|
|
2020
2056
|
md5: string;
|
|
2021
2057
|
order: number;
|
|
2022
2058
|
contentUrl: string;
|
|
2023
2059
|
}[];
|
|
2024
2060
|
publicKey: string;
|
|
2061
|
+
totalSize: bigint;
|
|
2025
2062
|
} | {
|
|
2026
2063
|
type: "lite";
|
|
2064
|
+
id: string;
|
|
2065
|
+
key: string;
|
|
2027
2066
|
content: Buffer;
|
|
2067
|
+
md5: string;
|
|
2068
|
+
md5Encrypted: string;
|
|
2028
2069
|
publicKey: string;
|
|
2029
|
-
|
|
2070
|
+
totalSize: bigint;
|
|
2071
|
+
})[];
|
|
2030
2072
|
_output_out: ({
|
|
2073
|
+
type: "received_mail";
|
|
2031
2074
|
id: string;
|
|
2032
2075
|
key: string;
|
|
2033
2076
|
md5: string;
|
|
2034
2077
|
md5Encrypted: string;
|
|
2035
2078
|
totalSize: bigint;
|
|
2036
|
-
} & ({
|
|
2037
|
-
type: "received_mail";
|
|
2038
2079
|
senderPublicKey: string;
|
|
2039
2080
|
maybeParts: {
|
|
2040
2081
|
md5: string;
|
|
@@ -2044,6 +2085,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2044
2085
|
maybeContent: Buffer | null;
|
|
2045
2086
|
} | {
|
|
2046
2087
|
type: "sent_mail";
|
|
2088
|
+
id: string;
|
|
2089
|
+
key: string;
|
|
2090
|
+
md5: string;
|
|
2091
|
+
md5Encrypted: string;
|
|
2092
|
+
totalSize: bigint;
|
|
2047
2093
|
maybeParts: {
|
|
2048
2094
|
md5: string;
|
|
2049
2095
|
order: number;
|
|
@@ -2052,17 +2098,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2052
2098
|
maybeContent: Buffer | null;
|
|
2053
2099
|
} | {
|
|
2054
2100
|
type: "cloud";
|
|
2101
|
+
id: string;
|
|
2102
|
+
key: string;
|
|
2103
|
+
md5: string;
|
|
2104
|
+
md5Encrypted: string;
|
|
2055
2105
|
parts: {
|
|
2056
2106
|
md5: string;
|
|
2057
2107
|
order: number;
|
|
2058
2108
|
contentUrl: string;
|
|
2059
2109
|
}[];
|
|
2060
2110
|
publicKey: string;
|
|
2111
|
+
totalSize: bigint;
|
|
2061
2112
|
} | {
|
|
2062
2113
|
type: "lite";
|
|
2114
|
+
id: string;
|
|
2115
|
+
key: string;
|
|
2063
2116
|
content: Buffer;
|
|
2117
|
+
md5: string;
|
|
2118
|
+
md5Encrypted: string;
|
|
2064
2119
|
publicKey: string;
|
|
2065
|
-
|
|
2120
|
+
totalSize: bigint;
|
|
2121
|
+
})[];
|
|
2066
2122
|
}, unknown>;
|
|
2067
2123
|
fileSharedWithMe: _trpc_server.BuildProcedure<"query", {
|
|
2068
2124
|
_config: _trpc_server.RootConfig<{
|
|
@@ -2152,12 +2208,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2152
2208
|
appId: string;
|
|
2153
2209
|
userId: string;
|
|
2154
2210
|
};
|
|
2155
|
-
access
|
|
2211
|
+
access?: {
|
|
2156
2212
|
rights: "admin" | "write" | "read";
|
|
2157
2213
|
nameKey: string | null;
|
|
2158
2214
|
isRoot: boolean;
|
|
2159
2215
|
sharedByPubKey: string;
|
|
2160
|
-
};
|
|
2216
|
+
} | undefined;
|
|
2161
2217
|
} & {
|
|
2162
2218
|
sizes: {
|
|
2163
2219
|
size: bigint;
|
|
@@ -2173,10 +2229,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2173
2229
|
storageType: "scaleway" | "mongo";
|
|
2174
2230
|
sizeBefore: bigint;
|
|
2175
2231
|
md5Encrypted: string;
|
|
2176
|
-
access
|
|
2232
|
+
access?: {
|
|
2177
2233
|
key: string;
|
|
2178
2234
|
sharedByPubKey: string;
|
|
2179
|
-
};
|
|
2235
|
+
} | undefined;
|
|
2180
2236
|
} | null;
|
|
2181
2237
|
history: {
|
|
2182
2238
|
id: string;
|
|
@@ -2187,10 +2243,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2187
2243
|
storageType: "scaleway" | "mongo";
|
|
2188
2244
|
sizeBefore: bigint;
|
|
2189
2245
|
md5Encrypted: string;
|
|
2190
|
-
access
|
|
2246
|
+
access?: {
|
|
2191
2247
|
key: string;
|
|
2192
2248
|
sharedByPubKey: string;
|
|
2193
|
-
};
|
|
2249
|
+
} | undefined;
|
|
2194
2250
|
}[];
|
|
2195
2251
|
parent: ({
|
|
2196
2252
|
type: "FILE" | "FOLDER";
|
|
@@ -2211,12 +2267,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2211
2267
|
appId: string;
|
|
2212
2268
|
userId: string;
|
|
2213
2269
|
};
|
|
2214
|
-
access
|
|
2270
|
+
access?: {
|
|
2215
2271
|
rights: "admin" | "write" | "read";
|
|
2216
2272
|
nameKey: string | null;
|
|
2217
2273
|
isRoot: boolean;
|
|
2218
2274
|
sharedByPubKey: string;
|
|
2219
|
-
};
|
|
2275
|
+
} | undefined;
|
|
2220
2276
|
}) | null;
|
|
2221
2277
|
children: ({
|
|
2222
2278
|
type: "FILE" | "FOLDER";
|
|
@@ -2237,12 +2293,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2237
2293
|
appId: string;
|
|
2238
2294
|
userId: string;
|
|
2239
2295
|
};
|
|
2240
|
-
access
|
|
2296
|
+
access?: {
|
|
2241
2297
|
rights: "admin" | "write" | "read";
|
|
2242
2298
|
nameKey: string | null;
|
|
2243
2299
|
isRoot: boolean;
|
|
2244
2300
|
sharedByPubKey: string;
|
|
2245
|
-
};
|
|
2301
|
+
} | undefined;
|
|
2246
2302
|
})[];
|
|
2247
2303
|
};
|
|
2248
2304
|
_output_out: {
|
|
@@ -2264,12 +2320,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2264
2320
|
appId: string;
|
|
2265
2321
|
userId: string;
|
|
2266
2322
|
};
|
|
2267
|
-
access
|
|
2323
|
+
access?: {
|
|
2268
2324
|
rights: "admin" | "write" | "read";
|
|
2269
2325
|
nameKey: string | null;
|
|
2270
2326
|
isRoot: boolean;
|
|
2271
2327
|
sharedByPubKey: string;
|
|
2272
|
-
};
|
|
2328
|
+
} | undefined;
|
|
2273
2329
|
} & {
|
|
2274
2330
|
sizes: {
|
|
2275
2331
|
size: bigint;
|
|
@@ -2285,10 +2341,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2285
2341
|
storageType: "scaleway" | "mongo";
|
|
2286
2342
|
sizeBefore: bigint;
|
|
2287
2343
|
md5Encrypted: string;
|
|
2288
|
-
access
|
|
2344
|
+
access?: {
|
|
2289
2345
|
key: string;
|
|
2290
2346
|
sharedByPubKey: string;
|
|
2291
|
-
};
|
|
2347
|
+
} | undefined;
|
|
2292
2348
|
} | null;
|
|
2293
2349
|
history: {
|
|
2294
2350
|
id: string;
|
|
@@ -2299,10 +2355,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2299
2355
|
storageType: "scaleway" | "mongo";
|
|
2300
2356
|
sizeBefore: bigint;
|
|
2301
2357
|
md5Encrypted: string;
|
|
2302
|
-
access
|
|
2358
|
+
access?: {
|
|
2303
2359
|
key: string;
|
|
2304
2360
|
sharedByPubKey: string;
|
|
2305
|
-
};
|
|
2361
|
+
} | undefined;
|
|
2306
2362
|
}[];
|
|
2307
2363
|
parent: ({
|
|
2308
2364
|
type: "FILE" | "FOLDER";
|
|
@@ -2323,12 +2379,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2323
2379
|
appId: string;
|
|
2324
2380
|
userId: string;
|
|
2325
2381
|
};
|
|
2326
|
-
access
|
|
2382
|
+
access?: {
|
|
2327
2383
|
rights: "admin" | "write" | "read";
|
|
2328
2384
|
nameKey: string | null;
|
|
2329
2385
|
isRoot: boolean;
|
|
2330
2386
|
sharedByPubKey: string;
|
|
2331
|
-
};
|
|
2387
|
+
} | undefined;
|
|
2332
2388
|
}) | null;
|
|
2333
2389
|
children: ({
|
|
2334
2390
|
type: "FILE" | "FOLDER";
|
|
@@ -2349,12 +2405,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2349
2405
|
appId: string;
|
|
2350
2406
|
userId: string;
|
|
2351
2407
|
};
|
|
2352
|
-
access
|
|
2408
|
+
access?: {
|
|
2353
2409
|
rights: "admin" | "write" | "read";
|
|
2354
2410
|
nameKey: string | null;
|
|
2355
2411
|
isRoot: boolean;
|
|
2356
2412
|
sharedByPubKey: string;
|
|
2357
|
-
};
|
|
2413
|
+
} | undefined;
|
|
2358
2414
|
})[];
|
|
2359
2415
|
};
|
|
2360
2416
|
}, unknown>;
|
|
@@ -2634,12 +2690,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2634
2690
|
appId: string;
|
|
2635
2691
|
userId: string;
|
|
2636
2692
|
};
|
|
2637
|
-
access
|
|
2693
|
+
access?: {
|
|
2638
2694
|
rights: "admin" | "write" | "read";
|
|
2639
2695
|
nameKey: string | null;
|
|
2640
2696
|
isRoot: boolean;
|
|
2641
2697
|
sharedByPubKey: string;
|
|
2642
|
-
};
|
|
2698
|
+
} | undefined;
|
|
2643
2699
|
} & {
|
|
2644
2700
|
sizes: {
|
|
2645
2701
|
size: bigint;
|
|
@@ -2655,10 +2711,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2655
2711
|
storageType: "scaleway" | "mongo";
|
|
2656
2712
|
sizeBefore: bigint;
|
|
2657
2713
|
md5Encrypted: string;
|
|
2658
|
-
access
|
|
2714
|
+
access?: {
|
|
2659
2715
|
key: string;
|
|
2660
2716
|
sharedByPubKey: string;
|
|
2661
|
-
};
|
|
2717
|
+
} | undefined;
|
|
2662
2718
|
} | null;
|
|
2663
2719
|
history: {
|
|
2664
2720
|
id: string;
|
|
@@ -2669,10 +2725,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2669
2725
|
storageType: "scaleway" | "mongo";
|
|
2670
2726
|
sizeBefore: bigint;
|
|
2671
2727
|
md5Encrypted: string;
|
|
2672
|
-
access
|
|
2728
|
+
access?: {
|
|
2673
2729
|
key: string;
|
|
2674
2730
|
sharedByPubKey: string;
|
|
2675
|
-
};
|
|
2731
|
+
} | undefined;
|
|
2676
2732
|
}[];
|
|
2677
2733
|
parent: ({
|
|
2678
2734
|
type: "FILE" | "FOLDER";
|
|
@@ -2693,12 +2749,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2693
2749
|
appId: string;
|
|
2694
2750
|
userId: string;
|
|
2695
2751
|
};
|
|
2696
|
-
access
|
|
2752
|
+
access?: {
|
|
2697
2753
|
rights: "admin" | "write" | "read";
|
|
2698
2754
|
nameKey: string | null;
|
|
2699
2755
|
isRoot: boolean;
|
|
2700
2756
|
sharedByPubKey: string;
|
|
2701
|
-
};
|
|
2757
|
+
} | undefined;
|
|
2702
2758
|
}) | null;
|
|
2703
2759
|
children: ({
|
|
2704
2760
|
type: "FILE" | "FOLDER";
|
|
@@ -2719,12 +2775,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2719
2775
|
appId: string;
|
|
2720
2776
|
userId: string;
|
|
2721
2777
|
};
|
|
2722
|
-
access
|
|
2778
|
+
access?: {
|
|
2723
2779
|
rights: "admin" | "write" | "read";
|
|
2724
2780
|
nameKey: string | null;
|
|
2725
2781
|
isRoot: boolean;
|
|
2726
2782
|
sharedByPubKey: string;
|
|
2727
|
-
};
|
|
2783
|
+
} | undefined;
|
|
2728
2784
|
})[];
|
|
2729
2785
|
};
|
|
2730
2786
|
_output_out: {
|
|
@@ -2746,12 +2802,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2746
2802
|
appId: string;
|
|
2747
2803
|
userId: string;
|
|
2748
2804
|
};
|
|
2749
|
-
access
|
|
2805
|
+
access?: {
|
|
2750
2806
|
rights: "admin" | "write" | "read";
|
|
2751
2807
|
nameKey: string | null;
|
|
2752
2808
|
isRoot: boolean;
|
|
2753
2809
|
sharedByPubKey: string;
|
|
2754
|
-
};
|
|
2810
|
+
} | undefined;
|
|
2755
2811
|
} & {
|
|
2756
2812
|
sizes: {
|
|
2757
2813
|
size: bigint;
|
|
@@ -2767,10 +2823,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2767
2823
|
storageType: "scaleway" | "mongo";
|
|
2768
2824
|
sizeBefore: bigint;
|
|
2769
2825
|
md5Encrypted: string;
|
|
2770
|
-
access
|
|
2826
|
+
access?: {
|
|
2771
2827
|
key: string;
|
|
2772
2828
|
sharedByPubKey: string;
|
|
2773
|
-
};
|
|
2829
|
+
} | undefined;
|
|
2774
2830
|
} | null;
|
|
2775
2831
|
history: {
|
|
2776
2832
|
id: string;
|
|
@@ -2781,10 +2837,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2781
2837
|
storageType: "scaleway" | "mongo";
|
|
2782
2838
|
sizeBefore: bigint;
|
|
2783
2839
|
md5Encrypted: string;
|
|
2784
|
-
access
|
|
2840
|
+
access?: {
|
|
2785
2841
|
key: string;
|
|
2786
2842
|
sharedByPubKey: string;
|
|
2787
|
-
};
|
|
2843
|
+
} | undefined;
|
|
2788
2844
|
}[];
|
|
2789
2845
|
parent: ({
|
|
2790
2846
|
type: "FILE" | "FOLDER";
|
|
@@ -2805,12 +2861,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2805
2861
|
appId: string;
|
|
2806
2862
|
userId: string;
|
|
2807
2863
|
};
|
|
2808
|
-
access
|
|
2864
|
+
access?: {
|
|
2809
2865
|
rights: "admin" | "write" | "read";
|
|
2810
2866
|
nameKey: string | null;
|
|
2811
2867
|
isRoot: boolean;
|
|
2812
2868
|
sharedByPubKey: string;
|
|
2813
|
-
};
|
|
2869
|
+
} | undefined;
|
|
2814
2870
|
}) | null;
|
|
2815
2871
|
children: ({
|
|
2816
2872
|
type: "FILE" | "FOLDER";
|
|
@@ -2831,12 +2887,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
2831
2887
|
appId: string;
|
|
2832
2888
|
userId: string;
|
|
2833
2889
|
};
|
|
2834
|
-
access
|
|
2890
|
+
access?: {
|
|
2835
2891
|
rights: "admin" | "write" | "read";
|
|
2836
2892
|
nameKey: string | null;
|
|
2837
2893
|
isRoot: boolean;
|
|
2838
2894
|
sharedByPubKey: string;
|
|
2839
|
-
};
|
|
2895
|
+
} | undefined;
|
|
2840
2896
|
})[];
|
|
2841
2897
|
};
|
|
2842
2898
|
}, unknown>;
|
|
@@ -3090,22 +3146,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3090
3146
|
id: string;
|
|
3091
3147
|
};
|
|
3092
3148
|
_output_in: {
|
|
3093
|
-
rights: "admin" | "write" | "read";
|
|
3094
3149
|
userAppUserId: string;
|
|
3095
3150
|
userAppAppId: string;
|
|
3096
3151
|
sharedByUserId: string;
|
|
3097
3152
|
sharedByAppId: string;
|
|
3098
3153
|
nodeId: string;
|
|
3154
|
+
rights: "admin" | "write" | "read";
|
|
3099
3155
|
nameKey: string | null;
|
|
3100
3156
|
isRoot: boolean;
|
|
3101
3157
|
};
|
|
3102
3158
|
_output_out: {
|
|
3103
|
-
rights: "admin" | "write" | "read";
|
|
3104
3159
|
userAppUserId: string;
|
|
3105
3160
|
userAppAppId: string;
|
|
3106
3161
|
sharedByUserId: string;
|
|
3107
3162
|
sharedByAppId: string;
|
|
3108
3163
|
nodeId: string;
|
|
3164
|
+
rights: "admin" | "write" | "read";
|
|
3109
3165
|
nameKey: string | null;
|
|
3110
3166
|
isRoot: boolean;
|
|
3111
3167
|
};
|
|
@@ -3202,12 +3258,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3202
3258
|
appId: string;
|
|
3203
3259
|
userId: string;
|
|
3204
3260
|
};
|
|
3205
|
-
access
|
|
3261
|
+
access?: {
|
|
3206
3262
|
rights: "admin" | "write" | "read";
|
|
3207
3263
|
nameKey: string | null;
|
|
3208
3264
|
isRoot: boolean;
|
|
3209
3265
|
sharedByPubKey: string;
|
|
3210
|
-
};
|
|
3266
|
+
} | undefined;
|
|
3211
3267
|
};
|
|
3212
3268
|
_output_out: {
|
|
3213
3269
|
type: "FILE" | "FOLDER";
|
|
@@ -3228,12 +3284,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3228
3284
|
appId: string;
|
|
3229
3285
|
userId: string;
|
|
3230
3286
|
};
|
|
3231
|
-
access
|
|
3287
|
+
access?: {
|
|
3232
3288
|
rights: "admin" | "write" | "read";
|
|
3233
3289
|
nameKey: string | null;
|
|
3234
3290
|
isRoot: boolean;
|
|
3235
3291
|
sharedByPubKey: string;
|
|
3236
|
-
};
|
|
3292
|
+
} | undefined;
|
|
3237
3293
|
};
|
|
3238
3294
|
}, unknown>;
|
|
3239
3295
|
nodeFullById: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3286,12 +3342,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3286
3342
|
appId: string;
|
|
3287
3343
|
userId: string;
|
|
3288
3344
|
};
|
|
3289
|
-
access
|
|
3345
|
+
access?: {
|
|
3290
3346
|
rights: "admin" | "write" | "read";
|
|
3291
3347
|
nameKey: string | null;
|
|
3292
3348
|
isRoot: boolean;
|
|
3293
3349
|
sharedByPubKey: string;
|
|
3294
|
-
};
|
|
3350
|
+
} | undefined;
|
|
3295
3351
|
} & {
|
|
3296
3352
|
sizes: {
|
|
3297
3353
|
size: bigint;
|
|
@@ -3307,10 +3363,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3307
3363
|
storageType: "scaleway" | "mongo";
|
|
3308
3364
|
sizeBefore: bigint;
|
|
3309
3365
|
md5Encrypted: string;
|
|
3310
|
-
access
|
|
3366
|
+
access?: {
|
|
3311
3367
|
key: string;
|
|
3312
3368
|
sharedByPubKey: string;
|
|
3313
|
-
};
|
|
3369
|
+
} | undefined;
|
|
3314
3370
|
} | null;
|
|
3315
3371
|
history: {
|
|
3316
3372
|
id: string;
|
|
@@ -3321,10 +3377,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3321
3377
|
storageType: "scaleway" | "mongo";
|
|
3322
3378
|
sizeBefore: bigint;
|
|
3323
3379
|
md5Encrypted: string;
|
|
3324
|
-
access
|
|
3380
|
+
access?: {
|
|
3325
3381
|
key: string;
|
|
3326
3382
|
sharedByPubKey: string;
|
|
3327
|
-
};
|
|
3383
|
+
} | undefined;
|
|
3328
3384
|
}[];
|
|
3329
3385
|
parent: ({
|
|
3330
3386
|
type: "FILE" | "FOLDER";
|
|
@@ -3345,12 +3401,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3345
3401
|
appId: string;
|
|
3346
3402
|
userId: string;
|
|
3347
3403
|
};
|
|
3348
|
-
access
|
|
3404
|
+
access?: {
|
|
3349
3405
|
rights: "admin" | "write" | "read";
|
|
3350
3406
|
nameKey: string | null;
|
|
3351
3407
|
isRoot: boolean;
|
|
3352
3408
|
sharedByPubKey: string;
|
|
3353
|
-
};
|
|
3409
|
+
} | undefined;
|
|
3354
3410
|
}) | null;
|
|
3355
3411
|
children: ({
|
|
3356
3412
|
type: "FILE" | "FOLDER";
|
|
@@ -3371,12 +3427,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3371
3427
|
appId: string;
|
|
3372
3428
|
userId: string;
|
|
3373
3429
|
};
|
|
3374
|
-
access
|
|
3430
|
+
access?: {
|
|
3375
3431
|
rights: "admin" | "write" | "read";
|
|
3376
3432
|
nameKey: string | null;
|
|
3377
3433
|
isRoot: boolean;
|
|
3378
3434
|
sharedByPubKey: string;
|
|
3379
|
-
};
|
|
3435
|
+
} | undefined;
|
|
3380
3436
|
})[];
|
|
3381
3437
|
};
|
|
3382
3438
|
_output_out: {
|
|
@@ -3398,12 +3454,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3398
3454
|
appId: string;
|
|
3399
3455
|
userId: string;
|
|
3400
3456
|
};
|
|
3401
|
-
access
|
|
3457
|
+
access?: {
|
|
3402
3458
|
rights: "admin" | "write" | "read";
|
|
3403
3459
|
nameKey: string | null;
|
|
3404
3460
|
isRoot: boolean;
|
|
3405
3461
|
sharedByPubKey: string;
|
|
3406
|
-
};
|
|
3462
|
+
} | undefined;
|
|
3407
3463
|
} & {
|
|
3408
3464
|
sizes: {
|
|
3409
3465
|
size: bigint;
|
|
@@ -3419,10 +3475,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3419
3475
|
storageType: "scaleway" | "mongo";
|
|
3420
3476
|
sizeBefore: bigint;
|
|
3421
3477
|
md5Encrypted: string;
|
|
3422
|
-
access
|
|
3478
|
+
access?: {
|
|
3423
3479
|
key: string;
|
|
3424
3480
|
sharedByPubKey: string;
|
|
3425
|
-
};
|
|
3481
|
+
} | undefined;
|
|
3426
3482
|
} | null;
|
|
3427
3483
|
history: {
|
|
3428
3484
|
id: string;
|
|
@@ -3433,10 +3489,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3433
3489
|
storageType: "scaleway" | "mongo";
|
|
3434
3490
|
sizeBefore: bigint;
|
|
3435
3491
|
md5Encrypted: string;
|
|
3436
|
-
access
|
|
3492
|
+
access?: {
|
|
3437
3493
|
key: string;
|
|
3438
3494
|
sharedByPubKey: string;
|
|
3439
|
-
};
|
|
3495
|
+
} | undefined;
|
|
3440
3496
|
}[];
|
|
3441
3497
|
parent: ({
|
|
3442
3498
|
type: "FILE" | "FOLDER";
|
|
@@ -3457,12 +3513,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3457
3513
|
appId: string;
|
|
3458
3514
|
userId: string;
|
|
3459
3515
|
};
|
|
3460
|
-
access
|
|
3516
|
+
access?: {
|
|
3461
3517
|
rights: "admin" | "write" | "read";
|
|
3462
3518
|
nameKey: string | null;
|
|
3463
3519
|
isRoot: boolean;
|
|
3464
3520
|
sharedByPubKey: string;
|
|
3465
|
-
};
|
|
3521
|
+
} | undefined;
|
|
3466
3522
|
}) | null;
|
|
3467
3523
|
children: ({
|
|
3468
3524
|
type: "FILE" | "FOLDER";
|
|
@@ -3483,12 +3539,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3483
3539
|
appId: string;
|
|
3484
3540
|
userId: string;
|
|
3485
3541
|
};
|
|
3486
|
-
access
|
|
3542
|
+
access?: {
|
|
3487
3543
|
rights: "admin" | "write" | "read";
|
|
3488
3544
|
nameKey: string | null;
|
|
3489
3545
|
isRoot: boolean;
|
|
3490
3546
|
sharedByPubKey: string;
|
|
3491
|
-
};
|
|
3547
|
+
} | undefined;
|
|
3492
3548
|
})[];
|
|
3493
3549
|
};
|
|
3494
3550
|
}, unknown>;
|
|
@@ -3574,12 +3630,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3574
3630
|
appId: string;
|
|
3575
3631
|
userId: string;
|
|
3576
3632
|
};
|
|
3577
|
-
access
|
|
3633
|
+
access?: {
|
|
3578
3634
|
rights: "admin" | "write" | "read";
|
|
3579
3635
|
nameKey: string | null;
|
|
3580
3636
|
isRoot: boolean;
|
|
3581
3637
|
sharedByPubKey: string;
|
|
3582
|
-
};
|
|
3638
|
+
} | undefined;
|
|
3583
3639
|
})[];
|
|
3584
3640
|
_output_out: ({
|
|
3585
3641
|
type: "FILE" | "FOLDER";
|
|
@@ -3600,12 +3656,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3600
3656
|
appId: string;
|
|
3601
3657
|
userId: string;
|
|
3602
3658
|
};
|
|
3603
|
-
access
|
|
3659
|
+
access?: {
|
|
3604
3660
|
rights: "admin" | "write" | "read";
|
|
3605
3661
|
nameKey: string | null;
|
|
3606
3662
|
isRoot: boolean;
|
|
3607
3663
|
sharedByPubKey: string;
|
|
3608
|
-
};
|
|
3664
|
+
} | undefined;
|
|
3609
3665
|
})[];
|
|
3610
3666
|
}, unknown>;
|
|
3611
3667
|
nodesSharedWithMe: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3656,12 +3712,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3656
3712
|
appId: string;
|
|
3657
3713
|
userId: string;
|
|
3658
3714
|
};
|
|
3659
|
-
access
|
|
3715
|
+
access?: {
|
|
3660
3716
|
rights: "admin" | "write" | "read";
|
|
3661
3717
|
nameKey: string | null;
|
|
3662
3718
|
isRoot: boolean;
|
|
3663
3719
|
sharedByPubKey: string;
|
|
3664
|
-
};
|
|
3720
|
+
} | undefined;
|
|
3665
3721
|
})[];
|
|
3666
3722
|
_output_out: ({
|
|
3667
3723
|
type: "FILE" | "FOLDER";
|
|
@@ -3682,12 +3738,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3682
3738
|
appId: string;
|
|
3683
3739
|
userId: string;
|
|
3684
3740
|
};
|
|
3685
|
-
access
|
|
3741
|
+
access?: {
|
|
3686
3742
|
rights: "admin" | "write" | "read";
|
|
3687
3743
|
nameKey: string | null;
|
|
3688
3744
|
isRoot: boolean;
|
|
3689
3745
|
sharedByPubKey: string;
|
|
3690
|
-
};
|
|
3746
|
+
} | undefined;
|
|
3691
3747
|
})[];
|
|
3692
3748
|
}, unknown>;
|
|
3693
3749
|
nodesShared: _trpc_server.BuildProcedure<"query", {
|
|
@@ -3734,12 +3790,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3734
3790
|
appId: string;
|
|
3735
3791
|
userId: string;
|
|
3736
3792
|
};
|
|
3737
|
-
access
|
|
3793
|
+
access?: {
|
|
3738
3794
|
rights: "admin" | "write" | "read";
|
|
3739
3795
|
nameKey: string | null;
|
|
3740
3796
|
isRoot: boolean;
|
|
3741
3797
|
sharedByPubKey: string;
|
|
3742
|
-
};
|
|
3798
|
+
} | undefined;
|
|
3743
3799
|
})[];
|
|
3744
3800
|
_output_out: ({
|
|
3745
3801
|
type: "FILE" | "FOLDER";
|
|
@@ -3760,12 +3816,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3760
3816
|
appId: string;
|
|
3761
3817
|
userId: string;
|
|
3762
3818
|
};
|
|
3763
|
-
access
|
|
3819
|
+
access?: {
|
|
3764
3820
|
rights: "admin" | "write" | "read";
|
|
3765
3821
|
nameKey: string | null;
|
|
3766
3822
|
isRoot: boolean;
|
|
3767
3823
|
sharedByPubKey: string;
|
|
3768
|
-
};
|
|
3824
|
+
} | undefined;
|
|
3769
3825
|
})[];
|
|
3770
3826
|
}, unknown>;
|
|
3771
3827
|
recoverNode: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -3829,7 +3885,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3829
3885
|
_ctx_out: {};
|
|
3830
3886
|
_input_in: {
|
|
3831
3887
|
userId: string;
|
|
3832
|
-
rights: "admin" | "write" | "read";
|
|
3833
3888
|
nodes: {
|
|
3834
3889
|
id: string;
|
|
3835
3890
|
files: {
|
|
@@ -3838,10 +3893,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3838
3893
|
}[];
|
|
3839
3894
|
nameKey: string;
|
|
3840
3895
|
}[];
|
|
3896
|
+
rights: "admin" | "write" | "read";
|
|
3841
3897
|
};
|
|
3842
3898
|
_input_out: {
|
|
3843
3899
|
userId: string;
|
|
3844
|
-
rights: "admin" | "write" | "read";
|
|
3845
3900
|
nodes: {
|
|
3846
3901
|
id: string;
|
|
3847
3902
|
files: {
|
|
@@ -3850,6 +3905,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3850
3905
|
}[];
|
|
3851
3906
|
nameKey: string;
|
|
3852
3907
|
}[];
|
|
3908
|
+
rights: "admin" | "write" | "read";
|
|
3853
3909
|
};
|
|
3854
3910
|
_output_in: {
|
|
3855
3911
|
isFinished: boolean;
|
|
@@ -3950,12 +4006,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3950
4006
|
appId: string;
|
|
3951
4007
|
userId: string;
|
|
3952
4008
|
};
|
|
3953
|
-
access
|
|
4009
|
+
access?: {
|
|
3954
4010
|
rights: "admin" | "write" | "read";
|
|
3955
4011
|
nameKey: string | null;
|
|
3956
4012
|
isRoot: boolean;
|
|
3957
4013
|
sharedByPubKey: string;
|
|
3958
|
-
};
|
|
4014
|
+
} | undefined;
|
|
3959
4015
|
} & {
|
|
3960
4016
|
sizes: {
|
|
3961
4017
|
size: bigint;
|
|
@@ -3971,10 +4027,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3971
4027
|
storageType: "scaleway" | "mongo";
|
|
3972
4028
|
sizeBefore: bigint;
|
|
3973
4029
|
md5Encrypted: string;
|
|
3974
|
-
access
|
|
4030
|
+
access?: {
|
|
3975
4031
|
key: string;
|
|
3976
4032
|
sharedByPubKey: string;
|
|
3977
|
-
};
|
|
4033
|
+
} | undefined;
|
|
3978
4034
|
} | null;
|
|
3979
4035
|
history: {
|
|
3980
4036
|
id: string;
|
|
@@ -3985,10 +4041,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
3985
4041
|
storageType: "scaleway" | "mongo";
|
|
3986
4042
|
sizeBefore: bigint;
|
|
3987
4043
|
md5Encrypted: string;
|
|
3988
|
-
access
|
|
4044
|
+
access?: {
|
|
3989
4045
|
key: string;
|
|
3990
4046
|
sharedByPubKey: string;
|
|
3991
|
-
};
|
|
4047
|
+
} | undefined;
|
|
3992
4048
|
}[];
|
|
3993
4049
|
parent: ({
|
|
3994
4050
|
type: "FILE" | "FOLDER";
|
|
@@ -4009,12 +4065,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4009
4065
|
appId: string;
|
|
4010
4066
|
userId: string;
|
|
4011
4067
|
};
|
|
4012
|
-
access
|
|
4068
|
+
access?: {
|
|
4013
4069
|
rights: "admin" | "write" | "read";
|
|
4014
4070
|
nameKey: string | null;
|
|
4015
4071
|
isRoot: boolean;
|
|
4016
4072
|
sharedByPubKey: string;
|
|
4017
|
-
};
|
|
4073
|
+
} | undefined;
|
|
4018
4074
|
}) | null;
|
|
4019
4075
|
children: ({
|
|
4020
4076
|
type: "FILE" | "FOLDER";
|
|
@@ -4035,12 +4091,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4035
4091
|
appId: string;
|
|
4036
4092
|
userId: string;
|
|
4037
4093
|
};
|
|
4038
|
-
access
|
|
4094
|
+
access?: {
|
|
4039
4095
|
rights: "admin" | "write" | "read";
|
|
4040
4096
|
nameKey: string | null;
|
|
4041
4097
|
isRoot: boolean;
|
|
4042
4098
|
sharedByPubKey: string;
|
|
4043
|
-
};
|
|
4099
|
+
} | undefined;
|
|
4044
4100
|
})[];
|
|
4045
4101
|
};
|
|
4046
4102
|
_output_out: {
|
|
@@ -4062,12 +4118,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4062
4118
|
appId: string;
|
|
4063
4119
|
userId: string;
|
|
4064
4120
|
};
|
|
4065
|
-
access
|
|
4121
|
+
access?: {
|
|
4066
4122
|
rights: "admin" | "write" | "read";
|
|
4067
4123
|
nameKey: string | null;
|
|
4068
4124
|
isRoot: boolean;
|
|
4069
4125
|
sharedByPubKey: string;
|
|
4070
|
-
};
|
|
4126
|
+
} | undefined;
|
|
4071
4127
|
} & {
|
|
4072
4128
|
sizes: {
|
|
4073
4129
|
size: bigint;
|
|
@@ -4083,10 +4139,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4083
4139
|
storageType: "scaleway" | "mongo";
|
|
4084
4140
|
sizeBefore: bigint;
|
|
4085
4141
|
md5Encrypted: string;
|
|
4086
|
-
access
|
|
4142
|
+
access?: {
|
|
4087
4143
|
key: string;
|
|
4088
4144
|
sharedByPubKey: string;
|
|
4089
|
-
};
|
|
4145
|
+
} | undefined;
|
|
4090
4146
|
} | null;
|
|
4091
4147
|
history: {
|
|
4092
4148
|
id: string;
|
|
@@ -4097,10 +4153,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4097
4153
|
storageType: "scaleway" | "mongo";
|
|
4098
4154
|
sizeBefore: bigint;
|
|
4099
4155
|
md5Encrypted: string;
|
|
4100
|
-
access
|
|
4156
|
+
access?: {
|
|
4101
4157
|
key: string;
|
|
4102
4158
|
sharedByPubKey: string;
|
|
4103
|
-
};
|
|
4159
|
+
} | undefined;
|
|
4104
4160
|
}[];
|
|
4105
4161
|
parent: ({
|
|
4106
4162
|
type: "FILE" | "FOLDER";
|
|
@@ -4121,12 +4177,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4121
4177
|
appId: string;
|
|
4122
4178
|
userId: string;
|
|
4123
4179
|
};
|
|
4124
|
-
access
|
|
4180
|
+
access?: {
|
|
4125
4181
|
rights: "admin" | "write" | "read";
|
|
4126
4182
|
nameKey: string | null;
|
|
4127
4183
|
isRoot: boolean;
|
|
4128
4184
|
sharedByPubKey: string;
|
|
4129
|
-
};
|
|
4185
|
+
} | undefined;
|
|
4130
4186
|
}) | null;
|
|
4131
4187
|
children: ({
|
|
4132
4188
|
type: "FILE" | "FOLDER";
|
|
@@ -4147,12 +4203,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4147
4203
|
appId: string;
|
|
4148
4204
|
userId: string;
|
|
4149
4205
|
};
|
|
4150
|
-
access
|
|
4206
|
+
access?: {
|
|
4151
4207
|
rights: "admin" | "write" | "read";
|
|
4152
4208
|
nameKey: string | null;
|
|
4153
4209
|
isRoot: boolean;
|
|
4154
4210
|
sharedByPubKey: string;
|
|
4155
|
-
};
|
|
4211
|
+
} | undefined;
|
|
4156
4212
|
})[];
|
|
4157
4213
|
};
|
|
4158
4214
|
}, unknown>;
|
|
@@ -4416,6 +4472,531 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4416
4472
|
};
|
|
4417
4473
|
transformer: typeof superjson.default;
|
|
4418
4474
|
}>, {
|
|
4475
|
+
orm: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|
|
4476
|
+
ctx: {};
|
|
4477
|
+
meta: object;
|
|
4478
|
+
errorShape: {
|
|
4479
|
+
message: string;
|
|
4480
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4481
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4482
|
+
} | {
|
|
4483
|
+
data: {
|
|
4484
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4485
|
+
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";
|
|
4486
|
+
httpStatus: number;
|
|
4487
|
+
path?: string | undefined;
|
|
4488
|
+
stack?: string | undefined;
|
|
4489
|
+
};
|
|
4490
|
+
message: string;
|
|
4491
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4492
|
+
};
|
|
4493
|
+
transformer: typeof superjson.default;
|
|
4494
|
+
}>, {
|
|
4495
|
+
create: _trpc_server.BuildProcedure<"mutation", {
|
|
4496
|
+
_config: _trpc_server.RootConfig<{
|
|
4497
|
+
ctx: {};
|
|
4498
|
+
meta: object;
|
|
4499
|
+
errorShape: {
|
|
4500
|
+
message: string;
|
|
4501
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4502
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4503
|
+
} | {
|
|
4504
|
+
data: {
|
|
4505
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4506
|
+
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";
|
|
4507
|
+
httpStatus: number;
|
|
4508
|
+
path?: string | undefined;
|
|
4509
|
+
stack?: string | undefined;
|
|
4510
|
+
};
|
|
4511
|
+
message: string;
|
|
4512
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4513
|
+
};
|
|
4514
|
+
transformer: typeof superjson.default;
|
|
4515
|
+
}>;
|
|
4516
|
+
_meta: object;
|
|
4517
|
+
_ctx_out: {
|
|
4518
|
+
session: {
|
|
4519
|
+
appId: string;
|
|
4520
|
+
appPlanId: string | null;
|
|
4521
|
+
appFakeUserId: string | undefined;
|
|
4522
|
+
sessionId: string;
|
|
4523
|
+
accountId: string;
|
|
4524
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4525
|
+
userId: string;
|
|
4526
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4527
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4528
|
+
};
|
|
4529
|
+
req: {
|
|
4530
|
+
headers: Headers;
|
|
4531
|
+
};
|
|
4532
|
+
res: {
|
|
4533
|
+
headers: Headers;
|
|
4534
|
+
};
|
|
4535
|
+
locale: Locales;
|
|
4536
|
+
ls: TranslationFunctions;
|
|
4537
|
+
};
|
|
4538
|
+
_input_in: {
|
|
4539
|
+
data: Record<string, unknown>;
|
|
4540
|
+
appEnv: string;
|
|
4541
|
+
appTable: string;
|
|
4542
|
+
appId?: string | undefined;
|
|
4543
|
+
};
|
|
4544
|
+
_input_out: {
|
|
4545
|
+
data: Record<string, unknown>;
|
|
4546
|
+
appEnv: string;
|
|
4547
|
+
appTable: string;
|
|
4548
|
+
appId?: string | undefined;
|
|
4549
|
+
};
|
|
4550
|
+
_output_in: Record<string, unknown>;
|
|
4551
|
+
_output_out: Record<string, unknown>;
|
|
4552
|
+
}, unknown>;
|
|
4553
|
+
createMany: _trpc_server.BuildProcedure<"mutation", {
|
|
4554
|
+
_config: _trpc_server.RootConfig<{
|
|
4555
|
+
ctx: {};
|
|
4556
|
+
meta: object;
|
|
4557
|
+
errorShape: {
|
|
4558
|
+
message: string;
|
|
4559
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4560
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4561
|
+
} | {
|
|
4562
|
+
data: {
|
|
4563
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4564
|
+
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";
|
|
4565
|
+
httpStatus: number;
|
|
4566
|
+
path?: string | undefined;
|
|
4567
|
+
stack?: string | undefined;
|
|
4568
|
+
};
|
|
4569
|
+
message: string;
|
|
4570
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4571
|
+
};
|
|
4572
|
+
transformer: typeof superjson.default;
|
|
4573
|
+
}>;
|
|
4574
|
+
_meta: object;
|
|
4575
|
+
_ctx_out: {
|
|
4576
|
+
session: {
|
|
4577
|
+
appId: string;
|
|
4578
|
+
appPlanId: string | null;
|
|
4579
|
+
appFakeUserId: string | undefined;
|
|
4580
|
+
sessionId: string;
|
|
4581
|
+
accountId: string;
|
|
4582
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4583
|
+
userId: string;
|
|
4584
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4585
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4586
|
+
};
|
|
4587
|
+
req: {
|
|
4588
|
+
headers: Headers;
|
|
4589
|
+
};
|
|
4590
|
+
res: {
|
|
4591
|
+
headers: Headers;
|
|
4592
|
+
};
|
|
4593
|
+
locale: Locales;
|
|
4594
|
+
ls: TranslationFunctions;
|
|
4595
|
+
};
|
|
4596
|
+
_input_in: {
|
|
4597
|
+
data: Record<string, unknown>[];
|
|
4598
|
+
appEnv: string;
|
|
4599
|
+
appTable: string;
|
|
4600
|
+
appId?: string | undefined;
|
|
4601
|
+
};
|
|
4602
|
+
_input_out: {
|
|
4603
|
+
data: Record<string, unknown>[];
|
|
4604
|
+
appEnv: string;
|
|
4605
|
+
appTable: string;
|
|
4606
|
+
appId?: string | undefined;
|
|
4607
|
+
};
|
|
4608
|
+
_output_in: {
|
|
4609
|
+
count: number;
|
|
4610
|
+
};
|
|
4611
|
+
_output_out: {
|
|
4612
|
+
count: number;
|
|
4613
|
+
};
|
|
4614
|
+
}, unknown>;
|
|
4615
|
+
delete: _trpc_server.BuildProcedure<"mutation", {
|
|
4616
|
+
_config: _trpc_server.RootConfig<{
|
|
4617
|
+
ctx: {};
|
|
4618
|
+
meta: object;
|
|
4619
|
+
errorShape: {
|
|
4620
|
+
message: string;
|
|
4621
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4622
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4623
|
+
} | {
|
|
4624
|
+
data: {
|
|
4625
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4626
|
+
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";
|
|
4627
|
+
httpStatus: number;
|
|
4628
|
+
path?: string | undefined;
|
|
4629
|
+
stack?: string | undefined;
|
|
4630
|
+
};
|
|
4631
|
+
message: string;
|
|
4632
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4633
|
+
};
|
|
4634
|
+
transformer: typeof superjson.default;
|
|
4635
|
+
}>;
|
|
4636
|
+
_meta: object;
|
|
4637
|
+
_ctx_out: {
|
|
4638
|
+
session: {
|
|
4639
|
+
appId: string;
|
|
4640
|
+
appPlanId: string | null;
|
|
4641
|
+
appFakeUserId: string | undefined;
|
|
4642
|
+
sessionId: string;
|
|
4643
|
+
accountId: string;
|
|
4644
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4645
|
+
userId: string;
|
|
4646
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4647
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4648
|
+
};
|
|
4649
|
+
req: {
|
|
4650
|
+
headers: Headers;
|
|
4651
|
+
};
|
|
4652
|
+
res: {
|
|
4653
|
+
headers: Headers;
|
|
4654
|
+
};
|
|
4655
|
+
locale: Locales;
|
|
4656
|
+
ls: TranslationFunctions;
|
|
4657
|
+
};
|
|
4658
|
+
_input_in: {
|
|
4659
|
+
where: Record<string, unknown>;
|
|
4660
|
+
appEnv: string;
|
|
4661
|
+
appTable: string;
|
|
4662
|
+
appId?: string | undefined;
|
|
4663
|
+
};
|
|
4664
|
+
_input_out: {
|
|
4665
|
+
where: Record<string, unknown>;
|
|
4666
|
+
appEnv: string;
|
|
4667
|
+
appTable: string;
|
|
4668
|
+
appId?: string | undefined;
|
|
4669
|
+
};
|
|
4670
|
+
_output_in: {
|
|
4671
|
+
count: number;
|
|
4672
|
+
};
|
|
4673
|
+
_output_out: {
|
|
4674
|
+
count: number;
|
|
4675
|
+
};
|
|
4676
|
+
}, unknown>;
|
|
4677
|
+
deleteMany: _trpc_server.BuildProcedure<"mutation", {
|
|
4678
|
+
_config: _trpc_server.RootConfig<{
|
|
4679
|
+
ctx: {};
|
|
4680
|
+
meta: object;
|
|
4681
|
+
errorShape: {
|
|
4682
|
+
message: string;
|
|
4683
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4684
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4685
|
+
} | {
|
|
4686
|
+
data: {
|
|
4687
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4688
|
+
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";
|
|
4689
|
+
httpStatus: number;
|
|
4690
|
+
path?: string | undefined;
|
|
4691
|
+
stack?: string | undefined;
|
|
4692
|
+
};
|
|
4693
|
+
message: string;
|
|
4694
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4695
|
+
};
|
|
4696
|
+
transformer: typeof superjson.default;
|
|
4697
|
+
}>;
|
|
4698
|
+
_meta: object;
|
|
4699
|
+
_ctx_out: {
|
|
4700
|
+
session: {
|
|
4701
|
+
appId: string;
|
|
4702
|
+
appPlanId: string | null;
|
|
4703
|
+
appFakeUserId: string | undefined;
|
|
4704
|
+
sessionId: string;
|
|
4705
|
+
accountId: string;
|
|
4706
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4707
|
+
userId: string;
|
|
4708
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4709
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4710
|
+
};
|
|
4711
|
+
req: {
|
|
4712
|
+
headers: Headers;
|
|
4713
|
+
};
|
|
4714
|
+
res: {
|
|
4715
|
+
headers: Headers;
|
|
4716
|
+
};
|
|
4717
|
+
locale: Locales;
|
|
4718
|
+
ls: TranslationFunctions;
|
|
4719
|
+
};
|
|
4720
|
+
_input_in: {
|
|
4721
|
+
appEnv: string;
|
|
4722
|
+
appTable: string;
|
|
4723
|
+
appId?: string | undefined;
|
|
4724
|
+
where?: Record<string, unknown> | undefined;
|
|
4725
|
+
};
|
|
4726
|
+
_input_out: {
|
|
4727
|
+
appEnv: string;
|
|
4728
|
+
appTable: string;
|
|
4729
|
+
appId?: string | undefined;
|
|
4730
|
+
where?: Record<string, unknown> | undefined;
|
|
4731
|
+
};
|
|
4732
|
+
_output_in: {
|
|
4733
|
+
count: number;
|
|
4734
|
+
};
|
|
4735
|
+
_output_out: {
|
|
4736
|
+
count: number;
|
|
4737
|
+
};
|
|
4738
|
+
}, unknown>;
|
|
4739
|
+
findFirst: _trpc_server.BuildProcedure<"query", {
|
|
4740
|
+
_config: _trpc_server.RootConfig<{
|
|
4741
|
+
ctx: {};
|
|
4742
|
+
meta: object;
|
|
4743
|
+
errorShape: {
|
|
4744
|
+
message: string;
|
|
4745
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4746
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4747
|
+
} | {
|
|
4748
|
+
data: {
|
|
4749
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4750
|
+
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";
|
|
4751
|
+
httpStatus: number;
|
|
4752
|
+
path?: string | undefined;
|
|
4753
|
+
stack?: string | undefined;
|
|
4754
|
+
};
|
|
4755
|
+
message: string;
|
|
4756
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4757
|
+
};
|
|
4758
|
+
transformer: typeof superjson.default;
|
|
4759
|
+
}>;
|
|
4760
|
+
_meta: object;
|
|
4761
|
+
_ctx_out: {
|
|
4762
|
+
session: {
|
|
4763
|
+
appId: string;
|
|
4764
|
+
appPlanId: string | null;
|
|
4765
|
+
appFakeUserId: string | undefined;
|
|
4766
|
+
sessionId: string;
|
|
4767
|
+
accountId: string;
|
|
4768
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4769
|
+
userId: string;
|
|
4770
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4771
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4772
|
+
};
|
|
4773
|
+
req: {
|
|
4774
|
+
headers: Headers;
|
|
4775
|
+
};
|
|
4776
|
+
res: {
|
|
4777
|
+
headers: Headers;
|
|
4778
|
+
};
|
|
4779
|
+
locale: Locales;
|
|
4780
|
+
ls: TranslationFunctions;
|
|
4781
|
+
};
|
|
4782
|
+
_input_in: {
|
|
4783
|
+
where: Record<string, unknown>;
|
|
4784
|
+
appEnv: string;
|
|
4785
|
+
appTable: string;
|
|
4786
|
+
appId?: string | undefined;
|
|
4787
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4788
|
+
};
|
|
4789
|
+
_input_out: {
|
|
4790
|
+
where: Record<string, unknown>;
|
|
4791
|
+
appEnv: string;
|
|
4792
|
+
appTable: string;
|
|
4793
|
+
appId?: string | undefined;
|
|
4794
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4795
|
+
};
|
|
4796
|
+
_output_in: Record<string, unknown> | null;
|
|
4797
|
+
_output_out: Record<string, unknown> | null;
|
|
4798
|
+
}, unknown>;
|
|
4799
|
+
findMany: _trpc_server.BuildProcedure<"query", {
|
|
4800
|
+
_config: _trpc_server.RootConfig<{
|
|
4801
|
+
ctx: {};
|
|
4802
|
+
meta: object;
|
|
4803
|
+
errorShape: {
|
|
4804
|
+
message: string;
|
|
4805
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4806
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4807
|
+
} | {
|
|
4808
|
+
data: {
|
|
4809
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4810
|
+
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";
|
|
4811
|
+
httpStatus: number;
|
|
4812
|
+
path?: string | undefined;
|
|
4813
|
+
stack?: string | undefined;
|
|
4814
|
+
};
|
|
4815
|
+
message: string;
|
|
4816
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4817
|
+
};
|
|
4818
|
+
transformer: typeof superjson.default;
|
|
4819
|
+
}>;
|
|
4820
|
+
_meta: object;
|
|
4821
|
+
_ctx_out: {
|
|
4822
|
+
session: {
|
|
4823
|
+
appId: string;
|
|
4824
|
+
appPlanId: string | null;
|
|
4825
|
+
appFakeUserId: string | undefined;
|
|
4826
|
+
sessionId: string;
|
|
4827
|
+
accountId: string;
|
|
4828
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4829
|
+
userId: string;
|
|
4830
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4831
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4832
|
+
};
|
|
4833
|
+
req: {
|
|
4834
|
+
headers: Headers;
|
|
4835
|
+
};
|
|
4836
|
+
res: {
|
|
4837
|
+
headers: Headers;
|
|
4838
|
+
};
|
|
4839
|
+
locale: Locales;
|
|
4840
|
+
ls: TranslationFunctions;
|
|
4841
|
+
};
|
|
4842
|
+
_input_in: {
|
|
4843
|
+
appEnv: string;
|
|
4844
|
+
appTable: string;
|
|
4845
|
+
appId?: string | undefined;
|
|
4846
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4847
|
+
where?: Record<string, unknown> | undefined;
|
|
4848
|
+
take?: number | undefined;
|
|
4849
|
+
skip?: number | undefined;
|
|
4850
|
+
orderBy?: Record<string, "asc" | "desc"> | undefined;
|
|
4851
|
+
};
|
|
4852
|
+
_input_out: {
|
|
4853
|
+
appEnv: string;
|
|
4854
|
+
appTable: string;
|
|
4855
|
+
appId?: string | undefined;
|
|
4856
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4857
|
+
where?: Record<string, unknown> | undefined;
|
|
4858
|
+
take?: number | undefined;
|
|
4859
|
+
skip?: number | undefined;
|
|
4860
|
+
orderBy?: Record<string, "asc" | "desc"> | undefined;
|
|
4861
|
+
};
|
|
4862
|
+
_output_in: Record<string, unknown>[];
|
|
4863
|
+
_output_out: Record<string, unknown>[];
|
|
4864
|
+
}, unknown>;
|
|
4865
|
+
update: _trpc_server.BuildProcedure<"mutation", {
|
|
4866
|
+
_config: _trpc_server.RootConfig<{
|
|
4867
|
+
ctx: {};
|
|
4868
|
+
meta: object;
|
|
4869
|
+
errorShape: {
|
|
4870
|
+
message: string;
|
|
4871
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4872
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4873
|
+
} | {
|
|
4874
|
+
data: {
|
|
4875
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4876
|
+
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";
|
|
4877
|
+
httpStatus: number;
|
|
4878
|
+
path?: string | undefined;
|
|
4879
|
+
stack?: string | undefined;
|
|
4880
|
+
};
|
|
4881
|
+
message: string;
|
|
4882
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4883
|
+
};
|
|
4884
|
+
transformer: typeof superjson.default;
|
|
4885
|
+
}>;
|
|
4886
|
+
_meta: object;
|
|
4887
|
+
_ctx_out: {
|
|
4888
|
+
session: {
|
|
4889
|
+
appId: string;
|
|
4890
|
+
appPlanId: string | null;
|
|
4891
|
+
appFakeUserId: string | undefined;
|
|
4892
|
+
sessionId: string;
|
|
4893
|
+
accountId: string;
|
|
4894
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4895
|
+
userId: string;
|
|
4896
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4897
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4898
|
+
};
|
|
4899
|
+
req: {
|
|
4900
|
+
headers: Headers;
|
|
4901
|
+
};
|
|
4902
|
+
res: {
|
|
4903
|
+
headers: Headers;
|
|
4904
|
+
};
|
|
4905
|
+
locale: Locales;
|
|
4906
|
+
ls: TranslationFunctions;
|
|
4907
|
+
};
|
|
4908
|
+
_input_in: {
|
|
4909
|
+
where: Record<string, unknown>;
|
|
4910
|
+
data: Record<string, unknown>;
|
|
4911
|
+
appEnv: string;
|
|
4912
|
+
appTable: string;
|
|
4913
|
+
appId?: string | undefined;
|
|
4914
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4915
|
+
};
|
|
4916
|
+
_input_out: {
|
|
4917
|
+
where: Record<string, unknown>;
|
|
4918
|
+
data: Record<string, unknown>;
|
|
4919
|
+
appEnv: string;
|
|
4920
|
+
appTable: string;
|
|
4921
|
+
appId?: string | undefined;
|
|
4922
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4923
|
+
};
|
|
4924
|
+
_output_in: Record<string, unknown>;
|
|
4925
|
+
_output_out: Record<string, unknown>;
|
|
4926
|
+
}, unknown>;
|
|
4927
|
+
updateMany: _trpc_server.BuildProcedure<"mutation", {
|
|
4928
|
+
_config: _trpc_server.RootConfig<{
|
|
4929
|
+
ctx: {};
|
|
4930
|
+
meta: object;
|
|
4931
|
+
errorShape: {
|
|
4932
|
+
message: string;
|
|
4933
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4934
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
4935
|
+
} | {
|
|
4936
|
+
data: {
|
|
4937
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
4938
|
+
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";
|
|
4939
|
+
httpStatus: number;
|
|
4940
|
+
path?: string | undefined;
|
|
4941
|
+
stack?: string | undefined;
|
|
4942
|
+
};
|
|
4943
|
+
message: string;
|
|
4944
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
4945
|
+
};
|
|
4946
|
+
transformer: typeof superjson.default;
|
|
4947
|
+
}>;
|
|
4948
|
+
_meta: object;
|
|
4949
|
+
_ctx_out: {
|
|
4950
|
+
session: {
|
|
4951
|
+
appId: string;
|
|
4952
|
+
appPlanId: string | null;
|
|
4953
|
+
appFakeUserId: string | undefined;
|
|
4954
|
+
sessionId: string;
|
|
4955
|
+
accountId: string;
|
|
4956
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
4957
|
+
userId: string;
|
|
4958
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
4959
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
4960
|
+
};
|
|
4961
|
+
req: {
|
|
4962
|
+
headers: Headers;
|
|
4963
|
+
};
|
|
4964
|
+
res: {
|
|
4965
|
+
headers: Headers;
|
|
4966
|
+
};
|
|
4967
|
+
locale: Locales;
|
|
4968
|
+
ls: TranslationFunctions;
|
|
4969
|
+
};
|
|
4970
|
+
_input_in: {
|
|
4971
|
+
data: Record<string, unknown>;
|
|
4972
|
+
appEnv: string;
|
|
4973
|
+
appTable: string;
|
|
4974
|
+
appId?: string | undefined;
|
|
4975
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4976
|
+
where?: Record<string, unknown> | undefined;
|
|
4977
|
+
take?: number | undefined;
|
|
4978
|
+
skip?: number | undefined;
|
|
4979
|
+
orderBy?: Record<string, "asc" | "desc"> | undefined;
|
|
4980
|
+
};
|
|
4981
|
+
_input_out: {
|
|
4982
|
+
data: Record<string, unknown>;
|
|
4983
|
+
appEnv: string;
|
|
4984
|
+
appTable: string;
|
|
4985
|
+
appId?: string | undefined;
|
|
4986
|
+
select?: Record<string, boolean | undefined> | undefined;
|
|
4987
|
+
where?: Record<string, unknown> | undefined;
|
|
4988
|
+
take?: number | undefined;
|
|
4989
|
+
skip?: number | undefined;
|
|
4990
|
+
orderBy?: Record<string, "asc" | "desc"> | undefined;
|
|
4991
|
+
};
|
|
4992
|
+
_output_in: {
|
|
4993
|
+
count: number;
|
|
4994
|
+
};
|
|
4995
|
+
_output_out: {
|
|
4996
|
+
count: number;
|
|
4997
|
+
};
|
|
4998
|
+
}, unknown>;
|
|
4999
|
+
}>;
|
|
4419
5000
|
config: _trpc_server.BuildProcedure<"query", {
|
|
4420
5001
|
_config: _trpc_server.RootConfig<{
|
|
4421
5002
|
ctx: {};
|
|
@@ -4438,7 +5019,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4438
5019
|
transformer: typeof superjson.default;
|
|
4439
5020
|
}>;
|
|
4440
5021
|
_meta: object;
|
|
4441
|
-
_ctx_out: {
|
|
5022
|
+
_ctx_out: {
|
|
5023
|
+
session: {
|
|
5024
|
+
appId: string;
|
|
5025
|
+
appPlanId: string | null;
|
|
5026
|
+
appFakeUserId: string | undefined;
|
|
5027
|
+
sessionId: string;
|
|
5028
|
+
accountId: string;
|
|
5029
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
5030
|
+
userId: string;
|
|
5031
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
5032
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
5033
|
+
};
|
|
5034
|
+
req: {
|
|
5035
|
+
headers: Headers;
|
|
5036
|
+
};
|
|
5037
|
+
res: {
|
|
5038
|
+
headers: Headers;
|
|
5039
|
+
};
|
|
5040
|
+
locale: Locales;
|
|
5041
|
+
ls: TranslationFunctions;
|
|
5042
|
+
};
|
|
4442
5043
|
_input_in: {
|
|
4443
5044
|
appId: string;
|
|
4444
5045
|
appEnv: string;
|
|
@@ -4502,7 +5103,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4502
5103
|
transformer: typeof superjson.default;
|
|
4503
5104
|
}>;
|
|
4504
5105
|
_meta: object;
|
|
4505
|
-
_ctx_out: {
|
|
5106
|
+
_ctx_out: {
|
|
5107
|
+
session: {
|
|
5108
|
+
appId: string;
|
|
5109
|
+
appPlanId: string | null;
|
|
5110
|
+
appFakeUserId: string | undefined;
|
|
5111
|
+
sessionId: string;
|
|
5112
|
+
accountId: string;
|
|
5113
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
5114
|
+
userId: string;
|
|
5115
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
5116
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
5117
|
+
};
|
|
5118
|
+
req: {
|
|
5119
|
+
headers: Headers;
|
|
5120
|
+
};
|
|
5121
|
+
res: {
|
|
5122
|
+
headers: Headers;
|
|
5123
|
+
};
|
|
5124
|
+
locale: Locales;
|
|
5125
|
+
ls: TranslationFunctions;
|
|
5126
|
+
};
|
|
4506
5127
|
_input_in: {
|
|
4507
5128
|
appId: string;
|
|
4508
5129
|
newEnv: string;
|
|
@@ -4576,7 +5197,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4576
5197
|
transformer: typeof superjson.default;
|
|
4577
5198
|
}>;
|
|
4578
5199
|
_meta: object;
|
|
4579
|
-
_ctx_out: {
|
|
5200
|
+
_ctx_out: {
|
|
5201
|
+
session: {
|
|
5202
|
+
appId: string;
|
|
5203
|
+
appPlanId: string | null;
|
|
5204
|
+
appFakeUserId: string | undefined;
|
|
5205
|
+
sessionId: string;
|
|
5206
|
+
accountId: string;
|
|
5207
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
5208
|
+
userId: string;
|
|
5209
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
5210
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
5211
|
+
};
|
|
5212
|
+
req: {
|
|
5213
|
+
headers: Headers;
|
|
5214
|
+
};
|
|
5215
|
+
res: {
|
|
5216
|
+
headers: Headers;
|
|
5217
|
+
};
|
|
5218
|
+
locale: Locales;
|
|
5219
|
+
ls: TranslationFunctions;
|
|
5220
|
+
};
|
|
4580
5221
|
_input_in: {
|
|
4581
5222
|
appId: string;
|
|
4582
5223
|
appEnv: string;
|
|
@@ -4614,7 +5255,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4614
5255
|
transformer: typeof superjson.default;
|
|
4615
5256
|
}>;
|
|
4616
5257
|
_meta: object;
|
|
4617
|
-
_ctx_out: {
|
|
5258
|
+
_ctx_out: {
|
|
5259
|
+
session: {
|
|
5260
|
+
appId: string;
|
|
5261
|
+
appPlanId: string | null;
|
|
5262
|
+
appFakeUserId: string | undefined;
|
|
5263
|
+
sessionId: string;
|
|
5264
|
+
accountId: string;
|
|
5265
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
5266
|
+
userId: string;
|
|
5267
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
5268
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
5269
|
+
};
|
|
5270
|
+
req: {
|
|
5271
|
+
headers: Headers;
|
|
5272
|
+
};
|
|
5273
|
+
res: {
|
|
5274
|
+
headers: Headers;
|
|
5275
|
+
};
|
|
5276
|
+
locale: Locales;
|
|
5277
|
+
ls: TranslationFunctions;
|
|
5278
|
+
};
|
|
4618
5279
|
_input_in: {
|
|
4619
5280
|
appId: string;
|
|
4620
5281
|
};
|
|
@@ -4650,7 +5311,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4650
5311
|
transformer: typeof superjson.default;
|
|
4651
5312
|
}>;
|
|
4652
5313
|
_meta: object;
|
|
4653
|
-
_ctx_out: {
|
|
5314
|
+
_ctx_out: {
|
|
5315
|
+
session: {
|
|
5316
|
+
appId: string;
|
|
5317
|
+
appPlanId: string | null;
|
|
5318
|
+
appFakeUserId: string | undefined;
|
|
5319
|
+
sessionId: string;
|
|
5320
|
+
accountId: string;
|
|
5321
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
5322
|
+
userId: string;
|
|
5323
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
5324
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
5325
|
+
};
|
|
5326
|
+
req: {
|
|
5327
|
+
headers: Headers;
|
|
5328
|
+
};
|
|
5329
|
+
res: {
|
|
5330
|
+
headers: Headers;
|
|
5331
|
+
};
|
|
5332
|
+
locale: Locales;
|
|
5333
|
+
ls: TranslationFunctions;
|
|
5334
|
+
};
|
|
4654
5335
|
_input_in: {
|
|
4655
5336
|
appId: string;
|
|
4656
5337
|
config: (string | {
|
|
@@ -4788,7 +5469,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
4788
5469
|
transformer: typeof superjson.default;
|
|
4789
5470
|
}>;
|
|
4790
5471
|
_meta: object;
|
|
4791
|
-
_ctx_out: {
|
|
5472
|
+
_ctx_out: {
|
|
5473
|
+
session: {
|
|
5474
|
+
appId: string;
|
|
5475
|
+
appPlanId: string | null;
|
|
5476
|
+
appFakeUserId: string | undefined;
|
|
5477
|
+
sessionId: string;
|
|
5478
|
+
accountId: string;
|
|
5479
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
5480
|
+
userId: string;
|
|
5481
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
5482
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
5483
|
+
};
|
|
5484
|
+
req: {
|
|
5485
|
+
headers: Headers;
|
|
5486
|
+
};
|
|
5487
|
+
res: {
|
|
5488
|
+
headers: Headers;
|
|
5489
|
+
};
|
|
5490
|
+
locale: Locales;
|
|
5491
|
+
ls: TranslationFunctions;
|
|
5492
|
+
};
|
|
4792
5493
|
_input_in: {
|
|
4793
5494
|
appId: string;
|
|
4794
5495
|
config: (string | {
|
|
@@ -5310,7 +6011,27 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
5310
6011
|
transformer: typeof superjson.default;
|
|
5311
6012
|
}>;
|
|
5312
6013
|
_meta: object;
|
|
5313
|
-
_ctx_out: {
|
|
6014
|
+
_ctx_out: {
|
|
6015
|
+
session: {
|
|
6016
|
+
appId: string;
|
|
6017
|
+
appPlanId: string | null;
|
|
6018
|
+
appFakeUserId: string | undefined;
|
|
6019
|
+
sessionId: string;
|
|
6020
|
+
accountId: string;
|
|
6021
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
6022
|
+
userId: string;
|
|
6023
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
6024
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
6025
|
+
};
|
|
6026
|
+
req: {
|
|
6027
|
+
headers: Headers;
|
|
6028
|
+
};
|
|
6029
|
+
res: {
|
|
6030
|
+
headers: Headers;
|
|
6031
|
+
};
|
|
6032
|
+
locale: Locales;
|
|
6033
|
+
ls: TranslationFunctions;
|
|
6034
|
+
};
|
|
5314
6035
|
_input_in: {
|
|
5315
6036
|
appId: string;
|
|
5316
6037
|
config: string;
|
|
@@ -8901,15 +9622,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
8901
9622
|
_ctx_out: {};
|
|
8902
9623
|
_input_in: {
|
|
8903
9624
|
userId: string;
|
|
8904
|
-
|
|
9625
|
+
role: "developer" | "admin";
|
|
8905
9626
|
appCode: string;
|
|
8906
|
-
userRights: "admin" | "write" | "read";
|
|
8907
9627
|
};
|
|
8908
9628
|
_input_out: {
|
|
8909
9629
|
userId: string;
|
|
8910
|
-
|
|
9630
|
+
role: "developer" | "admin";
|
|
8911
9631
|
appCode: string;
|
|
8912
|
-
userRights: "admin" | "write" | "read";
|
|
8913
9632
|
};
|
|
8914
9633
|
_output_in: {
|
|
8915
9634
|
isAdded: boolean;
|
|
@@ -9292,7 +10011,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9292
10011
|
origin: string;
|
|
9293
10012
|
collaborators: {
|
|
9294
10013
|
userId: string;
|
|
9295
|
-
role: "
|
|
10014
|
+
role: "developer" | "admin";
|
|
9296
10015
|
}[];
|
|
9297
10016
|
};
|
|
9298
10017
|
_input_out: {
|
|
@@ -9302,7 +10021,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9302
10021
|
origin: string;
|
|
9303
10022
|
collaborators: {
|
|
9304
10023
|
userId: string;
|
|
9305
|
-
role: "
|
|
10024
|
+
role: "developer" | "admin";
|
|
9306
10025
|
}[];
|
|
9307
10026
|
};
|
|
9308
10027
|
_output_in: {
|
|
@@ -9434,7 +10153,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9434
10153
|
id: string;
|
|
9435
10154
|
};
|
|
9436
10155
|
role: "user" | "admin";
|
|
9437
|
-
rights: "admin" | "write" | "read";
|
|
9438
10156
|
};
|
|
9439
10157
|
_output_out: {
|
|
9440
10158
|
developer: {
|
|
@@ -9453,7 +10171,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9453
10171
|
id: string;
|
|
9454
10172
|
};
|
|
9455
10173
|
role: "user" | "admin";
|
|
9456
|
-
rights: "admin" | "write" | "read";
|
|
9457
10174
|
};
|
|
9458
10175
|
}, unknown>;
|
|
9459
10176
|
developers: _trpc_server.BuildProcedure<"query", {
|
|
@@ -9502,7 +10219,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9502
10219
|
id: string;
|
|
9503
10220
|
};
|
|
9504
10221
|
role: "user" | "admin";
|
|
9505
|
-
rights: "admin" | "write" | "read";
|
|
9506
10222
|
}[];
|
|
9507
10223
|
_output_out: {
|
|
9508
10224
|
developer: {
|
|
@@ -9521,7 +10237,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9521
10237
|
id: string;
|
|
9522
10238
|
};
|
|
9523
10239
|
role: "user" | "admin";
|
|
9524
|
-
rights: "admin" | "write" | "read";
|
|
9525
10240
|
}[];
|
|
9526
10241
|
}, unknown>;
|
|
9527
10242
|
renewAppCode: _trpc_server.BuildProcedure<"mutation", {
|
|
@@ -9666,14 +10381,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
9666
10381
|
_input_in: {
|
|
9667
10382
|
developerId: string;
|
|
9668
10383
|
appCode: string;
|
|
9669
|
-
|
|
9670
|
-
userRights?: "admin" | "write" | "read" | undefined;
|
|
10384
|
+
role?: "developer" | "admin" | undefined;
|
|
9671
10385
|
};
|
|
9672
10386
|
_input_out: {
|
|
9673
10387
|
developerId: string;
|
|
9674
10388
|
appCode: string;
|
|
9675
|
-
|
|
9676
|
-
userRights?: "admin" | "write" | "read" | undefined;
|
|
10389
|
+
role?: "developer" | "admin" | undefined;
|
|
9677
10390
|
};
|
|
9678
10391
|
_output_in: {
|
|
9679
10392
|
isUpdated: boolean;
|