@djvlc/openapi-registry-client 1.4.1 → 1.4.3

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.
Files changed (5) hide show
  1. package/dist/index.d.mts +1884 -714
  2. package/dist/index.d.ts +1884 -714
  3. package/dist/index.js +3727 -15997
  4. package/dist/index.mjs +3420 -15992
  5. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -1,87 +1,44 @@
1
- import * as axios from 'axios';
2
- import { AxiosInstance, RawAxiosRequestConfig } from 'axios';
3
- import { AuthConfig, RetryConfig } from '@djvlc/openapi-client-core';
4
- export { AuthConfig, RetryConfig } from '@djvlc/openapi-client-core';
1
+ import { AuthConfig, RetryConfig, Logger } from '@djvlc/openapi-client-core';
2
+ export { AbortError, ApiError, AuthConfig, ErrorInterceptor, Logger, NetworkError, RequestInterceptor, ResponseInterceptor, RetryConfig, TimeoutError, createConsoleLogger, createMetricsCollector, createMetricsInterceptors, createSilentLogger, isRetryableError } from '@djvlc/openapi-client-core';
5
3
 
6
- /**
7
- * DJVLC Registry API
8
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
9
- *
10
- * The version of the OpenAPI document: 2.0.0
11
- * Contact: dev@djvlc.com
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
4
  interface ConfigurationParameters {
18
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
5
+ basePath?: string;
6
+ fetchApi?: FetchAPI;
7
+ middleware?: Middleware[];
8
+ queryParamsStringify?: (params: HTTPQuery) => string;
19
9
  username?: string;
20
10
  password?: string;
21
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
22
- basePath?: string;
23
- serverIndex?: number;
24
- baseOptions?: any;
25
- formDataCtor?: new () => any;
11
+ apiKey?: string | ((name: string) => string);
12
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
13
+ headers?: HTTPHeaders;
14
+ credentials?: RequestCredentials;
26
15
  }
27
16
  declare class Configuration {
28
- /**
29
- * parameter for apiKey security
30
- * @param name security name
31
- * @memberof Configuration
32
- */
33
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
34
- /**
35
- * parameter for basic security
36
- *
37
- * @type {string}
38
- * @memberof Configuration
39
- */
40
- username?: string;
41
- /**
42
- * parameter for basic security
43
- *
44
- * @type {string}
45
- * @memberof Configuration
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- * @memberof Configuration
53
- */
54
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
55
- /**
56
- * override base path
57
- *
58
- * @type {string}
59
- * @memberof Configuration
60
- */
61
- basePath?: string;
62
- /**
63
- * override server index
64
- *
65
- * @type {number}
66
- * @memberof Configuration
67
- */
68
- serverIndex?: number;
69
- /**
70
- * base options for axios calls
71
- *
72
- * @type {any}
73
- * @memberof Configuration
74
- */
75
- baseOptions?: any;
76
- /**
77
- * The FormData constructor that will be used to create multipart form data
78
- * requests. You can inject this here so that execution environments that
79
- * do not support the FormData class can still run the generated client.
80
- *
81
- * @type {new () => FormData}
82
- */
83
- formDataCtor?: new () => any;
84
- constructor(param?: ConfigurationParameters);
17
+ private configuration;
18
+ constructor(configuration?: ConfigurationParameters);
19
+ set config(configuration: Configuration);
20
+ get basePath(): string;
21
+ get fetchApi(): FetchAPI | undefined;
22
+ get middleware(): Middleware[];
23
+ get queryParamsStringify(): (params: HTTPQuery) => string;
24
+ get username(): string | undefined;
25
+ get password(): string | undefined;
26
+ get apiKey(): ((name: string) => string) | undefined;
27
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
28
+ get headers(): HTTPHeaders | undefined;
29
+ get credentials(): RequestCredentials | undefined;
30
+ }
31
+ /**
32
+ * This is the base class for all generated API classes.
33
+ */
34
+ declare class BaseAPI {
35
+ protected configuration: Configuration;
36
+ private static readonly jsonRegex;
37
+ private middleware;
38
+ constructor(configuration?: Configuration);
39
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
40
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
41
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
85
42
  /**
86
43
  * Check if the given MIME is a JSON MIME.
87
44
  * JSON MIME examples:
@@ -92,36 +49,93 @@ declare class Configuration {
92
49
  * @param mime - MIME (Multipurpose Internet Mail Extensions)
93
50
  * @return True if the given MIME is JSON, false otherwise.
94
51
  */
95
- isJsonMime(mime: string): boolean;
52
+ protected isJsonMime(mime: string | null | undefined): boolean;
53
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
54
+ private createFetchParams;
55
+ private fetchApi;
56
+ /**
57
+ * Create a shallow clone of `this` by constructing a new instance
58
+ * and then shallow cloning data members.
59
+ */
60
+ private clone;
96
61
  }
97
-
98
- /**
99
- * DJVLC Registry API
100
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
101
- *
102
- * The version of the OpenAPI document: 2.0.0
103
- * Contact: dev@djvlc.com
104
- *
105
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
106
- * https://openapi-generator.tech
107
- * Do not edit the class manually.
108
- */
109
-
110
- /**
111
- *
112
- * @export
113
- * @class BaseAPI
114
- */
115
- declare class BaseAPI {
116
- protected basePath: string;
117
- protected axios: AxiosInstance;
118
- protected configuration: Configuration | undefined;
119
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
62
+ declare class ResponseError extends Error {
63
+ response: Response;
64
+ name: "ResponseError";
65
+ constructor(response: Response, msg?: string);
66
+ }
67
+ declare class FetchError extends Error {
68
+ cause: Error;
69
+ name: "FetchError";
70
+ constructor(cause: Error, msg?: string);
71
+ }
72
+ declare class RequiredError extends Error {
73
+ field: string;
74
+ name: "RequiredError";
75
+ constructor(field: string, msg?: string);
76
+ }
77
+ type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
78
+ type Json = any;
79
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
80
+ type HTTPHeaders = {
81
+ [key: string]: string;
82
+ };
83
+ type HTTPQuery = {
84
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
85
+ };
86
+ type HTTPBody = Json | FormData | URLSearchParams;
87
+ type HTTPRequestInit = {
88
+ headers?: HTTPHeaders;
89
+ method: HTTPMethod;
90
+ credentials?: RequestCredentials;
91
+ body?: HTTPBody;
92
+ };
93
+ type InitOverrideFunction = (requestContext: {
94
+ init: HTTPRequestInit;
95
+ context: RequestOpts;
96
+ }) => Promise<RequestInit>;
97
+ interface FetchParams {
98
+ url: string;
99
+ init: RequestInit;
100
+ }
101
+ interface RequestOpts {
102
+ path: string;
103
+ method: HTTPMethod;
104
+ headers: HTTPHeaders;
105
+ query?: HTTPQuery;
106
+ body?: HTTPBody;
107
+ }
108
+ interface RequestContext {
109
+ fetch: FetchAPI;
110
+ url: string;
111
+ init: RequestInit;
112
+ }
113
+ interface ResponseContext {
114
+ fetch: FetchAPI;
115
+ url: string;
116
+ init: RequestInit;
117
+ response: Response;
118
+ }
119
+ interface ErrorContext {
120
+ fetch: FetchAPI;
121
+ url: string;
122
+ init: RequestInit;
123
+ error: unknown;
124
+ response?: Response;
125
+ }
126
+ interface Middleware {
127
+ pre?(context: RequestContext): Promise<FetchParams | void>;
128
+ post?(context: ResponseContext): Promise<Response | void>;
129
+ onError?(context: ErrorContext): Promise<Response | void>;
130
+ }
131
+ interface ApiResponse<T> {
132
+ raw: Response;
133
+ value(): Promise<T>;
120
134
  }
121
135
 
122
136
  /**
123
137
  * DJVLC Registry API
124
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
138
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
125
139
  *
126
140
  * The version of the OpenAPI document: 2.0.0
127
141
  * Contact: dev@djvlc.com
@@ -141,18 +155,25 @@ interface BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner {
141
155
  * @type {string}
142
156
  * @memberof BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner
143
157
  */
144
- 'type'?: string;
158
+ type?: string;
145
159
  /**
146
160
  *
147
161
  * @type {string}
148
162
  * @memberof BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner
149
163
  */
150
- 'description'?: string;
164
+ description?: string;
151
165
  }
166
+ /**
167
+ * Check if a given object implements the BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner interface.
168
+ */
169
+ declare function instanceOfBatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner(value: object): boolean;
170
+ declare function BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInnerFromJSON(json: any): BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner;
171
+ declare function BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner;
172
+ declare function BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInnerToJSON(value?: BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner | null): any;
152
173
 
153
174
  /**
154
175
  * DJVLC Registry API
155
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
176
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
156
177
  *
157
178
  * The version of the OpenAPI document: 2.0.0
158
179
  * Contact: dev@djvlc.com
@@ -173,54 +194,61 @@ interface BatchCheckCompatibility200ResponseResultsInner {
173
194
  * @type {string}
174
195
  * @memberof BatchCheckCompatibility200ResponseResultsInner
175
196
  */
176
- 'name'?: string;
197
+ name?: string;
177
198
  /**
178
199
  *
179
200
  * @type {string}
180
201
  * @memberof BatchCheckCompatibility200ResponseResultsInner
181
202
  */
182
- 'version'?: string;
203
+ version?: string;
183
204
  /**
184
205
  *
185
206
  * @type {boolean}
186
207
  * @memberof BatchCheckCompatibility200ResponseResultsInner
187
208
  */
188
- 'compatible'?: boolean;
209
+ compatible?: boolean;
189
210
  /**
190
211
  *
191
212
  * @type {string}
192
213
  * @memberof BatchCheckCompatibility200ResponseResultsInner
193
214
  */
194
- 'minRuntime'?: string;
215
+ minRuntime?: string;
195
216
  /**
196
217
  *
197
218
  * @type {string}
198
219
  * @memberof BatchCheckCompatibility200ResponseResultsInner
199
220
  */
200
- 'maxRuntime'?: string;
221
+ maxRuntime?: string;
201
222
  /**
202
223
  *
203
224
  * @type {boolean}
204
225
  * @memberof BatchCheckCompatibility200ResponseResultsInner
205
226
  */
206
- 'hasBreakingChange'?: boolean;
227
+ hasBreakingChange?: boolean;
207
228
  /**
208
229
  *
209
230
  * @type {Array<BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner>}
210
231
  * @memberof BatchCheckCompatibility200ResponseResultsInner
211
232
  */
212
- 'breakingChanges'?: Array<BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner>;
233
+ breakingChanges?: Array<BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner>;
213
234
  /**
214
235
  *
215
236
  * @type {Array<string>}
216
237
  * @memberof BatchCheckCompatibility200ResponseResultsInner
217
238
  */
218
- 'warnings'?: Array<string>;
239
+ warnings?: Array<string>;
219
240
  }
241
+ /**
242
+ * Check if a given object implements the BatchCheckCompatibility200ResponseResultsInner interface.
243
+ */
244
+ declare function instanceOfBatchCheckCompatibility200ResponseResultsInner(value: object): boolean;
245
+ declare function BatchCheckCompatibility200ResponseResultsInnerFromJSON(json: any): BatchCheckCompatibility200ResponseResultsInner;
246
+ declare function BatchCheckCompatibility200ResponseResultsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchCheckCompatibility200ResponseResultsInner;
247
+ declare function BatchCheckCompatibility200ResponseResultsInnerToJSON(value?: BatchCheckCompatibility200ResponseResultsInner | null): any;
220
248
 
221
249
  /**
222
250
  * DJVLC Registry API
223
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
251
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
224
252
  *
225
253
  * The version of the OpenAPI document: 2.0.0
226
254
  * Contact: dev@djvlc.com
@@ -241,18 +269,25 @@ interface BatchCheckCompatibility200Response {
241
269
  * @type {boolean}
242
270
  * @memberof BatchCheckCompatibility200Response
243
271
  */
244
- 'compatible'?: boolean;
272
+ compatible?: boolean;
245
273
  /**
246
274
  *
247
275
  * @type {Array<BatchCheckCompatibility200ResponseResultsInner>}
248
276
  * @memberof BatchCheckCompatibility200Response
249
277
  */
250
- 'results'?: Array<BatchCheckCompatibility200ResponseResultsInner>;
278
+ results?: Array<BatchCheckCompatibility200ResponseResultsInner>;
251
279
  }
280
+ /**
281
+ * Check if a given object implements the BatchCheckCompatibility200Response interface.
282
+ */
283
+ declare function instanceOfBatchCheckCompatibility200Response(value: object): boolean;
284
+ declare function BatchCheckCompatibility200ResponseFromJSON(json: any): BatchCheckCompatibility200Response;
285
+ declare function BatchCheckCompatibility200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchCheckCompatibility200Response;
286
+ declare function BatchCheckCompatibility200ResponseToJSON(value?: BatchCheckCompatibility200Response | null): any;
252
287
 
253
288
  /**
254
289
  * DJVLC Registry API
255
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
290
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
256
291
  *
257
292
  * The version of the OpenAPI document: 2.0.0
258
293
  * Contact: dev@djvlc.com
@@ -272,18 +307,25 @@ interface BatchCheckCompatibilityRequestComponentsInner {
272
307
  * @type {string}
273
308
  * @memberof BatchCheckCompatibilityRequestComponentsInner
274
309
  */
275
- 'name': string;
310
+ name: string;
276
311
  /**
277
312
  *
278
313
  * @type {string}
279
314
  * @memberof BatchCheckCompatibilityRequestComponentsInner
280
315
  */
281
- 'version': string;
316
+ version: string;
282
317
  }
318
+ /**
319
+ * Check if a given object implements the BatchCheckCompatibilityRequestComponentsInner interface.
320
+ */
321
+ declare function instanceOfBatchCheckCompatibilityRequestComponentsInner(value: object): boolean;
322
+ declare function BatchCheckCompatibilityRequestComponentsInnerFromJSON(json: any): BatchCheckCompatibilityRequestComponentsInner;
323
+ declare function BatchCheckCompatibilityRequestComponentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchCheckCompatibilityRequestComponentsInner;
324
+ declare function BatchCheckCompatibilityRequestComponentsInnerToJSON(value?: BatchCheckCompatibilityRequestComponentsInner | null): any;
283
325
 
284
326
  /**
285
327
  * DJVLC Registry API
286
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
328
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
287
329
  *
288
330
  * The version of the OpenAPI document: 2.0.0
289
331
  * Contact: dev@djvlc.com
@@ -304,18 +346,25 @@ interface BatchCheckCompatibilityRequest {
304
346
  * @type {string}
305
347
  * @memberof BatchCheckCompatibilityRequest
306
348
  */
307
- 'runtimeVersion': string;
349
+ runtimeVersion: string;
308
350
  /**
309
351
  *
310
352
  * @type {Array<BatchCheckCompatibilityRequestComponentsInner>}
311
353
  * @memberof BatchCheckCompatibilityRequest
312
354
  */
313
- 'components': Array<BatchCheckCompatibilityRequestComponentsInner>;
355
+ components: Array<BatchCheckCompatibilityRequestComponentsInner>;
314
356
  }
357
+ /**
358
+ * Check if a given object implements the BatchCheckCompatibilityRequest interface.
359
+ */
360
+ declare function instanceOfBatchCheckCompatibilityRequest(value: object): boolean;
361
+ declare function BatchCheckCompatibilityRequestFromJSON(json: any): BatchCheckCompatibilityRequest;
362
+ declare function BatchCheckCompatibilityRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchCheckCompatibilityRequest;
363
+ declare function BatchCheckCompatibilityRequestToJSON(value?: BatchCheckCompatibilityRequest | null): any;
315
364
 
316
365
  /**
317
366
  * DJVLC Registry API
318
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
367
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
319
368
  *
320
369
  * The version of the OpenAPI document: 2.0.0
321
370
  * Contact: dev@djvlc.com
@@ -335,72 +384,79 @@ interface BatchQueryComponents200ResponseDataInner {
335
384
  * @type {string}
336
385
  * @memberof BatchQueryComponents200ResponseDataInner
337
386
  */
338
- 'name'?: string;
387
+ name?: string;
339
388
  /**
340
389
  *
341
390
  * @type {string}
342
391
  * @memberof BatchQueryComponents200ResponseDataInner
343
392
  */
344
- 'version'?: string;
393
+ version?: string;
345
394
  /**
346
395
  *
347
396
  * @type {boolean}
348
397
  * @memberof BatchQueryComponents200ResponseDataInner
349
398
  */
350
- 'found'?: boolean;
399
+ found?: boolean;
351
400
  /**
352
401
  *
353
402
  * @type {boolean}
354
403
  * @memberof BatchQueryComponents200ResponseDataInner
355
404
  */
356
- 'blocked'?: boolean;
405
+ blocked?: boolean;
357
406
  /**
358
407
  *
359
408
  * @type {string}
360
409
  * @memberof BatchQueryComponents200ResponseDataInner
361
410
  */
362
- 'entry'?: string;
411
+ entry?: string;
363
412
  /**
364
413
  *
365
414
  * @type {object}
366
415
  * @memberof BatchQueryComponents200ResponseDataInner
367
416
  */
368
- 'integrity'?: object;
417
+ integrity?: object;
369
418
  /**
370
419
  *
371
420
  * @type {object}
372
421
  * @memberof BatchQueryComponents200ResponseDataInner
373
422
  */
374
- 'compat'?: object;
423
+ compat?: object;
375
424
  /**
376
425
  *
377
426
  * @type {Array<string>}
378
427
  * @memberof BatchQueryComponents200ResponseDataInner
379
428
  */
380
- 'capabilities'?: Array<string>;
429
+ capabilities?: Array<string>;
381
430
  /**
382
431
  *
383
432
  * @type {Array<string>}
384
433
  * @memberof BatchQueryComponents200ResponseDataInner
385
434
  */
386
- 'events'?: Array<string>;
435
+ events?: Array<string>;
387
436
  /**
388
437
  *
389
438
  * @type {object}
390
439
  * @memberof BatchQueryComponents200ResponseDataInner
391
440
  */
392
- 'propsSchema'?: object;
441
+ propsSchema?: object;
393
442
  /**
394
443
  * 如果查询失败,返回错误信息
395
444
  * @type {string}
396
445
  * @memberof BatchQueryComponents200ResponseDataInner
397
446
  */
398
- 'error'?: string;
447
+ error?: string;
399
448
  }
449
+ /**
450
+ * Check if a given object implements the BatchQueryComponents200ResponseDataInner interface.
451
+ */
452
+ declare function instanceOfBatchQueryComponents200ResponseDataInner(value: object): boolean;
453
+ declare function BatchQueryComponents200ResponseDataInnerFromJSON(json: any): BatchQueryComponents200ResponseDataInner;
454
+ declare function BatchQueryComponents200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchQueryComponents200ResponseDataInner;
455
+ declare function BatchQueryComponents200ResponseDataInnerToJSON(value?: BatchQueryComponents200ResponseDataInner | null): any;
400
456
 
401
457
  /**
402
458
  * DJVLC Registry API
403
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
459
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
404
460
  *
405
461
  * The version of the OpenAPI document: 2.0.0
406
462
  * Contact: dev@djvlc.com
@@ -420,30 +476,37 @@ interface BatchQueryComponents200ResponseMeta {
420
476
  * @type {number}
421
477
  * @memberof BatchQueryComponents200ResponseMeta
422
478
  */
423
- 'total'?: number;
479
+ total?: number;
424
480
  /**
425
481
  *
426
482
  * @type {number}
427
483
  * @memberof BatchQueryComponents200ResponseMeta
428
484
  */
429
- 'found'?: number;
485
+ found?: number;
430
486
  /**
431
487
  *
432
488
  * @type {number}
433
489
  * @memberof BatchQueryComponents200ResponseMeta
434
490
  */
435
- 'notFound'?: number;
491
+ notFound?: number;
436
492
  /**
437
493
  *
438
494
  * @type {number}
439
495
  * @memberof BatchQueryComponents200ResponseMeta
440
496
  */
441
- 'blocked'?: number;
497
+ blocked?: number;
442
498
  }
499
+ /**
500
+ * Check if a given object implements the BatchQueryComponents200ResponseMeta interface.
501
+ */
502
+ declare function instanceOfBatchQueryComponents200ResponseMeta(value: object): boolean;
503
+ declare function BatchQueryComponents200ResponseMetaFromJSON(json: any): BatchQueryComponents200ResponseMeta;
504
+ declare function BatchQueryComponents200ResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchQueryComponents200ResponseMeta;
505
+ declare function BatchQueryComponents200ResponseMetaToJSON(value?: BatchQueryComponents200ResponseMeta | null): any;
443
506
 
444
507
  /**
445
508
  * DJVLC Registry API
446
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
509
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
447
510
  *
448
511
  * The version of the OpenAPI document: 2.0.0
449
512
  * Contact: dev@djvlc.com
@@ -464,18 +527,25 @@ interface BatchQueryComponents200Response {
464
527
  * @type {Array<BatchQueryComponents200ResponseDataInner>}
465
528
  * @memberof BatchQueryComponents200Response
466
529
  */
467
- 'data'?: Array<BatchQueryComponents200ResponseDataInner>;
530
+ data?: Array<BatchQueryComponents200ResponseDataInner>;
468
531
  /**
469
532
  *
470
533
  * @type {BatchQueryComponents200ResponseMeta}
471
534
  * @memberof BatchQueryComponents200Response
472
535
  */
473
- 'meta'?: BatchQueryComponents200ResponseMeta;
536
+ meta?: BatchQueryComponents200ResponseMeta;
474
537
  }
538
+ /**
539
+ * Check if a given object implements the BatchQueryComponents200Response interface.
540
+ */
541
+ declare function instanceOfBatchQueryComponents200Response(value: object): boolean;
542
+ declare function BatchQueryComponents200ResponseFromJSON(json: any): BatchQueryComponents200Response;
543
+ declare function BatchQueryComponents200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchQueryComponents200Response;
544
+ declare function BatchQueryComponents200ResponseToJSON(value?: BatchQueryComponents200Response | null): any;
475
545
 
476
546
  /**
477
547
  * DJVLC Registry API
478
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
548
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
479
549
  *
480
550
  * The version of the OpenAPI document: 2.0.0
481
551
  * Contact: dev@djvlc.com
@@ -495,18 +565,25 @@ interface BatchQueryComponentsRequestComponentsInner {
495
565
  * @type {string}
496
566
  * @memberof BatchQueryComponentsRequestComponentsInner
497
567
  */
498
- 'name': string;
568
+ name: string;
499
569
  /**
500
570
  * 组件版本
501
571
  * @type {string}
502
572
  * @memberof BatchQueryComponentsRequestComponentsInner
503
573
  */
504
- 'version': string;
574
+ version: string;
505
575
  }
576
+ /**
577
+ * Check if a given object implements the BatchQueryComponentsRequestComponentsInner interface.
578
+ */
579
+ declare function instanceOfBatchQueryComponentsRequestComponentsInner(value: object): boolean;
580
+ declare function BatchQueryComponentsRequestComponentsInnerFromJSON(json: any): BatchQueryComponentsRequestComponentsInner;
581
+ declare function BatchQueryComponentsRequestComponentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchQueryComponentsRequestComponentsInner;
582
+ declare function BatchQueryComponentsRequestComponentsInnerToJSON(value?: BatchQueryComponentsRequestComponentsInner | null): any;
506
583
 
507
584
  /**
508
585
  * DJVLC Registry API
509
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
586
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
510
587
  *
511
588
  * The version of the OpenAPI document: 2.0.0
512
589
  * Contact: dev@djvlc.com
@@ -527,20 +604,23 @@ interface BatchQueryComponentsRequest {
527
604
  * @type {Array<BatchQueryComponentsRequestComponentsInner>}
528
605
  * @memberof BatchQueryComponentsRequest
529
606
  */
530
- 'components': Array<BatchQueryComponentsRequestComponentsInner>;
607
+ components: Array<BatchQueryComponentsRequestComponentsInner>;
531
608
  /**
532
609
  * 是否包含被阻断的组件
533
610
  * @type {boolean}
534
611
  * @memberof BatchQueryComponentsRequest
535
612
  */
536
- 'includeBlocked'?: boolean;
613
+ includeBlocked?: boolean;
537
614
  /**
538
615
  * 需要返回的字段(不指定则返回全部)
539
616
  * @type {Array<string>}
540
617
  * @memberof BatchQueryComponentsRequest
541
618
  */
542
- 'fields'?: Array<BatchQueryComponentsRequestFieldsEnum>;
619
+ fields?: Array<BatchQueryComponentsRequestFieldsEnum>;
543
620
  }
621
+ /**
622
+ * @export
623
+ */
544
624
  declare const BatchQueryComponentsRequestFieldsEnum: {
545
625
  readonly ENTRY: "entry";
546
626
  readonly INTEGRITY: "integrity";
@@ -550,10 +630,17 @@ declare const BatchQueryComponentsRequestFieldsEnum: {
550
630
  readonly PROPS_SCHEMA: "propsSchema";
551
631
  };
552
632
  type BatchQueryComponentsRequestFieldsEnum = typeof BatchQueryComponentsRequestFieldsEnum[keyof typeof BatchQueryComponentsRequestFieldsEnum];
633
+ /**
634
+ * Check if a given object implements the BatchQueryComponentsRequest interface.
635
+ */
636
+ declare function instanceOfBatchQueryComponentsRequest(value: object): boolean;
637
+ declare function BatchQueryComponentsRequestFromJSON(json: any): BatchQueryComponentsRequest;
638
+ declare function BatchQueryComponentsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchQueryComponentsRequest;
639
+ declare function BatchQueryComponentsRequestToJSON(value?: BatchQueryComponentsRequest | null): any;
553
640
 
554
641
  /**
555
642
  * DJVLC Registry API
556
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
643
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
557
644
  *
558
645
  * The version of the OpenAPI document: 2.0.0
559
646
  * Contact: dev@djvlc.com
@@ -573,30 +660,37 @@ interface BlockComponentVersionRequest {
573
660
  * @type {string}
574
661
  * @memberof BlockComponentVersionRequest
575
662
  */
576
- 'reason': string;
663
+ reason: string;
577
664
  /**
578
665
  * 是否紧急(紧急阻断会立即生效,跳过审批)
579
666
  * @type {boolean}
580
667
  * @memberof BlockComponentVersionRequest
581
668
  */
582
- 'urgent'?: boolean;
669
+ urgent?: boolean;
583
670
  /**
584
671
  * 受影响的页面 ID 列表(可选,用于通知)
585
672
  * @type {Array<string>}
586
673
  * @memberof BlockComponentVersionRequest
587
674
  */
588
- 'affectedPages'?: Array<string>;
675
+ affectedPages?: Array<string>;
589
676
  /**
590
677
  * 是否通知组件所有者
591
678
  * @type {boolean}
592
679
  * @memberof BlockComponentVersionRequest
593
680
  */
594
- 'notifyOwners'?: boolean;
681
+ notifyOwners?: boolean;
595
682
  }
683
+ /**
684
+ * Check if a given object implements the BlockComponentVersionRequest interface.
685
+ */
686
+ declare function instanceOfBlockComponentVersionRequest(value: object): boolean;
687
+ declare function BlockComponentVersionRequestFromJSON(json: any): BlockComponentVersionRequest;
688
+ declare function BlockComponentVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockComponentVersionRequest;
689
+ declare function BlockComponentVersionRequestToJSON(value?: BlockComponentVersionRequest | null): any;
596
690
 
597
691
  /**
598
692
  * DJVLC Registry API
599
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
693
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
600
694
  *
601
695
  * The version of the OpenAPI document: 2.0.0
602
696
  * Contact: dev@djvlc.com
@@ -616,23 +710,33 @@ interface ListVersions200ResponseDataInnerIntegrity {
616
710
  * @type {string}
617
711
  * @memberof ListVersions200ResponseDataInnerIntegrity
618
712
  */
619
- 'algorithm': ListVersions200ResponseDataInnerIntegrityAlgorithmEnum;
713
+ algorithm: ListVersions200ResponseDataInnerIntegrityAlgorithmEnum;
620
714
  /**
621
715
  * 哈希值
622
716
  * @type {string}
623
717
  * @memberof ListVersions200ResponseDataInnerIntegrity
624
718
  */
625
- 'hash': string;
719
+ hash: string;
626
720
  }
721
+ /**
722
+ * @export
723
+ */
627
724
  declare const ListVersions200ResponseDataInnerIntegrityAlgorithmEnum: {
628
725
  readonly SHA384: "sha384";
629
726
  readonly SHA512: "sha512";
630
727
  };
631
728
  type ListVersions200ResponseDataInnerIntegrityAlgorithmEnum = typeof ListVersions200ResponseDataInnerIntegrityAlgorithmEnum[keyof typeof ListVersions200ResponseDataInnerIntegrityAlgorithmEnum];
729
+ /**
730
+ * Check if a given object implements the ListVersions200ResponseDataInnerIntegrity interface.
731
+ */
732
+ declare function instanceOfListVersions200ResponseDataInnerIntegrity(value: object): boolean;
733
+ declare function ListVersions200ResponseDataInnerIntegrityFromJSON(json: any): ListVersions200ResponseDataInnerIntegrity;
734
+ declare function ListVersions200ResponseDataInnerIntegrityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListVersions200ResponseDataInnerIntegrity;
735
+ declare function ListVersions200ResponseDataInnerIntegrityToJSON(value?: ListVersions200ResponseDataInnerIntegrity | null): any;
632
736
 
633
737
  /**
634
738
  * DJVLC Registry API
635
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
739
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
636
740
  *
637
741
  * The version of the OpenAPI document: 2.0.0
638
742
  * Contact: dev@djvlc.com
@@ -653,72 +757,84 @@ interface ListVersions200ResponseDataInner {
653
757
  * @type {string}
654
758
  * @memberof ListVersions200ResponseDataInner
655
759
  */
656
- 'version': string;
760
+ version: string;
657
761
  /**
658
- * 版本状态
762
+ * 版本状态(状态机:draft → canary → stable → deprecated → blocked)
659
763
  * @type {string}
660
764
  * @memberof ListVersions200ResponseDataInner
661
765
  */
662
- 'status': ListVersions200ResponseDataInnerStatusEnum;
766
+ status: ListVersions200ResponseDataInnerStatusEnum;
663
767
  /**
664
768
  * 变更日志
665
769
  * @type {string}
666
770
  * @memberof ListVersions200ResponseDataInner
667
771
  */
668
- 'changelog'?: string;
772
+ changelog?: string;
669
773
  /**
670
774
  *
671
775
  * @type {ListVersions200ResponseDataInnerIntegrity}
672
776
  * @memberof ListVersions200ResponseDataInner
673
777
  */
674
- 'integrity'?: ListVersions200ResponseDataInnerIntegrity;
778
+ integrity?: ListVersions200ResponseDataInnerIntegrity;
675
779
  /**
676
780
  * 包大小(字节)
677
781
  * @type {number}
678
782
  * @memberof ListVersions200ResponseDataInner
679
783
  */
680
- 'size'?: number;
784
+ size?: number;
681
785
  /**
682
786
  * 创建时间
683
- * @type {string}
787
+ * @type {Date}
684
788
  * @memberof ListVersions200ResponseDataInner
685
789
  */
686
- 'createdAt': string;
790
+ createdAt: Date;
687
791
  /**
688
792
  * 发布时间
689
- * @type {string}
793
+ * @type {Date}
690
794
  * @memberof ListVersions200ResponseDataInner
691
795
  */
692
- 'publishedAt'?: string;
796
+ publishedAt?: Date;
693
797
  /**
694
798
  * 废弃时间
695
- * @type {string}
799
+ * @type {Date}
696
800
  * @memberof ListVersions200ResponseDataInner
697
801
  */
698
- 'deprecatedAt'?: string;
802
+ deprecatedAt?: Date;
699
803
  /**
700
804
  * 废弃说明
701
805
  * @type {string}
702
806
  * @memberof ListVersions200ResponseDataInner
703
807
  */
704
- 'deprecationMessage'?: string;
808
+ deprecationMessage?: string;
705
809
  /**
706
810
  * 下载次数
707
811
  * @type {number}
708
812
  * @memberof ListVersions200ResponseDataInner
709
813
  */
710
- 'downloads'?: number;
814
+ downloads?: number;
711
815
  }
816
+ /**
817
+ * @export
818
+ */
712
819
  declare const ListVersions200ResponseDataInnerStatusEnum: {
713
820
  readonly DRAFT: "draft";
714
- readonly PUBLISHED: "published";
821
+ readonly CANARY: "canary";
822
+ readonly STABLE: "stable";
715
823
  readonly DEPRECATED: "deprecated";
824
+ readonly BLOCKED: "blocked";
716
825
  };
717
826
  type ListVersions200ResponseDataInnerStatusEnum = typeof ListVersions200ResponseDataInnerStatusEnum[keyof typeof ListVersions200ResponseDataInnerStatusEnum];
827
+ /**
828
+ * Check if a given object implements the ListVersions200ResponseDataInner interface.
829
+ */
830
+ declare function instanceOfListVersions200ResponseDataInner(value: object): boolean;
831
+ declare function ListVersions200ResponseDataInnerFromJSON(json: any): ListVersions200ResponseDataInner;
832
+ declare function ListVersions200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListVersions200ResponseDataInner;
833
+ declare function ListVersions200ResponseDataInnerToJSON(value?: ListVersions200ResponseDataInner | null): any;
718
834
 
719
835
  /**
720
836
  * DJVLC Registry API
721
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
837
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
722
838
  *
723
839
  * The version of the OpenAPI document: 2.0.0
724
840
  * Contact: dev@djvlc.com
@@ -739,24 +855,31 @@ interface CompleteUpload200ResponseData {
739
855
  * @type {boolean}
740
856
  * @memberof CompleteUpload200ResponseData
741
857
  */
742
- 'success': boolean;
858
+ success: boolean;
743
859
  /**
744
860
  *
745
861
  * @type {ListVersions200ResponseDataInner}
746
862
  * @memberof CompleteUpload200ResponseData
747
863
  */
748
- 'version': ListVersions200ResponseDataInner;
864
+ version: ListVersions200ResponseDataInner;
749
865
  /**
750
866
  * 警告信息
751
867
  * @type {Array<string>}
752
868
  * @memberof CompleteUpload200ResponseData
753
869
  */
754
- 'warnings'?: Array<string>;
870
+ warnings?: Array<string>;
755
871
  }
872
+ /**
873
+ * Check if a given object implements the CompleteUpload200ResponseData interface.
874
+ */
875
+ declare function instanceOfCompleteUpload200ResponseData(value: object): boolean;
876
+ declare function CompleteUpload200ResponseDataFromJSON(json: any): CompleteUpload200ResponseData;
877
+ declare function CompleteUpload200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompleteUpload200ResponseData;
878
+ declare function CompleteUpload200ResponseDataToJSON(value?: CompleteUpload200ResponseData | null): any;
756
879
 
757
880
  /**
758
881
  * DJVLC Registry API
759
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
882
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
760
883
  *
761
884
  * The version of the OpenAPI document: 2.0.0
762
885
  * Contact: dev@djvlc.com
@@ -777,12 +900,19 @@ interface CompleteUpload200Response {
777
900
  * @type {CompleteUpload200ResponseData}
778
901
  * @memberof CompleteUpload200Response
779
902
  */
780
- 'data': CompleteUpload200ResponseData;
903
+ data: CompleteUpload200ResponseData;
781
904
  }
905
+ /**
906
+ * Check if a given object implements the CompleteUpload200Response interface.
907
+ */
908
+ declare function instanceOfCompleteUpload200Response(value: object): boolean;
909
+ declare function CompleteUpload200ResponseFromJSON(json: any): CompleteUpload200Response;
910
+ declare function CompleteUpload200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompleteUpload200Response;
911
+ declare function CompleteUpload200ResponseToJSON(value?: CompleteUpload200Response | null): any;
782
912
 
783
913
  /**
784
914
  * DJVLC Registry API
785
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
915
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
786
916
  *
787
917
  * The version of the OpenAPI document: 2.0.0
788
918
  * Contact: dev@djvlc.com
@@ -802,18 +932,25 @@ interface CompleteUploadRequestFilesInner {
802
932
  * @type {string}
803
933
  * @memberof CompleteUploadRequestFilesInner
804
934
  */
805
- 'path': string;
935
+ path: string;
806
936
  /**
807
937
  * 文件完整性哈希
808
938
  * @type {string}
809
939
  * @memberof CompleteUploadRequestFilesInner
810
940
  */
811
- 'integrity': string;
941
+ integrity: string;
812
942
  }
943
+ /**
944
+ * Check if a given object implements the CompleteUploadRequestFilesInner interface.
945
+ */
946
+ declare function instanceOfCompleteUploadRequestFilesInner(value: object): boolean;
947
+ declare function CompleteUploadRequestFilesInnerFromJSON(json: any): CompleteUploadRequestFilesInner;
948
+ declare function CompleteUploadRequestFilesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompleteUploadRequestFilesInner;
949
+ declare function CompleteUploadRequestFilesInnerToJSON(value?: CompleteUploadRequestFilesInner | null): any;
813
950
 
814
951
  /**
815
952
  * DJVLC Registry API
816
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
953
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
817
954
  *
818
955
  * The version of the OpenAPI document: 2.0.0
819
956
  * Contact: dev@djvlc.com
@@ -834,18 +971,25 @@ interface CompleteUploadRequest {
834
971
  * @type {string}
835
972
  * @memberof CompleteUploadRequest
836
973
  */
837
- 'uploadId': string;
974
+ uploadId: string;
838
975
  /**
839
976
  * 已上传文件列表
840
977
  * @type {Array<CompleteUploadRequestFilesInner>}
841
978
  * @memberof CompleteUploadRequest
842
979
  */
843
- 'files': Array<CompleteUploadRequestFilesInner>;
980
+ files: Array<CompleteUploadRequestFilesInner>;
844
981
  }
982
+ /**
983
+ * Check if a given object implements the CompleteUploadRequest interface.
984
+ */
985
+ declare function instanceOfCompleteUploadRequest(value: object): boolean;
986
+ declare function CompleteUploadRequestFromJSON(json: any): CompleteUploadRequest;
987
+ declare function CompleteUploadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompleteUploadRequest;
988
+ declare function CompleteUploadRequestToJSON(value?: CompleteUploadRequest | null): any;
845
989
 
846
990
  /**
847
991
  * DJVLC Registry API
848
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
992
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
849
993
  *
850
994
  * The version of the OpenAPI document: 2.0.0
851
995
  * Contact: dev@djvlc.com
@@ -866,12 +1010,19 @@ interface CompleteUploadResponse {
866
1010
  * @type {CompleteUpload200ResponseData}
867
1011
  * @memberof CompleteUploadResponse
868
1012
  */
869
- 'data': CompleteUpload200ResponseData;
1013
+ data: CompleteUpload200ResponseData;
870
1014
  }
1015
+ /**
1016
+ * Check if a given object implements the CompleteUploadResponse interface.
1017
+ */
1018
+ declare function instanceOfCompleteUploadResponse(value: object): boolean;
1019
+ declare function CompleteUploadResponseFromJSON(json: any): CompleteUploadResponse;
1020
+ declare function CompleteUploadResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompleteUploadResponse;
1021
+ declare function CompleteUploadResponseToJSON(value?: CompleteUploadResponse | null): any;
871
1022
 
872
1023
  /**
873
1024
  * DJVLC Registry API
874
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1025
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
875
1026
  *
876
1027
  * The version of the OpenAPI document: 2.0.0
877
1028
  * Contact: dev@djvlc.com
@@ -891,96 +1042,103 @@ interface ComponentInfo {
891
1042
  * @type {string}
892
1043
  * @memberof ComponentInfo
893
1044
  */
894
- 'id': string;
1045
+ id: string;
895
1046
  /**
896
1047
  * 组件名称(唯一标识,如 @djvlc/button)
897
1048
  * @type {string}
898
1049
  * @memberof ComponentInfo
899
1050
  */
900
- 'name': string;
1051
+ name: string;
901
1052
  /**
902
1053
  * 显示名称
903
1054
  * @type {string}
904
1055
  * @memberof ComponentInfo
905
1056
  */
906
- 'displayName'?: string;
1057
+ displayName?: string;
907
1058
  /**
908
1059
  * 组件描述
909
1060
  * @type {string}
910
1061
  * @memberof ComponentInfo
911
1062
  */
912
- 'description'?: string;
1063
+ description?: string;
913
1064
  /**
914
1065
  * 组件分类
915
1066
  * @type {string}
916
1067
  * @memberof ComponentInfo
917
1068
  */
918
- 'category': string;
1069
+ category: string;
919
1070
  /**
920
1071
  * 标签
921
1072
  * @type {Array<string>}
922
1073
  * @memberof ComponentInfo
923
1074
  */
924
- 'tags'?: Array<string>;
1075
+ tags?: Array<string>;
925
1076
  /**
926
1077
  * 图标 URL
927
1078
  * @type {string}
928
1079
  * @memberof ComponentInfo
929
1080
  */
930
- 'icon'?: string;
1081
+ icon?: string;
931
1082
  /**
932
1083
  * 主页 URL
933
1084
  * @type {string}
934
1085
  * @memberof ComponentInfo
935
1086
  */
936
- 'homepage'?: string;
1087
+ homepage?: string;
937
1088
  /**
938
1089
  * 仓库 URL
939
1090
  * @type {string}
940
1091
  * @memberof ComponentInfo
941
1092
  */
942
- 'repository'?: string;
1093
+ repository?: string;
943
1094
  /**
944
1095
  * 所有者 ID
945
1096
  * @type {string}
946
1097
  * @memberof ComponentInfo
947
1098
  */
948
- 'owner': string;
1099
+ owner: string;
949
1100
  /**
950
1101
  * 最新发布版本
951
1102
  * @type {string}
952
1103
  * @memberof ComponentInfo
953
1104
  */
954
- 'latestVersion'?: string;
1105
+ latestVersion?: string;
955
1106
  /**
956
1107
  * 已发布版本数量
957
1108
  * @type {number}
958
1109
  * @memberof ComponentInfo
959
1110
  */
960
- 'publishedVersions'?: number;
1111
+ publishedVersions?: number;
961
1112
  /**
962
1113
  * 下载次数
963
1114
  * @type {number}
964
1115
  * @memberof ComponentInfo
965
1116
  */
966
- 'downloads'?: number;
1117
+ downloads?: number;
967
1118
  /**
968
1119
  * 创建时间
969
- * @type {string}
1120
+ * @type {Date}
970
1121
  * @memberof ComponentInfo
971
1122
  */
972
- 'createdAt': string;
1123
+ createdAt: Date;
973
1124
  /**
974
1125
  * 更新时间
975
- * @type {string}
1126
+ * @type {Date}
976
1127
  * @memberof ComponentInfo
977
1128
  */
978
- 'updatedAt'?: string;
1129
+ updatedAt?: Date;
979
1130
  }
1131
+ /**
1132
+ * Check if a given object implements the ComponentInfo interface.
1133
+ */
1134
+ declare function instanceOfComponentInfo(value: object): boolean;
1135
+ declare function ComponentInfoFromJSON(json: any): ComponentInfo;
1136
+ declare function ComponentInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentInfo;
1137
+ declare function ComponentInfoToJSON(value?: ComponentInfo | null): any;
980
1138
 
981
1139
  /**
982
1140
  * DJVLC Registry API
983
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1141
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
984
1142
  *
985
1143
  * The version of the OpenAPI document: 2.0.0
986
1144
  * Contact: dev@djvlc.com
@@ -1000,96 +1158,103 @@ interface ListComponents200ResponseDataInner {
1000
1158
  * @type {string}
1001
1159
  * @memberof ListComponents200ResponseDataInner
1002
1160
  */
1003
- 'id': string;
1161
+ id: string;
1004
1162
  /**
1005
1163
  * 组件名称(唯一标识,如 @djvlc/button)
1006
1164
  * @type {string}
1007
1165
  * @memberof ListComponents200ResponseDataInner
1008
1166
  */
1009
- 'name': string;
1167
+ name: string;
1010
1168
  /**
1011
1169
  * 显示名称
1012
1170
  * @type {string}
1013
1171
  * @memberof ListComponents200ResponseDataInner
1014
1172
  */
1015
- 'displayName'?: string;
1173
+ displayName?: string;
1016
1174
  /**
1017
1175
  * 组件描述
1018
1176
  * @type {string}
1019
1177
  * @memberof ListComponents200ResponseDataInner
1020
1178
  */
1021
- 'description'?: string;
1179
+ description?: string;
1022
1180
  /**
1023
1181
  * 组件分类
1024
1182
  * @type {string}
1025
1183
  * @memberof ListComponents200ResponseDataInner
1026
1184
  */
1027
- 'category': string;
1185
+ category: string;
1028
1186
  /**
1029
1187
  * 标签
1030
1188
  * @type {Array<string>}
1031
1189
  * @memberof ListComponents200ResponseDataInner
1032
1190
  */
1033
- 'tags'?: Array<string>;
1191
+ tags?: Array<string>;
1034
1192
  /**
1035
1193
  * 图标 URL
1036
1194
  * @type {string}
1037
1195
  * @memberof ListComponents200ResponseDataInner
1038
1196
  */
1039
- 'icon'?: string;
1197
+ icon?: string;
1040
1198
  /**
1041
1199
  * 主页 URL
1042
1200
  * @type {string}
1043
1201
  * @memberof ListComponents200ResponseDataInner
1044
1202
  */
1045
- 'homepage'?: string;
1203
+ homepage?: string;
1046
1204
  /**
1047
1205
  * 仓库 URL
1048
1206
  * @type {string}
1049
1207
  * @memberof ListComponents200ResponseDataInner
1050
1208
  */
1051
- 'repository'?: string;
1209
+ repository?: string;
1052
1210
  /**
1053
1211
  * 所有者 ID
1054
1212
  * @type {string}
1055
1213
  * @memberof ListComponents200ResponseDataInner
1056
1214
  */
1057
- 'owner': string;
1215
+ owner: string;
1058
1216
  /**
1059
1217
  * 最新发布版本
1060
1218
  * @type {string}
1061
1219
  * @memberof ListComponents200ResponseDataInner
1062
1220
  */
1063
- 'latestVersion'?: string;
1221
+ latestVersion?: string;
1064
1222
  /**
1065
1223
  * 已发布版本数量
1066
1224
  * @type {number}
1067
1225
  * @memberof ListComponents200ResponseDataInner
1068
1226
  */
1069
- 'publishedVersions'?: number;
1227
+ publishedVersions?: number;
1070
1228
  /**
1071
1229
  * 下载次数
1072
1230
  * @type {number}
1073
1231
  * @memberof ListComponents200ResponseDataInner
1074
1232
  */
1075
- 'downloads'?: number;
1233
+ downloads?: number;
1076
1234
  /**
1077
1235
  * 创建时间
1078
- * @type {string}
1236
+ * @type {Date}
1079
1237
  * @memberof ListComponents200ResponseDataInner
1080
1238
  */
1081
- 'createdAt': string;
1239
+ createdAt: Date;
1082
1240
  /**
1083
1241
  * 更新时间
1084
- * @type {string}
1242
+ * @type {Date}
1085
1243
  * @memberof ListComponents200ResponseDataInner
1086
1244
  */
1087
- 'updatedAt'?: string;
1245
+ updatedAt?: Date;
1088
1246
  }
1247
+ /**
1248
+ * Check if a given object implements the ListComponents200ResponseDataInner interface.
1249
+ */
1250
+ declare function instanceOfListComponents200ResponseDataInner(value: object): boolean;
1251
+ declare function ListComponents200ResponseDataInnerFromJSON(json: any): ListComponents200ResponseDataInner;
1252
+ declare function ListComponents200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListComponents200ResponseDataInner;
1253
+ declare function ListComponents200ResponseDataInnerToJSON(value?: ListComponents200ResponseDataInner | null): any;
1089
1254
 
1090
1255
  /**
1091
1256
  * DJVLC Registry API
1092
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1257
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1093
1258
  *
1094
1259
  * The version of the OpenAPI document: 2.0.0
1095
1260
  * Contact: dev@djvlc.com
@@ -1109,30 +1274,37 @@ interface ListComponents200ResponseMeta {
1109
1274
  * @type {number}
1110
1275
  * @memberof ListComponents200ResponseMeta
1111
1276
  */
1112
- 'page': number;
1277
+ page: number;
1113
1278
  /**
1114
1279
  * 每页数量
1115
1280
  * @type {number}
1116
1281
  * @memberof ListComponents200ResponseMeta
1117
1282
  */
1118
- 'limit': number;
1283
+ limit: number;
1119
1284
  /**
1120
1285
  * 总记录数
1121
1286
  * @type {number}
1122
1287
  * @memberof ListComponents200ResponseMeta
1123
1288
  */
1124
- 'total': number;
1289
+ total: number;
1125
1290
  /**
1126
1291
  * 总页数
1127
1292
  * @type {number}
1128
1293
  * @memberof ListComponents200ResponseMeta
1129
1294
  */
1130
- 'totalPages': number;
1295
+ totalPages: number;
1131
1296
  }
1297
+ /**
1298
+ * Check if a given object implements the ListComponents200ResponseMeta interface.
1299
+ */
1300
+ declare function instanceOfListComponents200ResponseMeta(value: object): boolean;
1301
+ declare function ListComponents200ResponseMetaFromJSON(json: any): ListComponents200ResponseMeta;
1302
+ declare function ListComponents200ResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListComponents200ResponseMeta;
1303
+ declare function ListComponents200ResponseMetaToJSON(value?: ListComponents200ResponseMeta | null): any;
1132
1304
 
1133
1305
  /**
1134
1306
  * DJVLC Registry API
1135
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1307
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1136
1308
  *
1137
1309
  * The version of the OpenAPI document: 2.0.0
1138
1310
  * Contact: dev@djvlc.com
@@ -1153,18 +1325,25 @@ interface ComponentListResponse {
1153
1325
  * @type {Array<ListComponents200ResponseDataInner>}
1154
1326
  * @memberof ComponentListResponse
1155
1327
  */
1156
- 'data': Array<ListComponents200ResponseDataInner>;
1328
+ data: Array<ListComponents200ResponseDataInner>;
1157
1329
  /**
1158
1330
  *
1159
1331
  * @type {ListComponents200ResponseMeta}
1160
1332
  * @memberof ComponentListResponse
1161
1333
  */
1162
- 'meta': ListComponents200ResponseMeta;
1334
+ meta: ListComponents200ResponseMeta;
1163
1335
  }
1336
+ /**
1337
+ * Check if a given object implements the ComponentListResponse interface.
1338
+ */
1339
+ declare function instanceOfComponentListResponse(value: object): boolean;
1340
+ declare function ComponentListResponseFromJSON(json: any): ComponentListResponse;
1341
+ declare function ComponentListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentListResponse;
1342
+ declare function ComponentListResponseToJSON(value?: ComponentListResponse | null): any;
1164
1343
 
1165
1344
  /**
1166
1345
  * DJVLC Registry API
1167
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1346
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1168
1347
  *
1169
1348
  * The version of the OpenAPI document: 2.0.0
1170
1349
  * Contact: dev@djvlc.com
@@ -1185,12 +1364,19 @@ interface ComponentResponse {
1185
1364
  * @type {ListComponents200ResponseDataInner}
1186
1365
  * @memberof ComponentResponse
1187
1366
  */
1188
- 'data': ListComponents200ResponseDataInner;
1367
+ data: ListComponents200ResponseDataInner;
1189
1368
  }
1369
+ /**
1370
+ * Check if a given object implements the ComponentResponse interface.
1371
+ */
1372
+ declare function instanceOfComponentResponse(value: object): boolean;
1373
+ declare function ComponentResponseFromJSON(json: any): ComponentResponse;
1374
+ declare function ComponentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComponentResponse;
1375
+ declare function ComponentResponseToJSON(value?: ComponentResponse | null): any;
1190
1376
 
1191
1377
  /**
1192
1378
  * DJVLC Registry API
1193
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1379
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1194
1380
  *
1195
1381
  * The version of the OpenAPI document: 2.0.0
1196
1382
  * Contact: dev@djvlc.com
@@ -1203,20 +1389,27 @@ interface ComponentResponse {
1203
1389
  /**
1204
1390
  *
1205
1391
  * @export
1206
- * @interface CreateComponent201Response
1392
+ * @interface CreateComponent200Response
1207
1393
  */
1208
- interface CreateComponent201Response {
1394
+ interface CreateComponent200Response {
1209
1395
  /**
1210
1396
  *
1211
1397
  * @type {ListComponents200ResponseDataInner}
1212
- * @memberof CreateComponent201Response
1398
+ * @memberof CreateComponent200Response
1213
1399
  */
1214
- 'data': ListComponents200ResponseDataInner;
1400
+ data: ListComponents200ResponseDataInner;
1215
1401
  }
1402
+ /**
1403
+ * Check if a given object implements the CreateComponent200Response interface.
1404
+ */
1405
+ declare function instanceOfCreateComponent200Response(value: object): boolean;
1406
+ declare function CreateComponent200ResponseFromJSON(json: any): CreateComponent200Response;
1407
+ declare function CreateComponent200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateComponent200Response;
1408
+ declare function CreateComponent200ResponseToJSON(value?: CreateComponent200Response | null): any;
1216
1409
 
1217
1410
  /**
1218
1411
  * DJVLC Registry API
1219
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1412
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1220
1413
  *
1221
1414
  * The version of the OpenAPI document: 2.0.0
1222
1415
  * Contact: dev@djvlc.com
@@ -1236,48 +1429,55 @@ interface CreateComponentRequest {
1236
1429
  * @type {string}
1237
1430
  * @memberof CreateComponentRequest
1238
1431
  */
1239
- 'name': string;
1432
+ name: string;
1240
1433
  /**
1241
1434
  * 显示名称
1242
1435
  * @type {string}
1243
1436
  * @memberof CreateComponentRequest
1244
1437
  */
1245
- 'displayName'?: string;
1438
+ displayName?: string;
1246
1439
  /**
1247
1440
  * 组件描述
1248
1441
  * @type {string}
1249
1442
  * @memberof CreateComponentRequest
1250
1443
  */
1251
- 'description'?: string;
1444
+ description?: string;
1252
1445
  /**
1253
1446
  * 组件分类
1254
1447
  * @type {string}
1255
1448
  * @memberof CreateComponentRequest
1256
1449
  */
1257
- 'category': string;
1450
+ category: string;
1258
1451
  /**
1259
1452
  * 标签
1260
1453
  * @type {Array<string>}
1261
1454
  * @memberof CreateComponentRequest
1262
1455
  */
1263
- 'tags'?: Array<string>;
1456
+ tags?: Array<string>;
1264
1457
  /**
1265
1458
  * 主页 URL
1266
1459
  * @type {string}
1267
1460
  * @memberof CreateComponentRequest
1268
1461
  */
1269
- 'homepage'?: string;
1462
+ homepage?: string;
1270
1463
  /**
1271
1464
  * 仓库 URL
1272
1465
  * @type {string}
1273
1466
  * @memberof CreateComponentRequest
1274
1467
  */
1275
- 'repository'?: string;
1468
+ repository?: string;
1276
1469
  }
1470
+ /**
1471
+ * Check if a given object implements the CreateComponentRequest interface.
1472
+ */
1473
+ declare function instanceOfCreateComponentRequest(value: object): boolean;
1474
+ declare function CreateComponentRequestFromJSON(json: any): CreateComponentRequest;
1475
+ declare function CreateComponentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateComponentRequest;
1476
+ declare function CreateComponentRequestToJSON(value?: CreateComponentRequest | null): any;
1277
1477
 
1278
1478
  /**
1279
1479
  * DJVLC Registry API
1280
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1480
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1281
1481
  *
1282
1482
  * The version of the OpenAPI document: 2.0.0
1283
1483
  * Contact: dev@djvlc.com
@@ -1290,20 +1490,27 @@ interface CreateComponentRequest {
1290
1490
  /**
1291
1491
  *
1292
1492
  * @export
1293
- * @interface CreateVersion201Response
1493
+ * @interface CreateVersion200Response
1294
1494
  */
1295
- interface CreateVersion201Response {
1495
+ interface CreateVersion200Response {
1296
1496
  /**
1297
1497
  *
1298
1498
  * @type {ListVersions200ResponseDataInner}
1299
- * @memberof CreateVersion201Response
1499
+ * @memberof CreateVersion200Response
1300
1500
  */
1301
- 'data': ListVersions200ResponseDataInner;
1501
+ data: ListVersions200ResponseDataInner;
1302
1502
  }
1503
+ /**
1504
+ * Check if a given object implements the CreateVersion200Response interface.
1505
+ */
1506
+ declare function instanceOfCreateVersion200Response(value: object): boolean;
1507
+ declare function CreateVersion200ResponseFromJSON(json: any): CreateVersion200Response;
1508
+ declare function CreateVersion200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVersion200Response;
1509
+ declare function CreateVersion200ResponseToJSON(value?: CreateVersion200Response | null): any;
1303
1510
 
1304
1511
  /**
1305
1512
  * DJVLC Registry API
1306
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1513
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1307
1514
  *
1308
1515
  * The version of the OpenAPI document: 2.0.0
1309
1516
  * Contact: dev@djvlc.com
@@ -1323,24 +1530,139 @@ interface CreateVersionRequest {
1323
1530
  * @type {string}
1324
1531
  * @memberof CreateVersionRequest
1325
1532
  */
1326
- 'version': string;
1533
+ version: string;
1327
1534
  /**
1328
1535
  * 变更日志
1329
1536
  * @type {string}
1330
1537
  * @memberof CreateVersionRequest
1331
1538
  */
1332
- 'changelog'?: string;
1539
+ changelog?: string;
1333
1540
  /**
1334
1541
  * 组件元数据(ComponentMeta)
1335
1542
  * @type {object}
1336
1543
  * @memberof CreateVersionRequest
1337
1544
  */
1338
- 'meta'?: object;
1545
+ meta?: object;
1546
+ }
1547
+ /**
1548
+ * Check if a given object implements the CreateVersionRequest interface.
1549
+ */
1550
+ declare function instanceOfCreateVersionRequest(value: object): boolean;
1551
+ declare function CreateVersionRequestFromJSON(json: any): CreateVersionRequest;
1552
+ declare function CreateVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVersionRequest;
1553
+ declare function CreateVersionRequestToJSON(value?: CreateVersionRequest | null): any;
1554
+
1555
+ /**
1556
+ * DJVLC Registry API
1557
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1558
+ *
1559
+ * The version of the OpenAPI document: 2.0.0
1560
+ * Contact: dev@djvlc.com
1561
+ *
1562
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1563
+ * https://openapi-generator.tech
1564
+ * Do not edit the class manually.
1565
+ */
1566
+ /**
1567
+ *
1568
+ * @export
1569
+ * @interface DeleteComponent200Response
1570
+ */
1571
+ interface DeleteComponent200Response {
1572
+ /**
1573
+ *
1574
+ * @type {boolean}
1575
+ * @memberof DeleteComponent200Response
1576
+ */
1577
+ success?: boolean;
1578
+ /**
1579
+ *
1580
+ * @type {string}
1581
+ * @memberof DeleteComponent200Response
1582
+ */
1583
+ message?: string;
1584
+ }
1585
+ /**
1586
+ * Check if a given object implements the DeleteComponent200Response interface.
1587
+ */
1588
+ declare function instanceOfDeleteComponent200Response(value: object): boolean;
1589
+ declare function DeleteComponent200ResponseFromJSON(json: any): DeleteComponent200Response;
1590
+ declare function DeleteComponent200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteComponent200Response;
1591
+ declare function DeleteComponent200ResponseToJSON(value?: DeleteComponent200Response | null): any;
1592
+
1593
+ /**
1594
+ * DJVLC Registry API
1595
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1596
+ *
1597
+ * The version of the OpenAPI document: 2.0.0
1598
+ * Contact: dev@djvlc.com
1599
+ *
1600
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1601
+ * https://openapi-generator.tech
1602
+ * Do not edit the class manually.
1603
+ */
1604
+ /**
1605
+ *
1606
+ * @export
1607
+ * @interface DeleteComponentRequest
1608
+ */
1609
+ interface DeleteComponentRequest {
1610
+ /**
1611
+ * 删除原因
1612
+ * @type {string}
1613
+ * @memberof DeleteComponentRequest
1614
+ */
1615
+ reason?: string;
1616
+ /**
1617
+ * 是否强制删除
1618
+ * @type {boolean}
1619
+ * @memberof DeleteComponentRequest
1620
+ */
1621
+ force?: boolean;
1622
+ }
1623
+ /**
1624
+ * Check if a given object implements the DeleteComponentRequest interface.
1625
+ */
1626
+ declare function instanceOfDeleteComponentRequest(value: object): boolean;
1627
+ declare function DeleteComponentRequestFromJSON(json: any): DeleteComponentRequest;
1628
+ declare function DeleteComponentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteComponentRequest;
1629
+ declare function DeleteComponentRequestToJSON(value?: DeleteComponentRequest | null): any;
1630
+
1631
+ /**
1632
+ * DJVLC Registry API
1633
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1634
+ *
1635
+ * The version of the OpenAPI document: 2.0.0
1636
+ * Contact: dev@djvlc.com
1637
+ *
1638
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1639
+ * https://openapi-generator.tech
1640
+ * Do not edit the class manually.
1641
+ */
1642
+ /**
1643
+ *
1644
+ * @export
1645
+ * @interface DeleteVersionRequest
1646
+ */
1647
+ interface DeleteVersionRequest {
1648
+ /**
1649
+ * 删除原因
1650
+ * @type {string}
1651
+ * @memberof DeleteVersionRequest
1652
+ */
1653
+ reason?: string;
1339
1654
  }
1655
+ /**
1656
+ * Check if a given object implements the DeleteVersionRequest interface.
1657
+ */
1658
+ declare function instanceOfDeleteVersionRequest(value: object): boolean;
1659
+ declare function DeleteVersionRequestFromJSON(json: any): DeleteVersionRequest;
1660
+ declare function DeleteVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteVersionRequest;
1661
+ declare function DeleteVersionRequestToJSON(value?: DeleteVersionRequest | null): any;
1340
1662
 
1341
1663
  /**
1342
1664
  * DJVLC Registry API
1343
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1665
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1344
1666
  *
1345
1667
  * The version of the OpenAPI document: 2.0.0
1346
1668
  * Contact: dev@djvlc.com
@@ -1360,18 +1682,25 @@ interface DeprecateVersionRequest {
1360
1682
  * @type {string}
1361
1683
  * @memberof DeprecateVersionRequest
1362
1684
  */
1363
- 'message'?: string;
1685
+ message?: string;
1364
1686
  /**
1365
1687
  * 推荐的替代版本
1366
1688
  * @type {string}
1367
1689
  * @memberof DeprecateVersionRequest
1368
1690
  */
1369
- 'replacement'?: string;
1691
+ replacement?: string;
1370
1692
  }
1693
+ /**
1694
+ * Check if a given object implements the DeprecateVersionRequest interface.
1695
+ */
1696
+ declare function instanceOfDeprecateVersionRequest(value: object): boolean;
1697
+ declare function DeprecateVersionRequestFromJSON(json: any): DeprecateVersionRequest;
1698
+ declare function DeprecateVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeprecateVersionRequest;
1699
+ declare function DeprecateVersionRequestToJSON(value?: DeprecateVersionRequest | null): any;
1371
1700
 
1372
1701
  /**
1373
1702
  * DJVLC Registry API
1374
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1703
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1375
1704
  *
1376
1705
  * The version of the OpenAPI document: 2.0.0
1377
1706
  * Contact: dev@djvlc.com
@@ -1391,18 +1720,25 @@ interface ListComponents401ResponseDetailsInner {
1391
1720
  * @type {string}
1392
1721
  * @memberof ListComponents401ResponseDetailsInner
1393
1722
  */
1394
- 'field'?: string;
1723
+ field?: string;
1395
1724
  /**
1396
1725
  *
1397
1726
  * @type {string}
1398
1727
  * @memberof ListComponents401ResponseDetailsInner
1399
1728
  */
1400
- 'message'?: string;
1729
+ message?: string;
1401
1730
  }
1731
+ /**
1732
+ * Check if a given object implements the ListComponents401ResponseDetailsInner interface.
1733
+ */
1734
+ declare function instanceOfListComponents401ResponseDetailsInner(value: object): boolean;
1735
+ declare function ListComponents401ResponseDetailsInnerFromJSON(json: any): ListComponents401ResponseDetailsInner;
1736
+ declare function ListComponents401ResponseDetailsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListComponents401ResponseDetailsInner;
1737
+ declare function ListComponents401ResponseDetailsInnerToJSON(value?: ListComponents401ResponseDetailsInner | null): any;
1402
1738
 
1403
1739
  /**
1404
1740
  * DJVLC Registry API
1405
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1741
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1406
1742
  *
1407
1743
  * The version of the OpenAPI document: 2.0.0
1408
1744
  * Contact: dev@djvlc.com
@@ -1423,24 +1759,31 @@ interface ErrorResponse {
1423
1759
  * @type {string}
1424
1760
  * @memberof ErrorResponse
1425
1761
  */
1426
- 'code': string;
1762
+ code: string;
1427
1763
  /**
1428
1764
  * 错误消息
1429
1765
  * @type {string}
1430
1766
  * @memberof ErrorResponse
1431
1767
  */
1432
- 'message': string;
1768
+ message: string;
1433
1769
  /**
1434
1770
  * 错误详情
1435
1771
  * @type {Array<ListComponents401ResponseDetailsInner>}
1436
1772
  * @memberof ErrorResponse
1437
1773
  */
1438
- 'details'?: Array<ListComponents401ResponseDetailsInner>;
1774
+ details?: Array<ListComponents401ResponseDetailsInner>;
1439
1775
  }
1776
+ /**
1777
+ * Check if a given object implements the ErrorResponse interface.
1778
+ */
1779
+ declare function instanceOfErrorResponse(value: object): boolean;
1780
+ declare function ErrorResponseFromJSON(json: any): ErrorResponse;
1781
+ declare function ErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorResponse;
1782
+ declare function ErrorResponseToJSON(value?: ErrorResponse | null): any;
1440
1783
 
1441
1784
  /**
1442
1785
  * DJVLC Registry API
1443
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1786
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1444
1787
  *
1445
1788
  * The version of the OpenAPI document: 2.0.0
1446
1789
  * Contact: dev@djvlc.com
@@ -1460,30 +1803,37 @@ interface FileInfo {
1460
1803
  * @type {string}
1461
1804
  * @memberof FileInfo
1462
1805
  */
1463
- 'path': string;
1806
+ path: string;
1464
1807
  /**
1465
1808
  * 文件大小(字节)
1466
1809
  * @type {number}
1467
1810
  * @memberof FileInfo
1468
1811
  */
1469
- 'size': number;
1812
+ size: number;
1470
1813
  /**
1471
1814
  * 文件完整性哈希
1472
1815
  * @type {string}
1473
1816
  * @memberof FileInfo
1474
1817
  */
1475
- 'integrity': string;
1818
+ integrity: string;
1476
1819
  /**
1477
1820
  * MIME 类型
1478
1821
  * @type {string}
1479
1822
  * @memberof FileInfo
1480
1823
  */
1481
- 'contentType'?: string;
1824
+ contentType?: string;
1482
1825
  }
1826
+ /**
1827
+ * Check if a given object implements the FileInfo interface.
1828
+ */
1829
+ declare function instanceOfFileInfo(value: object): boolean;
1830
+ declare function FileInfoFromJSON(json: any): FileInfo;
1831
+ declare function FileInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInfo;
1832
+ declare function FileInfoToJSON(value?: FileInfo | null): any;
1483
1833
 
1484
1834
  /**
1485
1835
  * DJVLC Registry API
1486
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1836
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1487
1837
  *
1488
1838
  * The version of the OpenAPI document: 2.0.0
1489
1839
  * Contact: dev@djvlc.com
@@ -1503,30 +1853,37 @@ interface GetVersion200ResponseDataAllOfFilesInner {
1503
1853
  * @type {string}
1504
1854
  * @memberof GetVersion200ResponseDataAllOfFilesInner
1505
1855
  */
1506
- 'path': string;
1856
+ path: string;
1507
1857
  /**
1508
1858
  * 文件大小(字节)
1509
1859
  * @type {number}
1510
1860
  * @memberof GetVersion200ResponseDataAllOfFilesInner
1511
1861
  */
1512
- 'size': number;
1862
+ size: number;
1513
1863
  /**
1514
1864
  * 文件完整性哈希
1515
1865
  * @type {string}
1516
1866
  * @memberof GetVersion200ResponseDataAllOfFilesInner
1517
1867
  */
1518
- 'integrity': string;
1868
+ integrity: string;
1519
1869
  /**
1520
1870
  * MIME 类型
1521
1871
  * @type {string}
1522
1872
  * @memberof GetVersion200ResponseDataAllOfFilesInner
1523
1873
  */
1524
- 'contentType'?: string;
1874
+ contentType?: string;
1525
1875
  }
1876
+ /**
1877
+ * Check if a given object implements the GetVersion200ResponseDataAllOfFilesInner interface.
1878
+ */
1879
+ declare function instanceOfGetVersion200ResponseDataAllOfFilesInner(value: object): boolean;
1880
+ declare function GetVersion200ResponseDataAllOfFilesInnerFromJSON(json: any): GetVersion200ResponseDataAllOfFilesInner;
1881
+ declare function GetVersion200ResponseDataAllOfFilesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVersion200ResponseDataAllOfFilesInner;
1882
+ declare function GetVersion200ResponseDataAllOfFilesInnerToJSON(value?: GetVersion200ResponseDataAllOfFilesInner | null): any;
1526
1883
 
1527
1884
  /**
1528
1885
  * DJVLC Registry API
1529
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
1886
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1530
1887
  *
1531
1888
  * The version of the OpenAPI document: 2.0.0
1532
1889
  * Contact: dev@djvlc.com
@@ -1547,90 +1904,102 @@ interface GetVersion200ResponseData {
1547
1904
  * @type {string}
1548
1905
  * @memberof GetVersion200ResponseData
1549
1906
  */
1550
- 'version': string;
1907
+ version: string;
1551
1908
  /**
1552
- * 版本状态
1909
+ * 版本状态(状态机:draft → canary → stable → deprecated → blocked)
1553
1910
  * @type {string}
1554
1911
  * @memberof GetVersion200ResponseData
1555
1912
  */
1556
- 'status': GetVersion200ResponseDataStatusEnum;
1913
+ status: GetVersion200ResponseDataStatusEnum;
1557
1914
  /**
1558
1915
  * 变更日志
1559
1916
  * @type {string}
1560
1917
  * @memberof GetVersion200ResponseData
1561
1918
  */
1562
- 'changelog'?: string;
1919
+ changelog?: string;
1563
1920
  /**
1564
1921
  *
1565
1922
  * @type {ListVersions200ResponseDataInnerIntegrity}
1566
1923
  * @memberof GetVersion200ResponseData
1567
1924
  */
1568
- 'integrity'?: ListVersions200ResponseDataInnerIntegrity;
1925
+ integrity?: ListVersions200ResponseDataInnerIntegrity;
1569
1926
  /**
1570
1927
  * 包大小(字节)
1571
1928
  * @type {number}
1572
1929
  * @memberof GetVersion200ResponseData
1573
1930
  */
1574
- 'size'?: number;
1931
+ size?: number;
1575
1932
  /**
1576
1933
  * 创建时间
1577
- * @type {string}
1934
+ * @type {Date}
1578
1935
  * @memberof GetVersion200ResponseData
1579
1936
  */
1580
- 'createdAt': string;
1937
+ createdAt: Date;
1581
1938
  /**
1582
1939
  * 发布时间
1583
- * @type {string}
1940
+ * @type {Date}
1584
1941
  * @memberof GetVersion200ResponseData
1585
1942
  */
1586
- 'publishedAt'?: string;
1943
+ publishedAt?: Date;
1587
1944
  /**
1588
1945
  * 废弃时间
1589
- * @type {string}
1946
+ * @type {Date}
1590
1947
  * @memberof GetVersion200ResponseData
1591
1948
  */
1592
- 'deprecatedAt'?: string;
1949
+ deprecatedAt?: Date;
1593
1950
  /**
1594
1951
  * 废弃说明
1595
1952
  * @type {string}
1596
1953
  * @memberof GetVersion200ResponseData
1597
1954
  */
1598
- 'deprecationMessage'?: string;
1955
+ deprecationMessage?: string;
1599
1956
  /**
1600
1957
  * 下载次数
1601
1958
  * @type {number}
1602
1959
  * @memberof GetVersion200ResponseData
1603
1960
  */
1604
- 'downloads'?: number;
1961
+ downloads?: number;
1605
1962
  /**
1606
1963
  * 组件元数据(ComponentMeta)
1607
1964
  * @type {object}
1608
1965
  * @memberof GetVersion200ResponseData
1609
1966
  */
1610
- 'meta'?: object;
1967
+ meta?: object;
1611
1968
  /**
1612
1969
  * 入口文件 URL
1613
1970
  * @type {string}
1614
1971
  * @memberof GetVersion200ResponseData
1615
1972
  */
1616
- 'entryUrl'?: string;
1973
+ entryUrl?: string;
1617
1974
  /**
1618
1975
  * 文件列表
1619
1976
  * @type {Array<GetVersion200ResponseDataAllOfFilesInner>}
1620
1977
  * @memberof GetVersion200ResponseData
1621
1978
  */
1622
- 'files'?: Array<GetVersion200ResponseDataAllOfFilesInner>;
1979
+ files?: Array<GetVersion200ResponseDataAllOfFilesInner>;
1623
1980
  }
1981
+ /**
1982
+ * @export
1983
+ */
1624
1984
  declare const GetVersion200ResponseDataStatusEnum: {
1625
1985
  readonly DRAFT: "draft";
1626
- readonly PUBLISHED: "published";
1986
+ readonly CANARY: "canary";
1987
+ readonly STABLE: "stable";
1627
1988
  readonly DEPRECATED: "deprecated";
1989
+ readonly BLOCKED: "blocked";
1628
1990
  };
1629
1991
  type GetVersion200ResponseDataStatusEnum = typeof GetVersion200ResponseDataStatusEnum[keyof typeof GetVersion200ResponseDataStatusEnum];
1992
+ /**
1993
+ * Check if a given object implements the GetVersion200ResponseData interface.
1994
+ */
1995
+ declare function instanceOfGetVersion200ResponseData(value: object): boolean;
1996
+ declare function GetVersion200ResponseDataFromJSON(json: any): GetVersion200ResponseData;
1997
+ declare function GetVersion200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVersion200ResponseData;
1998
+ declare function GetVersion200ResponseDataToJSON(value?: GetVersion200ResponseData | null): any;
1630
1999
 
1631
2000
  /**
1632
2001
  * DJVLC Registry API
1633
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2002
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1634
2003
  *
1635
2004
  * The version of the OpenAPI document: 2.0.0
1636
2005
  * Contact: dev@djvlc.com
@@ -1651,12 +2020,19 @@ interface GetVersion200Response {
1651
2020
  * @type {GetVersion200ResponseData}
1652
2021
  * @memberof GetVersion200Response
1653
2022
  */
1654
- 'data': GetVersion200ResponseData;
2023
+ data: GetVersion200ResponseData;
1655
2024
  }
2025
+ /**
2026
+ * Check if a given object implements the GetVersion200Response interface.
2027
+ */
2028
+ declare function instanceOfGetVersion200Response(value: object): boolean;
2029
+ declare function GetVersion200ResponseFromJSON(json: any): GetVersion200Response;
2030
+ declare function GetVersion200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetVersion200Response;
2031
+ declare function GetVersion200ResponseToJSON(value?: GetVersion200Response | null): any;
1656
2032
 
1657
2033
  /**
1658
2034
  * DJVLC Registry API
1659
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2035
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1660
2036
  *
1661
2037
  * The version of the OpenAPI document: 2.0.0
1662
2038
  * Contact: dev@djvlc.com
@@ -1668,50 +2044,246 @@ interface GetVersion200Response {
1668
2044
  /**
1669
2045
  *
1670
2046
  * @export
1671
- * @interface ListBlockedComponents200ResponseDataInner
2047
+ * @interface HealthCheck200ResponseDependenciesValue
1672
2048
  */
1673
- interface ListBlockedComponents200ResponseDataInner {
1674
- /**
1675
- *
1676
- * @type {string}
1677
- * @memberof ListBlockedComponents200ResponseDataInner
1678
- */
1679
- 'componentId'?: string;
2049
+ interface HealthCheck200ResponseDependenciesValue {
1680
2050
  /**
1681
2051
  *
1682
2052
  * @type {string}
1683
- * @memberof ListBlockedComponents200ResponseDataInner
2053
+ * @memberof HealthCheck200ResponseDependenciesValue
1684
2054
  */
1685
- 'componentName'?: string;
2055
+ status?: HealthCheck200ResponseDependenciesValueStatusEnum;
1686
2056
  /**
1687
- *
1688
- * @type {string}
1689
- * @memberof ListBlockedComponents200ResponseDataInner
2057
+ * 延迟(毫秒)
2058
+ * @type {number}
2059
+ * @memberof HealthCheck200ResponseDependenciesValue
1690
2060
  */
1691
- 'version'?: string;
2061
+ latency?: number;
1692
2062
  /**
1693
2063
  *
1694
2064
  * @type {string}
1695
- * @memberof ListBlockedComponents200ResponseDataInner
2065
+ * @memberof HealthCheck200ResponseDependenciesValue
1696
2066
  */
1697
- 'reason'?: string;
2067
+ message?: string;
2068
+ }
2069
+ /**
2070
+ * @export
2071
+ */
2072
+ declare const HealthCheck200ResponseDependenciesValueStatusEnum: {
2073
+ readonly HEALTHY: "healthy";
2074
+ readonly DEGRADED: "degraded";
2075
+ readonly UNHEALTHY: "unhealthy";
2076
+ };
2077
+ type HealthCheck200ResponseDependenciesValueStatusEnum = typeof HealthCheck200ResponseDependenciesValueStatusEnum[keyof typeof HealthCheck200ResponseDependenciesValueStatusEnum];
2078
+ /**
2079
+ * Check if a given object implements the HealthCheck200ResponseDependenciesValue interface.
2080
+ */
2081
+ declare function instanceOfHealthCheck200ResponseDependenciesValue(value: object): boolean;
2082
+ declare function HealthCheck200ResponseDependenciesValueFromJSON(json: any): HealthCheck200ResponseDependenciesValue;
2083
+ declare function HealthCheck200ResponseDependenciesValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheck200ResponseDependenciesValue;
2084
+ declare function HealthCheck200ResponseDependenciesValueToJSON(value?: HealthCheck200ResponseDependenciesValue | null): any;
2085
+
2086
+ /**
2087
+ * DJVLC Registry API
2088
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2089
+ *
2090
+ * The version of the OpenAPI document: 2.0.0
2091
+ * Contact: dev@djvlc.com
2092
+ *
2093
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2094
+ * https://openapi-generator.tech
2095
+ * Do not edit the class manually.
2096
+ */
2097
+
2098
+ /**
2099
+ *
2100
+ * @export
2101
+ * @interface HealthCheck200Response
2102
+ */
2103
+ interface HealthCheck200Response {
2104
+ /**
2105
+ * 服务状态
2106
+ * @type {string}
2107
+ * @memberof HealthCheck200Response
2108
+ */
2109
+ status: HealthCheck200ResponseStatusEnum;
2110
+ /**
2111
+ * 服务版本
2112
+ * @type {string}
2113
+ * @memberof HealthCheck200Response
2114
+ */
2115
+ version: string;
2116
+ /**
2117
+ * 运行时间(秒)
2118
+ * @type {number}
2119
+ * @memberof HealthCheck200Response
2120
+ */
2121
+ uptime?: number;
2122
+ /**
2123
+ * 检查时间
2124
+ * @type {Date}
2125
+ * @memberof HealthCheck200Response
2126
+ */
2127
+ timestamp?: Date;
2128
+ /**
2129
+ * 依赖服务状态
2130
+ * @type {{ [key: string]: HealthCheck200ResponseDependenciesValue; }}
2131
+ * @memberof HealthCheck200Response
2132
+ */
2133
+ dependencies?: {
2134
+ [key: string]: HealthCheck200ResponseDependenciesValue;
2135
+ };
2136
+ }
2137
+ /**
2138
+ * @export
2139
+ */
2140
+ declare const HealthCheck200ResponseStatusEnum: {
2141
+ readonly HEALTHY: "healthy";
2142
+ readonly DEGRADED: "degraded";
2143
+ readonly UNHEALTHY: "unhealthy";
2144
+ };
2145
+ type HealthCheck200ResponseStatusEnum = typeof HealthCheck200ResponseStatusEnum[keyof typeof HealthCheck200ResponseStatusEnum];
2146
+ /**
2147
+ * Check if a given object implements the HealthCheck200Response interface.
2148
+ */
2149
+ declare function instanceOfHealthCheck200Response(value: object): boolean;
2150
+ declare function HealthCheck200ResponseFromJSON(json: any): HealthCheck200Response;
2151
+ declare function HealthCheck200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthCheck200Response;
2152
+ declare function HealthCheck200ResponseToJSON(value?: HealthCheck200Response | null): any;
2153
+
2154
+ /**
2155
+ * DJVLC Registry API
2156
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2157
+ *
2158
+ * The version of the OpenAPI document: 2.0.0
2159
+ * Contact: dev@djvlc.com
2160
+ *
2161
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2162
+ * https://openapi-generator.tech
2163
+ * Do not edit the class manually.
2164
+ */
2165
+
2166
+ /**
2167
+ *
2168
+ * @export
2169
+ * @interface HealthResponse
2170
+ */
2171
+ interface HealthResponse {
2172
+ /**
2173
+ * 服务状态
2174
+ * @type {string}
2175
+ * @memberof HealthResponse
2176
+ */
2177
+ status: HealthResponseStatusEnum;
2178
+ /**
2179
+ * 服务版本
2180
+ * @type {string}
2181
+ * @memberof HealthResponse
2182
+ */
2183
+ version: string;
2184
+ /**
2185
+ * 运行时间(秒)
2186
+ * @type {number}
2187
+ * @memberof HealthResponse
2188
+ */
2189
+ uptime?: number;
2190
+ /**
2191
+ * 检查时间
2192
+ * @type {Date}
2193
+ * @memberof HealthResponse
2194
+ */
2195
+ timestamp?: Date;
2196
+ /**
2197
+ * 依赖服务状态
2198
+ * @type {{ [key: string]: HealthCheck200ResponseDependenciesValue; }}
2199
+ * @memberof HealthResponse
2200
+ */
2201
+ dependencies?: {
2202
+ [key: string]: HealthCheck200ResponseDependenciesValue;
2203
+ };
2204
+ }
2205
+ /**
2206
+ * @export
2207
+ */
2208
+ declare const HealthResponseStatusEnum: {
2209
+ readonly HEALTHY: "healthy";
2210
+ readonly DEGRADED: "degraded";
2211
+ readonly UNHEALTHY: "unhealthy";
2212
+ };
2213
+ type HealthResponseStatusEnum = typeof HealthResponseStatusEnum[keyof typeof HealthResponseStatusEnum];
2214
+ /**
2215
+ * Check if a given object implements the HealthResponse interface.
2216
+ */
2217
+ declare function instanceOfHealthResponse(value: object): boolean;
2218
+ declare function HealthResponseFromJSON(json: any): HealthResponse;
2219
+ declare function HealthResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthResponse;
2220
+ declare function HealthResponseToJSON(value?: HealthResponse | null): any;
2221
+
2222
+ /**
2223
+ * DJVLC Registry API
2224
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2225
+ *
2226
+ * The version of the OpenAPI document: 2.0.0
2227
+ * Contact: dev@djvlc.com
2228
+ *
2229
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2230
+ * https://openapi-generator.tech
2231
+ * Do not edit the class manually.
2232
+ */
2233
+ /**
2234
+ *
2235
+ * @export
2236
+ * @interface ListBlockedComponents200ResponseDataInner
2237
+ */
2238
+ interface ListBlockedComponents200ResponseDataInner {
2239
+ /**
2240
+ *
2241
+ * @type {string}
2242
+ * @memberof ListBlockedComponents200ResponseDataInner
2243
+ */
2244
+ componentId?: string;
2245
+ /**
2246
+ *
2247
+ * @type {string}
2248
+ * @memberof ListBlockedComponents200ResponseDataInner
2249
+ */
2250
+ componentName?: string;
2251
+ /**
2252
+ *
2253
+ * @type {string}
2254
+ * @memberof ListBlockedComponents200ResponseDataInner
2255
+ */
2256
+ version?: string;
1698
2257
  /**
1699
2258
  *
1700
2259
  * @type {string}
1701
2260
  * @memberof ListBlockedComponents200ResponseDataInner
1702
2261
  */
1703
- 'blockedAt'?: string;
2262
+ reason?: string;
2263
+ /**
2264
+ *
2265
+ * @type {Date}
2266
+ * @memberof ListBlockedComponents200ResponseDataInner
2267
+ */
2268
+ blockedAt?: Date;
1704
2269
  /**
1705
2270
  *
1706
2271
  * @type {string}
1707
2272
  * @memberof ListBlockedComponents200ResponseDataInner
1708
2273
  */
1709
- 'blockedBy'?: string;
2274
+ blockedBy?: string;
1710
2275
  }
2276
+ /**
2277
+ * Check if a given object implements the ListBlockedComponents200ResponseDataInner interface.
2278
+ */
2279
+ declare function instanceOfListBlockedComponents200ResponseDataInner(value: object): boolean;
2280
+ declare function ListBlockedComponents200ResponseDataInnerFromJSON(json: any): ListBlockedComponents200ResponseDataInner;
2281
+ declare function ListBlockedComponents200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBlockedComponents200ResponseDataInner;
2282
+ declare function ListBlockedComponents200ResponseDataInnerToJSON(value?: ListBlockedComponents200ResponseDataInner | null): any;
1711
2283
 
1712
2284
  /**
1713
2285
  * DJVLC Registry API
1714
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2286
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1715
2287
  *
1716
2288
  * The version of the OpenAPI document: 2.0.0
1717
2289
  * Contact: dev@djvlc.com
@@ -1732,12 +2304,19 @@ interface ListBlockedComponents200Response {
1732
2304
  * @type {Array<ListBlockedComponents200ResponseDataInner>}
1733
2305
  * @memberof ListBlockedComponents200Response
1734
2306
  */
1735
- 'data'?: Array<ListBlockedComponents200ResponseDataInner>;
2307
+ data?: Array<ListBlockedComponents200ResponseDataInner>;
1736
2308
  }
2309
+ /**
2310
+ * Check if a given object implements the ListBlockedComponents200Response interface.
2311
+ */
2312
+ declare function instanceOfListBlockedComponents200Response(value: object): boolean;
2313
+ declare function ListBlockedComponents200ResponseFromJSON(json: any): ListBlockedComponents200Response;
2314
+ declare function ListBlockedComponents200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBlockedComponents200Response;
2315
+ declare function ListBlockedComponents200ResponseToJSON(value?: ListBlockedComponents200Response | null): any;
1737
2316
 
1738
2317
  /**
1739
2318
  * DJVLC Registry API
1740
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2319
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1741
2320
  *
1742
2321
  * The version of the OpenAPI document: 2.0.0
1743
2322
  * Contact: dev@djvlc.com
@@ -1758,18 +2337,25 @@ interface ListComponents200Response {
1758
2337
  * @type {Array<ListComponents200ResponseDataInner>}
1759
2338
  * @memberof ListComponents200Response
1760
2339
  */
1761
- 'data': Array<ListComponents200ResponseDataInner>;
2340
+ data: Array<ListComponents200ResponseDataInner>;
1762
2341
  /**
1763
2342
  *
1764
2343
  * @type {ListComponents200ResponseMeta}
1765
2344
  * @memberof ListComponents200Response
1766
2345
  */
1767
- 'meta': ListComponents200ResponseMeta;
2346
+ meta: ListComponents200ResponseMeta;
1768
2347
  }
2348
+ /**
2349
+ * Check if a given object implements the ListComponents200Response interface.
2350
+ */
2351
+ declare function instanceOfListComponents200Response(value: object): boolean;
2352
+ declare function ListComponents200ResponseFromJSON(json: any): ListComponents200Response;
2353
+ declare function ListComponents200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListComponents200Response;
2354
+ declare function ListComponents200ResponseToJSON(value?: ListComponents200Response | null): any;
1769
2355
 
1770
2356
  /**
1771
2357
  * DJVLC Registry API
1772
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2358
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1773
2359
  *
1774
2360
  * The version of the OpenAPI document: 2.0.0
1775
2361
  * Contact: dev@djvlc.com
@@ -1790,24 +2376,31 @@ interface ListComponents401Response {
1790
2376
  * @type {string}
1791
2377
  * @memberof ListComponents401Response
1792
2378
  */
1793
- 'code': string;
2379
+ code: string;
1794
2380
  /**
1795
2381
  * 错误消息
1796
2382
  * @type {string}
1797
2383
  * @memberof ListComponents401Response
1798
2384
  */
1799
- 'message': string;
2385
+ message: string;
1800
2386
  /**
1801
2387
  * 错误详情
1802
2388
  * @type {Array<ListComponents401ResponseDetailsInner>}
1803
2389
  * @memberof ListComponents401Response
1804
2390
  */
1805
- 'details'?: Array<ListComponents401ResponseDetailsInner>;
2391
+ details?: Array<ListComponents401ResponseDetailsInner>;
1806
2392
  }
2393
+ /**
2394
+ * Check if a given object implements the ListComponents401Response interface.
2395
+ */
2396
+ declare function instanceOfListComponents401Response(value: object): boolean;
2397
+ declare function ListComponents401ResponseFromJSON(json: any): ListComponents401Response;
2398
+ declare function ListComponents401ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListComponents401Response;
2399
+ declare function ListComponents401ResponseToJSON(value?: ListComponents401Response | null): any;
1807
2400
 
1808
2401
  /**
1809
2402
  * DJVLC Registry API
1810
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2403
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1811
2404
  *
1812
2405
  * The version of the OpenAPI document: 2.0.0
1813
2406
  * Contact: dev@djvlc.com
@@ -1828,18 +2421,57 @@ interface ListVersions200Response {
1828
2421
  * @type {Array<ListVersions200ResponseDataInner>}
1829
2422
  * @memberof ListVersions200Response
1830
2423
  */
1831
- 'data': Array<ListVersions200ResponseDataInner>;
2424
+ data: Array<ListVersions200ResponseDataInner>;
1832
2425
  /**
1833
2426
  *
1834
2427
  * @type {ListComponents200ResponseMeta}
1835
2428
  * @memberof ListVersions200Response
1836
2429
  */
1837
- 'meta': ListComponents200ResponseMeta;
2430
+ meta: ListComponents200ResponseMeta;
2431
+ }
2432
+ /**
2433
+ * Check if a given object implements the ListVersions200Response interface.
2434
+ */
2435
+ declare function instanceOfListVersions200Response(value: object): boolean;
2436
+ declare function ListVersions200ResponseFromJSON(json: any): ListVersions200Response;
2437
+ declare function ListVersions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListVersions200Response;
2438
+ declare function ListVersions200ResponseToJSON(value?: ListVersions200Response | null): any;
2439
+
2440
+ /**
2441
+ * DJVLC Registry API
2442
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2443
+ *
2444
+ * The version of the OpenAPI document: 2.0.0
2445
+ * Contact: dev@djvlc.com
2446
+ *
2447
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2448
+ * https://openapi-generator.tech
2449
+ * Do not edit the class manually.
2450
+ */
2451
+ /**
2452
+ *
2453
+ * @export
2454
+ * @interface LivenessCheck200Response
2455
+ */
2456
+ interface LivenessCheck200Response {
2457
+ /**
2458
+ *
2459
+ * @type {boolean}
2460
+ * @memberof LivenessCheck200Response
2461
+ */
2462
+ alive?: boolean;
1838
2463
  }
2464
+ /**
2465
+ * Check if a given object implements the LivenessCheck200Response interface.
2466
+ */
2467
+ declare function instanceOfLivenessCheck200Response(value: object): boolean;
2468
+ declare function LivenessCheck200ResponseFromJSON(json: any): LivenessCheck200Response;
2469
+ declare function LivenessCheck200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LivenessCheck200Response;
2470
+ declare function LivenessCheck200ResponseToJSON(value?: LivenessCheck200Response | null): any;
1839
2471
 
1840
2472
  /**
1841
2473
  * DJVLC Registry API
1842
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2474
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1843
2475
  *
1844
2476
  * The version of the OpenAPI document: 2.0.0
1845
2477
  * Contact: dev@djvlc.com
@@ -1859,30 +2491,37 @@ interface PaginationMeta {
1859
2491
  * @type {number}
1860
2492
  * @memberof PaginationMeta
1861
2493
  */
1862
- 'page': number;
2494
+ page: number;
1863
2495
  /**
1864
2496
  * 每页数量
1865
2497
  * @type {number}
1866
2498
  * @memberof PaginationMeta
1867
2499
  */
1868
- 'limit': number;
2500
+ limit: number;
1869
2501
  /**
1870
2502
  * 总记录数
1871
2503
  * @type {number}
1872
2504
  * @memberof PaginationMeta
1873
2505
  */
1874
- 'total': number;
2506
+ total: number;
1875
2507
  /**
1876
2508
  * 总页数
1877
2509
  * @type {number}
1878
2510
  * @memberof PaginationMeta
1879
2511
  */
1880
- 'totalPages': number;
2512
+ totalPages: number;
1881
2513
  }
2514
+ /**
2515
+ * Check if a given object implements the PaginationMeta interface.
2516
+ */
2517
+ declare function instanceOfPaginationMeta(value: object): boolean;
2518
+ declare function PaginationMetaFromJSON(json: any): PaginationMeta;
2519
+ declare function PaginationMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginationMeta;
2520
+ declare function PaginationMetaToJSON(value?: PaginationMeta | null): any;
1882
2521
 
1883
2522
  /**
1884
2523
  * DJVLC Registry API
1885
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2524
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1886
2525
  *
1887
2526
  * The version of the OpenAPI document: 2.0.0
1888
2527
  * Contact: dev@djvlc.com
@@ -1902,26 +2541,33 @@ interface PrepareUpload200ResponseDataFilesInner {
1902
2541
  * @type {string}
1903
2542
  * @memberof PrepareUpload200ResponseDataFilesInner
1904
2543
  */
1905
- 'path': string;
2544
+ path: string;
1906
2545
  /**
1907
2546
  * 预签名上传 URL
1908
2547
  * @type {string}
1909
2548
  * @memberof PrepareUpload200ResponseDataFilesInner
1910
2549
  */
1911
- 'uploadUrl': string;
2550
+ uploadUrl: string;
1912
2551
  /**
1913
2552
  * 上传时需要携带的请求头
1914
2553
  * @type {{ [key: string]: string; }}
1915
2554
  * @memberof PrepareUpload200ResponseDataFilesInner
1916
2555
  */
1917
- 'headers'?: {
2556
+ headers?: {
1918
2557
  [key: string]: string;
1919
2558
  };
1920
2559
  }
2560
+ /**
2561
+ * Check if a given object implements the PrepareUpload200ResponseDataFilesInner interface.
2562
+ */
2563
+ declare function instanceOfPrepareUpload200ResponseDataFilesInner(value: object): boolean;
2564
+ declare function PrepareUpload200ResponseDataFilesInnerFromJSON(json: any): PrepareUpload200ResponseDataFilesInner;
2565
+ declare function PrepareUpload200ResponseDataFilesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepareUpload200ResponseDataFilesInner;
2566
+ declare function PrepareUpload200ResponseDataFilesInnerToJSON(value?: PrepareUpload200ResponseDataFilesInner | null): any;
1921
2567
 
1922
2568
  /**
1923
2569
  * DJVLC Registry API
1924
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2570
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1925
2571
  *
1926
2572
  * The version of the OpenAPI document: 2.0.0
1927
2573
  * Contact: dev@djvlc.com
@@ -1942,24 +2588,31 @@ interface PrepareUpload200ResponseData {
1942
2588
  * @type {string}
1943
2589
  * @memberof PrepareUpload200ResponseData
1944
2590
  */
1945
- 'uploadId': string;
2591
+ uploadId: string;
1946
2592
  /**
1947
2593
  * 上传 URL 列表
1948
2594
  * @type {Array<PrepareUpload200ResponseDataFilesInner>}
1949
2595
  * @memberof PrepareUpload200ResponseData
1950
2596
  */
1951
- 'files': Array<PrepareUpload200ResponseDataFilesInner>;
2597
+ files: Array<PrepareUpload200ResponseDataFilesInner>;
1952
2598
  /**
1953
2599
  * 上传凭证过期时间
1954
- * @type {string}
2600
+ * @type {Date}
1955
2601
  * @memberof PrepareUpload200ResponseData
1956
2602
  */
1957
- 'expiresAt': string;
2603
+ expiresAt: Date;
1958
2604
  }
2605
+ /**
2606
+ * Check if a given object implements the PrepareUpload200ResponseData interface.
2607
+ */
2608
+ declare function instanceOfPrepareUpload200ResponseData(value: object): boolean;
2609
+ declare function PrepareUpload200ResponseDataFromJSON(json: any): PrepareUpload200ResponseData;
2610
+ declare function PrepareUpload200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepareUpload200ResponseData;
2611
+ declare function PrepareUpload200ResponseDataToJSON(value?: PrepareUpload200ResponseData | null): any;
1959
2612
 
1960
2613
  /**
1961
2614
  * DJVLC Registry API
1962
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2615
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1963
2616
  *
1964
2617
  * The version of the OpenAPI document: 2.0.0
1965
2618
  * Contact: dev@djvlc.com
@@ -1980,12 +2633,19 @@ interface PrepareUpload200Response {
1980
2633
  * @type {PrepareUpload200ResponseData}
1981
2634
  * @memberof PrepareUpload200Response
1982
2635
  */
1983
- 'data': PrepareUpload200ResponseData;
2636
+ data: PrepareUpload200ResponseData;
1984
2637
  }
2638
+ /**
2639
+ * Check if a given object implements the PrepareUpload200Response interface.
2640
+ */
2641
+ declare function instanceOfPrepareUpload200Response(value: object): boolean;
2642
+ declare function PrepareUpload200ResponseFromJSON(json: any): PrepareUpload200Response;
2643
+ declare function PrepareUpload200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepareUpload200Response;
2644
+ declare function PrepareUpload200ResponseToJSON(value?: PrepareUpload200Response | null): any;
1985
2645
 
1986
2646
  /**
1987
2647
  * DJVLC Registry API
1988
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2648
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
1989
2649
  *
1990
2650
  * The version of the OpenAPI document: 2.0.0
1991
2651
  * Contact: dev@djvlc.com
@@ -2005,24 +2665,31 @@ interface PrepareUploadRequestFilesInner {
2005
2665
  * @type {string}
2006
2666
  * @memberof PrepareUploadRequestFilesInner
2007
2667
  */
2008
- 'path': string;
2668
+ path: string;
2009
2669
  /**
2010
2670
  * 文件大小(字节)
2011
2671
  * @type {number}
2012
2672
  * @memberof PrepareUploadRequestFilesInner
2013
2673
  */
2014
- 'size': number;
2674
+ size: number;
2015
2675
  /**
2016
2676
  * MIME 类型
2017
2677
  * @type {string}
2018
2678
  * @memberof PrepareUploadRequestFilesInner
2019
2679
  */
2020
- 'contentType': string;
2680
+ contentType: string;
2021
2681
  }
2682
+ /**
2683
+ * Check if a given object implements the PrepareUploadRequestFilesInner interface.
2684
+ */
2685
+ declare function instanceOfPrepareUploadRequestFilesInner(value: object): boolean;
2686
+ declare function PrepareUploadRequestFilesInnerFromJSON(json: any): PrepareUploadRequestFilesInner;
2687
+ declare function PrepareUploadRequestFilesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepareUploadRequestFilesInner;
2688
+ declare function PrepareUploadRequestFilesInnerToJSON(value?: PrepareUploadRequestFilesInner | null): any;
2022
2689
 
2023
2690
  /**
2024
2691
  * DJVLC Registry API
2025
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2692
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2026
2693
  *
2027
2694
  * The version of the OpenAPI document: 2.0.0
2028
2695
  * Contact: dev@djvlc.com
@@ -2043,24 +2710,31 @@ interface PrepareUploadRequest {
2043
2710
  * @type {string}
2044
2711
  * @memberof PrepareUploadRequest
2045
2712
  */
2046
- 'componentId': string;
2713
+ componentId: string;
2047
2714
  /**
2048
2715
  * 版本号
2049
2716
  * @type {string}
2050
2717
  * @memberof PrepareUploadRequest
2051
2718
  */
2052
- 'version': string;
2719
+ version: string;
2053
2720
  /**
2054
2721
  * 待上传文件列表
2055
2722
  * @type {Array<PrepareUploadRequestFilesInner>}
2056
2723
  * @memberof PrepareUploadRequest
2057
2724
  */
2058
- 'files': Array<PrepareUploadRequestFilesInner>;
2725
+ files: Array<PrepareUploadRequestFilesInner>;
2059
2726
  }
2727
+ /**
2728
+ * Check if a given object implements the PrepareUploadRequest interface.
2729
+ */
2730
+ declare function instanceOfPrepareUploadRequest(value: object): boolean;
2731
+ declare function PrepareUploadRequestFromJSON(json: any): PrepareUploadRequest;
2732
+ declare function PrepareUploadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepareUploadRequest;
2733
+ declare function PrepareUploadRequestToJSON(value?: PrepareUploadRequest | null): any;
2060
2734
 
2061
2735
  /**
2062
2736
  * DJVLC Registry API
2063
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2737
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2064
2738
  *
2065
2739
  * The version of the OpenAPI document: 2.0.0
2066
2740
  * Contact: dev@djvlc.com
@@ -2081,12 +2755,19 @@ interface PrepareUploadResponse {
2081
2755
  * @type {PrepareUpload200ResponseData}
2082
2756
  * @memberof PrepareUploadResponse
2083
2757
  */
2084
- 'data': PrepareUpload200ResponseData;
2758
+ data: PrepareUpload200ResponseData;
2085
2759
  }
2760
+ /**
2761
+ * Check if a given object implements the PrepareUploadResponse interface.
2762
+ */
2763
+ declare function instanceOfPrepareUploadResponse(value: object): boolean;
2764
+ declare function PrepareUploadResponseFromJSON(json: any): PrepareUploadResponse;
2765
+ declare function PrepareUploadResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepareUploadResponse;
2766
+ declare function PrepareUploadResponseToJSON(value?: PrepareUploadResponse | null): any;
2086
2767
 
2087
2768
  /**
2088
2769
  * DJVLC Registry API
2089
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2770
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2090
2771
  *
2091
2772
  * The version of the OpenAPI document: 2.0.0
2092
2773
  * Contact: dev@djvlc.com
@@ -2106,12 +2787,89 @@ interface PublishVersionRequest {
2106
2787
  * @type {string}
2107
2788
  * @memberof PublishVersionRequest
2108
2789
  */
2109
- 'changelog'?: string;
2790
+ changelog?: string;
2791
+ }
2792
+ /**
2793
+ * Check if a given object implements the PublishVersionRequest interface.
2794
+ */
2795
+ declare function instanceOfPublishVersionRequest(value: object): boolean;
2796
+ declare function PublishVersionRequestFromJSON(json: any): PublishVersionRequest;
2797
+ declare function PublishVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublishVersionRequest;
2798
+ declare function PublishVersionRequestToJSON(value?: PublishVersionRequest | null): any;
2799
+
2800
+ /**
2801
+ * DJVLC Registry API
2802
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2803
+ *
2804
+ * The version of the OpenAPI document: 2.0.0
2805
+ * Contact: dev@djvlc.com
2806
+ *
2807
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2808
+ * https://openapi-generator.tech
2809
+ * Do not edit the class manually.
2810
+ */
2811
+ /**
2812
+ *
2813
+ * @export
2814
+ * @interface ReadinessCheck200Response
2815
+ */
2816
+ interface ReadinessCheck200Response {
2817
+ /**
2818
+ *
2819
+ * @type {boolean}
2820
+ * @memberof ReadinessCheck200Response
2821
+ */
2822
+ ready?: boolean;
2823
+ }
2824
+ /**
2825
+ * Check if a given object implements the ReadinessCheck200Response interface.
2826
+ */
2827
+ declare function instanceOfReadinessCheck200Response(value: object): boolean;
2828
+ declare function ReadinessCheck200ResponseFromJSON(json: any): ReadinessCheck200Response;
2829
+ declare function ReadinessCheck200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReadinessCheck200Response;
2830
+ declare function ReadinessCheck200ResponseToJSON(value?: ReadinessCheck200Response | null): any;
2831
+
2832
+ /**
2833
+ * DJVLC Registry API
2834
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2835
+ *
2836
+ * The version of the OpenAPI document: 2.0.0
2837
+ * Contact: dev@djvlc.com
2838
+ *
2839
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2840
+ * https://openapi-generator.tech
2841
+ * Do not edit the class manually.
2842
+ */
2843
+ /**
2844
+ *
2845
+ * @export
2846
+ * @interface ReadinessCheck503Response
2847
+ */
2848
+ interface ReadinessCheck503Response {
2849
+ /**
2850
+ *
2851
+ * @type {boolean}
2852
+ * @memberof ReadinessCheck503Response
2853
+ */
2854
+ ready?: boolean;
2855
+ /**
2856
+ *
2857
+ * @type {string}
2858
+ * @memberof ReadinessCheck503Response
2859
+ */
2860
+ reason?: string;
2110
2861
  }
2862
+ /**
2863
+ * Check if a given object implements the ReadinessCheck503Response interface.
2864
+ */
2865
+ declare function instanceOfReadinessCheck503Response(value: object): boolean;
2866
+ declare function ReadinessCheck503ResponseFromJSON(json: any): ReadinessCheck503Response;
2867
+ declare function ReadinessCheck503ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReadinessCheck503Response;
2868
+ declare function ReadinessCheck503ResponseToJSON(value?: ReadinessCheck503Response | null): any;
2111
2869
 
2112
2870
  /**
2113
2871
  * DJVLC Registry API
2114
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2872
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2115
2873
  *
2116
2874
  * The version of the OpenAPI document: 2.0.0
2117
2875
  * Contact: dev@djvlc.com
@@ -2131,24 +2889,31 @@ interface ResolveManifest200ResponseBlockedComponentsInner {
2131
2889
  * @type {string}
2132
2890
  * @memberof ResolveManifest200ResponseBlockedComponentsInner
2133
2891
  */
2134
- 'name'?: string;
2892
+ name?: string;
2135
2893
  /**
2136
2894
  *
2137
2895
  * @type {string}
2138
2896
  * @memberof ResolveManifest200ResponseBlockedComponentsInner
2139
2897
  */
2140
- 'version'?: string;
2898
+ version?: string;
2141
2899
  /**
2142
2900
  *
2143
2901
  * @type {string}
2144
2902
  * @memberof ResolveManifest200ResponseBlockedComponentsInner
2145
2903
  */
2146
- 'reason'?: string;
2904
+ reason?: string;
2147
2905
  }
2906
+ /**
2907
+ * Check if a given object implements the ResolveManifest200ResponseBlockedComponentsInner interface.
2908
+ */
2909
+ declare function instanceOfResolveManifest200ResponseBlockedComponentsInner(value: object): boolean;
2910
+ declare function ResolveManifest200ResponseBlockedComponentsInnerFromJSON(json: any): ResolveManifest200ResponseBlockedComponentsInner;
2911
+ declare function ResolveManifest200ResponseBlockedComponentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolveManifest200ResponseBlockedComponentsInner;
2912
+ declare function ResolveManifest200ResponseBlockedComponentsInnerToJSON(value?: ResolveManifest200ResponseBlockedComponentsInner | null): any;
2148
2913
 
2149
2914
  /**
2150
2915
  * DJVLC Registry API
2151
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
2916
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2152
2917
  *
2153
2918
  * The version of the OpenAPI document: 2.0.0
2154
2919
  * Contact: dev@djvlc.com
@@ -2168,56 +2933,59 @@ interface ResolveManifest200ResponseComponentsInner {
2168
2933
  * @type {string}
2169
2934
  * @memberof ResolveManifest200ResponseComponentsInner
2170
2935
  */
2171
- 'name'?: string;
2936
+ name?: string;
2172
2937
  /**
2173
2938
  *
2174
2939
  * @type {string}
2175
2940
  * @memberof ResolveManifest200ResponseComponentsInner
2176
2941
  */
2177
- 'version'?: string;
2942
+ version?: string;
2178
2943
  /**
2179
2944
  *
2180
2945
  * @type {string}
2181
2946
  * @memberof ResolveManifest200ResponseComponentsInner
2182
2947
  */
2183
- 'entry'?: string;
2948
+ entry?: string;
2184
2949
  /**
2185
2950
  *
2186
2951
  * @type {string}
2187
2952
  * @memberof ResolveManifest200ResponseComponentsInner
2188
2953
  */
2189
- 'styleUrl'?: string;
2954
+ styleUrl?: string;
2190
2955
  /**
2191
2956
  * SRI hash
2192
2957
  * @type {string}
2193
2958
  * @memberof ResolveManifest200ResponseComponentsInner
2194
2959
  */
2195
- 'integrity'?: string;
2960
+ integrity?: string;
2196
2961
  /**
2197
2962
  *
2198
2963
  * @type {boolean}
2199
2964
  * @memberof ResolveManifest200ResponseComponentsInner
2200
2965
  */
2201
- 'preload'?: boolean;
2966
+ preload?: boolean;
2202
2967
  /**
2203
2968
  *
2204
2969
  * @type {string}
2205
2970
  * @memberof ResolveManifest200ResponseComponentsInner
2206
2971
  */
2207
- 'priority'?: ResolveManifest200ResponseComponentsInnerPriorityEnum;
2972
+ priority?: ResolveManifest200ResponseComponentsInnerPriorityEnum;
2208
2973
  /**
2209
2974
  *
2210
2975
  * @type {boolean}
2211
2976
  * @memberof ResolveManifest200ResponseComponentsInner
2212
2977
  */
2213
- 'blocked'?: boolean;
2978
+ blocked?: boolean;
2214
2979
  /**
2215
2980
  * 如果被阻断,fallback 组件名
2216
2981
  * @type {string}
2217
2982
  * @memberof ResolveManifest200ResponseComponentsInner
2218
2983
  */
2219
- 'fallback'?: string;
2984
+ fallback?: string;
2220
2985
  }
2986
+ /**
2987
+ * @export
2988
+ */
2221
2989
  declare const ResolveManifest200ResponseComponentsInnerPriorityEnum: {
2222
2990
  readonly CRITICAL: "critical";
2223
2991
  readonly HIGH: "high";
@@ -2225,10 +2993,17 @@ declare const ResolveManifest200ResponseComponentsInnerPriorityEnum: {
2225
2993
  readonly LOW: "low";
2226
2994
  };
2227
2995
  type ResolveManifest200ResponseComponentsInnerPriorityEnum = typeof ResolveManifest200ResponseComponentsInnerPriorityEnum[keyof typeof ResolveManifest200ResponseComponentsInnerPriorityEnum];
2996
+ /**
2997
+ * Check if a given object implements the ResolveManifest200ResponseComponentsInner interface.
2998
+ */
2999
+ declare function instanceOfResolveManifest200ResponseComponentsInner(value: object): boolean;
3000
+ declare function ResolveManifest200ResponseComponentsInnerFromJSON(json: any): ResolveManifest200ResponseComponentsInner;
3001
+ declare function ResolveManifest200ResponseComponentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolveManifest200ResponseComponentsInner;
3002
+ declare function ResolveManifest200ResponseComponentsInnerToJSON(value?: ResolveManifest200ResponseComponentsInner | null): any;
2228
3003
 
2229
3004
  /**
2230
3005
  * DJVLC Registry API
2231
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3006
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2232
3007
  *
2233
3008
  * The version of the OpenAPI document: 2.0.0
2234
3009
  * Contact: dev@djvlc.com
@@ -2249,24 +3024,31 @@ interface ResolveManifest200Response {
2249
3024
  * @type {Array<ResolveManifest200ResponseComponentsInner>}
2250
3025
  * @memberof ResolveManifest200Response
2251
3026
  */
2252
- 'components'?: Array<ResolveManifest200ResponseComponentsInner>;
3027
+ components?: Array<ResolveManifest200ResponseComponentsInner>;
2253
3028
  /**
2254
3029
  *
2255
3030
  * @type {Array<ResolveManifest200ResponseBlockedComponentsInner>}
2256
3031
  * @memberof ResolveManifest200Response
2257
3032
  */
2258
- 'blockedComponents'?: Array<ResolveManifest200ResponseBlockedComponentsInner>;
3033
+ blockedComponents?: Array<ResolveManifest200ResponseBlockedComponentsInner>;
2259
3034
  /**
2260
3035
  * 预加载提示 URL 列表
2261
3036
  * @type {Array<string>}
2262
3037
  * @memberof ResolveManifest200Response
2263
3038
  */
2264
- 'preloadHints'?: Array<string>;
3039
+ preloadHints?: Array<string>;
2265
3040
  }
3041
+ /**
3042
+ * Check if a given object implements the ResolveManifest200Response interface.
3043
+ */
3044
+ declare function instanceOfResolveManifest200Response(value: object): boolean;
3045
+ declare function ResolveManifest200ResponseFromJSON(json: any): ResolveManifest200Response;
3046
+ declare function ResolveManifest200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolveManifest200Response;
3047
+ declare function ResolveManifest200ResponseToJSON(value?: ResolveManifest200Response | null): any;
2266
3048
 
2267
3049
  /**
2268
3050
  * DJVLC Registry API
2269
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3051
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2270
3052
  *
2271
3053
  * The version of the OpenAPI document: 2.0.0
2272
3054
  * Contact: dev@djvlc.com
@@ -2286,24 +3068,31 @@ interface ResolveManifestRequest {
2286
3068
  * @type {string}
2287
3069
  * @memberof ResolveManifestRequest
2288
3070
  */
2289
- 'manifestId': string;
3071
+ manifestId: string;
2290
3072
  /**
2291
3073
  * 是否返回预加载信息
2292
3074
  * @type {boolean}
2293
3075
  * @memberof ResolveManifestRequest
2294
3076
  */
2295
- 'preload'?: boolean;
3077
+ preload?: boolean;
2296
3078
  /**
2297
3079
  * 是否校验完整性
2298
3080
  * @type {boolean}
2299
3081
  * @memberof ResolveManifestRequest
2300
3082
  */
2301
- 'checkIntegrity'?: boolean;
3083
+ checkIntegrity?: boolean;
2302
3084
  }
3085
+ /**
3086
+ * Check if a given object implements the ResolveManifestRequest interface.
3087
+ */
3088
+ declare function instanceOfResolveManifestRequest(value: object): boolean;
3089
+ declare function ResolveManifestRequestFromJSON(json: any): ResolveManifestRequest;
3090
+ declare function ResolveManifestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResolveManifestRequest;
3091
+ declare function ResolveManifestRequestToJSON(value?: ResolveManifestRequest | null): any;
2303
3092
 
2304
3093
  /**
2305
3094
  * DJVLC Registry API
2306
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3095
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2307
3096
  *
2308
3097
  * The version of the OpenAPI document: 2.0.0
2309
3098
  * Contact: dev@djvlc.com
@@ -2323,20 +3112,23 @@ interface TransitionComponentStatusRequest {
2323
3112
  * @type {string}
2324
3113
  * @memberof TransitionComponentStatusRequest
2325
3114
  */
2326
- 'targetStatus': TransitionComponentStatusRequestTargetStatusEnum;
3115
+ targetStatus: TransitionComponentStatusRequestTargetStatusEnum;
2327
3116
  /**
2328
3117
  * 状态变更原因
2329
3118
  * @type {string}
2330
3119
  * @memberof TransitionComponentStatusRequest
2331
3120
  */
2332
- 'reason': string;
3121
+ reason: string;
2333
3122
  /**
2334
3123
  * 是否强制变更(跳过校验)
2335
3124
  * @type {boolean}
2336
3125
  * @memberof TransitionComponentStatusRequest
2337
3126
  */
2338
- 'force'?: boolean;
3127
+ force?: boolean;
2339
3128
  }
3129
+ /**
3130
+ * @export
3131
+ */
2340
3132
  declare const TransitionComponentStatusRequestTargetStatusEnum: {
2341
3133
  readonly DRAFT: "draft";
2342
3134
  readonly CANARY: "canary";
@@ -2345,10 +3137,17 @@ declare const TransitionComponentStatusRequestTargetStatusEnum: {
2345
3137
  readonly BLOCKED: "blocked";
2346
3138
  };
2347
3139
  type TransitionComponentStatusRequestTargetStatusEnum = typeof TransitionComponentStatusRequestTargetStatusEnum[keyof typeof TransitionComponentStatusRequestTargetStatusEnum];
3140
+ /**
3141
+ * Check if a given object implements the TransitionComponentStatusRequest interface.
3142
+ */
3143
+ declare function instanceOfTransitionComponentStatusRequest(value: object): boolean;
3144
+ declare function TransitionComponentStatusRequestFromJSON(json: any): TransitionComponentStatusRequest;
3145
+ declare function TransitionComponentStatusRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransitionComponentStatusRequest;
3146
+ declare function TransitionComponentStatusRequestToJSON(value?: TransitionComponentStatusRequest | null): any;
2348
3147
 
2349
3148
  /**
2350
3149
  * DJVLC Registry API
2351
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3150
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2352
3151
  *
2353
3152
  * The version of the OpenAPI document: 2.0.0
2354
3153
  * Contact: dev@djvlc.com
@@ -2368,23 +3167,34 @@ interface UnblockComponentVersionRequest {
2368
3167
  * @type {string}
2369
3168
  * @memberof UnblockComponentVersionRequest
2370
3169
  */
2371
- 'reason': string;
3170
+ reason: string;
2372
3171
  /**
2373
3172
  * 解除后的目标状态
2374
3173
  * @type {string}
2375
3174
  * @memberof UnblockComponentVersionRequest
2376
3175
  */
2377
- 'targetStatus'?: UnblockComponentVersionRequestTargetStatusEnum;
3176
+ targetStatus?: UnblockComponentVersionRequestTargetStatusEnum;
2378
3177
  }
3178
+ /**
3179
+ * @export
3180
+ */
2379
3181
  declare const UnblockComponentVersionRequestTargetStatusEnum: {
3182
+ readonly CANARY: "canary";
2380
3183
  readonly STABLE: "stable";
2381
3184
  readonly DEPRECATED: "deprecated";
2382
3185
  };
2383
3186
  type UnblockComponentVersionRequestTargetStatusEnum = typeof UnblockComponentVersionRequestTargetStatusEnum[keyof typeof UnblockComponentVersionRequestTargetStatusEnum];
3187
+ /**
3188
+ * Check if a given object implements the UnblockComponentVersionRequest interface.
3189
+ */
3190
+ declare function instanceOfUnblockComponentVersionRequest(value: object): boolean;
3191
+ declare function UnblockComponentVersionRequestFromJSON(json: any): UnblockComponentVersionRequest;
3192
+ declare function UnblockComponentVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnblockComponentVersionRequest;
3193
+ declare function UnblockComponentVersionRequestToJSON(value?: UnblockComponentVersionRequest | null): any;
2384
3194
 
2385
3195
  /**
2386
3196
  * DJVLC Registry API
2387
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3197
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2388
3198
  *
2389
3199
  * The version of the OpenAPI document: 2.0.0
2390
3200
  * Contact: dev@djvlc.com
@@ -2404,48 +3214,55 @@ interface UpdateComponentRequest {
2404
3214
  * @type {string}
2405
3215
  * @memberof UpdateComponentRequest
2406
3216
  */
2407
- 'displayName'?: string;
3217
+ displayName?: string;
2408
3218
  /**
2409
3219
  * 组件描述
2410
3220
  * @type {string}
2411
3221
  * @memberof UpdateComponentRequest
2412
3222
  */
2413
- 'description'?: string;
3223
+ description?: string;
2414
3224
  /**
2415
3225
  * 组件分类
2416
3226
  * @type {string}
2417
3227
  * @memberof UpdateComponentRequest
2418
3228
  */
2419
- 'category'?: string;
3229
+ category?: string;
2420
3230
  /**
2421
3231
  * 标签
2422
3232
  * @type {Array<string>}
2423
3233
  * @memberof UpdateComponentRequest
2424
3234
  */
2425
- 'tags'?: Array<string>;
3235
+ tags?: Array<string>;
2426
3236
  /**
2427
3237
  * 图标 URL
2428
3238
  * @type {string}
2429
3239
  * @memberof UpdateComponentRequest
2430
3240
  */
2431
- 'icon'?: string;
3241
+ icon?: string;
2432
3242
  /**
2433
3243
  * 主页 URL
2434
3244
  * @type {string}
2435
3245
  * @memberof UpdateComponentRequest
2436
3246
  */
2437
- 'homepage'?: string;
3247
+ homepage?: string;
2438
3248
  /**
2439
3249
  * 仓库 URL
2440
3250
  * @type {string}
2441
3251
  * @memberof UpdateComponentRequest
2442
3252
  */
2443
- 'repository'?: string;
3253
+ repository?: string;
2444
3254
  }
3255
+ /**
3256
+ * Check if a given object implements the UpdateComponentRequest interface.
3257
+ */
3258
+ declare function instanceOfUpdateComponentRequest(value: object): boolean;
3259
+ declare function UpdateComponentRequestFromJSON(json: any): UpdateComponentRequest;
3260
+ declare function UpdateComponentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateComponentRequest;
3261
+ declare function UpdateComponentRequestToJSON(value?: UpdateComponentRequest | null): any;
2445
3262
 
2446
3263
  /**
2447
3264
  * DJVLC Registry API
2448
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3265
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2449
3266
  *
2450
3267
  * The version of the OpenAPI document: 2.0.0
2451
3268
  * Contact: dev@djvlc.com
@@ -2466,12 +3283,19 @@ interface VersionDetailResponse {
2466
3283
  * @type {GetVersion200ResponseData}
2467
3284
  * @memberof VersionDetailResponse
2468
3285
  */
2469
- 'data': GetVersion200ResponseData;
3286
+ data: GetVersion200ResponseData;
2470
3287
  }
3288
+ /**
3289
+ * Check if a given object implements the VersionDetailResponse interface.
3290
+ */
3291
+ declare function instanceOfVersionDetailResponse(value: object): boolean;
3292
+ declare function VersionDetailResponseFromJSON(json: any): VersionDetailResponse;
3293
+ declare function VersionDetailResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionDetailResponse;
3294
+ declare function VersionDetailResponseToJSON(value?: VersionDetailResponse | null): any;
2471
3295
 
2472
3296
  /**
2473
3297
  * DJVLC Registry API
2474
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3298
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2475
3299
  *
2476
3300
  * The version of the OpenAPI document: 2.0.0
2477
3301
  * Contact: dev@djvlc.com
@@ -2492,72 +3316,84 @@ interface VersionInfo {
2492
3316
  * @type {string}
2493
3317
  * @memberof VersionInfo
2494
3318
  */
2495
- 'version': string;
3319
+ version: string;
2496
3320
  /**
2497
- * 版本状态
3321
+ * 版本状态(状态机:draft → canary → stable → deprecated → blocked)
2498
3322
  * @type {string}
2499
3323
  * @memberof VersionInfo
2500
3324
  */
2501
- 'status': VersionInfoStatusEnum;
3325
+ status: VersionInfoStatusEnum;
2502
3326
  /**
2503
3327
  * 变更日志
2504
3328
  * @type {string}
2505
3329
  * @memberof VersionInfo
2506
3330
  */
2507
- 'changelog'?: string;
3331
+ changelog?: string;
2508
3332
  /**
2509
3333
  *
2510
3334
  * @type {ListVersions200ResponseDataInnerIntegrity}
2511
3335
  * @memberof VersionInfo
2512
3336
  */
2513
- 'integrity'?: ListVersions200ResponseDataInnerIntegrity;
3337
+ integrity?: ListVersions200ResponseDataInnerIntegrity;
2514
3338
  /**
2515
3339
  * 包大小(字节)
2516
3340
  * @type {number}
2517
3341
  * @memberof VersionInfo
2518
3342
  */
2519
- 'size'?: number;
3343
+ size?: number;
2520
3344
  /**
2521
3345
  * 创建时间
2522
- * @type {string}
3346
+ * @type {Date}
2523
3347
  * @memberof VersionInfo
2524
3348
  */
2525
- 'createdAt': string;
3349
+ createdAt: Date;
2526
3350
  /**
2527
3351
  * 发布时间
2528
- * @type {string}
3352
+ * @type {Date}
2529
3353
  * @memberof VersionInfo
2530
3354
  */
2531
- 'publishedAt'?: string;
3355
+ publishedAt?: Date;
2532
3356
  /**
2533
3357
  * 废弃时间
2534
- * @type {string}
3358
+ * @type {Date}
2535
3359
  * @memberof VersionInfo
2536
3360
  */
2537
- 'deprecatedAt'?: string;
3361
+ deprecatedAt?: Date;
2538
3362
  /**
2539
3363
  * 废弃说明
2540
3364
  * @type {string}
2541
3365
  * @memberof VersionInfo
2542
3366
  */
2543
- 'deprecationMessage'?: string;
3367
+ deprecationMessage?: string;
2544
3368
  /**
2545
3369
  * 下载次数
2546
3370
  * @type {number}
2547
3371
  * @memberof VersionInfo
2548
3372
  */
2549
- 'downloads'?: number;
3373
+ downloads?: number;
2550
3374
  }
3375
+ /**
3376
+ * @export
3377
+ */
2551
3378
  declare const VersionInfoStatusEnum: {
2552
3379
  readonly DRAFT: "draft";
2553
- readonly PUBLISHED: "published";
3380
+ readonly CANARY: "canary";
3381
+ readonly STABLE: "stable";
2554
3382
  readonly DEPRECATED: "deprecated";
3383
+ readonly BLOCKED: "blocked";
2555
3384
  };
2556
3385
  type VersionInfoStatusEnum = typeof VersionInfoStatusEnum[keyof typeof VersionInfoStatusEnum];
3386
+ /**
3387
+ * Check if a given object implements the VersionInfo interface.
3388
+ */
3389
+ declare function instanceOfVersionInfo(value: object): boolean;
3390
+ declare function VersionInfoFromJSON(json: any): VersionInfo;
3391
+ declare function VersionInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionInfo;
3392
+ declare function VersionInfoToJSON(value?: VersionInfo | null): any;
2557
3393
 
2558
3394
  /**
2559
3395
  * DJVLC Registry API
2560
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3396
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2561
3397
  *
2562
3398
  * The version of the OpenAPI document: 2.0.0
2563
3399
  * Contact: dev@djvlc.com
@@ -2577,23 +3413,33 @@ interface VersionIntegrity {
2577
3413
  * @type {string}
2578
3414
  * @memberof VersionIntegrity
2579
3415
  */
2580
- 'algorithm': VersionIntegrityAlgorithmEnum;
3416
+ algorithm: VersionIntegrityAlgorithmEnum;
2581
3417
  /**
2582
3418
  * 哈希值
2583
3419
  * @type {string}
2584
3420
  * @memberof VersionIntegrity
2585
3421
  */
2586
- 'hash': string;
3422
+ hash: string;
2587
3423
  }
3424
+ /**
3425
+ * @export
3426
+ */
2588
3427
  declare const VersionIntegrityAlgorithmEnum: {
2589
3428
  readonly SHA384: "sha384";
2590
3429
  readonly SHA512: "sha512";
2591
3430
  };
2592
3431
  type VersionIntegrityAlgorithmEnum = typeof VersionIntegrityAlgorithmEnum[keyof typeof VersionIntegrityAlgorithmEnum];
3432
+ /**
3433
+ * Check if a given object implements the VersionIntegrity interface.
3434
+ */
3435
+ declare function instanceOfVersionIntegrity(value: object): boolean;
3436
+ declare function VersionIntegrityFromJSON(json: any): VersionIntegrity;
3437
+ declare function VersionIntegrityFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionIntegrity;
3438
+ declare function VersionIntegrityToJSON(value?: VersionIntegrity | null): any;
2593
3439
 
2594
3440
  /**
2595
3441
  * DJVLC Registry API
2596
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3442
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2597
3443
  *
2598
3444
  * The version of the OpenAPI document: 2.0.0
2599
3445
  * Contact: dev@djvlc.com
@@ -2614,18 +3460,25 @@ interface VersionListResponse {
2614
3460
  * @type {Array<ListVersions200ResponseDataInner>}
2615
3461
  * @memberof VersionListResponse
2616
3462
  */
2617
- 'data': Array<ListVersions200ResponseDataInner>;
3463
+ data: Array<ListVersions200ResponseDataInner>;
2618
3464
  /**
2619
3465
  *
2620
3466
  * @type {ListComponents200ResponseMeta}
2621
3467
  * @memberof VersionListResponse
2622
3468
  */
2623
- 'meta': ListComponents200ResponseMeta;
3469
+ meta: ListComponents200ResponseMeta;
2624
3470
  }
3471
+ /**
3472
+ * Check if a given object implements the VersionListResponse interface.
3473
+ */
3474
+ declare function instanceOfVersionListResponse(value: object): boolean;
3475
+ declare function VersionListResponseFromJSON(json: any): VersionListResponse;
3476
+ declare function VersionListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionListResponse;
3477
+ declare function VersionListResponseToJSON(value?: VersionListResponse | null): any;
2625
3478
 
2626
3479
  /**
2627
3480
  * DJVLC Registry API
2628
- * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3481
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
2629
3482
  *
2630
3483
  * The version of the OpenAPI document: 2.0.0
2631
3484
  * Contact: dev@djvlc.com
@@ -2646,421 +3499,766 @@ interface VersionResponse {
2646
3499
  * @type {ListVersions200ResponseDataInner}
2647
3500
  * @memberof VersionResponse
2648
3501
  */
2649
- 'data': ListVersions200ResponseDataInner;
3502
+ data: ListVersions200ResponseDataInner;
2650
3503
  }
2651
-
2652
3504
  /**
2653
- * Request parameters for createComponent operation in ComponentsApi.
2654
- * @export
2655
- * @interface ComponentsApiCreateComponentRequest
3505
+ * Check if a given object implements the VersionResponse interface.
2656
3506
  */
2657
- interface ComponentsApiCreateComponentRequest {
2658
- /**
2659
- *
2660
- * @type {CreateComponentRequest}
2661
- * @memberof ComponentsApiCreateComponent
2662
- */
2663
- readonly createComponentRequest: CreateComponentRequest;
2664
- }
3507
+ declare function instanceOfVersionResponse(value: object): boolean;
3508
+ declare function VersionResponseFromJSON(json: any): VersionResponse;
3509
+ declare function VersionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionResponse;
3510
+ declare function VersionResponseToJSON(value?: VersionResponse | null): any;
3511
+
2665
3512
  /**
2666
- * Request parameters for deleteComponent operation in ComponentsApi.
2667
- * @export
2668
- * @interface ComponentsApiDeleteComponentRequest
3513
+ * DJVLC Registry API
3514
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
3515
+ *
3516
+ * The version of the OpenAPI document: 2.0.0
3517
+ * Contact: dev@djvlc.com
3518
+ *
3519
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3520
+ * https://openapi-generator.tech
3521
+ * Do not edit the class manually.
2669
3522
  */
2670
- interface ComponentsApiDeleteComponentRequest {
2671
- /**
2672
- * 组件 ID
2673
- * @type {string}
2674
- * @memberof ComponentsApiDeleteComponent
2675
- */
2676
- readonly componentId: string;
3523
+
3524
+ interface BatchCheckCompatibilityOperationRequest {
3525
+ batchCheckCompatibilityRequest: BatchCheckCompatibilityRequest;
3526
+ }
3527
+ interface BatchQueryComponentsOperationRequest {
3528
+ batchQueryComponentsRequest: BatchQueryComponentsRequest;
3529
+ }
3530
+ interface ResolveManifestOperationRequest {
3531
+ resolveManifestRequest: ResolveManifestRequest;
2677
3532
  }
2678
3533
  /**
2679
- * Request parameters for getComponent operation in ComponentsApi.
3534
+ * BatchApi - interface
3535
+ *
2680
3536
  * @export
2681
- * @interface ComponentsApiGetComponentRequest
3537
+ * @interface BatchApiInterface
2682
3538
  */
2683
- interface ComponentsApiGetComponentRequest {
3539
+ interface BatchApiInterface {
2684
3540
  /**
2685
- * 组件 ID
2686
- * @type {string}
2687
- * @memberof ComponentsApiGetComponent
3541
+ * 检查多个组件版本是否兼容指定的 Runtime 版本。 通常用于 Editor 发布前校验。
3542
+ * @summary 批量检查组件兼容性
3543
+ * @param {BatchCheckCompatibilityRequest} batchCheckCompatibilityRequest
3544
+ * @param {*} [options] Override http request option.
3545
+ * @throws {RequiredError}
3546
+ * @memberof BatchApiInterface
2688
3547
  */
2689
- readonly componentId: string;
2690
- }
2691
- /**
2692
- * Request parameters for listComponents operation in ComponentsApi.
2693
- * @export
2694
- * @interface ComponentsApiListComponentsRequest
2695
- */
2696
- interface ComponentsApiListComponentsRequest {
3548
+ batchCheckCompatibilityRaw(requestParameters: BatchCheckCompatibilityOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BatchCheckCompatibility200Response>>;
2697
3549
  /**
2698
- * 页码
2699
- * @type {number}
2700
- * @memberof ComponentsApiListComponents
3550
+ * 检查多个组件版本是否兼容指定的 Runtime 版本。 通常用于 Editor 发布前校验。
3551
+ * 批量检查组件兼容性
2701
3552
  */
2702
- readonly page?: number;
3553
+ batchCheckCompatibility(requestParameters: BatchCheckCompatibilityOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchCheckCompatibility200Response>;
2703
3554
  /**
2704
- * 每页数量
2705
- * @type {number}
2706
- * @memberof ComponentsApiListComponents
3555
+ * 根据组件名称和版本列表批量查询组件信息。 通常用于 Runtime 加载 Manifest 时批量获取组件元数据。
3556
+ * @summary 批量查询组件信息
3557
+ * @param {BatchQueryComponentsRequest} batchQueryComponentsRequest
3558
+ * @param {*} [options] Override http request option.
3559
+ * @throws {RequiredError}
3560
+ * @memberof BatchApiInterface
2707
3561
  */
2708
- readonly limit?: number;
3562
+ batchQueryComponentsRaw(requestParameters: BatchQueryComponentsOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BatchQueryComponents200Response>>;
2709
3563
  /**
2710
- * 按分类筛选
2711
- * @type {string}
2712
- * @memberof ComponentsApiListComponents
3564
+ * 根据组件名称和版本列表批量查询组件信息。 通常用于 Runtime 加载 Manifest 时批量获取组件元数据。
3565
+ * 批量查询组件信息
2713
3566
  */
2714
- readonly category?: string;
3567
+ batchQueryComponents(requestParameters: BatchQueryComponentsOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchQueryComponents200Response>;
2715
3568
  /**
2716
- * 搜索关键词
2717
- * @type {string}
2718
- * @memberof ComponentsApiListComponents
3569
+ * 根据 Manifest 解析所有组件的加载信息。 返回可直接用于 Runtime 加载的组件配置。
3570
+ * @summary 解析 Manifest
3571
+ * @param {ResolveManifestRequest} resolveManifestRequest
3572
+ * @param {*} [options] Override http request option.
3573
+ * @throws {RequiredError}
3574
+ * @memberof BatchApiInterface
2719
3575
  */
2720
- readonly search?: string;
3576
+ resolveManifestRaw(requestParameters: ResolveManifestOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ResolveManifest200Response>>;
2721
3577
  /**
2722
- * 按所有者筛选
2723
- * @type {string}
2724
- * @memberof ComponentsApiListComponents
3578
+ * 根据 Manifest 解析所有组件的加载信息。 返回可直接用于 Runtime 加载的组件配置。
3579
+ * 解析 Manifest
2725
3580
  */
2726
- readonly owner?: string;
3581
+ resolveManifest(requestParameters: ResolveManifestOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ResolveManifest200Response>;
2727
3582
  }
2728
3583
  /**
2729
- * Request parameters for updateComponent operation in ComponentsApi.
2730
- * @export
2731
- * @interface ComponentsApiUpdateComponentRequest
3584
+ *
2732
3585
  */
2733
- interface ComponentsApiUpdateComponentRequest {
3586
+ declare class BatchApi extends BaseAPI implements BatchApiInterface {
2734
3587
  /**
2735
- * 组件 ID
2736
- * @type {string}
2737
- * @memberof ComponentsApiUpdateComponent
3588
+ * 检查多个组件版本是否兼容指定的 Runtime 版本。 通常用于 Editor 发布前校验。
3589
+ * 批量检查组件兼容性
2738
3590
  */
2739
- readonly componentId: string;
3591
+ batchCheckCompatibilityRaw(requestParameters: BatchCheckCompatibilityOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BatchCheckCompatibility200Response>>;
2740
3592
  /**
2741
- *
2742
- * @type {UpdateComponentRequest}
2743
- * @memberof ComponentsApiUpdateComponent
3593
+ * 检查多个组件版本是否兼容指定的 Runtime 版本。 通常用于 Editor 发布前校验。
3594
+ * 批量检查组件兼容性
3595
+ */
3596
+ batchCheckCompatibility(requestParameters: BatchCheckCompatibilityOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchCheckCompatibility200Response>;
3597
+ /**
3598
+ * 根据组件名称和版本列表批量查询组件信息。 通常用于 Runtime 加载 Manifest 时批量获取组件元数据。
3599
+ * 批量查询组件信息
3600
+ */
3601
+ batchQueryComponentsRaw(requestParameters: BatchQueryComponentsOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BatchQueryComponents200Response>>;
3602
+ /**
3603
+ * 根据组件名称和版本列表批量查询组件信息。 通常用于 Runtime 加载 Manifest 时批量获取组件元数据。
3604
+ * 批量查询组件信息
3605
+ */
3606
+ batchQueryComponents(requestParameters: BatchQueryComponentsOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchQueryComponents200Response>;
3607
+ /**
3608
+ * 根据 Manifest 解析所有组件的加载信息。 返回可直接用于 Runtime 加载的组件配置。
3609
+ * 解析 Manifest
2744
3610
  */
2745
- readonly updateComponentRequest: UpdateComponentRequest;
3611
+ resolveManifestRaw(requestParameters: ResolveManifestOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ResolveManifest200Response>>;
3612
+ /**
3613
+ * 根据 Manifest 解析所有组件的加载信息。 返回可直接用于 Runtime 加载的组件配置。
3614
+ * 解析 Manifest
3615
+ */
3616
+ resolveManifest(requestParameters: ResolveManifestOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ResolveManifest200Response>;
3617
+ }
3618
+
3619
+ /**
3620
+ * DJVLC Registry API
3621
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
3622
+ *
3623
+ * The version of the OpenAPI document: 2.0.0
3624
+ * Contact: dev@djvlc.com
3625
+ *
3626
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3627
+ * https://openapi-generator.tech
3628
+ * Do not edit the class manually.
3629
+ */
3630
+
3631
+ interface CreateComponentOperationRequest {
3632
+ createComponentRequest: CreateComponentRequest;
3633
+ }
3634
+ interface DeleteComponentOperationRequest {
3635
+ componentId: string;
3636
+ deleteComponentRequest?: DeleteComponentRequest;
3637
+ }
3638
+ interface GetComponentRequest {
3639
+ componentId: string;
3640
+ }
3641
+ interface ListComponentsRequest {
3642
+ page?: number;
3643
+ limit?: number;
3644
+ category?: string;
3645
+ search?: string;
3646
+ owner?: string;
3647
+ }
3648
+ interface UpdateComponentOperationRequest {
3649
+ componentId: string;
3650
+ updateComponentRequest: UpdateComponentRequest;
2746
3651
  }
2747
3652
  /**
2748
- * ComponentsApi - object-oriented interface
3653
+ * ComponentsApi - interface
3654
+ *
2749
3655
  * @export
2750
- * @class ComponentsApi
2751
- * @extends {BaseAPI}
3656
+ * @interface ComponentsApiInterface
2752
3657
  */
2753
- declare class ComponentsApi extends BaseAPI {
3658
+ interface ComponentsApiInterface {
2754
3659
  /**
2755
3660
  * 在注册中心注册一个新组件
2756
3661
  * @summary 注册新组件
2757
- * @param {ComponentsApiCreateComponentRequest} requestParameters Request parameters.
3662
+ * @param {CreateComponentRequest} createComponentRequest
2758
3663
  * @param {*} [options] Override http request option.
2759
3664
  * @throws {RequiredError}
2760
- * @memberof ComponentsApi
3665
+ * @memberof ComponentsApiInterface
3666
+ */
3667
+ createComponentRaw(requestParameters: CreateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateComponent200Response>>;
3668
+ /**
3669
+ * 在注册中心注册一个新组件
3670
+ * 注册新组件
2761
3671
  */
2762
- createComponent(requestParameters: ComponentsApiCreateComponentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateComponent201Response, any, {}>>;
3672
+ createComponent(requestParameters: CreateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateComponent200Response>;
2763
3673
  /**
2764
3674
  * 删除组件(仅当没有已发布版本时可删除)
2765
3675
  * @summary 删除组件
2766
- * @param {ComponentsApiDeleteComponentRequest} requestParameters Request parameters.
3676
+ * @param {string} componentId 组件 ID
3677
+ * @param {DeleteComponentRequest} [deleteComponentRequest]
2767
3678
  * @param {*} [options] Override http request option.
2768
3679
  * @throws {RequiredError}
2769
- * @memberof ComponentsApi
3680
+ * @memberof ComponentsApiInterface
3681
+ */
3682
+ deleteComponentRaw(requestParameters: DeleteComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DeleteComponent200Response>>;
3683
+ /**
3684
+ * 删除组件(仅当没有已发布版本时可删除)
3685
+ * 删除组件
2770
3686
  */
2771
- deleteComponent(requestParameters: ComponentsApiDeleteComponentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
3687
+ deleteComponent(requestParameters: DeleteComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DeleteComponent200Response>;
2772
3688
  /**
2773
3689
  * 获取指定组件的完整信息
2774
3690
  * @summary 获取组件详情
2775
- * @param {ComponentsApiGetComponentRequest} requestParameters Request parameters.
3691
+ * @param {string} componentId 组件 ID
2776
3692
  * @param {*} [options] Override http request option.
2777
3693
  * @throws {RequiredError}
2778
- * @memberof ComponentsApi
3694
+ * @memberof ComponentsApiInterface
2779
3695
  */
2780
- getComponent(requestParameters: ComponentsApiGetComponentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateComponent201Response, any, {}>>;
3696
+ getComponentRaw(requestParameters: GetComponentRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateComponent200Response>>;
3697
+ /**
3698
+ * 获取指定组件的完整信息
3699
+ * 获取组件详情
3700
+ */
3701
+ getComponent(requestParameters: GetComponentRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateComponent200Response>;
2781
3702
  /**
2782
3703
  * 获取注册中心中的所有组件
2783
3704
  * @summary 获取组件列表
2784
- * @param {ComponentsApiListComponentsRequest} requestParameters Request parameters.
3705
+ * @param {number} [page] 页码
3706
+ * @param {number} [limit] 每页数量
3707
+ * @param {string} [category] 按分类筛选
3708
+ * @param {string} [search] 搜索关键词
3709
+ * @param {string} [owner] 按所有者筛选
2785
3710
  * @param {*} [options] Override http request option.
2786
3711
  * @throws {RequiredError}
2787
- * @memberof ComponentsApi
3712
+ * @memberof ComponentsApiInterface
2788
3713
  */
2789
- listComponents(requestParameters?: ComponentsApiListComponentsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListComponents200Response, any, {}>>;
3714
+ listComponentsRaw(requestParameters: ListComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListComponents200Response>>;
3715
+ /**
3716
+ * 获取注册中心中的所有组件
3717
+ * 获取组件列表
3718
+ */
3719
+ listComponents(requestParameters: ListComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListComponents200Response>;
2790
3720
  /**
2791
3721
  * 更新组件的元数据
2792
3722
  * @summary 更新组件信息
2793
- * @param {ComponentsApiUpdateComponentRequest} requestParameters Request parameters.
3723
+ * @param {string} componentId 组件 ID
3724
+ * @param {UpdateComponentRequest} updateComponentRequest
2794
3725
  * @param {*} [options] Override http request option.
2795
3726
  * @throws {RequiredError}
2796
- * @memberof ComponentsApi
3727
+ * @memberof ComponentsApiInterface
2797
3728
  */
2798
- updateComponent(requestParameters: ComponentsApiUpdateComponentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateComponent201Response, any, {}>>;
3729
+ updateComponentRaw(requestParameters: UpdateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateComponent200Response>>;
3730
+ /**
3731
+ * 更新组件的元数据
3732
+ * 更新组件信息
3733
+ */
3734
+ updateComponent(requestParameters: UpdateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateComponent200Response>;
2799
3735
  }
2800
-
2801
3736
  /**
2802
- * Request parameters for completeUpload operation in UploadApi.
2803
- * @export
2804
- * @interface UploadApiCompleteUploadRequest
3737
+ *
2805
3738
  */
2806
- interface UploadApiCompleteUploadRequest {
3739
+ declare class ComponentsApi extends BaseAPI implements ComponentsApiInterface {
2807
3740
  /**
2808
- *
2809
- * @type {CompleteUploadRequest}
2810
- * @memberof UploadApiCompleteUpload
3741
+ * 在注册中心注册一个新组件
3742
+ * 注册新组件
3743
+ */
3744
+ createComponentRaw(requestParameters: CreateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateComponent200Response>>;
3745
+ /**
3746
+ * 在注册中心注册一个新组件
3747
+ * 注册新组件
3748
+ */
3749
+ createComponent(requestParameters: CreateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateComponent200Response>;
3750
+ /**
3751
+ * 删除组件(仅当没有已发布版本时可删除)
3752
+ * 删除组件
3753
+ */
3754
+ deleteComponentRaw(requestParameters: DeleteComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DeleteComponent200Response>>;
3755
+ /**
3756
+ * 删除组件(仅当没有已发布版本时可删除)
3757
+ * 删除组件
3758
+ */
3759
+ deleteComponent(requestParameters: DeleteComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DeleteComponent200Response>;
3760
+ /**
3761
+ * 获取指定组件的完整信息
3762
+ * 获取组件详情
3763
+ */
3764
+ getComponentRaw(requestParameters: GetComponentRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateComponent200Response>>;
3765
+ /**
3766
+ * 获取指定组件的完整信息
3767
+ * 获取组件详情
2811
3768
  */
2812
- readonly completeUploadRequest: CompleteUploadRequest;
3769
+ getComponent(requestParameters: GetComponentRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateComponent200Response>;
3770
+ /**
3771
+ * 获取注册中心中的所有组件
3772
+ * 获取组件列表
3773
+ */
3774
+ listComponentsRaw(requestParameters: ListComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListComponents200Response>>;
3775
+ /**
3776
+ * 获取注册中心中的所有组件
3777
+ * 获取组件列表
3778
+ */
3779
+ listComponents(requestParameters?: ListComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListComponents200Response>;
3780
+ /**
3781
+ * 更新组件的元数据
3782
+ * 更新组件信息
3783
+ */
3784
+ updateComponentRaw(requestParameters: UpdateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateComponent200Response>>;
3785
+ /**
3786
+ * 更新组件的元数据
3787
+ * 更新组件信息
3788
+ */
3789
+ updateComponent(requestParameters: UpdateComponentOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateComponent200Response>;
2813
3790
  }
3791
+
2814
3792
  /**
2815
- * Request parameters for prepareUpload operation in UploadApi.
2816
- * @export
2817
- * @interface UploadApiPrepareUploadRequest
3793
+ * DJVLC Registry API
3794
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
3795
+ *
3796
+ * The version of the OpenAPI document: 2.0.0
3797
+ * Contact: dev@djvlc.com
3798
+ *
3799
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3800
+ * https://openapi-generator.tech
3801
+ * Do not edit the class manually.
2818
3802
  */
2819
- interface UploadApiPrepareUploadRequest {
2820
- /**
2821
- *
2822
- * @type {PrepareUploadRequest}
2823
- * @memberof UploadApiPrepareUpload
2824
- */
2825
- readonly prepareUploadRequest: PrepareUploadRequest;
3803
+
3804
+ interface BlockComponentVersionOperationRequest {
3805
+ componentId: string;
3806
+ version: string;
3807
+ blockComponentVersionRequest: BlockComponentVersionRequest;
3808
+ }
3809
+ interface ListBlockedComponentsRequest {
3810
+ appId?: string;
3811
+ since?: Date;
3812
+ }
3813
+ interface TransitionComponentStatusOperationRequest {
3814
+ componentId: string;
3815
+ version: string;
3816
+ transitionComponentStatusRequest: TransitionComponentStatusRequest;
3817
+ }
3818
+ interface UnblockComponentVersionOperationRequest {
3819
+ componentId: string;
3820
+ version: string;
3821
+ unblockComponentVersionRequest: UnblockComponentVersionRequest;
2826
3822
  }
2827
3823
  /**
2828
- * UploadApi - object-oriented interface
3824
+ * StatusApi - interface
3825
+ *
2829
3826
  * @export
2830
- * @class UploadApi
2831
- * @extends {BaseAPI}
3827
+ * @interface StatusApiInterface
2832
3828
  */
2833
- declare class UploadApi extends BaseAPI {
3829
+ interface StatusApiInterface {
2834
3830
  /**
2835
- * 通知服务器上传完成,进行文件验证和处理。 验证包括: - 文件完整性校验 - 格式验证 - 安全扫描
2836
- * @summary 完成上传
2837
- * @param {UploadApiCompleteUploadRequest} requestParameters Request parameters.
3831
+ * 紧急阻断某个组件版本,阻止其被加载。 阻断后,Runtime 将使用 fallback 组件渲染。
3832
+ * @summary 阻断组件版本
3833
+ * @param {string} componentId 组件 ID
3834
+ * @param {string} version 组件版本
3835
+ * @param {BlockComponentVersionRequest} blockComponentVersionRequest
2838
3836
  * @param {*} [options] Override http request option.
2839
3837
  * @throws {RequiredError}
2840
- * @memberof UploadApi
3838
+ * @memberof StatusApiInterface
2841
3839
  */
2842
- completeUpload(requestParameters: UploadApiCompleteUploadRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CompleteUpload200Response, any, {}>>;
3840
+ blockComponentVersionRaw(requestParameters: BlockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200ResponseDataInner>>;
2843
3841
  /**
2844
- * 获取上传凭证和 URL。 支持多文件上传,返回每个文件的上传 URL。
2845
- * @summary 准备上传
2846
- * @param {UploadApiPrepareUploadRequest} requestParameters Request parameters.
3842
+ * 紧急阻断某个组件版本,阻止其被加载。 阻断后,Runtime 将使用 fallback 组件渲染。
3843
+ * 阻断组件版本
3844
+ */
3845
+ blockComponentVersion(requestParameters: BlockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200ResponseDataInner>;
3846
+ /**
3847
+ * 获取当前所有被阻断的组件版本列表
3848
+ * @summary 获取阻断列表
3849
+ * @param {string} [appId] 按应用 ID 筛选
3850
+ * @param {Date} [since] 阻断时间起始
2847
3851
  * @param {*} [options] Override http request option.
2848
3852
  * @throws {RequiredError}
2849
- * @memberof UploadApi
3853
+ * @memberof StatusApiInterface
2850
3854
  */
2851
- prepareUpload(requestParameters: UploadApiPrepareUploadRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PrepareUpload200Response, any, {}>>;
2852
- }
2853
-
2854
- /**
2855
- * Request parameters for createVersion operation in VersionsApi.
2856
- * @export
2857
- * @interface VersionsApiCreateVersionRequest
2858
- */
2859
- interface VersionsApiCreateVersionRequest {
3855
+ listBlockedComponentsRaw(requestParameters: ListBlockedComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListBlockedComponents200Response>>;
2860
3856
  /**
2861
- * 组件 ID
2862
- * @type {string}
2863
- * @memberof VersionsApiCreateVersion
3857
+ * 获取当前所有被阻断的组件版本列表
3858
+ * 获取阻断列表
2864
3859
  */
2865
- readonly componentId: string;
3860
+ listBlockedComponents(requestParameters: ListBlockedComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListBlockedComponents200Response>;
2866
3861
  /**
2867
- *
2868
- * @type {CreateVersionRequest}
2869
- * @memberof VersionsApiCreateVersion
3862
+ * 组件版本状态流转。 状态机规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3863
+ * @summary 状态流转
3864
+ * @param {string} componentId 组件 ID
3865
+ * @param {string} version 组件版本
3866
+ * @param {TransitionComponentStatusRequest} transitionComponentStatusRequest
3867
+ * @param {*} [options] Override http request option.
3868
+ * @throws {RequiredError}
3869
+ * @memberof StatusApiInterface
2870
3870
  */
2871
- readonly createVersionRequest: CreateVersionRequest;
2872
- }
2873
- /**
2874
- * Request parameters for deleteVersion operation in VersionsApi.
2875
- * @export
2876
- * @interface VersionsApiDeleteVersionRequest
2877
- */
2878
- interface VersionsApiDeleteVersionRequest {
3871
+ transitionComponentStatusRaw(requestParameters: TransitionComponentStatusOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200ResponseDataInner>>;
2879
3872
  /**
2880
- * 组件 ID
2881
- * @type {string}
2882
- * @memberof VersionsApiDeleteVersion
3873
+ * 组件版本状态流转。 状态机规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3874
+ * 状态流转
2883
3875
  */
2884
- readonly componentId: string;
3876
+ transitionComponentStatus(requestParameters: TransitionComponentStatusOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200ResponseDataInner>;
2885
3877
  /**
2886
- * 版本号
2887
- * @type {string}
2888
- * @memberof VersionsApiDeleteVersion
3878
+ * 解除组件版本的阻断状态,恢复其可用性
3879
+ * @summary 解除组件版本阻断
3880
+ * @param {string} componentId 组件 ID
3881
+ * @param {string} version 组件版本
3882
+ * @param {UnblockComponentVersionRequest} unblockComponentVersionRequest
3883
+ * @param {*} [options] Override http request option.
3884
+ * @throws {RequiredError}
3885
+ * @memberof StatusApiInterface
3886
+ */
3887
+ unblockComponentVersionRaw(requestParameters: UnblockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200ResponseDataInner>>;
3888
+ /**
3889
+ * 解除组件版本的阻断状态,恢复其可用性
3890
+ * 解除组件版本阻断
2889
3891
  */
2890
- readonly version: string;
3892
+ unblockComponentVersion(requestParameters: UnblockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200ResponseDataInner>;
2891
3893
  }
2892
3894
  /**
2893
- * Request parameters for deprecateVersion operation in VersionsApi.
2894
- * @export
2895
- * @interface VersionsApiDeprecateVersionRequest
3895
+ *
2896
3896
  */
2897
- interface VersionsApiDeprecateVersionRequest {
3897
+ declare class StatusApi extends BaseAPI implements StatusApiInterface {
2898
3898
  /**
2899
- * 组件 ID
2900
- * @type {string}
2901
- * @memberof VersionsApiDeprecateVersion
3899
+ * 紧急阻断某个组件版本,阻止其被加载。 阻断后,Runtime 将使用 fallback 组件渲染。
3900
+ * 阻断组件版本
2902
3901
  */
2903
- readonly componentId: string;
3902
+ blockComponentVersionRaw(requestParameters: BlockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200ResponseDataInner>>;
2904
3903
  /**
2905
- * 版本号
2906
- * @type {string}
2907
- * @memberof VersionsApiDeprecateVersion
3904
+ * 紧急阻断某个组件版本,阻止其被加载。 阻断后,Runtime 将使用 fallback 组件渲染。
3905
+ * 阻断组件版本
2908
3906
  */
2909
- readonly version: string;
3907
+ blockComponentVersion(requestParameters: BlockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200ResponseDataInner>;
2910
3908
  /**
2911
- *
2912
- * @type {DeprecateVersionRequest}
2913
- * @memberof VersionsApiDeprecateVersion
3909
+ * 获取当前所有被阻断的组件版本列表
3910
+ * 获取阻断列表
2914
3911
  */
2915
- readonly deprecateVersionRequest?: DeprecateVersionRequest;
2916
- }
2917
- /**
2918
- * Request parameters for getVersion operation in VersionsApi.
2919
- * @export
2920
- * @interface VersionsApiGetVersionRequest
2921
- */
2922
- interface VersionsApiGetVersionRequest {
3912
+ listBlockedComponentsRaw(requestParameters: ListBlockedComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListBlockedComponents200Response>>;
2923
3913
  /**
2924
- * 组件 ID
2925
- * @type {string}
2926
- * @memberof VersionsApiGetVersion
3914
+ * 获取当前所有被阻断的组件版本列表
3915
+ * 获取阻断列表
2927
3916
  */
2928
- readonly componentId: string;
3917
+ listBlockedComponents(requestParameters?: ListBlockedComponentsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListBlockedComponents200Response>;
2929
3918
  /**
2930
- * 版本号(如 1.0.0)或 latest
2931
- * @type {string}
2932
- * @memberof VersionsApiGetVersion
3919
+ * 组件版本状态流转。 状态机规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3920
+ * 状态流转
3921
+ */
3922
+ transitionComponentStatusRaw(requestParameters: TransitionComponentStatusOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200ResponseDataInner>>;
3923
+ /**
3924
+ * 组件版本状态流转。 状态机规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批)
3925
+ * 状态流转
3926
+ */
3927
+ transitionComponentStatus(requestParameters: TransitionComponentStatusOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200ResponseDataInner>;
3928
+ /**
3929
+ * 解除组件版本的阻断状态,恢复其可用性
3930
+ * 解除组件版本阻断
2933
3931
  */
2934
- readonly version: string;
3932
+ unblockComponentVersionRaw(requestParameters: UnblockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200ResponseDataInner>>;
3933
+ /**
3934
+ * 解除组件版本的阻断状态,恢复其可用性
3935
+ * 解除组件版本阻断
3936
+ */
3937
+ unblockComponentVersion(requestParameters: UnblockComponentVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200ResponseDataInner>;
3938
+ }
3939
+
3940
+ /**
3941
+ * DJVLC Registry API
3942
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
3943
+ *
3944
+ * The version of the OpenAPI document: 2.0.0
3945
+ * Contact: dev@djvlc.com
3946
+ *
3947
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3948
+ * https://openapi-generator.tech
3949
+ * Do not edit the class manually.
3950
+ */
3951
+
3952
+ interface CompleteUploadOperationRequest {
3953
+ completeUploadRequest: CompleteUploadRequest;
3954
+ }
3955
+ interface PrepareUploadOperationRequest {
3956
+ prepareUploadRequest: PrepareUploadRequest;
2935
3957
  }
2936
3958
  /**
2937
- * Request parameters for listVersions operation in VersionsApi.
3959
+ * UploadApi - interface
3960
+ *
2938
3961
  * @export
2939
- * @interface VersionsApiListVersionsRequest
3962
+ * @interface UploadApiInterface
2940
3963
  */
2941
- interface VersionsApiListVersionsRequest {
3964
+ interface UploadApiInterface {
2942
3965
  /**
2943
- * 组件 ID
2944
- * @type {string}
2945
- * @memberof VersionsApiListVersions
3966
+ * 通知服务器上传完成,进行文件验证和处理。 验证包括: - 文件完整性校验 - 格式验证 - 安全扫描
3967
+ * @summary 完成上传
3968
+ * @param {CompleteUploadRequest} completeUploadRequest
3969
+ * @param {*} [options] Override http request option.
3970
+ * @throws {RequiredError}
3971
+ * @memberof UploadApiInterface
2946
3972
  */
2947
- readonly componentId: string;
3973
+ completeUploadRaw(requestParameters: CompleteUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CompleteUpload200Response>>;
2948
3974
  /**
2949
- * 页码
2950
- * @type {number}
2951
- * @memberof VersionsApiListVersions
3975
+ * 通知服务器上传完成,进行文件验证和处理。 验证包括: - 文件完整性校验 - 格式验证 - 安全扫描
3976
+ * 完成上传
2952
3977
  */
2953
- readonly page?: number;
3978
+ completeUpload(requestParameters: CompleteUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CompleteUpload200Response>;
2954
3979
  /**
2955
- * 每页数量
2956
- * @type {number}
2957
- * @memberof VersionsApiListVersions
3980
+ * 获取上传凭证和 URL。 支持多文件上传,返回每个文件的上传 URL。
3981
+ * @summary 准备上传
3982
+ * @param {PrepareUploadRequest} prepareUploadRequest
3983
+ * @param {*} [options] Override http request option.
3984
+ * @throws {RequiredError}
3985
+ * @memberof UploadApiInterface
2958
3986
  */
2959
- readonly limit?: number;
3987
+ prepareUploadRaw(requestParameters: PrepareUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PrepareUpload200Response>>;
2960
3988
  /**
2961
- * 按状态筛选
2962
- * @type {'draft' | 'published' | 'deprecated'}
2963
- * @memberof VersionsApiListVersions
3989
+ * 获取上传凭证和 URL。 支持多文件上传,返回每个文件的上传 URL。
3990
+ * 准备上传
2964
3991
  */
2965
- readonly status?: ListVersionsStatusEnum;
3992
+ prepareUpload(requestParameters: PrepareUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PrepareUpload200Response>;
2966
3993
  }
2967
3994
  /**
2968
- * Request parameters for publishVersion operation in VersionsApi.
2969
- * @export
2970
- * @interface VersionsApiPublishVersionRequest
3995
+ *
2971
3996
  */
2972
- interface VersionsApiPublishVersionRequest {
3997
+ declare class UploadApi extends BaseAPI implements UploadApiInterface {
2973
3998
  /**
2974
- * 组件 ID
2975
- * @type {string}
2976
- * @memberof VersionsApiPublishVersion
3999
+ * 通知服务器上传完成,进行文件验证和处理。 验证包括: - 文件完整性校验 - 格式验证 - 安全扫描
4000
+ * 完成上传
2977
4001
  */
2978
- readonly componentId: string;
4002
+ completeUploadRaw(requestParameters: CompleteUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CompleteUpload200Response>>;
2979
4003
  /**
2980
- * 版本号
2981
- * @type {string}
2982
- * @memberof VersionsApiPublishVersion
4004
+ * 通知服务器上传完成,进行文件验证和处理。 验证包括: - 文件完整性校验 - 格式验证 - 安全扫描
4005
+ * 完成上传
2983
4006
  */
2984
- readonly version: string;
4007
+ completeUpload(requestParameters: CompleteUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CompleteUpload200Response>;
2985
4008
  /**
2986
- *
2987
- * @type {PublishVersionRequest}
2988
- * @memberof VersionsApiPublishVersion
4009
+ * 获取上传凭证和 URL。 支持多文件上传,返回每个文件的上传 URL。
4010
+ * 准备上传
4011
+ */
4012
+ prepareUploadRaw(requestParameters: PrepareUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PrepareUpload200Response>>;
4013
+ /**
4014
+ * 获取上传凭证和 URL。 支持多文件上传,返回每个文件的上传 URL。
4015
+ * 准备上传
2989
4016
  */
2990
- readonly publishVersionRequest?: PublishVersionRequest;
4017
+ prepareUpload(requestParameters: PrepareUploadOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PrepareUpload200Response>;
4018
+ }
4019
+
4020
+ /**
4021
+ * DJVLC Registry API
4022
+ * DJVLC 低代码平台组件注册中心 API 提供以下功能: - 组件注册(创建、更新组件) - 版本管理(发布、废弃版本) - 状态机管理(阻断、解除阻断、状态流转) - 批量操作(批量查询、兼容性检查、Manifest 解析) - 资源上传(文件上传) ## 状态机 组件版本状态流转规则: - draft → canary → stable - stable → deprecated → blocked - blocked → stable (需审批) ## API 设计规范 - 只使用 GET 和 POST 方法 - GET:查询操作 - POST:创建、更新、删除等变更操作 - 使用语义化路由(如 /update, /delete, /publish)
4023
+ *
4024
+ * The version of the OpenAPI document: 2.0.0
4025
+ * Contact: dev@djvlc.com
4026
+ *
4027
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4028
+ * https://openapi-generator.tech
4029
+ * Do not edit the class manually.
4030
+ */
4031
+
4032
+ interface CreateVersionOperationRequest {
4033
+ componentId: string;
4034
+ createVersionRequest: CreateVersionRequest;
4035
+ }
4036
+ interface DeleteVersionOperationRequest {
4037
+ componentId: string;
4038
+ version: string;
4039
+ deleteVersionRequest?: DeleteVersionRequest;
4040
+ }
4041
+ interface DeprecateVersionOperationRequest {
4042
+ componentId: string;
4043
+ version: string;
4044
+ deprecateVersionRequest?: DeprecateVersionRequest;
4045
+ }
4046
+ interface GetVersionRequest {
4047
+ componentId: string;
4048
+ version: string;
4049
+ }
4050
+ interface ListVersionsRequest {
4051
+ componentId: string;
4052
+ page?: number;
4053
+ limit?: number;
4054
+ status?: ListVersionsStatusEnum;
4055
+ }
4056
+ interface PublishVersionOperationRequest {
4057
+ componentId: string;
4058
+ version: string;
4059
+ publishVersionRequest?: PublishVersionRequest;
2991
4060
  }
2992
4061
  /**
2993
- * VersionsApi - object-oriented interface
4062
+ * VersionsApi - interface
4063
+ *
2994
4064
  * @export
2995
- * @class VersionsApi
2996
- * @extends {BaseAPI}
4065
+ * @interface VersionsApiInterface
2997
4066
  */
2998
- declare class VersionsApi extends BaseAPI {
4067
+ interface VersionsApiInterface {
2999
4068
  /**
3000
4069
  * 为组件创建一个新版本(草稿状态)
3001
4070
  * @summary 创建新版本
3002
- * @param {VersionsApiCreateVersionRequest} requestParameters Request parameters.
4071
+ * @param {string} componentId 组件 ID
4072
+ * @param {CreateVersionRequest} createVersionRequest
3003
4073
  * @param {*} [options] Override http request option.
3004
4074
  * @throws {RequiredError}
3005
- * @memberof VersionsApi
4075
+ * @memberof VersionsApiInterface
4076
+ */
4077
+ createVersionRaw(requestParameters: CreateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateVersion200Response>>;
4078
+ /**
4079
+ * 为组件创建一个新版本(草稿状态)
4080
+ * 创建新版本
3006
4081
  */
3007
- createVersion(requestParameters: VersionsApiCreateVersionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateVersion201Response, any, {}>>;
4082
+ createVersion(requestParameters: CreateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateVersion200Response>;
3008
4083
  /**
3009
4084
  * 删除草稿版本(已发布版本不可删除)
3010
4085
  * @summary 删除版本
3011
- * @param {VersionsApiDeleteVersionRequest} requestParameters Request parameters.
4086
+ * @param {string} componentId 组件 ID
4087
+ * @param {string} version 版本号
4088
+ * @param {DeleteVersionRequest} [deleteVersionRequest]
3012
4089
  * @param {*} [options] Override http request option.
3013
4090
  * @throws {RequiredError}
3014
- * @memberof VersionsApi
4091
+ * @memberof VersionsApiInterface
4092
+ */
4093
+ deleteVersionRaw(requestParameters: DeleteVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DeleteComponent200Response>>;
4094
+ /**
4095
+ * 删除草稿版本(已发布版本不可删除)
4096
+ * 删除版本
3015
4097
  */
3016
- deleteVersion(requestParameters: VersionsApiDeleteVersionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
4098
+ deleteVersion(requestParameters: DeleteVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DeleteComponent200Response>;
3017
4099
  /**
3018
4100
  * 将已发布版本标记为废弃
3019
4101
  * @summary 废弃版本
3020
- * @param {VersionsApiDeprecateVersionRequest} requestParameters Request parameters.
4102
+ * @param {string} componentId 组件 ID
4103
+ * @param {string} version 版本号
4104
+ * @param {DeprecateVersionRequest} [deprecateVersionRequest]
3021
4105
  * @param {*} [options] Override http request option.
3022
4106
  * @throws {RequiredError}
3023
- * @memberof VersionsApi
4107
+ * @memberof VersionsApiInterface
3024
4108
  */
3025
- deprecateVersion(requestParameters: VersionsApiDeprecateVersionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateVersion201Response, any, {}>>;
4109
+ deprecateVersionRaw(requestParameters: DeprecateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateVersion200Response>>;
4110
+ /**
4111
+ * 将已发布版本标记为废弃
4112
+ * 废弃版本
4113
+ */
4114
+ deprecateVersion(requestParameters: DeprecateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateVersion200Response>;
3026
4115
  /**
3027
4116
  * 获取指定版本的完整信息
3028
4117
  * @summary 获取版本详情
3029
- * @param {VersionsApiGetVersionRequest} requestParameters Request parameters.
4118
+ * @param {string} componentId 组件 ID
4119
+ * @param {string} version 版本号(如 1.0.0)或 latest
3030
4120
  * @param {*} [options] Override http request option.
3031
4121
  * @throws {RequiredError}
3032
- * @memberof VersionsApi
4122
+ * @memberof VersionsApiInterface
3033
4123
  */
3034
- getVersion(requestParameters: VersionsApiGetVersionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetVersion200Response, any, {}>>;
4124
+ getVersionRaw(requestParameters: GetVersionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GetVersion200Response>>;
4125
+ /**
4126
+ * 获取指定版本的完整信息
4127
+ * 获取版本详情
4128
+ */
4129
+ getVersion(requestParameters: GetVersionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GetVersion200Response>;
3035
4130
  /**
3036
4131
  * 获取指定组件的所有版本
3037
4132
  * @summary 获取版本列表
3038
- * @param {VersionsApiListVersionsRequest} requestParameters Request parameters.
4133
+ * @param {string} componentId 组件 ID
4134
+ * @param {number} [page] 页码
4135
+ * @param {number} [limit] 每页数量
4136
+ * @param {'draft' | 'canary' | 'stable' | 'deprecated' | 'blocked'} [status] 按状态筛选
3039
4137
  * @param {*} [options] Override http request option.
3040
4138
  * @throws {RequiredError}
3041
- * @memberof VersionsApi
4139
+ * @memberof VersionsApiInterface
3042
4140
  */
3043
- listVersions(requestParameters: VersionsApiListVersionsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListVersions200Response, any, {}>>;
4141
+ listVersionsRaw(requestParameters: ListVersionsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200Response>>;
4142
+ /**
4143
+ * 获取指定组件的所有版本
4144
+ * 获取版本列表
4145
+ */
4146
+ listVersions(requestParameters: ListVersionsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200Response>;
3044
4147
  /**
3045
4148
  * 将草稿版本发布为正式版本
3046
4149
  * @summary 发布版本
3047
- * @param {VersionsApiPublishVersionRequest} requestParameters Request parameters.
4150
+ * @param {string} componentId 组件 ID
4151
+ * @param {string} version 版本号
4152
+ * @param {PublishVersionRequest} [publishVersionRequest]
3048
4153
  * @param {*} [options] Override http request option.
3049
4154
  * @throws {RequiredError}
3050
- * @memberof VersionsApi
4155
+ * @memberof VersionsApiInterface
4156
+ */
4157
+ publishVersionRaw(requestParameters: PublishVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateVersion200Response>>;
4158
+ /**
4159
+ * 将草稿版本发布为正式版本
4160
+ * 发布版本
3051
4161
  */
3052
- publishVersion(requestParameters: VersionsApiPublishVersionRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateVersion201Response, any, {}>>;
4162
+ publishVersion(requestParameters: PublishVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateVersion200Response>;
4163
+ }
4164
+ /**
4165
+ *
4166
+ */
4167
+ declare class VersionsApi extends BaseAPI implements VersionsApiInterface {
4168
+ /**
4169
+ * 为组件创建一个新版本(草稿状态)
4170
+ * 创建新版本
4171
+ */
4172
+ createVersionRaw(requestParameters: CreateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateVersion200Response>>;
4173
+ /**
4174
+ * 为组件创建一个新版本(草稿状态)
4175
+ * 创建新版本
4176
+ */
4177
+ createVersion(requestParameters: CreateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateVersion200Response>;
4178
+ /**
4179
+ * 删除草稿版本(已发布版本不可删除)
4180
+ * 删除版本
4181
+ */
4182
+ deleteVersionRaw(requestParameters: DeleteVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<DeleteComponent200Response>>;
4183
+ /**
4184
+ * 删除草稿版本(已发布版本不可删除)
4185
+ * 删除版本
4186
+ */
4187
+ deleteVersion(requestParameters: DeleteVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<DeleteComponent200Response>;
4188
+ /**
4189
+ * 将已发布版本标记为废弃
4190
+ * 废弃版本
4191
+ */
4192
+ deprecateVersionRaw(requestParameters: DeprecateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateVersion200Response>>;
4193
+ /**
4194
+ * 将已发布版本标记为废弃
4195
+ * 废弃版本
4196
+ */
4197
+ deprecateVersion(requestParameters: DeprecateVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateVersion200Response>;
4198
+ /**
4199
+ * 获取指定版本的完整信息
4200
+ * 获取版本详情
4201
+ */
4202
+ getVersionRaw(requestParameters: GetVersionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<GetVersion200Response>>;
4203
+ /**
4204
+ * 获取指定版本的完整信息
4205
+ * 获取版本详情
4206
+ */
4207
+ getVersion(requestParameters: GetVersionRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<GetVersion200Response>;
4208
+ /**
4209
+ * 获取指定组件的所有版本
4210
+ * 获取版本列表
4211
+ */
4212
+ listVersionsRaw(requestParameters: ListVersionsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<ListVersions200Response>>;
4213
+ /**
4214
+ * 获取指定组件的所有版本
4215
+ * 获取版本列表
4216
+ */
4217
+ listVersions(requestParameters: ListVersionsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ListVersions200Response>;
4218
+ /**
4219
+ * 将草稿版本发布为正式版本
4220
+ * 发布版本
4221
+ */
4222
+ publishVersionRaw(requestParameters: PublishVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<CreateVersion200Response>>;
4223
+ /**
4224
+ * 将草稿版本发布为正式版本
4225
+ * 发布版本
4226
+ */
4227
+ publishVersion(requestParameters: PublishVersionOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CreateVersion200Response>;
3053
4228
  }
3054
4229
  /**
3055
4230
  * @export
3056
4231
  */
3057
4232
  declare const ListVersionsStatusEnum: {
3058
4233
  readonly DRAFT: "draft";
3059
- readonly PUBLISHED: "published";
4234
+ readonly CANARY: "canary";
4235
+ readonly STABLE: "stable";
3060
4236
  readonly DEPRECATED: "deprecated";
4237
+ readonly BLOCKED: "blocked";
3061
4238
  };
3062
4239
  type ListVersionsStatusEnum = typeof ListVersionsStatusEnum[keyof typeof ListVersionsStatusEnum];
3063
4240
 
4241
+ /**
4242
+ * DJVLC Registry API 客户端
4243
+ *
4244
+ * 组件注册中心客户端,用于组件的注册、发布、版本管理等功能
4245
+ *
4246
+ * 基于 openapi-generator (typescript-fetch) 生成的代码封装
4247
+ *
4248
+ * @example
4249
+ * ```typescript
4250
+ * import { createRegistryClient } from '@djvlc/openapi-registry-client';
4251
+ *
4252
+ * const client = createRegistryClient({
4253
+ * baseUrl: 'https://registry.example.com',
4254
+ * auth: { type: 'bearer', getToken: () => localStorage.getItem('token') },
4255
+ * });
4256
+ *
4257
+ * // 获取组件列表
4258
+ * const components = await client.components.listComponents();
4259
+ * ```
4260
+ */
4261
+
3064
4262
  /**
3065
4263
  * Registry API 客户端配置
3066
4264
  */
@@ -3073,85 +4271,57 @@ interface RegistryClientConfig {
3073
4271
  auth?: AuthConfig;
3074
4272
  /** 重试配置 */
3075
4273
  retry?: RetryConfig;
4274
+ /** 是否启用自动重试,默认 true */
4275
+ enableRetry?: boolean;
3076
4276
  /** 额外的请求头 */
3077
4277
  headers?: Record<string, string>;
4278
+ /** 日志器 */
4279
+ logger?: Logger;
4280
+ /** 是否开启调试模式 */
4281
+ debug?: boolean;
4282
+ /** 自定义 pre 中间件 */
4283
+ preMiddlewares?: Array<(context: RequestContext) => Promise<FetchParams | void>>;
4284
+ /** 自定义 post 中间件 */
4285
+ postMiddlewares?: Array<(context: ResponseContext) => Promise<Response | void>>;
4286
+ /** 自定义 onError 中间件 */
4287
+ errorMiddlewares?: Array<(context: ErrorContext) => Promise<Response | void>>;
4288
+ /** 额外的 Middleware */
4289
+ middlewares?: Middleware[];
3078
4290
  }
3079
4291
  /**
3080
4292
  * Registry API 客户端
3081
4293
  *
3082
- * 封装了所有组件注册中心 API 的统一入口
4294
+ * 封装了所有组件注册中心相关的 API
3083
4295
  */
3084
4296
  declare class RegistryClient {
3085
4297
  /** 组件管理 API */
3086
4298
  readonly components: ComponentsApi;
3087
- /** 上传 API */
3088
- readonly upload: UploadApi;
3089
4299
  /** 版本管理 API */
3090
4300
  readonly versions: VersionsApi;
3091
- /** Axios 实例(用于高级用法) */
3092
- readonly axiosInstance: AxiosInstance;
4301
+ /** 批量操作 API */
4302
+ readonly batch: BatchApi;
4303
+ /** 状态查询 API */
4304
+ readonly status: StatusApi;
4305
+ /** 上传 API */
4306
+ readonly upload: UploadApi;
4307
+ /** Configuration 实例(用于高级用法) */
4308
+ readonly configuration: Configuration;
3093
4309
  constructor(config?: RegistryClientConfig);
3094
- /**
3095
- * 快速注册组件
3096
- *
3097
- * @param name - 组件名称
3098
- * @param displayName - 组件显示名称
3099
- * @param category - 组件分类
3100
- * @param description - 组件描述(可选)
3101
- */
3102
- registerComponent(name: string, displayName: string, category: string, description?: string): Promise<axios.AxiosResponse<CreateComponent201Response, any, {}>>;
3103
- /**
3104
- * 发布组件版本
3105
- *
3106
- * 使用生成的 API 签名,version 在 URL path 中
3107
- *
3108
- * @param componentId - 组件 ID
3109
- * @param version - 版本号 (如 1.0.0)
3110
- * @param changelog - 变更日志(可选)
3111
- */
3112
- publishVersion(componentId: string, version: string, changelog?: string): Promise<axios.AxiosResponse<CreateVersion201Response, any, {}>>;
3113
- /**
3114
- * 废弃组件版本
3115
- *
3116
- * @param componentId - 组件 ID
3117
- * @param version - 版本号 (如 1.0.0)
3118
- * @param message - 废弃说明(可选)
3119
- */
3120
- deprecateVersion(componentId: string, version: string, message?: string): Promise<axios.AxiosResponse<CreateVersion201Response, any, {}>>;
3121
- /**
3122
- * 获取组件信息(包含最新版本)
3123
- *
3124
- * @param componentId - 组件 ID
3125
- */
3126
- getComponentWithLatestVersion(componentId: string): Promise<{
3127
- component: CreateComponent201Response;
3128
- latestVersion: ListVersions200ResponseDataInner;
3129
- }>;
3130
4310
  }
3131
4311
  /**
3132
4312
  * 创建 Registry API 客户端
3133
4313
  *
3134
4314
  * @param config - 客户端配置
3135
4315
  * @returns Registry API 客户端实例
3136
- *
3137
- * @example
3138
- * ```typescript
3139
- * const client = createRegistryClient({
3140
- * baseUrl: 'https://api.example.com/registry',
3141
- * auth: { type: 'bearer', getToken: () => localStorage.getItem('token') },
3142
- * });
3143
- * ```
3144
4316
  */
3145
4317
  declare function createRegistryClient(config?: RegistryClientConfig): RegistryClient;
3146
4318
  /**
3147
- * 创建独立的 axios 实例
3148
- *
3149
- * 用于需要直接使用 axios 实例的场景
4319
+ * 创建 Registry API Configuration
3150
4320
  *
3151
4321
  * @param config - 客户端配置
3152
- * @returns 配置好的 axios 实例
4322
+ * @returns Configuration 实例
3153
4323
  */
3154
- declare function createRegistryAxiosInstance(config?: RegistryClientConfig): AxiosInstance;
4324
+ declare function createRegistryConfiguration(config?: RegistryClientConfig): Configuration;
3155
4325
 
3156
4326
  /**
3157
4327
  * @djvlc/openapi-registry-client
@@ -3166,4 +4336,4 @@ declare function createRegistryAxiosInstance(config?: RegistryClientConfig): Axi
3166
4336
  /** 客户端版本 */
3167
4337
  declare const VERSION = "2.0.0";
3168
4338
 
3169
- export { type BatchCheckCompatibility200Response, type BatchCheckCompatibility200ResponseResultsInner, type BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner, type BatchCheckCompatibilityRequest, type BatchCheckCompatibilityRequestComponentsInner, type BatchQueryComponents200Response, type BatchQueryComponents200ResponseDataInner, type BatchQueryComponents200ResponseMeta, type BatchQueryComponentsRequest, type BatchQueryComponentsRequestComponentsInner, BatchQueryComponentsRequestFieldsEnum, type BlockComponentVersionRequest, type CompleteUpload200Response, type CompleteUpload200ResponseData, type CompleteUploadRequest, type CompleteUploadRequestFilesInner, type CompleteUploadResponse, type ComponentInfo, type ComponentListResponse, type ComponentResponse, ComponentsApi, Configuration, type ConfigurationParameters, type CreateComponent201Response, type CreateComponentRequest, type CreateVersion201Response, type CreateVersionRequest, type DeprecateVersionRequest, type ErrorResponse, type FileInfo, type GetVersion200Response, type GetVersion200ResponseData, type GetVersion200ResponseDataAllOfFilesInner, GetVersion200ResponseDataStatusEnum, type ListBlockedComponents200Response, type ListBlockedComponents200ResponseDataInner, type ListComponents200Response, type ListComponents200ResponseDataInner, type ListComponents200ResponseMeta, type ListComponents401Response, type ListComponents401ResponseDetailsInner, type ListVersions200Response, type ListVersions200ResponseDataInner, type ListVersions200ResponseDataInnerIntegrity, ListVersions200ResponseDataInnerIntegrityAlgorithmEnum, ListVersions200ResponseDataInnerStatusEnum, type PaginationMeta, type PrepareUpload200Response, type PrepareUpload200ResponseData, type PrepareUpload200ResponseDataFilesInner, type PrepareUploadRequest, type PrepareUploadRequestFilesInner, type PrepareUploadResponse, type PublishVersionRequest, RegistryClient, type RegistryClientConfig, type ResolveManifest200Response, type ResolveManifest200ResponseBlockedComponentsInner, type ResolveManifest200ResponseComponentsInner, ResolveManifest200ResponseComponentsInnerPriorityEnum, type ResolveManifestRequest, type TransitionComponentStatusRequest, TransitionComponentStatusRequestTargetStatusEnum, type UnblockComponentVersionRequest, UnblockComponentVersionRequestTargetStatusEnum, type UpdateComponentRequest, UploadApi, VERSION, type VersionDetailResponse, type VersionInfo, VersionInfoStatusEnum, type VersionIntegrity, VersionIntegrityAlgorithmEnum, type VersionListResponse, type VersionResponse, VersionsApi, createRegistryAxiosInstance, createRegistryClient };
4339
+ export { BaseAPI, BatchApi, type BatchCheckCompatibility200Response, BatchCheckCompatibility200ResponseFromJSON, BatchCheckCompatibility200ResponseFromJSONTyped, type BatchCheckCompatibility200ResponseResultsInner, type BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner, BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInnerFromJSON, BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInnerFromJSONTyped, BatchCheckCompatibility200ResponseResultsInnerBreakingChangesInnerToJSON, BatchCheckCompatibility200ResponseResultsInnerFromJSON, BatchCheckCompatibility200ResponseResultsInnerFromJSONTyped, BatchCheckCompatibility200ResponseResultsInnerToJSON, BatchCheckCompatibility200ResponseToJSON, type BatchCheckCompatibilityRequest, type BatchCheckCompatibilityRequestComponentsInner, BatchCheckCompatibilityRequestComponentsInnerFromJSON, BatchCheckCompatibilityRequestComponentsInnerFromJSONTyped, BatchCheckCompatibilityRequestComponentsInnerToJSON, BatchCheckCompatibilityRequestFromJSON, BatchCheckCompatibilityRequestFromJSONTyped, BatchCheckCompatibilityRequestToJSON, type BatchQueryComponents200Response, type BatchQueryComponents200ResponseDataInner, BatchQueryComponents200ResponseDataInnerFromJSON, BatchQueryComponents200ResponseDataInnerFromJSONTyped, BatchQueryComponents200ResponseDataInnerToJSON, BatchQueryComponents200ResponseFromJSON, BatchQueryComponents200ResponseFromJSONTyped, type BatchQueryComponents200ResponseMeta, BatchQueryComponents200ResponseMetaFromJSON, BatchQueryComponents200ResponseMetaFromJSONTyped, BatchQueryComponents200ResponseMetaToJSON, BatchQueryComponents200ResponseToJSON, type BatchQueryComponentsRequest, type BatchQueryComponentsRequestComponentsInner, BatchQueryComponentsRequestComponentsInnerFromJSON, BatchQueryComponentsRequestComponentsInnerFromJSONTyped, BatchQueryComponentsRequestComponentsInnerToJSON, BatchQueryComponentsRequestFieldsEnum, BatchQueryComponentsRequestFromJSON, BatchQueryComponentsRequestFromJSONTyped, BatchQueryComponentsRequestToJSON, type BlockComponentVersionRequest, BlockComponentVersionRequestFromJSON, BlockComponentVersionRequestFromJSONTyped, BlockComponentVersionRequestToJSON, type CompleteUpload200Response, type CompleteUpload200ResponseData, CompleteUpload200ResponseDataFromJSON, CompleteUpload200ResponseDataFromJSONTyped, CompleteUpload200ResponseDataToJSON, CompleteUpload200ResponseFromJSON, CompleteUpload200ResponseFromJSONTyped, CompleteUpload200ResponseToJSON, type CompleteUploadRequest, type CompleteUploadRequestFilesInner, CompleteUploadRequestFilesInnerFromJSON, CompleteUploadRequestFilesInnerFromJSONTyped, CompleteUploadRequestFilesInnerToJSON, CompleteUploadRequestFromJSON, CompleteUploadRequestFromJSONTyped, CompleteUploadRequestToJSON, type CompleteUploadResponse, CompleteUploadResponseFromJSON, CompleteUploadResponseFromJSONTyped, CompleteUploadResponseToJSON, type ComponentInfo, ComponentInfoFromJSON, ComponentInfoFromJSONTyped, ComponentInfoToJSON, type ComponentListResponse, ComponentListResponseFromJSON, ComponentListResponseFromJSONTyped, ComponentListResponseToJSON, type ComponentResponse, ComponentResponseFromJSON, ComponentResponseFromJSONTyped, ComponentResponseToJSON, ComponentsApi, Configuration, type ConfigurationParameters, type CreateComponent200Response, CreateComponent200ResponseFromJSON, CreateComponent200ResponseFromJSONTyped, CreateComponent200ResponseToJSON, type CreateComponentRequest, CreateComponentRequestFromJSON, CreateComponentRequestFromJSONTyped, CreateComponentRequestToJSON, type CreateVersion200Response, CreateVersion200ResponseFromJSON, CreateVersion200ResponseFromJSONTyped, CreateVersion200ResponseToJSON, type CreateVersionRequest, CreateVersionRequestFromJSON, CreateVersionRequestFromJSONTyped, CreateVersionRequestToJSON, type DeleteComponent200Response, DeleteComponent200ResponseFromJSON, DeleteComponent200ResponseFromJSONTyped, DeleteComponent200ResponseToJSON, type DeleteComponentRequest, DeleteComponentRequestFromJSON, DeleteComponentRequestFromJSONTyped, DeleteComponentRequestToJSON, type DeleteVersionRequest, DeleteVersionRequestFromJSON, DeleteVersionRequestFromJSONTyped, DeleteVersionRequestToJSON, type DeprecateVersionRequest, DeprecateVersionRequestFromJSON, DeprecateVersionRequestFromJSONTyped, DeprecateVersionRequestToJSON, type ErrorResponse, ErrorResponseFromJSON, ErrorResponseFromJSONTyped, ErrorResponseToJSON, type FetchAPI, FetchError, type FileInfo, FileInfoFromJSON, FileInfoFromJSONTyped, FileInfoToJSON, type GetVersion200Response, type GetVersion200ResponseData, type GetVersion200ResponseDataAllOfFilesInner, GetVersion200ResponseDataAllOfFilesInnerFromJSON, GetVersion200ResponseDataAllOfFilesInnerFromJSONTyped, GetVersion200ResponseDataAllOfFilesInnerToJSON, GetVersion200ResponseDataFromJSON, GetVersion200ResponseDataFromJSONTyped, GetVersion200ResponseDataStatusEnum, GetVersion200ResponseDataToJSON, GetVersion200ResponseFromJSON, GetVersion200ResponseFromJSONTyped, GetVersion200ResponseToJSON, type HealthCheck200Response, type HealthCheck200ResponseDependenciesValue, HealthCheck200ResponseDependenciesValueFromJSON, HealthCheck200ResponseDependenciesValueFromJSONTyped, HealthCheck200ResponseDependenciesValueStatusEnum, HealthCheck200ResponseDependenciesValueToJSON, HealthCheck200ResponseFromJSON, HealthCheck200ResponseFromJSONTyped, HealthCheck200ResponseStatusEnum, HealthCheck200ResponseToJSON, type HealthResponse, HealthResponseFromJSON, HealthResponseFromJSONTyped, HealthResponseStatusEnum, HealthResponseToJSON, type ListBlockedComponents200Response, type ListBlockedComponents200ResponseDataInner, ListBlockedComponents200ResponseDataInnerFromJSON, ListBlockedComponents200ResponseDataInnerFromJSONTyped, ListBlockedComponents200ResponseDataInnerToJSON, ListBlockedComponents200ResponseFromJSON, ListBlockedComponents200ResponseFromJSONTyped, ListBlockedComponents200ResponseToJSON, type ListComponents200Response, type ListComponents200ResponseDataInner, ListComponents200ResponseDataInnerFromJSON, ListComponents200ResponseDataInnerFromJSONTyped, ListComponents200ResponseDataInnerToJSON, ListComponents200ResponseFromJSON, ListComponents200ResponseFromJSONTyped, type ListComponents200ResponseMeta, ListComponents200ResponseMetaFromJSON, ListComponents200ResponseMetaFromJSONTyped, ListComponents200ResponseMetaToJSON, ListComponents200ResponseToJSON, type ListComponents401Response, type ListComponents401ResponseDetailsInner, ListComponents401ResponseDetailsInnerFromJSON, ListComponents401ResponseDetailsInnerFromJSONTyped, ListComponents401ResponseDetailsInnerToJSON, ListComponents401ResponseFromJSON, ListComponents401ResponseFromJSONTyped, ListComponents401ResponseToJSON, type ListVersions200Response, type ListVersions200ResponseDataInner, ListVersions200ResponseDataInnerFromJSON, ListVersions200ResponseDataInnerFromJSONTyped, type ListVersions200ResponseDataInnerIntegrity, ListVersions200ResponseDataInnerIntegrityAlgorithmEnum, ListVersions200ResponseDataInnerIntegrityFromJSON, ListVersions200ResponseDataInnerIntegrityFromJSONTyped, ListVersions200ResponseDataInnerIntegrityToJSON, ListVersions200ResponseDataInnerStatusEnum, ListVersions200ResponseDataInnerToJSON, ListVersions200ResponseFromJSON, ListVersions200ResponseFromJSONTyped, ListVersions200ResponseToJSON, type LivenessCheck200Response, LivenessCheck200ResponseFromJSON, LivenessCheck200ResponseFromJSONTyped, LivenessCheck200ResponseToJSON, type Middleware, type PaginationMeta, PaginationMetaFromJSON, PaginationMetaFromJSONTyped, PaginationMetaToJSON, type PrepareUpload200Response, type PrepareUpload200ResponseData, type PrepareUpload200ResponseDataFilesInner, PrepareUpload200ResponseDataFilesInnerFromJSON, PrepareUpload200ResponseDataFilesInnerFromJSONTyped, PrepareUpload200ResponseDataFilesInnerToJSON, PrepareUpload200ResponseDataFromJSON, PrepareUpload200ResponseDataFromJSONTyped, PrepareUpload200ResponseDataToJSON, PrepareUpload200ResponseFromJSON, PrepareUpload200ResponseFromJSONTyped, PrepareUpload200ResponseToJSON, type PrepareUploadRequest, type PrepareUploadRequestFilesInner, PrepareUploadRequestFilesInnerFromJSON, PrepareUploadRequestFilesInnerFromJSONTyped, PrepareUploadRequestFilesInnerToJSON, PrepareUploadRequestFromJSON, PrepareUploadRequestFromJSONTyped, PrepareUploadRequestToJSON, type PrepareUploadResponse, PrepareUploadResponseFromJSON, PrepareUploadResponseFromJSONTyped, PrepareUploadResponseToJSON, type PublishVersionRequest, PublishVersionRequestFromJSON, PublishVersionRequestFromJSONTyped, PublishVersionRequestToJSON, type ReadinessCheck200Response, ReadinessCheck200ResponseFromJSON, ReadinessCheck200ResponseFromJSONTyped, ReadinessCheck200ResponseToJSON, type ReadinessCheck503Response, ReadinessCheck503ResponseFromJSON, ReadinessCheck503ResponseFromJSONTyped, ReadinessCheck503ResponseToJSON, RegistryClient, type RegistryClientConfig, RequiredError, type ResolveManifest200Response, type ResolveManifest200ResponseBlockedComponentsInner, ResolveManifest200ResponseBlockedComponentsInnerFromJSON, ResolveManifest200ResponseBlockedComponentsInnerFromJSONTyped, ResolveManifest200ResponseBlockedComponentsInnerToJSON, type ResolveManifest200ResponseComponentsInner, ResolveManifest200ResponseComponentsInnerFromJSON, ResolveManifest200ResponseComponentsInnerFromJSONTyped, ResolveManifest200ResponseComponentsInnerPriorityEnum, ResolveManifest200ResponseComponentsInnerToJSON, ResolveManifest200ResponseFromJSON, ResolveManifest200ResponseFromJSONTyped, ResolveManifest200ResponseToJSON, type ResolveManifestRequest, ResolveManifestRequestFromJSON, ResolveManifestRequestFromJSONTyped, ResolveManifestRequestToJSON, ResponseError, StatusApi, type TransitionComponentStatusRequest, TransitionComponentStatusRequestFromJSON, TransitionComponentStatusRequestFromJSONTyped, TransitionComponentStatusRequestTargetStatusEnum, TransitionComponentStatusRequestToJSON, type UnblockComponentVersionRequest, UnblockComponentVersionRequestFromJSON, UnblockComponentVersionRequestFromJSONTyped, UnblockComponentVersionRequestTargetStatusEnum, UnblockComponentVersionRequestToJSON, type UpdateComponentRequest, UpdateComponentRequestFromJSON, UpdateComponentRequestFromJSONTyped, UpdateComponentRequestToJSON, UploadApi, VERSION, type VersionDetailResponse, VersionDetailResponseFromJSON, VersionDetailResponseFromJSONTyped, VersionDetailResponseToJSON, type VersionInfo, VersionInfoFromJSON, VersionInfoFromJSONTyped, VersionInfoStatusEnum, VersionInfoToJSON, type VersionIntegrity, VersionIntegrityAlgorithmEnum, VersionIntegrityFromJSON, VersionIntegrityFromJSONTyped, VersionIntegrityToJSON, type VersionListResponse, VersionListResponseFromJSON, VersionListResponseFromJSONTyped, VersionListResponseToJSON, type VersionResponse, VersionResponseFromJSON, VersionResponseFromJSONTyped, VersionResponseToJSON, VersionsApi, createRegistryClient, createRegistryConfiguration, instanceOfBatchCheckCompatibility200Response, instanceOfBatchCheckCompatibility200ResponseResultsInner, instanceOfBatchCheckCompatibility200ResponseResultsInnerBreakingChangesInner, instanceOfBatchCheckCompatibilityRequest, instanceOfBatchCheckCompatibilityRequestComponentsInner, instanceOfBatchQueryComponents200Response, instanceOfBatchQueryComponents200ResponseDataInner, instanceOfBatchQueryComponents200ResponseMeta, instanceOfBatchQueryComponentsRequest, instanceOfBatchQueryComponentsRequestComponentsInner, instanceOfBlockComponentVersionRequest, instanceOfCompleteUpload200Response, instanceOfCompleteUpload200ResponseData, instanceOfCompleteUploadRequest, instanceOfCompleteUploadRequestFilesInner, instanceOfCompleteUploadResponse, instanceOfComponentInfo, instanceOfComponentListResponse, instanceOfComponentResponse, instanceOfCreateComponent200Response, instanceOfCreateComponentRequest, instanceOfCreateVersion200Response, instanceOfCreateVersionRequest, instanceOfDeleteComponent200Response, instanceOfDeleteComponentRequest, instanceOfDeleteVersionRequest, instanceOfDeprecateVersionRequest, instanceOfErrorResponse, instanceOfFileInfo, instanceOfGetVersion200Response, instanceOfGetVersion200ResponseData, instanceOfGetVersion200ResponseDataAllOfFilesInner, instanceOfHealthCheck200Response, instanceOfHealthCheck200ResponseDependenciesValue, instanceOfHealthResponse, instanceOfListBlockedComponents200Response, instanceOfListBlockedComponents200ResponseDataInner, instanceOfListComponents200Response, instanceOfListComponents200ResponseDataInner, instanceOfListComponents200ResponseMeta, instanceOfListComponents401Response, instanceOfListComponents401ResponseDetailsInner, instanceOfListVersions200Response, instanceOfListVersions200ResponseDataInner, instanceOfListVersions200ResponseDataInnerIntegrity, instanceOfLivenessCheck200Response, instanceOfPaginationMeta, instanceOfPrepareUpload200Response, instanceOfPrepareUpload200ResponseData, instanceOfPrepareUpload200ResponseDataFilesInner, instanceOfPrepareUploadRequest, instanceOfPrepareUploadRequestFilesInner, instanceOfPrepareUploadResponse, instanceOfPublishVersionRequest, instanceOfReadinessCheck200Response, instanceOfReadinessCheck503Response, instanceOfResolveManifest200Response, instanceOfResolveManifest200ResponseBlockedComponentsInner, instanceOfResolveManifest200ResponseComponentsInner, instanceOfResolveManifestRequest, instanceOfTransitionComponentStatusRequest, instanceOfUnblockComponentVersionRequest, instanceOfUpdateComponentRequest, instanceOfVersionDetailResponse, instanceOfVersionInfo, instanceOfVersionIntegrity, instanceOfVersionListResponse, instanceOfVersionResponse };