@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
@@ -281,7 +281,7 @@ declare const ConnectionSchema: {
281
281
  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";
282
282
  readonly additionalProperties: false;
283
283
  readonly type: "object";
284
- readonly required: readonly ["id", "name", "description", "organization_id"];
284
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
285
285
  readonly properties: {
286
286
  readonly id: {
287
287
  readonly description: "ID";
@@ -298,12 +298,27 @@ declare const ConnectionSchema: {
298
298
  readonly path: "github.com/gofrs/uuid";
299
299
  };
300
300
  };
301
+ readonly schemaVersion: {
302
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
303
+ readonly "x-order": 2;
304
+ readonly "x-oapi-codegen-extra-tags": {
305
+ readonly yaml: "schemaVersion";
306
+ readonly db: "-";
307
+ readonly gorm: "-";
308
+ };
309
+ readonly default: "environments.meshery.io/v1beta1";
310
+ readonly type: "string";
311
+ readonly minLength: 2;
312
+ readonly maxLength: 100;
313
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
314
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
315
+ };
301
316
  readonly name: {
302
317
  readonly "x-oapi-codegen-extra-tags": {
303
318
  readonly db: "name";
304
319
  readonly yaml: "name";
305
320
  };
306
- readonly "x-order": 2;
321
+ readonly "x-order": 3;
307
322
  readonly type: "string";
308
323
  readonly description: "Environment name";
309
324
  };
@@ -312,7 +327,7 @@ declare const ConnectionSchema: {
312
327
  readonly db: "description";
313
328
  readonly yaml: "description";
314
329
  };
315
- readonly "x-order": 3;
330
+ readonly "x-order": 4;
316
331
  readonly type: "string";
317
332
  readonly description: "Environment description";
318
333
  };
@@ -322,7 +337,7 @@ declare const ConnectionSchema: {
322
337
  readonly db: "organization_id";
323
338
  readonly yaml: "organization_id";
324
339
  };
325
- readonly "x-order": 4;
340
+ readonly "x-order": 5;
326
341
  readonly description: "Environment organization ID";
327
342
  readonly type: "string";
328
343
  readonly format: "uuid";
@@ -336,7 +351,7 @@ declare const ConnectionSchema: {
336
351
  readonly db: "owner";
337
352
  readonly yaml: "owner";
338
353
  };
339
- readonly "x-order": 5;
354
+ readonly "x-order": 6;
340
355
  readonly description: "Environment owner";
341
356
  readonly type: "string";
342
357
  readonly format: "uuid";
@@ -350,7 +365,7 @@ declare const ConnectionSchema: {
350
365
  readonly db: "created_at";
351
366
  readonly yaml: "created_at";
352
367
  };
353
- readonly "x-order": 6;
368
+ readonly "x-order": 7;
354
369
  readonly type: "string";
355
370
  readonly format: "date-time";
356
371
  readonly "x-go-type-skip-optional-pointer": true;
@@ -360,7 +375,7 @@ declare const ConnectionSchema: {
360
375
  readonly db: "metadata";
361
376
  readonly yaml: "metadata";
362
377
  };
363
- readonly "x-order": 7;
378
+ readonly "x-order": 8;
364
379
  readonly "x-go-type": "core.Map";
365
380
  readonly "x-go-type-skip-optional-pointer": true;
366
381
  readonly type: "object";
@@ -370,7 +385,7 @@ declare const ConnectionSchema: {
370
385
  readonly db: "updated_at";
371
386
  readonly yaml: "updated_at";
372
387
  };
373
- readonly "x-order": 8;
388
+ readonly "x-order": 9;
374
389
  readonly type: "string";
375
390
  readonly format: "date-time";
376
391
  readonly "x-go-type-skip-optional-pointer": true;
@@ -382,7 +397,7 @@ declare const ConnectionSchema: {
382
397
  };
383
398
  readonly "x-go-type": "core.NullTime";
384
399
  readonly "x-go-import": "database/sql";
385
- readonly "x-order": 9;
400
+ readonly "x-order": 10;
386
401
  readonly type: "string";
387
402
  readonly format: "date-time";
388
403
  readonly "x-go-type-skip-optional-pointer": true;
@@ -409,8 +424,8 @@ declare const ConnectionSchema: {
409
424
  readonly type: "string";
410
425
  readonly minLength: 2;
411
426
  readonly maxLength: 100;
412
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
413
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
427
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
428
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
414
429
  };
415
430
  };
416
431
  };
@@ -728,7 +743,7 @@ declare const ConnectionSchema: {
728
743
  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";
729
744
  readonly additionalProperties: false;
730
745
  readonly type: "object";
731
- readonly required: readonly ["id", "name", "description", "organization_id"];
746
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
732
747
  readonly properties: {
733
748
  readonly id: {
734
749
  readonly description: "ID";
@@ -745,12 +760,27 @@ declare const ConnectionSchema: {
745
760
  readonly path: "github.com/gofrs/uuid";
746
761
  };
747
762
  };
763
+ readonly schemaVersion: {
764
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
765
+ readonly "x-order": 2;
766
+ readonly "x-oapi-codegen-extra-tags": {
767
+ readonly yaml: "schemaVersion";
768
+ readonly db: "-";
769
+ readonly gorm: "-";
770
+ };
771
+ readonly default: "environments.meshery.io/v1beta1";
772
+ readonly type: "string";
773
+ readonly minLength: 2;
774
+ readonly maxLength: 100;
775
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
776
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
777
+ };
748
778
  readonly name: {
749
779
  readonly "x-oapi-codegen-extra-tags": {
750
780
  readonly db: "name";
751
781
  readonly yaml: "name";
752
782
  };
753
- readonly "x-order": 2;
783
+ readonly "x-order": 3;
754
784
  readonly type: "string";
755
785
  readonly description: "Environment name";
756
786
  };
@@ -759,7 +789,7 @@ declare const ConnectionSchema: {
759
789
  readonly db: "description";
760
790
  readonly yaml: "description";
761
791
  };
762
- readonly "x-order": 3;
792
+ readonly "x-order": 4;
763
793
  readonly type: "string";
764
794
  readonly description: "Environment description";
765
795
  };
@@ -769,7 +799,7 @@ declare const ConnectionSchema: {
769
799
  readonly db: "organization_id";
770
800
  readonly yaml: "organization_id";
771
801
  };
772
- readonly "x-order": 4;
802
+ readonly "x-order": 5;
773
803
  readonly description: "Environment organization ID";
774
804
  readonly type: "string";
775
805
  readonly format: "uuid";
@@ -783,7 +813,7 @@ declare const ConnectionSchema: {
783
813
  readonly db: "owner";
784
814
  readonly yaml: "owner";
785
815
  };
786
- readonly "x-order": 5;
816
+ readonly "x-order": 6;
787
817
  readonly description: "Environment owner";
788
818
  readonly type: "string";
789
819
  readonly format: "uuid";
@@ -797,7 +827,7 @@ declare const ConnectionSchema: {
797
827
  readonly db: "created_at";
798
828
  readonly yaml: "created_at";
799
829
  };
800
- readonly "x-order": 6;
830
+ readonly "x-order": 7;
801
831
  readonly type: "string";
802
832
  readonly format: "date-time";
803
833
  readonly "x-go-type-skip-optional-pointer": true;
@@ -807,7 +837,7 @@ declare const ConnectionSchema: {
807
837
  readonly db: "metadata";
808
838
  readonly yaml: "metadata";
809
839
  };
810
- readonly "x-order": 7;
840
+ readonly "x-order": 8;
811
841
  readonly "x-go-type": "core.Map";
812
842
  readonly "x-go-type-skip-optional-pointer": true;
813
843
  readonly type: "object";
@@ -817,7 +847,7 @@ declare const ConnectionSchema: {
817
847
  readonly db: "updated_at";
818
848
  readonly yaml: "updated_at";
819
849
  };
820
- readonly "x-order": 8;
850
+ readonly "x-order": 9;
821
851
  readonly type: "string";
822
852
  readonly format: "date-time";
823
853
  readonly "x-go-type-skip-optional-pointer": true;
@@ -829,7 +859,7 @@ declare const ConnectionSchema: {
829
859
  };
830
860
  readonly "x-go-type": "core.NullTime";
831
861
  readonly "x-go-import": "database/sql";
832
- readonly "x-order": 9;
862
+ readonly "x-order": 10;
833
863
  readonly type: "string";
834
864
  readonly format: "date-time";
835
865
  readonly "x-go-type-skip-optional-pointer": true;
@@ -856,8 +886,8 @@ declare const ConnectionSchema: {
856
886
  readonly type: "string";
857
887
  readonly minLength: 2;
858
888
  readonly maxLength: 100;
859
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
860
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
889
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
890
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
861
891
  };
862
892
  };
863
893
  };
@@ -1055,7 +1085,7 @@ declare const ConnectionSchema: {
1055
1085
  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";
1056
1086
  readonly additionalProperties: false;
1057
1087
  readonly type: "object";
1058
- readonly required: readonly ["id", "name", "description", "organization_id"];
1088
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
1059
1089
  readonly properties: {
1060
1090
  readonly id: {
1061
1091
  readonly description: "ID";
@@ -1072,12 +1102,27 @@ declare const ConnectionSchema: {
1072
1102
  readonly path: "github.com/gofrs/uuid";
1073
1103
  };
1074
1104
  };
1105
+ readonly schemaVersion: {
1106
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
1107
+ readonly "x-order": 2;
1108
+ readonly "x-oapi-codegen-extra-tags": {
1109
+ readonly yaml: "schemaVersion";
1110
+ readonly db: "-";
1111
+ readonly gorm: "-";
1112
+ };
1113
+ readonly default: "environments.meshery.io/v1beta1";
1114
+ readonly type: "string";
1115
+ readonly minLength: 2;
1116
+ readonly maxLength: 100;
1117
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1118
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1119
+ };
1075
1120
  readonly name: {
1076
1121
  readonly "x-oapi-codegen-extra-tags": {
1077
1122
  readonly db: "name";
1078
1123
  readonly yaml: "name";
1079
1124
  };
1080
- readonly "x-order": 2;
1125
+ readonly "x-order": 3;
1081
1126
  readonly type: "string";
1082
1127
  readonly description: "Environment name";
1083
1128
  };
@@ -1086,7 +1131,7 @@ declare const ConnectionSchema: {
1086
1131
  readonly db: "description";
1087
1132
  readonly yaml: "description";
1088
1133
  };
1089
- readonly "x-order": 3;
1134
+ readonly "x-order": 4;
1090
1135
  readonly type: "string";
1091
1136
  readonly description: "Environment description";
1092
1137
  };
@@ -1096,7 +1141,7 @@ declare const ConnectionSchema: {
1096
1141
  readonly db: "organization_id";
1097
1142
  readonly yaml: "organization_id";
1098
1143
  };
1099
- readonly "x-order": 4;
1144
+ readonly "x-order": 5;
1100
1145
  readonly description: "Environment organization ID";
1101
1146
  readonly type: "string";
1102
1147
  readonly format: "uuid";
@@ -1110,7 +1155,7 @@ declare const ConnectionSchema: {
1110
1155
  readonly db: "owner";
1111
1156
  readonly yaml: "owner";
1112
1157
  };
1113
- readonly "x-order": 5;
1158
+ readonly "x-order": 6;
1114
1159
  readonly description: "Environment owner";
1115
1160
  readonly type: "string";
1116
1161
  readonly format: "uuid";
@@ -1124,7 +1169,7 @@ declare const ConnectionSchema: {
1124
1169
  readonly db: "created_at";
1125
1170
  readonly yaml: "created_at";
1126
1171
  };
1127
- readonly "x-order": 6;
1172
+ readonly "x-order": 7;
1128
1173
  readonly type: "string";
1129
1174
  readonly format: "date-time";
1130
1175
  readonly "x-go-type-skip-optional-pointer": true;
@@ -1134,7 +1179,7 @@ declare const ConnectionSchema: {
1134
1179
  readonly db: "metadata";
1135
1180
  readonly yaml: "metadata";
1136
1181
  };
1137
- readonly "x-order": 7;
1182
+ readonly "x-order": 8;
1138
1183
  readonly "x-go-type": "core.Map";
1139
1184
  readonly "x-go-type-skip-optional-pointer": true;
1140
1185
  readonly type: "object";
@@ -1144,7 +1189,7 @@ declare const ConnectionSchema: {
1144
1189
  readonly db: "updated_at";
1145
1190
  readonly yaml: "updated_at";
1146
1191
  };
1147
- readonly "x-order": 8;
1192
+ readonly "x-order": 9;
1148
1193
  readonly type: "string";
1149
1194
  readonly format: "date-time";
1150
1195
  readonly "x-go-type-skip-optional-pointer": true;
@@ -1156,7 +1201,7 @@ declare const ConnectionSchema: {
1156
1201
  };
1157
1202
  readonly "x-go-type": "core.NullTime";
1158
1203
  readonly "x-go-import": "database/sql";
1159
- readonly "x-order": 9;
1204
+ readonly "x-order": 10;
1160
1205
  readonly type: "string";
1161
1206
  readonly format: "date-time";
1162
1207
  readonly "x-go-type-skip-optional-pointer": true;
@@ -1183,8 +1228,8 @@ declare const ConnectionSchema: {
1183
1228
  readonly type: "string";
1184
1229
  readonly minLength: 2;
1185
1230
  readonly maxLength: 100;
1186
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1187
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1231
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1232
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1188
1233
  };
1189
1234
  };
1190
1235
  };
@@ -1471,7 +1516,7 @@ declare const ConnectionSchema: {
1471
1516
  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";
1472
1517
  readonly additionalProperties: false;
1473
1518
  readonly type: "object";
1474
- readonly required: readonly ["id", "name", "description", "organization_id"];
1519
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
1475
1520
  readonly properties: {
1476
1521
  readonly id: {
1477
1522
  readonly description: "ID";
@@ -1488,12 +1533,27 @@ declare const ConnectionSchema: {
1488
1533
  readonly path: "github.com/gofrs/uuid";
1489
1534
  };
1490
1535
  };
1536
+ readonly schemaVersion: {
1537
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
1538
+ readonly "x-order": 2;
1539
+ readonly "x-oapi-codegen-extra-tags": {
1540
+ readonly yaml: "schemaVersion";
1541
+ readonly db: "-";
1542
+ readonly gorm: "-";
1543
+ };
1544
+ readonly default: "environments.meshery.io/v1beta1";
1545
+ readonly type: "string";
1546
+ readonly minLength: 2;
1547
+ readonly maxLength: 100;
1548
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1549
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1550
+ };
1491
1551
  readonly name: {
1492
1552
  readonly "x-oapi-codegen-extra-tags": {
1493
1553
  readonly db: "name";
1494
1554
  readonly yaml: "name";
1495
1555
  };
1496
- readonly "x-order": 2;
1556
+ readonly "x-order": 3;
1497
1557
  readonly type: "string";
1498
1558
  readonly description: "Environment name";
1499
1559
  };
@@ -1502,7 +1562,7 @@ declare const ConnectionSchema: {
1502
1562
  readonly db: "description";
1503
1563
  readonly yaml: "description";
1504
1564
  };
1505
- readonly "x-order": 3;
1565
+ readonly "x-order": 4;
1506
1566
  readonly type: "string";
1507
1567
  readonly description: "Environment description";
1508
1568
  };
@@ -1512,7 +1572,7 @@ declare const ConnectionSchema: {
1512
1572
  readonly db: "organization_id";
1513
1573
  readonly yaml: "organization_id";
1514
1574
  };
1515
- readonly "x-order": 4;
1575
+ readonly "x-order": 5;
1516
1576
  readonly description: "Environment organization ID";
1517
1577
  readonly type: "string";
1518
1578
  readonly format: "uuid";
@@ -1526,7 +1586,7 @@ declare const ConnectionSchema: {
1526
1586
  readonly db: "owner";
1527
1587
  readonly yaml: "owner";
1528
1588
  };
1529
- readonly "x-order": 5;
1589
+ readonly "x-order": 6;
1530
1590
  readonly description: "Environment owner";
1531
1591
  readonly type: "string";
1532
1592
  readonly format: "uuid";
@@ -1540,7 +1600,7 @@ declare const ConnectionSchema: {
1540
1600
  readonly db: "created_at";
1541
1601
  readonly yaml: "created_at";
1542
1602
  };
1543
- readonly "x-order": 6;
1603
+ readonly "x-order": 7;
1544
1604
  readonly type: "string";
1545
1605
  readonly format: "date-time";
1546
1606
  readonly "x-go-type-skip-optional-pointer": true;
@@ -1550,7 +1610,7 @@ declare const ConnectionSchema: {
1550
1610
  readonly db: "metadata";
1551
1611
  readonly yaml: "metadata";
1552
1612
  };
1553
- readonly "x-order": 7;
1613
+ readonly "x-order": 8;
1554
1614
  readonly "x-go-type": "core.Map";
1555
1615
  readonly "x-go-type-skip-optional-pointer": true;
1556
1616
  readonly type: "object";
@@ -1560,7 +1620,7 @@ declare const ConnectionSchema: {
1560
1620
  readonly db: "updated_at";
1561
1621
  readonly yaml: "updated_at";
1562
1622
  };
1563
- readonly "x-order": 8;
1623
+ readonly "x-order": 9;
1564
1624
  readonly type: "string";
1565
1625
  readonly format: "date-time";
1566
1626
  readonly "x-go-type-skip-optional-pointer": true;
@@ -1572,7 +1632,7 @@ declare const ConnectionSchema: {
1572
1632
  };
1573
1633
  readonly "x-go-type": "core.NullTime";
1574
1634
  readonly "x-go-import": "database/sql";
1575
- readonly "x-order": 9;
1635
+ readonly "x-order": 10;
1576
1636
  readonly type: "string";
1577
1637
  readonly format: "date-time";
1578
1638
  readonly "x-go-type-skip-optional-pointer": true;
@@ -1599,8 +1659,8 @@ declare const ConnectionSchema: {
1599
1659
  readonly type: "string";
1600
1660
  readonly minLength: 2;
1601
1661
  readonly maxLength: 100;
1602
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1603
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1662
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1663
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1604
1664
  };
1605
1665
  };
1606
1666
  };
@@ -2019,7 +2079,7 @@ declare const ConnectionSchema: {
2019
2079
  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";
2020
2080
  readonly additionalProperties: false;
2021
2081
  readonly type: "object";
2022
- readonly required: readonly ["id", "name", "description", "organization_id"];
2082
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
2023
2083
  readonly properties: {
2024
2084
  readonly id: {
2025
2085
  readonly description: "ID";
@@ -2036,12 +2096,27 @@ declare const ConnectionSchema: {
2036
2096
  readonly path: "github.com/gofrs/uuid";
2037
2097
  };
2038
2098
  };
2099
+ readonly schemaVersion: {
2100
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
2101
+ readonly "x-order": 2;
2102
+ readonly "x-oapi-codegen-extra-tags": {
2103
+ readonly yaml: "schemaVersion";
2104
+ readonly db: "-";
2105
+ readonly gorm: "-";
2106
+ };
2107
+ readonly default: "environments.meshery.io/v1beta1";
2108
+ readonly type: "string";
2109
+ readonly minLength: 2;
2110
+ readonly maxLength: 100;
2111
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2112
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2113
+ };
2039
2114
  readonly name: {
2040
2115
  readonly "x-oapi-codegen-extra-tags": {
2041
2116
  readonly db: "name";
2042
2117
  readonly yaml: "name";
2043
2118
  };
2044
- readonly "x-order": 2;
2119
+ readonly "x-order": 3;
2045
2120
  readonly type: "string";
2046
2121
  readonly description: "Environment name";
2047
2122
  };
@@ -2050,7 +2125,7 @@ declare const ConnectionSchema: {
2050
2125
  readonly db: "description";
2051
2126
  readonly yaml: "description";
2052
2127
  };
2053
- readonly "x-order": 3;
2128
+ readonly "x-order": 4;
2054
2129
  readonly type: "string";
2055
2130
  readonly description: "Environment description";
2056
2131
  };
@@ -2060,7 +2135,7 @@ declare const ConnectionSchema: {
2060
2135
  readonly db: "organization_id";
2061
2136
  readonly yaml: "organization_id";
2062
2137
  };
2063
- readonly "x-order": 4;
2138
+ readonly "x-order": 5;
2064
2139
  readonly description: "Environment organization ID";
2065
2140
  readonly type: "string";
2066
2141
  readonly format: "uuid";
@@ -2074,7 +2149,7 @@ declare const ConnectionSchema: {
2074
2149
  readonly db: "owner";
2075
2150
  readonly yaml: "owner";
2076
2151
  };
2077
- readonly "x-order": 5;
2152
+ readonly "x-order": 6;
2078
2153
  readonly description: "Environment owner";
2079
2154
  readonly type: "string";
2080
2155
  readonly format: "uuid";
@@ -2088,7 +2163,7 @@ declare const ConnectionSchema: {
2088
2163
  readonly db: "created_at";
2089
2164
  readonly yaml: "created_at";
2090
2165
  };
2091
- readonly "x-order": 6;
2166
+ readonly "x-order": 7;
2092
2167
  readonly type: "string";
2093
2168
  readonly format: "date-time";
2094
2169
  readonly "x-go-type-skip-optional-pointer": true;
@@ -2098,7 +2173,7 @@ declare const ConnectionSchema: {
2098
2173
  readonly db: "metadata";
2099
2174
  readonly yaml: "metadata";
2100
2175
  };
2101
- readonly "x-order": 7;
2176
+ readonly "x-order": 8;
2102
2177
  readonly "x-go-type": "core.Map";
2103
2178
  readonly "x-go-type-skip-optional-pointer": true;
2104
2179
  readonly type: "object";
@@ -2108,7 +2183,7 @@ declare const ConnectionSchema: {
2108
2183
  readonly db: "updated_at";
2109
2184
  readonly yaml: "updated_at";
2110
2185
  };
2111
- readonly "x-order": 8;
2186
+ readonly "x-order": 9;
2112
2187
  readonly type: "string";
2113
2188
  readonly format: "date-time";
2114
2189
  readonly "x-go-type-skip-optional-pointer": true;
@@ -2120,7 +2195,7 @@ declare const ConnectionSchema: {
2120
2195
  };
2121
2196
  readonly "x-go-type": "core.NullTime";
2122
2197
  readonly "x-go-import": "database/sql";
2123
- readonly "x-order": 9;
2198
+ readonly "x-order": 10;
2124
2199
  readonly type: "string";
2125
2200
  readonly format: "date-time";
2126
2201
  readonly "x-go-type-skip-optional-pointer": true;
@@ -2147,8 +2222,8 @@ declare const ConnectionSchema: {
2147
2222
  readonly type: "string";
2148
2223
  readonly minLength: 2;
2149
2224
  readonly maxLength: 100;
2150
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2151
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2225
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2226
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2152
2227
  };
2153
2228
  };
2154
2229
  };
@@ -2324,7 +2399,7 @@ declare const ConnectionSchema: {
2324
2399
  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";
2325
2400
  readonly additionalProperties: false;
2326
2401
  readonly type: "object";
2327
- readonly required: readonly ["id", "name", "description", "organization_id"];
2402
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
2328
2403
  readonly properties: {
2329
2404
  readonly id: {
2330
2405
  readonly description: "ID";
@@ -2341,12 +2416,27 @@ declare const ConnectionSchema: {
2341
2416
  readonly path: "github.com/gofrs/uuid";
2342
2417
  };
2343
2418
  };
2419
+ readonly schemaVersion: {
2420
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
2421
+ readonly "x-order": 2;
2422
+ readonly "x-oapi-codegen-extra-tags": {
2423
+ readonly yaml: "schemaVersion";
2424
+ readonly db: "-";
2425
+ readonly gorm: "-";
2426
+ };
2427
+ readonly default: "environments.meshery.io/v1beta1";
2428
+ readonly type: "string";
2429
+ readonly minLength: 2;
2430
+ readonly maxLength: 100;
2431
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2432
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2433
+ };
2344
2434
  readonly name: {
2345
2435
  readonly "x-oapi-codegen-extra-tags": {
2346
2436
  readonly db: "name";
2347
2437
  readonly yaml: "name";
2348
2438
  };
2349
- readonly "x-order": 2;
2439
+ readonly "x-order": 3;
2350
2440
  readonly type: "string";
2351
2441
  readonly description: "Environment name";
2352
2442
  };
@@ -2355,7 +2445,7 @@ declare const ConnectionSchema: {
2355
2445
  readonly db: "description";
2356
2446
  readonly yaml: "description";
2357
2447
  };
2358
- readonly "x-order": 3;
2448
+ readonly "x-order": 4;
2359
2449
  readonly type: "string";
2360
2450
  readonly description: "Environment description";
2361
2451
  };
@@ -2365,7 +2455,7 @@ declare const ConnectionSchema: {
2365
2455
  readonly db: "organization_id";
2366
2456
  readonly yaml: "organization_id";
2367
2457
  };
2368
- readonly "x-order": 4;
2458
+ readonly "x-order": 5;
2369
2459
  readonly description: "Environment organization ID";
2370
2460
  readonly type: "string";
2371
2461
  readonly format: "uuid";
@@ -2379,7 +2469,7 @@ declare const ConnectionSchema: {
2379
2469
  readonly db: "owner";
2380
2470
  readonly yaml: "owner";
2381
2471
  };
2382
- readonly "x-order": 5;
2472
+ readonly "x-order": 6;
2383
2473
  readonly description: "Environment owner";
2384
2474
  readonly type: "string";
2385
2475
  readonly format: "uuid";
@@ -2393,7 +2483,7 @@ declare const ConnectionSchema: {
2393
2483
  readonly db: "created_at";
2394
2484
  readonly yaml: "created_at";
2395
2485
  };
2396
- readonly "x-order": 6;
2486
+ readonly "x-order": 7;
2397
2487
  readonly type: "string";
2398
2488
  readonly format: "date-time";
2399
2489
  readonly "x-go-type-skip-optional-pointer": true;
@@ -2403,7 +2493,7 @@ declare const ConnectionSchema: {
2403
2493
  readonly db: "metadata";
2404
2494
  readonly yaml: "metadata";
2405
2495
  };
2406
- readonly "x-order": 7;
2496
+ readonly "x-order": 8;
2407
2497
  readonly "x-go-type": "core.Map";
2408
2498
  readonly "x-go-type-skip-optional-pointer": true;
2409
2499
  readonly type: "object";
@@ -2413,7 +2503,7 @@ declare const ConnectionSchema: {
2413
2503
  readonly db: "updated_at";
2414
2504
  readonly yaml: "updated_at";
2415
2505
  };
2416
- readonly "x-order": 8;
2506
+ readonly "x-order": 9;
2417
2507
  readonly type: "string";
2418
2508
  readonly format: "date-time";
2419
2509
  readonly "x-go-type-skip-optional-pointer": true;
@@ -2425,7 +2515,7 @@ declare const ConnectionSchema: {
2425
2515
  };
2426
2516
  readonly "x-go-type": "core.NullTime";
2427
2517
  readonly "x-go-import": "database/sql";
2428
- readonly "x-order": 9;
2518
+ readonly "x-order": 10;
2429
2519
  readonly type: "string";
2430
2520
  readonly format: "date-time";
2431
2521
  readonly "x-go-type-skip-optional-pointer": true;
@@ -2452,8 +2542,8 @@ declare const ConnectionSchema: {
2452
2542
  readonly type: "string";
2453
2543
  readonly minLength: 2;
2454
2544
  readonly maxLength: 100;
2455
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2456
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2545
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2546
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2457
2547
  };
2458
2548
  };
2459
2549
  };