@xemahq/space-registry-api-client 0.1.0 → 0.1.2
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 +174 -201
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/endpoints/spaces/spaces.d.ts +24 -14
- package/dist/endpoints/spaces/spaces.js +62 -15
- package/dist/models/createSpaceDto.d.ts +3 -3
- package/dist/models/createSpaceDtoLabels.d.ts +1 -1
- package/dist/models/createSpaceDtoLabels.js +1 -1
- package/dist/models/dataClassification.d.ts +2 -2
- package/dist/models/dataClassification.js +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/spaceAncestorsDto.d.ts +2 -2
- package/dist/models/spaceAncestorsDtoDataEnvelope.d.ts +11 -0
- package/dist/models/spaceAncestorsDtoDataEnvelope.js +2 -0
- package/dist/models/spaceClassificationDto.d.ts +3 -3
- package/dist/models/spaceClassificationDtoDataEnvelope.d.ts +11 -0
- package/dist/models/spaceClassificationDtoDataEnvelope.js +2 -0
- package/dist/models/spaceClassificationDtoResolvedFromRefUri.d.ts +1 -1
- package/dist/models/spaceClassificationDtoResolvedFromRefUri.js +1 -1
- package/dist/models/spaceDto.d.ts +11 -11
- package/dist/models/spaceDtoAppId.d.ts +1 -1
- package/dist/models/spaceDtoAppId.js +1 -1
- package/dist/models/spaceDtoBiomeId.d.ts +1 -1
- package/dist/models/spaceDtoBiomeId.js +1 -1
- package/dist/models/spaceDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/spaceDtoDataArrayEnvelope.js +2 -0
- package/dist/models/spaceDtoDataEnvelope.d.ts +11 -0
- package/dist/models/spaceDtoDataEnvelope.js +2 -0
- package/dist/models/spaceDtoLabels.d.ts +1 -1
- package/dist/models/spaceDtoLabels.js +1 -1
- package/dist/models/spaceDtoOrgId.d.ts +1 -1
- package/dist/models/spaceDtoOrgId.js +1 -1
- package/dist/models/spaceDtoParentId.d.ts +1 -1
- package/dist/models/spaceDtoParentId.js +1 -1
- package/dist/models/spaceDtoProjectId.d.ts +1 -1
- package/dist/models/spaceDtoProjectId.js +1 -1
- package/dist/models/spaceDtoSessionId.d.ts +1 -1
- package/dist/models/spaceDtoSessionId.js +1 -1
- package/dist/models/spaceDtoUserId.d.ts +1 -1
- package/dist/models/spaceDtoUserId.js +1 -1
- package/dist/models/spaceKind.d.ts +1 -1
- package/dist/models/spaceKind.js +1 -1
- package/dist/models/spacesControllerAncestorsParams.d.ts +1 -1
- package/dist/models/spacesControllerAncestorsParams.js +1 -1
- package/dist/models/spacesControllerClassificationParams.d.ts +1 -1
- package/dist/models/spacesControllerClassificationParams.js +1 -1
- package/dist/models/spacesControllerListParams.d.ts +13 -0
- package/dist/models/spacesControllerListParams.js +9 -0
- package/dist/models/spacesControllerResolveParams.d.ts +1 -1
- package/dist/models/spacesControllerResolveParams.js +1 -1
- package/dist/models/updateClassificationDto.d.ts +2 -2
- package/package.json +14 -3
- package/dist/endpoints/health/health.d.ts +0 -15
- package/dist/endpoints/health/health.js +0 -53
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Space Registry API
|
|
6
6
|
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Space Registry API
|
|
5
5
|
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { DataClassification } from './dataClassification';
|
|
8
|
+
import type { DataClassification } from './dataClassification.js';
|
|
9
9
|
export interface UpdateClassificationDto {
|
|
10
10
|
classification: DataClassification;
|
|
11
11
|
/** Privileged flag required to LOWER the classification (downgrade). Audited. */
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/space-registry-api-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"publishConfig": {
|
|
10
|
-
"
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
11
12
|
},
|
|
12
13
|
"devDependencies": {
|
|
13
14
|
"typescript": "5.9.3"
|
|
@@ -18,9 +19,19 @@
|
|
|
18
19
|
"service": "space-registry-api",
|
|
19
20
|
"biome": "space-registry",
|
|
20
21
|
"target": "server",
|
|
21
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.2.0",
|
|
22
23
|
"source": "openapi.public.json"
|
|
23
24
|
},
|
|
25
|
+
"license": "LicenseRef-Xema-BSL-1.1",
|
|
26
|
+
"author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
|
|
27
|
+
"homepage": "https://xema.dev",
|
|
28
|
+
"bugs": "https://github.com/xema-dev/xema-community/issues",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/xema-dev/xema-community.git",
|
|
32
|
+
"directory": "packages/clients/space-registry-api"
|
|
33
|
+
},
|
|
34
|
+
"description": "Generated public API client for the Xema space-registry-api service.",
|
|
24
35
|
"scripts": {
|
|
25
36
|
"build": "tsc -p tsconfig.json"
|
|
26
37
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @summary Health check
|
|
3
|
-
*/
|
|
4
|
-
export declare const getHealthControllerCheckUrl: () => string;
|
|
5
|
-
export declare const healthControllerCheck: (options?: RequestInit) => Promise<void>;
|
|
6
|
-
/**
|
|
7
|
-
* @summary Liveness probe
|
|
8
|
-
*/
|
|
9
|
-
export declare const getHealthControllerLiveUrl: () => string;
|
|
10
|
-
export declare const healthControllerLive: (options?: RequestInit) => Promise<void>;
|
|
11
|
-
/**
|
|
12
|
-
* @summary Readiness probe — checks database connectivity
|
|
13
|
-
*/
|
|
14
|
-
export declare const getHealthControllerReadyUrl: () => string;
|
|
15
|
-
export declare const healthControllerReady: (options?: RequestInit) => Promise<void>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.healthControllerReady = exports.getHealthControllerReadyUrl = exports.healthControllerLive = exports.getHealthControllerLiveUrl = exports.healthControllerCheck = exports.getHealthControllerCheckUrl = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Generated by orval v8.6.2 🍺
|
|
6
|
-
* Do not edit manually.
|
|
7
|
-
* Space Registry API
|
|
8
|
-
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
9
|
-
* OpenAPI spec version: 0.1.0
|
|
10
|
-
*/
|
|
11
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
12
|
-
/**
|
|
13
|
-
* @summary Health check
|
|
14
|
-
*/
|
|
15
|
-
const getHealthControllerCheckUrl = () => {
|
|
16
|
-
return `/health`;
|
|
17
|
-
};
|
|
18
|
-
exports.getHealthControllerCheckUrl = getHealthControllerCheckUrl;
|
|
19
|
-
const healthControllerCheck = async (options) => {
|
|
20
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerCheckUrl)(), {
|
|
21
|
-
...options,
|
|
22
|
-
method: 'GET'
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
exports.healthControllerCheck = healthControllerCheck;
|
|
26
|
-
/**
|
|
27
|
-
* @summary Liveness probe
|
|
28
|
-
*/
|
|
29
|
-
const getHealthControllerLiveUrl = () => {
|
|
30
|
-
return `/health/live`;
|
|
31
|
-
};
|
|
32
|
-
exports.getHealthControllerLiveUrl = getHealthControllerLiveUrl;
|
|
33
|
-
const healthControllerLive = async (options) => {
|
|
34
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerLiveUrl)(), {
|
|
35
|
-
...options,
|
|
36
|
-
method: 'GET'
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
exports.healthControllerLive = healthControllerLive;
|
|
40
|
-
/**
|
|
41
|
-
* @summary Readiness probe — checks database connectivity
|
|
42
|
-
*/
|
|
43
|
-
const getHealthControllerReadyUrl = () => {
|
|
44
|
-
return `/health/ready`;
|
|
45
|
-
};
|
|
46
|
-
exports.getHealthControllerReadyUrl = getHealthControllerReadyUrl;
|
|
47
|
-
const healthControllerReady = async (options) => {
|
|
48
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerReadyUrl)(), {
|
|
49
|
-
...options,
|
|
50
|
-
method: 'GET'
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.healthControllerReady = healthControllerReady;
|