@escapenavigator/types 2.0.13 → 2.0.15
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/city-attraction/attraction-content-languages.d.ts +5 -0
- package/dist/city-attraction/attraction-content-languages.js +14 -0
- package/dist/city-attraction/attraction-content-prompt-version.d.ts +1 -0
- package/dist/city-attraction/attraction-content-prompt-version.js +5 -0
- package/dist/city-attraction/attraction-content.d.ts +24 -0
- package/dist/city-attraction/attraction-route-meta.d.ts +21 -0
- package/dist/city-attraction/attraction-triage.d.ts +29 -0
- package/dist/city-attraction/attraction-triage.js +41 -0
- package/dist/city-attraction/city-attraction-artifact.ro.d.ts +19 -0
- package/dist/city-attraction/city-attraction-artifact.ro.js +2 -0
- package/dist/city-attraction/city-attraction-locale.ro.d.ts +15 -0
- package/dist/city-attraction/city-attraction-locale.ro.js +2 -0
- package/dist/city-attraction/city-attraction.ro.d.ts +49 -0
- package/dist/city-attraction/city-attraction.ro.js +2 -0
- package/dist/city-attraction/create-city-attraction.dto.d.ts +40 -0
- package/dist/city-attraction/create-city-attraction.dto.js +215 -0
- package/dist/city-attraction/enum/attraction-artifact-kind.enum.d.ts +13 -0
- package/dist/city-attraction/enum/attraction-artifact-kind.enum.js +17 -0
- package/dist/city-attraction/enum/attraction-category.enum.d.ts +21 -0
- package/dist/city-attraction/enum/attraction-category.enum.js +25 -0
- package/dist/city-attraction/enum/attraction-fame.enum.d.ts +10 -0
- package/dist/city-attraction/enum/attraction-fame.enum.js +14 -0
- package/dist/city-attraction/enum/attraction-fun-fact-kind.enum.d.ts +4 -0
- package/dist/city-attraction/enum/attraction-fun-fact-kind.enum.js +8 -0
- package/dist/city-attraction/enum/attraction-indoor-outdoor.enum.d.ts +5 -0
- package/dist/city-attraction/enum/attraction-indoor-outdoor.enum.js +9 -0
- package/dist/city-attraction/enum/attraction-locale-status.enum.d.ts +11 -0
- package/dist/city-attraction/enum/attraction-locale-status.enum.js +15 -0
- package/dist/city-attraction/enum/attraction-review-status.enum.d.ts +10 -0
- package/dist/city-attraction/enum/attraction-review-status.enum.js +14 -0
- package/dist/city-attraction/enum/attraction-route-role.enum.d.ts +11 -0
- package/dist/city-attraction/enum/attraction-route-role.enum.js +15 -0
- package/dist/city-attraction/enum/attraction-source.enum.d.ts +12 -0
- package/dist/city-attraction/enum/attraction-source.enum.js +16 -0
- package/dist/city-attraction/moderate-city-attraction.dto.d.ts +5 -0
- package/dist/{partners-portal/admin/admin-moderate-portal-story.dto.js → city-attraction/moderate-city-attraction.dto.js} +7 -13
- package/dist/city-attraction/update-city-attraction.dto.d.ts +5 -0
- package/dist/city-attraction/update-city-attraction.dto.js +8 -0
- package/dist/city-attraction/upsert-city-attraction-artifact.dto.d.ts +19 -0
- package/dist/city-attraction/upsert-city-attraction-artifact.dto.js +104 -0
- package/dist/city-attraction/upsert-city-attraction-locale.dto.d.ts +14 -0
- package/dist/city-attraction/upsert-city-attraction-locale.dto.js +62 -0
- package/dist/city-person/city-person-attraction-link.dto.d.ts +12 -0
- package/dist/city-person/city-person-attraction-link.dto.js +61 -0
- package/dist/city-person/city-person-attraction-link.ro.d.ts +15 -0
- package/dist/city-person/city-person-attraction-link.ro.js +2 -0
- package/dist/city-person/city-person-locale.ro.d.ts +15 -0
- package/dist/city-person/city-person-locale.ro.js +2 -0
- package/dist/city-person/city-person.ro.d.ts +31 -0
- package/dist/city-person/city-person.ro.js +2 -0
- package/dist/city-person/create-city-person.dto.d.ts +24 -0
- package/dist/city-person/create-city-person.dto.js +128 -0
- package/dist/city-person/enum/person-attraction-role.enum.d.ts +8 -0
- package/dist/city-person/enum/person-attraction-role.enum.js +12 -0
- package/dist/city-person/enum/person-domain.enum.d.ts +5 -0
- package/dist/city-person/enum/person-domain.enum.js +9 -0
- package/dist/city-person/enum/person-fact-kind.enum.d.ts +7 -0
- package/dist/city-person/enum/person-fact-kind.enum.js +11 -0
- package/dist/city-person/enum/person-locale-status.enum.d.ts +8 -0
- package/dist/city-person/enum/person-locale-status.enum.js +12 -0
- package/dist/city-person/enum/person-occupation.enum.d.ts +21 -0
- package/dist/city-person/enum/person-occupation.enum.js +25 -0
- package/dist/city-person/enum/person-source.enum.d.ts +7 -0
- package/dist/city-person/enum/person-source.enum.js +11 -0
- package/dist/city-person/person-attraction-facts.d.ts +3 -0
- package/dist/city-person/person-attraction-facts.js +2 -0
- package/dist/city-person/person-content-languages.d.ts +5 -0
- package/dist/city-person/person-content-languages.js +14 -0
- package/dist/city-person/person-content-prompt-version.d.ts +2 -0
- package/dist/city-person/person-content-prompt-version.js +5 -0
- package/dist/city-person/person-locale-fact.d.ts +7 -0
- package/dist/city-person/person-locale-fact.js +2 -0
- package/dist/city-person/update-city-person.dto.d.ts +5 -0
- package/dist/city-person/update-city-person.dto.js +8 -0
- package/dist/city-person/upsert-city-person-locale.dto.d.ts +21 -0
- package/dist/{partners-portal/create-portal-story.dto.js → city-person/upsert-city-person-locale.dto.js} +35 -32
- package/dist/city-person/wikidata-autolink.d.ts +23 -0
- package/dist/city-person/wikidata-autolink.js +23 -0
- package/dist/city-quest/city-quest-content.d.ts +19 -5
- package/dist/city-quest/city-quest-locale-content.d.ts +35 -0
- package/dist/city-quest/city-quest-locale-content.js +2 -0
- package/dist/city-quest/city-quest-locale.ro.d.ts +12 -0
- package/dist/city-quest/city-quest-locale.ro.js +2 -0
- package/dist/city-quest/city-quest.ro.d.ts +11 -4
- package/dist/city-quest/city-quest.ro.js +17 -1
- package/dist/city-quest/enum/city-quest-locale-status.enum.d.ts +11 -0
- package/dist/city-quest/enum/city-quest-locale-status.enum.js +15 -0
- package/dist/city-quest/enum/city-quest-status.enum.d.ts +10 -5
- package/dist/city-quest/enum/city-quest-status.enum.js +9 -4
- package/dist/city-quest/quest-content-languages.d.ts +5 -0
- package/dist/city-quest/quest-content-languages.js +14 -0
- package/dist/city-quest/update-city-quest-content.dto.d.ts +5 -0
- package/dist/city-quest/update-city-quest-content.dto.js +23 -0
- package/dist/city-quest/update-city-quest-stop.dto.d.ts +9 -0
- package/dist/city-quest/update-city-quest-stop.dto.js +45 -0
- package/dist/city-quest/update-city-quest.dto.d.ts +6 -1
- package/dist/city-quest/update-city-quest.dto.js +12 -0
- package/dist/city-quest/upsert-city-quest-locale.dto.d.ts +10 -0
- package/dist/{partners-portal/update-portal-story.dto.js → city-quest/upsert-city-quest-locale.dto.js} +14 -17
- package/dist/google-places/apply-google-places-match.dto.d.ts +4 -0
- package/dist/google-places/apply-google-places-match.dto.js +25 -0
- package/dist/google-places/google-places-country-stats.ro.d.ts +10 -0
- package/dist/google-places/google-places-country-stats.ro.js +45 -0
- package/dist/google-places/google-places-match-preview.ro.d.ts +19 -0
- package/dist/google-places/google-places-match-preview.ro.js +67 -0
- package/dist/google-places/google-places.ro.d.ts +7 -0
- package/dist/google-places/google-places.ro.js +25 -1
- package/dist/google-places/update-google-places.dto.d.ts +2 -2
- package/dist/google-places/update-google-places.dto.js +2 -0
- package/dist/openapi/city-player/city-player.ro.d.ts +27 -0
- package/dist/openapi/city-player/free-route.d.ts +35 -0
- package/dist/openapi/city-player/free-route.js +2 -0
- package/dist/openapi/city-quest/play-state.ro.d.ts +15 -0
- package/dist/partners-portal/admin/admin-portal-partner.ro.d.ts +3 -3
- package/dist/partners-portal/create-partner-attraction.dto.d.ts +33 -0
- package/dist/partners-portal/create-partner-attraction.dto.js +173 -0
- package/dist/partners-portal/partner-city-quest.dto.d.ts +31 -0
- package/dist/partners-portal/partner-city-quest.dto.js +160 -0
- package/dist/partners-portal/partner-city-quest.ro.d.ts +11 -0
- package/dist/partners-portal/partner-city-quest.ro.js +2 -0
- package/dist/partners-portal/portal-stats.ro.d.ts +6 -6
- package/dist/partners-portal/update-partner-attraction.dto.d.ts +11 -0
- package/dist/partners-portal/update-partner-attraction.dto.js +35 -0
- package/dist/shared/ai-cover.d.ts +8 -0
- package/dist/shared/ai-cover.js +26 -0
- package/dist/shared/city-pipeline.d.ts +40 -0
- package/dist/shared/city-pipeline.js +52 -0
- package/dist/shared/city-research.d.ts +46 -0
- package/dist/shared/city-research.js +49 -0
- package/dist/shared/content-batch.d.ts +27 -0
- package/dist/shared/content-batch.js +41 -0
- package/dist/shared/wikidata-enrichment.d.ts +24 -0
- package/dist/shared/wikidata-enrichment.js +31 -0
- package/dist/shared/wikidata-import.d.ts +33 -0
- package/dist/shared/wikidata-import.js +53 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upload/enum/image-type.enum.d.ts +3 -1
- package/dist/upload/enum/image-type.enum.js +2 -0
- package/dist/user/crud/create-user.dto.js +1 -0
- package/dist/user/crud/update-user.dto.js +1 -0
- package/package.json +2 -2
- package/dist/partners-portal/admin/admin-moderate-portal-story.dto.d.ts +0 -8
- package/dist/partners-portal/create-portal-story.dto.d.ts +0 -18
- package/dist/partners-portal/enum/portal-story-status.enum.d.ts +0 -12
- package/dist/partners-portal/enum/portal-story-status.enum.js +0 -16
- package/dist/partners-portal/portal-story-step.d.ts +0 -19
- package/dist/partners-portal/portal-story.ro.d.ts +0 -19
- package/dist/partners-portal/update-portal-story.dto.d.ts +0 -9
- /package/dist/{partners-portal/portal-story-step.js → city-attraction/attraction-content.js} +0 -0
- /package/dist/{partners-portal/portal-story.ro.js → city-attraction/attraction-route-meta.js} +0 -0
|
@@ -10,4 +10,6 @@ var ImageTypeEnum;
|
|
|
10
10
|
ImageTypeEnum["PROFILE_LOGO"] = "profile_logos";
|
|
11
11
|
ImageTypeEnum["POSTER"] = "poster";
|
|
12
12
|
ImageTypeEnum["TRANSLATION"] = "translation";
|
|
13
|
+
ImageTypeEnum["CITY_ATTRACTION"] = "city_attractions";
|
|
14
|
+
ImageTypeEnum["CITY_PERSON"] = "city_people";
|
|
13
15
|
})(ImageTypeEnum || (exports.ImageTypeEnum = ImageTypeEnum = {}));
|
|
@@ -29,6 +29,7 @@ __decorate([
|
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, class_validator_1.IsOptional)(),
|
|
31
31
|
(0, class_validator_1.IsInt)(),
|
|
32
|
+
(0, class_transformer_1.Transform)(({ value }) => (value == null ? undefined : value)),
|
|
32
33
|
(0, class_transformer_1.Expose)(),
|
|
33
34
|
__metadata("design:type", Number)
|
|
34
35
|
], CreateUserDto.prototype, "hoursContract", void 0);
|
|
@@ -30,6 +30,7 @@ __decorate([
|
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_validator_1.IsOptional)(),
|
|
32
32
|
(0, class_validator_1.IsInt)(),
|
|
33
|
+
(0, class_transformer_1.Transform)(({ value }) => (value == null ? undefined : value)),
|
|
33
34
|
(0, class_transformer_1.Expose)(),
|
|
34
35
|
__metadata("design:type", Number)
|
|
35
36
|
], UpdateUserDto.prototype, "hoursContract", void 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"reflect-metadata": "^0.1.13",
|
|
24
24
|
"rxjs": "^7.5.5"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "fd9c7763c491702b9dd7ebb53f4463b73dee7e40",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/validator": "13.0.0",
|
|
29
29
|
"typescript": "^5.6"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PortalStoryStatusEnum } from '../enum/portal-story-status.enum';
|
|
2
|
-
export declare class AdminModeratePortalStoryDto {
|
|
3
|
-
status: PortalStoryStatusEnum;
|
|
4
|
-
/** Required when rejecting. */
|
|
5
|
-
rejectionReason?: string;
|
|
6
|
-
/** Link to the produced city quest (status PRODUCED). */
|
|
7
|
-
cityQuestId?: number;
|
|
8
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
export declare class PortalStoryStepDto {
|
|
3
|
-
title: string;
|
|
4
|
-
location?: string;
|
|
5
|
-
narrative?: string;
|
|
6
|
-
riddle?: string;
|
|
7
|
-
answer?: string;
|
|
8
|
-
hint?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class CreatePortalStoryDto {
|
|
11
|
-
title: string;
|
|
12
|
-
/** Pitch / synopsis of the story. */
|
|
13
|
-
description?: string;
|
|
14
|
-
/** Free-text city name the story is written for. */
|
|
15
|
-
cityName?: string;
|
|
16
|
-
language: Languages;
|
|
17
|
-
steps: PortalStoryStepDto[];
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum PortalStoryStatusEnum {
|
|
2
|
-
/** Author is still writing, visible only to them. */
|
|
3
|
-
DRAFT = "draft",
|
|
4
|
-
/** Submitted, waits for admin moderation. */
|
|
5
|
-
REVIEW = "review",
|
|
6
|
-
/** Approved by admin, production not started/finished yet. */
|
|
7
|
-
APPROVED = "approved",
|
|
8
|
-
/** Rejected by admin (see rejectionReason). */
|
|
9
|
-
REJECTED = "rejected",
|
|
10
|
-
/** A real city quest was produced from this story and linked (cityQuestId). */
|
|
11
|
-
PRODUCED = "produced"
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PortalStoryStatusEnum = void 0;
|
|
4
|
-
var PortalStoryStatusEnum;
|
|
5
|
-
(function (PortalStoryStatusEnum) {
|
|
6
|
-
/** Author is still writing, visible only to them. */
|
|
7
|
-
PortalStoryStatusEnum["DRAFT"] = "draft";
|
|
8
|
-
/** Submitted, waits for admin moderation. */
|
|
9
|
-
PortalStoryStatusEnum["REVIEW"] = "review";
|
|
10
|
-
/** Approved by admin, production not started/finished yet. */
|
|
11
|
-
PortalStoryStatusEnum["APPROVED"] = "approved";
|
|
12
|
-
/** Rejected by admin (see rejectionReason). */
|
|
13
|
-
PortalStoryStatusEnum["REJECTED"] = "rejected";
|
|
14
|
-
/** A real city quest was produced from this story and linked (cityQuestId). */
|
|
15
|
-
PortalStoryStatusEnum["PRODUCED"] = "produced";
|
|
16
|
-
})(PortalStoryStatusEnum || (exports.PortalStoryStatusEnum = PortalStoryStatusEnum = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One stop of an author story. Deliberately simple (plain text) — the
|
|
3
|
-
* production team converts approved stories into full city-quest content
|
|
4
|
-
* (geo points, assets, riddle mechanics) in the admin CMS.
|
|
5
|
-
*/
|
|
6
|
-
export type PortalStoryStep = {
|
|
7
|
-
/** Short stop name, e.g. "Old Town Clock". */
|
|
8
|
-
title: string;
|
|
9
|
-
/** Where the players should be (address / landmark description). */
|
|
10
|
-
location: string;
|
|
11
|
-
/** Narrative text the players read at this stop. */
|
|
12
|
-
narrative: string;
|
|
13
|
-
/** The riddle / task text. */
|
|
14
|
-
riddle: string;
|
|
15
|
-
/** Expected answer. */
|
|
16
|
-
answer: string;
|
|
17
|
-
/** Optional hint. */
|
|
18
|
-
hint?: string;
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { PortalStoryStatusEnum } from './enum/portal-story-status.enum';
|
|
3
|
-
import { PortalStoryStep } from './portal-story-step';
|
|
4
|
-
export type PortalStoryRO = {
|
|
5
|
-
id: number;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
updatedAt: Date;
|
|
8
|
-
partnerId: number;
|
|
9
|
-
title: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
cityName?: string;
|
|
12
|
-
language: Languages;
|
|
13
|
-
steps: PortalStoryStep[];
|
|
14
|
-
status: PortalStoryStatusEnum;
|
|
15
|
-
rejectionReason?: string;
|
|
16
|
-
/** Set by admin when a real city quest is produced from this story. */
|
|
17
|
-
cityQuestId?: number;
|
|
18
|
-
submittedAt?: Date;
|
|
19
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { PortalStoryStepDto } from './create-portal-story.dto';
|
|
3
|
-
export declare class UpdatePortalStoryDto {
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
cityName?: string;
|
|
7
|
-
language?: Languages;
|
|
8
|
-
steps?: PortalStoryStepDto[];
|
|
9
|
-
}
|
/package/dist/{partners-portal/portal-story-step.js → city-attraction/attraction-content.js}
RENAMED
|
File without changes
|
/package/dist/{partners-portal/portal-story.ro.js → city-attraction/attraction-route-meta.js}
RENAMED
|
File without changes
|