@meshery/schemas 1.2.22 → 1.2.23

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