@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
package/dist/index.js
CHANGED
|
@@ -1980,21 +1980,21 @@ var BackendClient = class {
|
|
|
1980
1980
|
config
|
|
1981
1981
|
});
|
|
1982
1982
|
}
|
|
1983
|
-
// ───
|
|
1983
|
+
// ─── Addon Packages ────────────────────────────────────────────────
|
|
1984
1984
|
async bridgeListPackages() {
|
|
1985
|
-
return this.trpc.
|
|
1985
|
+
return this.trpc.addons.listPackages.query();
|
|
1986
1986
|
}
|
|
1987
1987
|
async bridgeListAddonsPackages() {
|
|
1988
|
-
return this.trpc.
|
|
1988
|
+
return this.trpc.addons.list.query();
|
|
1989
1989
|
}
|
|
1990
1990
|
async bridgeInstallPackage(packageName, version) {
|
|
1991
|
-
return this.trpc.
|
|
1991
|
+
return this.trpc.addons.installPackage.mutate({
|
|
1992
1992
|
packageName,
|
|
1993
1993
|
version
|
|
1994
1994
|
});
|
|
1995
1995
|
}
|
|
1996
1996
|
async bridgeUninstallPackage(packageName) {
|
|
1997
|
-
return this.trpc.
|
|
1997
|
+
return this.trpc.addons.uninstallPackage.mutate({
|
|
1998
1998
|
packageName
|
|
1999
1999
|
});
|
|
2000
2000
|
}
|