@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,8 +5,18 @@
5
5
  declare const PatternSchema: {
6
6
  readonly openapi: "3.0.0";
7
7
  readonly info: {
8
- readonly title: "design";
9
- readonly version: "1.0.0";
8
+ readonly title: "Design";
9
+ readonly description: "OpenAPI schema for managing Meshery designs and infrastructure patterns.";
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
+ };
10
20
  };
11
21
  readonly paths: {
12
22
  readonly "/api/pattern/import": {
@@ -119,8 +129,8 @@ declare const PatternSchema: {
119
129
  readonly type: "string";
120
130
  readonly minLength: 2;
121
131
  readonly maxLength: 100;
122
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
123
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
132
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
133
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
124
134
  };
125
135
  readonly version: {
126
136
  readonly default: "v0.0.1";
@@ -251,8 +261,8 @@ declare const PatternSchema: {
251
261
  readonly type: "string";
252
262
  readonly minLength: 2;
253
263
  readonly maxLength: 100;
254
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
255
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
264
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
265
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
256
266
  };
257
267
  readonly version: {
258
268
  readonly "x-order": 3;
@@ -338,8 +348,8 @@ declare const PatternSchema: {
338
348
  readonly type: "string";
339
349
  readonly minLength: 2;
340
350
  readonly maxLength: 100;
341
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
342
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
351
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
352
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
343
353
  };
344
354
  readonly version: {
345
355
  readonly description: "Version of the model definition.";
@@ -574,7 +584,7 @@ declare const PatternSchema: {
574
584
  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";
575
585
  readonly additionalProperties: false;
576
586
  readonly type: "object";
577
- readonly required: readonly ["id", "name", "description", "organization_id"];
587
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
578
588
  readonly properties: {
579
589
  readonly id: {
580
590
  readonly type: "string";
@@ -591,12 +601,27 @@ declare const PatternSchema: {
591
601
  readonly yaml: "id";
592
602
  };
593
603
  };
604
+ readonly schemaVersion: {
605
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
606
+ readonly "x-order": 2;
607
+ readonly "x-oapi-codegen-extra-tags": {
608
+ readonly yaml: "schemaVersion";
609
+ readonly db: "-";
610
+ readonly gorm: "-";
611
+ };
612
+ readonly default: "environments.meshery.io/v1beta1";
613
+ readonly type: "string";
614
+ readonly minLength: 2;
615
+ readonly maxLength: 100;
616
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
617
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
618
+ };
594
619
  readonly name: {
595
620
  readonly "x-oapi-codegen-extra-tags": {
596
621
  readonly db: "name";
597
622
  readonly yaml: "name";
598
623
  };
599
- readonly "x-order": 2;
624
+ readonly "x-order": 3;
600
625
  readonly type: "string";
601
626
  readonly description: "Environment name";
602
627
  };
@@ -605,7 +630,7 @@ declare const PatternSchema: {
605
630
  readonly db: "description";
606
631
  readonly yaml: "description";
607
632
  };
608
- readonly "x-order": 3;
633
+ readonly "x-order": 4;
609
634
  readonly type: "string";
610
635
  readonly description: "Environment description";
611
636
  };
@@ -622,7 +647,7 @@ declare const PatternSchema: {
622
647
  readonly db: "organization_id";
623
648
  readonly yaml: "organization_id";
624
649
  };
625
- readonly "x-order": 4;
650
+ readonly "x-order": 5;
626
651
  };
627
652
  readonly owner: {
628
653
  readonly type: "string";
@@ -636,14 +661,14 @@ declare const PatternSchema: {
636
661
  readonly db: "owner";
637
662
  readonly yaml: "owner";
638
663
  };
639
- readonly "x-order": 5;
664
+ readonly "x-order": 6;
640
665
  };
641
666
  readonly created_at: {
642
667
  readonly "x-oapi-codegen-extra-tags": {
643
668
  readonly db: "created_at";
644
669
  readonly yaml: "created_at";
645
670
  };
646
- readonly "x-order": 6;
671
+ readonly "x-order": 7;
647
672
  readonly type: "string";
648
673
  readonly format: "date-time";
649
674
  readonly "x-go-type-skip-optional-pointer": true;
@@ -653,7 +678,7 @@ declare const PatternSchema: {
653
678
  readonly db: "metadata";
654
679
  readonly yaml: "metadata";
655
680
  };
656
- readonly "x-order": 7;
681
+ readonly "x-order": 8;
657
682
  readonly "x-go-type": "core.Map";
658
683
  readonly "x-go-type-skip-optional-pointer": true;
659
684
  readonly type: "object";
@@ -663,7 +688,7 @@ declare const PatternSchema: {
663
688
  readonly db: "updated_at";
664
689
  readonly yaml: "updated_at";
665
690
  };
666
- readonly "x-order": 8;
691
+ readonly "x-order": 9;
667
692
  readonly type: "string";
668
693
  readonly format: "date-time";
669
694
  readonly "x-go-type-skip-optional-pointer": true;
@@ -675,7 +700,7 @@ declare const PatternSchema: {
675
700
  };
676
701
  readonly "x-go-type": "core.NullTime";
677
702
  readonly "x-go-import": "database/sql";
678
- readonly "x-order": 9;
703
+ readonly "x-order": 10;
679
704
  readonly type: "string";
680
705
  readonly format: "date-time";
681
706
  readonly "x-go-type-skip-optional-pointer": true;
@@ -702,8 +727,8 @@ declare const PatternSchema: {
702
727
  readonly type: "string";
703
728
  readonly minLength: 2;
704
729
  readonly maxLength: 100;
705
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
706
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
730
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
731
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
707
732
  };
708
733
  };
709
734
  };
@@ -837,8 +862,8 @@ declare const PatternSchema: {
837
862
  readonly type: "string";
838
863
  readonly minLength: 2;
839
864
  readonly maxLength: 100;
840
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
841
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
865
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
866
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
842
867
  };
843
868
  readonly version: {
844
869
  readonly description: "Version of the capability definition.";
@@ -1598,8 +1623,8 @@ declare const PatternSchema: {
1598
1623
  readonly type: "string";
1599
1624
  readonly minLength: 2;
1600
1625
  readonly maxLength: 100;
1601
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1602
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1626
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1627
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1603
1628
  };
1604
1629
  readonly version: {
1605
1630
  readonly description: "Version of the capability definition.";
@@ -1993,8 +2018,8 @@ declare const PatternSchema: {
1993
2018
  readonly type: "string";
1994
2019
  readonly minLength: 2;
1995
2020
  readonly maxLength: 100;
1996
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1997
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2021
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2022
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1998
2023
  };
1999
2024
  readonly version: {
2000
2025
  readonly type: "string";
@@ -2074,8 +2099,8 @@ declare const PatternSchema: {
2074
2099
  readonly type: "string";
2075
2100
  readonly minLength: 2;
2076
2101
  readonly maxLength: 100;
2077
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2078
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2102
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2103
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2079
2104
  };
2080
2105
  readonly version: {
2081
2106
  readonly description: "Version of the capability definition.";
@@ -4238,8 +4263,8 @@ declare const PatternSchema: {
4238
4263
  readonly type: "string";
4239
4264
  readonly minLength: 2;
4240
4265
  readonly maxLength: 100;
4241
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4242
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4266
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4267
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4243
4268
  };
4244
4269
  readonly version: {
4245
4270
  readonly default: "v0.0.1";
@@ -4370,8 +4395,8 @@ declare const PatternSchema: {
4370
4395
  readonly type: "string";
4371
4396
  readonly minLength: 2;
4372
4397
  readonly maxLength: 100;
4373
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4374
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4398
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4399
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4375
4400
  };
4376
4401
  readonly version: {
4377
4402
  readonly "x-order": 3;
@@ -4457,8 +4482,8 @@ declare const PatternSchema: {
4457
4482
  readonly type: "string";
4458
4483
  readonly minLength: 2;
4459
4484
  readonly maxLength: 100;
4460
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4461
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4485
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4486
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4462
4487
  };
4463
4488
  readonly version: {
4464
4489
  readonly description: "Version of the model definition.";
@@ -4693,7 +4718,7 @@ declare const PatternSchema: {
4693
4718
  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";
4694
4719
  readonly additionalProperties: false;
4695
4720
  readonly type: "object";
4696
- readonly required: readonly ["id", "name", "description", "organization_id"];
4721
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
4697
4722
  readonly properties: {
4698
4723
  readonly id: {
4699
4724
  readonly type: "string";
@@ -4710,12 +4735,27 @@ declare const PatternSchema: {
4710
4735
  readonly yaml: "id";
4711
4736
  };
4712
4737
  };
4738
+ readonly schemaVersion: {
4739
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
4740
+ readonly "x-order": 2;
4741
+ readonly "x-oapi-codegen-extra-tags": {
4742
+ readonly yaml: "schemaVersion";
4743
+ readonly db: "-";
4744
+ readonly gorm: "-";
4745
+ };
4746
+ readonly default: "environments.meshery.io/v1beta1";
4747
+ readonly type: "string";
4748
+ readonly minLength: 2;
4749
+ readonly maxLength: 100;
4750
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4751
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4752
+ };
4713
4753
  readonly name: {
4714
4754
  readonly "x-oapi-codegen-extra-tags": {
4715
4755
  readonly db: "name";
4716
4756
  readonly yaml: "name";
4717
4757
  };
4718
- readonly "x-order": 2;
4758
+ readonly "x-order": 3;
4719
4759
  readonly type: "string";
4720
4760
  readonly description: "Environment name";
4721
4761
  };
@@ -4724,7 +4764,7 @@ declare const PatternSchema: {
4724
4764
  readonly db: "description";
4725
4765
  readonly yaml: "description";
4726
4766
  };
4727
- readonly "x-order": 3;
4767
+ readonly "x-order": 4;
4728
4768
  readonly type: "string";
4729
4769
  readonly description: "Environment description";
4730
4770
  };
@@ -4741,7 +4781,7 @@ declare const PatternSchema: {
4741
4781
  readonly db: "organization_id";
4742
4782
  readonly yaml: "organization_id";
4743
4783
  };
4744
- readonly "x-order": 4;
4784
+ readonly "x-order": 5;
4745
4785
  };
4746
4786
  readonly owner: {
4747
4787
  readonly type: "string";
@@ -4755,14 +4795,14 @@ declare const PatternSchema: {
4755
4795
  readonly db: "owner";
4756
4796
  readonly yaml: "owner";
4757
4797
  };
4758
- readonly "x-order": 5;
4798
+ readonly "x-order": 6;
4759
4799
  };
4760
4800
  readonly created_at: {
4761
4801
  readonly "x-oapi-codegen-extra-tags": {
4762
4802
  readonly db: "created_at";
4763
4803
  readonly yaml: "created_at";
4764
4804
  };
4765
- readonly "x-order": 6;
4805
+ readonly "x-order": 7;
4766
4806
  readonly type: "string";
4767
4807
  readonly format: "date-time";
4768
4808
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4772,7 +4812,7 @@ declare const PatternSchema: {
4772
4812
  readonly db: "metadata";
4773
4813
  readonly yaml: "metadata";
4774
4814
  };
4775
- readonly "x-order": 7;
4815
+ readonly "x-order": 8;
4776
4816
  readonly "x-go-type": "core.Map";
4777
4817
  readonly "x-go-type-skip-optional-pointer": true;
4778
4818
  readonly type: "object";
@@ -4782,7 +4822,7 @@ declare const PatternSchema: {
4782
4822
  readonly db: "updated_at";
4783
4823
  readonly yaml: "updated_at";
4784
4824
  };
4785
- readonly "x-order": 8;
4825
+ readonly "x-order": 9;
4786
4826
  readonly type: "string";
4787
4827
  readonly format: "date-time";
4788
4828
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4794,7 +4834,7 @@ declare const PatternSchema: {
4794
4834
  };
4795
4835
  readonly "x-go-type": "core.NullTime";
4796
4836
  readonly "x-go-import": "database/sql";
4797
- readonly "x-order": 9;
4837
+ readonly "x-order": 10;
4798
4838
  readonly type: "string";
4799
4839
  readonly format: "date-time";
4800
4840
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4821,8 +4861,8 @@ declare const PatternSchema: {
4821
4861
  readonly type: "string";
4822
4862
  readonly minLength: 2;
4823
4863
  readonly maxLength: 100;
4824
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4825
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4864
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4865
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4826
4866
  };
4827
4867
  };
4828
4868
  };
@@ -4956,8 +4996,8 @@ declare const PatternSchema: {
4956
4996
  readonly type: "string";
4957
4997
  readonly minLength: 2;
4958
4998
  readonly maxLength: 100;
4959
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4960
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4999
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
5000
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4961
5001
  };
4962
5002
  readonly version: {
4963
5003
  readonly description: "Version of the capability definition.";
@@ -5717,8 +5757,8 @@ declare const PatternSchema: {
5717
5757
  readonly type: "string";
5718
5758
  readonly minLength: 2;
5719
5759
  readonly maxLength: 100;
5720
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
5721
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
5760
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
5761
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
5722
5762
  };
5723
5763
  readonly version: {
5724
5764
  readonly description: "Version of the capability definition.";
@@ -6112,8 +6152,8 @@ declare const PatternSchema: {
6112
6152
  readonly type: "string";
6113
6153
  readonly minLength: 2;
6114
6154
  readonly maxLength: 100;
6115
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
6116
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
6155
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6156
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
6117
6157
  };
6118
6158
  readonly version: {
6119
6159
  readonly type: "string";
@@ -6193,8 +6233,8 @@ declare const PatternSchema: {
6193
6233
  readonly type: "string";
6194
6234
  readonly minLength: 2;
6195
6235
  readonly maxLength: 100;
6196
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
6197
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
6236
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6237
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
6198
6238
  };
6199
6239
  readonly version: {
6200
6240
  readonly description: "Version of the capability definition.";
@@ -8389,8 +8429,8 @@ declare const PatternSchema: {
8389
8429
  readonly type: "string";
8390
8430
  readonly minLength: 2;
8391
8431
  readonly maxLength: 100;
8392
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8393
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8432
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8433
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8394
8434
  };
8395
8435
  readonly version: {
8396
8436
  readonly default: "v0.0.1";
@@ -8521,8 +8561,8 @@ declare const PatternSchema: {
8521
8561
  readonly type: "string";
8522
8562
  readonly minLength: 2;
8523
8563
  readonly maxLength: 100;
8524
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8525
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8564
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8565
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8526
8566
  };
8527
8567
  readonly version: {
8528
8568
  readonly "x-order": 3;
@@ -8608,8 +8648,8 @@ declare const PatternSchema: {
8608
8648
  readonly type: "string";
8609
8649
  readonly minLength: 2;
8610
8650
  readonly maxLength: 100;
8611
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8612
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8651
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8652
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8613
8653
  };
8614
8654
  readonly version: {
8615
8655
  readonly description: "Version of the model definition.";
@@ -8844,7 +8884,7 @@ declare const PatternSchema: {
8844
8884
  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";
8845
8885
  readonly additionalProperties: false;
8846
8886
  readonly type: "object";
8847
- readonly required: readonly ["id", "name", "description", "organization_id"];
8887
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
8848
8888
  readonly properties: {
8849
8889
  readonly id: {
8850
8890
  readonly type: "string";
@@ -8861,12 +8901,27 @@ declare const PatternSchema: {
8861
8901
  readonly yaml: "id";
8862
8902
  };
8863
8903
  };
8904
+ readonly schemaVersion: {
8905
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
8906
+ readonly "x-order": 2;
8907
+ readonly "x-oapi-codegen-extra-tags": {
8908
+ readonly yaml: "schemaVersion";
8909
+ readonly db: "-";
8910
+ readonly gorm: "-";
8911
+ };
8912
+ readonly default: "environments.meshery.io/v1beta1";
8913
+ readonly type: "string";
8914
+ readonly minLength: 2;
8915
+ readonly maxLength: 100;
8916
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8917
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8918
+ };
8864
8919
  readonly name: {
8865
8920
  readonly "x-oapi-codegen-extra-tags": {
8866
8921
  readonly db: "name";
8867
8922
  readonly yaml: "name";
8868
8923
  };
8869
- readonly "x-order": 2;
8924
+ readonly "x-order": 3;
8870
8925
  readonly type: "string";
8871
8926
  readonly description: "Environment name";
8872
8927
  };
@@ -8875,7 +8930,7 @@ declare const PatternSchema: {
8875
8930
  readonly db: "description";
8876
8931
  readonly yaml: "description";
8877
8932
  };
8878
- readonly "x-order": 3;
8933
+ readonly "x-order": 4;
8879
8934
  readonly type: "string";
8880
8935
  readonly description: "Environment description";
8881
8936
  };
@@ -8892,7 +8947,7 @@ declare const PatternSchema: {
8892
8947
  readonly db: "organization_id";
8893
8948
  readonly yaml: "organization_id";
8894
8949
  };
8895
- readonly "x-order": 4;
8950
+ readonly "x-order": 5;
8896
8951
  };
8897
8952
  readonly owner: {
8898
8953
  readonly type: "string";
@@ -8906,14 +8961,14 @@ declare const PatternSchema: {
8906
8961
  readonly db: "owner";
8907
8962
  readonly yaml: "owner";
8908
8963
  };
8909
- readonly "x-order": 5;
8964
+ readonly "x-order": 6;
8910
8965
  };
8911
8966
  readonly created_at: {
8912
8967
  readonly "x-oapi-codegen-extra-tags": {
8913
8968
  readonly db: "created_at";
8914
8969
  readonly yaml: "created_at";
8915
8970
  };
8916
- readonly "x-order": 6;
8971
+ readonly "x-order": 7;
8917
8972
  readonly type: "string";
8918
8973
  readonly format: "date-time";
8919
8974
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8923,7 +8978,7 @@ declare const PatternSchema: {
8923
8978
  readonly db: "metadata";
8924
8979
  readonly yaml: "metadata";
8925
8980
  };
8926
- readonly "x-order": 7;
8981
+ readonly "x-order": 8;
8927
8982
  readonly "x-go-type": "core.Map";
8928
8983
  readonly "x-go-type-skip-optional-pointer": true;
8929
8984
  readonly type: "object";
@@ -8933,7 +8988,7 @@ declare const PatternSchema: {
8933
8988
  readonly db: "updated_at";
8934
8989
  readonly yaml: "updated_at";
8935
8990
  };
8936
- readonly "x-order": 8;
8991
+ readonly "x-order": 9;
8937
8992
  readonly type: "string";
8938
8993
  readonly format: "date-time";
8939
8994
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8945,7 +9000,7 @@ declare const PatternSchema: {
8945
9000
  };
8946
9001
  readonly "x-go-type": "core.NullTime";
8947
9002
  readonly "x-go-import": "database/sql";
8948
- readonly "x-order": 9;
9003
+ readonly "x-order": 10;
8949
9004
  readonly type: "string";
8950
9005
  readonly format: "date-time";
8951
9006
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8972,8 +9027,8 @@ declare const PatternSchema: {
8972
9027
  readonly type: "string";
8973
9028
  readonly minLength: 2;
8974
9029
  readonly maxLength: 100;
8975
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8976
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
9030
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9031
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8977
9032
  };
8978
9033
  };
8979
9034
  };
@@ -9107,8 +9162,8 @@ declare const PatternSchema: {
9107
9162
  readonly type: "string";
9108
9163
  readonly minLength: 2;
9109
9164
  readonly maxLength: 100;
9110
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
9111
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
9165
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9166
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
9112
9167
  };
9113
9168
  readonly version: {
9114
9169
  readonly description: "Version of the capability definition.";
@@ -9868,8 +9923,8 @@ declare const PatternSchema: {
9868
9923
  readonly type: "string";
9869
9924
  readonly minLength: 2;
9870
9925
  readonly maxLength: 100;
9871
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
9872
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
9926
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9927
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
9873
9928
  };
9874
9929
  readonly version: {
9875
9930
  readonly description: "Version of the capability definition.";
@@ -10263,8 +10318,8 @@ declare const PatternSchema: {
10263
10318
  readonly type: "string";
10264
10319
  readonly minLength: 2;
10265
10320
  readonly maxLength: 100;
10266
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
10267
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
10321
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10322
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10268
10323
  };
10269
10324
  readonly version: {
10270
10325
  readonly type: "string";
@@ -10344,8 +10399,8 @@ declare const PatternSchema: {
10344
10399
  readonly type: "string";
10345
10400
  readonly minLength: 2;
10346
10401
  readonly maxLength: 100;
10347
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
10348
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
10402
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10403
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10349
10404
  };
10350
10405
  readonly version: {
10351
10406
  readonly description: "Version of the capability definition.";
@@ -12572,8 +12627,8 @@ declare const PatternSchema: {
12572
12627
  readonly type: "string";
12573
12628
  readonly minLength: 2;
12574
12629
  readonly maxLength: 100;
12575
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12576
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12630
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12631
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12577
12632
  };
12578
12633
  readonly version: {
12579
12634
  readonly default: "v0.0.1";
@@ -12704,8 +12759,8 @@ declare const PatternSchema: {
12704
12759
  readonly type: "string";
12705
12760
  readonly minLength: 2;
12706
12761
  readonly maxLength: 100;
12707
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12708
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12762
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12763
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12709
12764
  };
12710
12765
  readonly version: {
12711
12766
  readonly "x-order": 3;
@@ -12791,8 +12846,8 @@ declare const PatternSchema: {
12791
12846
  readonly type: "string";
12792
12847
  readonly minLength: 2;
12793
12848
  readonly maxLength: 100;
12794
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12795
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12849
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12850
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12796
12851
  };
12797
12852
  readonly version: {
12798
12853
  readonly description: "Version of the model definition.";
@@ -13027,7 +13082,7 @@ declare const PatternSchema: {
13027
13082
  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";
13028
13083
  readonly additionalProperties: false;
13029
13084
  readonly type: "object";
13030
- readonly required: readonly ["id", "name", "description", "organization_id"];
13085
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
13031
13086
  readonly properties: {
13032
13087
  readonly id: {
13033
13088
  readonly type: "string";
@@ -13044,12 +13099,27 @@ declare const PatternSchema: {
13044
13099
  readonly yaml: "id";
13045
13100
  };
13046
13101
  };
13102
+ readonly schemaVersion: {
13103
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
13104
+ readonly "x-order": 2;
13105
+ readonly "x-oapi-codegen-extra-tags": {
13106
+ readonly yaml: "schemaVersion";
13107
+ readonly db: "-";
13108
+ readonly gorm: "-";
13109
+ };
13110
+ readonly default: "environments.meshery.io/v1beta1";
13111
+ readonly type: "string";
13112
+ readonly minLength: 2;
13113
+ readonly maxLength: 100;
13114
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13115
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13116
+ };
13047
13117
  readonly name: {
13048
13118
  readonly "x-oapi-codegen-extra-tags": {
13049
13119
  readonly db: "name";
13050
13120
  readonly yaml: "name";
13051
13121
  };
13052
- readonly "x-order": 2;
13122
+ readonly "x-order": 3;
13053
13123
  readonly type: "string";
13054
13124
  readonly description: "Environment name";
13055
13125
  };
@@ -13058,7 +13128,7 @@ declare const PatternSchema: {
13058
13128
  readonly db: "description";
13059
13129
  readonly yaml: "description";
13060
13130
  };
13061
- readonly "x-order": 3;
13131
+ readonly "x-order": 4;
13062
13132
  readonly type: "string";
13063
13133
  readonly description: "Environment description";
13064
13134
  };
@@ -13075,7 +13145,7 @@ declare const PatternSchema: {
13075
13145
  readonly db: "organization_id";
13076
13146
  readonly yaml: "organization_id";
13077
13147
  };
13078
- readonly "x-order": 4;
13148
+ readonly "x-order": 5;
13079
13149
  };
13080
13150
  readonly owner: {
13081
13151
  readonly type: "string";
@@ -13089,14 +13159,14 @@ declare const PatternSchema: {
13089
13159
  readonly db: "owner";
13090
13160
  readonly yaml: "owner";
13091
13161
  };
13092
- readonly "x-order": 5;
13162
+ readonly "x-order": 6;
13093
13163
  };
13094
13164
  readonly created_at: {
13095
13165
  readonly "x-oapi-codegen-extra-tags": {
13096
13166
  readonly db: "created_at";
13097
13167
  readonly yaml: "created_at";
13098
13168
  };
13099
- readonly "x-order": 6;
13169
+ readonly "x-order": 7;
13100
13170
  readonly type: "string";
13101
13171
  readonly format: "date-time";
13102
13172
  readonly "x-go-type-skip-optional-pointer": true;
@@ -13106,7 +13176,7 @@ declare const PatternSchema: {
13106
13176
  readonly db: "metadata";
13107
13177
  readonly yaml: "metadata";
13108
13178
  };
13109
- readonly "x-order": 7;
13179
+ readonly "x-order": 8;
13110
13180
  readonly "x-go-type": "core.Map";
13111
13181
  readonly "x-go-type-skip-optional-pointer": true;
13112
13182
  readonly type: "object";
@@ -13116,7 +13186,7 @@ declare const PatternSchema: {
13116
13186
  readonly db: "updated_at";
13117
13187
  readonly yaml: "updated_at";
13118
13188
  };
13119
- readonly "x-order": 8;
13189
+ readonly "x-order": 9;
13120
13190
  readonly type: "string";
13121
13191
  readonly format: "date-time";
13122
13192
  readonly "x-go-type-skip-optional-pointer": true;
@@ -13128,7 +13198,7 @@ declare const PatternSchema: {
13128
13198
  };
13129
13199
  readonly "x-go-type": "core.NullTime";
13130
13200
  readonly "x-go-import": "database/sql";
13131
- readonly "x-order": 9;
13201
+ readonly "x-order": 10;
13132
13202
  readonly type: "string";
13133
13203
  readonly format: "date-time";
13134
13204
  readonly "x-go-type-skip-optional-pointer": true;
@@ -13155,8 +13225,8 @@ declare const PatternSchema: {
13155
13225
  readonly type: "string";
13156
13226
  readonly minLength: 2;
13157
13227
  readonly maxLength: 100;
13158
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
13159
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
13228
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13229
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13160
13230
  };
13161
13231
  };
13162
13232
  };
@@ -13290,8 +13360,8 @@ declare const PatternSchema: {
13290
13360
  readonly type: "string";
13291
13361
  readonly minLength: 2;
13292
13362
  readonly maxLength: 100;
13293
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
13294
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
13363
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13364
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13295
13365
  };
13296
13366
  readonly version: {
13297
13367
  readonly description: "Version of the capability definition.";
@@ -14051,8 +14121,8 @@ declare const PatternSchema: {
14051
14121
  readonly type: "string";
14052
14122
  readonly minLength: 2;
14053
14123
  readonly maxLength: 100;
14054
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14055
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14124
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14125
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14056
14126
  };
14057
14127
  readonly version: {
14058
14128
  readonly description: "Version of the capability definition.";
@@ -14446,8 +14516,8 @@ declare const PatternSchema: {
14446
14516
  readonly type: "string";
14447
14517
  readonly minLength: 2;
14448
14518
  readonly maxLength: 100;
14449
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14450
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14519
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14520
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14451
14521
  };
14452
14522
  readonly version: {
14453
14523
  readonly type: "string";
@@ -14527,8 +14597,8 @@ declare const PatternSchema: {
14527
14597
  readonly type: "string";
14528
14598
  readonly minLength: 2;
14529
14599
  readonly maxLength: 100;
14530
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14531
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14600
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14601
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14532
14602
  };
14533
14603
  readonly version: {
14534
14604
  readonly description: "Version of the capability definition.";