@hosterai/types 0.0.32 → 0.0.33

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.
@@ -16,13 +16,6 @@ export declare class InfoDto {
16
16
  * @example "My Awesome Integration"
17
17
  */
18
18
  title: string;
19
- /**
20
- * The unique name of the integration.
21
- * It must consist of only lowercase English letters, dash, and numbers.
22
- * It must be unique across the entire HosterAI project.
23
- * @example "example-product"
24
- */
25
- uniqueName: string;
26
19
  /**
27
20
  * The URL of the integration's logo.
28
21
  * @example "https://example.com/logo.png"
@@ -43,17 +43,6 @@ __decorate([
43
43
  }),
44
44
  __metadata("design:type", String)
45
45
  ], InfoDto.prototype, "title", void 0);
46
- __decorate([
47
- (0, class_validator_1.IsString)(),
48
- (0, class_validator_1.IsNotEmpty)(),
49
- (0, class_validator_jsonschema_1.JSONSchema)({
50
- title: 'Unique Name',
51
- description: 'Unique name of the integration.',
52
- type: 'string',
53
- example: 'example-product',
54
- }),
55
- __metadata("design:type", String)
56
- ], InfoDto.prototype, "uniqueName", void 0);
57
46
  __decorate([
58
47
  (0, class_validator_1.IsUrl)({ protocols: ['https'], require_protocol: true }),
59
48
  (0, class_validator_1.IsOptional)(),
@@ -566,13 +566,6 @@ export declare const ComponentsSchemas: {
566
566
  readonly description: "Integration display title.";
567
567
  readonly example: "Example Product";
568
568
  };
569
- readonly uniqueName: {
570
- readonly minLength: 1;
571
- readonly type: "string";
572
- readonly title: "Unique Name";
573
- readonly description: "Unique name of the integration.";
574
- readonly example: "example-product";
575
- };
576
569
  readonly logo: {
577
570
  readonly format: "uri";
578
571
  readonly type: "string";
@@ -645,7 +638,7 @@ export declare const ComponentsSchemas: {
645
638
  };
646
639
  };
647
640
  readonly type: "object";
648
- readonly required: readonly ["title", "uniqueName", "supportedLanguages"];
641
+ readonly required: readonly ["title", "supportedLanguages"];
649
642
  };
650
643
  readonly UnitDto: {
651
644
  readonly properties: {
@@ -703,13 +696,6 @@ export declare const ComponentsSchemas: {
703
696
  readonly description: "Integration display title.";
704
697
  readonly example: "Example Product";
705
698
  };
706
- readonly uniqueName: {
707
- readonly minLength: 1;
708
- readonly type: "string";
709
- readonly title: "Unique Name";
710
- readonly description: "Unique name of the integration.";
711
- readonly example: "example-product";
712
- };
713
699
  readonly logo: {
714
700
  readonly format: "uri";
715
701
  readonly type: "string";
@@ -782,7 +768,7 @@ export declare const ComponentsSchemas: {
782
768
  };
783
769
  };
784
770
  readonly type: "object";
785
- readonly required: readonly ["type", "title", "uniqueName", "supportedLanguages"];
771
+ readonly required: readonly ["type", "title", "supportedLanguages"];
786
772
  };
787
773
  readonly AttributeFieldDto: {
788
774
  readonly properties: {
@@ -963,13 +949,6 @@ export declare const ComponentsSchemas: {
963
949
  readonly description: "Integration display title.";
964
950
  readonly example: "Example Product";
965
951
  };
966
- readonly uniqueName: {
967
- readonly minLength: 1;
968
- readonly type: "string";
969
- readonly title: "Unique Name";
970
- readonly description: "Unique name of the integration.";
971
- readonly example: "example-product";
972
- };
973
952
  readonly logo: {
974
953
  readonly format: "uri";
975
954
  readonly type: "string";
@@ -1042,6 +1021,6 @@ export declare const ComponentsSchemas: {
1042
1021
  };
1043
1022
  };
1044
1023
  readonly type: "object";
1045
- readonly required: readonly ["supportedActions", "title", "uniqueName", "supportedLanguages"];
1024
+ readonly required: readonly ["supportedActions", "title", "supportedLanguages"];
1046
1025
  };
1047
1026
  };
@@ -1090,13 +1090,6 @@ exports.ComponentsSchemas = {
1090
1090
  "description": "Integration display title.",
1091
1091
  "example": "Example Product"
1092
1092
  },
1093
- "uniqueName": {
1094
- "minLength": 1,
1095
- "type": "string",
1096
- "title": "Unique Name",
1097
- "description": "Unique name of the integration.",
1098
- "example": "example-product"
1099
- },
1100
1093
  "logo": {
1101
1094
  "format": "uri",
1102
1095
  "type": "string",
@@ -1591,7 +1584,6 @@ exports.ComponentsSchemas = {
1591
1584
  "type": "object",
1592
1585
  "required": [
1593
1586
  "title",
1594
- "uniqueName",
1595
1587
  "supportedLanguages"
1596
1588
  ]
1597
1589
  },
@@ -1661,13 +1653,6 @@ exports.ComponentsSchemas = {
1661
1653
  "description": "Integration display title.",
1662
1654
  "example": "Example Product"
1663
1655
  },
1664
- "uniqueName": {
1665
- "minLength": 1,
1666
- "type": "string",
1667
- "title": "Unique Name",
1668
- "description": "Unique name of the integration.",
1669
- "example": "example-product"
1670
- },
1671
1656
  "logo": {
1672
1657
  "format": "uri",
1673
1658
  "type": "string",
@@ -2163,7 +2148,6 @@ exports.ComponentsSchemas = {
2163
2148
  "required": [
2164
2149
  "type",
2165
2150
  "title",
2166
- "uniqueName",
2167
2151
  "supportedLanguages"
2168
2152
  ]
2169
2153
  },
@@ -2379,13 +2363,6 @@ exports.ComponentsSchemas = {
2379
2363
  "description": "Integration display title.",
2380
2364
  "example": "Example Product"
2381
2365
  },
2382
- "uniqueName": {
2383
- "minLength": 1,
2384
- "type": "string",
2385
- "title": "Unique Name",
2386
- "description": "Unique name of the integration.",
2387
- "example": "example-product"
2388
- },
2389
2366
  "logo": {
2390
2367
  "format": "uri",
2391
2368
  "type": "string",
@@ -2881,7 +2858,6 @@ exports.ComponentsSchemas = {
2881
2858
  "required": [
2882
2859
  "supportedActions",
2883
2860
  "title",
2884
- "uniqueName",
2885
2861
  "supportedLanguages"
2886
2862
  ]
2887
2863
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hosterai/types",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {