@xemahq/xema-shell-api-client 0.1.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/LICENSE +201 -0
- package/dist/custom-fetch.d.ts +52 -0
- package/dist/custom-fetch.js +152 -0
- package/dist/endpoints/health/health.d.ts +15 -0
- package/dist/endpoints/health/health.js +53 -0
- package/dist/endpoints/shell/shell.d.ts +20 -0
- package/dist/endpoints/shell/shell.js +38 -0
- package/dist/endpoints/xvfs/xvfs.d.ts +20 -0
- package/dist/endpoints/xvfs/xvfs.js +74 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +26 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +40 -0
- package/dist/models/shellParseResponseDto.d.ts +14 -0
- package/dist/models/shellParseResponseDto.js +2 -0
- package/dist/models/shellParseResponseDtoOptions.d.ts +10 -0
- package/dist/models/shellParseResponseDtoOptions.js +9 -0
- package/dist/models/shellRunDenialDto.d.ts +16 -0
- package/dist/models/shellRunDenialDto.js +2 -0
- package/dist/models/shellRunDenialDtoSuggestionsItem.d.ts +10 -0
- package/dist/models/shellRunDenialDtoSuggestionsItem.js +9 -0
- package/dist/models/shellRunDenialReasonDto.d.ts +11 -0
- package/dist/models/shellRunDenialReasonDto.js +9 -0
- package/dist/models/shellRunDiagnosticDto.d.ts +14 -0
- package/dist/models/shellRunDiagnosticDto.js +2 -0
- package/dist/models/shellRunDiagnosticDtoLevel.d.ts +13 -0
- package/dist/models/shellRunDiagnosticDtoLevel.js +15 -0
- package/dist/models/shellRunRequestDto.d.ts +19 -0
- package/dist/models/shellRunRequestDto.js +2 -0
- package/dist/models/shellRunRequestDtoOutputMode.d.ts +15 -0
- package/dist/models/shellRunRequestDtoOutputMode.js +14 -0
- package/dist/models/shellRunRequestDtoStdin.d.ts +13 -0
- package/dist/models/shellRunRequestDtoStdin.js +9 -0
- package/dist/models/shellRunResponseDto.d.ts +21 -0
- package/dist/models/shellRunResponseDto.js +2 -0
- package/dist/models/shellRunResponseDtoData.d.ts +13 -0
- package/dist/models/shellRunResponseDtoData.js +9 -0
- package/dist/models/shellRunResponseDtoStatus.d.ts +12 -0
- package/dist/models/shellRunResponseDtoStatus.js +14 -0
- package/dist/models/spaceKind.d.ts +20 -0
- package/dist/models/spaceKind.js +19 -0
- package/dist/models/spaceRefDto.d.ts +16 -0
- package/dist/models/spaceRefDto.js +2 -0
- package/dist/models/xemaObjectKind.d.ts +51 -0
- package/dist/models/xemaObjectKind.js +50 -0
- package/dist/models/xvfsControllerResolveParams.d.ts +13 -0
- package/dist/models/xvfsControllerResolveParams.js +9 -0
- package/dist/models/xvfsControllerWriteParams.d.ts +13 -0
- package/dist/models/xvfsControllerWriteParams.js +9 -0
- package/dist/models/xvfsResolvedDto.d.ts +19 -0
- package/dist/models/xvfsResolvedDto.js +2 -0
- package/dist/models/xvfsResolvedDtoPayload.d.ts +13 -0
- package/dist/models/xvfsResolvedDtoPayload.js +9 -0
- package/dist/models/xvfsWriteBodyDto.d.ts +12 -0
- package/dist/models/xvfsWriteBodyDto.js +2 -0
- package/dist/models/xvfsWriteBodyDtoPayload.d.ts +13 -0
- package/dist/models/xvfsWriteBodyDtoPayload.js +9 -0
- package/dist/models/xvfsWriteResultDto.d.ts +13 -0
- package/dist/models/xvfsWriteResultDto.js +9 -0
- package/package.json +27 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Xema Shell API
|
|
6
|
+
* Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Xema Shell API
|
|
5
|
+
* Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { XvfsWriteBodyDtoPayload } from './xvfsWriteBodyDtoPayload';
|
|
9
|
+
export interface XvfsWriteBodyDto {
|
|
10
|
+
/** Kind-specific payload to write/upsert at the resolved object ref. Schema is owned by the object-registry-api for the resolved XemaObjectKind. */
|
|
11
|
+
payload: XvfsWriteBodyDtoPayload;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Xema Shell API
|
|
5
|
+
* Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Kind-specific payload to write/upsert at the resolved object ref. Schema is owned by the object-registry-api for the resolved XemaObjectKind.
|
|
10
|
+
*/
|
|
11
|
+
export type XvfsWriteBodyDtoPayload = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Xema Shell API
|
|
6
|
+
* Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Xema Shell API
|
|
5
|
+
* Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface XvfsWriteResultDto {
|
|
9
|
+
/** Canonical `xema://...` ref that was written. */
|
|
10
|
+
ref: string;
|
|
11
|
+
/** Whether a new XemaObject was created (`true`) or an existing one was updated (`false`). */
|
|
12
|
+
created: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Xema Shell API
|
|
6
|
+
* Xema Shell + XVFS. Phase 2 ships the read-only XVFS resolve endpoint; full Shell commands + websocket + write path land in Phase 5.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xemahq/xema-shell-api-client",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"registry": "https://npm.pkg.github.com"
|
|
11
|
+
},
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"typescript": "5.9.3"
|
|
14
|
+
},
|
|
15
|
+
"xema": {
|
|
16
|
+
"kind": "api-client",
|
|
17
|
+
"surface": "public",
|
|
18
|
+
"service": "xema-shell-api",
|
|
19
|
+
"biome": "xema-shell",
|
|
20
|
+
"target": "server",
|
|
21
|
+
"generator": "@xemahq/api-client-generator@0.1.0",
|
|
22
|
+
"source": "openapi.public.json"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc -p tsconfig.json"
|
|
26
|
+
}
|
|
27
|
+
}
|