@xemahq/project-registry-api-client 0.2.7 → 0.2.9
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/endpoints/project-registry/project-registry.d.ts +13 -8
- package/dist/endpoints/project-registry/project-registry.js +31 -19
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/projectRegistryControllerListProjectsIncludeArchived.d.ts +10 -0
- package/dist/models/{ensureManagedProjectDto.js → projectRegistryControllerListProjectsIncludeArchived.js} +5 -0
- package/dist/models/projectRegistryControllerListProjectsParams.d.ts +5 -0
- package/dist/models/projectRegistryControllerListProjectsParams.js +0 -5
- package/dist/models/projectResponseDto.d.ts +8 -0
- package/dist/models/projectResponseDtoManagedBy.d.ts +18 -0
- package/dist/models/projectResponseDtoManagedBy.js +16 -0
- package/dist/models/projectSummaryResponseDto.d.ts +8 -0
- package/dist/models/projectSummaryResponseDto.js +0 -5
- package/dist/models/projectSummaryResponseDtoManagedBy.d.ts +18 -0
- package/dist/models/projectSummaryResponseDtoManagedBy.js +16 -0
- package/package.json +2 -2
- package/dist/models/ensureManagedProjectDto.d.ts +0 -9
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Project Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.2
|
|
5
5
|
*/
|
|
6
|
-
import type { BootstrapAnalyzeDto, BootstrapDecisionDtoDataEnvelope, BootstrapProjectDto, CreateProjectDto,
|
|
6
|
+
import type { BootstrapAnalyzeDto, BootstrapDecisionDtoDataEnvelope, BootstrapProjectDto, CreateProjectDto, PreferredImageVariantResponseDtoDataEnvelope, ProjectRegistryControllerListProjectsParams, ProjectResponseDtoDataEnvelope, ProjectSummaryResponseDtoDataArrayEnvelope, SetPreferredImageVariantDto, UpdateProjectConnectionDto, UpdateProjectDto, UpdateProjectSettingsDto } from '../../models';
|
|
7
7
|
export declare const getProjectRegistryControllerCreateProjectUrl: () => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary Create project workspace and optional repository link
|
|
@@ -11,14 +11,9 @@ export declare const getProjectRegistryControllerCreateProjectUrl: () => string;
|
|
|
11
11
|
export declare const projectRegistryControllerCreateProject: (createProjectDto: CreateProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
12
12
|
export declare const getProjectRegistryControllerListProjectsUrl: (params?: ProjectRegistryControllerListProjectsParams) => string;
|
|
13
13
|
/**
|
|
14
|
-
* @summary List
|
|
14
|
+
* @summary List projects for the organization. Archived (retired) projects are excluded unless `includeArchived=true`.
|
|
15
15
|
*/
|
|
16
16
|
export declare const projectRegistryControllerListProjects: (params?: ProjectRegistryControllerListProjectsParams, options?: RequestInit) => Promise<ProjectSummaryResponseDtoDataArrayEnvelope>;
|
|
17
|
-
export declare const getProjectRegistryControllerEnsureManagedProjectUrl: (managedKey: string) => string;
|
|
18
|
-
/**
|
|
19
|
-
* @summary Idempotently resolve-or-seed a managed project by a stable natural key and return it
|
|
20
|
-
*/
|
|
21
|
-
export declare const projectRegistryControllerEnsureManagedProject: (managedKey: string, ensureManagedProjectDto: EnsureManagedProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
22
17
|
export declare const getProjectRegistryControllerGetProjectUrl: (projectId: string) => string;
|
|
23
18
|
/**
|
|
24
19
|
* @summary Get project aggregate
|
|
@@ -31,9 +26,19 @@ export declare const getProjectRegistryControllerUpdateProjectUrl: (projectId: s
|
|
|
31
26
|
export declare const projectRegistryControllerUpdateProject: (projectId: string, updateProjectDto: UpdateProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
32
27
|
export declare const getProjectRegistryControllerDeleteProjectUrl: (projectId: string) => string;
|
|
33
28
|
/**
|
|
34
|
-
* @summary
|
|
29
|
+
* @summary Hard-delete a project and all associated data, and publish the platform-wide cascade-cleanup signal. Irreversible — use archive for a reversible retire. Refused (409 PROJECT_MANAGED_DELETE_REFUSED) for a project a producer owns and would recreate; `hardDeletable` on the project response is this exact precondition.
|
|
35
30
|
*/
|
|
36
31
|
export declare const projectRegistryControllerDeleteProject: (projectId: string, options?: RequestInit) => Promise<unknown>;
|
|
32
|
+
export declare const getProjectRegistryControllerArchiveProjectUrl: (projectId: string) => string;
|
|
33
|
+
/**
|
|
34
|
+
* @summary Archive (soft-retire) a project. The project leaves the default listing and accepts no further writes; every row it owns is kept. Reversible via `POST /:projectId/unarchive`, and idempotent. Nothing outside this service is notified — unlike DELETE, an archive publishes no cascade signal, because the data is exactly what un-archiving restores.
|
|
35
|
+
*/
|
|
36
|
+
export declare const projectRegistryControllerArchiveProject: (projectId: string, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
37
|
+
export declare const getProjectRegistryControllerUnarchiveProjectUrl: (projectId: string) => string;
|
|
38
|
+
/**
|
|
39
|
+
* @summary Un-archive a retired project, returning it to `active`. The exact inverse of archive and nothing else — the `ui` adoption an archive performed is NOT undone. Idempotent.
|
|
40
|
+
*/
|
|
41
|
+
export declare const projectRegistryControllerUnarchiveProject: (projectId: string, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
37
42
|
export declare const getProjectRegistryControllerUpdateSettingsUrl: (projectId: string) => string;
|
|
38
43
|
/**
|
|
39
44
|
* @summary Update project settings
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.projectRegistryControllerBootstrap = exports.getProjectRegistryControllerBootstrapUrl = exports.projectRegistryControllerAnalyzeBootstrap = exports.getProjectRegistryControllerAnalyzeBootstrapUrl = exports.projectRegistryControllerSetPreferredImageVariant = exports.getProjectRegistryControllerSetPreferredImageVariantUrl = exports.projectRegistryControllerGetPreferredImageVariant = exports.getProjectRegistryControllerGetPreferredImageVariantUrl = exports.projectRegistryControllerUpdateConnection = exports.getProjectRegistryControllerUpdateConnectionUrl = exports.projectRegistryControllerGetTypedSettings = exports.getProjectRegistryControllerGetTypedSettingsUrl = exports.projectRegistryControllerUpdateSettings = exports.getProjectRegistryControllerUpdateSettingsUrl = exports.
|
|
3
|
+
exports.projectRegistryControllerBootstrap = exports.getProjectRegistryControllerBootstrapUrl = exports.projectRegistryControllerAnalyzeBootstrap = exports.getProjectRegistryControllerAnalyzeBootstrapUrl = exports.projectRegistryControllerSetPreferredImageVariant = exports.getProjectRegistryControllerSetPreferredImageVariantUrl = exports.projectRegistryControllerGetPreferredImageVariant = exports.getProjectRegistryControllerGetPreferredImageVariantUrl = exports.projectRegistryControllerUpdateConnection = exports.getProjectRegistryControllerUpdateConnectionUrl = exports.projectRegistryControllerGetTypedSettings = exports.getProjectRegistryControllerGetTypedSettingsUrl = exports.projectRegistryControllerUpdateSettings = exports.getProjectRegistryControllerUpdateSettingsUrl = exports.projectRegistryControllerUnarchiveProject = exports.getProjectRegistryControllerUnarchiveProjectUrl = exports.projectRegistryControllerArchiveProject = exports.getProjectRegistryControllerArchiveProjectUrl = exports.projectRegistryControllerDeleteProject = exports.getProjectRegistryControllerDeleteProjectUrl = exports.projectRegistryControllerUpdateProject = exports.getProjectRegistryControllerUpdateProjectUrl = exports.projectRegistryControllerGetProject = exports.getProjectRegistryControllerGetProjectUrl = exports.projectRegistryControllerListProjects = exports.getProjectRegistryControllerListProjectsUrl = exports.projectRegistryControllerCreateProject = exports.getProjectRegistryControllerCreateProjectUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getProjectRegistryControllerCreateProjectUrl = () => {
|
|
6
6
|
return `/projects`;
|
|
@@ -42,7 +42,7 @@ const getProjectRegistryControllerListProjectsUrl = (params) => {
|
|
|
42
42
|
};
|
|
43
43
|
exports.getProjectRegistryControllerListProjectsUrl = getProjectRegistryControllerListProjectsUrl;
|
|
44
44
|
/**
|
|
45
|
-
* @summary List
|
|
45
|
+
* @summary List projects for the organization. Archived (retired) projects are excluded unless `includeArchived=true`.
|
|
46
46
|
*/
|
|
47
47
|
const projectRegistryControllerListProjects = async (params, options) => {
|
|
48
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerListProjectsUrl)(params), {
|
|
@@ -51,22 +51,6 @@ const projectRegistryControllerListProjects = async (params, options) => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
exports.projectRegistryControllerListProjects = projectRegistryControllerListProjects;
|
|
54
|
-
const getProjectRegistryControllerEnsureManagedProjectUrl = (managedKey) => {
|
|
55
|
-
return `/projects/managed/${managedKey}`;
|
|
56
|
-
};
|
|
57
|
-
exports.getProjectRegistryControllerEnsureManagedProjectUrl = getProjectRegistryControllerEnsureManagedProjectUrl;
|
|
58
|
-
/**
|
|
59
|
-
* @summary Idempotently resolve-or-seed a managed project by a stable natural key and return it
|
|
60
|
-
*/
|
|
61
|
-
const projectRegistryControllerEnsureManagedProject = async (managedKey, ensureManagedProjectDto, options) => {
|
|
62
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerEnsureManagedProjectUrl)(managedKey), {
|
|
63
|
-
...options,
|
|
64
|
-
method: 'PUT',
|
|
65
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
66
|
-
body: JSON.stringify(ensureManagedProjectDto)
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
exports.projectRegistryControllerEnsureManagedProject = projectRegistryControllerEnsureManagedProject;
|
|
70
54
|
const getProjectRegistryControllerGetProjectUrl = (projectId) => {
|
|
71
55
|
return `/projects/${projectId}`;
|
|
72
56
|
};
|
|
@@ -102,7 +86,7 @@ const getProjectRegistryControllerDeleteProjectUrl = (projectId) => {
|
|
|
102
86
|
};
|
|
103
87
|
exports.getProjectRegistryControllerDeleteProjectUrl = getProjectRegistryControllerDeleteProjectUrl;
|
|
104
88
|
/**
|
|
105
|
-
* @summary
|
|
89
|
+
* @summary Hard-delete a project and all associated data, and publish the platform-wide cascade-cleanup signal. Irreversible — use archive for a reversible retire. Refused (409 PROJECT_MANAGED_DELETE_REFUSED) for a project a producer owns and would recreate; `hardDeletable` on the project response is this exact precondition.
|
|
106
90
|
*/
|
|
107
91
|
const projectRegistryControllerDeleteProject = async (projectId, options) => {
|
|
108
92
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerDeleteProjectUrl)(projectId), {
|
|
@@ -111,6 +95,34 @@ const projectRegistryControllerDeleteProject = async (projectId, options) => {
|
|
|
111
95
|
});
|
|
112
96
|
};
|
|
113
97
|
exports.projectRegistryControllerDeleteProject = projectRegistryControllerDeleteProject;
|
|
98
|
+
const getProjectRegistryControllerArchiveProjectUrl = (projectId) => {
|
|
99
|
+
return `/projects/${projectId}/archive`;
|
|
100
|
+
};
|
|
101
|
+
exports.getProjectRegistryControllerArchiveProjectUrl = getProjectRegistryControllerArchiveProjectUrl;
|
|
102
|
+
/**
|
|
103
|
+
* @summary Archive (soft-retire) a project. The project leaves the default listing and accepts no further writes; every row it owns is kept. Reversible via `POST /:projectId/unarchive`, and idempotent. Nothing outside this service is notified — unlike DELETE, an archive publishes no cascade signal, because the data is exactly what un-archiving restores.
|
|
104
|
+
*/
|
|
105
|
+
const projectRegistryControllerArchiveProject = async (projectId, options) => {
|
|
106
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerArchiveProjectUrl)(projectId), {
|
|
107
|
+
...options,
|
|
108
|
+
method: 'POST'
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
exports.projectRegistryControllerArchiveProject = projectRegistryControllerArchiveProject;
|
|
112
|
+
const getProjectRegistryControllerUnarchiveProjectUrl = (projectId) => {
|
|
113
|
+
return `/projects/${projectId}/unarchive`;
|
|
114
|
+
};
|
|
115
|
+
exports.getProjectRegistryControllerUnarchiveProjectUrl = getProjectRegistryControllerUnarchiveProjectUrl;
|
|
116
|
+
/**
|
|
117
|
+
* @summary Un-archive a retired project, returning it to `active`. The exact inverse of archive and nothing else — the `ui` adoption an archive performed is NOT undone. Idempotent.
|
|
118
|
+
*/
|
|
119
|
+
const projectRegistryControllerUnarchiveProject = async (projectId, options) => {
|
|
120
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUnarchiveProjectUrl)(projectId), {
|
|
121
|
+
...options,
|
|
122
|
+
method: 'POST'
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
exports.projectRegistryControllerUnarchiveProject = projectRegistryControllerUnarchiveProject;
|
|
114
126
|
const getProjectRegistryControllerUpdateSettingsUrl = (projectId) => {
|
|
115
127
|
return `/projects/${projectId}/settings`;
|
|
116
128
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export * from './createProjectDto';
|
|
|
11
11
|
export * from './createProjectRepoDto';
|
|
12
12
|
export * from './createVariableDto';
|
|
13
13
|
export * from './createWalletDto';
|
|
14
|
-
export * from './ensureManagedProjectDto';
|
|
15
14
|
export * from './errorDetailsDto';
|
|
16
15
|
export * from './errorDetailsDtoDetails';
|
|
17
16
|
export * from './errorPayloadDto';
|
|
@@ -52,16 +51,19 @@ export * from './projectEnvResponseDto';
|
|
|
52
51
|
export * from './projectMembershipResponseDto';
|
|
53
52
|
export * from './projectMembershipResponseDtoDataArrayEnvelope';
|
|
54
53
|
export * from './projectMembershipResponseDtoDataEnvelope';
|
|
54
|
+
export * from './projectRegistryControllerListProjectsIncludeArchived';
|
|
55
55
|
export * from './projectRegistryControllerListProjectsParams';
|
|
56
56
|
export * from './projectRepoResponseDto';
|
|
57
57
|
export * from './projectResponseDto';
|
|
58
58
|
export * from './projectResponseDtoDataEnvelope';
|
|
59
|
+
export * from './projectResponseDtoManagedBy';
|
|
59
60
|
export * from './projectRole';
|
|
60
61
|
export * from './projectSettingsResponseDto';
|
|
61
62
|
export * from './projectSettingsResponseDtoCloudDetails';
|
|
62
63
|
export * from './projectSettingsResponseDtoCloudProvider';
|
|
63
64
|
export * from './projectSummaryResponseDto';
|
|
64
65
|
export * from './projectSummaryResponseDtoDataArrayEnvelope';
|
|
66
|
+
export * from './projectSummaryResponseDtoManagedBy';
|
|
65
67
|
export * from './promptClassificationDto';
|
|
66
68
|
export * from './promptClassificationDtoClassification';
|
|
67
69
|
export * from './provisionOnboardingRequestDto';
|
package/dist/models/index.js
CHANGED
|
@@ -28,7 +28,6 @@ __exportStar(require("./createProjectDto"), exports);
|
|
|
28
28
|
__exportStar(require("./createProjectRepoDto"), exports);
|
|
29
29
|
__exportStar(require("./createVariableDto"), exports);
|
|
30
30
|
__exportStar(require("./createWalletDto"), exports);
|
|
31
|
-
__exportStar(require("./ensureManagedProjectDto"), exports);
|
|
32
31
|
__exportStar(require("./errorDetailsDto"), exports);
|
|
33
32
|
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
34
33
|
__exportStar(require("./errorPayloadDto"), exports);
|
|
@@ -69,16 +68,19 @@ __exportStar(require("./projectEnvResponseDto"), exports);
|
|
|
69
68
|
__exportStar(require("./projectMembershipResponseDto"), exports);
|
|
70
69
|
__exportStar(require("./projectMembershipResponseDtoDataArrayEnvelope"), exports);
|
|
71
70
|
__exportStar(require("./projectMembershipResponseDtoDataEnvelope"), exports);
|
|
71
|
+
__exportStar(require("./projectRegistryControllerListProjectsIncludeArchived"), exports);
|
|
72
72
|
__exportStar(require("./projectRegistryControllerListProjectsParams"), exports);
|
|
73
73
|
__exportStar(require("./projectRepoResponseDto"), exports);
|
|
74
74
|
__exportStar(require("./projectResponseDto"), exports);
|
|
75
75
|
__exportStar(require("./projectResponseDtoDataEnvelope"), exports);
|
|
76
|
+
__exportStar(require("./projectResponseDtoManagedBy"), exports);
|
|
76
77
|
__exportStar(require("./projectRole"), exports);
|
|
77
78
|
__exportStar(require("./projectSettingsResponseDto"), exports);
|
|
78
79
|
__exportStar(require("./projectSettingsResponseDtoCloudDetails"), exports);
|
|
79
80
|
__exportStar(require("./projectSettingsResponseDtoCloudProvider"), exports);
|
|
80
81
|
__exportStar(require("./projectSummaryResponseDto"), exports);
|
|
81
82
|
__exportStar(require("./projectSummaryResponseDtoDataArrayEnvelope"), exports);
|
|
83
|
+
__exportStar(require("./projectSummaryResponseDtoManagedBy"), exports);
|
|
82
84
|
__exportStar(require("./promptClassificationDto"), exports);
|
|
83
85
|
__exportStar(require("./promptClassificationDtoClassification"), exports);
|
|
84
86
|
__exportStar(require("./provisionOnboardingRequestDto"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Project Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
export type ProjectRegistryControllerListProjectsIncludeArchived = typeof ProjectRegistryControllerListProjectsIncludeArchived[keyof typeof ProjectRegistryControllerListProjectsIncludeArchived];
|
|
7
|
+
export declare const ProjectRegistryControllerListProjectsIncludeArchived: {
|
|
8
|
+
readonly true: "true";
|
|
9
|
+
readonly false: "false";
|
|
10
|
+
};
|
|
@@ -5,3 +5,8 @@
|
|
|
5
5
|
* OpenAPI spec version: 0.1.2
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ProjectRegistryControllerListProjectsIncludeArchived = void 0;
|
|
9
|
+
exports.ProjectRegistryControllerListProjectsIncludeArchived = {
|
|
10
|
+
true: 'true',
|
|
11
|
+
false: 'false',
|
|
12
|
+
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Project Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.2
|
|
5
5
|
*/
|
|
6
|
+
import type { ProjectRegistryControllerListProjectsIncludeArchived } from './projectRegistryControllerListProjectsIncludeArchived.js';
|
|
6
7
|
export type ProjectRegistryControllerListProjectsParams = {
|
|
7
8
|
/**
|
|
8
9
|
* Page number (default: 1)
|
|
@@ -12,4 +13,8 @@ export type ProjectRegistryControllerListProjectsParams = {
|
|
|
12
13
|
* Items per page (default: 20, max: 100)
|
|
13
14
|
*/
|
|
14
15
|
limit?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Include archived (retired) projects in the listing. Default: false.
|
|
18
|
+
*/
|
|
19
|
+
includeArchived?: ProjectRegistryControllerListProjectsIncludeArchived;
|
|
15
20
|
};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { ProjectConnectionResponseDto } from './projectConnectionResponseDto.js';
|
|
7
7
|
import type { ProjectEnvResponseDto } from './projectEnvResponseDto.js';
|
|
8
8
|
import type { ProjectRepoResponseDto } from './projectRepoResponseDto.js';
|
|
9
|
+
import type { ProjectResponseDtoManagedBy } from './projectResponseDtoManagedBy.js';
|
|
9
10
|
import type { ProjectSettingsResponseDto } from './projectSettingsResponseDto.js';
|
|
10
11
|
export interface ProjectResponseDto {
|
|
11
12
|
id: string;
|
|
@@ -17,6 +18,13 @@ export interface ProjectResponseDto {
|
|
|
17
18
|
envs: ProjectEnvResponseDto[];
|
|
18
19
|
connections: ProjectConnectionResponseDto[];
|
|
19
20
|
settings?: ProjectSettingsResponseDto;
|
|
21
|
+
/**
|
|
22
|
+
* Provisioning ownership marker. `iac` = managed by the declarative control plane; `seeder` = resolved by a managed-key producer; `ui` = hand-managed (or adopted from seeder by an edit or an archive); `system` = platform-shipped; null = unmanaged/legacy.
|
|
23
|
+
* @nullable
|
|
24
|
+
*/
|
|
25
|
+
managedBy: ProjectResponseDtoManagedBy;
|
|
26
|
+
/** Whether DELETE /projects/:projectId would be accepted — read-only and server-derived. False means a producer owns this project and would recreate it; archive it instead, or retire the source that declares it. */
|
|
27
|
+
hardDeletable: boolean;
|
|
20
28
|
createdAt: string;
|
|
21
29
|
createdBy: string;
|
|
22
30
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Project Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Provisioning ownership marker. `iac` = managed by the declarative control plane; `seeder` = resolved by a managed-key producer; `ui` = hand-managed (or adopted from seeder by an edit or an archive); `system` = platform-shipped; null = unmanaged/legacy.
|
|
8
|
+
* @nullable
|
|
9
|
+
*/
|
|
10
|
+
export type ProjectResponseDtoManagedBy = typeof ProjectResponseDtoManagedBy[keyof typeof ProjectResponseDtoManagedBy] | null;
|
|
11
|
+
export declare const ProjectResponseDtoManagedBy: {
|
|
12
|
+
readonly ui: "ui";
|
|
13
|
+
readonly iac: "iac";
|
|
14
|
+
readonly seeder: "seeder";
|
|
15
|
+
readonly biome_contributed: "biome_contributed";
|
|
16
|
+
readonly runtime_registered: "runtime_registered";
|
|
17
|
+
readonly system: "system";
|
|
18
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Project Registry API
|
|
5
|
+
* OpenAPI spec version: 0.1.2
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ProjectResponseDtoManagedBy = void 0;
|
|
9
|
+
exports.ProjectResponseDtoManagedBy = {
|
|
10
|
+
ui: 'ui',
|
|
11
|
+
iac: 'iac',
|
|
12
|
+
seeder: 'seeder',
|
|
13
|
+
biome_contributed: 'biome_contributed',
|
|
14
|
+
runtime_registered: 'runtime_registered',
|
|
15
|
+
system: 'system',
|
|
16
|
+
};
|
|
@@ -3,12 +3,20 @@
|
|
|
3
3
|
* Project Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.2
|
|
5
5
|
*/
|
|
6
|
+
import type { ProjectSummaryResponseDtoManagedBy } from './projectSummaryResponseDtoManagedBy.js';
|
|
6
7
|
export interface ProjectSummaryResponseDto {
|
|
7
8
|
id: string;
|
|
8
9
|
orgId: string;
|
|
9
10
|
name: string;
|
|
10
11
|
description?: string;
|
|
11
12
|
status: string;
|
|
13
|
+
/**
|
|
14
|
+
* Provisioning ownership marker. `iac` = managed by the declarative control plane; `seeder` = resolved by a managed-key producer; `ui` = hand-managed (or adopted from seeder by an edit or an archive); `system` = platform-shipped; null = unmanaged/legacy.
|
|
15
|
+
* @nullable
|
|
16
|
+
*/
|
|
17
|
+
managedBy: ProjectSummaryResponseDtoManagedBy;
|
|
18
|
+
/** Whether DELETE /projects/:projectId would be accepted — read-only and server-derived. False means a producer owns this project and would recreate it; archive it instead, or retire the source that declares it. */
|
|
19
|
+
hardDeletable: boolean;
|
|
12
20
|
createdAt: string;
|
|
13
21
|
createdBy: string;
|
|
14
22
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Project Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Provisioning ownership marker. `iac` = managed by the declarative control plane; `seeder` = resolved by a managed-key producer; `ui` = hand-managed (or adopted from seeder by an edit or an archive); `system` = platform-shipped; null = unmanaged/legacy.
|
|
8
|
+
* @nullable
|
|
9
|
+
*/
|
|
10
|
+
export type ProjectSummaryResponseDtoManagedBy = typeof ProjectSummaryResponseDtoManagedBy[keyof typeof ProjectSummaryResponseDtoManagedBy] | null;
|
|
11
|
+
export declare const ProjectSummaryResponseDtoManagedBy: {
|
|
12
|
+
readonly ui: "ui";
|
|
13
|
+
readonly iac: "iac";
|
|
14
|
+
readonly seeder: "seeder";
|
|
15
|
+
readonly biome_contributed: "biome_contributed";
|
|
16
|
+
readonly runtime_registered: "runtime_registered";
|
|
17
|
+
readonly system: "system";
|
|
18
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Project Registry API
|
|
5
|
+
* OpenAPI spec version: 0.1.2
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ProjectSummaryResponseDtoManagedBy = void 0;
|
|
9
|
+
exports.ProjectSummaryResponseDtoManagedBy = {
|
|
10
|
+
ui: 'ui',
|
|
11
|
+
iac: 'iac',
|
|
12
|
+
seeder: 'seeder',
|
|
13
|
+
biome_contributed: 'biome_contributed',
|
|
14
|
+
runtime_registered: 'runtime_registered',
|
|
15
|
+
system: 'system',
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/project-registry-api-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "project-registry-api",
|
|
20
20
|
"biome": "project-registry",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@0.15.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.15.2",
|
|
23
23
|
"source": "openapi.public.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|