@camstack/sdk 0.1.25 → 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 -1
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -2061,21 +2061,21 @@ var BackendClient = class {
|
|
|
2061
2061
|
config
|
|
2062
2062
|
});
|
|
2063
2063
|
}
|
|
2064
|
-
// ───
|
|
2064
|
+
// ─── Addon Packages ────────────────────────────────────────────────
|
|
2065
2065
|
async bridgeListPackages() {
|
|
2066
|
-
return this.trpc.
|
|
2066
|
+
return this.trpc.addons.listPackages.query();
|
|
2067
2067
|
}
|
|
2068
2068
|
async bridgeListAddonsPackages() {
|
|
2069
|
-
return this.trpc.
|
|
2069
|
+
return this.trpc.addons.list.query();
|
|
2070
2070
|
}
|
|
2071
2071
|
async bridgeInstallPackage(packageName, version) {
|
|
2072
|
-
return this.trpc.
|
|
2072
|
+
return this.trpc.addons.installPackage.mutate({
|
|
2073
2073
|
packageName,
|
|
2074
2074
|
version
|
|
2075
2075
|
});
|
|
2076
2076
|
}
|
|
2077
2077
|
async bridgeUninstallPackage(packageName) {
|
|
2078
|
-
return this.trpc.
|
|
2078
|
+
return this.trpc.addons.uninstallPackage.mutate({
|
|
2079
2079
|
packageName
|
|
2080
2080
|
});
|
|
2081
2081
|
}
|