@raytrace-cli/sdk 0.2.2 → 0.2.4
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/package.json +2 -2
- package/src/client.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raytrace-cli/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "TypeScript/JavaScript SDK for RayTrace cloud sandboxes: create, run commands, stop, start and destroy over the /v1 API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"import": "./src/index.mjs"
|
|
32
32
|
},
|
|
33
33
|
"./client": {
|
|
34
|
-
"types": "./src/
|
|
34
|
+
"types": "./src/client.d.ts",
|
|
35
35
|
"import": "./src/client.mjs"
|
|
36
36
|
}
|
|
37
37
|
},
|
package/src/client.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type { RayTraceOptions } from './index.js';
|
|
2
|
+
export {
|
|
3
|
+
RayTraceClient, RayTraceError, archiveFromDirectory, archiveFromRepo,
|
|
4
|
+
buildTarGz, connectScript, githubRepo, workBranch,
|
|
5
|
+
} from './index.js';
|
|
6
|
+
|
|
7
|
+
export const DEFAULT_BASE_URL: string;
|
|
8
|
+
export function isSecretFile(name: string): boolean;
|
|
9
|
+
/** The clone URL for an https/ssh URL, host/owner/name, or GitHub owner/name. */
|
|
10
|
+
export function repoUrl(repo: string): string;
|
|
11
|
+
/** The last repository path segment without .git, used as the sandbox name. */
|
|
12
|
+
export function repoName(repo: string): string;
|