@meshery/schemas 0.8.126 → 0.8.128

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 (133) hide show
  1. package/dist/{Core-Wy_3jcVT.d.mts → Core-vaTzd8cz.d.mts} +4 -2
  2. package/dist/{Core-Wy_3jcVT.d.ts → Core-vaTzd8cz.d.ts} +4 -2
  3. package/dist/cloudApi.d.mts +643 -631
  4. package/dist/cloudApi.d.ts +643 -631
  5. package/dist/cloudApi.js +1 -1
  6. package/dist/cloudApi.mjs +1 -1
  7. package/dist/constructs/v1alpha1/capability/Capability.d.mts +3 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.ts +3 -1
  9. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +14 -4
  10. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +14 -4
  11. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
  13. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  14. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  15. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +14 -5
  16. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +14 -5
  17. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  18. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  19. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.mts +12 -2
  20. package/dist/constructs/v1alpha2/catalog/CatalogSchema.d.ts +12 -2
  21. package/dist/constructs/v1alpha2/catalog/CatalogSchema.js +1 -1
  22. package/dist/constructs/v1alpha2/catalog/CatalogSchema.mjs +1 -1
  23. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +6 -2
  24. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +6 -2
  25. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +16 -6
  26. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +16 -6
  27. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
  28. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
  29. package/dist/constructs/v1beta1/academy/AcademySchema.d.mts +11 -1
  30. package/dist/constructs/v1beta1/academy/AcademySchema.d.ts +11 -1
  31. package/dist/constructs/v1beta1/academy/AcademySchema.js +1 -1
  32. package/dist/constructs/v1beta1/academy/AcademySchema.mjs +1 -1
  33. package/dist/constructs/v1beta1/badge/BadgeSchema.d.mts +11 -2
  34. package/dist/constructs/v1beta1/badge/BadgeSchema.d.ts +11 -2
  35. package/dist/constructs/v1beta1/badge/BadgeSchema.js +1 -1
  36. package/dist/constructs/v1beta1/badge/BadgeSchema.mjs +1 -1
  37. package/dist/constructs/v1beta1/category/CategorySchema.d.mts +12 -2
  38. package/dist/constructs/v1beta1/category/CategorySchema.d.ts +12 -2
  39. package/dist/constructs/v1beta1/category/CategorySchema.js +1 -1
  40. package/dist/constructs/v1beta1/category/CategorySchema.mjs +1 -1
  41. package/dist/constructs/v1beta1/component/Component.d.mts +28 -5
  42. package/dist/constructs/v1beta1/component/Component.d.ts +28 -5
  43. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +46 -21
  44. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +46 -21
  45. package/dist/constructs/v1beta1/component/ComponentSchema.js +2 -2
  46. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +2 -2
  47. package/dist/constructs/v1beta1/connection/Connection.d.mts +96 -6
  48. package/dist/constructs/v1beta1/connection/Connection.d.ts +96 -6
  49. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +166 -76
  50. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +166 -76
  51. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  52. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  53. package/dist/constructs/v1beta1/environment/Environment.d.mts +52 -0
  54. package/dist/constructs/v1beta1/environment/Environment.d.ts +52 -0
  55. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +107 -47
  56. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +107 -47
  57. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  58. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  59. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +148 -32
  60. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +148 -32
  61. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +172 -103
  62. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +172 -103
  63. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +12 -12
  64. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +12 -12
  65. package/dist/constructs/v1beta1/event/EventSchema.d.mts +12 -2
  66. package/dist/constructs/v1beta1/event/EventSchema.d.ts +12 -2
  67. package/dist/constructs/v1beta1/event/EventSchema.js +2 -1
  68. package/dist/constructs/v1beta1/event/EventSchema.mjs +2 -1
  69. package/dist/constructs/v1beta1/feature/FeatureSchema.d.mts +11 -2
  70. package/dist/constructs/v1beta1/feature/FeatureSchema.d.ts +11 -2
  71. package/dist/constructs/v1beta1/feature/FeatureSchema.js +2 -1
  72. package/dist/constructs/v1beta1/feature/FeatureSchema.mjs +2 -1
  73. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.mts +11 -2
  74. package/dist/constructs/v1beta1/invitation/InvitationSchema.d.ts +11 -2
  75. package/dist/constructs/v1beta1/invitation/InvitationSchema.js +2 -1
  76. package/dist/constructs/v1beta1/invitation/InvitationSchema.mjs +2 -1
  77. package/dist/constructs/v1beta1/key/KeySchema.d.mts +12 -2
  78. package/dist/constructs/v1beta1/key/KeySchema.d.ts +12 -2
  79. package/dist/constructs/v1beta1/key/KeySchema.js +2 -1
  80. package/dist/constructs/v1beta1/key/KeySchema.mjs +2 -1
  81. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.mts +12 -2
  82. package/dist/constructs/v1beta1/keychain/KeychainSchema.d.ts +12 -2
  83. package/dist/constructs/v1beta1/keychain/KeychainSchema.js +2 -1
  84. package/dist/constructs/v1beta1/keychain/KeychainSchema.mjs +2 -1
  85. package/dist/constructs/v1beta1/model/Model.d.mts +22 -3
  86. package/dist/constructs/v1beta1/model/Model.d.ts +22 -3
  87. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +42 -17
  88. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +42 -17
  89. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  90. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  91. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.mts +11 -1
  92. package/dist/constructs/v1beta1/organization/OrganizationSchema.d.ts +11 -1
  93. package/dist/constructs/v1beta1/organization/OrganizationSchema.js +2 -1
  94. package/dist/constructs/v1beta1/organization/OrganizationSchema.mjs +2 -1
  95. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +148 -32
  96. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +148 -32
  97. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +172 -102
  98. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +172 -102
  99. package/dist/constructs/v1beta1/pattern/PatternSchema.js +12 -12
  100. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +12 -12
  101. package/dist/constructs/v1beta1/plan/PlanSchema.d.mts +12 -2
  102. package/dist/constructs/v1beta1/plan/PlanSchema.d.ts +12 -2
  103. package/dist/constructs/v1beta1/plan/PlanSchema.js +2 -1
  104. package/dist/constructs/v1beta1/plan/PlanSchema.mjs +2 -1
  105. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.mts +11 -1
  106. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.d.ts +11 -1
  107. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.js +1 -1
  108. package/dist/constructs/v1beta1/subcategory/SubcategorySchema.mjs +1 -1
  109. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.mts +11 -2
  110. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.d.ts +11 -2
  111. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.js +1 -1
  112. package/dist/constructs/v1beta1/subscription/SubscriptionSchema.mjs +1 -1
  113. package/dist/constructs/v1beta1/team/TeamSchema.d.mts +9 -3
  114. package/dist/constructs/v1beta1/team/TeamSchema.d.ts +9 -3
  115. package/dist/constructs/v1beta1/team/TeamSchema.js +1 -1
  116. package/dist/constructs/v1beta1/team/TeamSchema.mjs +1 -1
  117. package/dist/constructs/v1beta1/user/UserSchema.d.mts +12 -2
  118. package/dist/constructs/v1beta1/user/UserSchema.d.ts +12 -2
  119. package/dist/constructs/v1beta1/user/UserSchema.js +2 -1
  120. package/dist/constructs/v1beta1/user/UserSchema.mjs +2 -1
  121. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.mts +9 -3
  122. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.d.ts +9 -3
  123. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.js +1 -1
  124. package/dist/constructs/v1beta1/workspace/WorkspaceSchema.mjs +1 -1
  125. package/dist/index.d.mts +1 -1
  126. package/dist/index.d.ts +1 -1
  127. package/dist/index.js +17 -17
  128. package/dist/index.mjs +17 -17
  129. package/dist/mesheryApi.d.mts +1996 -170
  130. package/dist/mesheryApi.d.ts +1996 -170
  131. package/dist/mesheryApi.js +1 -1
  132. package/dist/mesheryApi.mjs +1 -1
  133. package/package.json +1 -1
@@ -5,9 +5,18 @@
5
5
  declare const EvaluationSchema: {
6
6
  readonly openapi: "3.0.0";
7
7
  readonly info: {
8
- readonly title: "evaluation";
9
- readonly version: "1.0.0";
10
- readonly description: "API for evaluating relationships in Meshery designs";
8
+ readonly title: "Evaluation";
9
+ readonly description: "API for evaluating relationships in Meshery designs.";
10
+ readonly version: "v1beta1";
11
+ readonly contact: {
12
+ readonly name: "Meshery Maintainers";
13
+ readonly email: "maintainers@meshery.io";
14
+ readonly url: "https://meshery.io";
15
+ };
16
+ readonly license: {
17
+ readonly name: "Apache 2.0";
18
+ readonly url: "https://www.apache.org/licenses/LICENSE-2.0.html";
19
+ };
11
20
  };
12
21
  readonly paths: {
13
22
  readonly "/evaluate": {
@@ -54,8 +63,8 @@ declare const EvaluationSchema: {
54
63
  readonly type: "string";
55
64
  readonly minLength: 2;
56
65
  readonly maxLength: 100;
57
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
58
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
66
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
67
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
59
68
  };
60
69
  readonly version: {
61
70
  readonly default: "v0.0.1";
@@ -186,8 +195,8 @@ declare const EvaluationSchema: {
186
195
  readonly type: "string";
187
196
  readonly minLength: 2;
188
197
  readonly maxLength: 100;
189
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
190
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
198
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
199
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
191
200
  };
192
201
  readonly version: {
193
202
  readonly "x-order": 3;
@@ -273,8 +282,8 @@ declare const EvaluationSchema: {
273
282
  readonly type: "string";
274
283
  readonly minLength: 2;
275
284
  readonly maxLength: 100;
276
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
277
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
285
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
286
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
278
287
  };
279
288
  readonly version: {
280
289
  readonly description: "Version of the model definition.";
@@ -509,7 +518,7 @@ declare const EvaluationSchema: {
509
518
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
510
519
  readonly additionalProperties: false;
511
520
  readonly type: "object";
512
- readonly required: readonly ["id", "name", "description", "organization_id"];
521
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
513
522
  readonly properties: {
514
523
  readonly id: {
515
524
  readonly type: "string";
@@ -526,12 +535,27 @@ declare const EvaluationSchema: {
526
535
  readonly yaml: "id";
527
536
  };
528
537
  };
538
+ readonly schemaVersion: {
539
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
540
+ readonly "x-order": 2;
541
+ readonly "x-oapi-codegen-extra-tags": {
542
+ readonly yaml: "schemaVersion";
543
+ readonly db: "-";
544
+ readonly gorm: "-";
545
+ };
546
+ readonly default: "environments.meshery.io/v1beta1";
547
+ readonly type: "string";
548
+ readonly minLength: 2;
549
+ readonly maxLength: 100;
550
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
551
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
552
+ };
529
553
  readonly name: {
530
554
  readonly "x-oapi-codegen-extra-tags": {
531
555
  readonly db: "name";
532
556
  readonly yaml: "name";
533
557
  };
534
- readonly "x-order": 2;
558
+ readonly "x-order": 3;
535
559
  readonly type: "string";
536
560
  readonly description: "Environment name";
537
561
  };
@@ -540,7 +564,7 @@ declare const EvaluationSchema: {
540
564
  readonly db: "description";
541
565
  readonly yaml: "description";
542
566
  };
543
- readonly "x-order": 3;
567
+ readonly "x-order": 4;
544
568
  readonly type: "string";
545
569
  readonly description: "Environment description";
546
570
  };
@@ -557,7 +581,7 @@ declare const EvaluationSchema: {
557
581
  readonly db: "organization_id";
558
582
  readonly yaml: "organization_id";
559
583
  };
560
- readonly "x-order": 4;
584
+ readonly "x-order": 5;
561
585
  };
562
586
  readonly owner: {
563
587
  readonly type: "string";
@@ -571,14 +595,14 @@ declare const EvaluationSchema: {
571
595
  readonly db: "owner";
572
596
  readonly yaml: "owner";
573
597
  };
574
- readonly "x-order": 5;
598
+ readonly "x-order": 6;
575
599
  };
576
600
  readonly created_at: {
577
601
  readonly "x-oapi-codegen-extra-tags": {
578
602
  readonly db: "created_at";
579
603
  readonly yaml: "created_at";
580
604
  };
581
- readonly "x-order": 6;
605
+ readonly "x-order": 7;
582
606
  readonly type: "string";
583
607
  readonly format: "date-time";
584
608
  readonly "x-go-type-skip-optional-pointer": true;
@@ -588,7 +612,7 @@ declare const EvaluationSchema: {
588
612
  readonly db: "metadata";
589
613
  readonly yaml: "metadata";
590
614
  };
591
- readonly "x-order": 7;
615
+ readonly "x-order": 8;
592
616
  readonly "x-go-type": "core.Map";
593
617
  readonly "x-go-type-skip-optional-pointer": true;
594
618
  readonly type: "object";
@@ -598,7 +622,7 @@ declare const EvaluationSchema: {
598
622
  readonly db: "updated_at";
599
623
  readonly yaml: "updated_at";
600
624
  };
601
- readonly "x-order": 8;
625
+ readonly "x-order": 9;
602
626
  readonly type: "string";
603
627
  readonly format: "date-time";
604
628
  readonly "x-go-type-skip-optional-pointer": true;
@@ -610,7 +634,7 @@ declare const EvaluationSchema: {
610
634
  };
611
635
  readonly "x-go-type": "core.NullTime";
612
636
  readonly "x-go-import": "database/sql";
613
- readonly "x-order": 9;
637
+ readonly "x-order": 10;
614
638
  readonly type: "string";
615
639
  readonly format: "date-time";
616
640
  readonly "x-go-type-skip-optional-pointer": true;
@@ -637,8 +661,8 @@ declare const EvaluationSchema: {
637
661
  readonly type: "string";
638
662
  readonly minLength: 2;
639
663
  readonly maxLength: 100;
640
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
641
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
664
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
665
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
642
666
  };
643
667
  };
644
668
  };
@@ -772,8 +796,8 @@ declare const EvaluationSchema: {
772
796
  readonly type: "string";
773
797
  readonly minLength: 2;
774
798
  readonly maxLength: 100;
775
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
776
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
799
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
800
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
777
801
  };
778
802
  readonly version: {
779
803
  readonly description: "Version of the capability definition.";
@@ -1533,8 +1557,8 @@ declare const EvaluationSchema: {
1533
1557
  readonly type: "string";
1534
1558
  readonly minLength: 2;
1535
1559
  readonly maxLength: 100;
1536
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1537
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1560
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1561
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1538
1562
  };
1539
1563
  readonly version: {
1540
1564
  readonly description: "Version of the capability definition.";
@@ -1928,8 +1952,8 @@ declare const EvaluationSchema: {
1928
1952
  readonly type: "string";
1929
1953
  readonly minLength: 2;
1930
1954
  readonly maxLength: 100;
1931
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1932
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1955
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1956
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1933
1957
  };
1934
1958
  readonly version: {
1935
1959
  readonly type: "string";
@@ -2009,8 +2033,8 @@ declare const EvaluationSchema: {
2009
2033
  readonly type: "string";
2010
2034
  readonly minLength: 2;
2011
2035
  readonly maxLength: 100;
2012
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2013
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2036
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2037
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2014
2038
  };
2015
2039
  readonly version: {
2016
2040
  readonly description: "Version of the capability definition.";
@@ -4114,8 +4138,8 @@ declare const EvaluationSchema: {
4114
4138
  readonly type: "string";
4115
4139
  readonly minLength: 2;
4116
4140
  readonly maxLength: 100;
4117
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4118
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4141
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4142
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4119
4143
  };
4120
4144
  readonly version: {
4121
4145
  readonly default: "v0.0.1";
@@ -4246,8 +4270,8 @@ declare const EvaluationSchema: {
4246
4270
  readonly type: "string";
4247
4271
  readonly minLength: 2;
4248
4272
  readonly maxLength: 100;
4249
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4250
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4273
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4274
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4251
4275
  };
4252
4276
  readonly version: {
4253
4277
  readonly "x-order": 3;
@@ -4333,8 +4357,8 @@ declare const EvaluationSchema: {
4333
4357
  readonly type: "string";
4334
4358
  readonly minLength: 2;
4335
4359
  readonly maxLength: 100;
4336
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4337
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4360
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4361
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4338
4362
  };
4339
4363
  readonly version: {
4340
4364
  readonly description: "Version of the model definition.";
@@ -4569,7 +4593,7 @@ declare const EvaluationSchema: {
4569
4593
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
4570
4594
  readonly additionalProperties: false;
4571
4595
  readonly type: "object";
4572
- readonly required: readonly ["id", "name", "description", "organization_id"];
4596
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
4573
4597
  readonly properties: {
4574
4598
  readonly id: {
4575
4599
  readonly type: "string";
@@ -4586,12 +4610,27 @@ declare const EvaluationSchema: {
4586
4610
  readonly yaml: "id";
4587
4611
  };
4588
4612
  };
4613
+ readonly schemaVersion: {
4614
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
4615
+ readonly "x-order": 2;
4616
+ readonly "x-oapi-codegen-extra-tags": {
4617
+ readonly yaml: "schemaVersion";
4618
+ readonly db: "-";
4619
+ readonly gorm: "-";
4620
+ };
4621
+ readonly default: "environments.meshery.io/v1beta1";
4622
+ readonly type: "string";
4623
+ readonly minLength: 2;
4624
+ readonly maxLength: 100;
4625
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4626
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4627
+ };
4589
4628
  readonly name: {
4590
4629
  readonly "x-oapi-codegen-extra-tags": {
4591
4630
  readonly db: "name";
4592
4631
  readonly yaml: "name";
4593
4632
  };
4594
- readonly "x-order": 2;
4633
+ readonly "x-order": 3;
4595
4634
  readonly type: "string";
4596
4635
  readonly description: "Environment name";
4597
4636
  };
@@ -4600,7 +4639,7 @@ declare const EvaluationSchema: {
4600
4639
  readonly db: "description";
4601
4640
  readonly yaml: "description";
4602
4641
  };
4603
- readonly "x-order": 3;
4642
+ readonly "x-order": 4;
4604
4643
  readonly type: "string";
4605
4644
  readonly description: "Environment description";
4606
4645
  };
@@ -4617,7 +4656,7 @@ declare const EvaluationSchema: {
4617
4656
  readonly db: "organization_id";
4618
4657
  readonly yaml: "organization_id";
4619
4658
  };
4620
- readonly "x-order": 4;
4659
+ readonly "x-order": 5;
4621
4660
  };
4622
4661
  readonly owner: {
4623
4662
  readonly type: "string";
@@ -4631,14 +4670,14 @@ declare const EvaluationSchema: {
4631
4670
  readonly db: "owner";
4632
4671
  readonly yaml: "owner";
4633
4672
  };
4634
- readonly "x-order": 5;
4673
+ readonly "x-order": 6;
4635
4674
  };
4636
4675
  readonly created_at: {
4637
4676
  readonly "x-oapi-codegen-extra-tags": {
4638
4677
  readonly db: "created_at";
4639
4678
  readonly yaml: "created_at";
4640
4679
  };
4641
- readonly "x-order": 6;
4680
+ readonly "x-order": 7;
4642
4681
  readonly type: "string";
4643
4682
  readonly format: "date-time";
4644
4683
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4648,7 +4687,7 @@ declare const EvaluationSchema: {
4648
4687
  readonly db: "metadata";
4649
4688
  readonly yaml: "metadata";
4650
4689
  };
4651
- readonly "x-order": 7;
4690
+ readonly "x-order": 8;
4652
4691
  readonly "x-go-type": "core.Map";
4653
4692
  readonly "x-go-type-skip-optional-pointer": true;
4654
4693
  readonly type: "object";
@@ -4658,7 +4697,7 @@ declare const EvaluationSchema: {
4658
4697
  readonly db: "updated_at";
4659
4698
  readonly yaml: "updated_at";
4660
4699
  };
4661
- readonly "x-order": 8;
4700
+ readonly "x-order": 9;
4662
4701
  readonly type: "string";
4663
4702
  readonly format: "date-time";
4664
4703
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4670,7 +4709,7 @@ declare const EvaluationSchema: {
4670
4709
  };
4671
4710
  readonly "x-go-type": "core.NullTime";
4672
4711
  readonly "x-go-import": "database/sql";
4673
- readonly "x-order": 9;
4712
+ readonly "x-order": 10;
4674
4713
  readonly type: "string";
4675
4714
  readonly format: "date-time";
4676
4715
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4697,8 +4736,8 @@ declare const EvaluationSchema: {
4697
4736
  readonly type: "string";
4698
4737
  readonly minLength: 2;
4699
4738
  readonly maxLength: 100;
4700
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4701
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4739
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4740
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4702
4741
  };
4703
4742
  };
4704
4743
  };
@@ -4832,8 +4871,8 @@ declare const EvaluationSchema: {
4832
4871
  readonly type: "string";
4833
4872
  readonly minLength: 2;
4834
4873
  readonly maxLength: 100;
4835
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4836
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4874
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4875
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4837
4876
  };
4838
4877
  readonly version: {
4839
4878
  readonly description: "Version of the capability definition.";
@@ -5593,8 +5632,8 @@ declare const EvaluationSchema: {
5593
5632
  readonly type: "string";
5594
5633
  readonly minLength: 2;
5595
5634
  readonly maxLength: 100;
5596
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
5597
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
5635
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
5636
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
5598
5637
  };
5599
5638
  readonly version: {
5600
5639
  readonly description: "Version of the capability definition.";
@@ -5988,8 +6027,8 @@ declare const EvaluationSchema: {
5988
6027
  readonly type: "string";
5989
6028
  readonly minLength: 2;
5990
6029
  readonly maxLength: 100;
5991
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
5992
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
6030
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6031
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
5993
6032
  };
5994
6033
  readonly version: {
5995
6034
  readonly type: "string";
@@ -6069,8 +6108,8 @@ declare const EvaluationSchema: {
6069
6108
  readonly type: "string";
6070
6109
  readonly minLength: 2;
6071
6110
  readonly maxLength: 100;
6072
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
6073
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
6111
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6112
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
6074
6113
  };
6075
6114
  readonly version: {
6076
6115
  readonly description: "Version of the capability definition.";
@@ -8189,8 +8228,8 @@ declare const EvaluationSchema: {
8189
8228
  readonly type: "string";
8190
8229
  readonly minLength: 2;
8191
8230
  readonly maxLength: 100;
8192
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8193
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8231
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8232
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8194
8233
  };
8195
8234
  readonly version: {
8196
8235
  readonly default: "v0.0.1";
@@ -8321,8 +8360,8 @@ declare const EvaluationSchema: {
8321
8360
  readonly type: "string";
8322
8361
  readonly minLength: 2;
8323
8362
  readonly maxLength: 100;
8324
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8325
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8363
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8364
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8326
8365
  };
8327
8366
  readonly version: {
8328
8367
  readonly "x-order": 3;
@@ -8408,8 +8447,8 @@ declare const EvaluationSchema: {
8408
8447
  readonly type: "string";
8409
8448
  readonly minLength: 2;
8410
8449
  readonly maxLength: 100;
8411
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8412
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8450
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8451
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8413
8452
  };
8414
8453
  readonly version: {
8415
8454
  readonly description: "Version of the model definition.";
@@ -8644,7 +8683,7 @@ declare const EvaluationSchema: {
8644
8683
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
8645
8684
  readonly additionalProperties: false;
8646
8685
  readonly type: "object";
8647
- readonly required: readonly ["id", "name", "description", "organization_id"];
8686
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
8648
8687
  readonly properties: {
8649
8688
  readonly id: {
8650
8689
  readonly type: "string";
@@ -8661,12 +8700,27 @@ declare const EvaluationSchema: {
8661
8700
  readonly yaml: "id";
8662
8701
  };
8663
8702
  };
8703
+ readonly schemaVersion: {
8704
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
8705
+ readonly "x-order": 2;
8706
+ readonly "x-oapi-codegen-extra-tags": {
8707
+ readonly yaml: "schemaVersion";
8708
+ readonly db: "-";
8709
+ readonly gorm: "-";
8710
+ };
8711
+ readonly default: "environments.meshery.io/v1beta1";
8712
+ readonly type: "string";
8713
+ readonly minLength: 2;
8714
+ readonly maxLength: 100;
8715
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8716
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8717
+ };
8664
8718
  readonly name: {
8665
8719
  readonly "x-oapi-codegen-extra-tags": {
8666
8720
  readonly db: "name";
8667
8721
  readonly yaml: "name";
8668
8722
  };
8669
- readonly "x-order": 2;
8723
+ readonly "x-order": 3;
8670
8724
  readonly type: "string";
8671
8725
  readonly description: "Environment name";
8672
8726
  };
@@ -8675,7 +8729,7 @@ declare const EvaluationSchema: {
8675
8729
  readonly db: "description";
8676
8730
  readonly yaml: "description";
8677
8731
  };
8678
- readonly "x-order": 3;
8732
+ readonly "x-order": 4;
8679
8733
  readonly type: "string";
8680
8734
  readonly description: "Environment description";
8681
8735
  };
@@ -8692,7 +8746,7 @@ declare const EvaluationSchema: {
8692
8746
  readonly db: "organization_id";
8693
8747
  readonly yaml: "organization_id";
8694
8748
  };
8695
- readonly "x-order": 4;
8749
+ readonly "x-order": 5;
8696
8750
  };
8697
8751
  readonly owner: {
8698
8752
  readonly type: "string";
@@ -8706,14 +8760,14 @@ declare const EvaluationSchema: {
8706
8760
  readonly db: "owner";
8707
8761
  readonly yaml: "owner";
8708
8762
  };
8709
- readonly "x-order": 5;
8763
+ readonly "x-order": 6;
8710
8764
  };
8711
8765
  readonly created_at: {
8712
8766
  readonly "x-oapi-codegen-extra-tags": {
8713
8767
  readonly db: "created_at";
8714
8768
  readonly yaml: "created_at";
8715
8769
  };
8716
- readonly "x-order": 6;
8770
+ readonly "x-order": 7;
8717
8771
  readonly type: "string";
8718
8772
  readonly format: "date-time";
8719
8773
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8723,7 +8777,7 @@ declare const EvaluationSchema: {
8723
8777
  readonly db: "metadata";
8724
8778
  readonly yaml: "metadata";
8725
8779
  };
8726
- readonly "x-order": 7;
8780
+ readonly "x-order": 8;
8727
8781
  readonly "x-go-type": "core.Map";
8728
8782
  readonly "x-go-type-skip-optional-pointer": true;
8729
8783
  readonly type: "object";
@@ -8733,7 +8787,7 @@ declare const EvaluationSchema: {
8733
8787
  readonly db: "updated_at";
8734
8788
  readonly yaml: "updated_at";
8735
8789
  };
8736
- readonly "x-order": 8;
8790
+ readonly "x-order": 9;
8737
8791
  readonly type: "string";
8738
8792
  readonly format: "date-time";
8739
8793
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8745,7 +8799,7 @@ declare const EvaluationSchema: {
8745
8799
  };
8746
8800
  readonly "x-go-type": "core.NullTime";
8747
8801
  readonly "x-go-import": "database/sql";
8748
- readonly "x-order": 9;
8802
+ readonly "x-order": 10;
8749
8803
  readonly type: "string";
8750
8804
  readonly format: "date-time";
8751
8805
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8772,8 +8826,8 @@ declare const EvaluationSchema: {
8772
8826
  readonly type: "string";
8773
8827
  readonly minLength: 2;
8774
8828
  readonly maxLength: 100;
8775
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8776
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8829
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8830
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8777
8831
  };
8778
8832
  };
8779
8833
  };
@@ -8907,8 +8961,8 @@ declare const EvaluationSchema: {
8907
8961
  readonly type: "string";
8908
8962
  readonly minLength: 2;
8909
8963
  readonly maxLength: 100;
8910
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8911
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8964
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8965
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8912
8966
  };
8913
8967
  readonly version: {
8914
8968
  readonly description: "Version of the capability definition.";
@@ -9668,8 +9722,8 @@ declare const EvaluationSchema: {
9668
9722
  readonly type: "string";
9669
9723
  readonly minLength: 2;
9670
9724
  readonly maxLength: 100;
9671
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
9672
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
9725
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9726
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
9673
9727
  };
9674
9728
  readonly version: {
9675
9729
  readonly description: "Version of the capability definition.";
@@ -10063,8 +10117,8 @@ declare const EvaluationSchema: {
10063
10117
  readonly type: "string";
10064
10118
  readonly minLength: 2;
10065
10119
  readonly maxLength: 100;
10066
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
10067
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
10120
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10121
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10068
10122
  };
10069
10123
  readonly version: {
10070
10124
  readonly type: "string";
@@ -10144,8 +10198,8 @@ declare const EvaluationSchema: {
10144
10198
  readonly type: "string";
10145
10199
  readonly minLength: 2;
10146
10200
  readonly maxLength: 100;
10147
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
10148
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
10201
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10202
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10149
10203
  };
10150
10204
  readonly version: {
10151
10205
  readonly description: "Version of the capability definition.";
@@ -12241,8 +12295,8 @@ declare const EvaluationSchema: {
12241
12295
  readonly type: "string";
12242
12296
  readonly minLength: 2;
12243
12297
  readonly maxLength: 100;
12244
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12245
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12298
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12299
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12246
12300
  };
12247
12301
  readonly version: {
12248
12302
  readonly default: "v0.0.1";
@@ -12373,8 +12427,8 @@ declare const EvaluationSchema: {
12373
12427
  readonly type: "string";
12374
12428
  readonly minLength: 2;
12375
12429
  readonly maxLength: 100;
12376
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12377
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12430
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12431
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12378
12432
  };
12379
12433
  readonly version: {
12380
12434
  readonly "x-order": 3;
@@ -12460,8 +12514,8 @@ declare const EvaluationSchema: {
12460
12514
  readonly type: "string";
12461
12515
  readonly minLength: 2;
12462
12516
  readonly maxLength: 100;
12463
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12464
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12517
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12518
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12465
12519
  };
12466
12520
  readonly version: {
12467
12521
  readonly description: "Version of the model definition.";
@@ -12696,7 +12750,7 @@ declare const EvaluationSchema: {
12696
12750
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
12697
12751
  readonly additionalProperties: false;
12698
12752
  readonly type: "object";
12699
- readonly required: readonly ["id", "name", "description", "organization_id"];
12753
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
12700
12754
  readonly properties: {
12701
12755
  readonly id: {
12702
12756
  readonly type: "string";
@@ -12713,12 +12767,27 @@ declare const EvaluationSchema: {
12713
12767
  readonly yaml: "id";
12714
12768
  };
12715
12769
  };
12770
+ readonly schemaVersion: {
12771
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
12772
+ readonly "x-order": 2;
12773
+ readonly "x-oapi-codegen-extra-tags": {
12774
+ readonly yaml: "schemaVersion";
12775
+ readonly db: "-";
12776
+ readonly gorm: "-";
12777
+ };
12778
+ readonly default: "environments.meshery.io/v1beta1";
12779
+ readonly type: "string";
12780
+ readonly minLength: 2;
12781
+ readonly maxLength: 100;
12782
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12783
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12784
+ };
12716
12785
  readonly name: {
12717
12786
  readonly "x-oapi-codegen-extra-tags": {
12718
12787
  readonly db: "name";
12719
12788
  readonly yaml: "name";
12720
12789
  };
12721
- readonly "x-order": 2;
12790
+ readonly "x-order": 3;
12722
12791
  readonly type: "string";
12723
12792
  readonly description: "Environment name";
12724
12793
  };
@@ -12727,7 +12796,7 @@ declare const EvaluationSchema: {
12727
12796
  readonly db: "description";
12728
12797
  readonly yaml: "description";
12729
12798
  };
12730
- readonly "x-order": 3;
12799
+ readonly "x-order": 4;
12731
12800
  readonly type: "string";
12732
12801
  readonly description: "Environment description";
12733
12802
  };
@@ -12744,7 +12813,7 @@ declare const EvaluationSchema: {
12744
12813
  readonly db: "organization_id";
12745
12814
  readonly yaml: "organization_id";
12746
12815
  };
12747
- readonly "x-order": 4;
12816
+ readonly "x-order": 5;
12748
12817
  };
12749
12818
  readonly owner: {
12750
12819
  readonly type: "string";
@@ -12758,14 +12827,14 @@ declare const EvaluationSchema: {
12758
12827
  readonly db: "owner";
12759
12828
  readonly yaml: "owner";
12760
12829
  };
12761
- readonly "x-order": 5;
12830
+ readonly "x-order": 6;
12762
12831
  };
12763
12832
  readonly created_at: {
12764
12833
  readonly "x-oapi-codegen-extra-tags": {
12765
12834
  readonly db: "created_at";
12766
12835
  readonly yaml: "created_at";
12767
12836
  };
12768
- readonly "x-order": 6;
12837
+ readonly "x-order": 7;
12769
12838
  readonly type: "string";
12770
12839
  readonly format: "date-time";
12771
12840
  readonly "x-go-type-skip-optional-pointer": true;
@@ -12775,7 +12844,7 @@ declare const EvaluationSchema: {
12775
12844
  readonly db: "metadata";
12776
12845
  readonly yaml: "metadata";
12777
12846
  };
12778
- readonly "x-order": 7;
12847
+ readonly "x-order": 8;
12779
12848
  readonly "x-go-type": "core.Map";
12780
12849
  readonly "x-go-type-skip-optional-pointer": true;
12781
12850
  readonly type: "object";
@@ -12785,7 +12854,7 @@ declare const EvaluationSchema: {
12785
12854
  readonly db: "updated_at";
12786
12855
  readonly yaml: "updated_at";
12787
12856
  };
12788
- readonly "x-order": 8;
12857
+ readonly "x-order": 9;
12789
12858
  readonly type: "string";
12790
12859
  readonly format: "date-time";
12791
12860
  readonly "x-go-type-skip-optional-pointer": true;
@@ -12797,7 +12866,7 @@ declare const EvaluationSchema: {
12797
12866
  };
12798
12867
  readonly "x-go-type": "core.NullTime";
12799
12868
  readonly "x-go-import": "database/sql";
12800
- readonly "x-order": 9;
12869
+ readonly "x-order": 10;
12801
12870
  readonly type: "string";
12802
12871
  readonly format: "date-time";
12803
12872
  readonly "x-go-type-skip-optional-pointer": true;
@@ -12824,8 +12893,8 @@ declare const EvaluationSchema: {
12824
12893
  readonly type: "string";
12825
12894
  readonly minLength: 2;
12826
12895
  readonly maxLength: 100;
12827
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12828
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12896
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12897
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12829
12898
  };
12830
12899
  };
12831
12900
  };
@@ -12959,8 +13028,8 @@ declare const EvaluationSchema: {
12959
13028
  readonly type: "string";
12960
13029
  readonly minLength: 2;
12961
13030
  readonly maxLength: 100;
12962
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12963
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
13031
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13032
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12964
13033
  };
12965
13034
  readonly version: {
12966
13035
  readonly description: "Version of the capability definition.";
@@ -13720,8 +13789,8 @@ declare const EvaluationSchema: {
13720
13789
  readonly type: "string";
13721
13790
  readonly minLength: 2;
13722
13791
  readonly maxLength: 100;
13723
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
13724
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
13792
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13793
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13725
13794
  };
13726
13795
  readonly version: {
13727
13796
  readonly description: "Version of the capability definition.";
@@ -14115,8 +14184,8 @@ declare const EvaluationSchema: {
14115
14184
  readonly type: "string";
14116
14185
  readonly minLength: 2;
14117
14186
  readonly maxLength: 100;
14118
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14119
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14187
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14188
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14120
14189
  };
14121
14190
  readonly version: {
14122
14191
  readonly type: "string";
@@ -14196,8 +14265,8 @@ declare const EvaluationSchema: {
14196
14265
  readonly type: "string";
14197
14266
  readonly minLength: 2;
14198
14267
  readonly maxLength: 100;
14199
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14200
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14268
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14269
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14201
14270
  };
14202
14271
  readonly version: {
14203
14272
  readonly description: "Version of the capability definition.";