@codize/sdk 0.1.2 → 0.2.0
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.d.mts +13 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -61,6 +61,10 @@ type SandboxExecuteResponse = {
|
|
|
61
61
|
run: SandboxStageResult | null;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* Execution status of a sandbox stage.
|
|
66
|
+
*/
|
|
67
|
+
type SandboxStageStatus = "SUCCESS" | "RUNTIME_ERROR" | "SIGNAL" | "TIMEOUT" | "OUTPUT_LIMIT_EXCEEDED" | "ERROR_LIMIT_EXCEEDED" | (string & {});
|
|
64
68
|
/**
|
|
65
69
|
* Output for a single sandbox stage (compile or run).
|
|
66
70
|
*/
|
|
@@ -81,6 +85,14 @@ type SandboxStageResult = {
|
|
|
81
85
|
* Process exit code.
|
|
82
86
|
*/
|
|
83
87
|
exitCode: number | null;
|
|
88
|
+
/**
|
|
89
|
+
* Signal name that terminated the process, or null if not terminated by a signal.
|
|
90
|
+
*/
|
|
91
|
+
signal: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Execution status.
|
|
94
|
+
*/
|
|
95
|
+
status: SandboxStageStatus;
|
|
84
96
|
};
|
|
85
97
|
/**
|
|
86
98
|
* API client for Codize.
|
|
@@ -188,4 +200,4 @@ declare class CodizeApiError extends Error {
|
|
|
188
200
|
constructor(status: number, headers: Headers, response: ApiErrorResponse);
|
|
189
201
|
}
|
|
190
202
|
//#endregion
|
|
191
|
-
export { type ApiErrorCode, type ApiErrorDetails, type ApiErrorResponse, CodizeApiError, CodizeClient, type CodizeClientOptions, type SandboxExecuteRequest, type SandboxExecuteResponse, type SandboxStageResult };
|
|
203
|
+
export { type ApiErrorCode, type ApiErrorDetails, type ApiErrorResponse, CodizeApiError, CodizeClient, type CodizeClientOptions, type SandboxExecuteRequest, type SandboxExecuteResponse, type SandboxStageResult, type SandboxStageStatus };
|
package/dist/index.mjs
CHANGED