@blaxel/core 0.2.56-dev.27 → 0.2.56-preview.28
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/client/sdk.gen.js +36 -2
- package/dist/cjs/common/settings.js +2 -2
- package/dist/cjs/types/client/sdk.gen.d.ts +11 -1
- package/dist/cjs/types/client/types.gen.d.ts +48 -0
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/client/sdk.gen.js +36 -2
- package/dist/cjs-browser/common/settings.js +2 -2
- package/dist/cjs-browser/types/client/sdk.gen.d.ts +11 -1
- package/dist/cjs-browser/types/client/types.gen.d.ts +48 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/client/sdk.gen.js +32 -0
- package/dist/esm/common/settings.js +2 -2
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/client/sdk.gen.js +32 -0
- package/dist/esm-browser/common/settings.js +2 -2
- package/package.json +1 -2
- package/dist/cjs/common/version.js +0 -6
- package/dist/cjs/types/common/version.d.ts +0 -2
- package/dist/cjs-browser/common/version.js +0 -6
- package/dist/cjs-browser/types/common/version.d.ts +0 -2
- package/dist/esm/common/version.js +0 -3
- package/dist/esm-browser/common/version.js +0 -3
|
@@ -1206,6 +1206,38 @@ export const deleteSandboxPreviewToken = (options) => {
|
|
|
1206
1206
|
...options
|
|
1207
1207
|
});
|
|
1208
1208
|
};
|
|
1209
|
+
/**
|
|
1210
|
+
* Start Sandbox
|
|
1211
|
+
* Starts a Sandbox by name.
|
|
1212
|
+
*/
|
|
1213
|
+
export const startSandbox = (options) => {
|
|
1214
|
+
return (options.client ?? _heyApiClient).put({
|
|
1215
|
+
security: [
|
|
1216
|
+
{
|
|
1217
|
+
scheme: 'bearer',
|
|
1218
|
+
type: 'http'
|
|
1219
|
+
}
|
|
1220
|
+
],
|
|
1221
|
+
url: '/sandboxes/{sandboxName}/start',
|
|
1222
|
+
...options
|
|
1223
|
+
});
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* Stop Sandbox
|
|
1227
|
+
* Stops a Sandbox by name.
|
|
1228
|
+
*/
|
|
1229
|
+
export const stopSandbox = (options) => {
|
|
1230
|
+
return (options.client ?? _heyApiClient).put({
|
|
1231
|
+
security: [
|
|
1232
|
+
{
|
|
1233
|
+
scheme: 'bearer',
|
|
1234
|
+
type: 'http'
|
|
1235
|
+
}
|
|
1236
|
+
],
|
|
1237
|
+
url: '/sandboxes/{sandboxName}/stop',
|
|
1238
|
+
...options
|
|
1239
|
+
});
|
|
1240
|
+
};
|
|
1209
1241
|
/**
|
|
1210
1242
|
* Get workspace service accounts
|
|
1211
1243
|
* Returns a list of all service accounts in the workspace.
|
|
@@ -3,8 +3,8 @@ import { authentication } from "../authentication/index.js";
|
|
|
3
3
|
import { env } from "../common/env.js";
|
|
4
4
|
import { fs, os, path } from "../common/node.js";
|
|
5
5
|
// Build info - these placeholders are replaced at build time by build:replace-imports
|
|
6
|
-
const BUILD_VERSION = "0.2.56-
|
|
7
|
-
const BUILD_COMMIT = "
|
|
6
|
+
const BUILD_VERSION = "0.2.56-preview.28";
|
|
7
|
+
const BUILD_COMMIT = "d332a51ef561175a3dbf3d07dd2a79c5185679a4";
|
|
8
8
|
const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
|
|
9
9
|
// Cache for config.yaml tracking value
|
|
10
10
|
let configTrackingValue = null;
|