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