tychat-contracts 1.0.69 → 1.0.70

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.
@@ -8,6 +8,7 @@ export declare class TenantPublicByAddressResponseDto {
8
8
  status: 'active' | 'inactive';
9
9
  dokploy_frontend_host: string;
10
10
  dokploy_backend_host: string;
11
+ dokploy_doctor_host: string;
11
12
  logoWhite: string;
12
13
  logoDark: string;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tenant-public-by-address-response.dto.d.ts","sourceRoot":"","sources":["../../src/tenants/tenant-public-by-address-response.dto.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,gCAAgC;IAE3C,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAO9B,qBAAqB,EAAE,MAAM,CAAC;IAO9B,oBAAoB,EAAE,MAAM,CAAC;IAO7B,SAAS,EAAE,MAAM,CAAC;IAOlB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"tenant-public-by-address-response.dto.d.ts","sourceRoot":"","sources":["../../src/tenants/tenant-public-by-address-response.dto.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,qBAAa,gCAAgC;IAE3C,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAO9B,qBAAqB,EAAE,MAAM,CAAC;IAO9B,oBAAoB,EAAE,MAAM,CAAC;IAO7B,mBAAmB,EAAE,MAAM,CAAC;IAO5B,SAAS,EAAE,MAAM,CAAC;IAOlB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
@@ -21,6 +21,7 @@ class TenantPublicByAddressResponseDto {
21
21
  status;
22
22
  dokploy_frontend_host;
23
23
  dokploy_backend_host;
24
+ dokploy_doctor_host;
24
25
  logoWhite;
25
26
  logoDark;
26
27
  }
@@ -57,14 +58,21 @@ __decorate([
57
58
  ], TenantPublicByAddressResponseDto.prototype, "dokploy_backend_host", void 0);
58
59
  __decorate([
59
60
  (0, swagger_1.ApiProperty)({
60
- description: 'URL da logo do tenant para fundo claro',
61
+ description: 'Effective doctor hostname (custom dokploy_doctor_host or default slug-doctor.tychat.app)',
62
+ example: 'acme-doctor.tychat.app',
63
+ }),
64
+ __metadata("design:type", String)
65
+ ], TenantPublicByAddressResponseDto.prototype, "dokploy_doctor_host", void 0);
66
+ __decorate([
67
+ (0, swagger_1.ApiProperty)({
68
+ description: 'URL of tenant logo for light background',
61
69
  example: 'https://cdn.seusistema.com/tenants/acme-logo-white.png',
62
70
  }),
63
71
  __metadata("design:type", String)
64
72
  ], TenantPublicByAddressResponseDto.prototype, "logoWhite", void 0);
65
73
  __decorate([
66
74
  (0, swagger_1.ApiProperty)({
67
- description: 'URL da logo do tenant para fundo escuro',
75
+ description: 'URL of tenant logo for dark background',
68
76
  example: 'https://cdn.seusistema.com/tenants/acme-logo-dark.png',
69
77
  }),
70
78
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tychat-contracts",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "description": "DTOs compartilhados com class-validator (API e microserviços)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,14 +32,21 @@ export class TenantPublicByAddressResponseDto {
32
32
 
33
33
  @ApiProperty({
34
34
  description:
35
- 'URL da logo do tenant para fundo claro',
35
+ 'Effective doctor hostname (custom dokploy_doctor_host or default slug-doctor.tychat.app)',
36
+ example: 'acme-doctor.tychat.app',
37
+ })
38
+ dokploy_doctor_host: string;
39
+
40
+ @ApiProperty({
41
+ description:
42
+ 'URL of tenant logo for light background',
36
43
  example: 'https://cdn.seusistema.com/tenants/acme-logo-white.png',
37
44
  })
38
45
  logoWhite: string;
39
46
 
40
47
  @ApiProperty({
41
48
  description:
42
- 'URL da logo do tenant para fundo escuro',
49
+ 'URL of tenant logo for dark background',
43
50
  example: 'https://cdn.seusistema.com/tenants/acme-logo-dark.png',
44
51
  })
45
52
  logoDark: string;