@meshery/schemas 0.0.2-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4248 @@
1
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
+ import * as _reduxjs_toolkit_dist_query_react from '@reduxjs/toolkit/dist/query/react';
3
+ import * as _reduxjs_toolkit_query from '@reduxjs/toolkit/query';
4
+
5
+ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, {
6
+ importDesign: _reduxjs_toolkit_query.MutationDefinition<ImportDesignApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, ImportDesignApiResponse, "mesheryRtkSchemasApi", unknown>;
7
+ registerMeshmodels: _reduxjs_toolkit_query.MutationDefinition<RegisterMeshmodelsApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, RegisterMeshmodelsApiResponse, "mesheryRtkSchemasApi", unknown>;
8
+ getApiWorkspaces: _reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, GetApiWorkspacesApiResponse, "mesheryRtkSchemasApi", unknown>;
9
+ postApiWorkspaces: _reduxjs_toolkit_query.MutationDefinition<PostApiWorkspacesApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, PostApiWorkspacesApiResponse, "mesheryRtkSchemasApi", unknown>;
10
+ getApiWorkspacesById: _reduxjs_toolkit_query.QueryDefinition<GetApiWorkspacesByIdApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, GetApiWorkspacesByIdApiResponse, "mesheryRtkSchemasApi", unknown>;
11
+ putApiWorkspacesById: _reduxjs_toolkit_query.MutationDefinition<PutApiWorkspacesByIdApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, PutApiWorkspacesByIdApiResponse, "mesheryRtkSchemasApi", unknown>;
12
+ deleteApiWorkspacesById: _reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, unknown, "mesheryRtkSchemasApi", unknown>;
13
+ createEnvironment: _reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, CreateEnvironmentApiResponse, "mesheryRtkSchemasApi", unknown>;
14
+ getEnvironments: _reduxjs_toolkit_query.QueryDefinition<GetEnvironmentsApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, GetEnvironmentsApiResponse, "mesheryRtkSchemasApi", unknown>;
15
+ postEvaluate: _reduxjs_toolkit_query.MutationDefinition<PostEvaluateApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, PostEvaluateApiResponse, "mesheryRtkSchemasApi", unknown>;
16
+ }, "mesheryRtkSchemasApi", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
17
+
18
+ type ImportDesignApiResponse = {
19
+ message?: string;
20
+ };
21
+ type ImportDesignApiArg = {
22
+ body: {
23
+ /** Supported formats: Kubernetes Manifests, Helm Charts, Docker Compose, and Meshery Designs. See [Import Designs Documentation](https://docs.meshery.io/guides/configuration-management/importing-designs#import-designs-using-meshery-ui) for details */
24
+ file?: string;
25
+ /** The name of the pattern file being imported. */
26
+ file_name?: string;
27
+ /** Provide a name for your design file. This name will help you identify the file more easily. You can also change the name of your design after importing it. */
28
+ name?: string;
29
+ /** Provide the URL of the file you want to import. This should be a direct URL to a single file, for example: https://raw.github.com/your-design-file.yaml. Also, ensure that design is in a supported format: Kubernetes Manifest, Helm Chart, Docker Compose, or Meshery Design. See [Import Designs Documentation](https://docs.meshery.io/guides/configuration-management/importing-designs#import-designs-using-meshery-ui) for details */
30
+ url?: string;
31
+ };
32
+ };
33
+ type RegisterMeshmodelsApiResponse = {
34
+ message?: string;
35
+ };
36
+ type RegisterMeshmodelsApiArg = {
37
+ body: {
38
+ importBody: {
39
+ /** Name of the file being uploaded. */
40
+ fileName: string;
41
+ /** Supported model file formats are: .tar, .tar.gz, and .tgz. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details */
42
+ modelFile: string;
43
+ } | {
44
+ /** A direct URL to a single model file, for example: https://raw.github.com/your-model-file.tar. Supported model file formats are: .tar, .tar.gz, and .tgz. \n\nFor bulk import of your model use the GitHub connection or CSV files. See [Import Models Documentation](https://docs.meshery.io/guides/configuration-management/importing-models#import-models-using-meshery-ui) for details */
45
+ url: string;
46
+ } | {
47
+ /** Upload a CSV file containing model definitions */
48
+ modelCsv: Blob;
49
+ /** Upload a CSV file containing component definitions */
50
+ componentCsv: Blob;
51
+ /** Upload a CSV file containing relationship definitions */
52
+ relationshipCsv: Blob;
53
+ } | {
54
+ /** URI to the source code or package of the model. */
55
+ url: string | string;
56
+ };
57
+ /** Choose the method you prefer to upload your model file. Select 'File Import' or 'CSV Import' if you have the file on your local system or 'URL Import' if you have the file hosted online. */
58
+ uploadType: "file" | "urlImport" | "csv" | "url";
59
+ register: boolean;
60
+ };
61
+ };
62
+ type GetApiWorkspacesApiResponse = {
63
+ page?: number;
64
+ page_size?: number;
65
+ total_count?: number;
66
+ workspaces?: {
67
+ ID?: string;
68
+ name?: string;
69
+ description?: string;
70
+ organization_id?: string;
71
+ owner?: string;
72
+ created_at?: string;
73
+ updated_at?: string;
74
+ /** SQL null Timestamp to handle null values of time. */
75
+ deleted_at?: string;
76
+ }[];
77
+ };
78
+ type GetApiWorkspacesApiArg = void;
79
+ type PostApiWorkspacesApiResponse = {
80
+ ID?: string;
81
+ name?: string;
82
+ description?: string;
83
+ organization_id?: string;
84
+ owner?: string;
85
+ created_at?: string;
86
+ updated_at?: string;
87
+ /** SQL null Timestamp to handle null values of time. */
88
+ deleted_at?: string;
89
+ };
90
+ type PostApiWorkspacesApiArg = {
91
+ /** Body for creating workspace */
92
+ body: {
93
+ /** Provide a name that meaningfully represents this workspace. You can change the name of the workspace even after its creation. */
94
+ name: string;
95
+ /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
96
+ description?: string;
97
+ /** Select an organization in which you want to create this new workspace. Keep in mind that the organization cannot be changed after creation. */
98
+ organization_id: string;
99
+ };
100
+ };
101
+ type GetApiWorkspacesByIdApiResponse = {
102
+ ID?: string;
103
+ name?: string;
104
+ description?: string;
105
+ organization_id?: string;
106
+ owner?: string;
107
+ created_at?: string;
108
+ updated_at?: string;
109
+ /** SQL null Timestamp to handle null values of time. */
110
+ deleted_at?: string;
111
+ };
112
+ type GetApiWorkspacesByIdApiArg = {
113
+ id: string;
114
+ };
115
+ type PutApiWorkspacesByIdApiResponse = {
116
+ ID?: string;
117
+ name?: string;
118
+ description?: string;
119
+ organization_id?: string;
120
+ owner?: string;
121
+ created_at?: string;
122
+ updated_at?: string;
123
+ /** SQL null Timestamp to handle null values of time. */
124
+ deleted_at?: string;
125
+ };
126
+ type PutApiWorkspacesByIdApiArg = {
127
+ id: string;
128
+ /** Body for updating workspace */
129
+ body: {
130
+ /** Name of workspace */
131
+ name?: string;
132
+ /** Environment description */
133
+ description?: string;
134
+ /** Organization ID */
135
+ organization_id: string;
136
+ };
137
+ };
138
+ type DeleteApiWorkspacesByIdApiResponse = unknown;
139
+ type DeleteApiWorkspacesByIdApiArg = {
140
+ id: string;
141
+ };
142
+ type CreateEnvironmentApiResponse = {
143
+ ID?: string;
144
+ name?: string;
145
+ description?: string;
146
+ organization_id?: string;
147
+ owner?: string;
148
+ created_at?: string;
149
+ updated_at?: string;
150
+ /** SQL null Timestamp to handle null values of time. */
151
+ deleted_at?: string;
152
+ };
153
+ type CreateEnvironmentApiArg = {
154
+ /** Body for creating environment */
155
+ body: {
156
+ /** An environment is a collection of resources. Provide a name that meaningfully represents these resources. You can change the name of the environment even after its creation. */
157
+ name: string;
158
+ /** An environment is a collection of resources, such as connections & credentail. Provide a detailed description to clarify the purpose of this environment and the types of resources it encompasses. You can modify the description at any Time. Learn more about environments [here](https://docs.meshery.io/concepts/logical/environments). */
159
+ description?: string;
160
+ /** Select an organization in which you want to create this new environment. Keep in mind that the organization cannot be changed after creation. */
161
+ OrganizationID?: string;
162
+ };
163
+ };
164
+ type GetEnvironmentsApiResponse = {
165
+ page?: number;
166
+ page_size?: number;
167
+ total_count?: number;
168
+ environments?: {
169
+ ID?: string;
170
+ name?: string;
171
+ description?: string;
172
+ organization_id?: string;
173
+ owner?: string;
174
+ created_at?: string;
175
+ updated_at?: string;
176
+ /** SQL null Timestamp to handle null values of time. */
177
+ deleted_at?: string;
178
+ }[];
179
+ };
180
+ type GetEnvironmentsApiArg = {
181
+ /** Get responses that match search param value */
182
+ search?: string;
183
+ /** Get ordered responses */
184
+ order?: string;
185
+ /** Get responses by page */
186
+ page?: string;
187
+ /** Get responses by pagesize */
188
+ pagesize?: string;
189
+ /** User's organization ID */
190
+ orgId: string;
191
+ };
192
+ type PostEvaluateApiResponse = {
193
+ /** Specifies the version of the schema to which the evaluation response conforms. */
194
+ schemaVersion: string;
195
+ /** The final evaluated design, including all updated components and relationships. This can be either the complete updated design or only a diff of changes. The version of the design will be automatically incremented if any modifications are made during the evaluation process. This field provides a comprehensive view of the design state after all relationship evaluations and policy applications have been completed. */
196
+ design: {
197
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
198
+ id: string;
199
+ /** Name of the design; a descriptive, but concise title for the design document. */
200
+ name: string;
201
+ /** Specifies the version of the schema to which the design conforms. */
202
+ schemaVersion: string;
203
+ /** Revision of the design as expressed by an auto-incremented, SemVer-compliant version number. May be manually set by a user or third-party system, but will always be required to be of version number higher than the previously defined version number. */
204
+ version: string;
205
+ metadata?: {
206
+ /** Map of resolved aliases present in the design */
207
+ resolvedAliases?: {
208
+ [key: string]: {
209
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
210
+ relationship_id: string;
211
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
212
+ alias_component_id: string;
213
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
214
+ immediate_parent_id: string;
215
+ immediate_ref_field_path: string[];
216
+ } & {
217
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
218
+ resolved_parent_id: string;
219
+ resolved_ref_field_path: string[];
220
+ };
221
+ };
222
+ [key: string]: any;
223
+ };
224
+ /** A list of one or more component declarations. */
225
+ components: {
226
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
227
+ id: string;
228
+ /** Specifies the version of the schema to which the component definition conforms. */
229
+ schemaVersion: string;
230
+ /** Version of the component definition. */
231
+ version: string;
232
+ /** Name of the component in human-readible format. */
233
+ displayName: string;
234
+ /** A written representation of the purpose and characteristics of the component. */
235
+ description: string;
236
+ /** Format specifies the format used in the `component.schema` field. JSON is the default. */
237
+ format: "JSON" | "CUE";
238
+ /** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
239
+ model: {
240
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
241
+ id: string;
242
+ /** Specifies the version of the schema used for the definition. */
243
+ schemaVersion: string;
244
+ /** Version of the model definition. */
245
+ version: string;
246
+ /** The unique name for the model within the scope of a registrant. */
247
+ name: string;
248
+ /** Human-readable name for the model. */
249
+ displayName: string;
250
+ /** Description of the model. */
251
+ description: string;
252
+ /** Status of model, including:
253
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
254
+ - maintenance: model is unavailable for a period of time.
255
+ - enabled: model is available for use for all users of this Meshery Server.
256
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
257
+ status: "ignored" | "enabled" | "duplicate";
258
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
259
+ registrant: {
260
+ /** ID */
261
+ id?: string;
262
+ /** Connection Name */
263
+ name?: string;
264
+ /** Credential ID */
265
+ credential_id?: string;
266
+ /** Connection Type */
267
+ type: string;
268
+ /** Connection Subtype */
269
+ sub_type?: string;
270
+ /** Connection Kind */
271
+ kind: string;
272
+ metadata?: object;
273
+ /** Connection Status */
274
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
275
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
276
+ user_id?: string;
277
+ created_at?: string;
278
+ updated_at?: string;
279
+ deleted_at?: string;
280
+ };
281
+ /** ID of the registrant. */
282
+ registrantId: string;
283
+ /** ID of the category. */
284
+ categoryId: string;
285
+ /** Category of the model. */
286
+ category: {
287
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
288
+ id: string;
289
+ /** The category of the model that determines the main grouping. */
290
+ name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
291
+ metadata: object;
292
+ };
293
+ /** Sub category of the model determines the secondary grouping. */
294
+ subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
295
+ /** Metadata containing additional information associated with the model. */
296
+ metadata?: {
297
+ /** Capabilities associated with the model */
298
+ capabilities?: {
299
+ /** Specifies the version of the schema to which the capability definition conforms. */
300
+ schemaVersion: string;
301
+ /** Version of the capability definition. */
302
+ version: string;
303
+ /** Name of the capability in human-readible format. */
304
+ displayName: string;
305
+ /** A written representation of the purpose and characteristics of the capability. */
306
+ description: string;
307
+ /** Top-level categorization of the capability */
308
+ kind: "action" | "mutate" | "view" | "interaction";
309
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
310
+ type: string;
311
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
312
+ subType: string;
313
+ /** Key that backs the capability. */
314
+ key: string;
315
+ /** State of the entity in which the capability is applicable. */
316
+ entityState: ("declaration" | "instance")[];
317
+ /** Status of the capability */
318
+ status: "enabled" | "disabled";
319
+ /** Metadata contains additional information associated with the capability. Extension point. */
320
+ metadata?: {
321
+ [key: string]: any;
322
+ };
323
+ }[];
324
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
325
+ isAnnotation?: boolean;
326
+ /** Primary color associated with the model. */
327
+ primaryColor?: string;
328
+ /** Secondary color associated with the model. */
329
+ secondaryColor?: string;
330
+ /** SVG representation of the model in white color. */
331
+ svgWhite: string;
332
+ /** SVG representation of the model in colored format. */
333
+ svgColor: string;
334
+ /** SVG representation of the complete model. */
335
+ svgComplete?: string;
336
+ /** The shape of the node’s body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes) */
337
+ shape?: "circle" | "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
338
+ [key: string]: any;
339
+ };
340
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
341
+ model: {
342
+ /** Version of the model as defined by the registrant. */
343
+ version: string;
344
+ };
345
+ relationships: any;
346
+ components: any;
347
+ /** Number of components associated with the model. */
348
+ componentsCount: number;
349
+ /** Number of relationships associated with the model. */
350
+ relationshipsCount: number;
351
+ };
352
+ /** ModelId is the foreign key to the model to which the component belongs. */
353
+ modelId: string;
354
+ /** Visualization styles for a component */
355
+ styles?: {
356
+ /** Primary color of the component used for UI representation. */
357
+ primaryColor: string;
358
+ /** Secondary color of the entity used for UI representation. */
359
+ secondaryColor?: string;
360
+ /** White SVG of the entity used for UI representation on dark background. */
361
+ svgWhite: string;
362
+ /** Colored SVG of the entity used for UI representation on light background. */
363
+ svgColor: string;
364
+ /** Complete SVG of the entity used for UI representation, often inclusive of background. */
365
+ svgComplete: string;
366
+ /** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
367
+ color?: string;
368
+ /** The opacity of the label text, including its outline. */
369
+ "text-opacity"?: number;
370
+ /** A comma-separated list of font names to use on the label text. */
371
+ "font-family"?: string;
372
+ /** The size of the label text. */
373
+ "font-size"?: string;
374
+ /** A CSS font style to be applied to the label text. */
375
+ "font-style"?: string;
376
+ /** A CSS font weight to be applied to the label text. */
377
+ "font-weight"?: string;
378
+ /** A transformation to apply to the label text */
379
+ "text-transform"?: "none" | "uppercase" | "lowercase";
380
+ /** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children. */
381
+ opacity?: number;
382
+ /** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
383
+ "z-index"?: number;
384
+ /** The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
385
+ label?: string;
386
+ /** The animation to apply to the element. example ripple,bounce,etc */
387
+ animation?: object;
388
+ [key: string]: any;
389
+ } & {
390
+ /** The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes) */
391
+ shape: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
392
+ /** The position of the node. If the position is set, the node is drawn at that position in the given dimensions. If the position is not set, the node is drawn at a random position. */
393
+ position?: {
394
+ /** The x-coordinate of the node. */
395
+ x: number;
396
+ /** The y-coordinate of the node. */
397
+ y: number;
398
+ };
399
+ /** The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id */
400
+ "body-text"?: string;
401
+ /** How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'. */
402
+ "body-text-wrap"?: string;
403
+ /** The maximum width for wrapping text in the node. */
404
+ "body-text-max-width"?: string;
405
+ /** The opacity of the node's body text, including its outline. */
406
+ "body-text-opacity"?: number;
407
+ /** The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g. */
408
+ "body-text-background-color"?: string;
409
+ /** The size of the node's body text. */
410
+ "body-text-font-size"?: number;
411
+ /** The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g. */
412
+ "body-text-color"?: string;
413
+ /** A CSS font weight to be applied to the node's body text. */
414
+ "body-text-font-weight"?: string;
415
+ /** A CSS horizontal alignment to be applied to the node's body text. */
416
+ "body-text-horizontal-align"?: string;
417
+ /** A CSS text decoration to be applied to the node's body text. */
418
+ "body-text-decoration"?: string;
419
+ /** A CSS vertical alignment to be applied to the node's body text. */
420
+ "body-text-vertical-align"?: string;
421
+ /** The width of the node's body or the width of an edge's line. */
422
+ width?: number;
423
+ /** The height of the node's body */
424
+ height?: number;
425
+ /** The URL that points to the image to show in the node. */
426
+ "background-image"?: string;
427
+ /** The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g. */
428
+ "background-color"?: string;
429
+ /** Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1. */
430
+ "background-blacken"?: number;
431
+ /** The opacity level of the node's background colour */
432
+ "background-opacity"?: number;
433
+ /** The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
434
+ "background-position-x"?: string;
435
+ /** The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
436
+ "background-position-y"?: string;
437
+ /** The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
438
+ "background-offset-x"?: string;
439
+ /** The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
440
+ "background-offset-y"?: string;
441
+ /** How the background image is fit to the node. Can be 'none', 'contain', or 'cover'. */
442
+ "background-fit"?: string;
443
+ /** How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'. */
444
+ "background-clip"?: string;
445
+ /** How the background image's width is determined. Can be 'none', 'inner', or 'outer'. */
446
+ "background-width-relative-to"?: string;
447
+ /** How the background image's height is determined. Can be 'none', 'inner', or 'outer'. */
448
+ "background-height-relative-to"?: string;
449
+ /** The size of the node's border. */
450
+ "border-width"?: number;
451
+ /** The style of the node's border */
452
+ "border-style"?: "solid" | "dotted" | "dashed" | "double";
453
+ /** The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g. */
454
+ "border-color"?: string;
455
+ /** The opacity of the node's border */
456
+ "border-opacity"?: number;
457
+ /** The amount of padding around all sides of the node. */
458
+ padding?: number;
459
+ /** The horizontal alignment of a node's label */
460
+ "text-halign"?: "left" | "center" | "right";
461
+ /** The vertical alignment of a node's label */
462
+ "text-valign"?: "top" | "center" | "bottom";
463
+ /** Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset. */
464
+ ghost?: "yes" | "no";
465
+ /** The colour of the indicator shown when the background is grabbed by the user. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
466
+ "active-bg-color"?: string;
467
+ /** The opacity of the active background indicator. Selector needs to be *core*. */
468
+ "active-bg-opacity"?: string;
469
+ /** The opacity of the active background indicator. Selector needs to be *core*. */
470
+ "active-bg-size"?: string;
471
+ /** The background colour of the selection box used for drag selection. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
472
+ "selection-box-color"?: string;
473
+ /** The size of the border on the selection box. Selector needs to be *core* */
474
+ "selection-box-border-width"?: number;
475
+ /** The opacity of the selection box. Selector needs to be *core* */
476
+ "selection-box-opacity"?: number;
477
+ /** The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
478
+ "outside-texture-bg-color"?: string;
479
+ /** The opacity of the area outside the viewport texture. Selector needs to be *core* */
480
+ "outside-texture-bg-opacity"?: number;
481
+ /** An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node's shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node's position is the origin (0, 0 ) */
482
+ "shape-polygon-points"?: string;
483
+ /** The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
484
+ "menu-background-color"?: string;
485
+ /** The opacity of the background of the component menu. */
486
+ "menu-background-opacity"?: number;
487
+ /** The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
488
+ "menu-forground-color"?: string;
489
+ };
490
+ /** Meshery manages components in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. ComponentDefinitions may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management. */
491
+ capabilities?: {
492
+ /** Specifies the version of the schema to which the capability definition conforms. */
493
+ schemaVersion: string;
494
+ /** Version of the capability definition. */
495
+ version: string;
496
+ /** Name of the capability in human-readible format. */
497
+ displayName: string;
498
+ /** A written representation of the purpose and characteristics of the capability. */
499
+ description: string;
500
+ /** Top-level categorization of the capability */
501
+ kind: "action" | "mutate" | "view" | "interaction";
502
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
503
+ type: string;
504
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
505
+ subType: string;
506
+ /** Key that backs the capability. */
507
+ key: string;
508
+ /** State of the entity in which the capability is applicable. */
509
+ entityState: ("declaration" | "instance")[];
510
+ /** Status of the capability */
511
+ status: "enabled" | "disabled";
512
+ /** Metadata contains additional information associated with the capability. Extension point. */
513
+ metadata?: {
514
+ [key: string]: any;
515
+ };
516
+ }[];
517
+ /** Status of component, including:
518
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
519
+ - maintenance: model is unavailable for a period of time.
520
+ - enabled: model is available for use for all users of this Meshery Server.
521
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
522
+ status?: "ignored" | "enabled" | "duplicate" | "resolved" | "open";
523
+ /** Metadata contains additional information associated with the component. */
524
+ metadata: {
525
+ /** Genealogy represents the various representational states of the component. */
526
+ genealogy: string;
527
+ /** Identifies whether the component is semantically meaningful or not; identifies whether the component should be treated as deployable entity or is for purposes of logical representation. */
528
+ isAnnotation: boolean;
529
+ /** Identifies whether the component is scoped to namespace or clsuter wide. */
530
+ isNamespaced: boolean;
531
+ /** 'published' controls whether the component should be registered in Meshery Registry. When the same 'published' property in Models, is set to 'false', the Model property takes precedence with all Entities in the Model not being registered. */
532
+ published: boolean;
533
+ /** InstanceDetails contains information about the instance of the component. */
534
+ instanceDetails: object;
535
+ /** Defines the UI schema for rendering the component's configuration. For more details, visit: https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema/ . */
536
+ configurationUISchema: string;
537
+ [key: string]: any;
538
+ };
539
+ /** The configuration of the component. The configuration is based on the schema defined within the component definition(component.schema). */
540
+ configuration: object;
541
+ /** data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an */
542
+ component: {
543
+ /** Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod. */
544
+ version: string;
545
+ /** The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'. */
546
+ kind: string;
547
+ /** JSON schema of the object as defined by the registrant. */
548
+ schema: string;
549
+ };
550
+ }[];
551
+ /** Design-level preferences */
552
+ preferences?: {
553
+ /** List of available layers */
554
+ layers: object;
555
+ };
556
+ /** List of relationships between components */
557
+ relationships: {
558
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
559
+ id?: string;
560
+ /** Specifies the version of the schema used for the relationship definition. */
561
+ schemaVersion: string;
562
+ /** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
563
+ version: string;
564
+ /** Name of the model in which this relationship is packaged. */
565
+ model: {
566
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
567
+ id?: string;
568
+ /** Specifies the version of the schema used for the definition. */
569
+ schemaVersion?: string;
570
+ /** Version of the model definition. */
571
+ version: string;
572
+ /** The unique name for the model within the scope of a registrant. */
573
+ name: string;
574
+ /** Human-readable name for the model. */
575
+ displayName?: string;
576
+ /** Description of the model. */
577
+ description?: string;
578
+ /** Status of model, including:
579
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
580
+ - maintenance: model is unavailable for a period of time.
581
+ - enabled: model is available for use for all users of this Meshery Server.
582
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
583
+ status?: "ignored" | "enabled" | "duplicate";
584
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
585
+ registrant: {
586
+ /** ID */
587
+ id?: string;
588
+ /** Connection Name */
589
+ name?: string;
590
+ /** Credential ID */
591
+ credential_id?: string;
592
+ /** Connection Type */
593
+ type: string;
594
+ /** Connection Subtype */
595
+ sub_type?: string;
596
+ /** Connection Kind */
597
+ kind: string;
598
+ metadata?: object;
599
+ /** Connection Status */
600
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
601
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
602
+ user_id?: string;
603
+ created_at?: string;
604
+ updated_at?: string;
605
+ deleted_at?: string;
606
+ };
607
+ /** Category of the model. */
608
+ category: {
609
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
610
+ id?: string;
611
+ name?: string;
612
+ metadata?: object;
613
+ };
614
+ /** Sub-category of the model. */
615
+ subCategory?: string;
616
+ /** Metadata containing additional information associated with the model. */
617
+ metadata?: {
618
+ /** Capabilities associated with the model */
619
+ capabilities?: {
620
+ /** Specifies the version of the schema to which the capability definition conforms. */
621
+ schemaVersion: string;
622
+ /** Version of the capability definition. */
623
+ version: string;
624
+ /** Name of the capability in human-readible format. */
625
+ displayName: string;
626
+ /** A written representation of the purpose and characteristics of the capability. */
627
+ description?: string;
628
+ /** Top-level categorization of the capability */
629
+ kind: "action" | "mutate" | "view" | "interaction";
630
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
631
+ type: string;
632
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
633
+ subType?: "inventory" | "matchLabels" | "permission" | "network" | "firewall" | "mount" | "alias" | "annotation";
634
+ /** Key that backs the capability. */
635
+ key?: string;
636
+ /** State of the entity in which the capability is applicable. */
637
+ entityState: ("declaration" | "instance")[];
638
+ /** Status of the capability */
639
+ status: "enabled" | "disabled";
640
+ /** Metadata contains additional information associated with the capability. Extension point. */
641
+ metadata?: {
642
+ [key: string]: any;
643
+ };
644
+ }[];
645
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
646
+ isAnnotation?: boolean;
647
+ /** Primary color associated with the model. */
648
+ primaryColor?: string;
649
+ /** Secondary color associated with the model. */
650
+ secondaryColor?: string;
651
+ /** SVG representation of the model in white color. */
652
+ svgWhite?: string;
653
+ /** SVG representation of the model in colored format. */
654
+ svgColor?: string;
655
+ /** SVG representation of the complete model. */
656
+ svgComplete?: string;
657
+ [key: string]: any;
658
+ };
659
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
660
+ model?: {
661
+ /** Version of the model as defined by the registrant. */
662
+ version: string;
663
+ };
664
+ };
665
+ /** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
666
+ kind: "hierarchical" | "edge" | "sibling";
667
+ /** Classification of relationships. Used to group relationships similar in nature. */
668
+ type: string;
669
+ /** Most granular unit of relationship classification. The combination of Kind, Type and SubType together uniquely identify a Relationship. */
670
+ subType: string;
671
+ /** Status of the relationship. */
672
+ status?: "pending" | "approved" | "ignored" | "enabled" | "deleted";
673
+ /** Optional. Assigns the policy to be used for the evaluation of the relationship. Deprecation Notice: In the future, this property is either to be removed or to it is to be an array of optional policy $refs. */
674
+ evaluationQuery?: string;
675
+ /** Capabilities associated with the relationship. */
676
+ capabilities?: {
677
+ /** Specifies the version of the schema to which the capability definition conforms. */
678
+ schemaVersion: string;
679
+ /** Version of the capability definition. */
680
+ version: string;
681
+ /** Name of the capability in human-readible format. */
682
+ displayName: string;
683
+ /** A written representation of the purpose and characteristics of the capability. */
684
+ description?: string;
685
+ /** Top-level categorization of the capability */
686
+ kind: "action" | "mutate" | "view" | "interaction";
687
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
688
+ type: string;
689
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
690
+ subType?: string;
691
+ /** Key that backs the capability. */
692
+ key?: string;
693
+ /** State of the entity in which the capability is applicable. */
694
+ entityState: ("declaration" | "instance")[];
695
+ /** Status of the capability */
696
+ status: "enabled" | "disabled";
697
+ /** Metadata contains additional information associated with the capability. Extension point. */
698
+ metadata?: {
699
+ [key: string]: any;
700
+ };
701
+ }[];
702
+ /** Metadata contains additional information associated with the Relationship. */
703
+ metadata?: {
704
+ /** Characterization of the meaning of the relationship and its relevance to both Meshery and entities under management. */
705
+ description?: string;
706
+ /** Indicates whether the relationship should be treated as a logical representation only */
707
+ isAnnotation?: boolean;
708
+ styles?: ({
709
+ /** Primary color of the component used for UI representation. */
710
+ primaryColor: string;
711
+ /** Secondary color of the entity used for UI representation. */
712
+ secondaryColor?: string;
713
+ /** White SVG of the entity used for UI representation on dark background. */
714
+ svgWhite: string;
715
+ /** Colored SVG of the entity used for UI representation on light background. */
716
+ svgColor: string;
717
+ /** Complete SVG of the entity used for UI representation, often inclusive of background. */
718
+ svgComplete?: string;
719
+ /** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
720
+ color?: string;
721
+ /** The opacity of the label text, including its outline. */
722
+ "text-opacity"?: number;
723
+ /** A comma-separated list of font names to use on the label text. */
724
+ "font-family"?: string;
725
+ /** The size of the label text. */
726
+ "font-size"?: string;
727
+ /** A CSS font style to be applied to the label text. */
728
+ "font-style"?: string;
729
+ /** A CSS font weight to be applied to the label text. */
730
+ "font-weight"?: string;
731
+ /** A transformation to apply to the label text */
732
+ "text-transform"?: "none" | "uppercase" | "lowercase";
733
+ /** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.See https://js.cytoscape.org/#style/visibility */
734
+ opacity?: number;
735
+ /** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
736
+ "z-index"?: number;
737
+ /** The text to display for an element’s label. Can give a path, e.g. data(id) will label with the elements id */
738
+ label?: string;
739
+ } & {
740
+ /** The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
741
+ "edge-animation"?: string;
742
+ /** The curving method used to separate two or more edges between two nodes; may be haystack (very fast, bundled straight edges for which loops and compounds are unsupported), straight (straight edges with all arrows supported), bezier (bundled curved edges), unbundled-bezier (curved edges for use with manual control points), segments (a series of straight lines), taxi (right-angled lines, hierarchically bundled). Note that haystack edges work best with ellipse, rectangle, or similar nodes. Smaller node shapes, like triangle, will not be as aesthetically pleasing. Also note that edge endpoint arrows are unsupported for haystack edges. */
743
+ "curve-style"?: "straight" | "haystack" | "bezier" | "unbundled-bezier" | "segments" | "taxi";
744
+ /** The colour of the edge’s line. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
745
+ "line-color"?: string;
746
+ /** The style of the edge’s line. */
747
+ "line-style"?: "solid" | "dotted" | "dashed";
748
+ /** The cap style of the edge’s line; may be butt (default), round, or square. The cap may or may not be visible, depending on the shape of the node and the relative size of the node and edge. Caps other than butt extend beyond the specified endpoint of the edge. */
749
+ "line-cap"?: "butt" | "round" | "square";
750
+ /** The opacity of the edge’s line and arrow. Useful if you wish to have a separate opacity for the edge label versus the edge line. Note that the opacity value of the edge element affects the effective opacity of its line and label subcomponents. */
751
+ "line-opacity"?: number;
752
+ /** The colour of the edge’s source arrow. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
753
+ "target-arrow-color"?: string;
754
+ /** The shape of the edge’s source arrow */
755
+ "target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
756
+ /** The fill state of the edge’s source arrow */
757
+ "target-arrow-fill"?: "filled" | "hollow";
758
+ /** The colour of the edge’s source arrow. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
759
+ "mid-target-arrow-color"?: string;
760
+ /** The shape of the edge’s source arrow */
761
+ "mid-target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
762
+ /** The fill state of the edge’s source arrow */
763
+ "mid-target-arrow-fill"?: "filled" | "hollow";
764
+ /** Scaling for the arrow size. */
765
+ "arrow-scale"?: number;
766
+ /** The text to display for an edge’s source label. Can give a path, e.g. data(id) will label with the elements id */
767
+ "source-label"?: string;
768
+ /** The text to display for an edge’s target label. Can give a path, e.g. data(id) will label with the elements id */
769
+ "target-label"?: string;
770
+ }) | {
771
+ /** Primary color of the component used for UI representation. */
772
+ primaryColor: string;
773
+ /** Secondary color of the entity used for UI representation. */
774
+ secondaryColor?: string;
775
+ /** White SVG of the entity used for UI representation on dark background. */
776
+ svgWhite: string;
777
+ /** Colored SVG of the entity used for UI representation on light background. */
778
+ svgColor: string;
779
+ /** Complete SVG of the entity used for UI representation, often inclusive of background. */
780
+ svgComplete?: string;
781
+ /** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
782
+ color?: string;
783
+ /** The opacity of the label text, including its outline. */
784
+ "text-opacity"?: number;
785
+ /** A comma-separated list of font names to use on the label text. */
786
+ "font-family"?: string;
787
+ /** The size of the label text. */
788
+ "font-size"?: string;
789
+ /** A CSS font style to be applied to the label text. */
790
+ "font-style"?: string;
791
+ /** A CSS font weight to be applied to the label text. */
792
+ "font-weight"?: string;
793
+ /** A transformation to apply to the label text */
794
+ "text-transform"?: "none" | "uppercase" | "lowercase";
795
+ /** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.See https://js.cytoscape.org/#style/visibility */
796
+ opacity?: number;
797
+ /** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
798
+ "z-index"?: number;
799
+ /** The text to display for an element’s label. Can give a path, e.g. data(id) will label with the elements id */
800
+ label?: string;
801
+ };
802
+ [key: string]: any;
803
+ };
804
+ /** Selectors are organized as an array, with each item containing a distinct set of selectors that share a common functionality. This structure allows for flexibility in defining relationships, even when different components are involved. */
805
+ selectors?: {
806
+ /** Optional selectors used to define relationships which should not be created / is restricted. */
807
+ deny?: {
808
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
809
+ from: {
810
+ kind?: string;
811
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
812
+ model?: {
813
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
814
+ id?: string;
815
+ /** Specifies the version of the schema used for the definition. */
816
+ schemaVersion?: string;
817
+ /** Version of the model definition. */
818
+ version: string;
819
+ /** The unique name for the model within the scope of a registrant. */
820
+ name: string;
821
+ /** Human-readable name for the model. */
822
+ displayName?: string;
823
+ /** Description of the model. */
824
+ description?: string;
825
+ /** Status of model, including:
826
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
827
+ - maintenance: model is unavailable for a period of time.
828
+ - enabled: model is available for use for all users of this Meshery Server.
829
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
830
+ status?: "ignored" | "enabled" | "duplicate";
831
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
832
+ registrant: {
833
+ /** ID */
834
+ id?: string;
835
+ /** Connection Name */
836
+ name?: string;
837
+ /** Credential ID */
838
+ credential_id?: string;
839
+ /** Connection Type */
840
+ type: string;
841
+ /** Connection Subtype */
842
+ sub_type?: string;
843
+ /** Connection Kind */
844
+ kind: string;
845
+ metadata?: object;
846
+ /** Connection Status */
847
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
848
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
849
+ user_id?: string;
850
+ created_at?: string;
851
+ updated_at?: string;
852
+ deleted_at?: string;
853
+ };
854
+ /** Category of the model. */
855
+ category: {
856
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
857
+ id?: string;
858
+ name?: string;
859
+ metadata?: object;
860
+ };
861
+ /** Sub-category of the model. */
862
+ subCategory?: string;
863
+ /** Metadata containing additional information associated with the model. */
864
+ metadata?: {
865
+ /** Capabilities associated with the model */
866
+ capabilities?: {
867
+ /** Specifies the version of the schema to which the capability definition conforms. */
868
+ schemaVersion: string;
869
+ /** Version of the capability definition. */
870
+ version: string;
871
+ /** Name of the capability in human-readible format. */
872
+ displayName: string;
873
+ /** A written representation of the purpose and characteristics of the capability. */
874
+ description?: string;
875
+ /** Top-level categorization of the capability */
876
+ kind: "action" | "mutate" | "view" | "interaction";
877
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
878
+ type: string;
879
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
880
+ subType?: string;
881
+ /** Key that backs the capability. */
882
+ key?: string;
883
+ /** State of the entity in which the capability is applicable. */
884
+ entityState: ("declaration" | "instance")[];
885
+ /** Status of the capability */
886
+ status: "enabled" | "disabled";
887
+ /** Metadata contains additional information associated with the capability. Extension point. */
888
+ metadata?: {
889
+ [key: string]: any;
890
+ };
891
+ }[];
892
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
893
+ isAnnotation?: boolean;
894
+ /** Primary color associated with the model. */
895
+ primaryColor?: string;
896
+ /** Secondary color associated with the model. */
897
+ secondaryColor?: string;
898
+ /** SVG representation of the model in white color. */
899
+ svgWhite?: string;
900
+ /** SVG representation of the model in colored format. */
901
+ svgColor?: string;
902
+ /** SVG representation of the complete model. */
903
+ svgComplete?: string;
904
+ [key: string]: any;
905
+ };
906
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
907
+ model?: {
908
+ /** Version of the model as defined by the registrant. */
909
+ version: string;
910
+ };
911
+ };
912
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
913
+ id?: string;
914
+ match?: string[][] | {
915
+ from?: ({
916
+ kind?: string;
917
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
918
+ id?: string;
919
+ } & ({
920
+ /** JSON ref to value from where patch should be applied. */
921
+ mutatorRef?: string[][];
922
+ } | {
923
+ mutatedRef?: string[][];
924
+ }))[];
925
+ to?: ({
926
+ kind?: string;
927
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
928
+ id?: string;
929
+ } & ({
930
+ /** JSON ref to value from where patch should be applied. */
931
+ mutatorRef?: string[][];
932
+ } | {
933
+ mutatedRef?: string[][];
934
+ }))[];
935
+ };
936
+ patch?: {
937
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
938
+
939
+ add: Inserts a value into an array or adds a member to an object.
940
+ replace: Replaces a value.
941
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
942
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
943
+ remove: Removes a value.
944
+ copy: Copies a value from one location to another.
945
+ move: Moves a value from one location to another.
946
+ test: Tests that a value at the target location is equal to a specified value. */
947
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
948
+ } & ({
949
+ /** JSON ref to value from where patch should be applied. */
950
+ mutatorRef?: string[][];
951
+ } | {
952
+ mutatedRef?: string[][];
953
+ });
954
+ }[];
955
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
956
+ to: {
957
+ kind?: string;
958
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
959
+ model?: {
960
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
961
+ id?: string;
962
+ /** Specifies the version of the schema used for the definition. */
963
+ schemaVersion?: string;
964
+ /** Version of the model definition. */
965
+ version: string;
966
+ /** The unique name for the model within the scope of a registrant. */
967
+ name: string;
968
+ /** Human-readable name for the model. */
969
+ displayName?: string;
970
+ /** Description of the model. */
971
+ description?: string;
972
+ /** Status of model, including:
973
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
974
+ - maintenance: model is unavailable for a period of time.
975
+ - enabled: model is available for use for all users of this Meshery Server.
976
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
977
+ status?: "ignored" | "enabled" | "duplicate";
978
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
979
+ registrant: {
980
+ /** ID */
981
+ id?: string;
982
+ /** Connection Name */
983
+ name?: string;
984
+ /** Credential ID */
985
+ credential_id?: string;
986
+ /** Connection Type */
987
+ type: string;
988
+ /** Connection Subtype */
989
+ sub_type?: string;
990
+ /** Connection Kind */
991
+ kind: string;
992
+ metadata?: object;
993
+ /** Connection Status */
994
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
995
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
996
+ user_id?: string;
997
+ created_at?: string;
998
+ updated_at?: string;
999
+ deleted_at?: string;
1000
+ };
1001
+ /** Category of the model. */
1002
+ category: {
1003
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1004
+ id?: string;
1005
+ name?: string;
1006
+ metadata?: object;
1007
+ };
1008
+ /** Sub-category of the model. */
1009
+ subCategory?: string;
1010
+ /** Metadata containing additional information associated with the model. */
1011
+ metadata?: {
1012
+ /** Capabilities associated with the model */
1013
+ capabilities?: {
1014
+ /** Specifies the version of the schema to which the capability definition conforms. */
1015
+ schemaVersion: string;
1016
+ /** Version of the capability definition. */
1017
+ version: string;
1018
+ /** Name of the capability in human-readible format. */
1019
+ displayName: string;
1020
+ /** A written representation of the purpose and characteristics of the capability. */
1021
+ description?: string;
1022
+ /** Top-level categorization of the capability */
1023
+ kind: "action" | "mutate" | "view" | "interaction";
1024
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1025
+ type: string;
1026
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1027
+ subType?: string;
1028
+ /** Key that backs the capability. */
1029
+ key?: string;
1030
+ /** State of the entity in which the capability is applicable. */
1031
+ entityState: ("declaration" | "instance")[];
1032
+ /** Status of the capability */
1033
+ status: "enabled" | "disabled";
1034
+ /** Metadata contains additional information associated with the capability. Extension point. */
1035
+ metadata?: {
1036
+ [key: string]: any;
1037
+ };
1038
+ }[];
1039
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
1040
+ isAnnotation?: boolean;
1041
+ /** Primary color associated with the model. */
1042
+ primaryColor?: string;
1043
+ /** Secondary color associated with the model. */
1044
+ secondaryColor?: string;
1045
+ /** SVG representation of the model in white color. */
1046
+ svgWhite?: string;
1047
+ /** SVG representation of the model in colored format. */
1048
+ svgColor?: string;
1049
+ /** SVG representation of the complete model. */
1050
+ svgComplete?: string;
1051
+ [key: string]: any;
1052
+ };
1053
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
1054
+ model?: {
1055
+ /** Version of the model as defined by the registrant. */
1056
+ version: string;
1057
+ };
1058
+ };
1059
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1060
+ id?: string;
1061
+ match?: string[][] | {
1062
+ from?: ({
1063
+ kind?: string;
1064
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1065
+ id?: string;
1066
+ } & ({
1067
+ /** JSON ref to value from where patch should be applied. */
1068
+ mutatorRef?: string[][];
1069
+ } | {
1070
+ mutatedRef?: string[][];
1071
+ }))[];
1072
+ to?: ({
1073
+ kind?: string;
1074
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1075
+ id?: string;
1076
+ } & ({
1077
+ /** JSON ref to value from where patch should be applied. */
1078
+ mutatorRef?: string[][];
1079
+ } | {
1080
+ mutatedRef?: string[][];
1081
+ }))[];
1082
+ };
1083
+ patch?: {
1084
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1085
+
1086
+ add: Inserts a value into an array or adds a member to an object.
1087
+ replace: Replaces a value.
1088
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1089
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
1090
+ remove: Removes a value.
1091
+ copy: Copies a value from one location to another.
1092
+ move: Moves a value from one location to another.
1093
+ test: Tests that a value at the target location is equal to a specified value. */
1094
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
1095
+ } & ({
1096
+ /** JSON ref to value from where patch should be applied. */
1097
+ mutatorRef?: string[][];
1098
+ } | {
1099
+ mutatedRef?: string[][];
1100
+ });
1101
+ }[];
1102
+ };
1103
+ /** Selectors used to define relationships which are allowed. */
1104
+ allow: {
1105
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1106
+ from: {
1107
+ kind?: string;
1108
+ /** Strategy criterion for determing how to match the values at mutator/mutated paths */
1109
+ match_strategy_matrix?: string[][];
1110
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1111
+ model?: {
1112
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
1113
+ id?: string;
1114
+ /** Specifies the version of the schema used for the definition. */
1115
+ schemaVersion?: string;
1116
+ /** Version of the model definition. */
1117
+ version: string;
1118
+ /** The unique name for the model within the scope of a registrant. */
1119
+ name: string;
1120
+ /** Human-readable name for the model. */
1121
+ displayName?: string;
1122
+ /** Description of the model. */
1123
+ description?: string;
1124
+ /** Status of model, including:
1125
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
1126
+ - maintenance: model is unavailable for a period of time.
1127
+ - enabled: model is available for use for all users of this Meshery Server.
1128
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
1129
+ status?: "ignored" | "enabled" | "duplicate";
1130
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
1131
+ registrant: {
1132
+ /** ID */
1133
+ id?: string;
1134
+ /** Connection Name */
1135
+ name?: string;
1136
+ /** Credential ID */
1137
+ credential_id?: string;
1138
+ /** Connection Type */
1139
+ type: string;
1140
+ /** Connection Subtype */
1141
+ sub_type?: string;
1142
+ /** Connection Kind */
1143
+ kind: string;
1144
+ metadata?: object;
1145
+ /** Connection Status */
1146
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
1147
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1148
+ user_id?: string;
1149
+ created_at?: string;
1150
+ updated_at?: string;
1151
+ deleted_at?: string;
1152
+ };
1153
+ /** Category of the model. */
1154
+ category: {
1155
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1156
+ id?: string;
1157
+ name?: string;
1158
+ metadata?: object;
1159
+ };
1160
+ /** Sub-category of the model. */
1161
+ subCategory?: string;
1162
+ /** Metadata containing additional information associated with the model. */
1163
+ metadata?: {
1164
+ /** Capabilities associated with the model */
1165
+ capabilities?: {
1166
+ /** Specifies the version of the schema to which the capability definition conforms. */
1167
+ schemaVersion: string;
1168
+ /** Version of the capability definition. */
1169
+ version: string;
1170
+ /** Name of the capability in human-readible format. */
1171
+ displayName: string;
1172
+ /** A written representation of the purpose and characteristics of the capability. */
1173
+ description?: string;
1174
+ /** Top-level categorization of the capability */
1175
+ kind: "action" | "mutate" | "view" | "interaction";
1176
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1177
+ type: string;
1178
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1179
+ subType?: string;
1180
+ /** Key that backs the capability. */
1181
+ key?: string;
1182
+ /** State of the entity in which the capability is applicable. */
1183
+ entityState: ("declaration" | "instance")[];
1184
+ /** Status of the capability */
1185
+ status: "enabled" | "disabled";
1186
+ /** Metadata contains additional information associated with the capability. Extension point. */
1187
+ metadata?: {
1188
+ [key: string]: any;
1189
+ };
1190
+ }[];
1191
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
1192
+ isAnnotation?: boolean;
1193
+ /** Primary color associated with the model. */
1194
+ primaryColor?: string;
1195
+ /** Secondary color associated with the model. */
1196
+ secondaryColor?: string;
1197
+ /** SVG representation of the model in white color. */
1198
+ svgWhite?: string;
1199
+ /** SVG representation of the model in colored format. */
1200
+ svgColor?: string;
1201
+ /** SVG representation of the complete model. */
1202
+ svgComplete?: string;
1203
+ [key: string]: any;
1204
+ };
1205
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
1206
+ model?: {
1207
+ /** Version of the model as defined by the registrant. */
1208
+ version: string;
1209
+ };
1210
+ };
1211
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1212
+ id?: string;
1213
+ match?: string[][] | {
1214
+ from?: ({
1215
+ kind?: string;
1216
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1217
+ id?: string;
1218
+ } & ({
1219
+ /** JSON ref to value from where patch should be applied. */
1220
+ mutatorRef?: string[][];
1221
+ } | {
1222
+ mutatedRef?: string[][];
1223
+ }))[];
1224
+ to?: ({
1225
+ kind?: string;
1226
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1227
+ id?: string;
1228
+ } & ({
1229
+ /** JSON ref to value from where patch should be applied. */
1230
+ mutatorRef?: string[][];
1231
+ } | {
1232
+ mutatedRef?: string[][];
1233
+ }))[];
1234
+ };
1235
+ patch?: {
1236
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1237
+
1238
+ add: Inserts a value into an array or adds a member to an object.
1239
+ replace: Replaces a value.
1240
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1241
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
1242
+ remove: Removes a value.
1243
+ copy: Copies a value from one location to another.
1244
+ move: Moves a value from one location to another.
1245
+ test: Tests that a value at the target location is equal to a specified value. */
1246
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
1247
+ } & ({
1248
+ /** JSON ref to value from where patch should be applied. */
1249
+ mutatorRef?: string[][];
1250
+ } | {
1251
+ mutatedRef?: string[][];
1252
+ });
1253
+ }[];
1254
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1255
+ to: {
1256
+ kind?: string;
1257
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1258
+ model?: {
1259
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
1260
+ id?: string;
1261
+ /** Specifies the version of the schema used for the definition. */
1262
+ schemaVersion?: string;
1263
+ /** Version of the model definition. */
1264
+ version: string;
1265
+ /** The unique name for the model within the scope of a registrant. */
1266
+ name: string;
1267
+ /** Human-readable name for the model. */
1268
+ displayName?: string;
1269
+ /** Description of the model. */
1270
+ description?: string;
1271
+ /** Status of model, including:
1272
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
1273
+ - maintenance: model is unavailable for a period of time.
1274
+ - enabled: model is available for use for all users of this Meshery Server.
1275
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
1276
+ status?: "ignored" | "enabled" | "duplicate";
1277
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
1278
+ registrant: {
1279
+ /** ID */
1280
+ id?: string;
1281
+ /** Connection Name */
1282
+ name?: string;
1283
+ /** Credential ID */
1284
+ credential_id?: string;
1285
+ /** Connection Type */
1286
+ type: string;
1287
+ /** Connection Subtype */
1288
+ sub_type?: string;
1289
+ /** Connection Kind */
1290
+ kind: string;
1291
+ metadata?: object;
1292
+ /** Connection Status */
1293
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
1294
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1295
+ user_id?: string;
1296
+ created_at?: string;
1297
+ updated_at?: string;
1298
+ deleted_at?: string;
1299
+ };
1300
+ /** Category of the model. */
1301
+ category: {
1302
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1303
+ id?: string;
1304
+ name?: string;
1305
+ metadata?: object;
1306
+ };
1307
+ /** Sub-category of the model. */
1308
+ subCategory?: string;
1309
+ /** Metadata containing additional information associated with the model. */
1310
+ metadata?: {
1311
+ /** Capabilities associated with the model */
1312
+ capabilities?: {
1313
+ /** Specifies the version of the schema to which the capability definition conforms. */
1314
+ schemaVersion: string;
1315
+ /** Version of the capability definition. */
1316
+ version: string;
1317
+ /** Name of the capability in human-readible format. */
1318
+ displayName: string;
1319
+ /** A written representation of the purpose and characteristics of the capability. */
1320
+ description?: string;
1321
+ /** Top-level categorization of the capability */
1322
+ kind: "action" | "mutate" | "view" | "interaction";
1323
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1324
+ type: string;
1325
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1326
+ subType?: string;
1327
+ /** Key that backs the capability. */
1328
+ key?: string;
1329
+ /** State of the entity in which the capability is applicable. */
1330
+ entityState: ("declaration" | "instance")[];
1331
+ /** Status of the capability */
1332
+ status: "enabled" | "disabled";
1333
+ /** Metadata contains additional information associated with the capability. Extension point. */
1334
+ metadata?: {
1335
+ [key: string]: any;
1336
+ };
1337
+ }[];
1338
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
1339
+ isAnnotation?: boolean;
1340
+ /** Primary color associated with the model. */
1341
+ primaryColor?: string;
1342
+ /** Secondary color associated with the model. */
1343
+ secondaryColor?: string;
1344
+ /** SVG representation of the model in white color. */
1345
+ svgWhite?: string;
1346
+ /** SVG representation of the model in colored format. */
1347
+ svgColor?: string;
1348
+ /** SVG representation of the complete model. */
1349
+ svgComplete?: string;
1350
+ [key: string]: any;
1351
+ };
1352
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
1353
+ model?: {
1354
+ /** Version of the model as defined by the registrant. */
1355
+ version: string;
1356
+ };
1357
+ };
1358
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1359
+ id?: string;
1360
+ match?: string[][] | {
1361
+ from?: ({
1362
+ kind?: string;
1363
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1364
+ id?: string;
1365
+ } & ({
1366
+ /** JSON ref to value from where patch should be applied. */
1367
+ mutatorRef?: string[][];
1368
+ } | {
1369
+ mutatedRef?: string[][];
1370
+ }))[];
1371
+ to?: ({
1372
+ kind?: string;
1373
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1374
+ id?: string;
1375
+ } & ({
1376
+ /** JSON ref to value from where patch should be applied. */
1377
+ mutatorRef?: string[][];
1378
+ } | {
1379
+ mutatedRef?: string[][];
1380
+ }))[];
1381
+ };
1382
+ patch?: {
1383
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1384
+
1385
+ add: Inserts a value into an array or adds a member to an object.
1386
+ replace: Replaces a value.
1387
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1388
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
1389
+ remove: Removes a value.
1390
+ copy: Copies a value from one location to another.
1391
+ move: Moves a value from one location to another.
1392
+ test: Tests that a value at the target location is equal to a specified value. */
1393
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
1394
+ } & ({
1395
+ /** JSON ref to value from where patch should be applied. */
1396
+ mutatorRef?: string[][];
1397
+ } | {
1398
+ mutatedRef?: string[][];
1399
+ });
1400
+ }[];
1401
+ };
1402
+ }[];
1403
+ }[];
1404
+ };
1405
+ /** Hash of the input parameters and configuration used for this evaluation. Useful for identifying duplicate evaluations or caching results. */
1406
+ evaluationHash?: string;
1407
+ /** ISO 8601 formatted timestamp of when the evaluation was completed. */
1408
+ timestamp?: string;
1409
+ actions: any;
1410
+ };
1411
+ type PostEvaluateApiArg = {
1412
+ body: {
1413
+ /** Designs are your primary tool for collaborative authorship of your infrastructure, workflow, and processes. */
1414
+ design: {
1415
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1416
+ id: string;
1417
+ /** Name of the design; a descriptive, but concise title for the design document. */
1418
+ name: string;
1419
+ /** Specifies the version of the schema to which the design conforms. */
1420
+ schemaVersion: string;
1421
+ /** Revision of the design as expressed by an auto-incremented, SemVer-compliant version number. May be manually set by a user or third-party system, but will always be required to be of version number higher than the previously defined version number. */
1422
+ version: string;
1423
+ metadata?: {
1424
+ /** Map of resolved aliases present in the design */
1425
+ resolvedAliases?: {
1426
+ [key: string]: {
1427
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1428
+ relationship_id: string;
1429
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1430
+ alias_component_id: string;
1431
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1432
+ immediate_parent_id: string;
1433
+ immediate_ref_field_path: string[];
1434
+ } & {
1435
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1436
+ resolved_parent_id: string;
1437
+ resolved_ref_field_path: string[];
1438
+ };
1439
+ };
1440
+ [key: string]: any;
1441
+ };
1442
+ /** A list of one or more component declarations. */
1443
+ components: {
1444
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
1445
+ id: string;
1446
+ /** Specifies the version of the schema to which the component definition conforms. */
1447
+ schemaVersion: string;
1448
+ /** Version of the component definition. */
1449
+ version: string;
1450
+ /** Name of the component in human-readible format. */
1451
+ displayName: string;
1452
+ /** A written representation of the purpose and characteristics of the component. */
1453
+ description: string;
1454
+ /** Format specifies the format used in the `component.schema` field. JSON is the default. */
1455
+ format: "JSON" | "CUE";
1456
+ /** Reference to the specific registered model to which the component belongs and from which model version, category, and other properties may be referenced. Learn more at https://docs.meshery.io/concepts/models */
1457
+ model: {
1458
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
1459
+ id: string;
1460
+ /** Specifies the version of the schema used for the definition. */
1461
+ schemaVersion: string;
1462
+ /** Version of the model definition. */
1463
+ version: string;
1464
+ /** The unique name for the model within the scope of a registrant. */
1465
+ name: string;
1466
+ /** Human-readable name for the model. */
1467
+ displayName: string;
1468
+ /** Description of the model. */
1469
+ description: string;
1470
+ /** Status of model, including:
1471
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
1472
+ - maintenance: model is unavailable for a period of time.
1473
+ - enabled: model is available for use for all users of this Meshery Server.
1474
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
1475
+ status: "ignored" | "enabled" | "duplicate";
1476
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
1477
+ registrant: {
1478
+ /** ID */
1479
+ id?: string;
1480
+ /** Connection Name */
1481
+ name?: string;
1482
+ /** Credential ID */
1483
+ credential_id?: string;
1484
+ /** Connection Type */
1485
+ type: string;
1486
+ /** Connection Subtype */
1487
+ sub_type?: string;
1488
+ /** Connection Kind */
1489
+ kind: string;
1490
+ metadata?: object;
1491
+ /** Connection Status */
1492
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
1493
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1494
+ user_id?: string;
1495
+ created_at?: string;
1496
+ updated_at?: string;
1497
+ deleted_at?: string;
1498
+ };
1499
+ /** ID of the registrant. */
1500
+ registrantId: string;
1501
+ /** ID of the category. */
1502
+ categoryId: string;
1503
+ /** Category of the model. */
1504
+ category: {
1505
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1506
+ id: string;
1507
+ /** The category of the model that determines the main grouping. */
1508
+ name: "Analytics" | "App Definition and Development" | "Cloud Native Network" | "Cloud Native Storage" | "Database" | "Machine Learning" | "Observability and Analysis" | "Orchestration & Management" | "Platform" | "Provisioning" | "Runtime" | "Security & Compliance" | "Serverless" | "Tools" | "Uncategorized";
1509
+ metadata: object;
1510
+ };
1511
+ /** Sub category of the model determines the secondary grouping. */
1512
+ subCategory: "API Gateway" | "API Integration" | "Application Definition & Image Build" | "Automation & Configuration" | "Certified Kubernetes - Distribution" | "Chaos Engineering" | "Cloud Native Storage" | "Cloud Provider" | "CNI" | "Compute" | "Container Registry" | "Container Runtime" | "Container Security" | "Container" | "Content Delivery Network" | "Continuous Integration & Delivery" | "Coordination & Service Discovery" | "Database" | "Flowchart" | "Framework" | "Installable Platform" | "Key Management" | "Key Management Service" | "Kubernetes" | "Logging" | "Machine Learning" | "Management Governance" | "Metrics" | "Monitoring" | "Networking Content Delivery" | "Operating System" | "Query" | "Remote Procedure Call" | "Scheduling & Orchestration" | "Secrets Management" | "Security Identity & Compliance" | "Service Mesh" | "Service Proxy" | "Source Version Control" | "Storage" | "Specifications" | "Streaming & Messaging" | "Tools" | "Tracing" | "Uncategorized" | "Video Conferencing";
1513
+ /** Metadata containing additional information associated with the model. */
1514
+ metadata?: {
1515
+ /** Capabilities associated with the model */
1516
+ capabilities?: {
1517
+ /** Specifies the version of the schema to which the capability definition conforms. */
1518
+ schemaVersion: string;
1519
+ /** Version of the capability definition. */
1520
+ version: string;
1521
+ /** Name of the capability in human-readible format. */
1522
+ displayName: string;
1523
+ /** A written representation of the purpose and characteristics of the capability. */
1524
+ description: string;
1525
+ /** Top-level categorization of the capability */
1526
+ kind: "action" | "mutate" | "view" | "interaction";
1527
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1528
+ type: string;
1529
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1530
+ subType: string;
1531
+ /** Key that backs the capability. */
1532
+ key: string;
1533
+ /** State of the entity in which the capability is applicable. */
1534
+ entityState: ("declaration" | "instance")[];
1535
+ /** Status of the capability */
1536
+ status: "enabled" | "disabled";
1537
+ /** Metadata contains additional information associated with the capability. Extension point. */
1538
+ metadata?: {
1539
+ [key: string]: any;
1540
+ };
1541
+ }[];
1542
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
1543
+ isAnnotation?: boolean;
1544
+ /** Primary color associated with the model. */
1545
+ primaryColor?: string;
1546
+ /** Secondary color associated with the model. */
1547
+ secondaryColor?: string;
1548
+ /** SVG representation of the model in white color. */
1549
+ svgWhite: string;
1550
+ /** SVG representation of the model in colored format. */
1551
+ svgColor: string;
1552
+ /** SVG representation of the complete model. */
1553
+ svgComplete?: string;
1554
+ /** The shape of the node’s body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes) */
1555
+ shape?: "circle" | "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
1556
+ [key: string]: any;
1557
+ };
1558
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1559
+ model: {
1560
+ /** Version of the model as defined by the registrant. */
1561
+ version: string;
1562
+ };
1563
+ relationships: any;
1564
+ components: any;
1565
+ /** Number of components associated with the model. */
1566
+ componentsCount: number;
1567
+ /** Number of relationships associated with the model. */
1568
+ relationshipsCount: number;
1569
+ };
1570
+ /** ModelId is the foreign key to the model to which the component belongs. */
1571
+ modelId: string;
1572
+ /** Visualization styles for a component */
1573
+ styles?: {
1574
+ /** Primary color of the component used for UI representation. */
1575
+ primaryColor: string;
1576
+ /** Secondary color of the entity used for UI representation. */
1577
+ secondaryColor?: string;
1578
+ /** White SVG of the entity used for UI representation on dark background. */
1579
+ svgWhite: string;
1580
+ /** Colored SVG of the entity used for UI representation on light background. */
1581
+ svgColor: string;
1582
+ /** Complete SVG of the entity used for UI representation, often inclusive of background. */
1583
+ svgComplete: string;
1584
+ /** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
1585
+ color?: string;
1586
+ /** The opacity of the label text, including its outline. */
1587
+ "text-opacity"?: number;
1588
+ /** A comma-separated list of font names to use on the label text. */
1589
+ "font-family"?: string;
1590
+ /** The size of the label text. */
1591
+ "font-size"?: string;
1592
+ /** A CSS font style to be applied to the label text. */
1593
+ "font-style"?: string;
1594
+ /** A CSS font weight to be applied to the label text. */
1595
+ "font-weight"?: string;
1596
+ /** A transformation to apply to the label text */
1597
+ "text-transform"?: "none" | "uppercase" | "lowercase";
1598
+ /** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children. */
1599
+ opacity?: number;
1600
+ /** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
1601
+ "z-index"?: number;
1602
+ /** The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
1603
+ label?: string;
1604
+ /** The animation to apply to the element. example ripple,bounce,etc */
1605
+ animation?: object;
1606
+ [key: string]: any;
1607
+ } & {
1608
+ /** The shape of the node's body. Note that each shape fits within the specified width and height, and so you may have to adjust width and height if you desire an equilateral shape (i.e. width !== height for several equilateral shapes) */
1609
+ shape: "ellipse" | "triangle" | "round-triangle" | "rectangle" | "round-rectangle" | "bottom-round-rectangle" | "cut-rectangle" | "barrel" | "rhomboid" | "diamond" | "round-diamond" | "pentagon" | "round-pentagon" | "hexagon" | "round-hexagon" | "concave-hexagon" | "heptagon" | "round-heptagon" | "octagon" | "round-octagon" | "star" | "tag" | "round-tag" | "vee" | "polygon";
1610
+ /** The position of the node. If the position is set, the node is drawn at that position in the given dimensions. If the position is not set, the node is drawn at a random position. */
1611
+ position?: {
1612
+ /** The x-coordinate of the node. */
1613
+ x: number;
1614
+ /** The y-coordinate of the node. */
1615
+ y: number;
1616
+ };
1617
+ /** The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id */
1618
+ "body-text"?: string;
1619
+ /** How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'. */
1620
+ "body-text-wrap"?: string;
1621
+ /** The maximum width for wrapping text in the node. */
1622
+ "body-text-max-width"?: string;
1623
+ /** The opacity of the node's body text, including its outline. */
1624
+ "body-text-opacity"?: number;
1625
+ /** The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g. */
1626
+ "body-text-background-color"?: string;
1627
+ /** The size of the node's body text. */
1628
+ "body-text-font-size"?: number;
1629
+ /** The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g. */
1630
+ "body-text-color"?: string;
1631
+ /** A CSS font weight to be applied to the node's body text. */
1632
+ "body-text-font-weight"?: string;
1633
+ /** A CSS horizontal alignment to be applied to the node's body text. */
1634
+ "body-text-horizontal-align"?: string;
1635
+ /** A CSS text decoration to be applied to the node's body text. */
1636
+ "body-text-decoration"?: string;
1637
+ /** A CSS vertical alignment to be applied to the node's body text. */
1638
+ "body-text-vertical-align"?: string;
1639
+ /** The width of the node's body or the width of an edge's line. */
1640
+ width?: number;
1641
+ /** The height of the node's body */
1642
+ height?: number;
1643
+ /** The URL that points to the image to show in the node. */
1644
+ "background-image"?: string;
1645
+ /** The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g. */
1646
+ "background-color"?: string;
1647
+ /** Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1. */
1648
+ "background-blacken"?: number;
1649
+ /** The opacity level of the node's background colour */
1650
+ "background-opacity"?: number;
1651
+ /** The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
1652
+ "background-position-x"?: string;
1653
+ /** The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
1654
+ "background-position-y"?: string;
1655
+ /** The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
1656
+ "background-offset-x"?: string;
1657
+ /** The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
1658
+ "background-offset-y"?: string;
1659
+ /** How the background image is fit to the node. Can be 'none', 'contain', or 'cover'. */
1660
+ "background-fit"?: string;
1661
+ /** How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'. */
1662
+ "background-clip"?: string;
1663
+ /** How the background image's width is determined. Can be 'none', 'inner', or 'outer'. */
1664
+ "background-width-relative-to"?: string;
1665
+ /** How the background image's height is determined. Can be 'none', 'inner', or 'outer'. */
1666
+ "background-height-relative-to"?: string;
1667
+ /** The size of the node's border. */
1668
+ "border-width"?: number;
1669
+ /** The style of the node's border */
1670
+ "border-style"?: "solid" | "dotted" | "dashed" | "double";
1671
+ /** The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g. */
1672
+ "border-color"?: string;
1673
+ /** The opacity of the node's border */
1674
+ "border-opacity"?: number;
1675
+ /** The amount of padding around all sides of the node. */
1676
+ padding?: number;
1677
+ /** The horizontal alignment of a node's label */
1678
+ "text-halign"?: "left" | "center" | "right";
1679
+ /** The vertical alignment of a node's label */
1680
+ "text-valign"?: "top" | "center" | "bottom";
1681
+ /** Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset. */
1682
+ ghost?: "yes" | "no";
1683
+ /** The colour of the indicator shown when the background is grabbed by the user. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
1684
+ "active-bg-color"?: string;
1685
+ /** The opacity of the active background indicator. Selector needs to be *core*. */
1686
+ "active-bg-opacity"?: string;
1687
+ /** The opacity of the active background indicator. Selector needs to be *core*. */
1688
+ "active-bg-size"?: string;
1689
+ /** The background colour of the selection box used for drag selection. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
1690
+ "selection-box-color"?: string;
1691
+ /** The size of the border on the selection box. Selector needs to be *core* */
1692
+ "selection-box-border-width"?: number;
1693
+ /** The opacity of the selection box. Selector needs to be *core* */
1694
+ "selection-box-opacity"?: number;
1695
+ /** The colour of the area outside the viewport texture when initOptions.textureOnViewport === true. Selector needs to be *core*. Colours may be specified by name (e.g. red), hex (e.g. */
1696
+ "outside-texture-bg-color"?: string;
1697
+ /** The opacity of the area outside the viewport texture. Selector needs to be *core* */
1698
+ "outside-texture-bg-opacity"?: number;
1699
+ /** An array (or a space-separated string) of numbers ranging on [-1, 1], representing alternating x and y values (i.e. x1 y1 x2 y2, x3 y3 ...). This represents the points in the polygon for the node's shape. The bounding box of the node is given by (-1, -1), (1, -1), (1, 1), (-1, 1). The node's position is the origin (0, 0 ) */
1700
+ "shape-polygon-points"?: string;
1701
+ /** The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
1702
+ "menu-background-color"?: string;
1703
+ /** The opacity of the background of the component menu. */
1704
+ "menu-background-opacity"?: number;
1705
+ /** The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
1706
+ "menu-forground-color"?: string;
1707
+ };
1708
+ /** Meshery manages components in accordance with their specific capabilities. This field explicitly identifies those capabilities largely by what actions a given component supports; e.g. metric-scrape, sub-interface, and so on. This field is extensible. ComponentDefinitions may define a broad array of capabilities, which are in-turn dynamically interpretted by Meshery for full lifecycle management. */
1709
+ capabilities?: {
1710
+ /** Specifies the version of the schema to which the capability definition conforms. */
1711
+ schemaVersion: string;
1712
+ /** Version of the capability definition. */
1713
+ version: string;
1714
+ /** Name of the capability in human-readible format. */
1715
+ displayName: string;
1716
+ /** A written representation of the purpose and characteristics of the capability. */
1717
+ description: string;
1718
+ /** Top-level categorization of the capability */
1719
+ kind: "action" | "mutate" | "view" | "interaction";
1720
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1721
+ type: string;
1722
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1723
+ subType: string;
1724
+ /** Key that backs the capability. */
1725
+ key: string;
1726
+ /** State of the entity in which the capability is applicable. */
1727
+ entityState: ("declaration" | "instance")[];
1728
+ /** Status of the capability */
1729
+ status: "enabled" | "disabled";
1730
+ /** Metadata contains additional information associated with the capability. Extension point. */
1731
+ metadata?: {
1732
+ [key: string]: any;
1733
+ };
1734
+ }[];
1735
+ /** Status of component, including:
1736
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
1737
+ - maintenance: model is unavailable for a period of time.
1738
+ - enabled: model is available for use for all users of this Meshery Server.
1739
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
1740
+ status?: "ignored" | "enabled" | "duplicate" | "resolved" | "open";
1741
+ /** Metadata contains additional information associated with the component. */
1742
+ metadata: {
1743
+ /** Genealogy represents the various representational states of the component. */
1744
+ genealogy: string;
1745
+ /** Identifies whether the component is semantically meaningful or not; identifies whether the component should be treated as deployable entity or is for purposes of logical representation. */
1746
+ isAnnotation: boolean;
1747
+ /** Identifies whether the component is scoped to namespace or clsuter wide. */
1748
+ isNamespaced: boolean;
1749
+ /** 'published' controls whether the component should be registered in Meshery Registry. When the same 'published' property in Models, is set to 'false', the Model property takes precedence with all Entities in the Model not being registered. */
1750
+ published: boolean;
1751
+ /** InstanceDetails contains information about the instance of the component. */
1752
+ instanceDetails: object;
1753
+ /** Defines the UI schema for rendering the component's configuration. For more details, visit: https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema/ . */
1754
+ configurationUISchema: string;
1755
+ [key: string]: any;
1756
+ };
1757
+ /** The configuration of the component. The configuration is based on the schema defined within the component definition(component.schema). */
1758
+ configuration: object;
1759
+ /** data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an */
1760
+ component: {
1761
+ /** Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod. */
1762
+ version: string;
1763
+ /** The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'. */
1764
+ kind: string;
1765
+ /** JSON schema of the object as defined by the registrant. */
1766
+ schema: string;
1767
+ };
1768
+ }[];
1769
+ /** Design-level preferences */
1770
+ preferences?: {
1771
+ /** List of available layers */
1772
+ layers: object;
1773
+ };
1774
+ /** List of relationships between components */
1775
+ relationships: {
1776
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
1777
+ id?: string;
1778
+ /** Specifies the version of the schema used for the relationship definition. */
1779
+ schemaVersion: string;
1780
+ /** A valid semantic version string between 5 and 256 characters. The pattern allows for a major.minor.patch version followed by an optional pre-release tag like '-alpha' or '-beta.2' and an optional build metadata tag like '+build.1. */
1781
+ version: string;
1782
+ /** Name of the model in which this relationship is packaged. */
1783
+ model: {
1784
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
1785
+ id?: string;
1786
+ /** Specifies the version of the schema used for the definition. */
1787
+ schemaVersion?: string;
1788
+ /** Version of the model definition. */
1789
+ version: string;
1790
+ /** The unique name for the model within the scope of a registrant. */
1791
+ name: string;
1792
+ /** Human-readable name for the model. */
1793
+ displayName?: string;
1794
+ /** Description of the model. */
1795
+ description?: string;
1796
+ /** Status of model, including:
1797
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
1798
+ - maintenance: model is unavailable for a period of time.
1799
+ - enabled: model is available for use for all users of this Meshery Server.
1800
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
1801
+ status?: "ignored" | "enabled" | "duplicate";
1802
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
1803
+ registrant: {
1804
+ /** ID */
1805
+ id?: string;
1806
+ /** Connection Name */
1807
+ name?: string;
1808
+ /** Credential ID */
1809
+ credential_id?: string;
1810
+ /** Connection Type */
1811
+ type: string;
1812
+ /** Connection Subtype */
1813
+ sub_type?: string;
1814
+ /** Connection Kind */
1815
+ kind: string;
1816
+ metadata?: object;
1817
+ /** Connection Status */
1818
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
1819
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1820
+ user_id?: string;
1821
+ created_at?: string;
1822
+ updated_at?: string;
1823
+ deleted_at?: string;
1824
+ };
1825
+ /** Category of the model. */
1826
+ category: {
1827
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
1828
+ id?: string;
1829
+ name?: string;
1830
+ metadata?: object;
1831
+ };
1832
+ /** Sub-category of the model. */
1833
+ subCategory?: string;
1834
+ /** Metadata containing additional information associated with the model. */
1835
+ metadata?: {
1836
+ /** Capabilities associated with the model */
1837
+ capabilities?: {
1838
+ /** Specifies the version of the schema to which the capability definition conforms. */
1839
+ schemaVersion: string;
1840
+ /** Version of the capability definition. */
1841
+ version: string;
1842
+ /** Name of the capability in human-readible format. */
1843
+ displayName: string;
1844
+ /** A written representation of the purpose and characteristics of the capability. */
1845
+ description?: string;
1846
+ /** Top-level categorization of the capability */
1847
+ kind: "action" | "mutate" | "view" | "interaction";
1848
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1849
+ type: string;
1850
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1851
+ subType?: "inventory" | "matchLabels" | "permission" | "network" | "firewall" | "mount" | "alias" | "annotation";
1852
+ /** Key that backs the capability. */
1853
+ key?: string;
1854
+ /** State of the entity in which the capability is applicable. */
1855
+ entityState: ("declaration" | "instance")[];
1856
+ /** Status of the capability */
1857
+ status: "enabled" | "disabled";
1858
+ /** Metadata contains additional information associated with the capability. Extension point. */
1859
+ metadata?: {
1860
+ [key: string]: any;
1861
+ };
1862
+ }[];
1863
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
1864
+ isAnnotation?: boolean;
1865
+ /** Primary color associated with the model. */
1866
+ primaryColor?: string;
1867
+ /** Secondary color associated with the model. */
1868
+ secondaryColor?: string;
1869
+ /** SVG representation of the model in white color. */
1870
+ svgWhite?: string;
1871
+ /** SVG representation of the model in colored format. */
1872
+ svgColor?: string;
1873
+ /** SVG representation of the complete model. */
1874
+ svgComplete?: string;
1875
+ [key: string]: any;
1876
+ };
1877
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
1878
+ model?: {
1879
+ /** Version of the model as defined by the registrant. */
1880
+ version: string;
1881
+ };
1882
+ };
1883
+ /** Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships. */
1884
+ kind: "hierarchical" | "edge" | "sibling";
1885
+ /** Classification of relationships. Used to group relationships similar in nature. */
1886
+ type: string;
1887
+ /** Most granular unit of relationship classification. The combination of Kind, Type and SubType together uniquely identify a Relationship. */
1888
+ subType: string;
1889
+ /** Status of the relationship. */
1890
+ status?: "pending" | "approved" | "ignored" | "enabled" | "deleted";
1891
+ /** Optional. Assigns the policy to be used for the evaluation of the relationship. Deprecation Notice: In the future, this property is either to be removed or to it is to be an array of optional policy $refs. */
1892
+ evaluationQuery?: string;
1893
+ /** Capabilities associated with the relationship. */
1894
+ capabilities?: {
1895
+ /** Specifies the version of the schema to which the capability definition conforms. */
1896
+ schemaVersion: string;
1897
+ /** Version of the capability definition. */
1898
+ version: string;
1899
+ /** Name of the capability in human-readible format. */
1900
+ displayName: string;
1901
+ /** A written representation of the purpose and characteristics of the capability. */
1902
+ description?: string;
1903
+ /** Top-level categorization of the capability */
1904
+ kind: "action" | "mutate" | "view" | "interaction";
1905
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
1906
+ type: string;
1907
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
1908
+ subType?: string;
1909
+ /** Key that backs the capability. */
1910
+ key?: string;
1911
+ /** State of the entity in which the capability is applicable. */
1912
+ entityState: ("declaration" | "instance")[];
1913
+ /** Status of the capability */
1914
+ status: "enabled" | "disabled";
1915
+ /** Metadata contains additional information associated with the capability. Extension point. */
1916
+ metadata?: {
1917
+ [key: string]: any;
1918
+ };
1919
+ }[];
1920
+ /** Metadata contains additional information associated with the Relationship. */
1921
+ metadata?: {
1922
+ /** Characterization of the meaning of the relationship and its relevance to both Meshery and entities under management. */
1923
+ description?: string;
1924
+ /** Indicates whether the relationship should be treated as a logical representation only */
1925
+ isAnnotation?: boolean;
1926
+ styles?: ({
1927
+ /** Primary color of the component used for UI representation. */
1928
+ primaryColor: string;
1929
+ /** Secondary color of the entity used for UI representation. */
1930
+ secondaryColor?: string;
1931
+ /** White SVG of the entity used for UI representation on dark background. */
1932
+ svgWhite: string;
1933
+ /** Colored SVG of the entity used for UI representation on light background. */
1934
+ svgColor: string;
1935
+ /** Complete SVG of the entity used for UI representation, often inclusive of background. */
1936
+ svgComplete?: string;
1937
+ /** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
1938
+ color?: string;
1939
+ /** The opacity of the label text, including its outline. */
1940
+ "text-opacity"?: number;
1941
+ /** A comma-separated list of font names to use on the label text. */
1942
+ "font-family"?: string;
1943
+ /** The size of the label text. */
1944
+ "font-size"?: string;
1945
+ /** A CSS font style to be applied to the label text. */
1946
+ "font-style"?: string;
1947
+ /** A CSS font weight to be applied to the label text. */
1948
+ "font-weight"?: string;
1949
+ /** A transformation to apply to the label text */
1950
+ "text-transform"?: "none" | "uppercase" | "lowercase";
1951
+ /** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.See https://js.cytoscape.org/#style/visibility */
1952
+ opacity?: number;
1953
+ /** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
1954
+ "z-index"?: number;
1955
+ /** The text to display for an element’s label. Can give a path, e.g. data(id) will label with the elements id */
1956
+ label?: string;
1957
+ } & {
1958
+ /** The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
1959
+ "edge-animation"?: string;
1960
+ /** The curving method used to separate two or more edges between two nodes; may be haystack (very fast, bundled straight edges for which loops and compounds are unsupported), straight (straight edges with all arrows supported), bezier (bundled curved edges), unbundled-bezier (curved edges for use with manual control points), segments (a series of straight lines), taxi (right-angled lines, hierarchically bundled). Note that haystack edges work best with ellipse, rectangle, or similar nodes. Smaller node shapes, like triangle, will not be as aesthetically pleasing. Also note that edge endpoint arrows are unsupported for haystack edges. */
1961
+ "curve-style"?: "straight" | "haystack" | "bezier" | "unbundled-bezier" | "segments" | "taxi";
1962
+ /** The colour of the edge’s line. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
1963
+ "line-color"?: string;
1964
+ /** The style of the edge’s line. */
1965
+ "line-style"?: "solid" | "dotted" | "dashed";
1966
+ /** The cap style of the edge’s line; may be butt (default), round, or square. The cap may or may not be visible, depending on the shape of the node and the relative size of the node and edge. Caps other than butt extend beyond the specified endpoint of the edge. */
1967
+ "line-cap"?: "butt" | "round" | "square";
1968
+ /** The opacity of the edge’s line and arrow. Useful if you wish to have a separate opacity for the edge label versus the edge line. Note that the opacity value of the edge element affects the effective opacity of its line and label subcomponents. */
1969
+ "line-opacity"?: number;
1970
+ /** The colour of the edge’s source arrow. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
1971
+ "target-arrow-color"?: string;
1972
+ /** The shape of the edge’s source arrow */
1973
+ "target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
1974
+ /** The fill state of the edge’s source arrow */
1975
+ "target-arrow-fill"?: "filled" | "hollow";
1976
+ /** The colour of the edge’s source arrow. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
1977
+ "mid-target-arrow-color"?: string;
1978
+ /** The shape of the edge’s source arrow */
1979
+ "mid-target-arrow-shape"?: "triangle" | "triangle-tee" | "circle-triangle" | "triangle-cross" | "triangle-backcurve" | "vee" | "tee" | "square" | "circle" | "diamond" | "chevron" | "none";
1980
+ /** The fill state of the edge’s source arrow */
1981
+ "mid-target-arrow-fill"?: "filled" | "hollow";
1982
+ /** Scaling for the arrow size. */
1983
+ "arrow-scale"?: number;
1984
+ /** The text to display for an edge’s source label. Can give a path, e.g. data(id) will label with the elements id */
1985
+ "source-label"?: string;
1986
+ /** The text to display for an edge’s target label. Can give a path, e.g. data(id) will label with the elements id */
1987
+ "target-label"?: string;
1988
+ }) | {
1989
+ /** Primary color of the component used for UI representation. */
1990
+ primaryColor: string;
1991
+ /** Secondary color of the entity used for UI representation. */
1992
+ secondaryColor?: string;
1993
+ /** White SVG of the entity used for UI representation on dark background. */
1994
+ svgWhite: string;
1995
+ /** Colored SVG of the entity used for UI representation on light background. */
1996
+ svgColor: string;
1997
+ /** Complete SVG of the entity used for UI representation, often inclusive of background. */
1998
+ svgComplete?: string;
1999
+ /** The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. #ff0000 or #f00), RGB (e.g. rgb(255, 0, 0)), or HSL (e.g. hsl(0, 100%, 50%)). */
2000
+ color?: string;
2001
+ /** The opacity of the label text, including its outline. */
2002
+ "text-opacity"?: number;
2003
+ /** A comma-separated list of font names to use on the label text. */
2004
+ "font-family"?: string;
2005
+ /** The size of the label text. */
2006
+ "font-size"?: string;
2007
+ /** A CSS font style to be applied to the label text. */
2008
+ "font-style"?: string;
2009
+ /** A CSS font weight to be applied to the label text. */
2010
+ "font-weight"?: string;
2011
+ /** A transformation to apply to the label text */
2012
+ "text-transform"?: "none" | "uppercase" | "lowercase";
2013
+ /** The opacity of the element, ranging from 0 to 1. Note that the opacity of a compound node parent affects the effective opacity of its children.See https://js.cytoscape.org/#style/visibility */
2014
+ opacity?: number;
2015
+ /** An integer value that affects the relative draw order of elements. In general, an element with a higher z-index will be drawn on top of an element with a lower z-index. Note that edges are under nodes despite z-index. */
2016
+ "z-index"?: number;
2017
+ /** The text to display for an element’s label. Can give a path, e.g. data(id) will label with the elements id */
2018
+ label?: string;
2019
+ };
2020
+ [key: string]: any;
2021
+ };
2022
+ /** Selectors are organized as an array, with each item containing a distinct set of selectors that share a common functionality. This structure allows for flexibility in defining relationships, even when different components are involved. */
2023
+ selectors?: {
2024
+ /** Optional selectors used to define relationships which should not be created / is restricted. */
2025
+ deny?: {
2026
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
2027
+ from: {
2028
+ kind?: string;
2029
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
2030
+ model?: {
2031
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
2032
+ id?: string;
2033
+ /** Specifies the version of the schema used for the definition. */
2034
+ schemaVersion?: string;
2035
+ /** Version of the model definition. */
2036
+ version: string;
2037
+ /** The unique name for the model within the scope of a registrant. */
2038
+ name: string;
2039
+ /** Human-readable name for the model. */
2040
+ displayName?: string;
2041
+ /** Description of the model. */
2042
+ description?: string;
2043
+ /** Status of model, including:
2044
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
2045
+ - maintenance: model is unavailable for a period of time.
2046
+ - enabled: model is available for use for all users of this Meshery Server.
2047
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
2048
+ status?: "ignored" | "enabled" | "duplicate";
2049
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
2050
+ registrant: {
2051
+ /** ID */
2052
+ id?: string;
2053
+ /** Connection Name */
2054
+ name?: string;
2055
+ /** Credential ID */
2056
+ credential_id?: string;
2057
+ /** Connection Type */
2058
+ type: string;
2059
+ /** Connection Subtype */
2060
+ sub_type?: string;
2061
+ /** Connection Kind */
2062
+ kind: string;
2063
+ metadata?: object;
2064
+ /** Connection Status */
2065
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
2066
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2067
+ user_id?: string;
2068
+ created_at?: string;
2069
+ updated_at?: string;
2070
+ deleted_at?: string;
2071
+ };
2072
+ /** Category of the model. */
2073
+ category: {
2074
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2075
+ id?: string;
2076
+ name?: string;
2077
+ metadata?: object;
2078
+ };
2079
+ /** Sub-category of the model. */
2080
+ subCategory?: string;
2081
+ /** Metadata containing additional information associated with the model. */
2082
+ metadata?: {
2083
+ /** Capabilities associated with the model */
2084
+ capabilities?: {
2085
+ /** Specifies the version of the schema to which the capability definition conforms. */
2086
+ schemaVersion: string;
2087
+ /** Version of the capability definition. */
2088
+ version: string;
2089
+ /** Name of the capability in human-readible format. */
2090
+ displayName: string;
2091
+ /** A written representation of the purpose and characteristics of the capability. */
2092
+ description?: string;
2093
+ /** Top-level categorization of the capability */
2094
+ kind: "action" | "mutate" | "view" | "interaction";
2095
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
2096
+ type: string;
2097
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2098
+ subType?: string;
2099
+ /** Key that backs the capability. */
2100
+ key?: string;
2101
+ /** State of the entity in which the capability is applicable. */
2102
+ entityState: ("declaration" | "instance")[];
2103
+ /** Status of the capability */
2104
+ status: "enabled" | "disabled";
2105
+ /** Metadata contains additional information associated with the capability. Extension point. */
2106
+ metadata?: {
2107
+ [key: string]: any;
2108
+ };
2109
+ }[];
2110
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
2111
+ isAnnotation?: boolean;
2112
+ /** Primary color associated with the model. */
2113
+ primaryColor?: string;
2114
+ /** Secondary color associated with the model. */
2115
+ secondaryColor?: string;
2116
+ /** SVG representation of the model in white color. */
2117
+ svgWhite?: string;
2118
+ /** SVG representation of the model in colored format. */
2119
+ svgColor?: string;
2120
+ /** SVG representation of the complete model. */
2121
+ svgComplete?: string;
2122
+ [key: string]: any;
2123
+ };
2124
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
2125
+ model?: {
2126
+ /** Version of the model as defined by the registrant. */
2127
+ version: string;
2128
+ };
2129
+ };
2130
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2131
+ id?: string;
2132
+ match?: string[][] | {
2133
+ from?: ({
2134
+ kind?: string;
2135
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2136
+ id?: string;
2137
+ } & ({
2138
+ /** JSON ref to value from where patch should be applied. */
2139
+ mutatorRef?: string[][];
2140
+ } | {
2141
+ mutatedRef?: string[][];
2142
+ }))[];
2143
+ to?: ({
2144
+ kind?: string;
2145
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2146
+ id?: string;
2147
+ } & ({
2148
+ /** JSON ref to value from where patch should be applied. */
2149
+ mutatorRef?: string[][];
2150
+ } | {
2151
+ mutatedRef?: string[][];
2152
+ }))[];
2153
+ };
2154
+ patch?: {
2155
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
2156
+
2157
+ add: Inserts a value into an array or adds a member to an object.
2158
+ replace: Replaces a value.
2159
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
2160
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
2161
+ remove: Removes a value.
2162
+ copy: Copies a value from one location to another.
2163
+ move: Moves a value from one location to another.
2164
+ test: Tests that a value at the target location is equal to a specified value. */
2165
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
2166
+ } & ({
2167
+ /** JSON ref to value from where patch should be applied. */
2168
+ mutatorRef?: string[][];
2169
+ } | {
2170
+ mutatedRef?: string[][];
2171
+ });
2172
+ }[];
2173
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
2174
+ to: {
2175
+ kind?: string;
2176
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
2177
+ model?: {
2178
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
2179
+ id?: string;
2180
+ /** Specifies the version of the schema used for the definition. */
2181
+ schemaVersion?: string;
2182
+ /** Version of the model definition. */
2183
+ version: string;
2184
+ /** The unique name for the model within the scope of a registrant. */
2185
+ name: string;
2186
+ /** Human-readable name for the model. */
2187
+ displayName?: string;
2188
+ /** Description of the model. */
2189
+ description?: string;
2190
+ /** Status of model, including:
2191
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
2192
+ - maintenance: model is unavailable for a period of time.
2193
+ - enabled: model is available for use for all users of this Meshery Server.
2194
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
2195
+ status?: "ignored" | "enabled" | "duplicate";
2196
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
2197
+ registrant: {
2198
+ /** ID */
2199
+ id?: string;
2200
+ /** Connection Name */
2201
+ name?: string;
2202
+ /** Credential ID */
2203
+ credential_id?: string;
2204
+ /** Connection Type */
2205
+ type: string;
2206
+ /** Connection Subtype */
2207
+ sub_type?: string;
2208
+ /** Connection Kind */
2209
+ kind: string;
2210
+ metadata?: object;
2211
+ /** Connection Status */
2212
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
2213
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2214
+ user_id?: string;
2215
+ created_at?: string;
2216
+ updated_at?: string;
2217
+ deleted_at?: string;
2218
+ };
2219
+ /** Category of the model. */
2220
+ category: {
2221
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2222
+ id?: string;
2223
+ name?: string;
2224
+ metadata?: object;
2225
+ };
2226
+ /** Sub-category of the model. */
2227
+ subCategory?: string;
2228
+ /** Metadata containing additional information associated with the model. */
2229
+ metadata?: {
2230
+ /** Capabilities associated with the model */
2231
+ capabilities?: {
2232
+ /** Specifies the version of the schema to which the capability definition conforms. */
2233
+ schemaVersion: string;
2234
+ /** Version of the capability definition. */
2235
+ version: string;
2236
+ /** Name of the capability in human-readible format. */
2237
+ displayName: string;
2238
+ /** A written representation of the purpose and characteristics of the capability. */
2239
+ description?: string;
2240
+ /** Top-level categorization of the capability */
2241
+ kind: "action" | "mutate" | "view" | "interaction";
2242
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
2243
+ type: string;
2244
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2245
+ subType?: string;
2246
+ /** Key that backs the capability. */
2247
+ key?: string;
2248
+ /** State of the entity in which the capability is applicable. */
2249
+ entityState: ("declaration" | "instance")[];
2250
+ /** Status of the capability */
2251
+ status: "enabled" | "disabled";
2252
+ /** Metadata contains additional information associated with the capability. Extension point. */
2253
+ metadata?: {
2254
+ [key: string]: any;
2255
+ };
2256
+ }[];
2257
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
2258
+ isAnnotation?: boolean;
2259
+ /** Primary color associated with the model. */
2260
+ primaryColor?: string;
2261
+ /** Secondary color associated with the model. */
2262
+ secondaryColor?: string;
2263
+ /** SVG representation of the model in white color. */
2264
+ svgWhite?: string;
2265
+ /** SVG representation of the model in colored format. */
2266
+ svgColor?: string;
2267
+ /** SVG representation of the complete model. */
2268
+ svgComplete?: string;
2269
+ [key: string]: any;
2270
+ };
2271
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
2272
+ model?: {
2273
+ /** Version of the model as defined by the registrant. */
2274
+ version: string;
2275
+ };
2276
+ };
2277
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2278
+ id?: string;
2279
+ match?: string[][] | {
2280
+ from?: ({
2281
+ kind?: string;
2282
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2283
+ id?: string;
2284
+ } & ({
2285
+ /** JSON ref to value from where patch should be applied. */
2286
+ mutatorRef?: string[][];
2287
+ } | {
2288
+ mutatedRef?: string[][];
2289
+ }))[];
2290
+ to?: ({
2291
+ kind?: string;
2292
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2293
+ id?: string;
2294
+ } & ({
2295
+ /** JSON ref to value from where patch should be applied. */
2296
+ mutatorRef?: string[][];
2297
+ } | {
2298
+ mutatedRef?: string[][];
2299
+ }))[];
2300
+ };
2301
+ patch?: {
2302
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
2303
+
2304
+ add: Inserts a value into an array or adds a member to an object.
2305
+ replace: Replaces a value.
2306
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
2307
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
2308
+ remove: Removes a value.
2309
+ copy: Copies a value from one location to another.
2310
+ move: Moves a value from one location to another.
2311
+ test: Tests that a value at the target location is equal to a specified value. */
2312
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
2313
+ } & ({
2314
+ /** JSON ref to value from where patch should be applied. */
2315
+ mutatorRef?: string[][];
2316
+ } | {
2317
+ mutatedRef?: string[][];
2318
+ });
2319
+ }[];
2320
+ };
2321
+ /** Selectors used to define relationships which are allowed. */
2322
+ allow: {
2323
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
2324
+ from: {
2325
+ kind?: string;
2326
+ /** Strategy criterion for determing how to match the values at mutator/mutated paths */
2327
+ match_strategy_matrix?: string[][];
2328
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
2329
+ model?: {
2330
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
2331
+ id?: string;
2332
+ /** Specifies the version of the schema used for the definition. */
2333
+ schemaVersion?: string;
2334
+ /** Version of the model definition. */
2335
+ version: string;
2336
+ /** The unique name for the model within the scope of a registrant. */
2337
+ name: string;
2338
+ /** Human-readable name for the model. */
2339
+ displayName?: string;
2340
+ /** Description of the model. */
2341
+ description?: string;
2342
+ /** Status of model, including:
2343
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
2344
+ - maintenance: model is unavailable for a period of time.
2345
+ - enabled: model is available for use for all users of this Meshery Server.
2346
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
2347
+ status?: "ignored" | "enabled" | "duplicate";
2348
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
2349
+ registrant: {
2350
+ /** ID */
2351
+ id?: string;
2352
+ /** Connection Name */
2353
+ name?: string;
2354
+ /** Credential ID */
2355
+ credential_id?: string;
2356
+ /** Connection Type */
2357
+ type: string;
2358
+ /** Connection Subtype */
2359
+ sub_type?: string;
2360
+ /** Connection Kind */
2361
+ kind: string;
2362
+ metadata?: object;
2363
+ /** Connection Status */
2364
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
2365
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2366
+ user_id?: string;
2367
+ created_at?: string;
2368
+ updated_at?: string;
2369
+ deleted_at?: string;
2370
+ };
2371
+ /** Category of the model. */
2372
+ category: {
2373
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2374
+ id?: string;
2375
+ name?: string;
2376
+ metadata?: object;
2377
+ };
2378
+ /** Sub-category of the model. */
2379
+ subCategory?: string;
2380
+ /** Metadata containing additional information associated with the model. */
2381
+ metadata?: {
2382
+ /** Capabilities associated with the model */
2383
+ capabilities?: {
2384
+ /** Specifies the version of the schema to which the capability definition conforms. */
2385
+ schemaVersion: string;
2386
+ /** Version of the capability definition. */
2387
+ version: string;
2388
+ /** Name of the capability in human-readible format. */
2389
+ displayName: string;
2390
+ /** A written representation of the purpose and characteristics of the capability. */
2391
+ description?: string;
2392
+ /** Top-level categorization of the capability */
2393
+ kind: "action" | "mutate" | "view" | "interaction";
2394
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
2395
+ type: string;
2396
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2397
+ subType?: string;
2398
+ /** Key that backs the capability. */
2399
+ key?: string;
2400
+ /** State of the entity in which the capability is applicable. */
2401
+ entityState: ("declaration" | "instance")[];
2402
+ /** Status of the capability */
2403
+ status: "enabled" | "disabled";
2404
+ /** Metadata contains additional information associated with the capability. Extension point. */
2405
+ metadata?: {
2406
+ [key: string]: any;
2407
+ };
2408
+ }[];
2409
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
2410
+ isAnnotation?: boolean;
2411
+ /** Primary color associated with the model. */
2412
+ primaryColor?: string;
2413
+ /** Secondary color associated with the model. */
2414
+ secondaryColor?: string;
2415
+ /** SVG representation of the model in white color. */
2416
+ svgWhite?: string;
2417
+ /** SVG representation of the model in colored format. */
2418
+ svgColor?: string;
2419
+ /** SVG representation of the complete model. */
2420
+ svgComplete?: string;
2421
+ [key: string]: any;
2422
+ };
2423
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
2424
+ model?: {
2425
+ /** Version of the model as defined by the registrant. */
2426
+ version: string;
2427
+ };
2428
+ };
2429
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2430
+ id?: string;
2431
+ match?: string[][] | {
2432
+ from?: ({
2433
+ kind?: string;
2434
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2435
+ id?: string;
2436
+ } & ({
2437
+ /** JSON ref to value from where patch should be applied. */
2438
+ mutatorRef?: string[][];
2439
+ } | {
2440
+ mutatedRef?: string[][];
2441
+ }))[];
2442
+ to?: ({
2443
+ kind?: string;
2444
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2445
+ id?: string;
2446
+ } & ({
2447
+ /** JSON ref to value from where patch should be applied. */
2448
+ mutatorRef?: string[][];
2449
+ } | {
2450
+ mutatedRef?: string[][];
2451
+ }))[];
2452
+ };
2453
+ patch?: {
2454
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
2455
+
2456
+ add: Inserts a value into an array or adds a member to an object.
2457
+ replace: Replaces a value.
2458
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
2459
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
2460
+ remove: Removes a value.
2461
+ copy: Copies a value from one location to another.
2462
+ move: Moves a value from one location to another.
2463
+ test: Tests that a value at the target location is equal to a specified value. */
2464
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
2465
+ } & ({
2466
+ /** JSON ref to value from where patch should be applied. */
2467
+ mutatorRef?: string[][];
2468
+ } | {
2469
+ mutatedRef?: string[][];
2470
+ });
2471
+ }[];
2472
+ /** Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
2473
+ to: {
2474
+ kind?: string;
2475
+ /** Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
2476
+ model?: {
2477
+ /** Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design). */
2478
+ id?: string;
2479
+ /** Specifies the version of the schema used for the definition. */
2480
+ schemaVersion?: string;
2481
+ /** Version of the model definition. */
2482
+ version: string;
2483
+ /** The unique name for the model within the scope of a registrant. */
2484
+ name: string;
2485
+ /** Human-readable name for the model. */
2486
+ displayName?: string;
2487
+ /** Description of the model. */
2488
+ description?: string;
2489
+ /** Status of model, including:
2490
+ - duplicate: this component is a duplicate of another. The component that is to be the canonical reference and that is duplicated by other components should not be assigned the 'duplicate' status.
2491
+ - maintenance: model is unavailable for a period of time.
2492
+ - enabled: model is available for use for all users of this Meshery Server.
2493
+ - ignored: model is unavailable for use for all users of this Meshery Server. */
2494
+ status?: "ignored" | "enabled" | "duplicate";
2495
+ /** Meshery Connections are managed and unmanaged resources that either through discovery or manual entry are tracked by Meshery. Learn more at https://docs.meshery.io/concepts/logical/connections */
2496
+ registrant: {
2497
+ /** ID */
2498
+ id?: string;
2499
+ /** Connection Name */
2500
+ name?: string;
2501
+ /** Credential ID */
2502
+ credential_id?: string;
2503
+ /** Connection Type */
2504
+ type: string;
2505
+ /** Connection Subtype */
2506
+ sub_type?: string;
2507
+ /** Connection Kind */
2508
+ kind: string;
2509
+ metadata?: object;
2510
+ /** Connection Status */
2511
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
2512
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2513
+ user_id?: string;
2514
+ created_at?: string;
2515
+ updated_at?: string;
2516
+ deleted_at?: string;
2517
+ };
2518
+ /** Category of the model. */
2519
+ category: {
2520
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2521
+ id?: string;
2522
+ name?: string;
2523
+ metadata?: object;
2524
+ };
2525
+ /** Sub-category of the model. */
2526
+ subCategory?: string;
2527
+ /** Metadata containing additional information associated with the model. */
2528
+ metadata?: {
2529
+ /** Capabilities associated with the model */
2530
+ capabilities?: {
2531
+ /** Specifies the version of the schema to which the capability definition conforms. */
2532
+ schemaVersion: string;
2533
+ /** Version of the capability definition. */
2534
+ version: string;
2535
+ /** Name of the capability in human-readible format. */
2536
+ displayName: string;
2537
+ /** A written representation of the purpose and characteristics of the capability. */
2538
+ description?: string;
2539
+ /** Top-level categorization of the capability */
2540
+ kind: "action" | "mutate" | "view" | "interaction";
2541
+ /** Classification of capabilities. Used to group capabilities similar in nature. */
2542
+ type: string;
2543
+ /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2544
+ subType?: string;
2545
+ /** Key that backs the capability. */
2546
+ key?: string;
2547
+ /** State of the entity in which the capability is applicable. */
2548
+ entityState: ("declaration" | "instance")[];
2549
+ /** Status of the capability */
2550
+ status: "enabled" | "disabled";
2551
+ /** Metadata contains additional information associated with the capability. Extension point. */
2552
+ metadata?: {
2553
+ [key: string]: any;
2554
+ };
2555
+ }[];
2556
+ /** Indicates whether the model and its entities should be treated as deployable entities or as logical representations. */
2557
+ isAnnotation?: boolean;
2558
+ /** Primary color associated with the model. */
2559
+ primaryColor?: string;
2560
+ /** Secondary color associated with the model. */
2561
+ secondaryColor?: string;
2562
+ /** SVG representation of the model in white color. */
2563
+ svgWhite?: string;
2564
+ /** SVG representation of the model in colored format. */
2565
+ svgColor?: string;
2566
+ /** SVG representation of the complete model. */
2567
+ svgComplete?: string;
2568
+ [key: string]: any;
2569
+ };
2570
+ /** Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31) */
2571
+ model?: {
2572
+ /** Version of the model as defined by the registrant. */
2573
+ version: string;
2574
+ };
2575
+ };
2576
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2577
+ id?: string;
2578
+ match?: string[][] | {
2579
+ from?: ({
2580
+ kind?: string;
2581
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2582
+ id?: string;
2583
+ } & ({
2584
+ /** JSON ref to value from where patch should be applied. */
2585
+ mutatorRef?: string[][];
2586
+ } | {
2587
+ mutatedRef?: string[][];
2588
+ }))[];
2589
+ to?: ({
2590
+ kind?: string;
2591
+ /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2592
+ id?: string;
2593
+ } & ({
2594
+ /** JSON ref to value from where patch should be applied. */
2595
+ mutatorRef?: string[][];
2596
+ } | {
2597
+ mutatedRef?: string[][];
2598
+ }))[];
2599
+ };
2600
+ patch?: {
2601
+ /** patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
2602
+
2603
+ add: Inserts a value into an array or adds a member to an object.
2604
+ replace: Replaces a value.
2605
+ merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
2606
+ strategic:specific to Kubernetes and understands the structure of Kubernetes objects. It can handle complex changes like updating lists and maps, as well as preserving default values. However, it's not supported for custom resources. For custom resources, only JSON Patch and Merge Patch are typically supported.
2607
+ remove: Removes a value.
2608
+ copy: Copies a value from one location to another.
2609
+ move: Moves a value from one location to another.
2610
+ test: Tests that a value at the target location is equal to a specified value. */
2611
+ patchStrategy?: "merge" | "strategic" | "add" | "remove" | "copy" | "move" | "test";
2612
+ } & ({
2613
+ /** JSON ref to value from where patch should be applied. */
2614
+ mutatorRef?: string[][];
2615
+ } | {
2616
+ mutatedRef?: string[][];
2617
+ });
2618
+ }[];
2619
+ };
2620
+ }[];
2621
+ }[];
2622
+ };
2623
+ options?: {
2624
+ /** If true, only return the diff of changes instead of the complete updated design */
2625
+ returnDiffOnly?: boolean;
2626
+ /** If true, include detailed trace information in the response */
2627
+ enableTrace?: boolean;
2628
+ };
2629
+ };
2630
+ };
2631
+ declare const useImportDesignMutation: <R extends Record<string, any> = ({
2632
+ requestId?: undefined;
2633
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2634
+ data?: undefined;
2635
+ error?: undefined;
2636
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2637
+ startedTimeStamp?: undefined;
2638
+ fulfilledTimeStamp?: undefined;
2639
+ } & {
2640
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2641
+ isUninitialized: true;
2642
+ isLoading: false;
2643
+ isSuccess: false;
2644
+ isError: false;
2645
+ }) | ({
2646
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2647
+ } & Omit<{
2648
+ requestId: string;
2649
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2650
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2651
+ endpointName: string;
2652
+ startedTimeStamp: number;
2653
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2654
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
2655
+ requestId: string;
2656
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2657
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2658
+ endpointName: string;
2659
+ startedTimeStamp: number;
2660
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2661
+ }, "data" | "fulfilledTimeStamp">> & {
2662
+ error: undefined;
2663
+ } & {
2664
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2665
+ isUninitialized: false;
2666
+ isLoading: false;
2667
+ isSuccess: true;
2668
+ isError: false;
2669
+ }) | ({
2670
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
2671
+ } & {
2672
+ requestId: string;
2673
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2674
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2675
+ endpointName: string;
2676
+ startedTimeStamp: number;
2677
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2678
+ } & {
2679
+ data?: undefined;
2680
+ } & {
2681
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2682
+ isUninitialized: false;
2683
+ isLoading: true;
2684
+ isSuccess: false;
2685
+ isError: false;
2686
+ }) | ({
2687
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2688
+ } & Omit<{
2689
+ requestId: string;
2690
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2691
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2692
+ endpointName: string;
2693
+ startedTimeStamp: number;
2694
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2695
+ }, "error"> & Required<Pick<{
2696
+ requestId: string;
2697
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2698
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2699
+ endpointName: string;
2700
+ startedTimeStamp: number;
2701
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2702
+ }, "error">> & {
2703
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2704
+ isUninitialized: false;
2705
+ isLoading: false;
2706
+ isSuccess: false;
2707
+ isError: true;
2708
+ })>(options?: {
2709
+ selectFromResult?: ((state: ({
2710
+ requestId?: undefined;
2711
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2712
+ data?: undefined;
2713
+ error?: undefined;
2714
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2715
+ startedTimeStamp?: undefined;
2716
+ fulfilledTimeStamp?: undefined;
2717
+ } & {
2718
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2719
+ isUninitialized: true;
2720
+ isLoading: false;
2721
+ isSuccess: false;
2722
+ isError: false;
2723
+ }) | ({
2724
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2725
+ } & Omit<{
2726
+ requestId: string;
2727
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2728
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2729
+ endpointName: string;
2730
+ startedTimeStamp: number;
2731
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2732
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
2733
+ requestId: string;
2734
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2735
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2736
+ endpointName: string;
2737
+ startedTimeStamp: number;
2738
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2739
+ }, "data" | "fulfilledTimeStamp">> & {
2740
+ error: undefined;
2741
+ } & {
2742
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2743
+ isUninitialized: false;
2744
+ isLoading: false;
2745
+ isSuccess: true;
2746
+ isError: false;
2747
+ }) | ({
2748
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
2749
+ } & {
2750
+ requestId: string;
2751
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2752
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2753
+ endpointName: string;
2754
+ startedTimeStamp: number;
2755
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2756
+ } & {
2757
+ data?: undefined;
2758
+ } & {
2759
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2760
+ isUninitialized: false;
2761
+ isLoading: true;
2762
+ isSuccess: false;
2763
+ isError: false;
2764
+ }) | ({
2765
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2766
+ } & Omit<{
2767
+ requestId: string;
2768
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2769
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2770
+ endpointName: string;
2771
+ startedTimeStamp: number;
2772
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2773
+ }, "error"> & Required<Pick<{
2774
+ requestId: string;
2775
+ data?: ImportDesignApiResponse | undefined; /** Capabilities associated with the relationship. */
2776
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2777
+ endpointName: string;
2778
+ startedTimeStamp: number;
2779
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2780
+ }, "error">> & {
2781
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2782
+ isUninitialized: false;
2783
+ isLoading: false;
2784
+ isSuccess: false;
2785
+ isError: true;
2786
+ })) => R) | undefined;
2787
+ fixedCacheKey?: string | undefined;
2788
+ } | undefined) => readonly [(arg: ImportDesignApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<ImportDesignApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, ImportDesignApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2789
+ originalArgs?: ImportDesignApiArg | undefined;
2790
+ reset: () => void;
2791
+ }];
2792
+ declare const useRegisterMeshmodelsMutation: <R extends Record<string, any> = ({
2793
+ requestId?: undefined;
2794
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2795
+ data?: undefined;
2796
+ error?: undefined;
2797
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2798
+ startedTimeStamp?: undefined;
2799
+ fulfilledTimeStamp?: undefined;
2800
+ } & {
2801
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2802
+ isUninitialized: true;
2803
+ isLoading: false;
2804
+ isSuccess: false;
2805
+ isError: false;
2806
+ }) | ({
2807
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2808
+ } & Omit<{
2809
+ requestId: string;
2810
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2811
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2812
+ endpointName: string;
2813
+ startedTimeStamp: number;
2814
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2815
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
2816
+ requestId: string;
2817
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2818
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2819
+ endpointName: string;
2820
+ startedTimeStamp: number;
2821
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2822
+ }, "data" | "fulfilledTimeStamp">> & {
2823
+ error: undefined;
2824
+ } & {
2825
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2826
+ isUninitialized: false;
2827
+ isLoading: false;
2828
+ isSuccess: true;
2829
+ isError: false;
2830
+ }) | ({
2831
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
2832
+ } & {
2833
+ requestId: string;
2834
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2835
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2836
+ endpointName: string;
2837
+ startedTimeStamp: number;
2838
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2839
+ } & {
2840
+ data?: undefined;
2841
+ } & {
2842
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2843
+ isUninitialized: false;
2844
+ isLoading: true;
2845
+ isSuccess: false;
2846
+ isError: false;
2847
+ }) | ({
2848
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2849
+ } & Omit<{
2850
+ requestId: string;
2851
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2852
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2853
+ endpointName: string;
2854
+ startedTimeStamp: number;
2855
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2856
+ }, "error"> & Required<Pick<{
2857
+ requestId: string;
2858
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2859
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2860
+ endpointName: string;
2861
+ startedTimeStamp: number;
2862
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2863
+ }, "error">> & {
2864
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2865
+ isUninitialized: false;
2866
+ isLoading: false;
2867
+ isSuccess: false;
2868
+ isError: true;
2869
+ })>(options?: {
2870
+ selectFromResult?: ((state: ({
2871
+ requestId?: undefined;
2872
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2873
+ data?: undefined;
2874
+ error?: undefined;
2875
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
2876
+ startedTimeStamp?: undefined;
2877
+ fulfilledTimeStamp?: undefined;
2878
+ } & {
2879
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2880
+ isUninitialized: true;
2881
+ isLoading: false;
2882
+ isSuccess: false;
2883
+ isError: false;
2884
+ }) | ({
2885
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2886
+ } & Omit<{
2887
+ requestId: string;
2888
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2889
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2890
+ endpointName: string;
2891
+ startedTimeStamp: number;
2892
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2893
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
2894
+ requestId: string;
2895
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2896
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2897
+ endpointName: string;
2898
+ startedTimeStamp: number;
2899
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2900
+ }, "data" | "fulfilledTimeStamp">> & {
2901
+ error: undefined;
2902
+ } & {
2903
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
2904
+ isUninitialized: false;
2905
+ isLoading: false;
2906
+ isSuccess: true;
2907
+ isError: false;
2908
+ }) | ({
2909
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
2910
+ } & {
2911
+ requestId: string;
2912
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2913
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2914
+ endpointName: string;
2915
+ startedTimeStamp: number;
2916
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2917
+ } & {
2918
+ data?: undefined;
2919
+ } & {
2920
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
2921
+ isUninitialized: false;
2922
+ isLoading: true;
2923
+ isSuccess: false;
2924
+ isError: false;
2925
+ }) | ({
2926
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2927
+ } & Omit<{
2928
+ requestId: string;
2929
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2930
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2931
+ endpointName: string;
2932
+ startedTimeStamp: number;
2933
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2934
+ }, "error"> & Required<Pick<{
2935
+ requestId: string;
2936
+ data?: RegisterMeshmodelsApiResponse | undefined; /** Capabilities associated with the relationship. */
2937
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2938
+ endpointName: string;
2939
+ startedTimeStamp: number;
2940
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
2941
+ }, "error">> & {
2942
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
2943
+ isUninitialized: false;
2944
+ isLoading: false;
2945
+ isSuccess: false;
2946
+ isError: true;
2947
+ })) => R) | undefined;
2948
+ fixedCacheKey?: string | undefined;
2949
+ } | undefined) => readonly [(arg: RegisterMeshmodelsApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterMeshmodelsApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, RegisterMeshmodelsApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2950
+ originalArgs?: RegisterMeshmodelsApiArg | undefined;
2951
+ reset: () => void;
2952
+ }];
2953
+ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
2954
+ data?: undefined;
2955
+ error?: undefined;
2956
+ fulfilledTimeStamp?: undefined;
2957
+ originalArgs?: undefined;
2958
+ requestId?: undefined;
2959
+ endpointName?: string | undefined;
2960
+ startedTimeStamp?: undefined;
2961
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
2962
+ currentData?: GetApiWorkspacesApiResponse | undefined;
2963
+ isLoading: false;
2964
+ isFetching: false;
2965
+ isSuccess: false;
2966
+ isError: false;
2967
+ isUninitialized: true;
2968
+ } | {
2969
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
2970
+ fulfilledTimeStamp?: number | undefined;
2971
+ originalArgs?: void | undefined;
2972
+ requestId?: string | undefined;
2973
+ endpointName?: string | undefined;
2974
+ startedTimeStamp?: number | undefined;
2975
+ status: _reduxjs_toolkit_query.QueryStatus;
2976
+ currentData?: GetApiWorkspacesApiResponse | undefined;
2977
+ isUninitialized: false;
2978
+ isSuccess: false;
2979
+ isError: false;
2980
+ isLoading: true;
2981
+ isFetching: boolean;
2982
+ data: undefined;
2983
+ } | {
2984
+ originalArgs?: void | undefined;
2985
+ requestId?: string | undefined;
2986
+ endpointName?: string | undefined;
2987
+ startedTimeStamp?: number | undefined;
2988
+ status: _reduxjs_toolkit_query.QueryStatus;
2989
+ currentData?: GetApiWorkspacesApiResponse | undefined;
2990
+ isUninitialized: false;
2991
+ isLoading: false;
2992
+ isError: false;
2993
+ isSuccess: true;
2994
+ isFetching: true;
2995
+ error: undefined;
2996
+ data: GetApiWorkspacesApiResponse;
2997
+ fulfilledTimeStamp: number;
2998
+ } | {
2999
+ originalArgs?: void | undefined;
3000
+ requestId?: string | undefined;
3001
+ endpointName?: string | undefined;
3002
+ startedTimeStamp?: number | undefined;
3003
+ status: _reduxjs_toolkit_query.QueryStatus;
3004
+ isUninitialized: false;
3005
+ isLoading: false;
3006
+ isError: false;
3007
+ isSuccess: true;
3008
+ isFetching: false;
3009
+ error: undefined;
3010
+ data: GetApiWorkspacesApiResponse;
3011
+ fulfilledTimeStamp: number;
3012
+ currentData: GetApiWorkspacesApiResponse;
3013
+ } | {
3014
+ data?: GetApiWorkspacesApiResponse | undefined;
3015
+ fulfilledTimeStamp?: number | undefined;
3016
+ originalArgs?: void | undefined;
3017
+ requestId?: string | undefined;
3018
+ endpointName?: string | undefined;
3019
+ startedTimeStamp?: number | undefined;
3020
+ status: _reduxjs_toolkit_query.QueryStatus;
3021
+ currentData?: GetApiWorkspacesApiResponse | undefined;
3022
+ isUninitialized: false;
3023
+ isLoading: false;
3024
+ isFetching: false;
3025
+ isSuccess: false;
3026
+ isError: true;
3027
+ error: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError;
3028
+ }) & {
3029
+ status: _reduxjs_toolkit_query.QueryStatus;
3030
+ }>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
3031
+ skip?: boolean | undefined;
3032
+ refetchOnMountOrArgChange?: number | boolean | undefined;
3033
+ } & {
3034
+ skip?: boolean | undefined;
3035
+ selectFromResult?: ((state: ({
3036
+ data?: undefined;
3037
+ error?: undefined;
3038
+ fulfilledTimeStamp?: undefined;
3039
+ originalArgs?: undefined;
3040
+ requestId?: undefined;
3041
+ endpointName?: string | undefined;
3042
+ startedTimeStamp?: undefined;
3043
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3044
+ currentData?: GetApiWorkspacesApiResponse | undefined;
3045
+ isLoading: false;
3046
+ isFetching: false;
3047
+ isSuccess: false;
3048
+ isError: false;
3049
+ isUninitialized: true;
3050
+ } | {
3051
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3052
+ fulfilledTimeStamp?: number | undefined;
3053
+ originalArgs?: void | undefined;
3054
+ requestId?: string | undefined;
3055
+ endpointName?: string | undefined;
3056
+ startedTimeStamp?: number | undefined;
3057
+ status: _reduxjs_toolkit_query.QueryStatus;
3058
+ currentData?: GetApiWorkspacesApiResponse | undefined;
3059
+ isUninitialized: false;
3060
+ isSuccess: false;
3061
+ isError: false;
3062
+ isLoading: true;
3063
+ isFetching: boolean;
3064
+ data: undefined;
3065
+ } | {
3066
+ originalArgs?: void | undefined;
3067
+ requestId?: string | undefined;
3068
+ endpointName?: string | undefined;
3069
+ startedTimeStamp?: number | undefined;
3070
+ status: _reduxjs_toolkit_query.QueryStatus;
3071
+ currentData?: GetApiWorkspacesApiResponse | undefined;
3072
+ isUninitialized: false;
3073
+ isLoading: false;
3074
+ isError: false;
3075
+ isSuccess: true;
3076
+ isFetching: true;
3077
+ error: undefined;
3078
+ data: GetApiWorkspacesApiResponse;
3079
+ fulfilledTimeStamp: number;
3080
+ } | {
3081
+ originalArgs?: void | undefined;
3082
+ requestId?: string | undefined;
3083
+ endpointName?: string | undefined;
3084
+ startedTimeStamp?: number | undefined;
3085
+ status: _reduxjs_toolkit_query.QueryStatus;
3086
+ isUninitialized: false;
3087
+ isLoading: false;
3088
+ isError: false;
3089
+ isSuccess: true;
3090
+ isFetching: false;
3091
+ error: undefined;
3092
+ data: GetApiWorkspacesApiResponse;
3093
+ fulfilledTimeStamp: number;
3094
+ currentData: GetApiWorkspacesApiResponse;
3095
+ } | {
3096
+ data?: GetApiWorkspacesApiResponse | undefined;
3097
+ fulfilledTimeStamp?: number | undefined;
3098
+ originalArgs?: void | undefined;
3099
+ requestId?: string | undefined;
3100
+ endpointName?: string | undefined;
3101
+ startedTimeStamp?: number | undefined;
3102
+ status: _reduxjs_toolkit_query.QueryStatus;
3103
+ currentData?: GetApiWorkspacesApiResponse | undefined;
3104
+ isUninitialized: false;
3105
+ isLoading: false;
3106
+ isFetching: false;
3107
+ isSuccess: false;
3108
+ isError: true;
3109
+ error: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError;
3110
+ }) & {
3111
+ status: _reduxjs_toolkit_query.QueryStatus;
3112
+ }) => R) | undefined;
3113
+ }) | undefined) => [R][R extends any ? 0 : never] & {
3114
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, GetApiWorkspacesApiResponse, "mesheryRtkSchemasApi", unknown>>;
3115
+ };
3116
+ declare const usePostApiWorkspacesMutation: <R extends Record<string, any> = ({
3117
+ requestId?: undefined;
3118
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3119
+ data?: undefined;
3120
+ error?: undefined;
3121
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3122
+ startedTimeStamp?: undefined;
3123
+ fulfilledTimeStamp?: undefined;
3124
+ } & {
3125
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3126
+ isUninitialized: true;
3127
+ isLoading: false;
3128
+ isSuccess: false;
3129
+ isError: false;
3130
+ }) | ({
3131
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3132
+ } & Omit<{
3133
+ requestId: string;
3134
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3135
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3136
+ endpointName: string;
3137
+ startedTimeStamp: number;
3138
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3139
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3140
+ requestId: string;
3141
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3142
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3143
+ endpointName: string;
3144
+ startedTimeStamp: number;
3145
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3146
+ }, "data" | "fulfilledTimeStamp">> & {
3147
+ error: undefined;
3148
+ } & {
3149
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3150
+ isUninitialized: false;
3151
+ isLoading: false;
3152
+ isSuccess: true;
3153
+ isError: false;
3154
+ }) | ({
3155
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3156
+ } & {
3157
+ requestId: string;
3158
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3159
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3160
+ endpointName: string;
3161
+ startedTimeStamp: number;
3162
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3163
+ } & {
3164
+ data?: undefined;
3165
+ } & {
3166
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3167
+ isUninitialized: false;
3168
+ isLoading: true;
3169
+ isSuccess: false;
3170
+ isError: false;
3171
+ }) | ({
3172
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3173
+ } & Omit<{
3174
+ requestId: string;
3175
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3176
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3177
+ endpointName: string;
3178
+ startedTimeStamp: number;
3179
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3180
+ }, "error"> & Required<Pick<{
3181
+ requestId: string;
3182
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3183
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3184
+ endpointName: string;
3185
+ startedTimeStamp: number;
3186
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3187
+ }, "error">> & {
3188
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3189
+ isUninitialized: false;
3190
+ isLoading: false;
3191
+ isSuccess: false;
3192
+ isError: true;
3193
+ })>(options?: {
3194
+ selectFromResult?: ((state: ({
3195
+ requestId?: undefined;
3196
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3197
+ data?: undefined;
3198
+ error?: undefined;
3199
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3200
+ startedTimeStamp?: undefined;
3201
+ fulfilledTimeStamp?: undefined;
3202
+ } & {
3203
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3204
+ isUninitialized: true;
3205
+ isLoading: false;
3206
+ isSuccess: false;
3207
+ isError: false;
3208
+ }) | ({
3209
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3210
+ } & Omit<{
3211
+ requestId: string;
3212
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3213
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3214
+ endpointName: string;
3215
+ startedTimeStamp: number;
3216
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3217
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3218
+ requestId: string;
3219
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3220
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3221
+ endpointName: string;
3222
+ startedTimeStamp: number;
3223
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3224
+ }, "data" | "fulfilledTimeStamp">> & {
3225
+ error: undefined;
3226
+ } & {
3227
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3228
+ isUninitialized: false;
3229
+ isLoading: false;
3230
+ isSuccess: true;
3231
+ isError: false;
3232
+ }) | ({
3233
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3234
+ } & {
3235
+ requestId: string;
3236
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3237
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3238
+ endpointName: string;
3239
+ startedTimeStamp: number;
3240
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3241
+ } & {
3242
+ data?: undefined;
3243
+ } & {
3244
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3245
+ isUninitialized: false;
3246
+ isLoading: true;
3247
+ isSuccess: false;
3248
+ isError: false;
3249
+ }) | ({
3250
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3251
+ } & Omit<{
3252
+ requestId: string;
3253
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3254
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3255
+ endpointName: string;
3256
+ startedTimeStamp: number;
3257
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3258
+ }, "error"> & Required<Pick<{
3259
+ requestId: string;
3260
+ data?: PostApiWorkspacesApiResponse | undefined; /** Capabilities associated with the relationship. */
3261
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3262
+ endpointName: string;
3263
+ startedTimeStamp: number;
3264
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3265
+ }, "error">> & {
3266
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3267
+ isUninitialized: false;
3268
+ isLoading: false;
3269
+ isSuccess: false;
3270
+ isError: true;
3271
+ })) => R) | undefined;
3272
+ fixedCacheKey?: string | undefined;
3273
+ } | undefined) => readonly [(arg: PostApiWorkspacesApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiWorkspacesApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, PostApiWorkspacesApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3274
+ originalArgs?: PostApiWorkspacesApiArg | undefined;
3275
+ reset: () => void;
3276
+ }];
3277
+ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
3278
+ data?: undefined;
3279
+ error?: undefined;
3280
+ fulfilledTimeStamp?: undefined;
3281
+ originalArgs?: undefined;
3282
+ requestId?: undefined;
3283
+ endpointName?: string | undefined;
3284
+ startedTimeStamp?: undefined;
3285
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3286
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3287
+ isLoading: false;
3288
+ isFetching: false;
3289
+ isSuccess: false;
3290
+ isError: false;
3291
+ isUninitialized: true;
3292
+ } | {
3293
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3294
+ fulfilledTimeStamp?: number | undefined;
3295
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3296
+ requestId?: string | undefined;
3297
+ endpointName?: string | undefined;
3298
+ startedTimeStamp?: number | undefined;
3299
+ status: _reduxjs_toolkit_query.QueryStatus;
3300
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3301
+ isUninitialized: false;
3302
+ isSuccess: false;
3303
+ isError: false;
3304
+ isLoading: true;
3305
+ isFetching: boolean;
3306
+ data: undefined;
3307
+ } | {
3308
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3309
+ requestId?: string | undefined;
3310
+ endpointName?: string | undefined;
3311
+ startedTimeStamp?: number | undefined;
3312
+ status: _reduxjs_toolkit_query.QueryStatus;
3313
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3314
+ isUninitialized: false;
3315
+ isLoading: false;
3316
+ isError: false;
3317
+ isSuccess: true;
3318
+ isFetching: true;
3319
+ error: undefined;
3320
+ data: GetApiWorkspacesByIdApiResponse;
3321
+ fulfilledTimeStamp: number;
3322
+ } | {
3323
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3324
+ requestId?: string | undefined;
3325
+ endpointName?: string | undefined;
3326
+ startedTimeStamp?: number | undefined;
3327
+ status: _reduxjs_toolkit_query.QueryStatus;
3328
+ isUninitialized: false;
3329
+ isLoading: false;
3330
+ isError: false;
3331
+ isSuccess: true;
3332
+ isFetching: false;
3333
+ error: undefined;
3334
+ data: GetApiWorkspacesByIdApiResponse;
3335
+ fulfilledTimeStamp: number;
3336
+ currentData: GetApiWorkspacesByIdApiResponse;
3337
+ } | {
3338
+ data?: GetApiWorkspacesByIdApiResponse | undefined;
3339
+ fulfilledTimeStamp?: number | undefined;
3340
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3341
+ requestId?: string | undefined;
3342
+ endpointName?: string | undefined;
3343
+ startedTimeStamp?: number | undefined;
3344
+ status: _reduxjs_toolkit_query.QueryStatus;
3345
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3346
+ isUninitialized: false;
3347
+ isLoading: false;
3348
+ isFetching: false;
3349
+ isSuccess: false;
3350
+ isError: true;
3351
+ error: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError;
3352
+ }) & {
3353
+ status: _reduxjs_toolkit_query.QueryStatus;
3354
+ }>(arg: GetApiWorkspacesByIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
3355
+ skip?: boolean | undefined;
3356
+ refetchOnMountOrArgChange?: number | boolean | undefined;
3357
+ } & {
3358
+ skip?: boolean | undefined;
3359
+ selectFromResult?: ((state: ({
3360
+ data?: undefined;
3361
+ error?: undefined;
3362
+ fulfilledTimeStamp?: undefined;
3363
+ originalArgs?: undefined;
3364
+ requestId?: undefined;
3365
+ endpointName?: string | undefined;
3366
+ startedTimeStamp?: undefined;
3367
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3368
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3369
+ isLoading: false;
3370
+ isFetching: false;
3371
+ isSuccess: false;
3372
+ isError: false;
3373
+ isUninitialized: true;
3374
+ } | {
3375
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3376
+ fulfilledTimeStamp?: number | undefined;
3377
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3378
+ requestId?: string | undefined;
3379
+ endpointName?: string | undefined;
3380
+ startedTimeStamp?: number | undefined;
3381
+ status: _reduxjs_toolkit_query.QueryStatus;
3382
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3383
+ isUninitialized: false;
3384
+ isSuccess: false;
3385
+ isError: false;
3386
+ isLoading: true;
3387
+ isFetching: boolean;
3388
+ data: undefined;
3389
+ } | {
3390
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3391
+ requestId?: string | undefined;
3392
+ endpointName?: string | undefined;
3393
+ startedTimeStamp?: number | undefined;
3394
+ status: _reduxjs_toolkit_query.QueryStatus;
3395
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3396
+ isUninitialized: false;
3397
+ isLoading: false;
3398
+ isError: false;
3399
+ isSuccess: true;
3400
+ isFetching: true;
3401
+ error: undefined;
3402
+ data: GetApiWorkspacesByIdApiResponse;
3403
+ fulfilledTimeStamp: number;
3404
+ } | {
3405
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3406
+ requestId?: string | undefined;
3407
+ endpointName?: string | undefined;
3408
+ startedTimeStamp?: number | undefined;
3409
+ status: _reduxjs_toolkit_query.QueryStatus;
3410
+ isUninitialized: false;
3411
+ isLoading: false;
3412
+ isError: false;
3413
+ isSuccess: true;
3414
+ isFetching: false;
3415
+ error: undefined;
3416
+ data: GetApiWorkspacesByIdApiResponse;
3417
+ fulfilledTimeStamp: number;
3418
+ currentData: GetApiWorkspacesByIdApiResponse;
3419
+ } | {
3420
+ data?: GetApiWorkspacesByIdApiResponse | undefined;
3421
+ fulfilledTimeStamp?: number | undefined;
3422
+ originalArgs?: GetApiWorkspacesByIdApiArg | undefined;
3423
+ requestId?: string | undefined;
3424
+ endpointName?: string | undefined;
3425
+ startedTimeStamp?: number | undefined;
3426
+ status: _reduxjs_toolkit_query.QueryStatus;
3427
+ currentData?: GetApiWorkspacesByIdApiResponse | undefined;
3428
+ isUninitialized: false;
3429
+ isLoading: false;
3430
+ isFetching: false;
3431
+ isSuccess: false;
3432
+ isError: true;
3433
+ error: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError;
3434
+ }) & {
3435
+ status: _reduxjs_toolkit_query.QueryStatus;
3436
+ }) => R) | undefined;
3437
+ }) | undefined) => [R][R extends any ? 0 : never] & {
3438
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiWorkspacesByIdApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, GetApiWorkspacesByIdApiResponse, "mesheryRtkSchemasApi", unknown>>;
3439
+ };
3440
+ declare const usePutApiWorkspacesByIdMutation: <R extends Record<string, any> = ({
3441
+ requestId?: undefined;
3442
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3443
+ data?: undefined;
3444
+ error?: undefined;
3445
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3446
+ startedTimeStamp?: undefined;
3447
+ fulfilledTimeStamp?: undefined;
3448
+ } & {
3449
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3450
+ isUninitialized: true;
3451
+ isLoading: false;
3452
+ isSuccess: false;
3453
+ isError: false;
3454
+ }) | ({
3455
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3456
+ } & Omit<{
3457
+ requestId: string;
3458
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3459
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3460
+ endpointName: string;
3461
+ startedTimeStamp: number;
3462
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3463
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3464
+ requestId: string;
3465
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3466
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3467
+ endpointName: string;
3468
+ startedTimeStamp: number;
3469
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3470
+ }, "data" | "fulfilledTimeStamp">> & {
3471
+ error: undefined;
3472
+ } & {
3473
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3474
+ isUninitialized: false;
3475
+ isLoading: false;
3476
+ isSuccess: true;
3477
+ isError: false;
3478
+ }) | ({
3479
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3480
+ } & {
3481
+ requestId: string;
3482
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3483
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3484
+ endpointName: string;
3485
+ startedTimeStamp: number;
3486
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3487
+ } & {
3488
+ data?: undefined;
3489
+ } & {
3490
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3491
+ isUninitialized: false;
3492
+ isLoading: true;
3493
+ isSuccess: false;
3494
+ isError: false;
3495
+ }) | ({
3496
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3497
+ } & Omit<{
3498
+ requestId: string;
3499
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3500
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3501
+ endpointName: string;
3502
+ startedTimeStamp: number;
3503
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3504
+ }, "error"> & Required<Pick<{
3505
+ requestId: string;
3506
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3507
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3508
+ endpointName: string;
3509
+ startedTimeStamp: number;
3510
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3511
+ }, "error">> & {
3512
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3513
+ isUninitialized: false;
3514
+ isLoading: false;
3515
+ isSuccess: false;
3516
+ isError: true;
3517
+ })>(options?: {
3518
+ selectFromResult?: ((state: ({
3519
+ requestId?: undefined;
3520
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3521
+ data?: undefined;
3522
+ error?: undefined;
3523
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3524
+ startedTimeStamp?: undefined;
3525
+ fulfilledTimeStamp?: undefined;
3526
+ } & {
3527
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3528
+ isUninitialized: true;
3529
+ isLoading: false;
3530
+ isSuccess: false;
3531
+ isError: false;
3532
+ }) | ({
3533
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3534
+ } & Omit<{
3535
+ requestId: string;
3536
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3537
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3538
+ endpointName: string;
3539
+ startedTimeStamp: number;
3540
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3541
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3542
+ requestId: string;
3543
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3544
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3545
+ endpointName: string;
3546
+ startedTimeStamp: number;
3547
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3548
+ }, "data" | "fulfilledTimeStamp">> & {
3549
+ error: undefined;
3550
+ } & {
3551
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3552
+ isUninitialized: false;
3553
+ isLoading: false;
3554
+ isSuccess: true;
3555
+ isError: false;
3556
+ }) | ({
3557
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3558
+ } & {
3559
+ requestId: string;
3560
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3561
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3562
+ endpointName: string;
3563
+ startedTimeStamp: number;
3564
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3565
+ } & {
3566
+ data?: undefined;
3567
+ } & {
3568
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3569
+ isUninitialized: false;
3570
+ isLoading: true;
3571
+ isSuccess: false;
3572
+ isError: false;
3573
+ }) | ({
3574
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3575
+ } & Omit<{
3576
+ requestId: string;
3577
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3578
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3579
+ endpointName: string;
3580
+ startedTimeStamp: number;
3581
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3582
+ }, "error"> & Required<Pick<{
3583
+ requestId: string;
3584
+ data?: PutApiWorkspacesByIdApiResponse | undefined; /** Capabilities associated with the relationship. */
3585
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3586
+ endpointName: string;
3587
+ startedTimeStamp: number;
3588
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3589
+ }, "error">> & {
3590
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3591
+ isUninitialized: false;
3592
+ isLoading: false;
3593
+ isSuccess: false;
3594
+ isError: true;
3595
+ })) => R) | undefined;
3596
+ fixedCacheKey?: string | undefined;
3597
+ } | undefined) => readonly [(arg: PutApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PutApiWorkspacesByIdApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, PutApiWorkspacesByIdApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3598
+ originalArgs?: PutApiWorkspacesByIdApiArg | undefined;
3599
+ reset: () => void;
3600
+ }];
3601
+ declare const useDeleteApiWorkspacesByIdMutation: <R extends Record<string, any> = ({
3602
+ requestId?: undefined;
3603
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3604
+ data?: undefined;
3605
+ error?: undefined;
3606
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3607
+ startedTimeStamp?: undefined;
3608
+ fulfilledTimeStamp?: undefined;
3609
+ } & {
3610
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3611
+ isUninitialized: true;
3612
+ isLoading: false;
3613
+ isSuccess: false;
3614
+ isError: false;
3615
+ }) | ({
3616
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3617
+ } & Omit<{
3618
+ requestId: string;
3619
+ data?: unknown; /** Capabilities associated with the relationship. */
3620
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3621
+ endpointName: string;
3622
+ startedTimeStamp: number;
3623
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3624
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3625
+ requestId: string;
3626
+ data?: unknown; /** Capabilities associated with the relationship. */
3627
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3628
+ endpointName: string;
3629
+ startedTimeStamp: number;
3630
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3631
+ }, "data" | "fulfilledTimeStamp">> & {
3632
+ error: undefined;
3633
+ } & {
3634
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3635
+ isUninitialized: false;
3636
+ isLoading: false;
3637
+ isSuccess: true;
3638
+ isError: false;
3639
+ }) | ({
3640
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3641
+ } & {
3642
+ requestId: string;
3643
+ data?: unknown; /** Capabilities associated with the relationship. */
3644
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3645
+ endpointName: string;
3646
+ startedTimeStamp: number;
3647
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3648
+ } & {
3649
+ data?: undefined;
3650
+ } & {
3651
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3652
+ isUninitialized: false;
3653
+ isLoading: true;
3654
+ isSuccess: false;
3655
+ isError: false;
3656
+ }) | ({
3657
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3658
+ } & Omit<{
3659
+ requestId: string;
3660
+ data?: unknown; /** Capabilities associated with the relationship. */
3661
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3662
+ endpointName: string;
3663
+ startedTimeStamp: number;
3664
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3665
+ }, "error"> & Required<Pick<{
3666
+ requestId: string;
3667
+ data?: unknown; /** Capabilities associated with the relationship. */
3668
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3669
+ endpointName: string;
3670
+ startedTimeStamp: number;
3671
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3672
+ }, "error">> & {
3673
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3674
+ isUninitialized: false;
3675
+ isLoading: false;
3676
+ isSuccess: false;
3677
+ isError: true;
3678
+ })>(options?: {
3679
+ selectFromResult?: ((state: ({
3680
+ requestId?: undefined;
3681
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3682
+ data?: undefined;
3683
+ error?: undefined;
3684
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3685
+ startedTimeStamp?: undefined;
3686
+ fulfilledTimeStamp?: undefined;
3687
+ } & {
3688
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3689
+ isUninitialized: true;
3690
+ isLoading: false;
3691
+ isSuccess: false;
3692
+ isError: false;
3693
+ }) | ({
3694
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3695
+ } & Omit<{
3696
+ requestId: string;
3697
+ data?: unknown; /** Capabilities associated with the relationship. */
3698
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3699
+ endpointName: string;
3700
+ startedTimeStamp: number;
3701
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3702
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3703
+ requestId: string;
3704
+ data?: unknown; /** Capabilities associated with the relationship. */
3705
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3706
+ endpointName: string;
3707
+ startedTimeStamp: number;
3708
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3709
+ }, "data" | "fulfilledTimeStamp">> & {
3710
+ error: undefined;
3711
+ } & {
3712
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3713
+ isUninitialized: false;
3714
+ isLoading: false;
3715
+ isSuccess: true;
3716
+ isError: false;
3717
+ }) | ({
3718
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3719
+ } & {
3720
+ requestId: string;
3721
+ data?: unknown; /** Capabilities associated with the relationship. */
3722
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3723
+ endpointName: string;
3724
+ startedTimeStamp: number;
3725
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3726
+ } & {
3727
+ data?: undefined;
3728
+ } & {
3729
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3730
+ isUninitialized: false;
3731
+ isLoading: true;
3732
+ isSuccess: false;
3733
+ isError: false;
3734
+ }) | ({
3735
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3736
+ } & Omit<{
3737
+ requestId: string;
3738
+ data?: unknown; /** Capabilities associated with the relationship. */
3739
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3740
+ endpointName: string;
3741
+ startedTimeStamp: number;
3742
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3743
+ }, "error"> & Required<Pick<{
3744
+ requestId: string;
3745
+ data?: unknown; /** Capabilities associated with the relationship. */
3746
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3747
+ endpointName: string;
3748
+ startedTimeStamp: number;
3749
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3750
+ }, "error">> & {
3751
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3752
+ isUninitialized: false;
3753
+ isLoading: false;
3754
+ isSuccess: false;
3755
+ isError: true;
3756
+ })) => R) | undefined;
3757
+ fixedCacheKey?: string | undefined;
3758
+ } | undefined) => readonly [(arg: DeleteApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, unknown, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3759
+ originalArgs?: DeleteApiWorkspacesByIdApiArg | undefined;
3760
+ reset: () => void;
3761
+ }];
3762
+ declare const useCreateEnvironmentMutation: <R extends Record<string, any> = ({
3763
+ requestId?: undefined;
3764
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3765
+ data?: undefined;
3766
+ error?: undefined;
3767
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3768
+ startedTimeStamp?: undefined;
3769
+ fulfilledTimeStamp?: undefined;
3770
+ } & {
3771
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3772
+ isUninitialized: true;
3773
+ isLoading: false;
3774
+ isSuccess: false;
3775
+ isError: false;
3776
+ }) | ({
3777
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3778
+ } & Omit<{
3779
+ requestId: string;
3780
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3781
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3782
+ endpointName: string;
3783
+ startedTimeStamp: number;
3784
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3785
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3786
+ requestId: string;
3787
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3788
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3789
+ endpointName: string;
3790
+ startedTimeStamp: number;
3791
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3792
+ }, "data" | "fulfilledTimeStamp">> & {
3793
+ error: undefined;
3794
+ } & {
3795
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3796
+ isUninitialized: false;
3797
+ isLoading: false;
3798
+ isSuccess: true;
3799
+ isError: false;
3800
+ }) | ({
3801
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3802
+ } & {
3803
+ requestId: string;
3804
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3805
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3806
+ endpointName: string;
3807
+ startedTimeStamp: number;
3808
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3809
+ } & {
3810
+ data?: undefined;
3811
+ } & {
3812
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3813
+ isUninitialized: false;
3814
+ isLoading: true;
3815
+ isSuccess: false;
3816
+ isError: false;
3817
+ }) | ({
3818
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3819
+ } & Omit<{
3820
+ requestId: string;
3821
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3822
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3823
+ endpointName: string;
3824
+ startedTimeStamp: number;
3825
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3826
+ }, "error"> & Required<Pick<{
3827
+ requestId: string;
3828
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3829
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3830
+ endpointName: string;
3831
+ startedTimeStamp: number;
3832
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3833
+ }, "error">> & {
3834
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3835
+ isUninitialized: false;
3836
+ isLoading: false;
3837
+ isSuccess: false;
3838
+ isError: true;
3839
+ })>(options?: {
3840
+ selectFromResult?: ((state: ({
3841
+ requestId?: undefined;
3842
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3843
+ data?: undefined;
3844
+ error?: undefined;
3845
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
3846
+ startedTimeStamp?: undefined;
3847
+ fulfilledTimeStamp?: undefined;
3848
+ } & {
3849
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3850
+ isUninitialized: true;
3851
+ isLoading: false;
3852
+ isSuccess: false;
3853
+ isError: false;
3854
+ }) | ({
3855
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3856
+ } & Omit<{
3857
+ requestId: string;
3858
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3859
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3860
+ endpointName: string;
3861
+ startedTimeStamp: number;
3862
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3863
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
3864
+ requestId: string;
3865
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3866
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3867
+ endpointName: string;
3868
+ startedTimeStamp: number;
3869
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3870
+ }, "data" | "fulfilledTimeStamp">> & {
3871
+ error: undefined;
3872
+ } & {
3873
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
3874
+ isUninitialized: false;
3875
+ isLoading: false;
3876
+ isSuccess: true;
3877
+ isError: false;
3878
+ }) | ({
3879
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
3880
+ } & {
3881
+ requestId: string;
3882
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3883
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3884
+ endpointName: string;
3885
+ startedTimeStamp: number;
3886
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3887
+ } & {
3888
+ data?: undefined;
3889
+ } & {
3890
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
3891
+ isUninitialized: false;
3892
+ isLoading: true;
3893
+ isSuccess: false;
3894
+ isError: false;
3895
+ }) | ({
3896
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3897
+ } & Omit<{
3898
+ requestId: string;
3899
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3900
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3901
+ endpointName: string;
3902
+ startedTimeStamp: number;
3903
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3904
+ }, "error"> & Required<Pick<{
3905
+ requestId: string;
3906
+ data?: CreateEnvironmentApiResponse | undefined; /** Capabilities associated with the relationship. */
3907
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3908
+ endpointName: string;
3909
+ startedTimeStamp: number;
3910
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
3911
+ }, "error">> & {
3912
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
3913
+ isUninitialized: false;
3914
+ isLoading: false;
3915
+ isSuccess: false;
3916
+ isError: true;
3917
+ })) => R) | undefined;
3918
+ fixedCacheKey?: string | undefined;
3919
+ } | undefined) => readonly [(arg: CreateEnvironmentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, CreateEnvironmentApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3920
+ originalArgs?: CreateEnvironmentApiArg | undefined;
3921
+ reset: () => void;
3922
+ }];
3923
+ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
3924
+ data?: undefined;
3925
+ error?: undefined;
3926
+ fulfilledTimeStamp?: undefined;
3927
+ originalArgs?: undefined;
3928
+ requestId?: undefined;
3929
+ endpointName?: string | undefined;
3930
+ startedTimeStamp?: undefined;
3931
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
3932
+ currentData?: GetEnvironmentsApiResponse | undefined;
3933
+ isLoading: false;
3934
+ isFetching: false;
3935
+ isSuccess: false;
3936
+ isError: false;
3937
+ isUninitialized: true;
3938
+ } | {
3939
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
3940
+ fulfilledTimeStamp?: number | undefined;
3941
+ originalArgs?: GetEnvironmentsApiArg | undefined;
3942
+ requestId?: string | undefined;
3943
+ endpointName?: string | undefined;
3944
+ startedTimeStamp?: number | undefined;
3945
+ status: _reduxjs_toolkit_query.QueryStatus;
3946
+ currentData?: GetEnvironmentsApiResponse | undefined;
3947
+ isUninitialized: false;
3948
+ isSuccess: false;
3949
+ isError: false;
3950
+ isLoading: true;
3951
+ isFetching: boolean;
3952
+ data: undefined;
3953
+ } | {
3954
+ originalArgs?: GetEnvironmentsApiArg | undefined;
3955
+ requestId?: string | undefined;
3956
+ endpointName?: string | undefined;
3957
+ startedTimeStamp?: number | undefined;
3958
+ status: _reduxjs_toolkit_query.QueryStatus;
3959
+ currentData?: GetEnvironmentsApiResponse | undefined;
3960
+ isUninitialized: false;
3961
+ isLoading: false;
3962
+ isError: false;
3963
+ isSuccess: true;
3964
+ isFetching: true;
3965
+ error: undefined;
3966
+ data: GetEnvironmentsApiResponse;
3967
+ fulfilledTimeStamp: number;
3968
+ } | {
3969
+ originalArgs?: GetEnvironmentsApiArg | undefined;
3970
+ requestId?: string | undefined;
3971
+ endpointName?: string | undefined;
3972
+ startedTimeStamp?: number | undefined;
3973
+ status: _reduxjs_toolkit_query.QueryStatus;
3974
+ isUninitialized: false;
3975
+ isLoading: false;
3976
+ isError: false;
3977
+ isSuccess: true;
3978
+ isFetching: false;
3979
+ error: undefined;
3980
+ data: GetEnvironmentsApiResponse;
3981
+ fulfilledTimeStamp: number;
3982
+ currentData: GetEnvironmentsApiResponse;
3983
+ } | {
3984
+ data?: GetEnvironmentsApiResponse | undefined;
3985
+ fulfilledTimeStamp?: number | undefined;
3986
+ originalArgs?: GetEnvironmentsApiArg | undefined;
3987
+ requestId?: string | undefined;
3988
+ endpointName?: string | undefined;
3989
+ startedTimeStamp?: number | undefined;
3990
+ status: _reduxjs_toolkit_query.QueryStatus;
3991
+ currentData?: GetEnvironmentsApiResponse | undefined;
3992
+ isUninitialized: false;
3993
+ isLoading: false;
3994
+ isFetching: false;
3995
+ isSuccess: false;
3996
+ isError: true;
3997
+ error: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError;
3998
+ }) & {
3999
+ status: _reduxjs_toolkit_query.QueryStatus;
4000
+ }>(arg: GetEnvironmentsApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
4001
+ skip?: boolean | undefined;
4002
+ refetchOnMountOrArgChange?: number | boolean | undefined;
4003
+ } & {
4004
+ skip?: boolean | undefined;
4005
+ selectFromResult?: ((state: ({
4006
+ data?: undefined;
4007
+ error?: undefined;
4008
+ fulfilledTimeStamp?: undefined;
4009
+ originalArgs?: undefined;
4010
+ requestId?: undefined;
4011
+ endpointName?: string | undefined;
4012
+ startedTimeStamp?: undefined;
4013
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4014
+ currentData?: GetEnvironmentsApiResponse | undefined;
4015
+ isLoading: false;
4016
+ isFetching: false;
4017
+ isSuccess: false;
4018
+ isError: false;
4019
+ isUninitialized: true;
4020
+ } | {
4021
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4022
+ fulfilledTimeStamp?: number | undefined;
4023
+ originalArgs?: GetEnvironmentsApiArg | undefined;
4024
+ requestId?: string | undefined;
4025
+ endpointName?: string | undefined;
4026
+ startedTimeStamp?: number | undefined;
4027
+ status: _reduxjs_toolkit_query.QueryStatus;
4028
+ currentData?: GetEnvironmentsApiResponse | undefined;
4029
+ isUninitialized: false;
4030
+ isSuccess: false;
4031
+ isError: false;
4032
+ isLoading: true;
4033
+ isFetching: boolean;
4034
+ data: undefined;
4035
+ } | {
4036
+ originalArgs?: GetEnvironmentsApiArg | undefined;
4037
+ requestId?: string | undefined;
4038
+ endpointName?: string | undefined;
4039
+ startedTimeStamp?: number | undefined;
4040
+ status: _reduxjs_toolkit_query.QueryStatus;
4041
+ currentData?: GetEnvironmentsApiResponse | undefined;
4042
+ isUninitialized: false;
4043
+ isLoading: false;
4044
+ isError: false;
4045
+ isSuccess: true;
4046
+ isFetching: true;
4047
+ error: undefined;
4048
+ data: GetEnvironmentsApiResponse;
4049
+ fulfilledTimeStamp: number;
4050
+ } | {
4051
+ originalArgs?: GetEnvironmentsApiArg | undefined;
4052
+ requestId?: string | undefined;
4053
+ endpointName?: string | undefined;
4054
+ startedTimeStamp?: number | undefined;
4055
+ status: _reduxjs_toolkit_query.QueryStatus;
4056
+ isUninitialized: false;
4057
+ isLoading: false;
4058
+ isError: false;
4059
+ isSuccess: true;
4060
+ isFetching: false;
4061
+ error: undefined;
4062
+ data: GetEnvironmentsApiResponse;
4063
+ fulfilledTimeStamp: number;
4064
+ currentData: GetEnvironmentsApiResponse;
4065
+ } | {
4066
+ data?: GetEnvironmentsApiResponse | undefined;
4067
+ fulfilledTimeStamp?: number | undefined;
4068
+ originalArgs?: GetEnvironmentsApiArg | undefined;
4069
+ requestId?: string | undefined;
4070
+ endpointName?: string | undefined;
4071
+ startedTimeStamp?: number | undefined;
4072
+ status: _reduxjs_toolkit_query.QueryStatus;
4073
+ currentData?: GetEnvironmentsApiResponse | undefined;
4074
+ isUninitialized: false;
4075
+ isLoading: false;
4076
+ isFetching: false;
4077
+ isSuccess: false;
4078
+ isError: true;
4079
+ error: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError;
4080
+ }) & {
4081
+ status: _reduxjs_toolkit_query.QueryStatus;
4082
+ }) => R) | undefined;
4083
+ }) | undefined) => [R][R extends any ? 0 : never] & {
4084
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetEnvironmentsApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, GetEnvironmentsApiResponse, "mesheryRtkSchemasApi", unknown>>;
4085
+ };
4086
+ declare const usePostEvaluateMutation: <R extends Record<string, any> = ({
4087
+ requestId?: undefined;
4088
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4089
+ data?: undefined;
4090
+ error?: undefined;
4091
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
4092
+ startedTimeStamp?: undefined;
4093
+ fulfilledTimeStamp?: undefined;
4094
+ } & {
4095
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4096
+ isUninitialized: true;
4097
+ isLoading: false;
4098
+ isSuccess: false;
4099
+ isError: false;
4100
+ }) | ({
4101
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
4102
+ } & Omit<{
4103
+ requestId: string;
4104
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4105
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4106
+ endpointName: string;
4107
+ startedTimeStamp: number;
4108
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4109
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
4110
+ requestId: string;
4111
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4112
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4113
+ endpointName: string;
4114
+ startedTimeStamp: number;
4115
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4116
+ }, "data" | "fulfilledTimeStamp">> & {
4117
+ error: undefined;
4118
+ } & {
4119
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
4120
+ isUninitialized: false;
4121
+ isLoading: false;
4122
+ isSuccess: true;
4123
+ isError: false;
4124
+ }) | ({
4125
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
4126
+ } & {
4127
+ requestId: string;
4128
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4129
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4130
+ endpointName: string;
4131
+ startedTimeStamp: number;
4132
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4133
+ } & {
4134
+ data?: undefined;
4135
+ } & {
4136
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
4137
+ isUninitialized: false;
4138
+ isLoading: true;
4139
+ isSuccess: false;
4140
+ isError: false;
4141
+ }) | ({
4142
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
4143
+ } & Omit<{
4144
+ requestId: string;
4145
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4146
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4147
+ endpointName: string;
4148
+ startedTimeStamp: number;
4149
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4150
+ }, "error"> & Required<Pick<{
4151
+ requestId: string;
4152
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4153
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4154
+ endpointName: string;
4155
+ startedTimeStamp: number;
4156
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4157
+ }, "error">> & {
4158
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
4159
+ isUninitialized: false;
4160
+ isLoading: false;
4161
+ isSuccess: false;
4162
+ isError: true;
4163
+ })>(options?: {
4164
+ selectFromResult?: ((state: ({
4165
+ requestId?: undefined;
4166
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4167
+ data?: undefined;
4168
+ error?: undefined;
4169
+ endpointName?: string | undefined; /** Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
4170
+ startedTimeStamp?: undefined;
4171
+ fulfilledTimeStamp?: undefined;
4172
+ } & {
4173
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4174
+ isUninitialized: true;
4175
+ isLoading: false;
4176
+ isSuccess: false;
4177
+ isError: false;
4178
+ }) | ({
4179
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
4180
+ } & Omit<{
4181
+ requestId: string;
4182
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4183
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4184
+ endpointName: string;
4185
+ startedTimeStamp: number;
4186
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4187
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
4188
+ requestId: string;
4189
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4190
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4191
+ endpointName: string;
4192
+ startedTimeStamp: number;
4193
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4194
+ }, "data" | "fulfilledTimeStamp">> & {
4195
+ error: undefined;
4196
+ } & {
4197
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
4198
+ isUninitialized: false;
4199
+ isLoading: false;
4200
+ isSuccess: true;
4201
+ isError: false;
4202
+ }) | ({
4203
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
4204
+ } & {
4205
+ requestId: string;
4206
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4207
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4208
+ endpointName: string;
4209
+ startedTimeStamp: number;
4210
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4211
+ } & {
4212
+ data?: undefined;
4213
+ } & {
4214
+ status: _reduxjs_toolkit_query.QueryStatus.pending; /** A Universally Unique Identifier used to uniquely identify entites in Meshery. The UUID core defintion is used across different schemas. */
4215
+ isUninitialized: false;
4216
+ isLoading: true;
4217
+ isSuccess: false;
4218
+ isError: false;
4219
+ }) | ({
4220
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
4221
+ } & Omit<{
4222
+ requestId: string;
4223
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4224
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4225
+ endpointName: string;
4226
+ startedTimeStamp: number;
4227
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4228
+ }, "error"> & Required<Pick<{
4229
+ requestId: string;
4230
+ data?: PostEvaluateApiResponse | undefined; /** Capabilities associated with the relationship. */
4231
+ error?: _reduxjs_toolkit_query.FetchBaseQueryError | _reduxjs_toolkit.SerializedError | undefined;
4232
+ endpointName: string;
4233
+ startedTimeStamp: number;
4234
+ fulfilledTimeStamp?: number | undefined; /** Version of the capability definition. */
4235
+ }, "error">> & {
4236
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
4237
+ isUninitialized: false;
4238
+ isLoading: false;
4239
+ isSuccess: false;
4240
+ isError: true;
4241
+ })) => R) | undefined;
4242
+ fixedCacheKey?: string | undefined;
4243
+ } | undefined) => readonly [(arg: PostEvaluateApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostEvaluateApiArg, _reduxjs_toolkit_query.BaseQueryFn<string | _reduxjs_toolkit_query.FetchArgs, unknown, _reduxjs_toolkit_query.FetchBaseQueryError, {}, _reduxjs_toolkit_query.FetchBaseQueryMeta>, never, PostEvaluateApiResponse, "mesheryRtkSchemasApi", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4244
+ originalArgs?: PostEvaluateApiArg | undefined;
4245
+ reset: () => void;
4246
+ }];
4247
+
4248
+ export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PostEvaluateApiArg, type PostEvaluateApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, injectedRtkApi as mesheryApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useImportDesignMutation, usePostApiWorkspacesMutation, usePostEvaluateMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation };