@meshery/schemas 0.8.126 → 0.8.127

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 (69) 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 +12 -0
  4. package/dist/cloudApi.d.ts +12 -0
  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 +2 -2
  10. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -2
  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 +3 -3
  16. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +3 -3
  17. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  18. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  19. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +6 -2
  20. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +6 -2
  21. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +4 -4
  22. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +4 -4
  23. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
  24. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
  25. package/dist/constructs/v1beta1/component/Component.d.mts +28 -5
  26. package/dist/constructs/v1beta1/component/Component.d.ts +28 -5
  27. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +34 -19
  28. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +34 -19
  29. package/dist/constructs/v1beta1/component/ComponentSchema.js +2 -2
  30. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +2 -2
  31. package/dist/constructs/v1beta1/connection/Connection.d.mts +96 -6
  32. package/dist/constructs/v1beta1/connection/Connection.d.ts +96 -6
  33. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +156 -66
  34. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +156 -66
  35. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  36. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  37. package/dist/constructs/v1beta1/environment/Environment.d.mts +52 -0
  38. package/dist/constructs/v1beta1/environment/Environment.d.ts +52 -0
  39. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +96 -36
  40. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +96 -36
  41. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  42. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  43. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +148 -32
  44. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +148 -32
  45. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +160 -100
  46. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +160 -100
  47. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +12 -12
  48. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +12 -12
  49. package/dist/constructs/v1beta1/model/Model.d.mts +22 -3
  50. package/dist/constructs/v1beta1/model/Model.d.ts +22 -3
  51. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +30 -15
  52. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +30 -15
  53. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  54. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  55. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +148 -32
  56. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +148 -32
  57. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +160 -100
  58. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +160 -100
  59. package/dist/constructs/v1beta1/pattern/PatternSchema.js +12 -12
  60. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +12 -12
  61. package/dist/index.d.mts +1 -1
  62. package/dist/index.d.ts +1 -1
  63. package/dist/index.js +16 -16
  64. package/dist/index.mjs +16 -16
  65. package/dist/mesheryApi.d.mts +8 -0
  66. package/dist/mesheryApi.d.ts +8 -0
  67. package/dist/mesheryApi.js +1 -1
  68. package/dist/mesheryApi.mjs +1 -1
  69. package/package.json +1 -1
@@ -119,8 +119,8 @@ declare const PatternSchema: {
119
119
  readonly type: "string";
120
120
  readonly minLength: 2;
121
121
  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"];
122
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
123
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
124
124
  };
125
125
  readonly version: {
126
126
  readonly default: "v0.0.1";
@@ -251,8 +251,8 @@ declare const PatternSchema: {
251
251
  readonly type: "string";
252
252
  readonly minLength: 2;
253
253
  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"];
254
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
255
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
256
256
  };
257
257
  readonly version: {
258
258
  readonly "x-order": 3;
@@ -338,8 +338,8 @@ declare const PatternSchema: {
338
338
  readonly type: "string";
339
339
  readonly minLength: 2;
340
340
  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"];
341
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
342
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
343
343
  };
344
344
  readonly version: {
345
345
  readonly description: "Version of the model definition.";
@@ -574,7 +574,7 @@ declare const PatternSchema: {
574
574
  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
575
  readonly additionalProperties: false;
576
576
  readonly type: "object";
577
- readonly required: readonly ["id", "name", "description", "organization_id"];
577
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
578
578
  readonly properties: {
579
579
  readonly id: {
580
580
  readonly type: "string";
@@ -591,12 +591,27 @@ declare const PatternSchema: {
591
591
  readonly yaml: "id";
592
592
  };
593
593
  };
594
+ readonly schemaVersion: {
595
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
596
+ readonly "x-order": 2;
597
+ readonly "x-oapi-codegen-extra-tags": {
598
+ readonly yaml: "schemaVersion";
599
+ readonly db: "-";
600
+ readonly gorm: "-";
601
+ };
602
+ readonly default: "environments.meshery.io/v1beta1";
603
+ readonly type: "string";
604
+ readonly minLength: 2;
605
+ readonly maxLength: 100;
606
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
607
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
608
+ };
594
609
  readonly name: {
595
610
  readonly "x-oapi-codegen-extra-tags": {
596
611
  readonly db: "name";
597
612
  readonly yaml: "name";
598
613
  };
599
- readonly "x-order": 2;
614
+ readonly "x-order": 3;
600
615
  readonly type: "string";
601
616
  readonly description: "Environment name";
602
617
  };
@@ -605,7 +620,7 @@ declare const PatternSchema: {
605
620
  readonly db: "description";
606
621
  readonly yaml: "description";
607
622
  };
608
- readonly "x-order": 3;
623
+ readonly "x-order": 4;
609
624
  readonly type: "string";
610
625
  readonly description: "Environment description";
611
626
  };
@@ -622,7 +637,7 @@ declare const PatternSchema: {
622
637
  readonly db: "organization_id";
623
638
  readonly yaml: "organization_id";
624
639
  };
625
- readonly "x-order": 4;
640
+ readonly "x-order": 5;
626
641
  };
627
642
  readonly owner: {
628
643
  readonly type: "string";
@@ -636,14 +651,14 @@ declare const PatternSchema: {
636
651
  readonly db: "owner";
637
652
  readonly yaml: "owner";
638
653
  };
639
- readonly "x-order": 5;
654
+ readonly "x-order": 6;
640
655
  };
641
656
  readonly created_at: {
642
657
  readonly "x-oapi-codegen-extra-tags": {
643
658
  readonly db: "created_at";
644
659
  readonly yaml: "created_at";
645
660
  };
646
- readonly "x-order": 6;
661
+ readonly "x-order": 7;
647
662
  readonly type: "string";
648
663
  readonly format: "date-time";
649
664
  readonly "x-go-type-skip-optional-pointer": true;
@@ -653,7 +668,7 @@ declare const PatternSchema: {
653
668
  readonly db: "metadata";
654
669
  readonly yaml: "metadata";
655
670
  };
656
- readonly "x-order": 7;
671
+ readonly "x-order": 8;
657
672
  readonly "x-go-type": "core.Map";
658
673
  readonly "x-go-type-skip-optional-pointer": true;
659
674
  readonly type: "object";
@@ -663,7 +678,7 @@ declare const PatternSchema: {
663
678
  readonly db: "updated_at";
664
679
  readonly yaml: "updated_at";
665
680
  };
666
- readonly "x-order": 8;
681
+ readonly "x-order": 9;
667
682
  readonly type: "string";
668
683
  readonly format: "date-time";
669
684
  readonly "x-go-type-skip-optional-pointer": true;
@@ -675,7 +690,7 @@ declare const PatternSchema: {
675
690
  };
676
691
  readonly "x-go-type": "core.NullTime";
677
692
  readonly "x-go-import": "database/sql";
678
- readonly "x-order": 9;
693
+ readonly "x-order": 10;
679
694
  readonly type: "string";
680
695
  readonly format: "date-time";
681
696
  readonly "x-go-type-skip-optional-pointer": true;
@@ -702,8 +717,8 @@ declare const PatternSchema: {
702
717
  readonly type: "string";
703
718
  readonly minLength: 2;
704
719
  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"];
720
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
721
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
707
722
  };
708
723
  };
709
724
  };
@@ -837,8 +852,8 @@ declare const PatternSchema: {
837
852
  readonly type: "string";
838
853
  readonly minLength: 2;
839
854
  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"];
855
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
856
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
842
857
  };
843
858
  readonly version: {
844
859
  readonly description: "Version of the capability definition.";
@@ -1598,8 +1613,8 @@ declare const PatternSchema: {
1598
1613
  readonly type: "string";
1599
1614
  readonly minLength: 2;
1600
1615
  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"];
1616
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1617
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1603
1618
  };
1604
1619
  readonly version: {
1605
1620
  readonly description: "Version of the capability definition.";
@@ -1993,8 +2008,8 @@ declare const PatternSchema: {
1993
2008
  readonly type: "string";
1994
2009
  readonly minLength: 2;
1995
2010
  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"];
2011
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2012
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1998
2013
  };
1999
2014
  readonly version: {
2000
2015
  readonly type: "string";
@@ -2074,8 +2089,8 @@ declare const PatternSchema: {
2074
2089
  readonly type: "string";
2075
2090
  readonly minLength: 2;
2076
2091
  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"];
2092
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2093
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2079
2094
  };
2080
2095
  readonly version: {
2081
2096
  readonly description: "Version of the capability definition.";
@@ -4238,8 +4253,8 @@ declare const PatternSchema: {
4238
4253
  readonly type: "string";
4239
4254
  readonly minLength: 2;
4240
4255
  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"];
4256
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4257
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4243
4258
  };
4244
4259
  readonly version: {
4245
4260
  readonly default: "v0.0.1";
@@ -4370,8 +4385,8 @@ declare const PatternSchema: {
4370
4385
  readonly type: "string";
4371
4386
  readonly minLength: 2;
4372
4387
  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"];
4388
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4389
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4375
4390
  };
4376
4391
  readonly version: {
4377
4392
  readonly "x-order": 3;
@@ -4457,8 +4472,8 @@ declare const PatternSchema: {
4457
4472
  readonly type: "string";
4458
4473
  readonly minLength: 2;
4459
4474
  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"];
4475
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4476
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4462
4477
  };
4463
4478
  readonly version: {
4464
4479
  readonly description: "Version of the model definition.";
@@ -4693,7 +4708,7 @@ declare const PatternSchema: {
4693
4708
  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
4709
  readonly additionalProperties: false;
4695
4710
  readonly type: "object";
4696
- readonly required: readonly ["id", "name", "description", "organization_id"];
4711
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
4697
4712
  readonly properties: {
4698
4713
  readonly id: {
4699
4714
  readonly type: "string";
@@ -4710,12 +4725,27 @@ declare const PatternSchema: {
4710
4725
  readonly yaml: "id";
4711
4726
  };
4712
4727
  };
4728
+ readonly schemaVersion: {
4729
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
4730
+ readonly "x-order": 2;
4731
+ readonly "x-oapi-codegen-extra-tags": {
4732
+ readonly yaml: "schemaVersion";
4733
+ readonly db: "-";
4734
+ readonly gorm: "-";
4735
+ };
4736
+ readonly default: "environments.meshery.io/v1beta1";
4737
+ readonly type: "string";
4738
+ readonly minLength: 2;
4739
+ readonly maxLength: 100;
4740
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4741
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4742
+ };
4713
4743
  readonly name: {
4714
4744
  readonly "x-oapi-codegen-extra-tags": {
4715
4745
  readonly db: "name";
4716
4746
  readonly yaml: "name";
4717
4747
  };
4718
- readonly "x-order": 2;
4748
+ readonly "x-order": 3;
4719
4749
  readonly type: "string";
4720
4750
  readonly description: "Environment name";
4721
4751
  };
@@ -4724,7 +4754,7 @@ declare const PatternSchema: {
4724
4754
  readonly db: "description";
4725
4755
  readonly yaml: "description";
4726
4756
  };
4727
- readonly "x-order": 3;
4757
+ readonly "x-order": 4;
4728
4758
  readonly type: "string";
4729
4759
  readonly description: "Environment description";
4730
4760
  };
@@ -4741,7 +4771,7 @@ declare const PatternSchema: {
4741
4771
  readonly db: "organization_id";
4742
4772
  readonly yaml: "organization_id";
4743
4773
  };
4744
- readonly "x-order": 4;
4774
+ readonly "x-order": 5;
4745
4775
  };
4746
4776
  readonly owner: {
4747
4777
  readonly type: "string";
@@ -4755,14 +4785,14 @@ declare const PatternSchema: {
4755
4785
  readonly db: "owner";
4756
4786
  readonly yaml: "owner";
4757
4787
  };
4758
- readonly "x-order": 5;
4788
+ readonly "x-order": 6;
4759
4789
  };
4760
4790
  readonly created_at: {
4761
4791
  readonly "x-oapi-codegen-extra-tags": {
4762
4792
  readonly db: "created_at";
4763
4793
  readonly yaml: "created_at";
4764
4794
  };
4765
- readonly "x-order": 6;
4795
+ readonly "x-order": 7;
4766
4796
  readonly type: "string";
4767
4797
  readonly format: "date-time";
4768
4798
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4772,7 +4802,7 @@ declare const PatternSchema: {
4772
4802
  readonly db: "metadata";
4773
4803
  readonly yaml: "metadata";
4774
4804
  };
4775
- readonly "x-order": 7;
4805
+ readonly "x-order": 8;
4776
4806
  readonly "x-go-type": "core.Map";
4777
4807
  readonly "x-go-type-skip-optional-pointer": true;
4778
4808
  readonly type: "object";
@@ -4782,7 +4812,7 @@ declare const PatternSchema: {
4782
4812
  readonly db: "updated_at";
4783
4813
  readonly yaml: "updated_at";
4784
4814
  };
4785
- readonly "x-order": 8;
4815
+ readonly "x-order": 9;
4786
4816
  readonly type: "string";
4787
4817
  readonly format: "date-time";
4788
4818
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4794,7 +4824,7 @@ declare const PatternSchema: {
4794
4824
  };
4795
4825
  readonly "x-go-type": "core.NullTime";
4796
4826
  readonly "x-go-import": "database/sql";
4797
- readonly "x-order": 9;
4827
+ readonly "x-order": 10;
4798
4828
  readonly type: "string";
4799
4829
  readonly format: "date-time";
4800
4830
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4821,8 +4851,8 @@ declare const PatternSchema: {
4821
4851
  readonly type: "string";
4822
4852
  readonly minLength: 2;
4823
4853
  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"];
4854
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4855
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4826
4856
  };
4827
4857
  };
4828
4858
  };
@@ -4956,8 +4986,8 @@ declare const PatternSchema: {
4956
4986
  readonly type: "string";
4957
4987
  readonly minLength: 2;
4958
4988
  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"];
4989
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4990
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4961
4991
  };
4962
4992
  readonly version: {
4963
4993
  readonly description: "Version of the capability definition.";
@@ -5717,8 +5747,8 @@ declare const PatternSchema: {
5717
5747
  readonly type: "string";
5718
5748
  readonly minLength: 2;
5719
5749
  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"];
5750
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
5751
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
5722
5752
  };
5723
5753
  readonly version: {
5724
5754
  readonly description: "Version of the capability definition.";
@@ -6112,8 +6142,8 @@ declare const PatternSchema: {
6112
6142
  readonly type: "string";
6113
6143
  readonly minLength: 2;
6114
6144
  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"];
6145
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6146
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
6117
6147
  };
6118
6148
  readonly version: {
6119
6149
  readonly type: "string";
@@ -6193,8 +6223,8 @@ declare const PatternSchema: {
6193
6223
  readonly type: "string";
6194
6224
  readonly minLength: 2;
6195
6225
  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"];
6226
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6227
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
6198
6228
  };
6199
6229
  readonly version: {
6200
6230
  readonly description: "Version of the capability definition.";
@@ -8389,8 +8419,8 @@ declare const PatternSchema: {
8389
8419
  readonly type: "string";
8390
8420
  readonly minLength: 2;
8391
8421
  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"];
8422
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8423
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8394
8424
  };
8395
8425
  readonly version: {
8396
8426
  readonly default: "v0.0.1";
@@ -8521,8 +8551,8 @@ declare const PatternSchema: {
8521
8551
  readonly type: "string";
8522
8552
  readonly minLength: 2;
8523
8553
  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"];
8554
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8555
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8526
8556
  };
8527
8557
  readonly version: {
8528
8558
  readonly "x-order": 3;
@@ -8608,8 +8638,8 @@ declare const PatternSchema: {
8608
8638
  readonly type: "string";
8609
8639
  readonly minLength: 2;
8610
8640
  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"];
8641
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8642
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8613
8643
  };
8614
8644
  readonly version: {
8615
8645
  readonly description: "Version of the model definition.";
@@ -8844,7 +8874,7 @@ declare const PatternSchema: {
8844
8874
  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
8875
  readonly additionalProperties: false;
8846
8876
  readonly type: "object";
8847
- readonly required: readonly ["id", "name", "description", "organization_id"];
8877
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
8848
8878
  readonly properties: {
8849
8879
  readonly id: {
8850
8880
  readonly type: "string";
@@ -8861,12 +8891,27 @@ declare const PatternSchema: {
8861
8891
  readonly yaml: "id";
8862
8892
  };
8863
8893
  };
8894
+ readonly schemaVersion: {
8895
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
8896
+ readonly "x-order": 2;
8897
+ readonly "x-oapi-codegen-extra-tags": {
8898
+ readonly yaml: "schemaVersion";
8899
+ readonly db: "-";
8900
+ readonly gorm: "-";
8901
+ };
8902
+ readonly default: "environments.meshery.io/v1beta1";
8903
+ readonly type: "string";
8904
+ readonly minLength: 2;
8905
+ readonly maxLength: 100;
8906
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8907
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8908
+ };
8864
8909
  readonly name: {
8865
8910
  readonly "x-oapi-codegen-extra-tags": {
8866
8911
  readonly db: "name";
8867
8912
  readonly yaml: "name";
8868
8913
  };
8869
- readonly "x-order": 2;
8914
+ readonly "x-order": 3;
8870
8915
  readonly type: "string";
8871
8916
  readonly description: "Environment name";
8872
8917
  };
@@ -8875,7 +8920,7 @@ declare const PatternSchema: {
8875
8920
  readonly db: "description";
8876
8921
  readonly yaml: "description";
8877
8922
  };
8878
- readonly "x-order": 3;
8923
+ readonly "x-order": 4;
8879
8924
  readonly type: "string";
8880
8925
  readonly description: "Environment description";
8881
8926
  };
@@ -8892,7 +8937,7 @@ declare const PatternSchema: {
8892
8937
  readonly db: "organization_id";
8893
8938
  readonly yaml: "organization_id";
8894
8939
  };
8895
- readonly "x-order": 4;
8940
+ readonly "x-order": 5;
8896
8941
  };
8897
8942
  readonly owner: {
8898
8943
  readonly type: "string";
@@ -8906,14 +8951,14 @@ declare const PatternSchema: {
8906
8951
  readonly db: "owner";
8907
8952
  readonly yaml: "owner";
8908
8953
  };
8909
- readonly "x-order": 5;
8954
+ readonly "x-order": 6;
8910
8955
  };
8911
8956
  readonly created_at: {
8912
8957
  readonly "x-oapi-codegen-extra-tags": {
8913
8958
  readonly db: "created_at";
8914
8959
  readonly yaml: "created_at";
8915
8960
  };
8916
- readonly "x-order": 6;
8961
+ readonly "x-order": 7;
8917
8962
  readonly type: "string";
8918
8963
  readonly format: "date-time";
8919
8964
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8923,7 +8968,7 @@ declare const PatternSchema: {
8923
8968
  readonly db: "metadata";
8924
8969
  readonly yaml: "metadata";
8925
8970
  };
8926
- readonly "x-order": 7;
8971
+ readonly "x-order": 8;
8927
8972
  readonly "x-go-type": "core.Map";
8928
8973
  readonly "x-go-type-skip-optional-pointer": true;
8929
8974
  readonly type: "object";
@@ -8933,7 +8978,7 @@ declare const PatternSchema: {
8933
8978
  readonly db: "updated_at";
8934
8979
  readonly yaml: "updated_at";
8935
8980
  };
8936
- readonly "x-order": 8;
8981
+ readonly "x-order": 9;
8937
8982
  readonly type: "string";
8938
8983
  readonly format: "date-time";
8939
8984
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8945,7 +8990,7 @@ declare const PatternSchema: {
8945
8990
  };
8946
8991
  readonly "x-go-type": "core.NullTime";
8947
8992
  readonly "x-go-import": "database/sql";
8948
- readonly "x-order": 9;
8993
+ readonly "x-order": 10;
8949
8994
  readonly type: "string";
8950
8995
  readonly format: "date-time";
8951
8996
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8972,8 +9017,8 @@ declare const PatternSchema: {
8972
9017
  readonly type: "string";
8973
9018
  readonly minLength: 2;
8974
9019
  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"];
9020
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9021
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8977
9022
  };
8978
9023
  };
8979
9024
  };
@@ -9107,8 +9152,8 @@ declare const PatternSchema: {
9107
9152
  readonly type: "string";
9108
9153
  readonly minLength: 2;
9109
9154
  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"];
9155
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9156
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
9112
9157
  };
9113
9158
  readonly version: {
9114
9159
  readonly description: "Version of the capability definition.";
@@ -9868,8 +9913,8 @@ declare const PatternSchema: {
9868
9913
  readonly type: "string";
9869
9914
  readonly minLength: 2;
9870
9915
  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"];
9916
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9917
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
9873
9918
  };
9874
9919
  readonly version: {
9875
9920
  readonly description: "Version of the capability definition.";
@@ -10263,8 +10308,8 @@ declare const PatternSchema: {
10263
10308
  readonly type: "string";
10264
10309
  readonly minLength: 2;
10265
10310
  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"];
10311
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10312
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10268
10313
  };
10269
10314
  readonly version: {
10270
10315
  readonly type: "string";
@@ -10344,8 +10389,8 @@ declare const PatternSchema: {
10344
10389
  readonly type: "string";
10345
10390
  readonly minLength: 2;
10346
10391
  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"];
10392
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10393
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10349
10394
  };
10350
10395
  readonly version: {
10351
10396
  readonly description: "Version of the capability definition.";
@@ -12572,8 +12617,8 @@ declare const PatternSchema: {
12572
12617
  readonly type: "string";
12573
12618
  readonly minLength: 2;
12574
12619
  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"];
12620
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12621
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12577
12622
  };
12578
12623
  readonly version: {
12579
12624
  readonly default: "v0.0.1";
@@ -12704,8 +12749,8 @@ declare const PatternSchema: {
12704
12749
  readonly type: "string";
12705
12750
  readonly minLength: 2;
12706
12751
  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"];
12752
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12753
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12709
12754
  };
12710
12755
  readonly version: {
12711
12756
  readonly "x-order": 3;
@@ -12791,8 +12836,8 @@ declare const PatternSchema: {
12791
12836
  readonly type: "string";
12792
12837
  readonly minLength: 2;
12793
12838
  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"];
12839
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12840
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12796
12841
  };
12797
12842
  readonly version: {
12798
12843
  readonly description: "Version of the model definition.";
@@ -13027,7 +13072,7 @@ declare const PatternSchema: {
13027
13072
  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
13073
  readonly additionalProperties: false;
13029
13074
  readonly type: "object";
13030
- readonly required: readonly ["id", "name", "description", "organization_id"];
13075
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
13031
13076
  readonly properties: {
13032
13077
  readonly id: {
13033
13078
  readonly type: "string";
@@ -13044,12 +13089,27 @@ declare const PatternSchema: {
13044
13089
  readonly yaml: "id";
13045
13090
  };
13046
13091
  };
13092
+ readonly schemaVersion: {
13093
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
13094
+ readonly "x-order": 2;
13095
+ readonly "x-oapi-codegen-extra-tags": {
13096
+ readonly yaml: "schemaVersion";
13097
+ readonly db: "-";
13098
+ readonly gorm: "-";
13099
+ };
13100
+ readonly default: "environments.meshery.io/v1beta1";
13101
+ readonly type: "string";
13102
+ readonly minLength: 2;
13103
+ readonly maxLength: 100;
13104
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13105
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13106
+ };
13047
13107
  readonly name: {
13048
13108
  readonly "x-oapi-codegen-extra-tags": {
13049
13109
  readonly db: "name";
13050
13110
  readonly yaml: "name";
13051
13111
  };
13052
- readonly "x-order": 2;
13112
+ readonly "x-order": 3;
13053
13113
  readonly type: "string";
13054
13114
  readonly description: "Environment name";
13055
13115
  };
@@ -13058,7 +13118,7 @@ declare const PatternSchema: {
13058
13118
  readonly db: "description";
13059
13119
  readonly yaml: "description";
13060
13120
  };
13061
- readonly "x-order": 3;
13121
+ readonly "x-order": 4;
13062
13122
  readonly type: "string";
13063
13123
  readonly description: "Environment description";
13064
13124
  };
@@ -13075,7 +13135,7 @@ declare const PatternSchema: {
13075
13135
  readonly db: "organization_id";
13076
13136
  readonly yaml: "organization_id";
13077
13137
  };
13078
- readonly "x-order": 4;
13138
+ readonly "x-order": 5;
13079
13139
  };
13080
13140
  readonly owner: {
13081
13141
  readonly type: "string";
@@ -13089,14 +13149,14 @@ declare const PatternSchema: {
13089
13149
  readonly db: "owner";
13090
13150
  readonly yaml: "owner";
13091
13151
  };
13092
- readonly "x-order": 5;
13152
+ readonly "x-order": 6;
13093
13153
  };
13094
13154
  readonly created_at: {
13095
13155
  readonly "x-oapi-codegen-extra-tags": {
13096
13156
  readonly db: "created_at";
13097
13157
  readonly yaml: "created_at";
13098
13158
  };
13099
- readonly "x-order": 6;
13159
+ readonly "x-order": 7;
13100
13160
  readonly type: "string";
13101
13161
  readonly format: "date-time";
13102
13162
  readonly "x-go-type-skip-optional-pointer": true;
@@ -13106,7 +13166,7 @@ declare const PatternSchema: {
13106
13166
  readonly db: "metadata";
13107
13167
  readonly yaml: "metadata";
13108
13168
  };
13109
- readonly "x-order": 7;
13169
+ readonly "x-order": 8;
13110
13170
  readonly "x-go-type": "core.Map";
13111
13171
  readonly "x-go-type-skip-optional-pointer": true;
13112
13172
  readonly type: "object";
@@ -13116,7 +13176,7 @@ declare const PatternSchema: {
13116
13176
  readonly db: "updated_at";
13117
13177
  readonly yaml: "updated_at";
13118
13178
  };
13119
- readonly "x-order": 8;
13179
+ readonly "x-order": 9;
13120
13180
  readonly type: "string";
13121
13181
  readonly format: "date-time";
13122
13182
  readonly "x-go-type-skip-optional-pointer": true;
@@ -13128,7 +13188,7 @@ declare const PatternSchema: {
13128
13188
  };
13129
13189
  readonly "x-go-type": "core.NullTime";
13130
13190
  readonly "x-go-import": "database/sql";
13131
- readonly "x-order": 9;
13191
+ readonly "x-order": 10;
13132
13192
  readonly type: "string";
13133
13193
  readonly format: "date-time";
13134
13194
  readonly "x-go-type-skip-optional-pointer": true;
@@ -13155,8 +13215,8 @@ declare const PatternSchema: {
13155
13215
  readonly type: "string";
13156
13216
  readonly minLength: 2;
13157
13217
  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"];
13218
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13219
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13160
13220
  };
13161
13221
  };
13162
13222
  };
@@ -13290,8 +13350,8 @@ declare const PatternSchema: {
13290
13350
  readonly type: "string";
13291
13351
  readonly minLength: 2;
13292
13352
  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"];
13353
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13354
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13295
13355
  };
13296
13356
  readonly version: {
13297
13357
  readonly description: "Version of the capability definition.";
@@ -14051,8 +14111,8 @@ declare const PatternSchema: {
14051
14111
  readonly type: "string";
14052
14112
  readonly minLength: 2;
14053
14113
  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"];
14114
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14115
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14056
14116
  };
14057
14117
  readonly version: {
14058
14118
  readonly description: "Version of the capability definition.";
@@ -14446,8 +14506,8 @@ declare const PatternSchema: {
14446
14506
  readonly type: "string";
14447
14507
  readonly minLength: 2;
14448
14508
  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"];
14509
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14510
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14451
14511
  };
14452
14512
  readonly version: {
14453
14513
  readonly type: "string";
@@ -14527,8 +14587,8 @@ declare const PatternSchema: {
14527
14587
  readonly type: "string";
14528
14588
  readonly minLength: 2;
14529
14589
  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"];
14590
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14591
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14532
14592
  };
14533
14593
  readonly version: {
14534
14594
  readonly description: "Version of the capability definition.";