@escapenavigator/types 2.0.26 → 2.0.28
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/aggregator-companies/aggregator-quest.ro.d.ts +51 -0
- 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-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
- /package/dist/{city-attraction/attraction-content.js → aggregator-companies/aggregator-quest.ro.js} +0 -0
|
@@ -1,221 +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.CreateCityAttractionDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
-
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
-
const attraction_category_enum_1 = require("./enum/attraction-category.enum");
|
|
18
|
-
const attraction_fame_enum_1 = require("./enum/attraction-fame.enum");
|
|
19
|
-
const attraction_indoor_outdoor_enum_1 = require("./enum/attraction-indoor-outdoor.enum");
|
|
20
|
-
const attraction_review_status_enum_1 = require("./enum/attraction-review-status.enum");
|
|
21
|
-
const attraction_route_role_enum_1 = require("./enum/attraction-route-role.enum");
|
|
22
|
-
const attraction_source_enum_1 = require("./enum/attraction-source.enum");
|
|
23
|
-
class CreateCityAttractionDto {
|
|
24
|
-
}
|
|
25
|
-
exports.CreateCityAttractionDto = CreateCityAttractionDto;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], CreateCityAttractionDto.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
|
-
], CreateCityAttractionDto.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
|
-
], CreateCityAttractionDto.prototype, "knownFor", 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
|
-
], CreateCityAttractionDto.prototype, "knownForRu", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.IsEnum)(attraction_category_enum_1.AttractionCategoryEnum),
|
|
51
|
-
(0, class_transformer_1.Expose)(),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], CreateCityAttractionDto.prototype, "category", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, class_validator_1.IsEnum)(attraction_fame_enum_1.AttractionFameEnum),
|
|
56
|
-
(0, class_transformer_1.Expose)(),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], CreateCityAttractionDto.prototype, "fame", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
61
|
-
(0, class_transformer_1.Expose)(),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], CreateCityAttractionDto.prototype, "country", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
66
|
-
(0, class_validator_1.IsInt)(),
|
|
67
|
-
(0, class_transformer_1.Expose)(),
|
|
68
|
-
__metadata("design:type", Number)
|
|
69
|
-
], CreateCityAttractionDto.prototype, "cityId", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, class_validator_1.IsOptional)(),
|
|
72
|
-
(0, class_validator_1.IsString)(),
|
|
73
|
-
(0, class_transformer_1.Expose)(),
|
|
74
|
-
__metadata("design:type", String)
|
|
75
|
-
], CreateCityAttractionDto.prototype, "address", 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
|
-
], CreateCityAttractionDto.prototype, "district", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
85
|
-
(0, class_validator_1.IsNumber)(),
|
|
86
|
-
(0, class_transformer_1.Expose)(),
|
|
87
|
-
__metadata("design:type", Number)
|
|
88
|
-
], CreateCityAttractionDto.prototype, "lat", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, class_validator_1.IsOptional)(),
|
|
91
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
92
|
-
(0, class_validator_1.IsNumber)(),
|
|
93
|
-
(0, class_transformer_1.Expose)(),
|
|
94
|
-
__metadata("design:type", Number)
|
|
95
|
-
], CreateCityAttractionDto.prototype, "lng", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, class_validator_1.IsOptional)(),
|
|
98
|
-
(0, class_validator_1.IsArray)(),
|
|
99
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
100
|
-
(0, class_transformer_1.Expose)(),
|
|
101
|
-
__metadata("design:type", Array)
|
|
102
|
-
], CreateCityAttractionDto.prototype, "photos", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, class_validator_1.IsOptional)(),
|
|
105
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
106
|
-
(0, class_validator_1.IsInt)(),
|
|
107
|
-
(0, class_validator_1.Min)(0),
|
|
108
|
-
(0, class_transformer_1.Expose)(),
|
|
109
|
-
__metadata("design:type", Number)
|
|
110
|
-
], CreateCityAttractionDto.prototype, "coverPhotoIndex", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, class_validator_1.IsOptional)(),
|
|
113
|
-
(0, class_validator_1.IsArray)(),
|
|
114
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
115
|
-
(0, class_transformer_1.Expose)(),
|
|
116
|
-
__metadata("design:type", Array)
|
|
117
|
-
], CreateCityAttractionDto.prototype, "tags", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, class_validator_1.IsOptional)(),
|
|
120
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
121
|
-
(0, class_validator_1.IsInt)(),
|
|
122
|
-
(0, class_validator_1.Min)(1),
|
|
123
|
-
(0, class_validator_1.Max)(10),
|
|
124
|
-
(0, class_transformer_1.Expose)(),
|
|
125
|
-
__metadata("design:type", Number)
|
|
126
|
-
], CreateCityAttractionDto.prototype, "mustSeeScore", void 0);
|
|
127
|
-
__decorate([
|
|
128
|
-
(0, class_validator_1.IsOptional)(),
|
|
129
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
130
|
-
(0, class_validator_1.IsInt)(),
|
|
131
|
-
(0, class_validator_1.Min)(1),
|
|
132
|
-
(0, class_validator_1.Max)(10),
|
|
133
|
-
(0, class_transformer_1.Expose)(),
|
|
134
|
-
__metadata("design:type", Number)
|
|
135
|
-
], CreateCityAttractionDto.prototype, "wowScore", void 0);
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, class_validator_1.IsOptional)(),
|
|
138
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
139
|
-
(0, class_validator_1.IsInt)(),
|
|
140
|
-
(0, class_validator_1.Min)(1),
|
|
141
|
-
(0, class_validator_1.Max)(10),
|
|
142
|
-
(0, class_transformer_1.Expose)(),
|
|
143
|
-
__metadata("design:type", Number)
|
|
144
|
-
], CreateCityAttractionDto.prototype, "touristCrowdScore", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
(0, class_validator_1.IsOptional)(),
|
|
147
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
148
|
-
(0, class_validator_1.IsInt)(),
|
|
149
|
-
(0, class_validator_1.Min)(1),
|
|
150
|
-
(0, class_validator_1.Max)(10),
|
|
151
|
-
(0, class_transformer_1.Expose)(),
|
|
152
|
-
__metadata("design:type", Number)
|
|
153
|
-
], CreateCityAttractionDto.prototype, "localExperienceScore", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
(0, class_validator_1.IsOptional)(),
|
|
156
|
-
(0, class_validator_1.IsEnum)(attraction_route_role_enum_1.AttractionRouteRoleEnum),
|
|
157
|
-
(0, class_transformer_1.Expose)(),
|
|
158
|
-
__metadata("design:type", String)
|
|
159
|
-
], CreateCityAttractionDto.prototype, "routeRole", void 0);
|
|
160
|
-
__decorate([
|
|
161
|
-
(0, class_validator_1.IsOptional)(),
|
|
162
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
163
|
-
(0, class_validator_1.IsInt)(),
|
|
164
|
-
(0, class_validator_1.Min)(1),
|
|
165
|
-
(0, class_validator_1.Max)(100),
|
|
166
|
-
(0, class_transformer_1.Expose)(),
|
|
167
|
-
__metadata("design:type", Number)
|
|
168
|
-
], CreateCityAttractionDto.prototype, "routePriority", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
(0, class_validator_1.IsOptional)(),
|
|
171
|
-
(0, class_validator_1.IsEnum)(attraction_indoor_outdoor_enum_1.AttractionIndoorOutdoorEnum),
|
|
172
|
-
(0, class_transformer_1.Expose)(),
|
|
173
|
-
__metadata("design:type", String)
|
|
174
|
-
], CreateCityAttractionDto.prototype, "indoorOutdoor", void 0);
|
|
175
|
-
__decorate([
|
|
176
|
-
(0, class_validator_1.IsOptional)(),
|
|
177
|
-
(0, class_transformer_1.Expose)(),
|
|
178
|
-
__metadata("design:type", Object)
|
|
179
|
-
], CreateCityAttractionDto.prototype, "routeMeta", void 0);
|
|
180
|
-
__decorate([
|
|
181
|
-
(0, class_validator_1.IsOptional)(),
|
|
182
|
-
(0, class_validator_1.IsString)(),
|
|
183
|
-
(0, class_transformer_1.Expose)(),
|
|
184
|
-
__metadata("design:type", String)
|
|
185
|
-
], CreateCityAttractionDto.prototype, "wikidataId", void 0);
|
|
186
|
-
__decorate([
|
|
187
|
-
(0, class_validator_1.IsOptional)(),
|
|
188
|
-
(0, class_validator_1.IsString)(),
|
|
189
|
-
(0, class_transformer_1.Expose)(),
|
|
190
|
-
__metadata("design:type", String)
|
|
191
|
-
], CreateCityAttractionDto.prototype, "googlePlaceId", void 0);
|
|
192
|
-
__decorate([
|
|
193
|
-
(0, class_validator_1.IsOptional)(),
|
|
194
|
-
(0, class_validator_1.IsBoolean)(),
|
|
195
|
-
(0, class_transformer_1.Expose)(),
|
|
196
|
-
__metadata("design:type", Boolean)
|
|
197
|
-
], CreateCityAttractionDto.prototype, "archived", void 0);
|
|
198
|
-
__decorate([
|
|
199
|
-
(0, class_validator_1.IsOptional)(),
|
|
200
|
-
(0, class_validator_1.IsBoolean)(),
|
|
201
|
-
(0, class_transformer_1.Expose)(),
|
|
202
|
-
__metadata("design:type", Boolean)
|
|
203
|
-
], CreateCityAttractionDto.prototype, "isFreePreview", void 0);
|
|
204
|
-
__decorate([
|
|
205
|
-
(0, class_validator_1.IsOptional)(),
|
|
206
|
-
(0, class_validator_1.IsEnum)(attraction_source_enum_1.AttractionSourceEnum),
|
|
207
|
-
(0, class_transformer_1.Expose)(),
|
|
208
|
-
__metadata("design:type", String)
|
|
209
|
-
], CreateCityAttractionDto.prototype, "source", void 0);
|
|
210
|
-
__decorate([
|
|
211
|
-
(0, class_validator_1.IsOptional)(),
|
|
212
|
-
(0, class_validator_1.IsEnum)(attraction_review_status_enum_1.AttractionReviewStatusEnum),
|
|
213
|
-
(0, class_transformer_1.Expose)(),
|
|
214
|
-
__metadata("design:type", String)
|
|
215
|
-
], CreateCityAttractionDto.prototype, "reviewStatus", void 0);
|
|
216
|
-
__decorate([
|
|
217
|
-
(0, class_validator_1.IsOptional)(),
|
|
218
|
-
(0, class_validator_1.IsString)(),
|
|
219
|
-
(0, class_transformer_1.Expose)(),
|
|
220
|
-
__metadata("design:type", String)
|
|
221
|
-
], CreateCityAttractionDto.prototype, "rejectionReason", void 0);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Objects inside/on an attraction — not separate map points.
|
|
3
|
-
* e.g. icon, manuscript, plaque, famous painting in a museum.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum AttractionArtifactKindEnum {
|
|
6
|
-
ARTWORK = "artwork",
|
|
7
|
-
MANUSCRIPT = "manuscript",
|
|
8
|
-
PLAQUE = "plaque",
|
|
9
|
-
RELIC = "relic",
|
|
10
|
-
SCULPTURE_DETAIL = "sculpture_detail",
|
|
11
|
-
EXHIBIT = "exhibit",
|
|
12
|
-
OTHER = "other"
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionArtifactKindEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Objects inside/on an attraction — not separate map points.
|
|
6
|
-
* e.g. icon, manuscript, plaque, famous painting in a museum.
|
|
7
|
-
*/
|
|
8
|
-
var AttractionArtifactKindEnum;
|
|
9
|
-
(function (AttractionArtifactKindEnum) {
|
|
10
|
-
AttractionArtifactKindEnum["ARTWORK"] = "artwork";
|
|
11
|
-
AttractionArtifactKindEnum["MANUSCRIPT"] = "manuscript";
|
|
12
|
-
AttractionArtifactKindEnum["PLAQUE"] = "plaque";
|
|
13
|
-
AttractionArtifactKindEnum["RELIC"] = "relic";
|
|
14
|
-
AttractionArtifactKindEnum["SCULPTURE_DETAIL"] = "sculpture_detail";
|
|
15
|
-
AttractionArtifactKindEnum["EXHIBIT"] = "exhibit";
|
|
16
|
-
AttractionArtifactKindEnum["OTHER"] = "other";
|
|
17
|
-
})(AttractionArtifactKindEnum || (exports.AttractionArtifactKindEnum = AttractionArtifactKindEnum = {}));
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare enum AttractionCategoryEnum {
|
|
2
|
-
MUSEUM = "museum",
|
|
3
|
-
TEMPLE_CHURCH = "temple_church",
|
|
4
|
-
ARCHITECTURE_LANDMARK = "architecture_landmark",
|
|
5
|
-
PALACE_FORTRESS = "palace_fortress",
|
|
6
|
-
ARCHAEOLOGICAL_SITE = "archaeological_site",
|
|
7
|
-
PARK_GARDEN = "park_garden",
|
|
8
|
-
VIEWPOINT = "viewpoint",
|
|
9
|
-
SQUARE = "square",
|
|
10
|
-
STREET_DISTRICT = "street_district",
|
|
11
|
-
BRIDGE = "bridge",
|
|
12
|
-
MARKET = "market",
|
|
13
|
-
CEMETERY_NECROPOLIS = "cemetery_necropolis",
|
|
14
|
-
THEATER_CULTURAL_VENUE = "theater_cultural_venue",
|
|
15
|
-
MONUMENT_MEMORIAL = "monument_memorial",
|
|
16
|
-
CANAL_WATERFRONT = "canal_waterfront",
|
|
17
|
-
TRANSPORT_LANDMARK = "transport_landmark",
|
|
18
|
-
STADIUM = "stadium",
|
|
19
|
-
ZOO_AQUARIUM = "zoo_aquarium",
|
|
20
|
-
UNUSUAL_PLACE = "unusual_place"
|
|
21
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionCategoryEnum = void 0;
|
|
4
|
-
var AttractionCategoryEnum;
|
|
5
|
-
(function (AttractionCategoryEnum) {
|
|
6
|
-
AttractionCategoryEnum["MUSEUM"] = "museum";
|
|
7
|
-
AttractionCategoryEnum["TEMPLE_CHURCH"] = "temple_church";
|
|
8
|
-
AttractionCategoryEnum["ARCHITECTURE_LANDMARK"] = "architecture_landmark";
|
|
9
|
-
AttractionCategoryEnum["PALACE_FORTRESS"] = "palace_fortress";
|
|
10
|
-
AttractionCategoryEnum["ARCHAEOLOGICAL_SITE"] = "archaeological_site";
|
|
11
|
-
AttractionCategoryEnum["PARK_GARDEN"] = "park_garden";
|
|
12
|
-
AttractionCategoryEnum["VIEWPOINT"] = "viewpoint";
|
|
13
|
-
AttractionCategoryEnum["SQUARE"] = "square";
|
|
14
|
-
AttractionCategoryEnum["STREET_DISTRICT"] = "street_district";
|
|
15
|
-
AttractionCategoryEnum["BRIDGE"] = "bridge";
|
|
16
|
-
AttractionCategoryEnum["MARKET"] = "market";
|
|
17
|
-
AttractionCategoryEnum["CEMETERY_NECROPOLIS"] = "cemetery_necropolis";
|
|
18
|
-
AttractionCategoryEnum["THEATER_CULTURAL_VENUE"] = "theater_cultural_venue";
|
|
19
|
-
AttractionCategoryEnum["MONUMENT_MEMORIAL"] = "monument_memorial";
|
|
20
|
-
AttractionCategoryEnum["CANAL_WATERFRONT"] = "canal_waterfront";
|
|
21
|
-
AttractionCategoryEnum["TRANSPORT_LANDMARK"] = "transport_landmark";
|
|
22
|
-
AttractionCategoryEnum["STADIUM"] = "stadium";
|
|
23
|
-
AttractionCategoryEnum["ZOO_AQUARIUM"] = "zoo_aquarium";
|
|
24
|
-
AttractionCategoryEnum["UNUSUAL_PLACE"] = "unusual_place";
|
|
25
|
-
})(AttractionCategoryEnum || (exports.AttractionCategoryEnum = AttractionCategoryEnum = {}));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Продуктовая шкала известности для city-quest каталога.
|
|
3
|
-
* Оценивает узнаваемость/место в типичном маршруте, не «качество» места.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum AttractionFameEnum {
|
|
6
|
-
ICON = "icon",
|
|
7
|
-
WELL_KNOWN = "well_known",
|
|
8
|
-
OFFBEAT = "offbeat",
|
|
9
|
-
HIDDEN_GEM = "hidden_gem"
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionFameEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Продуктовая шкала известности для city-quest каталога.
|
|
6
|
-
* Оценивает узнаваемость/место в типичном маршруте, не «качество» места.
|
|
7
|
-
*/
|
|
8
|
-
var AttractionFameEnum;
|
|
9
|
-
(function (AttractionFameEnum) {
|
|
10
|
-
AttractionFameEnum["ICON"] = "icon";
|
|
11
|
-
AttractionFameEnum["WELL_KNOWN"] = "well_known";
|
|
12
|
-
AttractionFameEnum["OFFBEAT"] = "offbeat";
|
|
13
|
-
AttractionFameEnum["HIDDEN_GEM"] = "hidden_gem";
|
|
14
|
-
})(AttractionFameEnum || (exports.AttractionFameEnum = AttractionFameEnum = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionFunFactKindEnum = void 0;
|
|
4
|
-
var AttractionFunFactKindEnum;
|
|
5
|
-
(function (AttractionFunFactKindEnum) {
|
|
6
|
-
AttractionFunFactKindEnum["FACT"] = "fact";
|
|
7
|
-
AttractionFunFactKindEnum["LEGEND"] = "legend";
|
|
8
|
-
})(AttractionFunFactKindEnum || (exports.AttractionFunFactKindEnum = AttractionFunFactKindEnum = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionIndoorOutdoorEnum = void 0;
|
|
4
|
-
var AttractionIndoorOutdoorEnum;
|
|
5
|
-
(function (AttractionIndoorOutdoorEnum) {
|
|
6
|
-
AttractionIndoorOutdoorEnum["INDOOR"] = "indoor";
|
|
7
|
-
AttractionIndoorOutdoorEnum["OUTDOOR"] = "outdoor";
|
|
8
|
-
AttractionIndoorOutdoorEnum["MIXED"] = "mixed";
|
|
9
|
-
})(AttractionIndoorOutdoorEnum || (exports.AttractionIndoorOutdoorEnum = AttractionIndoorOutdoorEnum = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Locale readiness for attraction content.
|
|
3
|
-
* empty — no package yet
|
|
4
|
-
* generated — AI wrote it, not human-reviewed
|
|
5
|
-
* reviewed — moderator accepted this language
|
|
6
|
-
*/
|
|
7
|
-
export declare enum AttractionLocaleStatusEnum {
|
|
8
|
-
EMPTY = "empty",
|
|
9
|
-
GENERATED = "generated",
|
|
10
|
-
REVIEWED = "reviewed"
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionLocaleStatusEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Locale readiness for attraction content.
|
|
6
|
-
* empty — no package yet
|
|
7
|
-
* generated — AI wrote it, not human-reviewed
|
|
8
|
-
* reviewed — moderator accepted this language
|
|
9
|
-
*/
|
|
10
|
-
var AttractionLocaleStatusEnum;
|
|
11
|
-
(function (AttractionLocaleStatusEnum) {
|
|
12
|
-
AttractionLocaleStatusEnum["EMPTY"] = "empty";
|
|
13
|
-
AttractionLocaleStatusEnum["GENERATED"] = "generated";
|
|
14
|
-
AttractionLocaleStatusEnum["REVIEWED"] = "reviewed";
|
|
15
|
-
})(AttractionLocaleStatusEnum || (exports.AttractionLocaleStatusEnum = AttractionLocaleStatusEnum = {}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Moderation status for city attractions.
|
|
3
|
-
* Seed/admin entries are created as `approved`.
|
|
4
|
-
* Partner-created points start as `needReview`.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum AttractionReviewStatusEnum {
|
|
7
|
-
APPROVED = "approved",
|
|
8
|
-
NEED_REVIEW = "needReview",
|
|
9
|
-
REJECTED = "rejected",
|
|
10
|
-
/** Rejected by city-content MCP agent (not human moderator). */
|
|
11
|
-
REJECTED_MCP = "rejected_mcp"
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionReviewStatusEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Moderation status for city attractions.
|
|
6
|
-
* Seed/admin entries are created as `approved`.
|
|
7
|
-
* Partner-created points start as `needReview`.
|
|
8
|
-
*/
|
|
9
|
-
var AttractionReviewStatusEnum;
|
|
10
|
-
(function (AttractionReviewStatusEnum) {
|
|
11
|
-
AttractionReviewStatusEnum["APPROVED"] = "approved";
|
|
12
|
-
AttractionReviewStatusEnum["NEED_REVIEW"] = "needReview";
|
|
13
|
-
AttractionReviewStatusEnum["REJECTED"] = "rejected";
|
|
14
|
-
/** Rejected by city-content MCP agent (not human moderator). */
|
|
15
|
-
AttractionReviewStatusEnum["REJECTED_MCP"] = "rejected_mcp";
|
|
16
|
-
})(AttractionReviewStatusEnum || (exports.AttractionReviewStatusEnum = AttractionReviewStatusEnum = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Роль точки в типичном пешеходном маршруте city-quest.
|
|
3
|
-
* Согласовано с seed (`todo/city-attractions`): well_known → primary.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum AttractionRouteRoleEnum {
|
|
6
|
-
ANCHOR = "anchor",
|
|
7
|
-
PRIMARY = "primary",
|
|
8
|
-
CONNECTOR = "connector",
|
|
9
|
-
OPTIONAL = "optional",
|
|
10
|
-
DETOUR = "detour"
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionRouteRoleEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Роль точки в типичном пешеходном маршруте city-quest.
|
|
6
|
-
* Согласовано с seed (`todo/city-attractions`): well_known → primary.
|
|
7
|
-
*/
|
|
8
|
-
var AttractionRouteRoleEnum;
|
|
9
|
-
(function (AttractionRouteRoleEnum) {
|
|
10
|
-
AttractionRouteRoleEnum["ANCHOR"] = "anchor";
|
|
11
|
-
AttractionRouteRoleEnum["PRIMARY"] = "primary";
|
|
12
|
-
AttractionRouteRoleEnum["CONNECTOR"] = "connector";
|
|
13
|
-
AttractionRouteRoleEnum["OPTIONAL"] = "optional";
|
|
14
|
-
AttractionRouteRoleEnum["DETOUR"] = "detour";
|
|
15
|
-
})(AttractionRouteRoleEnum || (exports.AttractionRouteRoleEnum = AttractionRouteRoleEnum = {}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum AttractionSourceEnum {
|
|
2
|
-
EXCEL = "excel",
|
|
3
|
-
WIKIDATA = "wikidata",
|
|
4
|
-
MANUAL = "manual",
|
|
5
|
-
PLACES = "places",
|
|
6
|
-
/** Created by a partner author in the story editor. */
|
|
7
|
-
PARTNER = "partner",
|
|
8
|
-
/** Created by seed / placeHints gap-fill. */
|
|
9
|
-
SEED = "seed",
|
|
10
|
-
/** Candidate found by the AI city researcher (web search). */
|
|
11
|
-
AI_RESEARCH = "ai_research"
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttractionSourceEnum = void 0;
|
|
4
|
-
var AttractionSourceEnum;
|
|
5
|
-
(function (AttractionSourceEnum) {
|
|
6
|
-
AttractionSourceEnum["EXCEL"] = "excel";
|
|
7
|
-
AttractionSourceEnum["WIKIDATA"] = "wikidata";
|
|
8
|
-
AttractionSourceEnum["MANUAL"] = "manual";
|
|
9
|
-
AttractionSourceEnum["PLACES"] = "places";
|
|
10
|
-
/** Created by a partner author in the story editor. */
|
|
11
|
-
AttractionSourceEnum["PARTNER"] = "partner";
|
|
12
|
-
/** Created by seed / placeHints gap-fill. */
|
|
13
|
-
AttractionSourceEnum["SEED"] = "seed";
|
|
14
|
-
/** Candidate found by the AI city researcher (web search). */
|
|
15
|
-
AttractionSourceEnum["AI_RESEARCH"] = "ai_research";
|
|
16
|
-
})(AttractionSourceEnum || (exports.AttractionSourceEnum = AttractionSourceEnum = {}));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RiddleTtsMoodEnum } from '../questroom-riddle/enum/riddle-tts-mood.enum';
|
|
2
|
-
import { RiddleTtsVoiceEnum } from '../questroom-riddle/enum/riddle-tts-voice.enum';
|
|
3
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
4
|
-
export declare class GenerateAttractionAudioDto {
|
|
5
|
-
language: Languages;
|
|
6
|
-
/** Текст для озвучки. Если не передан — берётся locale.content.guideTalk. */
|
|
7
|
-
text?: string;
|
|
8
|
-
voice?: RiddleTtsVoiceEnum;
|
|
9
|
-
mood?: RiddleTtsMoodEnum;
|
|
10
|
-
}
|
|
@@ -1,45 +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.GenerateAttractionAudioDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const riddle_tts_mood_enum_1 = require("../questroom-riddle/enum/riddle-tts-mood.enum");
|
|
16
|
-
const riddle_tts_voice_enum_1 = require("../questroom-riddle/enum/riddle-tts-voice.enum");
|
|
17
|
-
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
18
|
-
class GenerateAttractionAudioDto {
|
|
19
|
-
}
|
|
20
|
-
exports.GenerateAttractionAudioDto = GenerateAttractionAudioDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], GenerateAttractionAudioDto.prototype, "language", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.MinLength)(1),
|
|
30
|
-
(0, class_validator_1.MaxLength)(12000),
|
|
31
|
-
(0, class_transformer_1.Expose)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], GenerateAttractionAudioDto.prototype, "text", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
(0, class_validator_1.IsEnum)(riddle_tts_voice_enum_1.RiddleTtsVoiceEnum),
|
|
37
|
-
(0, class_transformer_1.Expose)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], GenerateAttractionAudioDto.prototype, "voice", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsOptional)(),
|
|
42
|
-
(0, class_validator_1.IsEnum)(riddle_tts_mood_enum_1.RiddleTtsMoodEnum),
|
|
43
|
-
(0, class_transformer_1.Expose)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], GenerateAttractionAudioDto.prototype, "mood", void 0);
|
|
@@ -1,29 +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.ModerateCityAttractionDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const attraction_review_status_enum_1 = require("./enum/attraction-review-status.enum");
|
|
16
|
-
class ModerateCityAttractionDto {
|
|
17
|
-
}
|
|
18
|
-
exports.ModerateCityAttractionDto = ModerateCityAttractionDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsEnum)(attraction_review_status_enum_1.AttractionReviewStatusEnum),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], ModerateCityAttractionDto.prototype, "reviewStatus", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_transformer_1.Expose)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ModerateCityAttractionDto.prototype, "rejectionReason", void 0);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CreateCityAttractionDto } from './create-city-attraction.dto';
|
|
2
|
-
declare const UpdateCityAttractionDto_base: import("@nestjs/mapped-types").MappedType<Partial<CreateCityAttractionDto>>;
|
|
3
|
-
export declare class UpdateCityAttractionDto extends UpdateCityAttractionDto_base {
|
|
4
|
-
}
|
|
5
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateCityAttractionDto = void 0;
|
|
4
|
-
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
|
-
const create_city_attraction_dto_1 = require("./create-city-attraction.dto");
|
|
6
|
-
class UpdateCityAttractionDto extends (0, mapped_types_1.PartialType)(create_city_attraction_dto_1.CreateCityAttractionDto) {
|
|
7
|
-
}
|
|
8
|
-
exports.UpdateCityAttractionDto = UpdateCityAttractionDto;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { AttractionArtifactKindEnum } from './enum/attraction-artifact-kind.enum';
|
|
3
|
-
export declare class UpsertCityAttractionArtifactDto {
|
|
4
|
-
id?: number;
|
|
5
|
-
kind: AttractionArtifactKindEnum;
|
|
6
|
-
title: string;
|
|
7
|
-
description?: string | null;
|
|
8
|
-
knownFor?: string | null;
|
|
9
|
-
findHint?: string | null;
|
|
10
|
-
personId?: number | null;
|
|
11
|
-
wikidataId?: string | null;
|
|
12
|
-
photos?: string[];
|
|
13
|
-
sortOrder?: number;
|
|
14
|
-
archived?: boolean;
|
|
15
|
-
titles?: Partial<Record<Languages, string>> | null;
|
|
16
|
-
}
|
|
17
|
-
export declare class ReplaceCityAttractionArtifactsDto {
|
|
18
|
-
artifacts: UpsertCityAttractionArtifactDto[];
|
|
19
|
-
}
|