@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,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.spacesControllerSetClassification = exports.getSpacesControllerSetClassificationUrl = exports.spacesControllerGetById = exports.getSpacesControllerGetByIdUrl = exports.spacesControllerClassification = exports.getSpacesControllerClassificationUrl = exports.spacesControllerAncestors = exports.getSpacesControllerAncestorsUrl = exports.spacesControllerResolve = exports.getSpacesControllerResolveUrl = exports.spacesControllerCreate = exports.getSpacesControllerCreateUrl = void 0;
|
|
3
|
+
exports.spacesControllerSetClassification = exports.getSpacesControllerSetClassificationUrl = exports.spacesControllerRemove = exports.getSpacesControllerRemoveUrl = exports.spacesControllerGetById = exports.getSpacesControllerGetByIdUrl = exports.spacesControllerClassification = exports.getSpacesControllerClassificationUrl = exports.spacesControllerAncestors = exports.getSpacesControllerAncestorsUrl = exports.spacesControllerResolve = exports.getSpacesControllerResolveUrl = exports.spacesControllerList = exports.getSpacesControllerListUrl = exports.spacesControllerCreate = exports.getSpacesControllerCreateUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Create a Space (idempotent on its canonical refUri).
|
|
7
|
-
*/
|
|
8
5
|
const getSpacesControllerCreateUrl = () => {
|
|
9
6
|
return `/spaces`;
|
|
10
7
|
};
|
|
11
8
|
exports.getSpacesControllerCreateUrl = getSpacesControllerCreateUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Create a Space (idempotent on its canonical refUri).
|
|
11
|
+
*/
|
|
12
12
|
const spacesControllerCreate = async (createSpaceDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerCreateUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -18,9 +18,39 @@ const spacesControllerCreate = async (createSpaceDto, options) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.spacesControllerCreate = spacesControllerCreate;
|
|
21
|
+
const getSpacesControllerListUrl = (params) => {
|
|
22
|
+
const normalizedParams = new URLSearchParams();
|
|
23
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
24
|
+
if (value === undefined)
|
|
25
|
+
return;
|
|
26
|
+
if (value === null) {
|
|
27
|
+
normalizedParams.append(key, 'null');
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (Array.isArray(value)) {
|
|
31
|
+
for (const item of value) {
|
|
32
|
+
if (item === undefined || item === null)
|
|
33
|
+
continue;
|
|
34
|
+
normalizedParams.append(key, item.toString());
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
normalizedParams.append(key, value.toString());
|
|
39
|
+
});
|
|
40
|
+
const stringifiedParams = normalizedParams.toString();
|
|
41
|
+
return stringifiedParams.length > 0 ? `/spaces?${stringifiedParams}` : `/spaces`;
|
|
42
|
+
};
|
|
43
|
+
exports.getSpacesControllerListUrl = getSpacesControllerListUrl;
|
|
21
44
|
/**
|
|
22
|
-
* @summary
|
|
45
|
+
* @summary List the caller org's Spaces (newest first). Org-less System Spaces are not enumerated here.
|
|
23
46
|
*/
|
|
47
|
+
const spacesControllerList = async (params, options) => {
|
|
48
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerListUrl)(params), {
|
|
49
|
+
...options,
|
|
50
|
+
method: 'GET'
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
exports.spacesControllerList = spacesControllerList;
|
|
24
54
|
const getSpacesControllerResolveUrl = (params) => {
|
|
25
55
|
const normalizedParams = new URLSearchParams();
|
|
26
56
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -44,6 +74,9 @@ const getSpacesControllerResolveUrl = (params) => {
|
|
|
44
74
|
return stringifiedParams.length > 0 ? `/spaces/resolve?${stringifiedParams}` : `/spaces/resolve`;
|
|
45
75
|
};
|
|
46
76
|
exports.getSpacesControllerResolveUrl = getSpacesControllerResolveUrl;
|
|
77
|
+
/**
|
|
78
|
+
* @summary Resolve a Space by its xema:// URI.
|
|
79
|
+
*/
|
|
47
80
|
const spacesControllerResolve = async (params, options) => {
|
|
48
81
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerResolveUrl)(params), {
|
|
49
82
|
...options,
|
|
@@ -51,9 +84,6 @@ const spacesControllerResolve = async (params, options) => {
|
|
|
51
84
|
});
|
|
52
85
|
};
|
|
53
86
|
exports.spacesControllerResolve = spacesControllerResolve;
|
|
54
|
-
/**
|
|
55
|
-
* @summary Persisted ancestor chain (closest-first, self at index 0) up to System.
|
|
56
|
-
*/
|
|
57
87
|
const getSpacesControllerAncestorsUrl = (params) => {
|
|
58
88
|
const normalizedParams = new URLSearchParams();
|
|
59
89
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -77,6 +107,9 @@ const getSpacesControllerAncestorsUrl = (params) => {
|
|
|
77
107
|
return stringifiedParams.length > 0 ? `/spaces/ancestors?${stringifiedParams}` : `/spaces/ancestors`;
|
|
78
108
|
};
|
|
79
109
|
exports.getSpacesControllerAncestorsUrl = getSpacesControllerAncestorsUrl;
|
|
110
|
+
/**
|
|
111
|
+
* @summary Persisted ancestor chain (closest-first, self at index 0) up to System.
|
|
112
|
+
*/
|
|
80
113
|
const spacesControllerAncestors = async (params, options) => {
|
|
81
114
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerAncestorsUrl)(params), {
|
|
82
115
|
...options,
|
|
@@ -84,9 +117,6 @@ const spacesControllerAncestors = async (params, options) => {
|
|
|
84
117
|
});
|
|
85
118
|
};
|
|
86
119
|
exports.spacesControllerAncestors = spacesControllerAncestors;
|
|
87
|
-
/**
|
|
88
|
-
* @summary Resolve effective (most-specific-wins) classification over the ancestry.
|
|
89
|
-
*/
|
|
90
120
|
const getSpacesControllerClassificationUrl = (params) => {
|
|
91
121
|
const normalizedParams = new URLSearchParams();
|
|
92
122
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -110,6 +140,9 @@ const getSpacesControllerClassificationUrl = (params) => {
|
|
|
110
140
|
return stringifiedParams.length > 0 ? `/spaces/classification?${stringifiedParams}` : `/spaces/classification`;
|
|
111
141
|
};
|
|
112
142
|
exports.getSpacesControllerClassificationUrl = getSpacesControllerClassificationUrl;
|
|
143
|
+
/**
|
|
144
|
+
* @summary Resolve effective (most-specific-wins) classification over the ancestry.
|
|
145
|
+
*/
|
|
113
146
|
const spacesControllerClassification = async (params, options) => {
|
|
114
147
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerClassificationUrl)(params), {
|
|
115
148
|
...options,
|
|
@@ -117,13 +150,13 @@ const spacesControllerClassification = async (params, options) => {
|
|
|
117
150
|
});
|
|
118
151
|
};
|
|
119
152
|
exports.spacesControllerClassification = spacesControllerClassification;
|
|
120
|
-
/**
|
|
121
|
-
* @summary Fetch a Space by opaque id.
|
|
122
|
-
*/
|
|
123
153
|
const getSpacesControllerGetByIdUrl = (id) => {
|
|
124
154
|
return `/spaces/${id}`;
|
|
125
155
|
};
|
|
126
156
|
exports.getSpacesControllerGetByIdUrl = getSpacesControllerGetByIdUrl;
|
|
157
|
+
/**
|
|
158
|
+
* @summary Fetch a Space by opaque id.
|
|
159
|
+
*/
|
|
127
160
|
const spacesControllerGetById = async (id, options) => {
|
|
128
161
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerGetByIdUrl)(id), {
|
|
129
162
|
...options,
|
|
@@ -131,13 +164,27 @@ const spacesControllerGetById = async (id, options) => {
|
|
|
131
164
|
});
|
|
132
165
|
};
|
|
133
166
|
exports.spacesControllerGetById = spacesControllerGetById;
|
|
167
|
+
const getSpacesControllerRemoveUrl = (id) => {
|
|
168
|
+
return `/spaces/${id}`;
|
|
169
|
+
};
|
|
170
|
+
exports.getSpacesControllerRemoveUrl = getSpacesControllerRemoveUrl;
|
|
134
171
|
/**
|
|
135
|
-
* @summary
|
|
172
|
+
* @summary Delete a Space by id. Refuses system-managed Spaces and Spaces that still have children (fail-fast).
|
|
136
173
|
*/
|
|
174
|
+
const spacesControllerRemove = async (id, options) => {
|
|
175
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerRemoveUrl)(id), {
|
|
176
|
+
...options,
|
|
177
|
+
method: 'DELETE'
|
|
178
|
+
});
|
|
179
|
+
};
|
|
180
|
+
exports.spacesControllerRemove = spacesControllerRemove;
|
|
137
181
|
const getSpacesControllerSetClassificationUrl = (id) => {
|
|
138
182
|
return `/spaces/${id}/classification`;
|
|
139
183
|
};
|
|
140
184
|
exports.getSpacesControllerSetClassificationUrl = getSpacesControllerSetClassificationUrl;
|
|
185
|
+
/**
|
|
186
|
+
* @summary Set/change a Space's own classification. Downgrades require allowDowngrade and are audited.
|
|
187
|
+
*/
|
|
141
188
|
const spacesControllerSetClassification = async (id, updateClassificationDto, options) => {
|
|
142
189
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpacesControllerSetClassificationUrl)(id), {
|
|
143
190
|
...options,
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { CreateSpaceDtoLabels } from './createSpaceDtoLabels';
|
|
9
|
-
import type { DataClassification } from './dataClassification';
|
|
8
|
+
import type { CreateSpaceDtoLabels } from './createSpaceDtoLabels.js';
|
|
9
|
+
import type { DataClassification } from './dataClassification.js';
|
|
10
10
|
export interface CreateSpaceDto {
|
|
11
11
|
/** Canonical xema:// Space URI to create. */
|
|
12
12
|
ref: string;
|
|
@@ -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,12 +1,12 @@
|
|
|
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
8
|
/**
|
|
9
|
-
* Own
|
|
9
|
+
* Own classification, if explicitly set on this Space.
|
|
10
10
|
*/
|
|
11
11
|
export type DataClassification = typeof DataClassification[keyof typeof DataClassification];
|
|
12
12
|
export declare const DataClassification: {
|
|
@@ -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.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,11 +2,15 @@ export * from './createSpaceDto';
|
|
|
2
2
|
export * from './createSpaceDtoLabels';
|
|
3
3
|
export * from './dataClassification';
|
|
4
4
|
export * from './spaceAncestorsDto';
|
|
5
|
+
export * from './spaceAncestorsDtoDataEnvelope';
|
|
5
6
|
export * from './spaceClassificationDto';
|
|
7
|
+
export * from './spaceClassificationDtoDataEnvelope';
|
|
6
8
|
export * from './spaceClassificationDtoResolvedFromRefUri';
|
|
7
9
|
export * from './spaceDto';
|
|
8
10
|
export * from './spaceDtoAppId';
|
|
9
11
|
export * from './spaceDtoBiomeId';
|
|
12
|
+
export * from './spaceDtoDataArrayEnvelope';
|
|
13
|
+
export * from './spaceDtoDataEnvelope';
|
|
10
14
|
export * from './spaceDtoLabels';
|
|
11
15
|
export * from './spaceDtoOrgId';
|
|
12
16
|
export * from './spaceDtoParentId';
|
|
@@ -16,5 +20,6 @@ export * from './spaceDtoUserId';
|
|
|
16
20
|
export * from './spaceKind';
|
|
17
21
|
export * from './spacesControllerAncestorsParams';
|
|
18
22
|
export * from './spacesControllerClassificationParams';
|
|
23
|
+
export * from './spacesControllerListParams';
|
|
19
24
|
export * from './spacesControllerResolveParams';
|
|
20
25
|
export * from './updateClassificationDto';
|
package/dist/models/index.js
CHANGED
|
@@ -19,11 +19,15 @@ __exportStar(require("./createSpaceDto"), exports);
|
|
|
19
19
|
__exportStar(require("./createSpaceDtoLabels"), exports);
|
|
20
20
|
__exportStar(require("./dataClassification"), exports);
|
|
21
21
|
__exportStar(require("./spaceAncestorsDto"), exports);
|
|
22
|
+
__exportStar(require("./spaceAncestorsDtoDataEnvelope"), exports);
|
|
22
23
|
__exportStar(require("./spaceClassificationDto"), exports);
|
|
24
|
+
__exportStar(require("./spaceClassificationDtoDataEnvelope"), exports);
|
|
23
25
|
__exportStar(require("./spaceClassificationDtoResolvedFromRefUri"), exports);
|
|
24
26
|
__exportStar(require("./spaceDto"), exports);
|
|
25
27
|
__exportStar(require("./spaceDtoAppId"), exports);
|
|
26
28
|
__exportStar(require("./spaceDtoBiomeId"), exports);
|
|
29
|
+
__exportStar(require("./spaceDtoDataArrayEnvelope"), exports);
|
|
30
|
+
__exportStar(require("./spaceDtoDataEnvelope"), exports);
|
|
27
31
|
__exportStar(require("./spaceDtoLabels"), exports);
|
|
28
32
|
__exportStar(require("./spaceDtoOrgId"), exports);
|
|
29
33
|
__exportStar(require("./spaceDtoParentId"), exports);
|
|
@@ -33,5 +37,6 @@ __exportStar(require("./spaceDtoUserId"), exports);
|
|
|
33
37
|
__exportStar(require("./spaceKind"), exports);
|
|
34
38
|
__exportStar(require("./spacesControllerAncestorsParams"), exports);
|
|
35
39
|
__exportStar(require("./spacesControllerClassificationParams"), exports);
|
|
40
|
+
__exportStar(require("./spacesControllerListParams"), exports);
|
|
36
41
|
__exportStar(require("./spacesControllerResolveParams"), exports);
|
|
37
42
|
__exportStar(require("./updateClassificationDto"), exports);
|
|
@@ -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 { SpaceDto } from './spaceDto';
|
|
8
|
+
import type { SpaceDto } from './spaceDto.js';
|
|
9
9
|
export interface SpaceAncestorsDto {
|
|
10
10
|
/** The Space URI that was resolved. */
|
|
11
11
|
refUri: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SpaceAncestorsDto } from './spaceAncestorsDto.js';
|
|
9
|
+
export interface SpaceAncestorsDtoDataEnvelope {
|
|
10
|
+
data: SpaceAncestorsDto;
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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';
|
|
9
|
-
import type { SpaceClassificationDtoResolvedFromRefUri } from './spaceClassificationDtoResolvedFromRefUri';
|
|
8
|
+
import type { DataClassification } from './dataClassification.js';
|
|
9
|
+
import type { SpaceClassificationDtoResolvedFromRefUri } from './spaceClassificationDtoResolvedFromRefUri.js';
|
|
10
10
|
export interface SpaceClassificationDto {
|
|
11
11
|
/** The Space URI that was resolved. */
|
|
12
12
|
refUri: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SpaceClassificationDto } from './spaceClassificationDto.js';
|
|
9
|
+
export interface SpaceClassificationDtoDataEnvelope {
|
|
10
|
+
data: SpaceClassificationDto;
|
|
11
|
+
}
|
|
@@ -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,20 +1,20 @@
|
|
|
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';
|
|
9
|
-
import type { SpaceDtoAppId } from './spaceDtoAppId';
|
|
10
|
-
import type { SpaceDtoBiomeId } from './spaceDtoBiomeId';
|
|
11
|
-
import type { SpaceDtoLabels } from './spaceDtoLabels';
|
|
12
|
-
import type { SpaceDtoOrgId } from './spaceDtoOrgId';
|
|
13
|
-
import type { SpaceDtoParentId } from './spaceDtoParentId';
|
|
14
|
-
import type { SpaceDtoProjectId } from './spaceDtoProjectId';
|
|
15
|
-
import type { SpaceDtoSessionId } from './spaceDtoSessionId';
|
|
16
|
-
import type { SpaceDtoUserId } from './spaceDtoUserId';
|
|
17
|
-
import type { SpaceKind } from './spaceKind';
|
|
8
|
+
import type { DataClassification } from './dataClassification.js';
|
|
9
|
+
import type { SpaceDtoAppId } from './spaceDtoAppId.js';
|
|
10
|
+
import type { SpaceDtoBiomeId } from './spaceDtoBiomeId.js';
|
|
11
|
+
import type { SpaceDtoLabels } from './spaceDtoLabels.js';
|
|
12
|
+
import type { SpaceDtoOrgId } from './spaceDtoOrgId.js';
|
|
13
|
+
import type { SpaceDtoParentId } from './spaceDtoParentId.js';
|
|
14
|
+
import type { SpaceDtoProjectId } from './spaceDtoProjectId.js';
|
|
15
|
+
import type { SpaceDtoSessionId } from './spaceDtoSessionId.js';
|
|
16
|
+
import type { SpaceDtoUserId } from './spaceDtoUserId.js';
|
|
17
|
+
import type { SpaceKind } from './spaceKind.js';
|
|
18
18
|
export interface SpaceDto {
|
|
19
19
|
/** Opaque Space id (cuid). */
|
|
20
20
|
id: string;
|
|
@@ -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,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.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SpaceDto } from './spaceDto.js';
|
|
9
|
+
export interface SpaceDtoDataArrayEnvelope {
|
|
10
|
+
data: SpaceDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SpaceDto } from './spaceDto.js';
|
|
9
|
+
export interface SpaceDtoDataEnvelope {
|
|
10
|
+
data: SpaceDto;
|
|
11
|
+
}
|
|
@@ -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,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,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,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,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,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.
|
package/dist/models/spaceKind.js
CHANGED
|
@@ -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,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,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.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type SpacesControllerListParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Max rows to return (1–500, default 100).
|
|
11
|
+
*/
|
|
12
|
+
limit?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|