@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.
- package/dist/{Core-Wy_3jcVT.d.mts → Core-vaTzd8cz.d.mts} +4 -2
- package/dist/{Core-Wy_3jcVT.d.ts → Core-vaTzd8cz.d.ts} +4 -2
- package/dist/cloudApi.d.mts +12 -0
- package/dist/cloudApi.d.ts +12 -0
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.mts +3 -1
- package/dist/constructs/v1alpha1/capability/Capability.d.ts +3 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +2 -2
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -2
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
- package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
- package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +3 -3
- package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +3 -3
- package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
- package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
- package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +6 -2
- package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +6 -2
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +4 -4
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +4 -4
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
- package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
- package/dist/constructs/v1beta1/component/Component.d.mts +28 -5
- package/dist/constructs/v1beta1/component/Component.d.ts +28 -5
- package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +34 -19
- package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +34 -19
- package/dist/constructs/v1beta1/component/ComponentSchema.js +2 -2
- package/dist/constructs/v1beta1/component/ComponentSchema.mjs +2 -2
- package/dist/constructs/v1beta1/connection/Connection.d.mts +96 -6
- package/dist/constructs/v1beta1/connection/Connection.d.ts +96 -6
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +156 -66
- package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +156 -66
- package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta1/environment/Environment.d.mts +52 -0
- package/dist/constructs/v1beta1/environment/Environment.d.ts +52 -0
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +96 -36
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +96 -36
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +148 -32
- package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +148 -32
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +160 -100
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +160 -100
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +12 -12
- package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +12 -12
- package/dist/constructs/v1beta1/model/Model.d.mts +22 -3
- package/dist/constructs/v1beta1/model/Model.d.ts +22 -3
- package/dist/constructs/v1beta1/model/ModelSchema.d.mts +30 -15
- package/dist/constructs/v1beta1/model/ModelSchema.d.ts +30 -15
- package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
- package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
- package/dist/constructs/v1beta1/pattern/Pattern.d.mts +148 -32
- package/dist/constructs/v1beta1/pattern/Pattern.d.ts +148 -32
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +160 -100
- package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +160 -100
- package/dist/constructs/v1beta1/pattern/PatternSchema.js +12 -12
- package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +12 -12
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -16
- package/dist/index.mjs +16 -16
- package/dist/mesheryApi.d.mts +8 -0
- package/dist/mesheryApi.d.ts +8 -0
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -43,8 +43,8 @@ declare const ComponentSchema: {
|
|
|
43
43
|
readonly type: "string";
|
|
44
44
|
readonly minLength: 2;
|
|
45
45
|
readonly maxLength: 100;
|
|
46
|
-
readonly pattern: "([a-z
|
|
47
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
46
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
47
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
48
48
|
};
|
|
49
49
|
readonly version: {
|
|
50
50
|
readonly "x-order": 3;
|
|
@@ -130,8 +130,8 @@ declare const ComponentSchema: {
|
|
|
130
130
|
readonly type: "string";
|
|
131
131
|
readonly minLength: 2;
|
|
132
132
|
readonly maxLength: 100;
|
|
133
|
-
readonly pattern: "([a-z
|
|
134
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
133
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
134
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
135
135
|
};
|
|
136
136
|
readonly version: {
|
|
137
137
|
readonly description: "Version of the model definition.";
|
|
@@ -366,7 +366,7 @@ declare const ComponentSchema: {
|
|
|
366
366
|
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";
|
|
367
367
|
readonly additionalProperties: false;
|
|
368
368
|
readonly type: "object";
|
|
369
|
-
readonly required: readonly ["id", "name", "description", "organization_id"];
|
|
369
|
+
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
370
370
|
readonly properties: {
|
|
371
371
|
readonly id: {
|
|
372
372
|
readonly description: "ID";
|
|
@@ -383,12 +383,27 @@ declare const ComponentSchema: {
|
|
|
383
383
|
readonly path: "github.com/gofrs/uuid";
|
|
384
384
|
};
|
|
385
385
|
};
|
|
386
|
+
readonly schemaVersion: {
|
|
387
|
+
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
388
|
+
readonly "x-order": 2;
|
|
389
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
390
|
+
readonly yaml: "schemaVersion";
|
|
391
|
+
readonly db: "-";
|
|
392
|
+
readonly gorm: "-";
|
|
393
|
+
};
|
|
394
|
+
readonly default: "environments.meshery.io/v1beta1";
|
|
395
|
+
readonly type: "string";
|
|
396
|
+
readonly minLength: 2;
|
|
397
|
+
readonly maxLength: 100;
|
|
398
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
399
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
400
|
+
};
|
|
386
401
|
readonly name: {
|
|
387
402
|
readonly "x-oapi-codegen-extra-tags": {
|
|
388
403
|
readonly db: "name";
|
|
389
404
|
readonly yaml: "name";
|
|
390
405
|
};
|
|
391
|
-
readonly "x-order":
|
|
406
|
+
readonly "x-order": 3;
|
|
392
407
|
readonly type: "string";
|
|
393
408
|
readonly description: "Environment name";
|
|
394
409
|
};
|
|
@@ -397,7 +412,7 @@ declare const ComponentSchema: {
|
|
|
397
412
|
readonly db: "description";
|
|
398
413
|
readonly yaml: "description";
|
|
399
414
|
};
|
|
400
|
-
readonly "x-order":
|
|
415
|
+
readonly "x-order": 4;
|
|
401
416
|
readonly type: "string";
|
|
402
417
|
readonly description: "Environment description";
|
|
403
418
|
};
|
|
@@ -407,7 +422,7 @@ declare const ComponentSchema: {
|
|
|
407
422
|
readonly db: "organization_id";
|
|
408
423
|
readonly yaml: "organization_id";
|
|
409
424
|
};
|
|
410
|
-
readonly "x-order":
|
|
425
|
+
readonly "x-order": 5;
|
|
411
426
|
readonly description: "Environment organization ID";
|
|
412
427
|
readonly type: "string";
|
|
413
428
|
readonly format: "uuid";
|
|
@@ -421,7 +436,7 @@ declare const ComponentSchema: {
|
|
|
421
436
|
readonly db: "owner";
|
|
422
437
|
readonly yaml: "owner";
|
|
423
438
|
};
|
|
424
|
-
readonly "x-order":
|
|
439
|
+
readonly "x-order": 6;
|
|
425
440
|
readonly description: "Environment owner";
|
|
426
441
|
readonly type: "string";
|
|
427
442
|
readonly format: "uuid";
|
|
@@ -435,7 +450,7 @@ declare const ComponentSchema: {
|
|
|
435
450
|
readonly db: "created_at";
|
|
436
451
|
readonly yaml: "created_at";
|
|
437
452
|
};
|
|
438
|
-
readonly "x-order":
|
|
453
|
+
readonly "x-order": 7;
|
|
439
454
|
readonly type: "string";
|
|
440
455
|
readonly format: "date-time";
|
|
441
456
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
@@ -445,7 +460,7 @@ declare const ComponentSchema: {
|
|
|
445
460
|
readonly db: "metadata";
|
|
446
461
|
readonly yaml: "metadata";
|
|
447
462
|
};
|
|
448
|
-
readonly "x-order":
|
|
463
|
+
readonly "x-order": 8;
|
|
449
464
|
readonly "x-go-type": "core.Map";
|
|
450
465
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
451
466
|
readonly type: "object";
|
|
@@ -455,7 +470,7 @@ declare const ComponentSchema: {
|
|
|
455
470
|
readonly db: "updated_at";
|
|
456
471
|
readonly yaml: "updated_at";
|
|
457
472
|
};
|
|
458
|
-
readonly "x-order":
|
|
473
|
+
readonly "x-order": 9;
|
|
459
474
|
readonly type: "string";
|
|
460
475
|
readonly format: "date-time";
|
|
461
476
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
@@ -467,7 +482,7 @@ declare const ComponentSchema: {
|
|
|
467
482
|
};
|
|
468
483
|
readonly "x-go-type": "core.NullTime";
|
|
469
484
|
readonly "x-go-import": "database/sql";
|
|
470
|
-
readonly "x-order":
|
|
485
|
+
readonly "x-order": 10;
|
|
471
486
|
readonly type: "string";
|
|
472
487
|
readonly format: "date-time";
|
|
473
488
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
@@ -494,8 +509,8 @@ declare const ComponentSchema: {
|
|
|
494
509
|
readonly type: "string";
|
|
495
510
|
readonly minLength: 2;
|
|
496
511
|
readonly maxLength: 100;
|
|
497
|
-
readonly pattern: "([a-z
|
|
498
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
512
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
513
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
499
514
|
};
|
|
500
515
|
};
|
|
501
516
|
};
|
|
@@ -629,8 +644,8 @@ declare const ComponentSchema: {
|
|
|
629
644
|
readonly type: "string";
|
|
630
645
|
readonly minLength: 2;
|
|
631
646
|
readonly maxLength: 100;
|
|
632
|
-
readonly pattern: "([a-z
|
|
633
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
647
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
648
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
634
649
|
};
|
|
635
650
|
readonly version: {
|
|
636
651
|
readonly description: "Version of the capability definition.";
|
|
@@ -1390,8 +1405,8 @@ declare const ComponentSchema: {
|
|
|
1390
1405
|
readonly type: "string";
|
|
1391
1406
|
readonly minLength: 2;
|
|
1392
1407
|
readonly maxLength: 100;
|
|
1393
|
-
readonly pattern: "([a-z
|
|
1394
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
1408
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1409
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1395
1410
|
};
|
|
1396
1411
|
readonly version: {
|
|
1397
1412
|
readonly description: "Version of the capability definition.";
|
|
@@ -43,8 +43,8 @@ declare const ComponentSchema: {
|
|
|
43
43
|
readonly type: "string";
|
|
44
44
|
readonly minLength: 2;
|
|
45
45
|
readonly maxLength: 100;
|
|
46
|
-
readonly pattern: "([a-z
|
|
47
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
46
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
47
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
48
48
|
};
|
|
49
49
|
readonly version: {
|
|
50
50
|
readonly "x-order": 3;
|
|
@@ -130,8 +130,8 @@ declare const ComponentSchema: {
|
|
|
130
130
|
readonly type: "string";
|
|
131
131
|
readonly minLength: 2;
|
|
132
132
|
readonly maxLength: 100;
|
|
133
|
-
readonly pattern: "([a-z
|
|
134
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
133
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
134
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
135
135
|
};
|
|
136
136
|
readonly version: {
|
|
137
137
|
readonly description: "Version of the model definition.";
|
|
@@ -366,7 +366,7 @@ declare const ComponentSchema: {
|
|
|
366
366
|
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";
|
|
367
367
|
readonly additionalProperties: false;
|
|
368
368
|
readonly type: "object";
|
|
369
|
-
readonly required: readonly ["id", "name", "description", "organization_id"];
|
|
369
|
+
readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
|
|
370
370
|
readonly properties: {
|
|
371
371
|
readonly id: {
|
|
372
372
|
readonly description: "ID";
|
|
@@ -383,12 +383,27 @@ declare const ComponentSchema: {
|
|
|
383
383
|
readonly path: "github.com/gofrs/uuid";
|
|
384
384
|
};
|
|
385
385
|
};
|
|
386
|
+
readonly schemaVersion: {
|
|
387
|
+
readonly description: "Specifies the version of the schema to which the environment conforms.";
|
|
388
|
+
readonly "x-order": 2;
|
|
389
|
+
readonly "x-oapi-codegen-extra-tags": {
|
|
390
|
+
readonly yaml: "schemaVersion";
|
|
391
|
+
readonly db: "-";
|
|
392
|
+
readonly gorm: "-";
|
|
393
|
+
};
|
|
394
|
+
readonly default: "environments.meshery.io/v1beta1";
|
|
395
|
+
readonly type: "string";
|
|
396
|
+
readonly minLength: 2;
|
|
397
|
+
readonly maxLength: 100;
|
|
398
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
399
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
400
|
+
};
|
|
386
401
|
readonly name: {
|
|
387
402
|
readonly "x-oapi-codegen-extra-tags": {
|
|
388
403
|
readonly db: "name";
|
|
389
404
|
readonly yaml: "name";
|
|
390
405
|
};
|
|
391
|
-
readonly "x-order":
|
|
406
|
+
readonly "x-order": 3;
|
|
392
407
|
readonly type: "string";
|
|
393
408
|
readonly description: "Environment name";
|
|
394
409
|
};
|
|
@@ -397,7 +412,7 @@ declare const ComponentSchema: {
|
|
|
397
412
|
readonly db: "description";
|
|
398
413
|
readonly yaml: "description";
|
|
399
414
|
};
|
|
400
|
-
readonly "x-order":
|
|
415
|
+
readonly "x-order": 4;
|
|
401
416
|
readonly type: "string";
|
|
402
417
|
readonly description: "Environment description";
|
|
403
418
|
};
|
|
@@ -407,7 +422,7 @@ declare const ComponentSchema: {
|
|
|
407
422
|
readonly db: "organization_id";
|
|
408
423
|
readonly yaml: "organization_id";
|
|
409
424
|
};
|
|
410
|
-
readonly "x-order":
|
|
425
|
+
readonly "x-order": 5;
|
|
411
426
|
readonly description: "Environment organization ID";
|
|
412
427
|
readonly type: "string";
|
|
413
428
|
readonly format: "uuid";
|
|
@@ -421,7 +436,7 @@ declare const ComponentSchema: {
|
|
|
421
436
|
readonly db: "owner";
|
|
422
437
|
readonly yaml: "owner";
|
|
423
438
|
};
|
|
424
|
-
readonly "x-order":
|
|
439
|
+
readonly "x-order": 6;
|
|
425
440
|
readonly description: "Environment owner";
|
|
426
441
|
readonly type: "string";
|
|
427
442
|
readonly format: "uuid";
|
|
@@ -435,7 +450,7 @@ declare const ComponentSchema: {
|
|
|
435
450
|
readonly db: "created_at";
|
|
436
451
|
readonly yaml: "created_at";
|
|
437
452
|
};
|
|
438
|
-
readonly "x-order":
|
|
453
|
+
readonly "x-order": 7;
|
|
439
454
|
readonly type: "string";
|
|
440
455
|
readonly format: "date-time";
|
|
441
456
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
@@ -445,7 +460,7 @@ declare const ComponentSchema: {
|
|
|
445
460
|
readonly db: "metadata";
|
|
446
461
|
readonly yaml: "metadata";
|
|
447
462
|
};
|
|
448
|
-
readonly "x-order":
|
|
463
|
+
readonly "x-order": 8;
|
|
449
464
|
readonly "x-go-type": "core.Map";
|
|
450
465
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
451
466
|
readonly type: "object";
|
|
@@ -455,7 +470,7 @@ declare const ComponentSchema: {
|
|
|
455
470
|
readonly db: "updated_at";
|
|
456
471
|
readonly yaml: "updated_at";
|
|
457
472
|
};
|
|
458
|
-
readonly "x-order":
|
|
473
|
+
readonly "x-order": 9;
|
|
459
474
|
readonly type: "string";
|
|
460
475
|
readonly format: "date-time";
|
|
461
476
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
@@ -467,7 +482,7 @@ declare const ComponentSchema: {
|
|
|
467
482
|
};
|
|
468
483
|
readonly "x-go-type": "core.NullTime";
|
|
469
484
|
readonly "x-go-import": "database/sql";
|
|
470
|
-
readonly "x-order":
|
|
485
|
+
readonly "x-order": 10;
|
|
471
486
|
readonly type: "string";
|
|
472
487
|
readonly format: "date-time";
|
|
473
488
|
readonly "x-go-type-skip-optional-pointer": true;
|
|
@@ -494,8 +509,8 @@ declare const ComponentSchema: {
|
|
|
494
509
|
readonly type: "string";
|
|
495
510
|
readonly minLength: 2;
|
|
496
511
|
readonly maxLength: 100;
|
|
497
|
-
readonly pattern: "([a-z
|
|
498
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
512
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
513
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
499
514
|
};
|
|
500
515
|
};
|
|
501
516
|
};
|
|
@@ -629,8 +644,8 @@ declare const ComponentSchema: {
|
|
|
629
644
|
readonly type: "string";
|
|
630
645
|
readonly minLength: 2;
|
|
631
646
|
readonly maxLength: 100;
|
|
632
|
-
readonly pattern: "([a-z
|
|
633
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
647
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
648
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
634
649
|
};
|
|
635
650
|
readonly version: {
|
|
636
651
|
readonly description: "Version of the capability definition.";
|
|
@@ -1390,8 +1405,8 @@ declare const ComponentSchema: {
|
|
|
1390
1405
|
readonly type: "string";
|
|
1391
1406
|
readonly minLength: 2;
|
|
1392
1407
|
readonly maxLength: 100;
|
|
1393
|
-
readonly pattern: "([a-z
|
|
1394
|
-
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
|
|
1408
|
+
readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
|
|
1409
|
+
readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
|
|
1395
1410
|
};
|
|
1396
1411
|
readonly version: {
|
|
1397
1412
|
readonly description: "Version of the capability definition.";
|