@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,27 +0,0 @@
|
|
|
1
|
-
export declare enum PersonOccupationEnum {
|
|
2
|
-
COMPOSER = "composer",
|
|
3
|
-
MUSICIAN = "musician",
|
|
4
|
-
SINGER = "singer",
|
|
5
|
-
PIANIST = "pianist",
|
|
6
|
-
CONDUCTOR = "conductor",
|
|
7
|
-
CELLIST = "cellist",
|
|
8
|
-
LIBRETTIST = "librettist",
|
|
9
|
-
POET = "poet",
|
|
10
|
-
WRITER = "writer",
|
|
11
|
-
PLAYWRIGHT = "playwright",
|
|
12
|
-
DIARIST = "diarist",
|
|
13
|
-
PHILOSOPHER = "philosopher",
|
|
14
|
-
PAINTER = "painter",
|
|
15
|
-
SCULPTOR = "sculptor",
|
|
16
|
-
ARCHITECT = "architect",
|
|
17
|
-
ENGRAVER = "engraver",
|
|
18
|
-
GRAPHIC_ARTIST = "graphic_artist",
|
|
19
|
-
DANCER = "dancer",
|
|
20
|
-
ACTOR = "actor",
|
|
21
|
-
ACTRESS = "actress",
|
|
22
|
-
POLITICIAN = "politician",
|
|
23
|
-
SCIENTIST = "scientist",
|
|
24
|
-
INVENTOR = "inventor",
|
|
25
|
-
ATHLETE = "athlete",
|
|
26
|
-
DIRECTOR = "director"
|
|
27
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonOccupationEnum = void 0;
|
|
4
|
-
var PersonOccupationEnum;
|
|
5
|
-
(function (PersonOccupationEnum) {
|
|
6
|
-
PersonOccupationEnum["COMPOSER"] = "composer";
|
|
7
|
-
PersonOccupationEnum["MUSICIAN"] = "musician";
|
|
8
|
-
PersonOccupationEnum["SINGER"] = "singer";
|
|
9
|
-
PersonOccupationEnum["PIANIST"] = "pianist";
|
|
10
|
-
PersonOccupationEnum["CONDUCTOR"] = "conductor";
|
|
11
|
-
PersonOccupationEnum["CELLIST"] = "cellist";
|
|
12
|
-
PersonOccupationEnum["LIBRETTIST"] = "librettist";
|
|
13
|
-
PersonOccupationEnum["POET"] = "poet";
|
|
14
|
-
PersonOccupationEnum["WRITER"] = "writer";
|
|
15
|
-
PersonOccupationEnum["PLAYWRIGHT"] = "playwright";
|
|
16
|
-
PersonOccupationEnum["DIARIST"] = "diarist";
|
|
17
|
-
PersonOccupationEnum["PHILOSOPHER"] = "philosopher";
|
|
18
|
-
PersonOccupationEnum["PAINTER"] = "painter";
|
|
19
|
-
PersonOccupationEnum["SCULPTOR"] = "sculptor";
|
|
20
|
-
PersonOccupationEnum["ARCHITECT"] = "architect";
|
|
21
|
-
PersonOccupationEnum["ENGRAVER"] = "engraver";
|
|
22
|
-
PersonOccupationEnum["GRAPHIC_ARTIST"] = "graphic_artist";
|
|
23
|
-
PersonOccupationEnum["DANCER"] = "dancer";
|
|
24
|
-
PersonOccupationEnum["ACTOR"] = "actor";
|
|
25
|
-
PersonOccupationEnum["ACTRESS"] = "actress";
|
|
26
|
-
PersonOccupationEnum["POLITICIAN"] = "politician";
|
|
27
|
-
PersonOccupationEnum["SCIENTIST"] = "scientist";
|
|
28
|
-
PersonOccupationEnum["INVENTOR"] = "inventor";
|
|
29
|
-
PersonOccupationEnum["ATHLETE"] = "athlete";
|
|
30
|
-
PersonOccupationEnum["DIRECTOR"] = "director";
|
|
31
|
-
})(PersonOccupationEnum || (exports.PersonOccupationEnum = PersonOccupationEnum = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonRecognitionEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Узнаваемость личности для туриста без локальной истории.
|
|
6
|
-
* world — household name (Моцарт, Кафка); local — всё остальное.
|
|
7
|
-
* При сомнении всегда local.
|
|
8
|
-
*/
|
|
9
|
-
var PersonRecognitionEnum;
|
|
10
|
-
(function (PersonRecognitionEnum) {
|
|
11
|
-
PersonRecognitionEnum["WORLD"] = "world";
|
|
12
|
-
PersonRecognitionEnum["LOCAL"] = "local";
|
|
13
|
-
})(PersonRecognitionEnum || (exports.PersonRecognitionEnum = PersonRecognitionEnum = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Moderation status for city people.
|
|
3
|
-
* Existing rows default to `approved`. MCP may set `rejected_mcp`.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum PersonReviewStatusEnum {
|
|
6
|
-
APPROVED = "approved",
|
|
7
|
-
NEED_REVIEW = "needReview",
|
|
8
|
-
REJECTED = "rejected",
|
|
9
|
-
/** Rejected by city-content MCP agent (not human moderator). */
|
|
10
|
-
REJECTED_MCP = "rejected_mcp"
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonReviewStatusEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Moderation status for city people.
|
|
6
|
-
* Existing rows default to `approved`. MCP may set `rejected_mcp`.
|
|
7
|
-
*/
|
|
8
|
-
var PersonReviewStatusEnum;
|
|
9
|
-
(function (PersonReviewStatusEnum) {
|
|
10
|
-
PersonReviewStatusEnum["APPROVED"] = "approved";
|
|
11
|
-
PersonReviewStatusEnum["NEED_REVIEW"] = "needReview";
|
|
12
|
-
PersonReviewStatusEnum["REJECTED"] = "rejected";
|
|
13
|
-
/** Rejected by city-content MCP agent (not human moderator). */
|
|
14
|
-
PersonReviewStatusEnum["REJECTED_MCP"] = "rejected_mcp";
|
|
15
|
-
})(PersonReviewStatusEnum || (exports.PersonReviewStatusEnum = PersonReviewStatusEnum = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PersonSourceEnum = void 0;
|
|
4
|
-
var PersonSourceEnum;
|
|
5
|
-
(function (PersonSourceEnum) {
|
|
6
|
-
PersonSourceEnum["MANUAL"] = "manual";
|
|
7
|
-
PersonSourceEnum["WIKIDATA"] = "wikidata";
|
|
8
|
-
PersonSourceEnum["SEED"] = "seed";
|
|
9
|
-
/** Candidate found by the AI city researcher (web search). */
|
|
10
|
-
PersonSourceEnum["AI_RESEARCH"] = "ai_research";
|
|
11
|
-
})(PersonSourceEnum || (exports.PersonSourceEnum = PersonSourceEnum = {}));
|
|
@@ -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.ModerateCityPersonDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const person_review_status_enum_1 = require("./enum/person-review-status.enum");
|
|
16
|
-
class ModerateCityPersonDto {
|
|
17
|
-
}
|
|
18
|
-
exports.ModerateCityPersonDto = ModerateCityPersonDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsEnum)(person_review_status_enum_1.PersonReviewStatusEnum),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], ModerateCityPersonDto.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
|
-
], ModerateCityPersonDto.prototype, "rejectionReason", void 0);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
/** First-wave languages for person content (RU base first). */
|
|
3
|
-
export declare const PERSON_CONTENT_LANGUAGES: readonly [Languages.RU, Languages.EN, Languages.DE, Languages.FR, Languages.ES];
|
|
4
|
-
export type PersonContentLanguage = (typeof PERSON_CONTENT_LANGUAGES)[number];
|
|
5
|
-
export declare const isPersonContentLanguage: (lang: string) => lang is PersonContentLanguage;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isPersonContentLanguage = exports.PERSON_CONTENT_LANGUAGES = void 0;
|
|
4
|
-
const content_base_language_1 = require("../shared/content-base-language");
|
|
5
|
-
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
6
|
-
/** First-wave languages for person content (RU base first). */
|
|
7
|
-
exports.PERSON_CONTENT_LANGUAGES = [
|
|
8
|
-
content_base_language_1.CONTENT_BASE_LANGUAGE,
|
|
9
|
-
languages_enum_1.Languages.EN,
|
|
10
|
-
languages_enum_1.Languages.DE,
|
|
11
|
-
languages_enum_1.Languages.FR,
|
|
12
|
-
languages_enum_1.Languages.ES,
|
|
13
|
-
];
|
|
14
|
-
const isPersonContentLanguage = (lang) => exports.PERSON_CONTENT_LANGUAGES.includes(lang);
|
|
15
|
-
exports.isPersonContentLanguage = isPersonContentLanguage;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PersonDomainEnum } from './enum/person-domain.enum';
|
|
2
|
-
import { PersonOccupationEnum } from './enum/person-occupation.enum';
|
|
3
|
-
/** Prompt color for AI portrait sky — keep in sync with product palette. */
|
|
4
|
-
export declare const PERSON_DOMAIN_PROMPT_COLOR: Record<PersonDomainEnum, string>;
|
|
5
|
-
export declare const DEFAULT_PERSON_DOMAIN_PROMPT_COLOR = "warm golden amber";
|
|
6
|
-
export type PersonDomainUiColor = {
|
|
7
|
-
/** Label / accent on dark UI */
|
|
8
|
-
color: string;
|
|
9
|
-
/** Pill background */
|
|
10
|
-
bg: string;
|
|
11
|
-
};
|
|
12
|
-
/** Tag / filter colors on dark player surfaces (approx. of prompt palette). */
|
|
13
|
-
export declare const PERSON_DOMAIN_UI_COLOR: Record<PersonDomainEnum, PersonDomainUiColor>;
|
|
14
|
-
export declare const DEFAULT_PERSON_DOMAIN_UI_COLOR: PersonDomainUiColor;
|
|
15
|
-
/** Stable filter / preview order (not alphabetical). */
|
|
16
|
-
export declare const PERSON_DOMAIN_ORDER: PersonDomainEnum[];
|
|
17
|
-
/** Occupation → domain for derived domains and tag coloring. */
|
|
18
|
-
export declare const PERSON_OCCUPATION_DOMAIN: Record<PersonOccupationEnum, PersonDomainEnum>;
|
|
19
|
-
export declare const personDomainUiColor: (domain?: PersonDomainEnum | null) => PersonDomainUiColor;
|
|
20
|
-
export declare const personDomainPromptColor: (domain?: PersonDomainEnum | null) => string;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.personDomainPromptColor = exports.personDomainUiColor = exports.PERSON_OCCUPATION_DOMAIN = exports.PERSON_DOMAIN_ORDER = exports.DEFAULT_PERSON_DOMAIN_UI_COLOR = exports.PERSON_DOMAIN_UI_COLOR = exports.DEFAULT_PERSON_DOMAIN_PROMPT_COLOR = exports.PERSON_DOMAIN_PROMPT_COLOR = void 0;
|
|
4
|
-
const person_domain_enum_1 = require("./enum/person-domain.enum");
|
|
5
|
-
const person_occupation_enum_1 = require("./enum/person-occupation.enum");
|
|
6
|
-
/** Prompt color for AI portrait sky — keep in sync with product palette. */
|
|
7
|
-
exports.PERSON_DOMAIN_PROMPT_COLOR = {
|
|
8
|
-
[person_domain_enum_1.PersonDomainEnum.MUSIC]: 'deep violet',
|
|
9
|
-
[person_domain_enum_1.PersonDomainEnum.LITERATURE]: 'rich emerald green',
|
|
10
|
-
[person_domain_enum_1.PersonDomainEnum.VISUAL_ART]: 'vivid cobalt blue',
|
|
11
|
-
[person_domain_enum_1.PersonDomainEnum.POLITICS]: 'dignified burgundy red',
|
|
12
|
-
[person_domain_enum_1.PersonDomainEnum.ARCHITECTURE]: 'refined slate gray',
|
|
13
|
-
[person_domain_enum_1.PersonDomainEnum.ACTING]: 'vibrant coral red',
|
|
14
|
-
[person_domain_enum_1.PersonDomainEnum.SCIENCE]: 'clear turquoise cyan',
|
|
15
|
-
[person_domain_enum_1.PersonDomainEnum.SPORT]: 'energetic tangerine orange',
|
|
16
|
-
[person_domain_enum_1.PersonDomainEnum.FILM]: 'cinematic midnight navy',
|
|
17
|
-
};
|
|
18
|
-
exports.DEFAULT_PERSON_DOMAIN_PROMPT_COLOR = 'warm golden amber';
|
|
19
|
-
/** Tag / filter colors on dark player surfaces (approx. of prompt palette). */
|
|
20
|
-
exports.PERSON_DOMAIN_UI_COLOR = {
|
|
21
|
-
[person_domain_enum_1.PersonDomainEnum.MUSIC]: { color: '#C4B5FD', bg: 'rgba(109, 40, 217, 0.22)' },
|
|
22
|
-
[person_domain_enum_1.PersonDomainEnum.LITERATURE]: { color: '#6EE7B7', bg: 'rgba(5, 150, 105, 0.18)' },
|
|
23
|
-
[person_domain_enum_1.PersonDomainEnum.VISUAL_ART]: { color: '#93C5FD', bg: 'rgba(37, 99, 235, 0.2)' },
|
|
24
|
-
[person_domain_enum_1.PersonDomainEnum.POLITICS]: { color: '#F0A3B5', bg: 'rgba(127, 29, 55, 0.28)' },
|
|
25
|
-
[person_domain_enum_1.PersonDomainEnum.ARCHITECTURE]: { color: '#CBD5E1', bg: 'rgba(100, 116, 139, 0.22)' },
|
|
26
|
-
[person_domain_enum_1.PersonDomainEnum.ACTING]: { color: '#FF8A70', bg: 'rgba(234, 88, 12, 0.18)' },
|
|
27
|
-
[person_domain_enum_1.PersonDomainEnum.SCIENCE]: { color: '#67E8F9', bg: 'rgba(8, 145, 178, 0.2)' },
|
|
28
|
-
[person_domain_enum_1.PersonDomainEnum.SPORT]: { color: '#FDBA74', bg: 'rgba(234, 88, 12, 0.16)' },
|
|
29
|
-
[person_domain_enum_1.PersonDomainEnum.FILM]: { color: '#93C5FD', bg: 'rgba(30, 58, 95, 0.45)' },
|
|
30
|
-
};
|
|
31
|
-
exports.DEFAULT_PERSON_DOMAIN_UI_COLOR = {
|
|
32
|
-
color: '#F6D787',
|
|
33
|
-
bg: 'rgba(217, 160, 40, 0.16)',
|
|
34
|
-
};
|
|
35
|
-
/** Stable filter / preview order (not alphabetical). */
|
|
36
|
-
exports.PERSON_DOMAIN_ORDER = [
|
|
37
|
-
person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
38
|
-
person_domain_enum_1.PersonDomainEnum.LITERATURE,
|
|
39
|
-
person_domain_enum_1.PersonDomainEnum.VISUAL_ART,
|
|
40
|
-
person_domain_enum_1.PersonDomainEnum.ARCHITECTURE,
|
|
41
|
-
person_domain_enum_1.PersonDomainEnum.ACTING,
|
|
42
|
-
person_domain_enum_1.PersonDomainEnum.FILM,
|
|
43
|
-
person_domain_enum_1.PersonDomainEnum.SCIENCE,
|
|
44
|
-
person_domain_enum_1.PersonDomainEnum.POLITICS,
|
|
45
|
-
person_domain_enum_1.PersonDomainEnum.SPORT,
|
|
46
|
-
];
|
|
47
|
-
/** Occupation → domain for derived domains and tag coloring. */
|
|
48
|
-
exports.PERSON_OCCUPATION_DOMAIN = {
|
|
49
|
-
[person_occupation_enum_1.PersonOccupationEnum.COMPOSER]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
50
|
-
[person_occupation_enum_1.PersonOccupationEnum.MUSICIAN]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
51
|
-
[person_occupation_enum_1.PersonOccupationEnum.SINGER]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
52
|
-
[person_occupation_enum_1.PersonOccupationEnum.PIANIST]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
53
|
-
[person_occupation_enum_1.PersonOccupationEnum.CONDUCTOR]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
54
|
-
[person_occupation_enum_1.PersonOccupationEnum.CELLIST]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
55
|
-
[person_occupation_enum_1.PersonOccupationEnum.LIBRETTIST]: person_domain_enum_1.PersonDomainEnum.MUSIC,
|
|
56
|
-
[person_occupation_enum_1.PersonOccupationEnum.POET]: person_domain_enum_1.PersonDomainEnum.LITERATURE,
|
|
57
|
-
[person_occupation_enum_1.PersonOccupationEnum.WRITER]: person_domain_enum_1.PersonDomainEnum.LITERATURE,
|
|
58
|
-
[person_occupation_enum_1.PersonOccupationEnum.PLAYWRIGHT]: person_domain_enum_1.PersonDomainEnum.LITERATURE,
|
|
59
|
-
[person_occupation_enum_1.PersonOccupationEnum.DIARIST]: person_domain_enum_1.PersonDomainEnum.LITERATURE,
|
|
60
|
-
[person_occupation_enum_1.PersonOccupationEnum.PHILOSOPHER]: person_domain_enum_1.PersonDomainEnum.LITERATURE,
|
|
61
|
-
[person_occupation_enum_1.PersonOccupationEnum.PAINTER]: person_domain_enum_1.PersonDomainEnum.VISUAL_ART,
|
|
62
|
-
[person_occupation_enum_1.PersonOccupationEnum.SCULPTOR]: person_domain_enum_1.PersonDomainEnum.VISUAL_ART,
|
|
63
|
-
[person_occupation_enum_1.PersonOccupationEnum.ENGRAVER]: person_domain_enum_1.PersonDomainEnum.VISUAL_ART,
|
|
64
|
-
[person_occupation_enum_1.PersonOccupationEnum.GRAPHIC_ARTIST]: person_domain_enum_1.PersonDomainEnum.VISUAL_ART,
|
|
65
|
-
[person_occupation_enum_1.PersonOccupationEnum.ARCHITECT]: person_domain_enum_1.PersonDomainEnum.ARCHITECTURE,
|
|
66
|
-
[person_occupation_enum_1.PersonOccupationEnum.DANCER]: person_domain_enum_1.PersonDomainEnum.ACTING,
|
|
67
|
-
[person_occupation_enum_1.PersonOccupationEnum.ACTOR]: person_domain_enum_1.PersonDomainEnum.ACTING,
|
|
68
|
-
[person_occupation_enum_1.PersonOccupationEnum.ACTRESS]: person_domain_enum_1.PersonDomainEnum.ACTING,
|
|
69
|
-
[person_occupation_enum_1.PersonOccupationEnum.POLITICIAN]: person_domain_enum_1.PersonDomainEnum.POLITICS,
|
|
70
|
-
[person_occupation_enum_1.PersonOccupationEnum.SCIENTIST]: person_domain_enum_1.PersonDomainEnum.SCIENCE,
|
|
71
|
-
[person_occupation_enum_1.PersonOccupationEnum.INVENTOR]: person_domain_enum_1.PersonDomainEnum.SCIENCE,
|
|
72
|
-
[person_occupation_enum_1.PersonOccupationEnum.ATHLETE]: person_domain_enum_1.PersonDomainEnum.SPORT,
|
|
73
|
-
[person_occupation_enum_1.PersonOccupationEnum.DIRECTOR]: person_domain_enum_1.PersonDomainEnum.FILM,
|
|
74
|
-
};
|
|
75
|
-
const personDomainUiColor = (domain) => (domain && exports.PERSON_DOMAIN_UI_COLOR[domain]) || exports.DEFAULT_PERSON_DOMAIN_UI_COLOR;
|
|
76
|
-
exports.personDomainUiColor = personDomainUiColor;
|
|
77
|
-
const personDomainPromptColor = (domain) => (domain && exports.PERSON_DOMAIN_PROMPT_COLOR[domain]) || exports.DEFAULT_PERSON_DOMAIN_PROMPT_COLOR;
|
|
78
|
-
exports.personDomainPromptColor = personDomainPromptColor;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CreateCityPersonDto } from './create-city-person.dto';
|
|
2
|
-
declare const UpdateCityPersonDto_base: import("@nestjs/mapped-types").MappedType<Partial<CreateCityPersonDto>>;
|
|
3
|
-
export declare class UpdateCityPersonDto extends UpdateCityPersonDto_base {
|
|
4
|
-
}
|
|
5
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateCityPersonDto = void 0;
|
|
4
|
-
const mapped_types_1 = require("@nestjs/mapped-types");
|
|
5
|
-
const create_city_person_dto_1 = require("./create-city-person.dto");
|
|
6
|
-
class UpdateCityPersonDto extends (0, mapped_types_1.PartialType)(create_city_person_dto_1.CreateCityPersonDto) {
|
|
7
|
-
}
|
|
8
|
-
exports.UpdateCityPersonDto = UpdateCityPersonDto;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { PersonFactKindEnum } from './enum/person-fact-kind.enum';
|
|
3
|
-
import { PersonLocaleStatusEnum } from './enum/person-locale-status.enum';
|
|
4
|
-
import { PersonLocaleFact } from './person-locale-fact';
|
|
5
|
-
export declare class PersonLocaleFactDto {
|
|
6
|
-
id: string;
|
|
7
|
-
kind: PersonFactKindEnum;
|
|
8
|
-
title?: string;
|
|
9
|
-
body: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class UpsertCityPersonLocaleDto {
|
|
12
|
-
language: Languages;
|
|
13
|
-
name?: string;
|
|
14
|
-
description?: string | null;
|
|
15
|
-
knownFor?: string | null;
|
|
16
|
-
facts?: PersonLocaleFact[] | null;
|
|
17
|
-
status?: PersonLocaleStatusEnum;
|
|
18
|
-
}
|
|
19
|
-
export declare class GeneratePersonContentDto {
|
|
20
|
-
language: Languages;
|
|
21
|
-
}
|
|
@@ -1,89 +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.GeneratePersonContentDto = exports.UpsertCityPersonLocaleDto = exports.PersonLocaleFactDto = 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 person_fact_kind_enum_1 = require("./enum/person-fact-kind.enum");
|
|
17
|
-
const person_locale_status_enum_1 = require("./enum/person-locale-status.enum");
|
|
18
|
-
class PersonLocaleFactDto {
|
|
19
|
-
}
|
|
20
|
-
exports.PersonLocaleFactDto = PersonLocaleFactDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_transformer_1.Expose)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], PersonLocaleFactDto.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsEnum)(person_fact_kind_enum_1.PersonFactKindEnum),
|
|
28
|
-
(0, class_transformer_1.Expose)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], PersonLocaleFactDto.prototype, "kind", 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
|
-
], PersonLocaleFactDto.prototype, "title", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_transformer_1.Expose)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], PersonLocaleFactDto.prototype, "body", void 0);
|
|
42
|
-
class UpsertCityPersonLocaleDto {
|
|
43
|
-
}
|
|
44
|
-
exports.UpsertCityPersonLocaleDto = UpsertCityPersonLocaleDto;
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
47
|
-
(0, class_transformer_1.Expose)(),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], UpsertCityPersonLocaleDto.prototype, "language", 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
|
-
], UpsertCityPersonLocaleDto.prototype, "name", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsString)(),
|
|
59
|
-
(0, class_transformer_1.Expose)(),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], UpsertCityPersonLocaleDto.prototype, "description", 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
|
-
], UpsertCityPersonLocaleDto.prototype, "knownFor", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
(0, class_validator_1.IsArray)(),
|
|
71
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
72
|
-
(0, class_transformer_1.Type)(() => PersonLocaleFactDto),
|
|
73
|
-
(0, class_transformer_1.Expose)(),
|
|
74
|
-
__metadata("design:type", Array)
|
|
75
|
-
], UpsertCityPersonLocaleDto.prototype, "facts", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
(0, class_validator_1.IsEnum)(person_locale_status_enum_1.PersonLocaleStatusEnum),
|
|
79
|
-
(0, class_transformer_1.Expose)(),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], UpsertCityPersonLocaleDto.prototype, "status", void 0);
|
|
82
|
-
class GeneratePersonContentDto {
|
|
83
|
-
}
|
|
84
|
-
exports.GeneratePersonContentDto = GeneratePersonContentDto;
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, class_validator_1.IsEnum)(languages_enum_1.Languages),
|
|
87
|
-
(0, class_transformer_1.Expose)(),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], GeneratePersonContentDto.prototype, "language", void 0);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { PersonAttractionRoleEnum } from './enum/person-attraction-role.enum';
|
|
2
|
-
/** Автосвязывание — только вручную и по конкретному городу. */
|
|
3
|
-
export declare class AutolinkDto {
|
|
4
|
-
cityId: number;
|
|
5
|
-
}
|
|
6
|
-
export type WikidataAutolinkItemRO = {
|
|
7
|
-
personId: number;
|
|
8
|
-
personName: string;
|
|
9
|
-
attractionId: number;
|
|
10
|
-
attractionTitle: string;
|
|
11
|
-
role: PersonAttractionRoleEnum;
|
|
12
|
-
/** Wikidata property, по которому найдена связь (P119, P138, …). */
|
|
13
|
-
property: string;
|
|
14
|
-
};
|
|
15
|
-
/** Отчёт автосвязывания личностей и атракшенов по Wikidata-свойствам. */
|
|
16
|
-
export type WikidataAutolinkReportRO = {
|
|
17
|
-
personsScanned: number;
|
|
18
|
-
attractionsScanned: number;
|
|
19
|
-
linksCreated: number;
|
|
20
|
-
/** Пары, уже связанные вручную или прошлым прогоном. */
|
|
21
|
-
alreadyLinked: number;
|
|
22
|
-
items: WikidataAutolinkItemRO[];
|
|
23
|
-
};
|
|
@@ -1,23 +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.AutolinkDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
/** Автосвязывание — только вручную и по конкретному городу. */
|
|
16
|
-
class AutolinkDto {
|
|
17
|
-
}
|
|
18
|
-
exports.AutolinkDto = AutolinkDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsInt)(),
|
|
21
|
-
(0, class_transformer_1.Expose)(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], AutolinkDto.prototype, "cityId", void 0);
|
|
@@ -1,22 +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.BindCityQuestDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class BindCityQuestDto {
|
|
16
|
-
}
|
|
17
|
-
exports.BindCityQuestDto = BindCityQuestDto;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsPositive)(),
|
|
20
|
-
(0, class_transformer_1.Expose)(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], BindCityQuestDto.prototype, "questroomId", void 0);
|