trand_common_v1 0.2.105 → 0.2.107
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/t-city-image.d.ts +10 -0
- package/dist/content/f-content-description.d.ts +166 -0
- package/dist/content/f-content-description.js +166 -0
- package/dist/content/f-content-description.js.map +1 -1
- package/dist/content/f-content-target.d.ts +61 -0
- package/dist/content/f-content-target.js +61 -0
- package/dist/content/f-content-target.js.map +1 -1
- package/dist/content/f-content.d.ts +0 -227
- package/dist/content/f-content.js +0 -227
- package/dist/content/f-content.js.map +1 -1
- package/dist/content/t-content-description.d.ts +31 -0
- package/dist/content/t-content-description.js +33 -1
- package/dist/content/t-content-description.js.map +1 -1
- package/dist/content/t-content-image.d.ts +10 -0
- package/dist/content/t-content-target.d.ts +19 -0
- package/dist/content/t-content-target.js +28 -1
- package/dist/content/t-content-target.js.map +1 -1
- package/dist/content/t-content.d.ts +0 -56
- package/dist/content/t-content.js +0 -66
- package/dist/content/t-content.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/response/trand-response-category.d.ts +91 -0
- package/dist/response/trand-response-category.js +2 -0
- package/dist/response/trand-response-category.js.map +1 -0
- package/dist/response/trand-response-city.d.ts +90 -0
- package/dist/response/trand-response-city.js +2 -0
- package/dist/response/trand-response-city.js.map +1 -0
- package/dist/response/trand-response-completed-youtube-channel.d.ts +9 -0
- package/dist/response/trand-response-completed-youtube-channel.js +2 -0
- package/dist/response/trand-response-completed-youtube-channel.js.map +1 -0
- package/dist/response/trand-response-completed-youtube-video.d.ts +21 -0
- package/dist/response/trand-response-completed-youtube-video.js +2 -0
- package/dist/response/trand-response-completed-youtube-video.js.map +1 -0
- package/dist/response/trand-response-content.d.ts +164 -0
- package/dist/response/trand-response-content.js +2 -0
- package/dist/response/trand-response-content.js.map +1 -0
- package/dist/response/trand-response-search-result.d.ts +16 -0
- package/dist/response/trand-response-search-result.js +2 -0
- package/dist/response/trand-response-search-result.js.map +1 -0
- package/dist/response/trand-response-stag.d.ts +95 -0
- package/dist/response/trand-response-stag.js +2 -0
- package/dist/response/trand-response-stag.js.map +1 -0
- package/dist/response/trand-response-street.d.ts +103 -0
- package/dist/response/trand-response-street.js +2 -0
- package/dist/response/trand-response-street.js.map +1 -0
- package/dist/response/trand-response-tag.d.ts +19 -0
- package/dist/response/trand-response-tag.js +2 -0
- package/dist/response/trand-response-tag.js.map +1 -0
- package/dist/response/trand-response.d.ts +13 -509
- package/dist/stag/t-stag-image.d.ts +10 -0
- package/dist/street/t-street-image.d.ts +10 -0
- package/dist/street/t-street.d.ts +6 -1
- package/dist/street/t-street.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { TMapCategoryContent } from "../category/t-map-category-content.js";
|
|
2
|
+
import { TMapCityContent } from "../city/t-map-city-content.js";
|
|
3
|
+
import { TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video.js";
|
|
4
|
+
import { TContentDetail, TContentDetailInsert, TContentDetailUpdate } from "../content/t-content.js";
|
|
5
|
+
import { TContentBusinessHours } from "../content/t-content-business-hours.js";
|
|
6
|
+
import { TContentI18n } from "../content/t-content-i18n.js";
|
|
7
|
+
import { TContentImage, TContentImageAdminInput } from "../content/t-content-image.js";
|
|
8
|
+
import { TContentKeyword } from "../content/t-content-keyword.js";
|
|
9
|
+
import { TContentMetadataI18n } from "../content/t-content-metadata-i18n.js";
|
|
10
|
+
import { TContentPrice } from "../content/t-content-price.js";
|
|
11
|
+
import { TContentShowTimetable } from "../content/t-content-show-timetable.js";
|
|
12
|
+
import { TMapContentInstagram } from "../content/t-map-content-instagram.js";
|
|
13
|
+
import { TMapContentYouTubeVideo } from "../content/t-map-content-youtube-video.js";
|
|
14
|
+
import { TGooglePlaceData } from "../google_place_data/t-google-place-data.js";
|
|
15
|
+
import { TInstagramContent } from "../instagram_content/t-instagram-content.js";
|
|
16
|
+
import { TMapStagContent } from "../stag/t-map-stag-content.js";
|
|
17
|
+
import { TStagListForContentDetail } from "../stag/t-stag.js";
|
|
18
|
+
import { TMapStreetContent } from "../street/t-map-street-content.js";
|
|
19
|
+
import { TMapTagContent } from "../tag/t-map-tag-content.js";
|
|
20
|
+
import { TTag } from "../tag/t-tag.js";
|
|
21
|
+
import { TTripAdvisorData } from "../trip_advisor_data/t-trip-advisor-data.js";
|
|
22
|
+
import { ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
23
|
+
import { CityInfoBase } from "./trand-response-city.js";
|
|
24
|
+
import { StreetInfoBase } from "./trand-response-street.js";
|
|
25
|
+
import { TContentDescription } from "../content/t-content-description.js";
|
|
26
|
+
import { TContentTarget } from "../content/t-content-target.js";
|
|
27
|
+
/**
|
|
28
|
+
* Content Detail - Admin
|
|
29
|
+
*/
|
|
30
|
+
export type ResponseContentDetailForAdmin = {
|
|
31
|
+
content: TContentDetail;
|
|
32
|
+
description?: TContentDescription;
|
|
33
|
+
target?: TContentTarget;
|
|
34
|
+
businessHours?: TContentBusinessHours[];
|
|
35
|
+
googlePlaceData?: TGooglePlaceData;
|
|
36
|
+
tripAdvisorData?: TTripAdvisorData;
|
|
37
|
+
showTimetable?: TContentShowTimetable[];
|
|
38
|
+
price?: TContentPrice[];
|
|
39
|
+
image?: TContentImage[];
|
|
40
|
+
i18n?: TContentI18n[];
|
|
41
|
+
metadataI18n?: TContentMetadataI18n[];
|
|
42
|
+
keyword?: TContentKeyword[];
|
|
43
|
+
mapContentCategory?: TMapCategoryContent[];
|
|
44
|
+
mapContentCity?: TMapCityContent[];
|
|
45
|
+
mapContentStreet?: TMapStreetContent[];
|
|
46
|
+
mapContentInstagram?: TMapContentInstagram[];
|
|
47
|
+
mapContentYouTubeVideo?: TMapContentYouTubeVideo[];
|
|
48
|
+
mapContentStag?: TMapStagContent[];
|
|
49
|
+
mapContentTag?: TMapTagContent[];
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Content Detail - Public
|
|
53
|
+
*/
|
|
54
|
+
export type ResponseContentDetailForPublic = {
|
|
55
|
+
content: TContentDetail;
|
|
56
|
+
description?: TContentDescription;
|
|
57
|
+
target?: TContentTarget;
|
|
58
|
+
businessHours?: TContentBusinessHours[];
|
|
59
|
+
cityDetail?: {
|
|
60
|
+
city_code: string;
|
|
61
|
+
name: string;
|
|
62
|
+
native: string;
|
|
63
|
+
name_ko: string;
|
|
64
|
+
};
|
|
65
|
+
showTimetable?: TContentShowTimetable[];
|
|
66
|
+
price?: TContentPrice[];
|
|
67
|
+
image?: TContentImage[];
|
|
68
|
+
i18n?: TContentI18n;
|
|
69
|
+
metadataI18n?: TContentMetadataI18n;
|
|
70
|
+
keyword?: TContentKeyword[];
|
|
71
|
+
mapContentCity?: Array<{
|
|
72
|
+
map: TMapCityContent;
|
|
73
|
+
city: {
|
|
74
|
+
city_code: string;
|
|
75
|
+
name: string;
|
|
76
|
+
native: string;
|
|
77
|
+
content_count: number;
|
|
78
|
+
view_count: number;
|
|
79
|
+
saved_count: number;
|
|
80
|
+
shared_count: number;
|
|
81
|
+
};
|
|
82
|
+
}>;
|
|
83
|
+
mapContentStreet?: Array<{
|
|
84
|
+
map: TMapStreetContent;
|
|
85
|
+
street: {
|
|
86
|
+
city_code: string;
|
|
87
|
+
street_code: string;
|
|
88
|
+
name: string;
|
|
89
|
+
native: string;
|
|
90
|
+
content_count: number;
|
|
91
|
+
view_count: number;
|
|
92
|
+
saved_count: number;
|
|
93
|
+
shared_count: number;
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
96
|
+
mapContentCategory?: Array<{
|
|
97
|
+
map: TMapCategoryContent;
|
|
98
|
+
category: {
|
|
99
|
+
target_country_code: string;
|
|
100
|
+
category_code: string;
|
|
101
|
+
order_num: number;
|
|
102
|
+
name: string;
|
|
103
|
+
name_i18n?: string | null;
|
|
104
|
+
description_i18n?: string | null;
|
|
105
|
+
content_count: number;
|
|
106
|
+
view_count: number;
|
|
107
|
+
saved_count: number;
|
|
108
|
+
shared_count: number;
|
|
109
|
+
};
|
|
110
|
+
}>;
|
|
111
|
+
mapContentInstagram?: ResponseItemsPaired<TMapContentInstagram, TInstagramContent>;
|
|
112
|
+
mapContentYouTubeVideo?: ResponseItemsPaired<TMapContentYouTubeVideo, TCompletedYouTubeVideoListForPublicFront>;
|
|
113
|
+
mapContentYouTubeVideoShorts?: ResponseItemsPaired<TMapContentYouTubeVideo, TCompletedYouTubeVideoListForPublicFront>;
|
|
114
|
+
mapContentStag?: ResponseItemsPaired<TMapStagContent, TStagListForContentDetail>;
|
|
115
|
+
mapContentTag?: ResponseItemsPaired<TMapTagContent, TTag>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Content YouTube Video List - Public
|
|
119
|
+
*/
|
|
120
|
+
export type ResponseContentYouTubeVideoListForPublic = {
|
|
121
|
+
cityInfo?: CityInfoBase;
|
|
122
|
+
streetInfo?: StreetInfoBase;
|
|
123
|
+
contentInfo?: {
|
|
124
|
+
content_code: string;
|
|
125
|
+
name: string;
|
|
126
|
+
native: string;
|
|
127
|
+
name_i18n: string;
|
|
128
|
+
description_i18n: string;
|
|
129
|
+
};
|
|
130
|
+
items: Array<{
|
|
131
|
+
map: TMapContentYouTubeVideo;
|
|
132
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
133
|
+
}>;
|
|
134
|
+
} & ResponseListBase;
|
|
135
|
+
/**
|
|
136
|
+
* Content YouTube Shorts List - Public
|
|
137
|
+
*/
|
|
138
|
+
export type ResponseContentYouTubeVideoShortsListForPublic = {
|
|
139
|
+
cityInfo?: CityInfoBase;
|
|
140
|
+
streetInfo?: StreetInfoBase;
|
|
141
|
+
contentInfo?: {
|
|
142
|
+
content_code: string;
|
|
143
|
+
name: string;
|
|
144
|
+
native: string;
|
|
145
|
+
name_i18n: string;
|
|
146
|
+
description_i18n: string;
|
|
147
|
+
};
|
|
148
|
+
items: Array<{
|
|
149
|
+
map: TMapContentYouTubeVideo;
|
|
150
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
151
|
+
}>;
|
|
152
|
+
} & ResponseListBase;
|
|
153
|
+
export type TContentAdminCreateForm = {
|
|
154
|
+
contentInfo: TContentDetailInsert;
|
|
155
|
+
files: Record<string, File | null>;
|
|
156
|
+
images: TContentImageAdminInput[];
|
|
157
|
+
};
|
|
158
|
+
export type TContentAdminUpdateForm = {
|
|
159
|
+
contentInfo: TContentDetailUpdate;
|
|
160
|
+
files: Record<string, File | null>;
|
|
161
|
+
images: TContentImageAdminInput[];
|
|
162
|
+
deletedImageKeys: Set<string>;
|
|
163
|
+
deletedImageHashes: Set<string>;
|
|
164
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trand-response-content.js","sourceRoot":"","sources":["../../src/response/trand-response-content.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TCityDetail } from "../city/t-city.js";
|
|
2
|
+
import { TContentDetail } from "../content/t-content.js";
|
|
3
|
+
import { TStreetDetail } from "../street/t-street.js";
|
|
4
|
+
import { ResponseItemsFlat } from "./trand-response.js";
|
|
5
|
+
/**
|
|
6
|
+
* Search Result - Public
|
|
7
|
+
*/
|
|
8
|
+
export type ResponseSearchResult = {
|
|
9
|
+
q: string;
|
|
10
|
+
start: number;
|
|
11
|
+
limit: number;
|
|
12
|
+
serverTime: string;
|
|
13
|
+
cities: ResponseItemsFlat<TCityDetail>;
|
|
14
|
+
streets: ResponseItemsFlat<TStreetDetail>;
|
|
15
|
+
contents: ResponseItemsFlat<TContentDetail>;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trand-response-search-result.js","sourceRoot":"","sources":["../../src/response/trand-response-search-result.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video.js";
|
|
2
|
+
import { TContentDetail } from "../content/t-content.js";
|
|
3
|
+
import { TInstagramContent } from "../instagram_content/t-instagram-content.js";
|
|
4
|
+
import { TMapStagContent } from "../stag/t-map-stag-content.js";
|
|
5
|
+
import { TMapStagInstagram } from "../stag/t-map-stag-instagram.js";
|
|
6
|
+
import { TMapStagYouTubeVideo } from "../stag/t-map-stag-youtube-video.js";
|
|
7
|
+
import { TStagDetail, TStagDetailInsert, TStagDetailUpdate } from "../stag/t-stag.js";
|
|
8
|
+
import { TStagI18n } from "../stag/t-stag-i18n.js";
|
|
9
|
+
import { TStagImage, TStagImageAdminInput } from "../stag/t-stag-image.js";
|
|
10
|
+
import { TStagMetadataI18n } from "../stag/t-stag-metadata-i18n.js";
|
|
11
|
+
import { ResponseItemsFlat, ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
12
|
+
import { CityInfoBase } from "./trand-response-city.js";
|
|
13
|
+
export type StagInfoBase = {
|
|
14
|
+
stag_code: string;
|
|
15
|
+
name: string;
|
|
16
|
+
native: string;
|
|
17
|
+
name_i18n: string;
|
|
18
|
+
description_i18n: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Stag Detail - Admin
|
|
22
|
+
*/
|
|
23
|
+
export type ResponseStagDetailForAdmin = {
|
|
24
|
+
content: TStagDetail;
|
|
25
|
+
images?: TStagImage[];
|
|
26
|
+
i18n?: TStagI18n[];
|
|
27
|
+
metadataI18n?: TStagMetadataI18n[];
|
|
28
|
+
mapStagContent?: ResponseItemsFlat<TMapStagContent>;
|
|
29
|
+
mapStagYouTubeVideo?: ResponseItemsFlat<TMapStagYouTubeVideo>;
|
|
30
|
+
mapStagInstagram?: ResponseItemsFlat<TMapStagInstagram>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Stag YouTube Video List - Public
|
|
34
|
+
*/
|
|
35
|
+
export type ResponseStagYouTubeVideoListForPublic = {
|
|
36
|
+
cityInfo?: CityInfoBase;
|
|
37
|
+
stagInfo?: StagInfoBase;
|
|
38
|
+
items: Array<{
|
|
39
|
+
map: TMapStagYouTubeVideo;
|
|
40
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
41
|
+
}>;
|
|
42
|
+
} & ResponseListBase;
|
|
43
|
+
/**
|
|
44
|
+
* Stag YouTube Shorts List - Public
|
|
45
|
+
*/
|
|
46
|
+
export type ResponseStagYouTubeVideoShortsListForPublic = {
|
|
47
|
+
cityInfo?: CityInfoBase;
|
|
48
|
+
stagInfo?: StagInfoBase;
|
|
49
|
+
items: Array<{
|
|
50
|
+
map: TMapStagYouTubeVideo;
|
|
51
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
52
|
+
}>;
|
|
53
|
+
} & ResponseListBase;
|
|
54
|
+
/**
|
|
55
|
+
* Stag Content List - Public
|
|
56
|
+
*/
|
|
57
|
+
export type ResponseStagContentListForPublic = {
|
|
58
|
+
cityInfo?: CityInfoBase;
|
|
59
|
+
stagInfo?: StagInfoBase;
|
|
60
|
+
items: Array<{
|
|
61
|
+
map: TMapStagContent;
|
|
62
|
+
content: TContentDetail;
|
|
63
|
+
}>;
|
|
64
|
+
} & ResponseListBase;
|
|
65
|
+
/**
|
|
66
|
+
* Stag Detail - Public
|
|
67
|
+
*/
|
|
68
|
+
export type ResponseStagDetailForPublic = {
|
|
69
|
+
content: TStagDetail;
|
|
70
|
+
cityDetail?: {
|
|
71
|
+
city_code: string;
|
|
72
|
+
name: string;
|
|
73
|
+
native: string;
|
|
74
|
+
name_ko: string;
|
|
75
|
+
};
|
|
76
|
+
images?: TStagImage[];
|
|
77
|
+
i18n?: TStagI18n;
|
|
78
|
+
metadataI18n?: TStagMetadataI18n;
|
|
79
|
+
mapStagContent?: ResponseStagContentListForPublic;
|
|
80
|
+
mapStagYouTubeVideo?: ResponseStagYouTubeVideoListForPublic;
|
|
81
|
+
mapStagYouTubeVideoShorts?: ResponseStagYouTubeVideoShortsListForPublic;
|
|
82
|
+
mapStagInstagram?: ResponseItemsPaired<TMapStagInstagram, TInstagramContent>;
|
|
83
|
+
};
|
|
84
|
+
export type TStagAdminCreateForm = {
|
|
85
|
+
stagInfo: TStagDetailInsert;
|
|
86
|
+
files: Record<string, File | null>;
|
|
87
|
+
images: TStagImageAdminInput[];
|
|
88
|
+
};
|
|
89
|
+
export type TStagAdminUpdateForm = {
|
|
90
|
+
stagInfo: TStagDetailUpdate;
|
|
91
|
+
files: Record<string, File | null>;
|
|
92
|
+
images: TStagImageAdminInput[];
|
|
93
|
+
deletedImageKeys: Set<string>;
|
|
94
|
+
deletedImageHashes: Set<string>;
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trand-response-stag.js","sourceRoot":"","sources":["../../src/response/trand-response-stag.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video.js";
|
|
2
|
+
import { TContentDetail } from "../content/t-content.js";
|
|
3
|
+
import { TInstagramContent } from "../instagram_content/t-instagram-content.js";
|
|
4
|
+
import { TMapStreetContent } from "../street/t-map-street-content.js";
|
|
5
|
+
import { TMapStreetInstagram } from "../street/t-map-street-instagram.js";
|
|
6
|
+
import { TMapStreetYouTubeVideo } from "../street/t-map-street-youtube-video.js";
|
|
7
|
+
import { TStreetDetail, TStreetDetailInsert, TStreetDetailUpdate, TStreetListForCityDetail } from "../street/t-street.js";
|
|
8
|
+
import { TStreetI18n } from "../street/t-street-i18n.js";
|
|
9
|
+
import { TStreetImage, TStreetImageAdminInput } from "../street/t-street-image.js";
|
|
10
|
+
import { TStreetMetadataI18n } from "../street/t-street-metadata-i18n.js";
|
|
11
|
+
import { ResponseItemsFlat, ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
12
|
+
import { CityInfoBase } from "./trand-response-city.js";
|
|
13
|
+
export type StreetInfoBase = {
|
|
14
|
+
street_code: string;
|
|
15
|
+
name: string;
|
|
16
|
+
native: string;
|
|
17
|
+
name_ko: string;
|
|
18
|
+
name_i18n: string;
|
|
19
|
+
description_i18n: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* City Street List - Public
|
|
23
|
+
*/
|
|
24
|
+
export type ResponseStreetListForPublic = {
|
|
25
|
+
cityInfo: CityInfoBase;
|
|
26
|
+
items: TStreetListForCityDetail[];
|
|
27
|
+
} & ResponseListBase;
|
|
28
|
+
/**
|
|
29
|
+
* Street Detail - Admin
|
|
30
|
+
*/
|
|
31
|
+
export type ResponseStreetDetailForAdmin = {
|
|
32
|
+
content: TStreetDetail;
|
|
33
|
+
images?: TStreetImage[];
|
|
34
|
+
i18n?: TStreetI18n[];
|
|
35
|
+
metadataI18n?: TStreetMetadataI18n[];
|
|
36
|
+
mapStreetContent?: ResponseItemsFlat<TMapStreetContent>;
|
|
37
|
+
mapStreetYouTubeVideo?: ResponseItemsFlat<TMapStreetYouTubeVideo>;
|
|
38
|
+
mapStreetInstagram?: ResponseItemsFlat<TMapStreetInstagram>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Street YouTube Video List - Public
|
|
42
|
+
*/
|
|
43
|
+
export type ResponseStreetYouTubeVideoListForPublic = {
|
|
44
|
+
cityInfo?: CityInfoBase;
|
|
45
|
+
streetInfo?: StreetInfoBase;
|
|
46
|
+
items: Array<{
|
|
47
|
+
map: TMapStreetYouTubeVideo;
|
|
48
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
49
|
+
}>;
|
|
50
|
+
} & ResponseListBase;
|
|
51
|
+
/**
|
|
52
|
+
* Street YouTube Shorts List - Public
|
|
53
|
+
*/
|
|
54
|
+
export type ResponseStreetYouTubeVideoShortsListForPublic = {
|
|
55
|
+
cityInfo?: CityInfoBase;
|
|
56
|
+
streetInfo?: StreetInfoBase;
|
|
57
|
+
items: Array<{
|
|
58
|
+
map: TMapStreetYouTubeVideo;
|
|
59
|
+
content: TCompletedYouTubeVideoListForPublicFront;
|
|
60
|
+
}>;
|
|
61
|
+
} & ResponseListBase;
|
|
62
|
+
/**
|
|
63
|
+
* Street Content List - Public
|
|
64
|
+
*/
|
|
65
|
+
export type ResponseStreetContentListForPublic = {
|
|
66
|
+
cityInfo?: CityInfoBase;
|
|
67
|
+
streetInfo?: StreetInfoBase;
|
|
68
|
+
items: Array<{
|
|
69
|
+
map: TMapStreetContent;
|
|
70
|
+
content: TContentDetail;
|
|
71
|
+
}>;
|
|
72
|
+
} & ResponseListBase;
|
|
73
|
+
/**
|
|
74
|
+
* Street Detail - Public
|
|
75
|
+
*/
|
|
76
|
+
export type ResponseStreetDetailForPublic = {
|
|
77
|
+
content: TStreetDetail;
|
|
78
|
+
cityDetail: {
|
|
79
|
+
city_code: string;
|
|
80
|
+
name: string;
|
|
81
|
+
native: string;
|
|
82
|
+
name_ko: string;
|
|
83
|
+
};
|
|
84
|
+
images?: TStreetImage[];
|
|
85
|
+
i18n?: TStreetI18n;
|
|
86
|
+
metadataI18n?: TStreetMetadataI18n;
|
|
87
|
+
mapStreetContent?: ResponseStreetContentListForPublic;
|
|
88
|
+
mapStreetYouTubeVideo?: ResponseStreetYouTubeVideoListForPublic;
|
|
89
|
+
mapStreetYouTubeVideoShorts?: ResponseStreetYouTubeVideoShortsListForPublic;
|
|
90
|
+
mapStreetInstagram?: ResponseItemsPaired<TMapStreetInstagram, TInstagramContent>;
|
|
91
|
+
};
|
|
92
|
+
export type TStreetAdminCreateForm = {
|
|
93
|
+
streetInfo: TStreetDetailInsert;
|
|
94
|
+
files: Record<string, File | null>;
|
|
95
|
+
images: TStreetImageAdminInput[];
|
|
96
|
+
};
|
|
97
|
+
export type TStreetAdminUpdateForm = {
|
|
98
|
+
streetInfo: TStreetDetailUpdate;
|
|
99
|
+
files: Record<string, File | null>;
|
|
100
|
+
images: TStreetImageAdminInput[];
|
|
101
|
+
deletedImageKeys: Set<string>;
|
|
102
|
+
deletedImageHashes: Set<string>;
|
|
103
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trand-response-street.js","sourceRoot":"","sources":["../../src/response/trand-response-street.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TContentDetail } from "../content/t-content.js";
|
|
2
|
+
import { TMapTagContent } from "../tag/t-map-tag-content.js";
|
|
3
|
+
import { TTag } from "../tag/t-tag.js";
|
|
4
|
+
/**
|
|
5
|
+
* Tag Detail - Public
|
|
6
|
+
*/
|
|
7
|
+
export type ResponseTagDetailForPublic = {
|
|
8
|
+
cityDetail: {
|
|
9
|
+
city_code: string;
|
|
10
|
+
name: string;
|
|
11
|
+
native: string;
|
|
12
|
+
name_ko: string;
|
|
13
|
+
};
|
|
14
|
+
tag: TTag;
|
|
15
|
+
mapTagContent?: Array<{
|
|
16
|
+
map: TMapTagContent;
|
|
17
|
+
content: TContentDetail;
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trand-response-tag.js","sourceRoot":"","sources":["../../src/response/trand-response-tag.ts"],"names":[],"mappings":""}
|