@meshery/schemas 1.2.22 → 1.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/cloudApi.d.mts +1719 -1518
  2. package/dist/cloudApi.d.ts +1719 -1518
  3. package/dist/cloudApi.js +1 -1
  4. package/dist/cloudApi.mjs +1 -1
  5. package/dist/constructs/v1alpha1/capability/Capability.d.ts +111 -106
  6. package/dist/constructs/v1alpha1/core/Core.d.ts +734 -822
  7. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +40 -45
  8. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1716 -1829
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6648 -6029
  10. package/dist/constructs/v1beta1/badge/Badge.d.ts +600 -439
  11. package/dist/constructs/v1beta1/capability/Capability.d.ts +111 -106
  12. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +40 -45
  13. package/dist/constructs/v1beta1/category/Category.d.ts +26 -38
  14. package/dist/constructs/v1beta1/component/Component.d.ts +729 -833
  15. package/dist/constructs/v1beta1/connection/Connection.d.ts +1357 -1170
  16. package/dist/constructs/v1beta1/core/Core.d.ts +734 -822
  17. package/dist/constructs/v1beta1/credential/Credential.d.ts +593 -458
  18. package/dist/constructs/v1beta1/environment/Environment.d.ts +835 -666
  19. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +5508 -6030
  20. package/dist/constructs/v1beta1/event/Event.d.ts +898 -527
  21. package/dist/constructs/v1beta1/feature/Feature.d.ts +287 -249
  22. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +1244 -877
  23. package/dist/constructs/v1beta1/key/Key.d.ts +589 -444
  24. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +796 -575
  25. package/dist/constructs/v1beta1/model/Model.d.ts +572 -598
  26. package/dist/constructs/v1beta1/organization/Organization.d.ts +1829 -1410
  27. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +17093 -17910
  28. package/dist/constructs/v1beta1/plan/Plan.d.ts +159 -115
  29. package/dist/constructs/v1beta1/role/Role.d.ts +933 -688
  30. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +425 -315
  31. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +18 -61
  32. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +839 -674
  33. package/dist/constructs/v1beta1/support/Support.d.ts +115 -74
  34. package/dist/constructs/v1beta1/system/System.d.ts +434 -0
  35. package/dist/constructs/v1beta1/system/System.js +1 -0
  36. package/dist/constructs/v1beta1/system/System.mjs +0 -0
  37. package/dist/constructs/v1beta1/system/SystemSchema.d.ts +2 -0
  38. package/dist/constructs/v1beta1/system/SystemSchema.js +2 -0
  39. package/dist/constructs/v1beta1/system/SystemSchema.mjs +2 -0
  40. package/dist/constructs/v1beta1/team/Team.d.ts +1028 -762
  41. package/dist/constructs/v1beta1/token/Token.d.ts +612 -475
  42. package/dist/constructs/v1beta1/user/User.d.ts +1723 -1554
  43. package/dist/constructs/v1beta1/view/View.d.ts +833 -664
  44. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4900 -4695
  45. package/dist/constructs/v1beta2/academy/Academy.d.ts +7840 -7222
  46. package/dist/constructs/v1beta2/badge/Badge.d.ts +610 -453
  47. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +40 -45
  48. package/dist/constructs/v1beta2/component/Component.d.ts +747 -851
  49. package/dist/constructs/v1beta2/connection/Connection.d.ts +1376 -1189
  50. package/dist/constructs/v1beta2/core/Core.d.ts +768 -856
  51. package/dist/constructs/v1beta2/credential/Credential.d.ts +572 -437
  52. package/dist/constructs/v1beta2/design/Design.d.ts +17682 -18467
  53. package/dist/constructs/v1beta2/event/Event.d.ts +946 -575
  54. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1268 -901
  55. package/dist/constructs/v1beta2/key/Key.d.ts +599 -454
  56. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +806 -585
  57. package/dist/constructs/v1beta2/model/Model.d.ts +610 -636
  58. package/dist/constructs/v1beta2/organization/Organization.d.ts +2135 -1724
  59. package/dist/constructs/v1beta2/plan/Plan.d.ts +169 -128
  60. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +1842 -2011
  61. package/dist/constructs/v1beta2/role/Role.d.ts +940 -695
  62. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +466 -356
  63. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +866 -701
  64. package/dist/constructs/v1beta2/team/Team.d.ts +1118 -852
  65. package/dist/constructs/v1beta2/token/Token.d.ts +616 -479
  66. package/dist/constructs/v1beta2/user/User.d.ts +1723 -1554
  67. package/dist/constructs/v1beta2/view/View.d.ts +838 -669
  68. package/dist/constructs/v1beta3/academy/Academy.d.ts +7836 -7218
  69. package/dist/constructs/v1beta3/component/Component.d.ts +753 -857
  70. package/dist/constructs/v1beta3/connection/Connection.d.ts +1447 -1260
  71. package/dist/constructs/v1beta3/design/Design.d.ts +5727 -5305
  72. package/dist/constructs/v1beta3/environment/Environment.d.ts +858 -689
  73. package/dist/constructs/v1beta3/event/Event.d.ts +1041 -666
  74. package/dist/constructs/v1beta3/filter/Filter.d.ts +1437 -1299
  75. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1277 -910
  76. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +850 -690
  77. package/dist/constructs/v1beta3/plan/Plan.d.ts +197 -156
  78. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +1842 -2011
  79. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +969 -804
  80. package/dist/constructs/v1beta3/token/Token.d.ts +616 -479
  81. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5030 -4822
  82. package/dist/index.d.mts +5480 -5022
  83. package/dist/index.d.ts +5480 -5022
  84. package/dist/mesheryApi.d.mts +1314 -522
  85. package/dist/mesheryApi.d.ts +1314 -522
  86. package/dist/mesheryApi.js +1 -1
  87. package/dist/mesheryApi.mjs +1 -1
  88. package/package.json +1 -2
@@ -3,867 +3,763 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
 
6
- export interface paths {}
7
-
6
+ export type paths = Record<string, never>;
7
+ export type webhooks = Record<string, never>;
8
8
  export interface components {
9
- schemas: {
10
- /** @description Components are reusable building blocks for depicting capabilities defined within models. Learn more at https://docs.meshery.io/concepts/components */
11
- ComponentDefinition: {
12
- /**
13
- * Format: uuid
14
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
15
- */
16
- id: string;
17
- /**
18
- * @description Specifies the version of the schema to which the component definition conforms.
19
- * @default components.meshery.io/v1beta1
20
- * @example [
21
- * "v1",
22
- * "v1alpha1",
23
- * "v2beta3",
24
- * "v1.custom-suffix",
25
- * "models.meshery.io/v1beta1",
26
- * "capability.meshery.io/v1alpha1"
27
- * ]
28
- */
29
- schemaVersion: string;
30
- /** @description Version of the component definition. */
31
- version: string;
32
- /** @description Name of the component in human-readible format. */
33
- displayName: string;
34
- /** @description A written representation of the purpose and characteristics of the component. */
35
- description: string;
36
- /**
37
- * @description Format specifies the format used in the `component.schema` field. JSON is the default.
38
- * @default JSON
39
- * @enum {string}
40
- */
41
- format: "JSON" | "CUE";
42
- /** @description 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 */
43
- model: {
44
- /**
45
- * Format: uuid
46
- * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
47
- */
48
- id: string;
49
- /**
50
- * @description Specifies the version of the schema used for the definition.
51
- * @default models.meshery.io/v1beta1
52
- * @example [
53
- * "v1",
54
- * "v1alpha1",
55
- * "v2beta3",
56
- * "v1.custom-suffix",
57
- * "models.meshery.io/v1beta1",
58
- * "capability.meshery.io/v1alpha1"
59
- * ]
60
- */
61
- schemaVersion: string;
62
- /** @description Version of the model definition. */
63
- version: string;
64
- /**
65
- * @description The unique name for the model within the scope of a registrant.
66
- * @default untitled-model
67
- */
68
- name: string;
69
- /**
70
- * @description Human-readable name for the model.
71
- * @default Untitled Model
72
- */
73
- displayName: string;
74
- /**
75
- * @description Description of the model.
76
- * @default A new Meshery model.
77
- */
78
- description: string;
79
- /**
80
- * @description Status of model, including:
81
- * - 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.
82
- * - maintenance: model is unavailable for a period of time.
83
- * - enabled: model is available for use for all users of this Meshery Server.
84
- * - ignored: model is unavailable for use for all users of this Meshery Server.
85
- * @default enabled
86
- * @enum {string}
87
- */
88
- status: "ignored" | "enabled" | "duplicate";
89
- /** @description 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 */
90
- registrant: {
91
- /**
92
- * Format: uuid
93
- * @description Connection ID
94
- */
95
- id: string;
96
- /** @description Connection Name */
97
- name: string;
98
- /**
99
- * Format: uuid
100
- * @description Associated Credential ID
101
- */
102
- credentialId?: string;
103
- /** @description Connection Type (platform, telemetry, collaboration) */
104
- type: string;
105
- /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
106
- subType: string;
107
- /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
108
- kind: string;
109
- /** @description Additional connection metadata */
110
- metadata?: { [key: string]: unknown };
111
- /**
112
- * @description Connection Status
113
- * @enum {string}
114
- */
115
- status:
116
- | "discovered"
117
- | "registered"
118
- | "connected"
119
- | "ignored"
120
- | "maintenance"
121
- | "disconnected"
122
- | "deleted"
123
- | "not found";
124
- /**
125
- * Format: uuid
126
- * @description User ID who owns this connection
127
- */
128
- user_id?: string;
129
- /** Format: date-time */
130
- created_at?: string;
131
- /** Format: date-time */
132
- updated_at?: string;
133
- /**
134
- * Format: date-time
135
- * @description SQL null Timestamp to handle null values of time.
136
- */
137
- deleted_at?: string;
138
- /** @description Associated environments for this connection */
139
- environments?: {
9
+ schemas: {
10
+ /** @description Components are reusable building blocks for depicting capabilities defined within models. Learn more at https://docs.meshery.io/concepts/components */
11
+ ComponentDefinition: {
140
12
  /**
141
13
  * Format: uuid
142
- * @description ID
14
+ * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
143
15
  */
144
16
  id: string;
145
17
  /**
146
- * @description Specifies the version of the schema to which the environment conforms.
147
- * @default environments.meshery.io/v1beta1
18
+ * @description Specifies the version of the schema to which the component definition conforms.
19
+ * @default components.meshery.io/v1beta1
148
20
  * @example [
149
- * "v1",
150
- * "v1alpha1",
151
- * "v2beta3",
152
- * "v1.custom-suffix",
153
- * "models.meshery.io/v1beta1",
154
- * "capability.meshery.io/v1alpha1"
155
- * ]
21
+ * "v1",
22
+ * "v1alpha1",
23
+ * "v2beta3",
24
+ * "v1.custom-suffix",
25
+ * "models.meshery.io/v1beta1",
26
+ * "capability.meshery.io/v1alpha1"
27
+ * ]
156
28
  */
157
29
  schemaVersion: string;
158
- /** @description Environment name */
159
- name: string;
160
- /** @description Environment description */
30
+ /** @description Version of the component definition. */
31
+ version: string;
32
+ /** @description Name of the component in human-readible format. */
33
+ displayName: string;
34
+ /** @description A written representation of the purpose and characteristics of the component. */
161
35
  description: string;
162
36
  /**
163
- * Format: uuid
164
- * @description Environment organization ID
37
+ * @description Format specifies the format used in the `component.schema` field. JSON is the default.
38
+ * @default JSON
39
+ * @enum {string}
165
40
  */
166
- organization_id: string;
41
+ format: "JSON" | "CUE";
42
+ /** @description 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 */
43
+ model: {
44
+ /**
45
+ * Format: uuid
46
+ * @description Uniquely identifies the entity (i.e. component) as defined in a declaration (i.e. design).
47
+ */
48
+ id: string;
49
+ /**
50
+ * @description Specifies the version of the schema used for the definition.
51
+ * @default models.meshery.io/v1beta1
52
+ * @example [
53
+ * "v1",
54
+ * "v1alpha1",
55
+ * "v2beta3",
56
+ * "v1.custom-suffix",
57
+ * "models.meshery.io/v1beta1",
58
+ * "capability.meshery.io/v1alpha1"
59
+ * ]
60
+ */
61
+ schemaVersion: string;
62
+ /** @description Version of the model definition. */
63
+ version: string;
64
+ /**
65
+ * @description The unique name for the model within the scope of a registrant.
66
+ * @default untitled-model
67
+ * @example cert-manager
68
+ */
69
+ name: string;
70
+ /**
71
+ * @description Human-readable name for the model.
72
+ * @default Untitled Model
73
+ * @example Cert Manager
74
+ */
75
+ displayName: string;
76
+ /**
77
+ * @description Description of the model.
78
+ * @default A new Meshery model.
79
+ */
80
+ description: string;
81
+ /**
82
+ * @description Status of model, including:
83
+ * - 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.
84
+ * - maintenance: model is unavailable for a period of time.
85
+ * - enabled: model is available for use for all users of this Meshery Server.
86
+ * - ignored: model is unavailable for use for all users of this Meshery Server.
87
+ * @default enabled
88
+ * @enum {string}
89
+ */
90
+ status: "ignored" | "enabled" | "duplicate";
91
+ /** @description 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 */
92
+ registrant: {
93
+ /**
94
+ * Format: uuid
95
+ * @description Connection ID
96
+ */
97
+ id: string;
98
+ /** @description Connection Name */
99
+ name: string;
100
+ /**
101
+ * Format: uuid
102
+ * @description Associated Credential ID
103
+ */
104
+ credentialId?: string;
105
+ /** @description Connection Type (platform, telemetry, collaboration) */
106
+ type: string;
107
+ /** @description Connection Subtype (cloud, identity, metrics, chat, git, orchestration) */
108
+ subType: string;
109
+ /** @description Connection Kind (meshery, kubernetes, prometheus, grafana, gke, aws, azure, slack, github) */
110
+ kind: string;
111
+ /** @description Additional connection metadata */
112
+ metadata?: Record<string, never>;
113
+ /**
114
+ * @description Connection Status
115
+ * @enum {string}
116
+ */
117
+ status: "discovered" | "registered" | "connected" | "ignored" | "maintenance" | "disconnected" | "deleted" | "not found";
118
+ /**
119
+ * Format: uuid
120
+ * @description User ID who owns this connection
121
+ */
122
+ user_id?: string;
123
+ /** Format: date-time */
124
+ created_at?: string;
125
+ /** Format: date-time */
126
+ updated_at?: string;
127
+ /**
128
+ * Format: date-time
129
+ * @description SQL null Timestamp to handle null values of time.
130
+ */
131
+ deleted_at?: string;
132
+ /** @description Associated environments for this connection */
133
+ environments?: {
134
+ /**
135
+ * Format: uuid
136
+ * @description ID
137
+ */
138
+ id: string;
139
+ /**
140
+ * @description Specifies the version of the schema to which the environment conforms.
141
+ * @default environments.meshery.io/v1beta1
142
+ * @example [
143
+ * "v1",
144
+ * "v1alpha1",
145
+ * "v2beta3",
146
+ * "v1.custom-suffix",
147
+ * "models.meshery.io/v1beta1",
148
+ * "capability.meshery.io/v1alpha1"
149
+ * ]
150
+ */
151
+ schemaVersion: string;
152
+ /** @description Environment name */
153
+ name: string;
154
+ /** @description Environment description */
155
+ description: string;
156
+ /**
157
+ * Format: uuid
158
+ * @description Environment organization ID
159
+ */
160
+ organization_id: string;
161
+ /**
162
+ * Format: uuid
163
+ * @description Environment owner
164
+ */
165
+ owner?: string;
166
+ /**
167
+ * Format: date-time
168
+ * @description Timestamp when the resource was created.
169
+ */
170
+ created_at?: string;
171
+ /** @description Additional metadata associated with the environment. */
172
+ metadata?: Record<string, never>;
173
+ /**
174
+ * Format: date-time
175
+ * @description Timestamp when the resource was updated.
176
+ */
177
+ updated_at?: string;
178
+ /**
179
+ * Format: date-time
180
+ * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
181
+ */
182
+ deleted_at?: string | null;
183
+ }[];
184
+ /**
185
+ * @description Specifies the version of the schema used for the definition.
186
+ * @default connections.meshery.io/v1beta1
187
+ * @example [
188
+ * "v1",
189
+ * "v1alpha1",
190
+ * "v2beta3",
191
+ * "v1.custom-suffix",
192
+ * "models.meshery.io/v1beta1",
193
+ * "capability.meshery.io/v1alpha1"
194
+ * ]
195
+ */
196
+ schemaVersion: string;
197
+ };
198
+ /**
199
+ * Format: uuid
200
+ * @description ID of the registrant.
201
+ */
202
+ registrantId: string;
203
+ /**
204
+ * Format: uuid
205
+ * @description ID of the category.
206
+ */
207
+ categoryId: string;
208
+ /** @description Category of the model. */
209
+ category: {
210
+ /**
211
+ * Format: uuid
212
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
213
+ */
214
+ id: string;
215
+ /**
216
+ * @description The category of the model that determines the main grouping.
217
+ * @default Uncategorized
218
+ * @enum {string}
219
+ */
220
+ 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";
221
+ /** @description Additional metadata associated with the category. */
222
+ metadata: Record<string, never>;
223
+ };
224
+ /**
225
+ * SubCategory
226
+ * @description Sub category of the model determines the secondary grouping.
227
+ * @default Uncategorized
228
+ * @enum {string}
229
+ */
230
+ 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";
231
+ /** @description Metadata containing additional information associated with the model. */
232
+ metadata?: {
233
+ /** @description Capabilities associated with the model */
234
+ capabilities?: {
235
+ /**
236
+ * @description Specifies the version of the schema to which the capability definition conforms.
237
+ * @example [
238
+ * "v1",
239
+ * "v1alpha1",
240
+ * "v2beta3",
241
+ * "v1.custom-suffix",
242
+ * "models.meshery.io/v1beta1",
243
+ * "capability.meshery.io/v1alpha1"
244
+ * ]
245
+ */
246
+ schemaVersion: string;
247
+ /** @description Version of the capability definition. */
248
+ version: string;
249
+ /** @description Name of the capability in human-readible format. */
250
+ displayName: string;
251
+ /** @description A written representation of the purpose and characteristics of the capability. */
252
+ description: string;
253
+ /** @description Top-level categorization of the capability */
254
+ kind: string | "action" | "mutate" | "view" | "interaction";
255
+ /** @description Classification of capabilities. Used to group capabilities similar in nature. */
256
+ type: string;
257
+ /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
258
+ subType: string;
259
+ /** @description Key that backs the capability. */
260
+ key: string;
261
+ /** @description State of the entity in which the capability is applicable. */
262
+ entityState: ("declaration" | "instance")[];
263
+ /**
264
+ * @description Status of the capability
265
+ * @default enabled
266
+ * @enum {string}
267
+ */
268
+ status: "enabled" | "disabled";
269
+ /** @description Metadata contains additional information associated with the capability. Extension point. */
270
+ metadata?: {
271
+ [key: string]: unknown;
272
+ };
273
+ }[];
274
+ /**
275
+ * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
276
+ * @default false
277
+ */
278
+ isAnnotation: boolean;
279
+ /**
280
+ * @description Primary color associated with the model.
281
+ * @default #00b39f
282
+ */
283
+ primaryColor: string;
284
+ /**
285
+ * @description Secondary color associated with the model.
286
+ * @default #00D3A9
287
+ */
288
+ secondaryColor: string;
289
+ /**
290
+ * @description SVG representation of the model in white color.
291
+ * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
292
+ */
293
+ svgWhite: string;
294
+ /**
295
+ * @description SVG representation of the model in colored format.
296
+ * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
297
+ */
298
+ svgColor: string;
299
+ /** @description SVG representation of the complete model. */
300
+ svgComplete?: string;
301
+ /**
302
+ * @description 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)
303
+ * @enum {string}
304
+ */
305
+ 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";
306
+ } & {
307
+ [key: string]: unknown;
308
+ };
309
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
310
+ model: {
311
+ /** @description Version of the model as defined by the registrant. */
312
+ version: string;
313
+ };
314
+ /** @description The relationships of the model. */
315
+ relationships: unknown[];
316
+ /** @description The components of the model. */
317
+ components: unknown[];
318
+ /**
319
+ * @description Number of components associated with the model.
320
+ * @default 0
321
+ */
322
+ componentsCount: number;
323
+ /**
324
+ * @description Number of relationships associated with the model.
325
+ * @default 0
326
+ */
327
+ relationshipsCount: number;
328
+ /**
329
+ * Format: date-time
330
+ * @description Timestamp when the resource was created.
331
+ */
332
+ created_at?: string;
333
+ /**
334
+ * Format: date-time
335
+ * @description Timestamp when the resource was updated.
336
+ */
337
+ updated_at?: string;
338
+ };
339
+ /** @description 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 */
340
+ modelReference: {
341
+ /**
342
+ * Format: uuid
343
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
344
+ */
345
+ id: string;
346
+ /**
347
+ * @description The unique name for the model within the scope of a registrant.
348
+ * @example cert-manager
349
+ */
350
+ name: string;
351
+ /** @description Version of the model definition. */
352
+ version: string;
353
+ /**
354
+ * @description Human-readable name for the model.
355
+ * @example Cert Manager
356
+ */
357
+ displayName: string;
358
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
359
+ model: {
360
+ /** @description Version of the model as defined by the registrant. */
361
+ version: string;
362
+ };
363
+ registrant: {
364
+ /** @description Kind of the registrant. */
365
+ kind: string;
366
+ };
367
+ };
167
368
  /**
168
369
  * Format: uuid
169
- * @description Environment owner
370
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
371
+ */
372
+ modelId?: string;
373
+ /** @description Visualization styles for a component */
374
+ styles?: ({
375
+ /** @description Primary color of the component used for UI representation. */
376
+ primaryColor: string;
377
+ /** @description Secondary color of the entity used for UI representation. */
378
+ secondaryColor?: string;
379
+ /** @description White SVG of the entity used for UI representation on dark background. */
380
+ svgWhite: string;
381
+ /** @description Colored SVG of the entity used for UI representation on light background. */
382
+ svgColor: string;
383
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
384
+ svgComplete: string;
385
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
386
+ color?: string;
387
+ /** @description The opacity of the label text, including its outline. */
388
+ "text-opacity"?: number;
389
+ /** @description A comma-separated list of font names to use on the label text. */
390
+ "font-family"?: string;
391
+ /** @description The size of the label text. */
392
+ "font-size"?: string;
393
+ /** @description A CSS font style to be applied to the label text. */
394
+ "font-style"?: string;
395
+ /** @description A CSS font weight to be applied to the label text. */
396
+ "font-weight"?: string;
397
+ /**
398
+ * @description A transformation to apply to the label text
399
+ * @enum {string}
400
+ */
401
+ "text-transform"?: "none" | "uppercase" | "lowercase";
402
+ /** @description 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. */
403
+ opacity?: number;
404
+ /** @description 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. */
405
+ "z-index"?: number;
406
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
407
+ label?: string;
408
+ /** @description The animation to apply to the element. example ripple,bounce,etc */
409
+ animation?: Record<string, never>;
410
+ } & {
411
+ [key: string]: unknown;
412
+ }) & {
413
+ /**
414
+ * @description 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)
415
+ * @enum {string}
416
+ */
417
+ 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";
418
+ /** @description 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. */
419
+ position?: {
420
+ /** @description The x-coordinate of the node. */
421
+ x: number;
422
+ /** @description The y-coordinate of the node. */
423
+ y: number;
424
+ };
425
+ /** @description The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id */
426
+ "body-text"?: string;
427
+ /** @description How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'. */
428
+ "body-text-wrap"?: string;
429
+ /** @description The maximum width for wrapping text in the node. */
430
+ "body-text-max-width"?: string;
431
+ /** @description The opacity of the node's body text, including its outline. */
432
+ "body-text-opacity"?: number;
433
+ /** @description The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g. */
434
+ "body-text-background-color"?: string;
435
+ /** @description The size of the node's body text. */
436
+ "body-text-font-size"?: number;
437
+ /** @description The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g. */
438
+ "body-text-color"?: string;
439
+ /** @description A CSS font weight to be applied to the node's body text. */
440
+ "body-text-font-weight"?: string;
441
+ /** @description A CSS horizontal alignment to be applied to the node's body text. */
442
+ "body-text-horizontal-align"?: string;
443
+ /** @description A CSS text decoration to be applied to the node's body text. */
444
+ "body-text-decoration"?: string;
445
+ /** @description A CSS vertical alignment to be applied to the node's body text. */
446
+ "body-text-vertical-align"?: string;
447
+ /** @description The width of the node's body or the width of an edge's line. */
448
+ width?: number;
449
+ /** @description The height of the node's body */
450
+ height?: number;
451
+ /** @description The URL that points to the image to show in the node. */
452
+ "background-image"?: string;
453
+ /** @description The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g. */
454
+ "background-color"?: string;
455
+ /** @description Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1. */
456
+ "background-blacken"?: number;
457
+ /** @description The opacity level of the node's background colour */
458
+ "background-opacity"?: number;
459
+ /** @description The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
460
+ "background-position-x"?: string;
461
+ /** @description The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
462
+ "background-position-y"?: string;
463
+ /** @description The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
464
+ "background-offset-x"?: string;
465
+ /** @description The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
466
+ "background-offset-y"?: string;
467
+ /** @description How the background image is fit to the node. Can be 'none', 'contain', or 'cover'. */
468
+ "background-fit"?: string;
469
+ /** @description How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'. */
470
+ "background-clip"?: string;
471
+ /** @description How the background image's width is determined. Can be 'none', 'inner', or 'outer'. */
472
+ "background-width-relative-to"?: string;
473
+ /** @description How the background image's height is determined. Can be 'none', 'inner', or 'outer'. */
474
+ "background-height-relative-to"?: string;
475
+ /** @description The size of the node's border. */
476
+ "border-width"?: number;
477
+ /**
478
+ * @description The style of the node's border
479
+ * @enum {string}
480
+ */
481
+ "border-style"?: "solid" | "dotted" | "dashed" | "double";
482
+ /** @description The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g. */
483
+ "border-color"?: string;
484
+ /** @description The opacity of the node's border */
485
+ "border-opacity"?: number;
486
+ /** @description The amount of padding around all sides of the node. */
487
+ padding?: number;
488
+ /**
489
+ * @description The horizontal alignment of a node's label
490
+ * @enum {string}
491
+ */
492
+ "text-halign"?: "left" | "center" | "right";
493
+ /**
494
+ * @description The vertical alignment of a node's label
495
+ * @enum {string}
496
+ */
497
+ "text-valign"?: "top" | "center" | "bottom";
498
+ /**
499
+ * @description Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.
500
+ * @default no
501
+ * @enum {string}
502
+ */
503
+ ghost: "yes" | "no";
504
+ /** @description 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. */
505
+ "active-bg-color"?: string;
506
+ /** @description The opacity of the active background indicator. Selector needs to be *core*. */
507
+ "active-bg-opacity"?: string;
508
+ /** @description The opacity of the active background indicator. Selector needs to be *core*. */
509
+ "active-bg-size"?: string;
510
+ /** @description 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. */
511
+ "selection-box-color"?: string;
512
+ /** @description The size of the border on the selection box. Selector needs to be *core* */
513
+ "selection-box-border-width"?: number;
514
+ /** @description The opacity of the selection box. Selector needs to be *core* */
515
+ "selection-box-opacity"?: number;
516
+ /** @description 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. */
517
+ "outside-texture-bg-color"?: string;
518
+ /** @description The opacity of the area outside the viewport texture. Selector needs to be *core* */
519
+ "outside-texture-bg-opacity"?: number;
520
+ /** @description 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 ) */
521
+ "shape-polygon-points"?: string;
522
+ /** @description The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
523
+ "menu-background-color"?: string;
524
+ /** @description The opacity of the background of the component menu. */
525
+ "menu-background-opacity"?: number;
526
+ /** @description The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
527
+ "menu-forground-color"?: string;
528
+ };
529
+ /**
530
+ * @description 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.
531
+ * @default [
532
+ * {
533
+ * "schemaVersion": "capability.meshery.io/v1beta1",
534
+ * "version": "0.7.0",
535
+ * "displayName": "Performance Test",
536
+ * "description": "Initiate a performance test. Meshery will execute the load generation, collect metrics, and present the results.",
537
+ * "kind": "action",
538
+ * "type": "operator",
539
+ * "subType": "perf-test",
540
+ * "key": "",
541
+ * "entityState": [
542
+ * "instance"
543
+ * ],
544
+ * "status": "enabled",
545
+ * "metadata": null
546
+ * },
547
+ * {
548
+ * "schemaVersion": "capability.meshery.io/v1beta1",
549
+ * "version": "0.7.0",
550
+ * "displayName": "Workload Configuration",
551
+ * "description": "Configure the workload specific setting of a component",
552
+ * "kind": "mutate",
553
+ * "type": "configuration",
554
+ * "subType": "config",
555
+ * "key": "",
556
+ * "entityState": [
557
+ * "declaration"
558
+ * ],
559
+ * "status": "enabled",
560
+ * "metadata": null
561
+ * },
562
+ * {
563
+ * "schemaVersion": "capability.meshery.io/v1beta1",
564
+ * "version": "0.7.0",
565
+ * "displayName": "Labels and Annotations Configuration",
566
+ * "description": "Configure Labels And Annotations for the component ",
567
+ * "kind": "mutate",
568
+ * "type": "configuration",
569
+ * "subType": "labels-and-annotations",
570
+ * "key": "",
571
+ * "entityState": [
572
+ * "declaration"
573
+ * ],
574
+ * "status": "enabled",
575
+ * "metadata": null
576
+ * },
577
+ * {
578
+ * "schemaVersion": "capability.meshery.io/v1beta1",
579
+ * "version": "0.7.0",
580
+ * "displayName": "Relationships",
581
+ * "description": "View relationships for the component",
582
+ * "kind": "view",
583
+ * "type": "configuration",
584
+ * "subType": "relationship",
585
+ * "key": "",
586
+ * "entityState": [
587
+ * "declaration",
588
+ * "instance"
589
+ * ],
590
+ * "status": "enabled",
591
+ * "metadata": null
592
+ * },
593
+ * {
594
+ * "schemaVersion": "capability.meshery.io/v1beta1",
595
+ * "version": "0.7.0",
596
+ * "displayName": "Json Schema",
597
+ * "description": "View Component Definition ",
598
+ * "kind": "view",
599
+ * "type": "configuration",
600
+ * "subType": "definition",
601
+ * "key": "",
602
+ * "entityState": [
603
+ * "declaration",
604
+ * "instance"
605
+ * ],
606
+ * "status": "enabled",
607
+ * "metadata": null
608
+ * },
609
+ * {
610
+ * "schemaVersion": "capability.meshery.io/v1beta1",
611
+ * "version": "0.7.0",
612
+ * "displayName": "Styling",
613
+ * "description": "Configure the visual styles for the component",
614
+ * "kind": "mutate",
615
+ * "type": "style",
616
+ * "subType": "",
617
+ * "key": "",
618
+ * "entityState": [
619
+ * "declaration"
620
+ * ],
621
+ * "status": "enabled",
622
+ * "metadata": null
623
+ * },
624
+ * {
625
+ * "schemaVersion": "capability.meshery.io/v1beta1",
626
+ * "version": "0.7.0",
627
+ * "displayName": "Change Shape",
628
+ * "description": "Change the shape of the component",
629
+ * "kind": "mutate",
630
+ * "type": "style",
631
+ * "subType": "shape",
632
+ * "key": "",
633
+ * "entityState": [
634
+ * "declaration"
635
+ * ],
636
+ * "status": "enabled",
637
+ * "metadata": null
638
+ * },
639
+ * {
640
+ * "schemaVersion": "capability.meshery.io/v1beta1",
641
+ * "version": "0.7.0",
642
+ * "displayName": "Compound Drag And Drop",
643
+ * "description": "Drag and Drop a component into a parent component in graph view",
644
+ * "kind": "interaction",
645
+ * "type": "graph",
646
+ * "subType": "compoundDnd",
647
+ * "key": "",
648
+ * "entityState": [
649
+ * "declaration"
650
+ * ],
651
+ * "status": "enabled",
652
+ * "metadata": null
653
+ * }
654
+ * ]
655
+ */
656
+ capabilities: {
657
+ /**
658
+ * @description Specifies the version of the schema to which the capability definition conforms.
659
+ * @example [
660
+ * "v1",
661
+ * "v1alpha1",
662
+ * "v2beta3",
663
+ * "v1.custom-suffix",
664
+ * "models.meshery.io/v1beta1",
665
+ * "capability.meshery.io/v1alpha1"
666
+ * ]
667
+ */
668
+ schemaVersion: string;
669
+ /** @description Version of the capability definition. */
670
+ version: string;
671
+ /** @description Name of the capability in human-readible format. */
672
+ displayName: string;
673
+ /** @description A written representation of the purpose and characteristics of the capability. */
674
+ description: string;
675
+ /** @description Top-level categorization of the capability */
676
+ kind: string | "action" | "mutate" | "view" | "interaction";
677
+ /** @description Classification of capabilities. Used to group capabilities similar in nature. */
678
+ type: string;
679
+ /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
680
+ subType: string;
681
+ /** @description Key that backs the capability. */
682
+ key: string;
683
+ /** @description State of the entity in which the capability is applicable. */
684
+ entityState: ("declaration" | "instance")[];
685
+ /**
686
+ * @description Status of the capability
687
+ * @default enabled
688
+ * @enum {string}
689
+ */
690
+ status: "enabled" | "disabled";
691
+ /** @description Metadata contains additional information associated with the capability. Extension point. */
692
+ metadata?: {
693
+ [key: string]: unknown;
694
+ };
695
+ }[];
696
+ /**
697
+ * @description Status of component, including:
698
+ * - 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.
699
+ * - maintenance: model is unavailable for a period of time.
700
+ * - enabled: model is available for use for all users of this Meshery Server.
701
+ * - ignored: model is unavailable for use for all users of this Meshery Server.
702
+ * @default enabled
703
+ * @enum {string}
170
704
  */
171
- owner?: string;
705
+ status: "ignored" | "enabled" | "duplicate" | "resolved" | "open";
706
+ /** @description Metadata contains additional information associated with the component. */
707
+ metadata: {
708
+ /** @description Genealogy represents the various representational states of the component. */
709
+ genealogy: string;
710
+ /**
711
+ * @description 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.
712
+ * @default false
713
+ */
714
+ isAnnotation: boolean;
715
+ /** @description Identifies whether the component is scoped to namespace or clsuter wide. */
716
+ isNamespaced: boolean;
717
+ /** @description '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. */
718
+ published: boolean;
719
+ /** @description InstanceDetails contains information about the instance of the component. */
720
+ instanceDetails: Record<string, never>;
721
+ /** @description 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/ . */
722
+ configurationUISchema: string;
723
+ } & {
724
+ [key: string]: unknown;
725
+ };
726
+ /** @description The configuration of the component. The configuration is based on the schema defined within the component definition(component.schema). */
727
+ configuration: Record<string, never>;
728
+ /** @description data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an */
729
+ component: {
730
+ /** @description Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod. */
731
+ version: string;
732
+ /** @description The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'. */
733
+ kind: string;
734
+ /** @description JSON schema of the object as defined by the registrant. */
735
+ schema: string;
736
+ };
172
737
  /**
173
738
  * Format: date-time
174
739
  * @description Timestamp when the resource was created.
175
740
  */
176
741
  created_at?: string;
177
- /** @description Additional metadata associated with the environment. */
178
- metadata?: { [key: string]: unknown };
179
742
  /**
180
743
  * Format: date-time
181
744
  * @description Timestamp when the resource was updated.
182
745
  */
183
746
  updated_at?: string;
184
- /**
185
- * Format: date-time
186
- * @description Timestamp when the environment was soft deleted. Null while the environment remains active.
187
- */
188
- deleted_at?: string | null;
189
- }[];
190
- /**
191
- * @description Specifies the version of the schema used for the definition.
192
- * @default connections.meshery.io/v1beta1
193
- * @example [
194
- * "v1",
195
- * "v1alpha1",
196
- * "v2beta3",
197
- * "v1.custom-suffix",
198
- * "models.meshery.io/v1beta1",
199
- * "capability.meshery.io/v1alpha1"
200
- * ]
201
- */
202
- schemaVersion: string;
203
747
  };
204
- /**
205
- * Format: uuid
206
- * @description ID of the registrant.
207
- */
208
- registrantId: string;
209
- /**
210
- * Format: uuid
211
- * @description ID of the category.
212
- */
213
- categoryId: string;
214
- /** @description Category of the model. */
215
- category: {
216
- /**
217
- * Format: uuid
218
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
219
- */
220
- id: string;
221
- /**
222
- * @description The category of the model that determines the main grouping.
223
- * @default Uncategorized
224
- * @enum {string}
225
- */
226
- name:
227
- | "Analytics"
228
- | "App Definition and Development"
229
- | "Cloud Native Network"
230
- | "Cloud Native Storage"
231
- | "Database"
232
- | "Machine Learning"
233
- | "Observability and Analysis"
234
- | "Orchestration & Management"
235
- | "Platform"
236
- | "Provisioning"
237
- | "Runtime"
238
- | "Security & Compliance"
239
- | "Serverless"
240
- | "Tools"
241
- | "Uncategorized";
242
- /** @description Additional metadata associated with the category. */
243
- metadata: { [key: string]: unknown };
244
- };
245
- /**
246
- * SubCategory
247
- * @description Sub category of the model determines the secondary grouping.
248
- * @default Uncategorized
249
- * @enum {string}
250
- */
251
- subCategory:
252
- | "API Gateway"
253
- | "API Integration"
254
- | "Application Definition & Image Build"
255
- | "Automation & Configuration"
256
- | "Certified Kubernetes - Distribution"
257
- | "Chaos Engineering"
258
- | "Cloud Native Storage"
259
- | "Cloud Provider"
260
- | "CNI"
261
- | "Compute"
262
- | "Container Registry"
263
- | "Container Runtime"
264
- | "Container Security"
265
- | "Container"
266
- | "Content Delivery Network"
267
- | "Continuous Integration & Delivery"
268
- | "Coordination & Service Discovery"
269
- | "Database"
270
- | "Flowchart"
271
- | "Framework"
272
- | "Installable Platform"
273
- | "Key Management"
274
- | "Key Management Service"
275
- | "Kubernetes"
276
- | "Logging"
277
- | "Machine Learning"
278
- | "Management Governance"
279
- | "Metrics"
280
- | "Monitoring"
281
- | "Networking Content Delivery"
282
- | "Operating System"
283
- | "Query"
284
- | "Remote Procedure Call"
285
- | "Scheduling & Orchestration"
286
- | "Secrets Management"
287
- | "Security Identity & Compliance"
288
- | "Service Mesh"
289
- | "Service Proxy"
290
- | "Source Version Control"
291
- | "Storage"
292
- | "Specifications"
293
- | "Streaming & Messaging"
294
- | "Tools"
295
- | "Tracing"
296
- | "Uncategorized"
297
- | "Video Conferencing";
298
- /** @description Metadata containing additional information associated with the model. */
299
- metadata?: {
300
- /** @description Capabilities associated with the model */
301
- capabilities?: {
302
- /**
303
- * @description Specifies the version of the schema to which the capability definition conforms.
304
- * @example [
305
- * "v1",
306
- * "v1alpha1",
307
- * "v2beta3",
308
- * "v1.custom-suffix",
309
- * "models.meshery.io/v1beta1",
310
- * "capability.meshery.io/v1alpha1"
311
- * ]
312
- */
313
- schemaVersion: string;
314
- /** @description Version of the capability definition. */
748
+ /** @description data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an */
749
+ Component: {
750
+ /** @description Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod. */
315
751
  version: string;
316
- /** @description Name of the capability in human-readible format. */
317
- displayName: string;
318
- /** @description A written representation of the purpose and characteristics of the capability. */
319
- description: string;
320
- /** @description Top-level categorization of the capability */
752
+ /** @description The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'. */
321
753
  kind: string;
322
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
323
- type: string;
324
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
325
- subType: string;
326
- /** @description Key that backs the capability. */
327
- key: string;
328
- /** @description State of the entity in which the capability is applicable. */
329
- entityState: ("declaration" | "instance")[];
330
- /**
331
- * @description Status of the capability
332
- * @default enabled
333
- * @enum {string}
334
- */
335
- status: "enabled" | "disabled";
336
- /** @description Metadata contains additional information associated with the capability. Extension point. */
337
- metadata?: { [key: string]: unknown };
338
- }[];
339
- /**
340
- * @description Indicates whether the model and its entities should be treated as deployable entities or as logical representations.
341
- * @default false
342
- */
343
- isAnnotation?: boolean;
344
- /**
345
- * @description Primary color associated with the model.
346
- * @default #00b39f
347
- */
348
- primaryColor?: string;
349
- /**
350
- * @description Secondary color associated with the model.
351
- * @default #00D3A9
352
- */
353
- secondaryColor?: string;
354
- /**
355
- * @description SVG representation of the model in white color.
356
- * @default <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.405 8.732v6.57l5.694-3.297-5.694-3.273Zm0 7.942v6.602l5.747-3.285-5.747-3.317Z" fill="#fff"/><path d="M15.586 15.256v-6.47l-5.622 3.225 5.622 3.245ZM4.307 23.252a13.809 13.809 0 0 0 4.362 4.39v-6.914l-4.362 2.524Zm11.279-.008v-6.52L9.95 19.985l5.636 3.258Z" fill="#fff" fill-opacity=".8"/><path d="m9.49 27.23 5.707-3.263-5.707-3.3v6.563Z" fill="#fff"/><path d="M22.54 27.265v-6.553l-5.699 3.259 5.7 3.294Zm5.58-4.773a13.697 13.697 0 0 0 1.612-5.895l-5.934 3.397 4.323 2.498Z" fill="#fff" fill-opacity=".8"/><path d="m23.362 19.298 5.728-3.276-5.728-3.291v6.567Z" fill="#fff"/><path d="M22.541 11.315V4.8l-5.673 3.253 5.673 3.262Zm0 7.955v-6.574l-5.685 3.292 5.685 3.281Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 12.684v6.622l5.728-3.316-5.728-3.306Z" fill="#fff"/><path d="M15.586 2.25a13.69 13.69 0 0 0-6.037 1.595l6.037 3.463V2.25Z" fill="#fff" fill-opacity=".8"/><path d="M9.49 4.756v6.583l5.732-3.288L9.49 4.756Z" fill="#fff"/><path d="M8.669 4.356a13.83 13.83 0 0 0-4.362 4.39l4.362 2.518V4.356Z" fill="#fff" fill-opacity=".8"/><path d="M22.504 3.88a13.695 13.695 0 0 0-6.099-1.63v5.123l6.1-3.493ZM2.25 16.483c.071 2.12.634 4.196 1.644 6.062l4.418-2.559-6.062-3.503Zm1.644-7.028a13.68 13.68 0 0 0-1.644 6.036l6.068-3.482-4.424-2.554Z" fill="#fff"/><path d="M9.539 28.147a13.673 13.673 0 0 0 6.047 1.603v-5.062L9.54 28.147Z" fill="#fff" fill-opacity=".8"/><path d="M27.697 8.768a13.83 13.83 0 0 0-4.335-4.383v6.889l4.335-2.506ZM23.362 27.62a13.851 13.851 0 0 0 4.351-4.417l-4.351-2.514v6.93Z" fill="#fff"/><path d="M29.75 15.452a13.659 13.659 0 0 0-1.63-5.979l-4.381 2.53 6.011 3.45Z" fill="#fff" fill-opacity=".8"/><path d="M16.405 29.75a13.673 13.673 0 0 0 6.036-1.595l-6.036-3.498v5.093Z" fill="#fff"/><path d="M8.669 19.247v-6.494L3.03 15.986l5.639 3.261Z" fill="#fff" fill-opacity=".8"/></svg>
357
- */
358
- svgWhite: string;
359
- /**
360
- * @description SVG representation of the model in colored format.
361
- * @default <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 134.95 135.02"><defs><style>.cls-1{fill:#00d3a9}.cls-2{fill:#00b39f}</style></defs><title>meshery-logo-light</title><polygon points="69.49 31.82 69.49 64.07 97.44 47.89 69.49 31.82" class="cls-1"/><polygon points="69.49 70.81 69.49 103.22 97.7 87.09 69.49 70.81" class="cls-1"/><polygon points="65.47 63.85 65.47 32.09 37.87 47.92 65.47 63.85" class="cls-2"/><path d="M10.1,103.1a67.79,67.79,0,0,0,21.41,21.55V90.71Z" class="cls-2"/><polygon points="65.47 103.06 65.47 71.05 37.8 87.07 65.47 103.06" class="cls-2"/><polygon points="35.54 122.63 63.56 106.61 35.54 90.41 35.54 122.63" class="cls-1"/><polygon points="99.61 122.8 99.61 90.63 71.63 106.63 99.61 122.8" class="cls-2"/><path d="M127,99.37a67.22,67.22,0,0,0,7.91-28.94L105.78,87.11Z" class="cls-2"/><polygon points="103.64 83.69 131.76 67.61 103.64 51.45 103.64 83.69" class="cls-1"/><polygon points="99.61 44.5 99.61 12.52 71.76 28.49 99.61 44.5" class="cls-2"/><polygon points="99.61 83.55 99.61 51.28 71.7 67.44 99.61 83.55" class="cls-2"/><polygon points="67.48 135.02 67.49 135.02 67.48 135.02 67.48 135.02" class="cls-2"/><polygon points="35.54 51.22 35.54 83.73 63.66 67.45 35.54 51.22" class="cls-1"/><path d="M65.47,0A67.2,67.2,0,0,0,35.83,7.83l29.64,17Z" class="cls-2"/><polygon points="35.54 12.3 35.54 44.62 63.68 28.48 35.54 12.3" class="cls-1"/><path d="M31.51,10.34A67.89,67.89,0,0,0,10.1,31.89L31.51,44.25Z" class="cls-2"/><path d="M99.43,8A67.23,67.23,0,0,0,69.49,0V25.15Z" class="cls-1"/><path d="M0,69.87A67.27,67.27,0,0,0,8.07,99.63L29.76,87.07Z" class="cls-1"/><path d="M8.07,35.37A67.16,67.16,0,0,0,0,65L29.79,47.91Z" class="cls-1"/><path d="M35.78,127.13A67.13,67.13,0,0,0,65.47,135V110.15Z" class="cls-2"/><path d="M124.92,32a67.9,67.9,0,0,0-21.28-21.52V44.3Z" class="cls-1"/><path d="M103.64,124.54A68,68,0,0,0,125,102.86L103.64,90.52Z" class="cls-1"/><path d="M135,64.81a67.06,67.06,0,0,0-8-29.35L105.49,47.88Z" class="cls-2"/><path d="M69.49,135a67.12,67.12,0,0,0,29.63-7.83L69.49,110Z" class="cls-1"/><polygon points="31.51 83.44 31.51 51.56 3.83 67.43 31.51 83.44" class="cls-2"/></svg>
362
- */
363
- svgColor: string;
364
- /** @description SVG representation of the complete model. */
365
- svgComplete?: string;
366
- /**
367
- * @description 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)
368
- * @enum {string}
369
- */
370
- shape?:
371
- | "ellipse"
372
- | "triangle"
373
- | "round-triangle"
374
- | "rectangle"
375
- | "round-rectangle"
376
- | "bottom-round-rectangle"
377
- | "cut-rectangle"
378
- | "barrel"
379
- | "rhomboid"
380
- | "diamond"
381
- | "round-diamond"
382
- | "pentagon"
383
- | "round-pentagon"
384
- | "hexagon"
385
- | "round-hexagon"
386
- | "concave-hexagon"
387
- | "heptagon"
388
- | "round-heptagon"
389
- | "octagon"
390
- | "round-octagon"
391
- | "star"
392
- | "tag"
393
- | "round-tag"
394
- | "vee"
395
- | "polygon";
396
- } & { [key: string]: unknown };
397
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
398
- model: {
399
- /** @description Version of the model as defined by the registrant. */
400
- version: string;
401
- };
402
- /** @description The relationships of the model. */
403
- relationships: unknown[];
404
- /** @description The components of the model. */
405
- components: unknown[];
406
- /**
407
- * @description Number of components associated with the model.
408
- * @default 0
409
- */
410
- componentsCount: number;
411
- /**
412
- * @description Number of relationships associated with the model.
413
- * @default 0
414
- */
415
- relationshipsCount: number;
416
- /**
417
- * Format: date-time
418
- * @description Timestamp when the resource was created.
419
- */
420
- created_at?: string;
421
- /**
422
- * Format: date-time
423
- * @description Timestamp when the resource was updated.
424
- */
425
- updated_at?: string;
426
- };
427
- /** @description 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 */
428
- modelReference: {
429
- /**
430
- * Format: uuid
431
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
432
- */
433
- id: string;
434
- /** @description The unique name for the model within the scope of a registrant. */
435
- name: string;
436
- /** @description Version of the model definition. */
437
- version: string;
438
- /** @description Human-readable name for the model. */
439
- displayName: string;
440
- /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
441
- model: {
442
- /** @description Version of the model as defined by the registrant. */
443
- version: string;
444
- };
445
- registrant: {
446
- /** @description Kind of the registrant. */
447
- kind: string;
448
- };
449
- };
450
- /**
451
- * Format: uuid
452
- * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
453
- */
454
- modelId?: string;
455
- /** @description Visualization styles for a component */
456
- styles?: ({
457
- /** @description Primary color of the component used for UI representation. */
458
- primaryColor: string;
459
- /** @description Secondary color of the entity used for UI representation. */
460
- secondaryColor?: string;
461
- /** @description White SVG of the entity used for UI representation on dark background. */
462
- svgWhite: string;
463
- /** @description Colored SVG of the entity used for UI representation on light background. */
464
- svgColor: string;
465
- /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
466
- svgComplete: string;
467
- /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
468
- color?: string;
469
- /** @description The opacity of the label text, including its outline. */
470
- "text-opacity"?: number;
471
- /** @description A comma-separated list of font names to use on the label text. */
472
- "font-family"?: string;
473
- /** @description The size of the label text. */
474
- "font-size"?: string;
475
- /** @description A CSS font style to be applied to the label text. */
476
- "font-style"?: string;
477
- /** @description A CSS font weight to be applied to the label text. */
478
- "font-weight"?: string;
479
- /**
480
- * @description A transformation to apply to the label text
481
- * @enum {string}
482
- */
483
- "text-transform"?: "none" | "uppercase" | "lowercase";
484
- /** @description 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. */
485
- opacity?: number;
486
- /** @description 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. */
487
- "z-index"?: number;
488
- /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
489
- label?: string;
490
- /** @description The animation to apply to the element. example ripple,bounce,etc */
491
- animation?: { [key: string]: unknown };
492
- } & { [key: string]: unknown }) & {
493
- /**
494
- * @description 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)
495
- * @enum {string}
496
- */
497
- shape?:
498
- | "ellipse"
499
- | "triangle"
500
- | "round-triangle"
501
- | "rectangle"
502
- | "round-rectangle"
503
- | "bottom-round-rectangle"
504
- | "cut-rectangle"
505
- | "barrel"
506
- | "rhomboid"
507
- | "diamond"
508
- | "round-diamond"
509
- | "pentagon"
510
- | "round-pentagon"
511
- | "hexagon"
512
- | "round-hexagon"
513
- | "concave-hexagon"
514
- | "heptagon"
515
- | "round-heptagon"
516
- | "octagon"
517
- | "round-octagon"
518
- | "star"
519
- | "tag"
520
- | "round-tag"
521
- | "vee"
522
- | "polygon";
523
- /** @description 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. */
524
- position?: {
525
- /** @description The x-coordinate of the node. */
526
- x: number;
527
- /** @description The y-coordinate of the node. */
528
- y: number;
754
+ /** @description JSON schema of the object as defined by the registrant. */
755
+ schema: string;
529
756
  };
530
- /** @description The text to display for an element's body. Can give a path, e.g. data(id) will label with the elements id */
531
- "body-text"?: string;
532
- /** @description How to wrap the text in the node. Can be 'none', 'wrap', or 'ellipsis'. */
533
- "body-text-wrap"?: string;
534
- /** @description The maximum width for wrapping text in the node. */
535
- "body-text-max-width"?: string;
536
- /** @description The opacity of the node's body text, including its outline. */
537
- "body-text-opacity"?: number;
538
- /** @description The colour of the node's body text background. Colours may be specified by name (e.g. red), hex (e.g. */
539
- "body-text-background-color"?: string;
540
- /** @description The size of the node's body text. */
541
- "body-text-font-size"?: number;
542
- /** @description The colour of the node's body text. Colours may be specified by name (e.g. red), hex (e.g. */
543
- "body-text-color"?: string;
544
- /** @description A CSS font weight to be applied to the node's body text. */
545
- "body-text-font-weight"?: string;
546
- /** @description A CSS horizontal alignment to be applied to the node's body text. */
547
- "body-text-horizontal-align"?: string;
548
- /** @description A CSS text decoration to be applied to the node's body text. */
549
- "body-text-decoration"?: string;
550
- /** @description A CSS vertical alignment to be applied to the node's body text. */
551
- "body-text-vertical-align"?: string;
552
- /** @description The width of the node's body or the width of an edge's line. */
553
- width?: number;
554
- /** @description The height of the node's body */
555
- height?: number;
556
- /** @description The URL that points to the image to show in the node. */
557
- "background-image"?: string;
558
- /** @description The colour of the node's body. Colours may be specified by name (e.g. red), hex (e.g. */
559
- "background-color"?: string;
560
- /** @description Blackens the node's body for values from 0 to 1; whitens the node's body for values from 0 to -1. */
561
- "background-blacken"?: number;
562
- /** @description The opacity level of the node's background colour */
563
- "background-opacity"?: number;
564
- /** @description The x position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
565
- "background-position-x"?: string;
566
- /** @description The y position of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
567
- "background-position-y"?: string;
568
- /** @description The x offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
569
- "background-offset-x"?: string;
570
- /** @description The y offset of the background image, measured in percent (e.g. 50%) or pixels (e.g. 10px) */
571
- "background-offset-y"?: string;
572
- /** @description How the background image is fit to the node. Can be 'none', 'contain', or 'cover'. */
573
- "background-fit"?: string;
574
- /** @description How the background image is clipped to the node. Can be 'none', 'node', or 'node-border'. */
575
- "background-clip"?: string;
576
- /** @description How the background image's width is determined. Can be 'none', 'inner', or 'outer'. */
577
- "background-width-relative-to"?: string;
578
- /** @description How the background image's height is determined. Can be 'none', 'inner', or 'outer'. */
579
- "background-height-relative-to"?: string;
580
- /** @description The size of the node's border. */
581
- "border-width"?: number;
582
- /**
583
- * @description The style of the node's border
584
- * @enum {string}
585
- */
586
- "border-style"?: "solid" | "dotted" | "dashed" | "double";
587
- /** @description The colour of the node's border. Colours may be specified by name (e.g. red), hex (e.g. */
588
- "border-color"?: string;
589
- /** @description The opacity of the node's border */
590
- "border-opacity"?: number;
591
- /** @description The amount of padding around all sides of the node. */
592
- padding?: number;
593
- /**
594
- * @description The horizontal alignment of a node's label
595
- * @enum {string}
596
- */
597
- "text-halign"?: "left" | "center" | "right";
598
- /**
599
- * @description The vertical alignment of a node's label
600
- * @enum {string}
601
- */
602
- "text-valign"?: "top" | "center" | "bottom";
603
- /**
604
- * @description Whether to use the ghost effect, a semitransparent duplicate of the element drawn at an offset.
605
- * @default no
606
- * @enum {string}
607
- */
608
- ghost?: "yes" | "no";
609
- /** @description 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. */
610
- "active-bg-color"?: string;
611
- /** @description The opacity of the active background indicator. Selector needs to be *core*. */
612
- "active-bg-opacity"?: string;
613
- /** @description The opacity of the active background indicator. Selector needs to be *core*. */
614
- "active-bg-size"?: string;
615
- /** @description 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. */
616
- "selection-box-color"?: string;
617
- /** @description The size of the border on the selection box. Selector needs to be *core* */
618
- "selection-box-border-width"?: number;
619
- /** @description The opacity of the selection box. Selector needs to be *core* */
620
- "selection-box-opacity"?: number;
621
- /** @description 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. */
622
- "outside-texture-bg-color"?: string;
623
- /** @description The opacity of the area outside the viewport texture. Selector needs to be *core* */
624
- "outside-texture-bg-opacity"?: number;
625
- /** @description 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 ) */
626
- "shape-polygon-points"?: string;
627
- /** @description The colour of the background of the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
628
- "menu-background-color"?: string;
629
- /** @description The opacity of the background of the component menu. */
630
- "menu-background-opacity"?: number;
631
- /** @description The colour of the text or icons in the component menu. Colours may be specified by name (e.g. red), hex (e.g. */
632
- "menu-forground-color"?: string;
633
- } & {
634
- shape: unknown;
635
- primaryColor: unknown;
636
- svgColor: unknown;
637
- svgWhite: unknown;
638
- svgComplete: unknown;
639
- };
640
- /**
641
- * @description 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.
642
- * @default [
643
- * {
644
- * "schemaVersion": "capability.meshery.io/v1beta1",
645
- * "version": "0.7.0",
646
- * "displayName": "Performance Test",
647
- * "description": "Initiate a performance test. Meshery will execute the load generation, collect metrics, and present the results.",
648
- * "kind": "action",
649
- * "type": "operator",
650
- * "subType": "perf-test",
651
- * "key": "",
652
- * "entityState": [
653
- * "instance"
654
- * ],
655
- * "status": "enabled",
656
- * "metadata": null
657
- * },
658
- * {
659
- * "schemaVersion": "capability.meshery.io/v1beta1",
660
- * "version": "0.7.0",
661
- * "displayName": "Workload Configuration",
662
- * "description": "Configure the workload specific setting of a component",
663
- * "kind": "mutate",
664
- * "type": "configuration",
665
- * "subType": "config",
666
- * "key": "",
667
- * "entityState": [
668
- * "declaration"
669
- * ],
670
- * "status": "enabled",
671
- * "metadata": null
672
- * },
673
- * {
674
- * "schemaVersion": "capability.meshery.io/v1beta1",
675
- * "version": "0.7.0",
676
- * "displayName": "Labels and Annotations Configuration",
677
- * "description": "Configure Labels And Annotations for the component ",
678
- * "kind": "mutate",
679
- * "type": "configuration",
680
- * "subType": "labels-and-annotations",
681
- * "key": "",
682
- * "entityState": [
683
- * "declaration"
684
- * ],
685
- * "status": "enabled",
686
- * "metadata": null
687
- * },
688
- * {
689
- * "schemaVersion": "capability.meshery.io/v1beta1",
690
- * "version": "0.7.0",
691
- * "displayName": "Relationships",
692
- * "description": "View relationships for the component",
693
- * "kind": "view",
694
- * "type": "configuration",
695
- * "subType": "relationship",
696
- * "key": "",
697
- * "entityState": [
698
- * "declaration",
699
- * "instance"
700
- * ],
701
- * "status": "enabled",
702
- * "metadata": null
703
- * },
704
- * {
705
- * "schemaVersion": "capability.meshery.io/v1beta1",
706
- * "version": "0.7.0",
707
- * "displayName": "Json Schema",
708
- * "description": "View Component Definition ",
709
- * "kind": "view",
710
- * "type": "configuration",
711
- * "subType": "definition",
712
- * "key": "",
713
- * "entityState": [
714
- * "declaration",
715
- * "instance"
716
- * ],
717
- * "status": "enabled",
718
- * "metadata": null
719
- * },
720
- * {
721
- * "schemaVersion": "capability.meshery.io/v1beta1",
722
- * "version": "0.7.0",
723
- * "displayName": "Styling",
724
- * "description": "Configure the visual styles for the component",
725
- * "kind": "mutate",
726
- * "type": "style",
727
- * "subType": "",
728
- * "key": "",
729
- * "entityState": [
730
- * "declaration"
731
- * ],
732
- * "status": "enabled",
733
- * "metadata": null
734
- * },
735
- * {
736
- * "schemaVersion": "capability.meshery.io/v1beta1",
737
- * "version": "0.7.0",
738
- * "displayName": "Change Shape",
739
- * "description": "Change the shape of the component",
740
- * "kind": "mutate",
741
- * "type": "style",
742
- * "subType": "shape",
743
- * "key": "",
744
- * "entityState": [
745
- * "declaration"
746
- * ],
747
- * "status": "enabled",
748
- * "metadata": null
749
- * },
750
- * {
751
- * "schemaVersion": "capability.meshery.io/v1beta1",
752
- * "version": "0.7.0",
753
- * "displayName": "Compound Drag And Drop",
754
- * "description": "Drag and Drop a component into a parent component in graph view",
755
- * "kind": "interaction",
756
- * "type": "graph",
757
- * "subType": "compoundDnd",
758
- * "key": "",
759
- * "entityState": [
760
- * "declaration"
761
- * ],
762
- * "status": "enabled",
763
- * "metadata": null
764
- * }
765
- * ]
766
- */
767
- capabilities?: {
768
- /**
769
- * @description Specifies the version of the schema to which the capability definition conforms.
770
- * @example [
771
- * "v1",
772
- * "v1alpha1",
773
- * "v2beta3",
774
- * "v1.custom-suffix",
775
- * "models.meshery.io/v1beta1",
776
- * "capability.meshery.io/v1alpha1"
777
- * ]
778
- */
779
- schemaVersion: string;
780
- /** @description Version of the capability definition. */
781
- version: string;
782
- /** @description Name of the capability in human-readible format. */
783
- displayName: string;
784
- /** @description A written representation of the purpose and characteristics of the capability. */
785
- description: string;
786
- /** @description Top-level categorization of the capability */
787
- kind: string;
788
- /** @description Classification of capabilities. Used to group capabilities similar in nature. */
789
- type: string;
790
- /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
791
- subType: string;
792
- /** @description Key that backs the capability. */
793
- key: string;
794
- /** @description State of the entity in which the capability is applicable. */
795
- entityState: ("declaration" | "instance")[];
796
- /**
797
- * @description Status of the capability
798
- * @default enabled
799
- * @enum {string}
800
- */
801
- status: "enabled" | "disabled";
802
- /** @description Metadata contains additional information associated with the capability. Extension point. */
803
- metadata?: { [key: string]: unknown };
804
- }[];
805
- /**
806
- * @description Status of component, including:
807
- * - 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.
808
- * - maintenance: model is unavailable for a period of time.
809
- * - enabled: model is available for use for all users of this Meshery Server.
810
- * - ignored: model is unavailable for use for all users of this Meshery Server.
811
- * @default enabled
812
- * @enum {string}
813
- */
814
- status?: "ignored" | "enabled" | "duplicate" | "resolved" | "open";
815
- /** @description Metadata contains additional information associated with the component. */
816
- metadata: {
817
- /** @description Genealogy represents the various representational states of the component. */
818
- genealogy: string;
819
- /**
820
- * @description 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.
821
- * @default false
822
- */
823
- isAnnotation: boolean;
824
- /** @description Identifies whether the component is scoped to namespace or clsuter wide. */
825
- isNamespaced: boolean;
826
- /** @description '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. */
827
- published: boolean;
828
- /** @description InstanceDetails contains information about the instance of the component. */
829
- instanceDetails: { [key: string]: unknown };
830
- /** @description 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/ . */
831
- configurationUISchema: string;
832
- } & { [key: string]: unknown };
833
- /** @description The configuration of the component. The configuration is based on the schema defined within the component definition(component.schema). */
834
- configuration: { [key: string]: unknown };
835
- /** @description data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an */
836
- component: {
837
- /** @description Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod. */
838
- version: string;
839
- /** @description The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'. */
840
- kind: string;
841
- /** @description JSON schema of the object as defined by the registrant. */
842
- schema: string;
843
- };
844
- /**
845
- * Format: date-time
846
- * @description Timestamp when the resource was created.
847
- */
848
- created_at?: string;
849
- /**
850
- * Format: date-time
851
- * @description Timestamp when the resource was updated.
852
- */
853
- updated_at?: string;
854
757
  };
855
- /** @description data related to the third party capability that Component Defintion wraps , this is herematicaly sealed an */
856
- Component: {
857
- /** @description Version of the component produced by the registrant. Example: APIVersion of a Kubernetes Pod. */
858
- version: string;
859
- /** @description The unique identifier (name) assigned by the registrant to this component. Example: A Kubernetes Pod is of kind 'Pod'. */
860
- kind: string;
861
- /** @description JSON schema of the object as defined by the registrant. */
862
- schema: string;
863
- };
864
- };
758
+ responses: never;
759
+ parameters: never;
760
+ requestBodies: never;
761
+ headers: never;
762
+ pathItems: never;
865
763
  }
866
-
867
- export interface operations {}
868
-
869
- export interface external {}
764
+ export type $defs = Record<string, never>;
765
+ export type operations = Record<string, never>;