@camstack/sdk 0.1.24 → 0.1.26
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.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/sdk/src/backend-client.d.ts +12 -3
- package/dist/types/src/generated/addon-api.d.ts +274 -196
- package/dist/types/src/interfaces/api-shared.d.ts +8 -0
- package/package.json +3 -2
|
@@ -1778,6 +1778,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1778
1778
|
declaration?: import("@camstack/types").AddonDeclaration;
|
|
1779
1779
|
hasConfigSchema: boolean;
|
|
1780
1780
|
source: "core" | "installed" | "workspace";
|
|
1781
|
+
installSource?: "npm" | "workspace";
|
|
1781
1782
|
}[];
|
|
1782
1783
|
meta: object;
|
|
1783
1784
|
}>;
|
|
@@ -1814,91 +1815,152 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1814
1815
|
output: import("@camstack/types").LogEntry[];
|
|
1815
1816
|
meta: object;
|
|
1816
1817
|
}>;
|
|
1817
|
-
|
|
1818
|
-
bridgePipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
1819
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
1820
|
-
meta: object;
|
|
1821
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
1822
|
-
transformer: true;
|
|
1823
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
1824
|
-
listAddons: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1818
|
+
listPackages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1825
1819
|
input: void;
|
|
1820
|
+
output: import("@camstack/types").InstalledPackage[];
|
|
1821
|
+
meta: object;
|
|
1822
|
+
}>;
|
|
1823
|
+
installPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1824
|
+
input: {
|
|
1825
|
+
packageName: string;
|
|
1826
|
+
version?: string | undefined;
|
|
1827
|
+
};
|
|
1826
1828
|
output: {
|
|
1827
|
-
|
|
1829
|
+
success: boolean;
|
|
1830
|
+
loaded: string[];
|
|
1831
|
+
failed: string[];
|
|
1832
|
+
};
|
|
1833
|
+
meta: object;
|
|
1834
|
+
}>;
|
|
1835
|
+
uninstallPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1836
|
+
input: {
|
|
1828
1837
|
packageName: string;
|
|
1829
|
-
|
|
1838
|
+
};
|
|
1839
|
+
output: {
|
|
1840
|
+
success: boolean;
|
|
1841
|
+
};
|
|
1842
|
+
meta: object;
|
|
1843
|
+
}>;
|
|
1844
|
+
reloadPackages: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1845
|
+
input: void;
|
|
1846
|
+
output: {
|
|
1847
|
+
success: boolean;
|
|
1848
|
+
message: string;
|
|
1849
|
+
};
|
|
1850
|
+
meta: object;
|
|
1851
|
+
}>;
|
|
1852
|
+
searchAvailable: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1853
|
+
input: {
|
|
1854
|
+
query?: string | undefined;
|
|
1855
|
+
} | undefined;
|
|
1856
|
+
output: {
|
|
1857
|
+
installed: boolean;
|
|
1858
|
+
installedVersion: string | undefined;
|
|
1859
|
+
name: string;
|
|
1860
|
+
version: string;
|
|
1861
|
+
description: string;
|
|
1862
|
+
keywords: readonly string[];
|
|
1863
|
+
publishedAt: string;
|
|
1864
|
+
author: string;
|
|
1830
1865
|
}[];
|
|
1831
1866
|
meta: object;
|
|
1832
1867
|
}>;
|
|
1833
|
-
|
|
1868
|
+
listUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1869
|
+
input: void;
|
|
1870
|
+
output: readonly import("@camstack/types").PackageUpdate[];
|
|
1871
|
+
meta: object;
|
|
1872
|
+
}>;
|
|
1873
|
+
updatePackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1834
1874
|
input: {
|
|
1835
|
-
|
|
1875
|
+
name: string;
|
|
1876
|
+
version?: string | undefined;
|
|
1836
1877
|
};
|
|
1837
|
-
output: import("@camstack/types").
|
|
1878
|
+
output: import("@camstack/types").UpdateResult;
|
|
1838
1879
|
meta: object;
|
|
1839
1880
|
}>;
|
|
1840
|
-
|
|
1881
|
+
forceRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1882
|
+
input: void;
|
|
1883
|
+
output: readonly import("@camstack/types").PackageUpdate[];
|
|
1884
|
+
meta: object;
|
|
1885
|
+
}>;
|
|
1886
|
+
restartServer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1841
1887
|
input: {
|
|
1842
|
-
|
|
1843
|
-
video: any[];
|
|
1844
|
-
audio?: any;
|
|
1845
|
-
};
|
|
1846
|
-
deviceId: string;
|
|
1888
|
+
confirm: true;
|
|
1847
1889
|
};
|
|
1848
1890
|
output: {
|
|
1849
1891
|
success: boolean;
|
|
1892
|
+
message: string;
|
|
1850
1893
|
};
|
|
1851
1894
|
meta: object;
|
|
1852
1895
|
}>;
|
|
1853
|
-
|
|
1896
|
+
getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1854
1897
|
input: {
|
|
1855
|
-
|
|
1856
|
-
audio?: any;
|
|
1898
|
+
name: string;
|
|
1857
1899
|
};
|
|
1858
|
-
output: import("@camstack/types").
|
|
1900
|
+
output: readonly import("@camstack/types").PackageVersionInfo[];
|
|
1859
1901
|
meta: object;
|
|
1860
1902
|
}>;
|
|
1861
|
-
|
|
1903
|
+
restartAddon: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1862
1904
|
input: {
|
|
1863
1905
|
addonId: string;
|
|
1864
1906
|
};
|
|
1865
|
-
output:
|
|
1907
|
+
output: {
|
|
1908
|
+
success: boolean;
|
|
1909
|
+
error?: string;
|
|
1910
|
+
};
|
|
1866
1911
|
meta: object;
|
|
1867
1912
|
}>;
|
|
1868
|
-
|
|
1913
|
+
getAutoUpdateSettings: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1914
|
+
input: void;
|
|
1915
|
+
output: {
|
|
1916
|
+
channel: "off" | "latest" | "beta";
|
|
1917
|
+
intervalSeconds: number;
|
|
1918
|
+
};
|
|
1919
|
+
meta: object;
|
|
1920
|
+
}>;
|
|
1921
|
+
setAutoUpdateSettings: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1922
|
+
input: {
|
|
1923
|
+
channel: "off" | "latest" | "beta";
|
|
1924
|
+
intervalSeconds?: number | undefined;
|
|
1925
|
+
};
|
|
1926
|
+
output: {
|
|
1927
|
+
success: boolean;
|
|
1928
|
+
};
|
|
1929
|
+
meta: object;
|
|
1930
|
+
}>;
|
|
1931
|
+
getAddonAutoUpdate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1869
1932
|
input: {
|
|
1870
|
-
config: Record<string, unknown>;
|
|
1871
1933
|
addonId: string;
|
|
1872
1934
|
};
|
|
1935
|
+
output: "inherit" | "off" | "latest" | "beta";
|
|
1936
|
+
meta: object;
|
|
1937
|
+
}>;
|
|
1938
|
+
setAddonAutoUpdate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1939
|
+
input: {
|
|
1940
|
+
addonId: string;
|
|
1941
|
+
channel: "inherit" | "off" | "latest" | "beta";
|
|
1942
|
+
};
|
|
1873
1943
|
output: {
|
|
1874
1944
|
success: boolean;
|
|
1875
1945
|
};
|
|
1876
1946
|
meta: object;
|
|
1877
1947
|
}>;
|
|
1878
|
-
|
|
1948
|
+
applyAutoUpdateToAll: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1879
1949
|
input: {
|
|
1880
|
-
|
|
1950
|
+
channel: "off" | "latest" | "beta";
|
|
1881
1951
|
};
|
|
1882
1952
|
output: {
|
|
1883
|
-
|
|
1884
|
-
totalMs: number;
|
|
1885
|
-
timings: {};
|
|
1886
|
-
frameTimestamp: number;
|
|
1953
|
+
success: boolean;
|
|
1887
1954
|
};
|
|
1888
1955
|
meta: object;
|
|
1889
1956
|
}>;
|
|
1890
1957
|
}>>;
|
|
1891
|
-
|
|
1958
|
+
bridgePipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
1892
1959
|
ctx: import("@camstack/types").TrpcContext;
|
|
1893
1960
|
meta: object;
|
|
1894
1961
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
1895
1962
|
transformer: true;
|
|
1896
1963
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
1897
|
-
listPackages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1898
|
-
input: void;
|
|
1899
|
-
output: import("@camstack/types").InstalledPackage[];
|
|
1900
|
-
meta: object;
|
|
1901
|
-
}>;
|
|
1902
1964
|
listAddons: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1903
1965
|
input: void;
|
|
1904
1966
|
output: {
|
|
@@ -1908,49 +1970,61 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
1908
1970
|
}[];
|
|
1909
1971
|
meta: object;
|
|
1910
1972
|
}>;
|
|
1911
|
-
|
|
1973
|
+
getPipeline: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1912
1974
|
input: {
|
|
1913
|
-
|
|
1914
|
-
|
|
1975
|
+
deviceId: string;
|
|
1976
|
+
};
|
|
1977
|
+
output: import("@camstack/types").PipelineConfig | null;
|
|
1978
|
+
meta: object;
|
|
1979
|
+
}>;
|
|
1980
|
+
setPipeline: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
1981
|
+
input: {
|
|
1982
|
+
config: {
|
|
1983
|
+
video: any[];
|
|
1984
|
+
audio?: any;
|
|
1985
|
+
};
|
|
1986
|
+
deviceId: string;
|
|
1915
1987
|
};
|
|
1916
1988
|
output: {
|
|
1917
1989
|
success: boolean;
|
|
1918
|
-
loaded: string[];
|
|
1919
|
-
failed: string[];
|
|
1920
1990
|
};
|
|
1921
1991
|
meta: object;
|
|
1922
1992
|
}>;
|
|
1923
|
-
|
|
1993
|
+
validatePipeline: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1924
1994
|
input: {
|
|
1925
|
-
|
|
1995
|
+
video: any[];
|
|
1996
|
+
audio?: any;
|
|
1926
1997
|
};
|
|
1927
|
-
output:
|
|
1928
|
-
|
|
1998
|
+
output: import("@camstack/types").ValidationResult;
|
|
1999
|
+
meta: object;
|
|
2000
|
+
}>;
|
|
2001
|
+
getAddonConfig: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
2002
|
+
input: {
|
|
2003
|
+
addonId: string;
|
|
1929
2004
|
};
|
|
2005
|
+
output: Record<string, unknown>;
|
|
1930
2006
|
meta: object;
|
|
1931
2007
|
}>;
|
|
1932
|
-
|
|
1933
|
-
input:
|
|
2008
|
+
setAddonConfig: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
2009
|
+
input: {
|
|
2010
|
+
config: Record<string, unknown>;
|
|
2011
|
+
addonId: string;
|
|
2012
|
+
};
|
|
1934
2013
|
output: {
|
|
1935
2014
|
success: boolean;
|
|
1936
|
-
message: string;
|
|
1937
2015
|
};
|
|
1938
2016
|
meta: object;
|
|
1939
2017
|
}>;
|
|
1940
|
-
|
|
2018
|
+
processFrame: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
1941
2019
|
input: {
|
|
1942
|
-
|
|
1943
|
-
}
|
|
2020
|
+
deviceId: string;
|
|
2021
|
+
};
|
|
1944
2022
|
output: {
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
keywords: string[];
|
|
1951
|
-
publishedAt: string;
|
|
1952
|
-
author: string;
|
|
1953
|
-
}[];
|
|
2023
|
+
results: never[];
|
|
2024
|
+
totalMs: number;
|
|
2025
|
+
timings: {};
|
|
2026
|
+
frameTimestamp: number;
|
|
2027
|
+
};
|
|
1954
2028
|
meta: object;
|
|
1955
2029
|
}>;
|
|
1956
2030
|
}>>;
|
|
@@ -2057,41 +2131,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
2057
2131
|
meta: object;
|
|
2058
2132
|
}>;
|
|
2059
2133
|
}>>;
|
|
2060
|
-
update: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
2061
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
2062
|
-
meta: object;
|
|
2063
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
2064
|
-
transformer: true;
|
|
2065
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
2066
|
-
listUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
2067
|
-
input: void;
|
|
2068
|
-
output: readonly import("@camstack/types").PackageUpdate[];
|
|
2069
|
-
meta: object;
|
|
2070
|
-
}>;
|
|
2071
|
-
updatePackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
2072
|
-
input: {
|
|
2073
|
-
name: string;
|
|
2074
|
-
version?: string | undefined;
|
|
2075
|
-
};
|
|
2076
|
-
output: import("@camstack/types").UpdateResult;
|
|
2077
|
-
meta: object;
|
|
2078
|
-
}>;
|
|
2079
|
-
forceRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
2080
|
-
input: void;
|
|
2081
|
-
output: readonly import("@camstack/types").PackageUpdate[];
|
|
2082
|
-
meta: object;
|
|
2083
|
-
}>;
|
|
2084
|
-
restartServer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
2085
|
-
input: {
|
|
2086
|
-
confirm: true;
|
|
2087
|
-
};
|
|
2088
|
-
output: {
|
|
2089
|
-
success: boolean;
|
|
2090
|
-
message: string;
|
|
2091
|
-
};
|
|
2092
|
-
meta: object;
|
|
2093
|
-
}>;
|
|
2094
|
-
}>>;
|
|
2095
2134
|
addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
2096
2135
|
ctx: import("@camstack/types").TrpcContext;
|
|
2097
2136
|
meta: object;
|
|
@@ -4208,6 +4247,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4208
4247
|
declaration?: import("@camstack/types").AddonDeclaration;
|
|
4209
4248
|
hasConfigSchema: boolean;
|
|
4210
4249
|
source: "core" | "installed" | "workspace";
|
|
4250
|
+
installSource?: "npm" | "workspace";
|
|
4211
4251
|
}[];
|
|
4212
4252
|
meta: object;
|
|
4213
4253
|
}>;
|
|
@@ -4244,91 +4284,152 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4244
4284
|
output: import("@camstack/types").LogEntry[];
|
|
4245
4285
|
meta: object;
|
|
4246
4286
|
}>;
|
|
4247
|
-
|
|
4248
|
-
bridgePipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4249
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
4250
|
-
meta: object;
|
|
4251
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
4252
|
-
transformer: true;
|
|
4253
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
4254
|
-
listAddons: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4287
|
+
listPackages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4255
4288
|
input: void;
|
|
4289
|
+
output: import("@camstack/types").InstalledPackage[];
|
|
4290
|
+
meta: object;
|
|
4291
|
+
}>;
|
|
4292
|
+
installPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4293
|
+
input: {
|
|
4294
|
+
packageName: string;
|
|
4295
|
+
version?: string | undefined;
|
|
4296
|
+
};
|
|
4256
4297
|
output: {
|
|
4257
|
-
|
|
4298
|
+
success: boolean;
|
|
4299
|
+
loaded: string[];
|
|
4300
|
+
failed: string[];
|
|
4301
|
+
};
|
|
4302
|
+
meta: object;
|
|
4303
|
+
}>;
|
|
4304
|
+
uninstallPackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4305
|
+
input: {
|
|
4258
4306
|
packageName: string;
|
|
4259
|
-
|
|
4307
|
+
};
|
|
4308
|
+
output: {
|
|
4309
|
+
success: boolean;
|
|
4310
|
+
};
|
|
4311
|
+
meta: object;
|
|
4312
|
+
}>;
|
|
4313
|
+
reloadPackages: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4314
|
+
input: void;
|
|
4315
|
+
output: {
|
|
4316
|
+
success: boolean;
|
|
4317
|
+
message: string;
|
|
4318
|
+
};
|
|
4319
|
+
meta: object;
|
|
4320
|
+
}>;
|
|
4321
|
+
searchAvailable: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4322
|
+
input: {
|
|
4323
|
+
query?: string | undefined;
|
|
4324
|
+
} | undefined;
|
|
4325
|
+
output: {
|
|
4326
|
+
installed: boolean;
|
|
4327
|
+
installedVersion: string | undefined;
|
|
4328
|
+
name: string;
|
|
4329
|
+
version: string;
|
|
4330
|
+
description: string;
|
|
4331
|
+
keywords: readonly string[];
|
|
4332
|
+
publishedAt: string;
|
|
4333
|
+
author: string;
|
|
4260
4334
|
}[];
|
|
4261
4335
|
meta: object;
|
|
4262
4336
|
}>;
|
|
4263
|
-
|
|
4337
|
+
listUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4338
|
+
input: void;
|
|
4339
|
+
output: readonly import("@camstack/types").PackageUpdate[];
|
|
4340
|
+
meta: object;
|
|
4341
|
+
}>;
|
|
4342
|
+
updatePackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4264
4343
|
input: {
|
|
4265
|
-
|
|
4344
|
+
name: string;
|
|
4345
|
+
version?: string | undefined;
|
|
4266
4346
|
};
|
|
4267
|
-
output: import("@camstack/types").
|
|
4347
|
+
output: import("@camstack/types").UpdateResult;
|
|
4268
4348
|
meta: object;
|
|
4269
4349
|
}>;
|
|
4270
|
-
|
|
4350
|
+
forceRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4351
|
+
input: void;
|
|
4352
|
+
output: readonly import("@camstack/types").PackageUpdate[];
|
|
4353
|
+
meta: object;
|
|
4354
|
+
}>;
|
|
4355
|
+
restartServer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4271
4356
|
input: {
|
|
4272
|
-
|
|
4273
|
-
video: any[];
|
|
4274
|
-
audio?: any;
|
|
4275
|
-
};
|
|
4276
|
-
deviceId: string;
|
|
4357
|
+
confirm: true;
|
|
4277
4358
|
};
|
|
4278
4359
|
output: {
|
|
4279
4360
|
success: boolean;
|
|
4361
|
+
message: string;
|
|
4280
4362
|
};
|
|
4281
4363
|
meta: object;
|
|
4282
4364
|
}>;
|
|
4283
|
-
|
|
4365
|
+
getVersions: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4284
4366
|
input: {
|
|
4285
|
-
|
|
4286
|
-
audio?: any;
|
|
4367
|
+
name: string;
|
|
4287
4368
|
};
|
|
4288
|
-
output: import("@camstack/types").
|
|
4369
|
+
output: readonly import("@camstack/types").PackageVersionInfo[];
|
|
4289
4370
|
meta: object;
|
|
4290
4371
|
}>;
|
|
4291
|
-
|
|
4372
|
+
restartAddon: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4292
4373
|
input: {
|
|
4293
4374
|
addonId: string;
|
|
4294
4375
|
};
|
|
4295
|
-
output:
|
|
4376
|
+
output: {
|
|
4377
|
+
success: boolean;
|
|
4378
|
+
error?: string;
|
|
4379
|
+
};
|
|
4296
4380
|
meta: object;
|
|
4297
4381
|
}>;
|
|
4298
|
-
|
|
4382
|
+
getAutoUpdateSettings: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4383
|
+
input: void;
|
|
4384
|
+
output: {
|
|
4385
|
+
channel: "off" | "latest" | "beta";
|
|
4386
|
+
intervalSeconds: number;
|
|
4387
|
+
};
|
|
4388
|
+
meta: object;
|
|
4389
|
+
}>;
|
|
4390
|
+
setAutoUpdateSettings: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4391
|
+
input: {
|
|
4392
|
+
channel: "off" | "latest" | "beta";
|
|
4393
|
+
intervalSeconds?: number | undefined;
|
|
4394
|
+
};
|
|
4395
|
+
output: {
|
|
4396
|
+
success: boolean;
|
|
4397
|
+
};
|
|
4398
|
+
meta: object;
|
|
4399
|
+
}>;
|
|
4400
|
+
getAddonAutoUpdate: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4299
4401
|
input: {
|
|
4300
|
-
config: Record<string, unknown>;
|
|
4301
4402
|
addonId: string;
|
|
4302
4403
|
};
|
|
4404
|
+
output: "inherit" | "off" | "latest" | "beta";
|
|
4405
|
+
meta: object;
|
|
4406
|
+
}>;
|
|
4407
|
+
setAddonAutoUpdate: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4408
|
+
input: {
|
|
4409
|
+
addonId: string;
|
|
4410
|
+
channel: "inherit" | "off" | "latest" | "beta";
|
|
4411
|
+
};
|
|
4303
4412
|
output: {
|
|
4304
4413
|
success: boolean;
|
|
4305
4414
|
};
|
|
4306
4415
|
meta: object;
|
|
4307
4416
|
}>;
|
|
4308
|
-
|
|
4417
|
+
applyAutoUpdateToAll: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4309
4418
|
input: {
|
|
4310
|
-
|
|
4419
|
+
channel: "off" | "latest" | "beta";
|
|
4311
4420
|
};
|
|
4312
4421
|
output: {
|
|
4313
|
-
|
|
4314
|
-
totalMs: number;
|
|
4315
|
-
timings: {};
|
|
4316
|
-
frameTimestamp: number;
|
|
4422
|
+
success: boolean;
|
|
4317
4423
|
};
|
|
4318
4424
|
meta: object;
|
|
4319
4425
|
}>;
|
|
4320
4426
|
}>>;
|
|
4321
|
-
|
|
4427
|
+
bridgePipeline: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4322
4428
|
ctx: import("@camstack/types").TrpcContext;
|
|
4323
4429
|
meta: object;
|
|
4324
4430
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
4325
4431
|
transformer: true;
|
|
4326
4432
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
4327
|
-
listPackages: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4328
|
-
input: void;
|
|
4329
|
-
output: import("@camstack/types").InstalledPackage[];
|
|
4330
|
-
meta: object;
|
|
4331
|
-
}>;
|
|
4332
4433
|
listAddons: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4333
4434
|
input: void;
|
|
4334
4435
|
output: {
|
|
@@ -4338,49 +4439,61 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4338
4439
|
}[];
|
|
4339
4440
|
meta: object;
|
|
4340
4441
|
}>;
|
|
4341
|
-
|
|
4442
|
+
getPipeline: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4342
4443
|
input: {
|
|
4343
|
-
|
|
4344
|
-
|
|
4444
|
+
deviceId: string;
|
|
4445
|
+
};
|
|
4446
|
+
output: import("@camstack/types").PipelineConfig | null;
|
|
4447
|
+
meta: object;
|
|
4448
|
+
}>;
|
|
4449
|
+
setPipeline: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4450
|
+
input: {
|
|
4451
|
+
config: {
|
|
4452
|
+
video: any[];
|
|
4453
|
+
audio?: any;
|
|
4454
|
+
};
|
|
4455
|
+
deviceId: string;
|
|
4345
4456
|
};
|
|
4346
4457
|
output: {
|
|
4347
4458
|
success: boolean;
|
|
4348
|
-
loaded: string[];
|
|
4349
|
-
failed: string[];
|
|
4350
4459
|
};
|
|
4351
4460
|
meta: object;
|
|
4352
4461
|
}>;
|
|
4353
|
-
|
|
4462
|
+
validatePipeline: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4354
4463
|
input: {
|
|
4355
|
-
|
|
4464
|
+
video: any[];
|
|
4465
|
+
audio?: any;
|
|
4356
4466
|
};
|
|
4357
|
-
output:
|
|
4358
|
-
|
|
4467
|
+
output: import("@camstack/types").ValidationResult;
|
|
4468
|
+
meta: object;
|
|
4469
|
+
}>;
|
|
4470
|
+
getAddonConfig: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4471
|
+
input: {
|
|
4472
|
+
addonId: string;
|
|
4359
4473
|
};
|
|
4474
|
+
output: Record<string, unknown>;
|
|
4360
4475
|
meta: object;
|
|
4361
4476
|
}>;
|
|
4362
|
-
|
|
4363
|
-
input:
|
|
4477
|
+
setAddonConfig: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4478
|
+
input: {
|
|
4479
|
+
config: Record<string, unknown>;
|
|
4480
|
+
addonId: string;
|
|
4481
|
+
};
|
|
4364
4482
|
output: {
|
|
4365
4483
|
success: boolean;
|
|
4366
|
-
message: string;
|
|
4367
4484
|
};
|
|
4368
4485
|
meta: object;
|
|
4369
4486
|
}>;
|
|
4370
|
-
|
|
4487
|
+
processFrame: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4371
4488
|
input: {
|
|
4372
|
-
|
|
4373
|
-
}
|
|
4489
|
+
deviceId: string;
|
|
4490
|
+
};
|
|
4374
4491
|
output: {
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
keywords: string[];
|
|
4381
|
-
publishedAt: string;
|
|
4382
|
-
author: string;
|
|
4383
|
-
}[];
|
|
4492
|
+
results: never[];
|
|
4493
|
+
totalMs: number;
|
|
4494
|
+
timings: {};
|
|
4495
|
+
frameTimestamp: number;
|
|
4496
|
+
};
|
|
4384
4497
|
meta: object;
|
|
4385
4498
|
}>;
|
|
4386
4499
|
}>>;
|
|
@@ -4487,41 +4600,6 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
4487
4600
|
meta: object;
|
|
4488
4601
|
}>;
|
|
4489
4602
|
}>>;
|
|
4490
|
-
update: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4491
|
-
ctx: import("@camstack/types").TrpcContext;
|
|
4492
|
-
meta: object;
|
|
4493
|
-
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
|
4494
|
-
transformer: true;
|
|
4495
|
-
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
|
4496
|
-
listUpdates: import("@trpc/server/unstable-core-do-not-import").QueryProcedure<{
|
|
4497
|
-
input: void;
|
|
4498
|
-
output: readonly import("@camstack/types").PackageUpdate[];
|
|
4499
|
-
meta: object;
|
|
4500
|
-
}>;
|
|
4501
|
-
updatePackage: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4502
|
-
input: {
|
|
4503
|
-
name: string;
|
|
4504
|
-
version?: string | undefined;
|
|
4505
|
-
};
|
|
4506
|
-
output: import("@camstack/types").UpdateResult;
|
|
4507
|
-
meta: object;
|
|
4508
|
-
}>;
|
|
4509
|
-
forceRefresh: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4510
|
-
input: void;
|
|
4511
|
-
output: readonly import("@camstack/types").PackageUpdate[];
|
|
4512
|
-
meta: object;
|
|
4513
|
-
}>;
|
|
4514
|
-
restartServer: import("@trpc/server/unstable-core-do-not-import").MutationProcedure<{
|
|
4515
|
-
input: {
|
|
4516
|
-
confirm: true;
|
|
4517
|
-
};
|
|
4518
|
-
output: {
|
|
4519
|
-
success: boolean;
|
|
4520
|
-
message: string;
|
|
4521
|
-
};
|
|
4522
|
-
meta: object;
|
|
4523
|
-
}>;
|
|
4524
|
-
}>>;
|
|
4525
4603
|
addonPages: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
|
4526
4604
|
ctx: import("@camstack/types").TrpcContext;
|
|
4527
4605
|
meta: object;
|
|
@@ -27,7 +27,15 @@ export interface InstalledPackage {
|
|
|
27
27
|
readonly name: string;
|
|
28
28
|
readonly version: string;
|
|
29
29
|
readonly dir: string;
|
|
30
|
+
readonly installSource?: 'npm' | 'workspace' | 'upload';
|
|
30
31
|
}
|
|
32
|
+
export interface PackageVersionInfo {
|
|
33
|
+
readonly version: string;
|
|
34
|
+
readonly publishedAt: string;
|
|
35
|
+
readonly deprecated?: string;
|
|
36
|
+
readonly distTags: readonly string[];
|
|
37
|
+
}
|
|
38
|
+
export type AutoUpdateChannel = 'off' | 'latest' | 'beta' | 'inherit';
|
|
31
39
|
/** A page declaration enriched with its source addon ID */
|
|
32
40
|
export interface AddonPageInfo {
|
|
33
41
|
readonly addonId: string;
|