@meshery/schemas 1.2.15 → 1.2.16

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 (147) hide show
  1. package/dist/constructs/v1alpha1/capability/Capability.d.ts +114 -0
  2. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -0
  3. package/dist/constructs/v1alpha1/core/Core.d.ts +832 -0
  4. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +2 -0
  5. package/dist/constructs/v1alpha2/catalog/Catalog.d.ts +53 -0
  6. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +2 -0
  7. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +1937 -0
  8. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +2 -0
  9. package/dist/constructs/v1beta1/academy/Academy.d.ts +6417 -0
  10. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +2 -0
  11. package/dist/constructs/v1beta1/badge/Badge.d.ts +546 -0
  12. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +2 -0
  13. package/dist/constructs/v1beta1/capability/Capability.d.ts +114 -0
  14. package/dist/constructs/v1beta1/capability/CapabilitySchema.d.ts +2 -0
  15. package/dist/constructs/v1beta1/catalog/Catalog.d.ts +53 -0
  16. package/dist/constructs/v1beta1/catalog/CatalogSchema.d.ts +2 -0
  17. package/dist/constructs/v1beta1/category/Category.d.ts +46 -0
  18. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +2 -0
  19. package/dist/constructs/v1beta1/component/Component.d.ts +869 -0
  20. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +2 -0
  21. package/dist/constructs/v1beta1/connection/Connection.d.ts +1300 -0
  22. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +2 -0
  23. package/dist/constructs/v1beta1/core/Core.d.ts +832 -0
  24. package/dist/constructs/v1beta1/core/CoreSchema.d.ts +2 -0
  25. package/dist/constructs/v1beta1/credential/Credential.d.ts +530 -0
  26. package/dist/constructs/v1beta1/credential/CredentialSchema.d.ts +2 -0
  27. package/dist/constructs/v1beta1/environment/Environment.d.ts +759 -0
  28. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +2 -0
  29. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +6338 -0
  30. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +2 -0
  31. package/dist/constructs/v1beta1/event/Event.d.ts +570 -0
  32. package/dist/constructs/v1beta1/event/EventSchema.d.ts +2 -0
  33. package/dist/constructs/v1beta1/feature/Feature.d.ts +308 -0
  34. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +2 -0
  35. package/dist/constructs/v1beta1/invitation/Invitation.d.ts +983 -0
  36. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +2 -0
  37. package/dist/constructs/v1beta1/key/Key.d.ts +514 -0
  38. package/dist/constructs/v1beta1/key/KeySchema.d.ts +2 -0
  39. package/dist/constructs/v1beta1/keychain/Keychain.d.ts +642 -0
  40. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +2 -0
  41. package/dist/constructs/v1beta1/model/Model.d.ts +659 -0
  42. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +2 -0
  43. package/dist/constructs/v1beta1/organization/Organization.d.ts +1598 -0
  44. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +2 -0
  45. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +18407 -0
  46. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +2 -0
  47. package/dist/constructs/v1beta1/plan/Plan.d.ts +149 -0
  48. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +2 -0
  49. package/dist/constructs/v1beta1/relationship/Relationship.d.ts +1921 -0
  50. package/dist/constructs/v1beta1/relationship/RelationshipSchema.d.ts +2 -0
  51. package/dist/constructs/v1beta1/role/Role.d.ts +745 -0
  52. package/dist/constructs/v1beta1/role/RoleSchema.d.ts +2 -0
  53. package/dist/constructs/v1beta1/schedule/Schedule.d.ts +374 -0
  54. package/dist/constructs/v1beta1/schedule/ScheduleSchema.d.ts +2 -0
  55. package/dist/constructs/v1beta1/subcategory/Subcategory.d.ts +68 -0
  56. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +2 -0
  57. package/dist/constructs/v1beta1/subscription/Subscription.d.ts +752 -0
  58. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +2 -0
  59. package/dist/constructs/v1beta1/support/Support.d.ts +91 -0
  60. package/dist/constructs/v1beta1/support/SupportSchema.d.ts +2 -0
  61. package/dist/constructs/v1beta1/team/Team.d.ts +846 -0
  62. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +2 -0
  63. package/dist/constructs/v1beta1/token/Token.d.ts +539 -0
  64. package/dist/constructs/v1beta1/token/TokenSchema.d.ts +2 -0
  65. package/dist/constructs/v1beta1/user/User.d.ts +1677 -0
  66. package/dist/constructs/v1beta1/user/UserSchema.d.ts +2 -0
  67. package/dist/constructs/v1beta1/view/View.d.ts +759 -0
  68. package/dist/constructs/v1beta1/view/ViewSchema.d.ts +2 -0
  69. package/dist/constructs/v1beta1/workspace/Workspace.d.ts +4947 -0
  70. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +2 -0
  71. package/dist/constructs/v1beta2/academy/Academy.d.ts +7762 -0
  72. package/dist/constructs/v1beta2/academy/AcademySchema.d.ts +2 -0
  73. package/dist/constructs/v1beta2/badge/Badge.d.ts +563 -0
  74. package/dist/constructs/v1beta2/badge/BadgeSchema.d.ts +2 -0
  75. package/dist/constructs/v1beta2/catalog/Catalog.d.ts +53 -0
  76. package/dist/constructs/v1beta2/catalog/CatalogSchema.d.ts +2 -0
  77. package/dist/constructs/v1beta2/component/Component.d.ts +887 -0
  78. package/dist/constructs/v1beta2/component/ComponentSchema.d.ts +2 -0
  79. package/dist/constructs/v1beta2/connection/Connection.d.ts +1330 -0
  80. package/dist/constructs/v1beta2/connection/ConnectionSchema.d.ts +2 -0
  81. package/dist/constructs/v1beta2/core/Core.d.ts +866 -0
  82. package/dist/constructs/v1beta2/core/CoreSchema.d.ts +2 -0
  83. package/dist/constructs/v1beta2/credential/Credential.d.ts +519 -0
  84. package/dist/constructs/v1beta2/credential/CredentialSchema.d.ts +2 -0
  85. package/dist/constructs/v1beta2/design/Design.d.ts +19039 -0
  86. package/dist/constructs/v1beta2/design/DesignSchema.d.ts +2 -0
  87. package/dist/constructs/v1beta2/event/Event.d.ts +626 -0
  88. package/dist/constructs/v1beta2/event/EventSchema.d.ts +2 -0
  89. package/dist/constructs/v1beta2/invitation/Invitation.d.ts +1052 -0
  90. package/dist/constructs/v1beta2/invitation/InvitationSchema.d.ts +2 -0
  91. package/dist/constructs/v1beta2/key/Key.d.ts +524 -0
  92. package/dist/constructs/v1beta2/key/KeySchema.d.ts +2 -0
  93. package/dist/constructs/v1beta2/keychain/Keychain.d.ts +652 -0
  94. package/dist/constructs/v1beta2/keychain/KeychainSchema.d.ts +2 -0
  95. package/dist/constructs/v1beta2/model/Model.d.ts +697 -0
  96. package/dist/constructs/v1beta2/model/ModelSchema.d.ts +2 -0
  97. package/dist/constructs/v1beta2/organization/Organization.d.ts +1915 -0
  98. package/dist/constructs/v1beta2/organization/OrganizationSchema.d.ts +2 -0
  99. package/dist/constructs/v1beta2/plan/Plan.d.ts +162 -0
  100. package/dist/constructs/v1beta2/plan/PlanSchema.d.ts +2 -0
  101. package/dist/constructs/v1beta2/relationship/Relationship.d.ts +2134 -0
  102. package/dist/constructs/v1beta2/relationship/RelationshipSchema.d.ts +2 -0
  103. package/dist/constructs/v1beta2/role/Role.d.ts +752 -0
  104. package/dist/constructs/v1beta2/role/RoleSchema.d.ts +2 -0
  105. package/dist/constructs/v1beta2/schedule/Schedule.d.ts +431 -0
  106. package/dist/constructs/v1beta2/schedule/ScheduleSchema.d.ts +2 -0
  107. package/dist/constructs/v1beta2/subscription/Subscription.d.ts +785 -0
  108. package/dist/constructs/v1beta2/subscription/SubscriptionSchema.d.ts +2 -0
  109. package/dist/constructs/v1beta2/team/Team.d.ts +960 -0
  110. package/dist/constructs/v1beta2/team/TeamSchema.d.ts +2 -0
  111. package/dist/constructs/v1beta2/token/Token.d.ts +544 -0
  112. package/dist/constructs/v1beta2/token/TokenSchema.d.ts +2 -0
  113. package/dist/constructs/v1beta2/user/User.d.ts +1677 -0
  114. package/dist/constructs/v1beta2/user/UserSchema.d.ts +2 -0
  115. package/dist/constructs/v1beta2/view/View.d.ts +767 -0
  116. package/dist/constructs/v1beta2/view/ViewSchema.d.ts +2 -0
  117. package/dist/constructs/v1beta3/academy/Academy.d.ts +7762 -0
  118. package/dist/constructs/v1beta3/academy/AcademySchema.d.ts +2 -0
  119. package/dist/constructs/v1beta3/component/Component.d.ts +892 -0
  120. package/dist/constructs/v1beta3/component/ComponentSchema.d.ts +2 -0
  121. package/dist/constructs/v1beta3/connection/Connection.d.ts +1414 -0
  122. package/dist/constructs/v1beta3/connection/ConnectionSchema.d.ts +2 -0
  123. package/dist/constructs/v1beta3/design/Design.d.ts +5704 -0
  124. package/dist/constructs/v1beta3/design/DesignSchema.d.ts +2 -0
  125. package/dist/constructs/v1beta3/environment/Environment.d.ts +785 -0
  126. package/dist/constructs/v1beta3/environment/EnvironmentSchema.d.ts +2 -0
  127. package/dist/constructs/v1beta3/event/Event.d.ts +720 -0
  128. package/dist/constructs/v1beta3/event/EventSchema.d.ts +2 -0
  129. package/dist/constructs/v1beta3/filter/Filter.d.ts +1452 -0
  130. package/dist/constructs/v1beta3/filter/FilterSchema.d.ts +2 -0
  131. package/dist/constructs/v1beta3/invitation/Invitation.d.ts +1060 -0
  132. package/dist/constructs/v1beta3/invitation/InvitationSchema.d.ts +2 -0
  133. package/dist/constructs/v1beta3/performance_profile/PerformanceProfile.d.ts +813 -0
  134. package/dist/constructs/v1beta3/performance_profile/PerformanceProfileSchema.d.ts +2 -0
  135. package/dist/constructs/v1beta3/plan/Plan.d.ts +199 -0
  136. package/dist/constructs/v1beta3/plan/PlanSchema.d.ts +2 -0
  137. package/dist/constructs/v1beta3/relationship/Relationship.d.ts +2134 -0
  138. package/dist/constructs/v1beta3/relationship/RelationshipSchema.d.ts +2 -0
  139. package/dist/constructs/v1beta3/subscription/Subscription.d.ts +915 -0
  140. package/dist/constructs/v1beta3/subscription/SubscriptionSchema.d.ts +2 -0
  141. package/dist/constructs/v1beta3/token/Token.d.ts +544 -0
  142. package/dist/constructs/v1beta3/token/TokenSchema.d.ts +2 -0
  143. package/dist/constructs/v1beta3/workspace/Workspace.d.ts +5086 -0
  144. package/dist/constructs/v1beta3/workspace/WorkspaceSchema.d.ts +2 -0
  145. package/dist/index.js +1 -1
  146. package/dist/index.mjs +1 -1
  147. package/package.json +2 -2
@@ -0,0 +1,1921 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {}
7
+
8
+ export interface components {
9
+ schemas: {
10
+ /** @description Relationships define the nature of interaction between interconnected components in Meshery. The combination of relationship properties kind, type, and subtype characterize various genealogical relations among and between components. Relationships have selectors, selector sets, metadata, and optional parameters. Learn more at https://docs.meshery.io/concepts/logical/relationships. */
11
+ RelationshipDefinition: {
12
+ /**
13
+ * Format: uuid
14
+ * @description Uniquely identifies the entity
15
+ */
16
+ id: string;
17
+ /**
18
+ * @description Specifies the version of the schema used for the relationship definition.
19
+ * @example [
20
+ * "v1",
21
+ * "v1alpha1",
22
+ * "v2beta3",
23
+ * "v1.custom-suffix",
24
+ * "models.meshery.io/v1beta1",
25
+ * "capability.meshery.io/v1alpha1"
26
+ * ]
27
+ */
28
+ schemaVersion: string;
29
+ /** @description Specifies the version of the relationship definition. */
30
+ version: string;
31
+ /**
32
+ * @description Kind of the Relationship. Learn more about relationships - https://docs.meshery.io/concepts/logical/relationships.
33
+ * @enum {string}
34
+ */
35
+ kind: "hierarchical" | "edge" | "sibling";
36
+ /** @description Classification of relationships. Used to group relationships similar in nature. */
37
+ type: string;
38
+ /** @description Most granular unit of relationship classification. The combination of Kind, Type and SubType together uniquely identify a Relationship. */
39
+ subType: string;
40
+ /**
41
+ * @description Status of the relationship.
42
+ * @enum {string}
43
+ */
44
+ status?: "enabled" | "ignored" | "deleted" | "approved" | "pending";
45
+ /** @description Capabilities associated with the relationship. */
46
+ capabilities?: {
47
+ /**
48
+ * @description Specifies the version of the schema to which the capability definition conforms.
49
+ * @example [
50
+ * "v1",
51
+ * "v1alpha1",
52
+ * "v2beta3",
53
+ * "v1.custom-suffix",
54
+ * "models.meshery.io/v1beta1",
55
+ * "capability.meshery.io/v1alpha1"
56
+ * ]
57
+ */
58
+ schemaVersion: string;
59
+ /** @description Version of the capability definition. */
60
+ version: string;
61
+ /** @description Name of the capability in human-readible format. */
62
+ displayName: string;
63
+ /** @description A written representation of the purpose and characteristics of the capability. */
64
+ description: string;
65
+ /** @description Top-level categorization of the capability */
66
+ kind: string;
67
+ /** @description Classification of capabilities. Used to group capabilities similar in nature. */
68
+ type: string;
69
+ /** @description Most granular unit of capability classification. The combination of Kind, Type and SubType together uniquely identify a Capability. */
70
+ subType: string;
71
+ /** @description Key that backs the capability. */
72
+ key: string;
73
+ /** @description State of the entity in which the capability is applicable. */
74
+ entityState: ("declaration" | "instance")[];
75
+ /**
76
+ * @description Status of the capability
77
+ * @default enabled
78
+ * @enum {string}
79
+ */
80
+ status: "enabled" | "disabled";
81
+ /** @description Metadata contains additional information associated with the capability. Extension point. */
82
+ metadata?: { [key: string]: unknown };
83
+ }[];
84
+ /** @description Metadata contains additional information associated with the Relationship. */
85
+ metadata?: {
86
+ /** @description Characterization of the meaning of the relationship and its relevance to both Meshery and entities under management. */
87
+ description?: string;
88
+ /** @description Visualization styles for a relationship */
89
+ styles?: {
90
+ /** @description Primary color of the component used for UI representation. */
91
+ primaryColor: string;
92
+ /** @description Secondary color of the entity used for UI representation. */
93
+ secondaryColor?: string;
94
+ /** @description White SVG of the entity used for UI representation on dark background. */
95
+ svgWhite: string;
96
+ /** @description Colored SVG of the entity used for UI representation on light background. */
97
+ svgColor: string;
98
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
99
+ svgComplete?: string;
100
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
101
+ color?: string;
102
+ /**
103
+ * Format: float
104
+ * @description The opacity of the label text, including its outline.
105
+ */
106
+ "text-opacity"?: number;
107
+ /** @description A comma-separated list of font names to use on the label text. */
108
+ "font-family"?: string;
109
+ /** @description The size of the label text. */
110
+ "font-size"?: string;
111
+ /** @description A CSS font style to be applied to the label text. */
112
+ "font-style"?: string;
113
+ /** @description A CSS font weight to be applied to the label text. */
114
+ "font-weight"?: string;
115
+ /**
116
+ * @description A transformation to apply to the label text
117
+ * @enum {string}
118
+ */
119
+ "text-transform"?: "none" | "uppercase" | "lowercase";
120
+ /**
121
+ * Format: float
122
+ * @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.See https://js.cytoscape.org/#style/visibility
123
+ */
124
+ opacity?: number;
125
+ /** @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. */
126
+ "z-index"?: number;
127
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
128
+ label?: string;
129
+ /** @description The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
130
+ "edge-animation"?: string;
131
+ /**
132
+ * @description 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.
133
+ * @enum {string}
134
+ */
135
+ "curve-style"?:
136
+ | "haystack"
137
+ | "straight"
138
+ | "bezier"
139
+ | "unbundled-bezier"
140
+ | "segments"
141
+ | "taxi";
142
+ /** @description The colour of the edge's line. Colours may be specified by name (e.g. red), hex (e.g. */
143
+ "line-color"?: string;
144
+ /**
145
+ * @description The style of the edge's line.
146
+ * @enum {string}
147
+ */
148
+ "line-style"?: "solid" | "dotted" | "dashed";
149
+ /**
150
+ * @description 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.
151
+ * @enum {string}
152
+ */
153
+ "line-cap"?: "butt" | "round" | "square";
154
+ /**
155
+ * Format: float
156
+ * @description 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.
157
+ */
158
+ "line-opacity"?: number;
159
+ /** @description The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
160
+ "target-arrow-color"?: string;
161
+ /**
162
+ * @description The shape of the edge's source arrow
163
+ * @enum {string}
164
+ */
165
+ "target-arrow-shape"?:
166
+ | "triangle"
167
+ | "triangle-tee"
168
+ | "circle-triangle"
169
+ | "triangle-cross"
170
+ | "triangle-backcurve"
171
+ | "vee"
172
+ | "tee"
173
+ | "square"
174
+ | "circle"
175
+ | "diamond"
176
+ | "chevron"
177
+ | "none";
178
+ /**
179
+ * @description The fill state of the edge's source arrow
180
+ * @enum {string}
181
+ */
182
+ "target-arrow-fill"?: "filled" | "hollow";
183
+ /** @description The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
184
+ "mid-target-arrow-color"?: string;
185
+ /**
186
+ * @description The shape of the edge's source arrow
187
+ * @enum {string}
188
+ */
189
+ "mid-target-arrow-shape"?:
190
+ | "triangle"
191
+ | "triangle-tee"
192
+ | "circle-triangle"
193
+ | "triangle-cross"
194
+ | "triangle-backcurve"
195
+ | "vee"
196
+ | "tee"
197
+ | "square"
198
+ | "circle"
199
+ | "diamond"
200
+ | "chevron"
201
+ | "none";
202
+ /**
203
+ * @description The fill state of the edge's source arrow
204
+ * @enum {string}
205
+ */
206
+ "mid-target-arrow-fill"?: "filled" | "hollow";
207
+ /**
208
+ * Format: float
209
+ * @description Scaling for the arrow size.
210
+ */
211
+ "arrow-scale"?: number;
212
+ /** @description The text to display for an edge's source label. Can give a path, e.g. data(id) will label with the elements id */
213
+ "source-label"?: string;
214
+ /** @description The text to display for an edge's target label. Can give a path, e.g. data(id) will label with the elements id */
215
+ "target-label"?: string;
216
+ };
217
+ /** @description Indicates whether the relationship should be treated as a logical representation only */
218
+ isAnnotation?: boolean;
219
+ } & { [key: string]: unknown };
220
+ /** @description Model 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 */
221
+ model: {
222
+ /**
223
+ * Format: uuid
224
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
225
+ */
226
+ id: string;
227
+ /** @description The unique name for the model within the scope of a registrant. */
228
+ name: string;
229
+ /** @description Version of the model definition. */
230
+ version: string;
231
+ /** @description Human-readable name for the model. */
232
+ displayName: string;
233
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
234
+ model: {
235
+ /** @description Version of the model as defined by the registrant. */
236
+ version: string;
237
+ };
238
+ registrant: {
239
+ kind: string;
240
+ };
241
+ };
242
+ /**
243
+ * Format: uuid
244
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
245
+ */
246
+ model_id?: string;
247
+ /** @description 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. */
248
+ evaluationQuery?: string;
249
+ /** @description 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. */
250
+ selectors?: {
251
+ /** @description Selectors used to define relationships which are allowed. */
252
+ allow: {
253
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
254
+ from: {
255
+ /**
256
+ * Format: uuid
257
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
258
+ */
259
+ id?: string;
260
+ kind?: string;
261
+ /** @description Match configuration for selector */
262
+ match?: {
263
+ refs?: string[][];
264
+ from?: {
265
+ /**
266
+ * Format: uuid
267
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
268
+ */
269
+ id?: string;
270
+ kind: string;
271
+ /** @description JSON ref to value from where patch should be applied. */
272
+ mutatorRef?: string[][];
273
+ mutatedRef?: string[][];
274
+ }[];
275
+ to?: {
276
+ /**
277
+ * Format: uuid
278
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
279
+ */
280
+ id?: string;
281
+ kind: string;
282
+ /** @description JSON ref to value from where patch should be applied. */
283
+ mutatorRef?: string[][];
284
+ mutatedRef?: string[][];
285
+ }[];
286
+ };
287
+ /** @description Match strategy matrix for the selector */
288
+ match_strategy_matrix?: string[][];
289
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
290
+ model?: {
291
+ /**
292
+ * Format: uuid
293
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
294
+ */
295
+ id: string;
296
+ /** @description The unique name for the model within the scope of a registrant. */
297
+ name: string;
298
+ /** @description Version of the model definition. */
299
+ version: string;
300
+ /** @description Human-readable name for the model. */
301
+ displayName: string;
302
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
303
+ model: {
304
+ /** @description Version of the model as defined by the registrant. */
305
+ version: string;
306
+ };
307
+ registrant: {
308
+ kind: string;
309
+ };
310
+ };
311
+ /** @description Patch configuration for the selector */
312
+ patch?: {
313
+ /**
314
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
315
+ *
316
+ * add: Inserts a value into an array or adds a member to an object.
317
+ * replace: Replaces a value.
318
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
319
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
320
+ * remove: Removes a value.
321
+ * copy: Copies a value from one location to another.
322
+ * move: Moves a value from one location to another.
323
+ * test: Tests that a value at the target location is equal to a specified value.
324
+ *
325
+ * @enum {string}
326
+ */
327
+ patchStrategy?:
328
+ | "merge"
329
+ | "strategic"
330
+ | "add"
331
+ | "remove"
332
+ | "copy"
333
+ | "move"
334
+ | "test";
335
+ /** @description JSON ref to value from where patch should be applied. */
336
+ mutatorRef?: string[][];
337
+ mutatedRef?: string[][];
338
+ };
339
+ }[];
340
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
341
+ to: {
342
+ /**
343
+ * Format: uuid
344
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
345
+ */
346
+ id?: string;
347
+ kind?: string;
348
+ /** @description Match configuration for selector */
349
+ match?: {
350
+ refs?: string[][];
351
+ from?: {
352
+ /**
353
+ * Format: uuid
354
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
355
+ */
356
+ id?: string;
357
+ kind: string;
358
+ /** @description JSON ref to value from where patch should be applied. */
359
+ mutatorRef?: string[][];
360
+ mutatedRef?: string[][];
361
+ }[];
362
+ to?: {
363
+ /**
364
+ * Format: uuid
365
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
366
+ */
367
+ id?: string;
368
+ kind: string;
369
+ /** @description JSON ref to value from where patch should be applied. */
370
+ mutatorRef?: string[][];
371
+ mutatedRef?: string[][];
372
+ }[];
373
+ };
374
+ /** @description Match strategy matrix for the selector */
375
+ match_strategy_matrix?: string[][];
376
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
377
+ model?: {
378
+ /**
379
+ * Format: uuid
380
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
381
+ */
382
+ id: string;
383
+ /** @description The unique name for the model within the scope of a registrant. */
384
+ name: string;
385
+ /** @description Version of the model definition. */
386
+ version: string;
387
+ /** @description Human-readable name for the model. */
388
+ displayName: string;
389
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
390
+ model: {
391
+ /** @description Version of the model as defined by the registrant. */
392
+ version: string;
393
+ };
394
+ registrant: {
395
+ kind: string;
396
+ };
397
+ };
398
+ /** @description Patch configuration for the selector */
399
+ patch?: {
400
+ /**
401
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
402
+ *
403
+ * add: Inserts a value into an array or adds a member to an object.
404
+ * replace: Replaces a value.
405
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
406
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
407
+ * remove: Removes a value.
408
+ * copy: Copies a value from one location to another.
409
+ * move: Moves a value from one location to another.
410
+ * test: Tests that a value at the target location is equal to a specified value.
411
+ *
412
+ * @enum {string}
413
+ */
414
+ patchStrategy?:
415
+ | "merge"
416
+ | "strategic"
417
+ | "add"
418
+ | "remove"
419
+ | "copy"
420
+ | "move"
421
+ | "test";
422
+ /** @description JSON ref to value from where patch should be applied. */
423
+ mutatorRef?: string[][];
424
+ mutatedRef?: string[][];
425
+ };
426
+ }[];
427
+ };
428
+ /** @description Optional selectors used to define relationships which should not be created / is restricted. */
429
+ deny?: {
430
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
431
+ from: {
432
+ /**
433
+ * Format: uuid
434
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
435
+ */
436
+ id?: string;
437
+ kind?: string;
438
+ /** @description Match configuration for selector */
439
+ match?: {
440
+ refs?: string[][];
441
+ from?: {
442
+ /**
443
+ * Format: uuid
444
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
445
+ */
446
+ id?: string;
447
+ kind: string;
448
+ /** @description JSON ref to value from where patch should be applied. */
449
+ mutatorRef?: string[][];
450
+ mutatedRef?: string[][];
451
+ }[];
452
+ to?: {
453
+ /**
454
+ * Format: uuid
455
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
456
+ */
457
+ id?: string;
458
+ kind: string;
459
+ /** @description JSON ref to value from where patch should be applied. */
460
+ mutatorRef?: string[][];
461
+ mutatedRef?: string[][];
462
+ }[];
463
+ };
464
+ /** @description Match strategy matrix for the selector */
465
+ match_strategy_matrix?: string[][];
466
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
467
+ model?: {
468
+ /**
469
+ * Format: uuid
470
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
471
+ */
472
+ id: string;
473
+ /** @description The unique name for the model within the scope of a registrant. */
474
+ name: string;
475
+ /** @description Version of the model definition. */
476
+ version: string;
477
+ /** @description Human-readable name for the model. */
478
+ displayName: string;
479
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
480
+ model: {
481
+ /** @description Version of the model as defined by the registrant. */
482
+ version: string;
483
+ };
484
+ registrant: {
485
+ kind: string;
486
+ };
487
+ };
488
+ /** @description Patch configuration for the selector */
489
+ patch?: {
490
+ /**
491
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
492
+ *
493
+ * add: Inserts a value into an array or adds a member to an object.
494
+ * replace: Replaces a value.
495
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
496
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
497
+ * remove: Removes a value.
498
+ * copy: Copies a value from one location to another.
499
+ * move: Moves a value from one location to another.
500
+ * test: Tests that a value at the target location is equal to a specified value.
501
+ *
502
+ * @enum {string}
503
+ */
504
+ patchStrategy?:
505
+ | "merge"
506
+ | "strategic"
507
+ | "add"
508
+ | "remove"
509
+ | "copy"
510
+ | "move"
511
+ | "test";
512
+ /** @description JSON ref to value from where patch should be applied. */
513
+ mutatorRef?: string[][];
514
+ mutatedRef?: string[][];
515
+ };
516
+ }[];
517
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
518
+ to: {
519
+ /**
520
+ * Format: uuid
521
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
522
+ */
523
+ id?: string;
524
+ kind?: string;
525
+ /** @description Match configuration for selector */
526
+ match?: {
527
+ refs?: string[][];
528
+ from?: {
529
+ /**
530
+ * Format: uuid
531
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
532
+ */
533
+ id?: string;
534
+ kind: string;
535
+ /** @description JSON ref to value from where patch should be applied. */
536
+ mutatorRef?: string[][];
537
+ mutatedRef?: string[][];
538
+ }[];
539
+ to?: {
540
+ /**
541
+ * Format: uuid
542
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
543
+ */
544
+ id?: string;
545
+ kind: string;
546
+ /** @description JSON ref to value from where patch should be applied. */
547
+ mutatorRef?: string[][];
548
+ mutatedRef?: string[][];
549
+ }[];
550
+ };
551
+ /** @description Match strategy matrix for the selector */
552
+ match_strategy_matrix?: string[][];
553
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
554
+ model?: {
555
+ /**
556
+ * Format: uuid
557
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
558
+ */
559
+ id: string;
560
+ /** @description The unique name for the model within the scope of a registrant. */
561
+ name: string;
562
+ /** @description Version of the model definition. */
563
+ version: string;
564
+ /** @description Human-readable name for the model. */
565
+ displayName: string;
566
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
567
+ model: {
568
+ /** @description Version of the model as defined by the registrant. */
569
+ version: string;
570
+ };
571
+ registrant: {
572
+ kind: string;
573
+ };
574
+ };
575
+ /** @description Patch configuration for the selector */
576
+ patch?: {
577
+ /**
578
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
579
+ *
580
+ * add: Inserts a value into an array or adds a member to an object.
581
+ * replace: Replaces a value.
582
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
583
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
584
+ * remove: Removes a value.
585
+ * copy: Copies a value from one location to another.
586
+ * move: Moves a value from one location to another.
587
+ * test: Tests that a value at the target location is equal to a specified value.
588
+ *
589
+ * @enum {string}
590
+ */
591
+ patchStrategy?:
592
+ | "merge"
593
+ | "strategic"
594
+ | "add"
595
+ | "remove"
596
+ | "copy"
597
+ | "move"
598
+ | "test";
599
+ /** @description JSON ref to value from where patch should be applied. */
600
+ mutatorRef?: string[][];
601
+ mutatedRef?: string[][];
602
+ };
603
+ }[];
604
+ };
605
+ }[];
606
+ };
607
+ /** @description Match selector item for binding between nodes */
608
+ MatchSelectorItem: {
609
+ /**
610
+ * Format: uuid
611
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
612
+ */
613
+ id?: string;
614
+ kind: string;
615
+ /** @description JSON ref to value from where patch should be applied. */
616
+ mutatorRef?: string[][];
617
+ mutatedRef?: string[][];
618
+ };
619
+ /** @description Match configuration for selector */
620
+ MatchSelector: {
621
+ refs?: string[][];
622
+ from?: {
623
+ /**
624
+ * Format: uuid
625
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
626
+ */
627
+ id?: string;
628
+ kind: string;
629
+ /** @description JSON ref to value from where patch should be applied. */
630
+ mutatorRef?: string[][];
631
+ mutatedRef?: string[][];
632
+ }[];
633
+ to?: {
634
+ /**
635
+ * Format: uuid
636
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
637
+ */
638
+ id?: string;
639
+ kind: string;
640
+ /** @description JSON ref to value from where patch should be applied. */
641
+ mutatorRef?: string[][];
642
+ mutatedRef?: string[][];
643
+ }[];
644
+ };
645
+ /** @description Patch configuration for the selector */
646
+ RelationshipDefinition_Selectors_Patch: {
647
+ /**
648
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
649
+ *
650
+ * add: Inserts a value into an array or adds a member to an object.
651
+ * replace: Replaces a value.
652
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
653
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
654
+ * remove: Removes a value.
655
+ * copy: Copies a value from one location to another.
656
+ * move: Moves a value from one location to another.
657
+ * test: Tests that a value at the target location is equal to a specified value.
658
+ *
659
+ * @enum {string}
660
+ */
661
+ patchStrategy?:
662
+ | "merge"
663
+ | "strategic"
664
+ | "add"
665
+ | "remove"
666
+ | "copy"
667
+ | "move"
668
+ | "test";
669
+ /** @description JSON ref to value from where patch should be applied. */
670
+ mutatorRef?: string[][];
671
+ mutatedRef?: string[][];
672
+ };
673
+ /** @description Optional fields that are a part of the selector. Absence of a field has an implied * meaning. */
674
+ SelectorItem: {
675
+ /**
676
+ * Format: uuid
677
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
678
+ */
679
+ id?: string;
680
+ kind?: string;
681
+ /** @description Match configuration for selector */
682
+ match?: {
683
+ refs?: string[][];
684
+ from?: {
685
+ /**
686
+ * Format: uuid
687
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
688
+ */
689
+ id?: string;
690
+ kind: string;
691
+ /** @description JSON ref to value from where patch should be applied. */
692
+ mutatorRef?: string[][];
693
+ mutatedRef?: string[][];
694
+ }[];
695
+ to?: {
696
+ /**
697
+ * Format: uuid
698
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
699
+ */
700
+ id?: string;
701
+ kind: string;
702
+ /** @description JSON ref to value from where patch should be applied. */
703
+ mutatorRef?: string[][];
704
+ mutatedRef?: string[][];
705
+ }[];
706
+ };
707
+ /** @description Match strategy matrix for the selector */
708
+ match_strategy_matrix?: string[][];
709
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
710
+ model?: {
711
+ /**
712
+ * Format: uuid
713
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
714
+ */
715
+ id: string;
716
+ /** @description The unique name for the model within the scope of a registrant. */
717
+ name: string;
718
+ /** @description Version of the model definition. */
719
+ version: string;
720
+ /** @description Human-readable name for the model. */
721
+ displayName: string;
722
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
723
+ model: {
724
+ /** @description Version of the model as defined by the registrant. */
725
+ version: string;
726
+ };
727
+ registrant: {
728
+ kind: string;
729
+ };
730
+ };
731
+ /** @description Patch configuration for the selector */
732
+ patch?: {
733
+ /**
734
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
735
+ *
736
+ * add: Inserts a value into an array or adds a member to an object.
737
+ * replace: Replaces a value.
738
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
739
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
740
+ * remove: Removes a value.
741
+ * copy: Copies a value from one location to another.
742
+ * move: Moves a value from one location to another.
743
+ * test: Tests that a value at the target location is equal to a specified value.
744
+ *
745
+ * @enum {string}
746
+ */
747
+ patchStrategy?:
748
+ | "merge"
749
+ | "strategic"
750
+ | "add"
751
+ | "remove"
752
+ | "copy"
753
+ | "move"
754
+ | "test";
755
+ /** @description JSON ref to value from where patch should be applied. */
756
+ mutatorRef?: string[][];
757
+ mutatedRef?: string[][];
758
+ };
759
+ };
760
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
761
+ Selector: {
762
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
763
+ from: {
764
+ /**
765
+ * Format: uuid
766
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
767
+ */
768
+ id?: string;
769
+ kind?: string;
770
+ /** @description Match configuration for selector */
771
+ match?: {
772
+ refs?: string[][];
773
+ from?: {
774
+ /**
775
+ * Format: uuid
776
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
777
+ */
778
+ id?: string;
779
+ kind: string;
780
+ /** @description JSON ref to value from where patch should be applied. */
781
+ mutatorRef?: string[][];
782
+ mutatedRef?: string[][];
783
+ }[];
784
+ to?: {
785
+ /**
786
+ * Format: uuid
787
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
788
+ */
789
+ id?: string;
790
+ kind: string;
791
+ /** @description JSON ref to value from where patch should be applied. */
792
+ mutatorRef?: string[][];
793
+ mutatedRef?: string[][];
794
+ }[];
795
+ };
796
+ /** @description Match strategy matrix for the selector */
797
+ match_strategy_matrix?: string[][];
798
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
799
+ model?: {
800
+ /**
801
+ * Format: uuid
802
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
803
+ */
804
+ id: string;
805
+ /** @description The unique name for the model within the scope of a registrant. */
806
+ name: string;
807
+ /** @description Version of the model definition. */
808
+ version: string;
809
+ /** @description Human-readable name for the model. */
810
+ displayName: string;
811
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
812
+ model: {
813
+ /** @description Version of the model as defined by the registrant. */
814
+ version: string;
815
+ };
816
+ registrant: {
817
+ kind: string;
818
+ };
819
+ };
820
+ /** @description Patch configuration for the selector */
821
+ patch?: {
822
+ /**
823
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
824
+ *
825
+ * add: Inserts a value into an array or adds a member to an object.
826
+ * replace: Replaces a value.
827
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
828
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
829
+ * remove: Removes a value.
830
+ * copy: Copies a value from one location to another.
831
+ * move: Moves a value from one location to another.
832
+ * test: Tests that a value at the target location is equal to a specified value.
833
+ *
834
+ * @enum {string}
835
+ */
836
+ patchStrategy?:
837
+ | "merge"
838
+ | "strategic"
839
+ | "add"
840
+ | "remove"
841
+ | "copy"
842
+ | "move"
843
+ | "test";
844
+ /** @description JSON ref to value from where patch should be applied. */
845
+ mutatorRef?: string[][];
846
+ mutatedRef?: string[][];
847
+ };
848
+ }[];
849
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
850
+ to: {
851
+ /**
852
+ * Format: uuid
853
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
854
+ */
855
+ id?: string;
856
+ kind?: string;
857
+ /** @description Match configuration for selector */
858
+ match?: {
859
+ refs?: string[][];
860
+ from?: {
861
+ /**
862
+ * Format: uuid
863
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
864
+ */
865
+ id?: string;
866
+ kind: string;
867
+ /** @description JSON ref to value from where patch should be applied. */
868
+ mutatorRef?: string[][];
869
+ mutatedRef?: string[][];
870
+ }[];
871
+ to?: {
872
+ /**
873
+ * Format: uuid
874
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
875
+ */
876
+ id?: string;
877
+ kind: string;
878
+ /** @description JSON ref to value from where patch should be applied. */
879
+ mutatorRef?: string[][];
880
+ mutatedRef?: string[][];
881
+ }[];
882
+ };
883
+ /** @description Match strategy matrix for the selector */
884
+ match_strategy_matrix?: string[][];
885
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
886
+ model?: {
887
+ /**
888
+ * Format: uuid
889
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
890
+ */
891
+ id: string;
892
+ /** @description The unique name for the model within the scope of a registrant. */
893
+ name: string;
894
+ /** @description Version of the model definition. */
895
+ version: string;
896
+ /** @description Human-readable name for the model. */
897
+ displayName: string;
898
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
899
+ model: {
900
+ /** @description Version of the model as defined by the registrant. */
901
+ version: string;
902
+ };
903
+ registrant: {
904
+ kind: string;
905
+ };
906
+ };
907
+ /** @description Patch configuration for the selector */
908
+ patch?: {
909
+ /**
910
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
911
+ *
912
+ * add: Inserts a value into an array or adds a member to an object.
913
+ * replace: Replaces a value.
914
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
915
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
916
+ * remove: Removes a value.
917
+ * copy: Copies a value from one location to another.
918
+ * move: Moves a value from one location to another.
919
+ * test: Tests that a value at the target location is equal to a specified value.
920
+ *
921
+ * @enum {string}
922
+ */
923
+ patchStrategy?:
924
+ | "merge"
925
+ | "strategic"
926
+ | "add"
927
+ | "remove"
928
+ | "copy"
929
+ | "move"
930
+ | "test";
931
+ /** @description JSON ref to value from where patch should be applied. */
932
+ mutatorRef?: string[][];
933
+ mutatedRef?: string[][];
934
+ };
935
+ }[];
936
+ };
937
+ /** @description Optional selectors used to match Components. Absence of a selector means that it is applied to all Components. */
938
+ SelectorSetItem: {
939
+ /** @description Selectors used to define relationships which are allowed. */
940
+ allow: {
941
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
942
+ from: {
943
+ /**
944
+ * Format: uuid
945
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
946
+ */
947
+ id?: string;
948
+ kind?: string;
949
+ /** @description Match configuration for selector */
950
+ match?: {
951
+ refs?: string[][];
952
+ from?: {
953
+ /**
954
+ * Format: uuid
955
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
956
+ */
957
+ id?: string;
958
+ kind: string;
959
+ /** @description JSON ref to value from where patch should be applied. */
960
+ mutatorRef?: string[][];
961
+ mutatedRef?: string[][];
962
+ }[];
963
+ to?: {
964
+ /**
965
+ * Format: uuid
966
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
967
+ */
968
+ id?: string;
969
+ kind: string;
970
+ /** @description JSON ref to value from where patch should be applied. */
971
+ mutatorRef?: string[][];
972
+ mutatedRef?: string[][];
973
+ }[];
974
+ };
975
+ /** @description Match strategy matrix for the selector */
976
+ match_strategy_matrix?: string[][];
977
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
978
+ model?: {
979
+ /**
980
+ * Format: uuid
981
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
982
+ */
983
+ id: string;
984
+ /** @description The unique name for the model within the scope of a registrant. */
985
+ name: string;
986
+ /** @description Version of the model definition. */
987
+ version: string;
988
+ /** @description Human-readable name for the model. */
989
+ displayName: string;
990
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
991
+ model: {
992
+ /** @description Version of the model as defined by the registrant. */
993
+ version: string;
994
+ };
995
+ registrant: {
996
+ kind: string;
997
+ };
998
+ };
999
+ /** @description Patch configuration for the selector */
1000
+ patch?: {
1001
+ /**
1002
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1003
+ *
1004
+ * add: Inserts a value into an array or adds a member to an object.
1005
+ * replace: Replaces a value.
1006
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1007
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1008
+ * remove: Removes a value.
1009
+ * copy: Copies a value from one location to another.
1010
+ * move: Moves a value from one location to another.
1011
+ * test: Tests that a value at the target location is equal to a specified value.
1012
+ *
1013
+ * @enum {string}
1014
+ */
1015
+ patchStrategy?:
1016
+ | "merge"
1017
+ | "strategic"
1018
+ | "add"
1019
+ | "remove"
1020
+ | "copy"
1021
+ | "move"
1022
+ | "test";
1023
+ /** @description JSON ref to value from where patch should be applied. */
1024
+ mutatorRef?: string[][];
1025
+ mutatedRef?: string[][];
1026
+ };
1027
+ }[];
1028
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1029
+ to: {
1030
+ /**
1031
+ * Format: uuid
1032
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1033
+ */
1034
+ id?: string;
1035
+ kind?: string;
1036
+ /** @description Match configuration for selector */
1037
+ match?: {
1038
+ refs?: string[][];
1039
+ from?: {
1040
+ /**
1041
+ * Format: uuid
1042
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1043
+ */
1044
+ id?: string;
1045
+ kind: string;
1046
+ /** @description JSON ref to value from where patch should be applied. */
1047
+ mutatorRef?: string[][];
1048
+ mutatedRef?: string[][];
1049
+ }[];
1050
+ to?: {
1051
+ /**
1052
+ * Format: uuid
1053
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1054
+ */
1055
+ id?: string;
1056
+ kind: string;
1057
+ /** @description JSON ref to value from where patch should be applied. */
1058
+ mutatorRef?: string[][];
1059
+ mutatedRef?: string[][];
1060
+ }[];
1061
+ };
1062
+ /** @description Match strategy matrix for the selector */
1063
+ match_strategy_matrix?: string[][];
1064
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1065
+ model?: {
1066
+ /**
1067
+ * Format: uuid
1068
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1069
+ */
1070
+ id: string;
1071
+ /** @description The unique name for the model within the scope of a registrant. */
1072
+ name: string;
1073
+ /** @description Version of the model definition. */
1074
+ version: string;
1075
+ /** @description Human-readable name for the model. */
1076
+ displayName: string;
1077
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1078
+ model: {
1079
+ /** @description Version of the model as defined by the registrant. */
1080
+ version: string;
1081
+ };
1082
+ registrant: {
1083
+ kind: string;
1084
+ };
1085
+ };
1086
+ /** @description Patch configuration for the selector */
1087
+ patch?: {
1088
+ /**
1089
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1090
+ *
1091
+ * add: Inserts a value into an array or adds a member to an object.
1092
+ * replace: Replaces a value.
1093
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1094
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1095
+ * remove: Removes a value.
1096
+ * copy: Copies a value from one location to another.
1097
+ * move: Moves a value from one location to another.
1098
+ * test: Tests that a value at the target location is equal to a specified value.
1099
+ *
1100
+ * @enum {string}
1101
+ */
1102
+ patchStrategy?:
1103
+ | "merge"
1104
+ | "strategic"
1105
+ | "add"
1106
+ | "remove"
1107
+ | "copy"
1108
+ | "move"
1109
+ | "test";
1110
+ /** @description JSON ref to value from where patch should be applied. */
1111
+ mutatorRef?: string[][];
1112
+ mutatedRef?: string[][];
1113
+ };
1114
+ }[];
1115
+ };
1116
+ /** @description Optional selectors used to define relationships which should not be created / is restricted. */
1117
+ deny?: {
1118
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1119
+ from: {
1120
+ /**
1121
+ * Format: uuid
1122
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1123
+ */
1124
+ id?: string;
1125
+ kind?: string;
1126
+ /** @description Match configuration for selector */
1127
+ match?: {
1128
+ refs?: string[][];
1129
+ from?: {
1130
+ /**
1131
+ * Format: uuid
1132
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1133
+ */
1134
+ id?: string;
1135
+ kind: string;
1136
+ /** @description JSON ref to value from where patch should be applied. */
1137
+ mutatorRef?: string[][];
1138
+ mutatedRef?: string[][];
1139
+ }[];
1140
+ to?: {
1141
+ /**
1142
+ * Format: uuid
1143
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1144
+ */
1145
+ id?: string;
1146
+ kind: string;
1147
+ /** @description JSON ref to value from where patch should be applied. */
1148
+ mutatorRef?: string[][];
1149
+ mutatedRef?: string[][];
1150
+ }[];
1151
+ };
1152
+ /** @description Match strategy matrix for the selector */
1153
+ match_strategy_matrix?: string[][];
1154
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1155
+ model?: {
1156
+ /**
1157
+ * Format: uuid
1158
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1159
+ */
1160
+ id: string;
1161
+ /** @description The unique name for the model within the scope of a registrant. */
1162
+ name: string;
1163
+ /** @description Version of the model definition. */
1164
+ version: string;
1165
+ /** @description Human-readable name for the model. */
1166
+ displayName: string;
1167
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1168
+ model: {
1169
+ /** @description Version of the model as defined by the registrant. */
1170
+ version: string;
1171
+ };
1172
+ registrant: {
1173
+ kind: string;
1174
+ };
1175
+ };
1176
+ /** @description Patch configuration for the selector */
1177
+ patch?: {
1178
+ /**
1179
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1180
+ *
1181
+ * add: Inserts a value into an array or adds a member to an object.
1182
+ * replace: Replaces a value.
1183
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1184
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1185
+ * remove: Removes a value.
1186
+ * copy: Copies a value from one location to another.
1187
+ * move: Moves a value from one location to another.
1188
+ * test: Tests that a value at the target location is equal to a specified value.
1189
+ *
1190
+ * @enum {string}
1191
+ */
1192
+ patchStrategy?:
1193
+ | "merge"
1194
+ | "strategic"
1195
+ | "add"
1196
+ | "remove"
1197
+ | "copy"
1198
+ | "move"
1199
+ | "test";
1200
+ /** @description JSON ref to value from where patch should be applied. */
1201
+ mutatorRef?: string[][];
1202
+ mutatedRef?: string[][];
1203
+ };
1204
+ }[];
1205
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1206
+ to: {
1207
+ /**
1208
+ * Format: uuid
1209
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1210
+ */
1211
+ id?: string;
1212
+ kind?: string;
1213
+ /** @description Match configuration for selector */
1214
+ match?: {
1215
+ refs?: string[][];
1216
+ from?: {
1217
+ /**
1218
+ * Format: uuid
1219
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1220
+ */
1221
+ id?: string;
1222
+ kind: string;
1223
+ /** @description JSON ref to value from where patch should be applied. */
1224
+ mutatorRef?: string[][];
1225
+ mutatedRef?: string[][];
1226
+ }[];
1227
+ to?: {
1228
+ /**
1229
+ * Format: uuid
1230
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1231
+ */
1232
+ id?: string;
1233
+ kind: string;
1234
+ /** @description JSON ref to value from where patch should be applied. */
1235
+ mutatorRef?: string[][];
1236
+ mutatedRef?: string[][];
1237
+ }[];
1238
+ };
1239
+ /** @description Match strategy matrix for the selector */
1240
+ match_strategy_matrix?: string[][];
1241
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1242
+ model?: {
1243
+ /**
1244
+ * Format: uuid
1245
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1246
+ */
1247
+ id: string;
1248
+ /** @description The unique name for the model within the scope of a registrant. */
1249
+ name: string;
1250
+ /** @description Version of the model definition. */
1251
+ version: string;
1252
+ /** @description Human-readable name for the model. */
1253
+ displayName: string;
1254
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1255
+ model: {
1256
+ /** @description Version of the model as defined by the registrant. */
1257
+ version: string;
1258
+ };
1259
+ registrant: {
1260
+ kind: string;
1261
+ };
1262
+ };
1263
+ /** @description Patch configuration for the selector */
1264
+ patch?: {
1265
+ /**
1266
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1267
+ *
1268
+ * add: Inserts a value into an array or adds a member to an object.
1269
+ * replace: Replaces a value.
1270
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1271
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1272
+ * remove: Removes a value.
1273
+ * copy: Copies a value from one location to another.
1274
+ * move: Moves a value from one location to another.
1275
+ * test: Tests that a value at the target location is equal to a specified value.
1276
+ *
1277
+ * @enum {string}
1278
+ */
1279
+ patchStrategy?:
1280
+ | "merge"
1281
+ | "strategic"
1282
+ | "add"
1283
+ | "remove"
1284
+ | "copy"
1285
+ | "move"
1286
+ | "test";
1287
+ /** @description JSON ref to value from where patch should be applied. */
1288
+ mutatorRef?: string[][];
1289
+ mutatedRef?: string[][];
1290
+ };
1291
+ }[];
1292
+ };
1293
+ };
1294
+ /** @description 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. */
1295
+ SelectorSet: {
1296
+ /** @description Selectors used to define relationships which are allowed. */
1297
+ allow: {
1298
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1299
+ from: {
1300
+ /**
1301
+ * Format: uuid
1302
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1303
+ */
1304
+ id?: string;
1305
+ kind?: string;
1306
+ /** @description Match configuration for selector */
1307
+ match?: {
1308
+ refs?: string[][];
1309
+ from?: {
1310
+ /**
1311
+ * Format: uuid
1312
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1313
+ */
1314
+ id?: string;
1315
+ kind: string;
1316
+ /** @description JSON ref to value from where patch should be applied. */
1317
+ mutatorRef?: string[][];
1318
+ mutatedRef?: string[][];
1319
+ }[];
1320
+ to?: {
1321
+ /**
1322
+ * Format: uuid
1323
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1324
+ */
1325
+ id?: string;
1326
+ kind: string;
1327
+ /** @description JSON ref to value from where patch should be applied. */
1328
+ mutatorRef?: string[][];
1329
+ mutatedRef?: string[][];
1330
+ }[];
1331
+ };
1332
+ /** @description Match strategy matrix for the selector */
1333
+ match_strategy_matrix?: string[][];
1334
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1335
+ model?: {
1336
+ /**
1337
+ * Format: uuid
1338
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1339
+ */
1340
+ id: string;
1341
+ /** @description The unique name for the model within the scope of a registrant. */
1342
+ name: string;
1343
+ /** @description Version of the model definition. */
1344
+ version: string;
1345
+ /** @description Human-readable name for the model. */
1346
+ displayName: string;
1347
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1348
+ model: {
1349
+ /** @description Version of the model as defined by the registrant. */
1350
+ version: string;
1351
+ };
1352
+ registrant: {
1353
+ kind: string;
1354
+ };
1355
+ };
1356
+ /** @description Patch configuration for the selector */
1357
+ patch?: {
1358
+ /**
1359
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1360
+ *
1361
+ * add: Inserts a value into an array or adds a member to an object.
1362
+ * replace: Replaces a value.
1363
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1364
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1365
+ * remove: Removes a value.
1366
+ * copy: Copies a value from one location to another.
1367
+ * move: Moves a value from one location to another.
1368
+ * test: Tests that a value at the target location is equal to a specified value.
1369
+ *
1370
+ * @enum {string}
1371
+ */
1372
+ patchStrategy?:
1373
+ | "merge"
1374
+ | "strategic"
1375
+ | "add"
1376
+ | "remove"
1377
+ | "copy"
1378
+ | "move"
1379
+ | "test";
1380
+ /** @description JSON ref to value from where patch should be applied. */
1381
+ mutatorRef?: string[][];
1382
+ mutatedRef?: string[][];
1383
+ };
1384
+ }[];
1385
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1386
+ to: {
1387
+ /**
1388
+ * Format: uuid
1389
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1390
+ */
1391
+ id?: string;
1392
+ kind?: string;
1393
+ /** @description Match configuration for selector */
1394
+ match?: {
1395
+ refs?: string[][];
1396
+ from?: {
1397
+ /**
1398
+ * Format: uuid
1399
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1400
+ */
1401
+ id?: string;
1402
+ kind: string;
1403
+ /** @description JSON ref to value from where patch should be applied. */
1404
+ mutatorRef?: string[][];
1405
+ mutatedRef?: string[][];
1406
+ }[];
1407
+ to?: {
1408
+ /**
1409
+ * Format: uuid
1410
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1411
+ */
1412
+ id?: string;
1413
+ kind: string;
1414
+ /** @description JSON ref to value from where patch should be applied. */
1415
+ mutatorRef?: string[][];
1416
+ mutatedRef?: string[][];
1417
+ }[];
1418
+ };
1419
+ /** @description Match strategy matrix for the selector */
1420
+ match_strategy_matrix?: string[][];
1421
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1422
+ model?: {
1423
+ /**
1424
+ * Format: uuid
1425
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1426
+ */
1427
+ id: string;
1428
+ /** @description The unique name for the model within the scope of a registrant. */
1429
+ name: string;
1430
+ /** @description Version of the model definition. */
1431
+ version: string;
1432
+ /** @description Human-readable name for the model. */
1433
+ displayName: string;
1434
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1435
+ model: {
1436
+ /** @description Version of the model as defined by the registrant. */
1437
+ version: string;
1438
+ };
1439
+ registrant: {
1440
+ kind: string;
1441
+ };
1442
+ };
1443
+ /** @description Patch configuration for the selector */
1444
+ patch?: {
1445
+ /**
1446
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1447
+ *
1448
+ * add: Inserts a value into an array or adds a member to an object.
1449
+ * replace: Replaces a value.
1450
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1451
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1452
+ * remove: Removes a value.
1453
+ * copy: Copies a value from one location to another.
1454
+ * move: Moves a value from one location to another.
1455
+ * test: Tests that a value at the target location is equal to a specified value.
1456
+ *
1457
+ * @enum {string}
1458
+ */
1459
+ patchStrategy?:
1460
+ | "merge"
1461
+ | "strategic"
1462
+ | "add"
1463
+ | "remove"
1464
+ | "copy"
1465
+ | "move"
1466
+ | "test";
1467
+ /** @description JSON ref to value from where patch should be applied. */
1468
+ mutatorRef?: string[][];
1469
+ mutatedRef?: string[][];
1470
+ };
1471
+ }[];
1472
+ };
1473
+ /** @description Optional selectors used to define relationships which should not be created / is restricted. */
1474
+ deny?: {
1475
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1476
+ from: {
1477
+ /**
1478
+ * Format: uuid
1479
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1480
+ */
1481
+ id?: string;
1482
+ kind?: string;
1483
+ /** @description Match configuration for selector */
1484
+ match?: {
1485
+ refs?: string[][];
1486
+ from?: {
1487
+ /**
1488
+ * Format: uuid
1489
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1490
+ */
1491
+ id?: string;
1492
+ kind: string;
1493
+ /** @description JSON ref to value from where patch should be applied. */
1494
+ mutatorRef?: string[][];
1495
+ mutatedRef?: string[][];
1496
+ }[];
1497
+ to?: {
1498
+ /**
1499
+ * Format: uuid
1500
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1501
+ */
1502
+ id?: string;
1503
+ kind: string;
1504
+ /** @description JSON ref to value from where patch should be applied. */
1505
+ mutatorRef?: string[][];
1506
+ mutatedRef?: string[][];
1507
+ }[];
1508
+ };
1509
+ /** @description Match strategy matrix for the selector */
1510
+ match_strategy_matrix?: string[][];
1511
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1512
+ model?: {
1513
+ /**
1514
+ * Format: uuid
1515
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1516
+ */
1517
+ id: string;
1518
+ /** @description The unique name for the model within the scope of a registrant. */
1519
+ name: string;
1520
+ /** @description Version of the model definition. */
1521
+ version: string;
1522
+ /** @description Human-readable name for the model. */
1523
+ displayName: string;
1524
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1525
+ model: {
1526
+ /** @description Version of the model as defined by the registrant. */
1527
+ version: string;
1528
+ };
1529
+ registrant: {
1530
+ kind: string;
1531
+ };
1532
+ };
1533
+ /** @description Patch configuration for the selector */
1534
+ patch?: {
1535
+ /**
1536
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1537
+ *
1538
+ * add: Inserts a value into an array or adds a member to an object.
1539
+ * replace: Replaces a value.
1540
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1541
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1542
+ * remove: Removes a value.
1543
+ * copy: Copies a value from one location to another.
1544
+ * move: Moves a value from one location to another.
1545
+ * test: Tests that a value at the target location is equal to a specified value.
1546
+ *
1547
+ * @enum {string}
1548
+ */
1549
+ patchStrategy?:
1550
+ | "merge"
1551
+ | "strategic"
1552
+ | "add"
1553
+ | "remove"
1554
+ | "copy"
1555
+ | "move"
1556
+ | "test";
1557
+ /** @description JSON ref to value from where patch should be applied. */
1558
+ mutatorRef?: string[][];
1559
+ mutatedRef?: string[][];
1560
+ };
1561
+ }[];
1562
+ /** @description Describes the component(s) which are involved in the relationship along with a set of actions to perform upon selection match. */
1563
+ to: {
1564
+ /**
1565
+ * Format: uuid
1566
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1567
+ */
1568
+ id?: string;
1569
+ kind?: string;
1570
+ /** @description Match configuration for selector */
1571
+ match?: {
1572
+ refs?: string[][];
1573
+ from?: {
1574
+ /**
1575
+ * Format: uuid
1576
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1577
+ */
1578
+ id?: string;
1579
+ kind: string;
1580
+ /** @description JSON ref to value from where patch should be applied. */
1581
+ mutatorRef?: string[][];
1582
+ mutatedRef?: string[][];
1583
+ }[];
1584
+ to?: {
1585
+ /**
1586
+ * Format: uuid
1587
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1588
+ */
1589
+ id?: string;
1590
+ kind: string;
1591
+ /** @description JSON ref to value from where patch should be applied. */
1592
+ mutatorRef?: string[][];
1593
+ mutatedRef?: string[][];
1594
+ }[];
1595
+ };
1596
+ /** @description Match strategy matrix for the selector */
1597
+ match_strategy_matrix?: string[][];
1598
+ /** @description Name of the model implicated by this selector. Learn more at https://docs.meshery.io/concepts/models */
1599
+ model?: {
1600
+ /**
1601
+ * Format: uuid
1602
+ * @description A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.
1603
+ */
1604
+ id: string;
1605
+ /** @description The unique name for the model within the scope of a registrant. */
1606
+ name: string;
1607
+ /** @description Version of the model definition. */
1608
+ version: string;
1609
+ /** @description Human-readable name for the model. */
1610
+ displayName: string;
1611
+ /** @description Registrant-defined data associated with the model. Properties pertain to the software being managed (e.g. Kubernetes v1.31). */
1612
+ model: {
1613
+ /** @description Version of the model as defined by the registrant. */
1614
+ version: string;
1615
+ };
1616
+ registrant: {
1617
+ kind: string;
1618
+ };
1619
+ };
1620
+ /** @description Patch configuration for the selector */
1621
+ patch?: {
1622
+ /**
1623
+ * @description patchStrategy allows you to make specific changes to a resource using a standard JSON Patch format (RFC 6902).
1624
+ *
1625
+ * add: Inserts a value into an array or adds a member to an object.
1626
+ * replace: Replaces a value.
1627
+ * merge: Combines the values of the target location with the values from the patch. If the target location doesn't exist, it is created.
1628
+ * strategic: specific to Kubernetes and understands the structure of Kubernetes objects.
1629
+ * remove: Removes a value.
1630
+ * copy: Copies a value from one location to another.
1631
+ * move: Moves a value from one location to another.
1632
+ * test: Tests that a value at the target location is equal to a specified value.
1633
+ *
1634
+ * @enum {string}
1635
+ */
1636
+ patchStrategy?:
1637
+ | "merge"
1638
+ | "strategic"
1639
+ | "add"
1640
+ | "remove"
1641
+ | "copy"
1642
+ | "move"
1643
+ | "test";
1644
+ /** @description JSON ref to value from where patch should be applied. */
1645
+ mutatorRef?: string[][];
1646
+ mutatedRef?: string[][];
1647
+ };
1648
+ }[];
1649
+ };
1650
+ }[];
1651
+ /** @description Metadata contains additional information associated with the Relationship. */
1652
+ Relationship_Metadata: {
1653
+ /** @description Characterization of the meaning of the relationship and its relevance to both Meshery and entities under management. */
1654
+ description?: string;
1655
+ /** @description Visualization styles for a relationship */
1656
+ styles?: {
1657
+ /** @description Primary color of the component used for UI representation. */
1658
+ primaryColor: string;
1659
+ /** @description Secondary color of the entity used for UI representation. */
1660
+ secondaryColor?: string;
1661
+ /** @description White SVG of the entity used for UI representation on dark background. */
1662
+ svgWhite: string;
1663
+ /** @description Colored SVG of the entity used for UI representation on light background. */
1664
+ svgColor: string;
1665
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
1666
+ svgComplete?: string;
1667
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
1668
+ color?: string;
1669
+ /**
1670
+ * Format: float
1671
+ * @description The opacity of the label text, including its outline.
1672
+ */
1673
+ "text-opacity"?: number;
1674
+ /** @description A comma-separated list of font names to use on the label text. */
1675
+ "font-family"?: string;
1676
+ /** @description The size of the label text. */
1677
+ "font-size"?: string;
1678
+ /** @description A CSS font style to be applied to the label text. */
1679
+ "font-style"?: string;
1680
+ /** @description A CSS font weight to be applied to the label text. */
1681
+ "font-weight"?: string;
1682
+ /**
1683
+ * @description A transformation to apply to the label text
1684
+ * @enum {string}
1685
+ */
1686
+ "text-transform"?: "none" | "uppercase" | "lowercase";
1687
+ /**
1688
+ * Format: float
1689
+ * @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.See https://js.cytoscape.org/#style/visibility
1690
+ */
1691
+ opacity?: number;
1692
+ /** @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. */
1693
+ "z-index"?: number;
1694
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
1695
+ label?: string;
1696
+ /** @description The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
1697
+ "edge-animation"?: string;
1698
+ /**
1699
+ * @description 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.
1700
+ * @enum {string}
1701
+ */
1702
+ "curve-style"?:
1703
+ | "haystack"
1704
+ | "straight"
1705
+ | "bezier"
1706
+ | "unbundled-bezier"
1707
+ | "segments"
1708
+ | "taxi";
1709
+ /** @description The colour of the edge's line. Colours may be specified by name (e.g. red), hex (e.g. */
1710
+ "line-color"?: string;
1711
+ /**
1712
+ * @description The style of the edge's line.
1713
+ * @enum {string}
1714
+ */
1715
+ "line-style"?: "solid" | "dotted" | "dashed";
1716
+ /**
1717
+ * @description 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.
1718
+ * @enum {string}
1719
+ */
1720
+ "line-cap"?: "butt" | "round" | "square";
1721
+ /**
1722
+ * Format: float
1723
+ * @description 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.
1724
+ */
1725
+ "line-opacity"?: number;
1726
+ /** @description The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
1727
+ "target-arrow-color"?: string;
1728
+ /**
1729
+ * @description The shape of the edge's source arrow
1730
+ * @enum {string}
1731
+ */
1732
+ "target-arrow-shape"?:
1733
+ | "triangle"
1734
+ | "triangle-tee"
1735
+ | "circle-triangle"
1736
+ | "triangle-cross"
1737
+ | "triangle-backcurve"
1738
+ | "vee"
1739
+ | "tee"
1740
+ | "square"
1741
+ | "circle"
1742
+ | "diamond"
1743
+ | "chevron"
1744
+ | "none";
1745
+ /**
1746
+ * @description The fill state of the edge's source arrow
1747
+ * @enum {string}
1748
+ */
1749
+ "target-arrow-fill"?: "filled" | "hollow";
1750
+ /** @description The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
1751
+ "mid-target-arrow-color"?: string;
1752
+ /**
1753
+ * @description The shape of the edge's source arrow
1754
+ * @enum {string}
1755
+ */
1756
+ "mid-target-arrow-shape"?:
1757
+ | "triangle"
1758
+ | "triangle-tee"
1759
+ | "circle-triangle"
1760
+ | "triangle-cross"
1761
+ | "triangle-backcurve"
1762
+ | "vee"
1763
+ | "tee"
1764
+ | "square"
1765
+ | "circle"
1766
+ | "diamond"
1767
+ | "chevron"
1768
+ | "none";
1769
+ /**
1770
+ * @description The fill state of the edge's source arrow
1771
+ * @enum {string}
1772
+ */
1773
+ "mid-target-arrow-fill"?: "filled" | "hollow";
1774
+ /**
1775
+ * Format: float
1776
+ * @description Scaling for the arrow size.
1777
+ */
1778
+ "arrow-scale"?: number;
1779
+ /** @description The text to display for an edge's source label. Can give a path, e.g. data(id) will label with the elements id */
1780
+ "source-label"?: string;
1781
+ /** @description The text to display for an edge's target label. Can give a path, e.g. data(id) will label with the elements id */
1782
+ "target-label"?: string;
1783
+ };
1784
+ /** @description Indicates whether the relationship should be treated as a logical representation only */
1785
+ isAnnotation?: boolean;
1786
+ } & { [key: string]: unknown };
1787
+ /** @description Visualization styles for a relationship */
1788
+ RelationshipDefinitionMetadataStyles: {
1789
+ /** @description Primary color of the component used for UI representation. */
1790
+ primaryColor: string;
1791
+ /** @description Secondary color of the entity used for UI representation. */
1792
+ secondaryColor?: string;
1793
+ /** @description White SVG of the entity used for UI representation on dark background. */
1794
+ svgWhite: string;
1795
+ /** @description Colored SVG of the entity used for UI representation on light background. */
1796
+ svgColor: string;
1797
+ /** @description Complete SVG of the entity used for UI representation, often inclusive of background. */
1798
+ svgComplete?: string;
1799
+ /** @description The color of the element's label. Colours may be specified by name (e.g. red), hex (e.g. */
1800
+ color?: string;
1801
+ /**
1802
+ * Format: float
1803
+ * @description The opacity of the label text, including its outline.
1804
+ */
1805
+ "text-opacity"?: number;
1806
+ /** @description A comma-separated list of font names to use on the label text. */
1807
+ "font-family"?: string;
1808
+ /** @description The size of the label text. */
1809
+ "font-size"?: string;
1810
+ /** @description A CSS font style to be applied to the label text. */
1811
+ "font-style"?: string;
1812
+ /** @description A CSS font weight to be applied to the label text. */
1813
+ "font-weight"?: string;
1814
+ /**
1815
+ * @description A transformation to apply to the label text
1816
+ * @enum {string}
1817
+ */
1818
+ "text-transform"?: "none" | "uppercase" | "lowercase";
1819
+ /**
1820
+ * Format: float
1821
+ * @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.See https://js.cytoscape.org/#style/visibility
1822
+ */
1823
+ opacity?: number;
1824
+ /** @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. */
1825
+ "z-index"?: number;
1826
+ /** @description The text to display for an element's label. Can give a path, e.g. data(id) will label with the elements id */
1827
+ label?: string;
1828
+ /** @description The animation to use for the edge. Can be like 'marching-ants' , 'blink' , 'moving-gradient',etc . */
1829
+ "edge-animation"?: string;
1830
+ /**
1831
+ * @description 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.
1832
+ * @enum {string}
1833
+ */
1834
+ "curve-style"?:
1835
+ | "haystack"
1836
+ | "straight"
1837
+ | "bezier"
1838
+ | "unbundled-bezier"
1839
+ | "segments"
1840
+ | "taxi";
1841
+ /** @description The colour of the edge's line. Colours may be specified by name (e.g. red), hex (e.g. */
1842
+ "line-color"?: string;
1843
+ /**
1844
+ * @description The style of the edge's line.
1845
+ * @enum {string}
1846
+ */
1847
+ "line-style"?: "solid" | "dotted" | "dashed";
1848
+ /**
1849
+ * @description 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.
1850
+ * @enum {string}
1851
+ */
1852
+ "line-cap"?: "butt" | "round" | "square";
1853
+ /**
1854
+ * Format: float
1855
+ * @description 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.
1856
+ */
1857
+ "line-opacity"?: number;
1858
+ /** @description The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
1859
+ "target-arrow-color"?: string;
1860
+ /**
1861
+ * @description The shape of the edge's source arrow
1862
+ * @enum {string}
1863
+ */
1864
+ "target-arrow-shape"?:
1865
+ | "triangle"
1866
+ | "triangle-tee"
1867
+ | "circle-triangle"
1868
+ | "triangle-cross"
1869
+ | "triangle-backcurve"
1870
+ | "vee"
1871
+ | "tee"
1872
+ | "square"
1873
+ | "circle"
1874
+ | "diamond"
1875
+ | "chevron"
1876
+ | "none";
1877
+ /**
1878
+ * @description The fill state of the edge's source arrow
1879
+ * @enum {string}
1880
+ */
1881
+ "target-arrow-fill"?: "filled" | "hollow";
1882
+ /** @description The colour of the edge's source arrow. Colours may be specified by name (e.g. red), hex (e.g. */
1883
+ "mid-target-arrow-color"?: string;
1884
+ /**
1885
+ * @description The shape of the edge's source arrow
1886
+ * @enum {string}
1887
+ */
1888
+ "mid-target-arrow-shape"?:
1889
+ | "triangle"
1890
+ | "triangle-tee"
1891
+ | "circle-triangle"
1892
+ | "triangle-cross"
1893
+ | "triangle-backcurve"
1894
+ | "vee"
1895
+ | "tee"
1896
+ | "square"
1897
+ | "circle"
1898
+ | "diamond"
1899
+ | "chevron"
1900
+ | "none";
1901
+ /**
1902
+ * @description The fill state of the edge's source arrow
1903
+ * @enum {string}
1904
+ */
1905
+ "mid-target-arrow-fill"?: "filled" | "hollow";
1906
+ /**
1907
+ * Format: float
1908
+ * @description Scaling for the arrow size.
1909
+ */
1910
+ "arrow-scale"?: number;
1911
+ /** @description The text to display for an edge's source label. Can give a path, e.g. data(id) will label with the elements id */
1912
+ "source-label"?: string;
1913
+ /** @description The text to display for an edge's target label. Can give a path, e.g. data(id) will label with the elements id */
1914
+ "target-label"?: string;
1915
+ };
1916
+ };
1917
+ }
1918
+
1919
+ export interface operations {}
1920
+
1921
+ export interface external {}