@escapenavigator/types 2.0.26 → 2.0.27
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/agregator/agregator-questroom.ro.d.ts +0 -8
- package/dist/agregator/agregator-questroom.ro.js +0 -4
- package/dist/city/city.ro.d.ts +0 -2
- package/dist/city/update-city.dto.d.ts +0 -2
- package/dist/city/update-city.dto.js +0 -6
- package/dist/google-calendar/google-calendar.ro.d.ts +5 -0
- package/dist/google-calendar/google-calendar.ro.js +4 -0
- package/dist/profile/marketing-email/test-send-email-v2.dto.d.ts +10 -0
- package/dist/profile/marketing-email/test-send-email-v2.dto.js +7 -0
- package/dist/profile/profile-sms/dto/send-client-email.dto.d.ts +6 -0
- package/dist/{partners-portal/create-portal-material-order.dto.js → profile/profile-sms/dto/send-client-email.dto.js} +13 -15
- package/dist/profile/profile-sms/dto/send-client-sms.dto.d.ts +9 -0
- package/dist/{city-quest/import-city-quest.dto.js → profile/profile-sms/dto/send-client-sms.dto.js} +11 -10
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upload/enum/image-type.enum.d.ts +1 -4
- package/dist/upload/enum/image-type.enum.js +0 -3
- package/dist/user/task/user-task.dto.d.ts +1 -0
- package/dist/user/task/user-task.dto.js +5 -0
- package/dist/user/task/user-task.ro.d.ts +7 -0
- package/dist/user/task/user-task.ro.js +23 -0
- package/package.json +2 -2
- package/dist/agregator/agregator-outdoor.ro.d.ts +0 -111
- package/dist/agregator/agregator-outdoor.ro.js +0 -11
- package/dist/city-attraction/attraction-content-languages.d.ts +0 -5
- package/dist/city-attraction/attraction-content-languages.js +0 -15
- package/dist/city-attraction/attraction-content-prompt-version.d.ts +0 -1
- package/dist/city-attraction/attraction-content-prompt-version.js +0 -5
- package/dist/city-attraction/attraction-content.d.ts +0 -24
- package/dist/city-attraction/attraction-content.js +0 -2
- package/dist/city-attraction/attraction-route-meta.d.ts +0 -21
- package/dist/city-attraction/attraction-route-meta.js +0 -2
- package/dist/city-attraction/attraction-triage.d.ts +0 -29
- package/dist/city-attraction/attraction-triage.js +0 -41
- package/dist/city-attraction/city-attraction-artifact.ro.d.ts +0 -19
- package/dist/city-attraction/city-attraction-artifact.ro.js +0 -2
- package/dist/city-attraction/city-attraction-locale.ro.d.ts +0 -18
- package/dist/city-attraction/city-attraction-locale.ro.js +0 -2
- package/dist/city-attraction/city-attraction.ro.d.ts +0 -57
- package/dist/city-attraction/city-attraction.ro.js +0 -2
- package/dist/city-attraction/create-city-attraction.dto.d.ts +0 -41
- package/dist/city-attraction/create-city-attraction.dto.js +0 -221
- package/dist/city-attraction/enum/attraction-artifact-kind.enum.d.ts +0 -13
- package/dist/city-attraction/enum/attraction-artifact-kind.enum.js +0 -17
- package/dist/city-attraction/enum/attraction-category.enum.d.ts +0 -21
- package/dist/city-attraction/enum/attraction-category.enum.js +0 -25
- package/dist/city-attraction/enum/attraction-fame.enum.d.ts +0 -10
- package/dist/city-attraction/enum/attraction-fame.enum.js +0 -14
- package/dist/city-attraction/enum/attraction-fun-fact-kind.enum.d.ts +0 -4
- package/dist/city-attraction/enum/attraction-fun-fact-kind.enum.js +0 -8
- package/dist/city-attraction/enum/attraction-indoor-outdoor.enum.d.ts +0 -5
- package/dist/city-attraction/enum/attraction-indoor-outdoor.enum.js +0 -9
- package/dist/city-attraction/enum/attraction-locale-status.enum.d.ts +0 -11
- package/dist/city-attraction/enum/attraction-locale-status.enum.js +0 -15
- package/dist/city-attraction/enum/attraction-review-status.enum.d.ts +0 -12
- package/dist/city-attraction/enum/attraction-review-status.enum.js +0 -16
- package/dist/city-attraction/enum/attraction-route-role.enum.d.ts +0 -11
- package/dist/city-attraction/enum/attraction-route-role.enum.js +0 -15
- package/dist/city-attraction/enum/attraction-source.enum.d.ts +0 -12
- package/dist/city-attraction/enum/attraction-source.enum.js +0 -16
- package/dist/city-attraction/generate-attraction-audio.dto.d.ts +0 -10
- package/dist/city-attraction/generate-attraction-audio.dto.js +0 -45
- package/dist/city-attraction/generate-attraction-audio.ro.d.ts +0 -3
- package/dist/city-attraction/generate-attraction-audio.ro.js +0 -2
- package/dist/city-attraction/moderate-city-attraction.dto.d.ts +0 -5
- package/dist/city-attraction/moderate-city-attraction.dto.js +0 -29
- package/dist/city-attraction/update-city-attraction.dto.d.ts +0 -5
- package/dist/city-attraction/update-city-attraction.dto.js +0 -8
- package/dist/city-attraction/upsert-city-attraction-artifact.dto.d.ts +0 -19
- package/dist/city-attraction/upsert-city-attraction-artifact.dto.js +0 -104
- package/dist/city-attraction/upsert-city-attraction-locale.dto.d.ts +0 -16
- package/dist/city-attraction/upsert-city-attraction-locale.dto.js +0 -75
- package/dist/city-person/city-person-attraction-link.dto.d.ts +0 -12
- package/dist/city-person/city-person-attraction-link.dto.js +0 -61
- package/dist/city-person/city-person-attraction-link.ro.d.ts +0 -15
- package/dist/city-person/city-person-attraction-link.ro.js +0 -2
- package/dist/city-person/city-person-locale.ro.d.ts +0 -15
- package/dist/city-person/city-person-locale.ro.js +0 -2
- package/dist/city-person/city-person.ro.d.ts +0 -46
- package/dist/city-person/city-person.ro.js +0 -2
- package/dist/city-person/create-city-person.dto.d.ts +0 -29
- package/dist/city-person/create-city-person.dto.js +0 -148
- package/dist/city-person/enum/person-attraction-role.enum.d.ts +0 -8
- package/dist/city-person/enum/person-attraction-role.enum.js +0 -12
- package/dist/city-person/enum/person-domain.enum.d.ts +0 -15
- package/dist/city-person/enum/person-domain.enum.js +0 -19
- package/dist/city-person/enum/person-fact-kind.enum.d.ts +0 -7
- package/dist/city-person/enum/person-fact-kind.enum.js +0 -11
- package/dist/city-person/enum/person-locale-status.enum.d.ts +0 -8
- package/dist/city-person/enum/person-locale-status.enum.js +0 -12
- package/dist/city-person/enum/person-occupation.enum.d.ts +0 -27
- package/dist/city-person/enum/person-occupation.enum.js +0 -31
- package/dist/city-person/enum/person-recognition.enum.d.ts +0 -9
- package/dist/city-person/enum/person-recognition.enum.js +0 -13
- package/dist/city-person/enum/person-review-status.enum.d.ts +0 -11
- package/dist/city-person/enum/person-review-status.enum.js +0 -15
- package/dist/city-person/enum/person-source.enum.d.ts +0 -7
- package/dist/city-person/enum/person-source.enum.js +0 -11
- package/dist/city-person/moderate-city-person.dto.d.ts +0 -5
- package/dist/city-person/moderate-city-person.dto.js +0 -29
- package/dist/city-person/person-attraction-facts.d.ts +0 -3
- package/dist/city-person/person-attraction-facts.js +0 -2
- package/dist/city-person/person-content-languages.d.ts +0 -5
- package/dist/city-person/person-content-languages.js +0 -15
- package/dist/city-person/person-content-prompt-version.d.ts +0 -2
- package/dist/city-person/person-content-prompt-version.js +0 -5
- package/dist/city-person/person-domain-color.d.ts +0 -20
- package/dist/city-person/person-domain-color.js +0 -78
- package/dist/city-person/person-locale-fact.d.ts +0 -7
- package/dist/city-person/person-locale-fact.js +0 -2
- package/dist/city-person/update-city-person.dto.d.ts +0 -5
- package/dist/city-person/update-city-person.dto.js +0 -8
- package/dist/city-person/upsert-city-person-locale.dto.d.ts +0 -21
- package/dist/city-person/upsert-city-person-locale.dto.js +0 -89
- package/dist/city-person/wikidata-autolink.d.ts +0 -23
- package/dist/city-person/wikidata-autolink.js +0 -23
- package/dist/city-quest/bind-city-quest.dto.d.ts +0 -4
- package/dist/city-quest/bind-city-quest.dto.js +0 -22
- package/dist/city-quest/city-quest-content.d.ts +0 -175
- package/dist/city-quest/city-quest-content.js +0 -2
- package/dist/city-quest/city-quest-locale-content.d.ts +0 -35
- package/dist/city-quest/city-quest-locale-content.js +0 -2
- package/dist/city-quest/city-quest-locale.ro.d.ts +0 -12
- package/dist/city-quest/city-quest-locale.ro.js +0 -2
- package/dist/city-quest/city-quest.ro.d.ts +0 -40
- package/dist/city-quest/city-quest.ro.js +0 -114
- package/dist/city-quest/enum/city-quest-locale-status.enum.d.ts +0 -11
- package/dist/city-quest/enum/city-quest-locale-status.enum.js +0 -15
- package/dist/city-quest/enum/city-quest-play-phase.enum.d.ts +0 -6
- package/dist/city-quest/enum/city-quest-play-phase.enum.js +0 -10
- package/dist/city-quest/enum/city-quest-session-event-type.enum.d.ts +0 -18
- package/dist/city-quest/enum/city-quest-session-event-type.enum.js +0 -22
- package/dist/city-quest/enum/city-quest-session-status.enum.d.ts +0 -5
- package/dist/city-quest/enum/city-quest-session-status.enum.js +0 -9
- package/dist/city-quest/enum/city-quest-status.enum.d.ts +0 -12
- package/dist/city-quest/enum/city-quest-status.enum.js +0 -16
- package/dist/city-quest/import-city-quest.dto.d.ts +0 -6
- package/dist/city-quest/quest-content-languages.d.ts +0 -5
- package/dist/city-quest/quest-content-languages.js +0 -14
- package/dist/city-quest/update-city-quest-content.dto.d.ts +0 -5
- package/dist/city-quest/update-city-quest-content.dto.js +0 -23
- package/dist/city-quest/update-city-quest-stop.dto.d.ts +0 -9
- package/dist/city-quest/update-city-quest-stop.dto.js +0 -45
- package/dist/city-quest/update-city-quest.dto.d.ts +0 -14
- package/dist/city-quest/update-city-quest.dto.js +0 -55
- package/dist/city-quest/upsert-city-quest-asset.dto.d.ts +0 -11
- package/dist/city-quest/upsert-city-quest-asset.dto.js +0 -40
- package/dist/city-quest/upsert-city-quest-locale.dto.d.ts +0 -10
- package/dist/city-quest/upsert-city-quest-locale.dto.js +0 -48
- package/dist/city-ready-route/city-ready-route-locale.ro.d.ts +0 -9
- package/dist/city-ready-route/city-ready-route-locale.ro.js +0 -2
- package/dist/city-ready-route/city-ready-route-stop.ro.d.ts +0 -24
- package/dist/city-ready-route/city-ready-route-stop.ro.js +0 -2
- package/dist/city-ready-route/city-ready-route.ro.d.ts +0 -22
- package/dist/city-ready-route/city-ready-route.ro.js +0 -2
- package/dist/city-ready-route/create-city-ready-route.dto.d.ts +0 -15
- package/dist/city-ready-route/create-city-ready-route.dto.js +0 -90
- package/dist/city-ready-route/enum/ready-route-status.enum.d.ts +0 -4
- package/dist/city-ready-route/enum/ready-route-status.enum.js +0 -8
- package/dist/city-ready-route/enum/ready-route-stop-kind.enum.d.ts +0 -4
- package/dist/city-ready-route/enum/ready-route-stop-kind.enum.js +0 -8
- package/dist/city-ready-route/estimate-ready-route-path.dto.d.ts +0 -14
- package/dist/city-ready-route/estimate-ready-route-path.dto.js +0 -39
- package/dist/city-ready-route/generate-ready-route-stop-audio.dto.d.ts +0 -13
- package/dist/city-ready-route/generate-ready-route-stop-audio.dto.js +0 -45
- package/dist/city-ready-route/ready-route-map-pool.ro.d.ts +0 -28
- package/dist/city-ready-route/ready-route-map-pool.ro.js +0 -2
- package/dist/city-ready-route/ready-route-stop-content.d.ts +0 -14
- package/dist/city-ready-route/ready-route-stop-content.js +0 -2
- package/dist/city-ready-route/update-city-ready-route.dto.d.ts +0 -5
- package/dist/city-ready-route/update-city-ready-route.dto.js +0 -8
- package/dist/city-ready-route/upsert-city-ready-route-locale.dto.d.ts +0 -7
- package/dist/city-ready-route/upsert-city-ready-route-locale.dto.js +0 -41
- package/dist/city-ready-route/upsert-city-ready-route-stop.dto.d.ts +0 -18
- package/dist/city-ready-route/upsert-city-ready-route-stop.dto.js +0 -86
- package/dist/openapi/city-player/city-entitlement.dto.d.ts +0 -23
- package/dist/openapi/city-player/city-entitlement.dto.js +0 -81
- package/dist/openapi/city-player/city-explore.ro.d.ts +0 -111
- package/dist/openapi/city-player/city-explore.ro.js +0 -2
- package/dist/openapi/city-player/city-player-apple-login.dto.d.ts +0 -11
- package/dist/openapi/city-player/city-player-apple-login.dto.js +0 -35
- package/dist/openapi/city-player/city-player-login.dto.d.ts +0 -8
- package/dist/openapi/city-player/city-player-login.dto.js +0 -27
- package/dist/openapi/city-player/city-player-request-code.dto.d.ts +0 -12
- package/dist/openapi/city-player/city-player-request-code.dto.js +0 -35
- package/dist/openapi/city-player/city-player-verify-code.dto.d.ts +0 -9
- package/dist/openapi/city-player/city-player-verify-code.dto.js +0 -32
- package/dist/openapi/city-player/city-player.ro.d.ts +0 -118
- package/dist/openapi/city-player/city-player.ro.js +0 -2
- package/dist/openapi/city-player/city-ready-route.ro.d.ts +0 -82
- package/dist/openapi/city-player/city-ready-route.ro.js +0 -2
- package/dist/openapi/city-player/free-route.d.ts +0 -35
- package/dist/openapi/city-player/free-route.js +0 -2
- package/dist/openapi/city-quest/play-answer.dto.d.ts +0 -5
- package/dist/openapi/city-quest/play-answer.dto.js +0 -30
- package/dist/openapi/city-quest/play-finale-choice.dto.d.ts +0 -3
- package/dist/openapi/city-quest/play-finale-choice.dto.js +0 -23
- package/dist/openapi/city-quest/play-hint.dto.d.ts +0 -3
- package/dist/openapi/city-quest/play-hint.dto.js +0 -22
- package/dist/openapi/city-quest/play-issue.dto.d.ts +0 -3
- package/dist/openapi/city-quest/play-issue.dto.js +0 -23
- package/dist/openapi/city-quest/play-start-session.dto.d.ts +0 -8
- package/dist/openapi/city-quest/play-start-session.dto.js +0 -41
- package/dist/openapi/city-quest/play-state.ro.d.ts +0 -201
- package/dist/openapi/city-quest/play-state.ro.js +0 -2
- package/dist/partners-portal/admin/admin-portal-partner.ro.d.ts +0 -10
- package/dist/partners-portal/admin/admin-portal-partner.ro.js +0 -2
- package/dist/partners-portal/admin/admin-update-portal-material-order.dto.d.ts +0 -5
- package/dist/partners-portal/admin/admin-update-portal-material-order.dto.js +0 -29
- package/dist/partners-portal/admin/admin-update-portal-partner.dto.d.ts +0 -6
- package/dist/partners-portal/admin/admin-update-portal-partner.dto.js +0 -37
- package/dist/partners-portal/create-partner-attraction.dto.d.ts +0 -33
- package/dist/partners-portal/create-partner-attraction.dto.js +0 -173
- package/dist/partners-portal/create-portal-material-order.dto.d.ts +0 -7
- package/dist/partners-portal/enum/portal-material-order-status.enum.d.ts +0 -7
- package/dist/partners-portal/enum/portal-material-order-status.enum.js +0 -11
- package/dist/partners-portal/enum/portal-partner-type.enum.d.ts +0 -6
- package/dist/partners-portal/enum/portal-partner-type.enum.js +0 -10
- package/dist/partners-portal/login-portal-partner.dto.d.ts +0 -4
- package/dist/partners-portal/login-portal-partner.dto.js +0 -28
- package/dist/partners-portal/partner-city-quest.dto.d.ts +0 -31
- package/dist/partners-portal/partner-city-quest.dto.js +0 -160
- package/dist/partners-portal/partner-city-quest.ro.d.ts +0 -11
- package/dist/partners-portal/partner-city-quest.ro.js +0 -2
- package/dist/partners-portal/portal-city-option.ro.d.ts +0 -7
- package/dist/partners-portal/portal-city-option.ro.js +0 -2
- package/dist/partners-portal/portal-material-order.ro.d.ts +0 -13
- package/dist/partners-portal/portal-material-order.ro.js +0 -2
- package/dist/partners-portal/portal-partner-email.dto.d.ts +0 -4
- package/dist/partners-portal/portal-partner-email.dto.js +0 -24
- package/dist/partners-portal/portal-partner.ro.d.ts +0 -25
- package/dist/partners-portal/portal-partner.ro.js +0 -2
- package/dist/partners-portal/portal-stats.ro.d.ts +0 -38
- package/dist/partners-portal/portal-stats.ro.js +0 -2
- package/dist/partners-portal/register-portal-partner.dto.d.ts +0 -12
- package/dist/partners-portal/register-portal-partner.dto.js +0 -52
- package/dist/partners-portal/reset-portal-partner-password.dto.d.ts +0 -6
- package/dist/partners-portal/reset-portal-partner-password.dto.js +0 -34
- package/dist/partners-portal/update-partner-attraction.dto.d.ts +0 -11
- package/dist/partners-portal/update-partner-attraction.dto.js +0 -35
- package/dist/partners-portal/update-portal-partner.dto.d.ts +0 -6
- package/dist/partners-portal/update-portal-partner.dto.js +0 -36
- package/dist/partners-portal/verify-portal-partner.dto.d.ts +0 -5
- package/dist/partners-portal/verify-portal-partner.dto.js +0 -29
- package/dist/shared/ai-cover.d.ts +0 -8
- package/dist/shared/ai-cover.js +0 -26
- package/dist/shared/city-pipeline.d.ts +0 -57
- package/dist/shared/city-pipeline.js +0 -64
- package/dist/shared/city-research.d.ts +0 -48
- package/dist/shared/city-research.js +0 -49
- package/dist/shared/content-batch.d.ts +0 -27
- package/dist/shared/content-batch.js +0 -41
- package/dist/shared/editorial-research.d.ts +0 -70
- package/dist/shared/editorial-research.js +0 -4
- package/dist/shared/fill-complete.d.ts +0 -26
- package/dist/shared/fill-complete.js +0 -46
- package/dist/shared/wikidata-enrichment.d.ts +0 -24
- package/dist/shared/wikidata-enrichment.js +0 -31
- package/dist/shared/wikidata-import.d.ts +0 -33
- package/dist/shared/wikidata-import.js +0 -53
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ReplaceCityAttractionArtifactsDto = exports.UpsertCityAttractionArtifactDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
|
-
const attraction_artifact_kind_enum_1 = require("./enum/attraction-artifact-kind.enum");
|
|
17
|
-
class UpsertCityAttractionArtifactDto {
|
|
18
|
-
}
|
|
19
|
-
exports.UpsertCityAttractionArtifactDto = UpsertCityAttractionArtifactDto;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsOptional)(),
|
|
22
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
23
|
-
(0, class_validator_1.IsInt)(),
|
|
24
|
-
(0, class_transformer_1.Expose)(),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], UpsertCityAttractionArtifactDto.prototype, "id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsEnum)(attraction_artifact_kind_enum_1.AttractionArtifactKindEnum),
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], UpsertCityAttractionArtifactDto.prototype, "kind", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
34
|
-
(0, class_transformer_1.Expose)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UpsertCityAttractionArtifactDto.prototype, "title", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], UpsertCityAttractionArtifactDto.prototype, "description", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
(0, class_validator_1.IsString)(),
|
|
46
|
-
(0, class_transformer_1.Expose)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], UpsertCityAttractionArtifactDto.prototype, "knownFor", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
(0, class_validator_1.IsString)(),
|
|
52
|
-
(0, class_transformer_1.Expose)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], UpsertCityAttractionArtifactDto.prototype, "findHint", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsOptional)(),
|
|
57
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
58
|
-
(0, class_validator_1.IsInt)(),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", Number)
|
|
61
|
-
], UpsertCityAttractionArtifactDto.prototype, "personId", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
(0, class_validator_1.IsString)(),
|
|
65
|
-
(0, class_transformer_1.Expose)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], UpsertCityAttractionArtifactDto.prototype, "wikidataId", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
(0, class_validator_1.IsArray)(),
|
|
71
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
72
|
-
(0, class_transformer_1.Expose)(),
|
|
73
|
-
__metadata("design:type", Array)
|
|
74
|
-
], UpsertCityAttractionArtifactDto.prototype, "photos", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, class_validator_1.IsOptional)(),
|
|
77
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
78
|
-
(0, class_validator_1.IsInt)(),
|
|
79
|
-
(0, class_validator_1.Min)(0),
|
|
80
|
-
(0, class_transformer_1.Expose)(),
|
|
81
|
-
__metadata("design:type", Number)
|
|
82
|
-
], UpsertCityAttractionArtifactDto.prototype, "sortOrder", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, class_validator_1.IsOptional)(),
|
|
85
|
-
(0, class_validator_1.IsBoolean)(),
|
|
86
|
-
(0, class_transformer_1.Expose)(),
|
|
87
|
-
__metadata("design:type", Boolean)
|
|
88
|
-
], UpsertCityAttractionArtifactDto.prototype, "archived", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_validator_1.IsObject)(),
|
|
92
|
-
(0, class_transformer_1.Expose)(),
|
|
93
|
-
__metadata("design:type", Object)
|
|
94
|
-
], UpsertCityAttractionArtifactDto.prototype, "titles", void 0);
|
|
95
|
-
class ReplaceCityAttractionArtifactsDto {
|
|
96
|
-
}
|
|
97
|
-
exports.ReplaceCityAttractionArtifactsDto = ReplaceCityAttractionArtifactsDto;
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, class_validator_1.IsArray)(),
|
|
100
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
101
|
-
(0, class_transformer_1.Type)(() => UpsertCityAttractionArtifactDto),
|
|
102
|
-
(0, class_transformer_1.Expose)(),
|
|
103
|
-
__metadata("design:type", Array)
|
|
104
|
-
], ReplaceCityAttractionArtifactsDto.prototype, "artifacts", void 0);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { AttractionContent } from './attraction-content';
|
|
3
|
-
import { AttractionLocaleStatusEnum } from './enum/attraction-locale-status.enum';
|
|
4
|
-
export declare class UpsertCityAttractionLocaleDto {
|
|
5
|
-
language: Languages;
|
|
6
|
-
title?: string;
|
|
7
|
-
description?: string | null;
|
|
8
|
-
knownFor?: string | null;
|
|
9
|
-
content?: AttractionContent | null;
|
|
10
|
-
guideAudioUrl?: string | null;
|
|
11
|
-
guideAudioDurationSec?: number | null;
|
|
12
|
-
status?: AttractionLocaleStatusEnum;
|
|
13
|
-
}
|
|
14
|
-
export declare class GenerateAttractionContentDto {
|
|
15
|
-
language: Languages;
|
|
16
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.GenerateAttractionContentDto = exports.UpsertCityAttractionLocaleDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
|
-
const attraction_locale_status_enum_1 = require("./enum/attraction-locale-status.enum");
|
|
17
|
-
class UpsertCityAttractionLocaleDto {
|
|
18
|
-
}
|
|
19
|
-
exports.UpsertCityAttractionLocaleDto = UpsertCityAttractionLocaleDto;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
22
|
-
(0, class_transformer_1.Expose)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], UpsertCityAttractionLocaleDto.prototype, "language", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsOptional)(),
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], UpsertCityAttractionLocaleDto.prototype, "title", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_transformer_1.Expose)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UpsertCityAttractionLocaleDto.prototype, "description", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, class_transformer_1.Expose)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], UpsertCityAttractionLocaleDto.prototype, "knownFor", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
(0, class_validator_1.IsObject)(),
|
|
46
|
-
(0, class_transformer_1.Expose)(),
|
|
47
|
-
__metadata("design:type", Object)
|
|
48
|
-
], UpsertCityAttractionLocaleDto.prototype, "content", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
(0, class_validator_1.IsString)(),
|
|
52
|
-
(0, class_transformer_1.Expose)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], UpsertCityAttractionLocaleDto.prototype, "guideAudioUrl", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, class_validator_1.IsOptional)(),
|
|
57
|
-
(0, class_validator_1.IsInt)(),
|
|
58
|
-
(0, class_validator_1.Min)(0),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", Number)
|
|
61
|
-
], UpsertCityAttractionLocaleDto.prototype, "guideAudioDurationSec", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
(0, class_validator_1.IsEnum)(attraction_locale_status_enum_1.AttractionLocaleStatusEnum),
|
|
65
|
-
(0, class_transformer_1.Expose)(),
|
|
66
|
-
__metadata("design:type", String)
|
|
67
|
-
], UpsertCityAttractionLocaleDto.prototype, "status", void 0);
|
|
68
|
-
class GenerateAttractionContentDto {
|
|
69
|
-
}
|
|
70
|
-
exports.GenerateAttractionContentDto = GenerateAttractionContentDto;
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
73
|
-
(0, class_transformer_1.Expose)(),
|
|
74
|
-
__metadata("design:type", String)
|
|
75
|
-
], GenerateAttractionContentDto.prototype, "language", void 0);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PersonAttractionRoleEnum } from './enum/person-attraction-role.enum';
|
|
2
|
-
import { PersonAttractionFactsByLang } from './person-attraction-facts';
|
|
3
|
-
export declare class CityPersonAttractionLinkDto {
|
|
4
|
-
attractionId: number;
|
|
5
|
-
role: PersonAttractionRoleEnum;
|
|
6
|
-
yearFrom?: number | null;
|
|
7
|
-
yearTo?: number | null;
|
|
8
|
-
isPrimary?: boolean;
|
|
9
|
-
note?: string | null;
|
|
10
|
-
/** Free-text facts keyed by language code. */
|
|
11
|
-
facts?: PersonAttractionFactsByLang | null;
|
|
12
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CityPersonAttractionLinkDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const person_attraction_role_enum_1 = require("./enum/person-attraction-role.enum");
|
|
16
|
-
class CityPersonAttractionLinkDto {
|
|
17
|
-
}
|
|
18
|
-
exports.CityPersonAttractionLinkDto = CityPersonAttractionLinkDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
21
|
-
(0, class_validator_1.IsInt)(),
|
|
22
|
-
(0, class_transformer_1.Expose)(),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], CityPersonAttractionLinkDto.prototype, "attractionId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsEnum)(person_attraction_role_enum_1.PersonAttractionRoleEnum),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], CityPersonAttractionLinkDto.prototype, "role", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
33
|
-
(0, class_validator_1.IsInt)(),
|
|
34
|
-
(0, class_transformer_1.Expose)(),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], CityPersonAttractionLinkDto.prototype, "yearFrom", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
40
|
-
(0, class_validator_1.IsInt)(),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", Number)
|
|
43
|
-
], CityPersonAttractionLinkDto.prototype, "yearTo", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
(0, class_validator_1.IsBoolean)(),
|
|
47
|
-
(0, class_transformer_1.Expose)(),
|
|
48
|
-
__metadata("design:type", Boolean)
|
|
49
|
-
], CityPersonAttractionLinkDto.prototype, "isPrimary", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
(0, class_validator_1.IsString)(),
|
|
53
|
-
(0, class_transformer_1.Expose)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], CityPersonAttractionLinkDto.prototype, "note", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsObject)(),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", Object)
|
|
61
|
-
], CityPersonAttractionLinkDto.prototype, "facts", void 0);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ResponseObject } from '../shared/ro';
|
|
2
|
-
import { PersonAttractionRoleEnum } from './enum/person-attraction-role.enum';
|
|
3
|
-
import { PersonAttractionFactsByLang } from './person-attraction-facts';
|
|
4
|
-
export type CityPersonAttractionLinkRO = ResponseObject & {
|
|
5
|
-
personId: number;
|
|
6
|
-
attractionId: number;
|
|
7
|
-
attractionTitle?: string | null;
|
|
8
|
-
attractionCityTitle?: string | null;
|
|
9
|
-
role: PersonAttractionRoleEnum;
|
|
10
|
-
yearFrom: number | null;
|
|
11
|
-
yearTo: number | null;
|
|
12
|
-
isPrimary: boolean;
|
|
13
|
-
note: string | null;
|
|
14
|
-
facts: PersonAttractionFactsByLang | null;
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { ResponseObject } from '../shared/ro';
|
|
3
|
-
import { PersonLocaleStatusEnum } from './enum/person-locale-status.enum';
|
|
4
|
-
import { PersonLocaleFact } from './person-locale-fact';
|
|
5
|
-
export type CityPersonLocaleRO = ResponseObject & {
|
|
6
|
-
personId: number;
|
|
7
|
-
language: Languages;
|
|
8
|
-
name: string;
|
|
9
|
-
description: string | null;
|
|
10
|
-
knownFor: string | null;
|
|
11
|
-
facts: PersonLocaleFact[] | null;
|
|
12
|
-
status: PersonLocaleStatusEnum;
|
|
13
|
-
contentGeneratedAt: Date | string | null;
|
|
14
|
-
contentPromptVersion: string | null;
|
|
15
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AttractionFameEnum } from '../city-attraction/enum/attraction-fame.enum';
|
|
2
|
-
import { EditorialResearch } from '../shared/editorial-research';
|
|
3
|
-
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
4
|
-
import { ResponseObject } from '../shared/ro';
|
|
5
|
-
import { CityPersonAttractionLinkRO } from './city-person-attraction-link.ro';
|
|
6
|
-
import { CityPersonLocaleRO } from './city-person-locale.ro';
|
|
7
|
-
import { PersonDomainEnum } from './enum/person-domain.enum';
|
|
8
|
-
import { PersonOccupationEnum } from './enum/person-occupation.enum';
|
|
9
|
-
import { PersonRecognitionEnum } from './enum/person-recognition.enum';
|
|
10
|
-
import { PersonReviewStatusEnum } from './enum/person-review-status.enum';
|
|
11
|
-
import { PersonSourceEnum } from './enum/person-source.enum';
|
|
12
|
-
export type CityPersonRO = ResponseObject & {
|
|
13
|
-
/** Canonical Latin/EN identity name (slug, search, Wikidata). */
|
|
14
|
-
name: string;
|
|
15
|
-
/** Display name from content-base locale (RU), if set. */
|
|
16
|
-
displayName?: string | null;
|
|
17
|
-
slug: string;
|
|
18
|
-
domains: PersonDomainEnum[];
|
|
19
|
-
occupations: PersonOccupationEnum[];
|
|
20
|
-
fame: AttractionFameEnum;
|
|
21
|
-
/**
|
|
22
|
-
* Узнаваемость туристом без локальной истории.
|
|
23
|
-
* null — ещё не размечено (player трактует осторожно).
|
|
24
|
-
*/
|
|
25
|
-
recognition: PersonRecognitionEnum | null;
|
|
26
|
-
birthYear: number | null;
|
|
27
|
-
deathYear: number | null;
|
|
28
|
-
wikidataId: string | null;
|
|
29
|
-
photos: string[];
|
|
30
|
-
coverPhotoIndex: number | null;
|
|
31
|
-
/** Языки, на которых уже есть готовый контент локали (description). */
|
|
32
|
-
languages?: string[];
|
|
33
|
-
tags: string[];
|
|
34
|
-
primaryCityId: number | null;
|
|
35
|
-
primaryCityTitle?: string | null;
|
|
36
|
-
country: CountriesEnum | null;
|
|
37
|
-
archived: boolean;
|
|
38
|
-
reviewStatus: PersonReviewStatusEnum;
|
|
39
|
-
rejectionReason?: string | null;
|
|
40
|
-
source: PersonSourceEnum;
|
|
41
|
-
/** Editor-only deepen pack — never exposed to player. */
|
|
42
|
-
editorialResearch?: EditorialResearch | null;
|
|
43
|
-
attractionsCount?: number;
|
|
44
|
-
locales?: CityPersonLocaleRO[];
|
|
45
|
-
attractions?: CityPersonAttractionLinkRO[];
|
|
46
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AttractionFameEnum } from '../city-attraction/enum/attraction-fame.enum';
|
|
2
|
-
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
3
|
-
import { CityPersonAttractionLinkDto } from './city-person-attraction-link.dto';
|
|
4
|
-
import { PersonDomainEnum } from './enum/person-domain.enum';
|
|
5
|
-
import { PersonOccupationEnum } from './enum/person-occupation.enum';
|
|
6
|
-
import { PersonRecognitionEnum } from './enum/person-recognition.enum';
|
|
7
|
-
import { PersonReviewStatusEnum } from './enum/person-review-status.enum';
|
|
8
|
-
import { PersonSourceEnum } from './enum/person-source.enum';
|
|
9
|
-
export declare class CreateCityPersonDto {
|
|
10
|
-
name: string;
|
|
11
|
-
slug?: string | null;
|
|
12
|
-
domains: PersonDomainEnum[];
|
|
13
|
-
occupations?: PersonOccupationEnum[];
|
|
14
|
-
fame: AttractionFameEnum;
|
|
15
|
-
recognition?: PersonRecognitionEnum | null;
|
|
16
|
-
birthYear?: number | null;
|
|
17
|
-
deathYear?: number | null;
|
|
18
|
-
wikidataId?: string | null;
|
|
19
|
-
photos?: string[];
|
|
20
|
-
coverPhotoIndex?: number | null;
|
|
21
|
-
tags?: string[];
|
|
22
|
-
primaryCityId?: number | null;
|
|
23
|
-
country?: CountriesEnum | null;
|
|
24
|
-
archived?: boolean;
|
|
25
|
-
reviewStatus?: PersonReviewStatusEnum;
|
|
26
|
-
rejectionReason?: string | null;
|
|
27
|
-
source?: PersonSourceEnum;
|
|
28
|
-
attractions?: CityPersonAttractionLinkDto[];
|
|
29
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreateCityPersonDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const attraction_fame_enum_1 = require("../city-attraction/enum/attraction-fame.enum");
|
|
16
|
-
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
17
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
18
|
-
const city_person_attraction_link_dto_1 = require("./city-person-attraction-link.dto");
|
|
19
|
-
const person_domain_enum_1 = require("./enum/person-domain.enum");
|
|
20
|
-
const person_occupation_enum_1 = require("./enum/person-occupation.enum");
|
|
21
|
-
const person_recognition_enum_1 = require("./enum/person-recognition.enum");
|
|
22
|
-
const person_review_status_enum_1 = require("./enum/person-review-status.enum");
|
|
23
|
-
const person_source_enum_1 = require("./enum/person-source.enum");
|
|
24
|
-
class CreateCityPersonDto {
|
|
25
|
-
}
|
|
26
|
-
exports.CreateCityPersonDto = CreateCityPersonDto;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
29
|
-
(0, class_transformer_1.Expose)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreateCityPersonDto.prototype, "name", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
(0, class_validator_1.IsString)(),
|
|
35
|
-
(0, class_transformer_1.Expose)(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], CreateCityPersonDto.prototype, "slug", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsArray)(),
|
|
40
|
-
(0, class_validator_1.IsEnum)(person_domain_enum_1.PersonDomainEnum, { each: true }),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", Array)
|
|
43
|
-
], CreateCityPersonDto.prototype, "domains", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
(0, class_validator_1.IsArray)(),
|
|
47
|
-
(0, class_validator_1.IsEnum)(person_occupation_enum_1.PersonOccupationEnum, { each: true }),
|
|
48
|
-
(0, class_transformer_1.Expose)(),
|
|
49
|
-
__metadata("design:type", Array)
|
|
50
|
-
], CreateCityPersonDto.prototype, "occupations", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_validator_1.IsEnum)(attraction_fame_enum_1.AttractionFameEnum),
|
|
53
|
-
(0, class_transformer_1.Expose)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], CreateCityPersonDto.prototype, "fame", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsEnum)(person_recognition_enum_1.PersonRecognitionEnum),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], CreateCityPersonDto.prototype, "recognition", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
65
|
-
(0, class_validator_1.IsInt)(),
|
|
66
|
-
(0, class_transformer_1.Expose)(),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], CreateCityPersonDto.prototype, "birthYear", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, class_validator_1.IsOptional)(),
|
|
71
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
72
|
-
(0, class_validator_1.IsInt)(),
|
|
73
|
-
(0, class_transformer_1.Expose)(),
|
|
74
|
-
__metadata("design:type", Number)
|
|
75
|
-
], CreateCityPersonDto.prototype, "deathYear", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
(0, class_validator_1.IsString)(),
|
|
79
|
-
(0, class_transformer_1.Expose)(),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], CreateCityPersonDto.prototype, "wikidataId", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
(0, class_validator_1.IsArray)(),
|
|
85
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
86
|
-
(0, class_transformer_1.Expose)(),
|
|
87
|
-
__metadata("design:type", Array)
|
|
88
|
-
], CreateCityPersonDto.prototype, "photos", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
92
|
-
(0, class_validator_1.IsInt)(),
|
|
93
|
-
(0, class_validator_1.Min)(0),
|
|
94
|
-
(0, class_transformer_1.Expose)(),
|
|
95
|
-
__metadata("design:type", Number)
|
|
96
|
-
], CreateCityPersonDto.prototype, "coverPhotoIndex", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, class_validator_1.IsOptional)(),
|
|
99
|
-
(0, class_validator_1.IsArray)(),
|
|
100
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
101
|
-
(0, class_transformer_1.Expose)(),
|
|
102
|
-
__metadata("design:type", Array)
|
|
103
|
-
], CreateCityPersonDto.prototype, "tags", void 0);
|
|
104
|
-
__decorate([
|
|
105
|
-
(0, class_validator_1.IsOptional)(),
|
|
106
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
107
|
-
(0, class_validator_1.IsInt)(),
|
|
108
|
-
(0, class_transformer_1.Expose)(),
|
|
109
|
-
__metadata("design:type", Number)
|
|
110
|
-
], CreateCityPersonDto.prototype, "primaryCityId", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, class_validator_1.IsOptional)(),
|
|
113
|
-
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
114
|
-
(0, class_transformer_1.Expose)(),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], CreateCityPersonDto.prototype, "country", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, class_validator_1.IsOptional)(),
|
|
119
|
-
(0, class_validator_1.IsBoolean)(),
|
|
120
|
-
(0, class_transformer_1.Expose)(),
|
|
121
|
-
__metadata("design:type", Boolean)
|
|
122
|
-
], CreateCityPersonDto.prototype, "archived", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
(0, class_validator_1.IsOptional)(),
|
|
125
|
-
(0, class_validator_1.IsEnum)(person_review_status_enum_1.PersonReviewStatusEnum),
|
|
126
|
-
(0, class_transformer_1.Expose)(),
|
|
127
|
-
__metadata("design:type", String)
|
|
128
|
-
], CreateCityPersonDto.prototype, "reviewStatus", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, class_validator_1.IsOptional)(),
|
|
131
|
-
(0, class_validator_1.IsString)(),
|
|
132
|
-
(0, class_transformer_1.Expose)(),
|
|
133
|
-
__metadata("design:type", String)
|
|
134
|
-
], CreateCityPersonDto.prototype, "rejectionReason", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, class_validator_1.IsOptional)(),
|
|
137
|
-
(0, class_validator_1.IsEnum)(person_source_enum_1.PersonSourceEnum),
|
|
138
|
-
(0, class_transformer_1.Expose)(),
|
|
139
|
-
__metadata("design:type", String)
|
|
140
|
-
], CreateCityPersonDto.prototype, "source", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, class_validator_1.IsOptional)(),
|
|
143
|
-
(0, class_validator_1.IsArray)(),
|
|
144
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
145
|
-
(0, class_transformer_1.Type)(() => city_person_attraction_link_dto_1.CityPersonAttractionLinkDto),
|
|
146
|
-
(0, class_transformer_1.Expose)(),
|
|
147
|
-
__metadata("design:type", Array)
|
|
148
|
-
], CreateCityPersonDto.prototype, "attractions", void 0);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonAttractionRoleEnum = void 0;
|
|
4
|
-
var PersonAttractionRoleEnum;
|
|
5
|
-
(function (PersonAttractionRoleEnum) {
|
|
6
|
-
PersonAttractionRoleEnum["LIVED"] = "lived";
|
|
7
|
-
PersonAttractionRoleEnum["CREATED"] = "created";
|
|
8
|
-
PersonAttractionRoleEnum["PERFORMED"] = "performed";
|
|
9
|
-
PersonAttractionRoleEnum["BURIED"] = "buried";
|
|
10
|
-
PersonAttractionRoleEnum["STUDIED"] = "studied";
|
|
11
|
-
PersonAttractionRoleEnum["DEPICTED"] = "depicted";
|
|
12
|
-
})(PersonAttractionRoleEnum || (exports.PersonAttractionRoleEnum = PersonAttractionRoleEnum = {}));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Primary public “shelf” for a person — browse filter + portrait color.
|
|
3
|
-
* Specific crafts go in PersonOccupationEnum.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum PersonDomainEnum {
|
|
6
|
-
MUSIC = "music",
|
|
7
|
-
LITERATURE = "literature",
|
|
8
|
-
VISUAL_ART = "visual_art",
|
|
9
|
-
POLITICS = "politics",
|
|
10
|
-
ARCHITECTURE = "architecture",
|
|
11
|
-
ACTING = "acting",
|
|
12
|
-
SCIENCE = "science",
|
|
13
|
-
SPORT = "sport",
|
|
14
|
-
FILM = "film"
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonDomainEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Primary public “shelf” for a person — browse filter + portrait color.
|
|
6
|
-
* Specific crafts go in PersonOccupationEnum.
|
|
7
|
-
*/
|
|
8
|
-
var PersonDomainEnum;
|
|
9
|
-
(function (PersonDomainEnum) {
|
|
10
|
-
PersonDomainEnum["MUSIC"] = "music";
|
|
11
|
-
PersonDomainEnum["LITERATURE"] = "literature";
|
|
12
|
-
PersonDomainEnum["VISUAL_ART"] = "visual_art";
|
|
13
|
-
PersonDomainEnum["POLITICS"] = "politics";
|
|
14
|
-
PersonDomainEnum["ARCHITECTURE"] = "architecture";
|
|
15
|
-
PersonDomainEnum["ACTING"] = "acting";
|
|
16
|
-
PersonDomainEnum["SCIENCE"] = "science";
|
|
17
|
-
PersonDomainEnum["SPORT"] = "sport";
|
|
18
|
-
PersonDomainEnum["FILM"] = "film";
|
|
19
|
-
})(PersonDomainEnum || (exports.PersonDomainEnum = PersonDomainEnum = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonFactKindEnum = void 0;
|
|
4
|
-
var PersonFactKindEnum;
|
|
5
|
-
(function (PersonFactKindEnum) {
|
|
6
|
-
PersonFactKindEnum["BIO"] = "bio";
|
|
7
|
-
PersonFactKindEnum["ANECDOTE"] = "anecdote";
|
|
8
|
-
PersonFactKindEnum["WORK"] = "work";
|
|
9
|
-
PersonFactKindEnum["QUOTE"] = "quote";
|
|
10
|
-
PersonFactKindEnum["PLACE"] = "place";
|
|
11
|
-
})(PersonFactKindEnum || (exports.PersonFactKindEnum = PersonFactKindEnum = {}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonLocaleStatusEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Locale readiness for person content — mirrors attraction locale statuses.
|
|
6
|
-
*/
|
|
7
|
-
var PersonLocaleStatusEnum;
|
|
8
|
-
(function (PersonLocaleStatusEnum) {
|
|
9
|
-
PersonLocaleStatusEnum["EMPTY"] = "empty";
|
|
10
|
-
PersonLocaleStatusEnum["GENERATED"] = "generated";
|
|
11
|
-
PersonLocaleStatusEnum["REVIEWED"] = "reviewed";
|
|
12
|
-
})(PersonLocaleStatusEnum || (exports.PersonLocaleStatusEnum = PersonLocaleStatusEnum = {}));
|