trand_common_v1 0.2.128 → 0.2.130
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/f-city-description.d.ts +85 -0
- package/dist/city/f-city-description.js +86 -0
- package/dist/city/f-city-description.js.map +1 -0
- package/dist/city/t-city-description.d.ts +19 -0
- package/dist/city/t-city-description.js +18 -0
- package/dist/city/t-city-description.js.map +1 -0
- package/dist/consts/db.d.ts +3 -0
- package/dist/consts/db.js +3 -0
- package/dist/consts/db.js.map +1 -1
- package/dist/response/trand-response-category.d.ts +1 -6
- package/dist/response/trand-response-city.d.ts +1 -6
- package/dist/response/trand-response-stag.d.ts +1 -6
- package/dist/response/trand-response-street.d.ts +1 -6
- package/dist/stag/f-stag-description.d.ts +44 -0
- package/dist/stag/f-stag-description.js +45 -0
- package/dist/stag/f-stag-description.js.map +1 -0
- package/dist/stag/t-stag-description.d.ts +13 -0
- package/dist/stag/t-stag-description.js +12 -0
- package/dist/stag/t-stag-description.js.map +1 -0
- package/dist/street/f-street-description.d.ts +43 -0
- package/dist/street/f-street-description.js +44 -0
- package/dist/street/f-street-description.js.map +1 -0
- package/dist/street/t-street-description.d.ts +13 -0
- package/dist/street/t-street-description.js +12 -0
- package/dist/street/t-street-description.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export declare const F_CITY_DESCRIPTION: {
|
|
2
|
+
city_code: {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
is_required: boolean;
|
|
6
|
+
max_length: number;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
};
|
|
9
|
+
description: {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
is_required: boolean;
|
|
13
|
+
max_length: number;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
};
|
|
16
|
+
description_ko: {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
is_required: boolean;
|
|
20
|
+
max_length: number;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
};
|
|
23
|
+
official_web: {
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
is_required: boolean;
|
|
27
|
+
max_length: number;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
};
|
|
30
|
+
official_web_tour: {
|
|
31
|
+
id: string;
|
|
32
|
+
label: string;
|
|
33
|
+
is_required: boolean;
|
|
34
|
+
max_length: number;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
};
|
|
37
|
+
youtube_official_id: {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
is_required: boolean;
|
|
41
|
+
max_length: number;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
};
|
|
44
|
+
youtube_tour_id: {
|
|
45
|
+
id: string;
|
|
46
|
+
label: string;
|
|
47
|
+
is_required: boolean;
|
|
48
|
+
max_length: number;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
};
|
|
51
|
+
tiktok_official_id: {
|
|
52
|
+
id: string;
|
|
53
|
+
label: string;
|
|
54
|
+
is_required: boolean;
|
|
55
|
+
max_length: number;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
};
|
|
58
|
+
tiktok_tour_id: {
|
|
59
|
+
id: string;
|
|
60
|
+
label: string;
|
|
61
|
+
is_required: boolean;
|
|
62
|
+
max_length: number;
|
|
63
|
+
placeholder: string;
|
|
64
|
+
};
|
|
65
|
+
instagram_official_id: {
|
|
66
|
+
id: string;
|
|
67
|
+
label: string;
|
|
68
|
+
is_required: boolean;
|
|
69
|
+
max_length: number;
|
|
70
|
+
placeholder: string;
|
|
71
|
+
};
|
|
72
|
+
instagram_tour_id: {
|
|
73
|
+
id: string;
|
|
74
|
+
label: string;
|
|
75
|
+
is_required: boolean;
|
|
76
|
+
max_length: number;
|
|
77
|
+
placeholder: string;
|
|
78
|
+
};
|
|
79
|
+
instagram_tags: {
|
|
80
|
+
id: string;
|
|
81
|
+
label: string;
|
|
82
|
+
is_required: boolean;
|
|
83
|
+
placeholder: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export const F_CITY_DESCRIPTION = {
|
|
2
|
+
city_code: {
|
|
3
|
+
id: "city_code",
|
|
4
|
+
label: "City Code",
|
|
5
|
+
is_required: true,
|
|
6
|
+
max_length: 96,
|
|
7
|
+
placeholder: "ex. seoul",
|
|
8
|
+
},
|
|
9
|
+
description: {
|
|
10
|
+
id: "description",
|
|
11
|
+
label: "Description",
|
|
12
|
+
is_required: false,
|
|
13
|
+
max_length: 2045,
|
|
14
|
+
placeholder: "ex. Gyeongbokgung Palace is a palace in Seoul, South Korea.",
|
|
15
|
+
},
|
|
16
|
+
description_ko: {
|
|
17
|
+
id: "description_ko",
|
|
18
|
+
label: "Description (ko)",
|
|
19
|
+
is_required: false,
|
|
20
|
+
max_length: 2045,
|
|
21
|
+
placeholder: "ex. 서울은 대한민국의 수도입니다.",
|
|
22
|
+
},
|
|
23
|
+
official_web: {
|
|
24
|
+
id: "official_web",
|
|
25
|
+
label: "Official Web",
|
|
26
|
+
is_required: false,
|
|
27
|
+
max_length: 255,
|
|
28
|
+
placeholder: "ex. https://www.seoul.go.kr",
|
|
29
|
+
},
|
|
30
|
+
official_web_tour: {
|
|
31
|
+
id: "official_web_tour",
|
|
32
|
+
label: "Official Web Tour",
|
|
33
|
+
is_required: false,
|
|
34
|
+
max_length: 255,
|
|
35
|
+
placeholder: "ex. https://www.seoul.go.kr/tour",
|
|
36
|
+
},
|
|
37
|
+
youtube_official_id: {
|
|
38
|
+
id: "youtube_official_id",
|
|
39
|
+
label: "Youtube Official",
|
|
40
|
+
is_required: false,
|
|
41
|
+
max_length: 48,
|
|
42
|
+
placeholder: "ex. https://www.youtube.com/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ",
|
|
43
|
+
},
|
|
44
|
+
youtube_tour_id: {
|
|
45
|
+
id: "youtube_tour_id",
|
|
46
|
+
label: "Youtube Tour",
|
|
47
|
+
is_required: false,
|
|
48
|
+
max_length: 48,
|
|
49
|
+
placeholder: "ex. https://www.youtube.com/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ",
|
|
50
|
+
},
|
|
51
|
+
tiktok_official_id: {
|
|
52
|
+
id: "tiktok_official_id",
|
|
53
|
+
label: "Tiktok Official ID",
|
|
54
|
+
is_required: false,
|
|
55
|
+
max_length: 48,
|
|
56
|
+
placeholder: "ex. @seoul",
|
|
57
|
+
},
|
|
58
|
+
tiktok_tour_id: {
|
|
59
|
+
id: "tiktok_tour_id",
|
|
60
|
+
label: "Tiktok Tour ID",
|
|
61
|
+
is_required: false,
|
|
62
|
+
max_length: 48,
|
|
63
|
+
placeholder: "ex. @seoul",
|
|
64
|
+
},
|
|
65
|
+
instagram_official_id: {
|
|
66
|
+
id: "instagram_official_id",
|
|
67
|
+
label: "Instagram Official ID",
|
|
68
|
+
is_required: false,
|
|
69
|
+
max_length: 48,
|
|
70
|
+
placeholder: "ex. seoul",
|
|
71
|
+
},
|
|
72
|
+
instagram_tour_id: {
|
|
73
|
+
id: "instagram_tour_id",
|
|
74
|
+
label: "Instagram Tour ID",
|
|
75
|
+
is_required: false,
|
|
76
|
+
max_length: 48,
|
|
77
|
+
placeholder: "ex. seoul",
|
|
78
|
+
},
|
|
79
|
+
instagram_tags: {
|
|
80
|
+
id: "instagram_tags",
|
|
81
|
+
label: "Instagram Tags",
|
|
82
|
+
is_required: false,
|
|
83
|
+
placeholder: "ex. seoul,서울,서울맛집,서울여행 등등 (Type: varying(31)[])",
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=f-city-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"f-city-description.js","sourceRoot":"","sources":["../../src/city/f-city-description.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAA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B,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,YAAY;KAC1B;IACD,qBAAqB,EAAE;QACrB,EAAE,EAAE,uBAAuB;QAC3B,KAAK,EAAE,uBAAuB;QAC9B,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,mBAAmB;QACvB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,KAAK;QAClB,WAAW,EAAE,iDAAiD;KAC/D;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TCityDescription = {
|
|
2
|
+
city_code: string;
|
|
3
|
+
description: string | null;
|
|
4
|
+
description_ko: string | null;
|
|
5
|
+
official_web: string | null;
|
|
6
|
+
official_web_tour: string | null;
|
|
7
|
+
youtube_official_id: string | null;
|
|
8
|
+
youtube_tour_id: string | null;
|
|
9
|
+
tiktok_official_id: string | null;
|
|
10
|
+
tiktok_tour_id: string | null;
|
|
11
|
+
instagram_official_id: string | null;
|
|
12
|
+
instagram_tour_id: string | null;
|
|
13
|
+
instagram_tags: string | null;
|
|
14
|
+
};
|
|
15
|
+
export type TCityDescriptionInsert = {
|
|
16
|
+
city_code: string;
|
|
17
|
+
} & Partial<Omit<TCityDescription, "city_code">>;
|
|
18
|
+
export type TCityDescriptionUpdate = Partial<Omit<TCityDescription, "city_code">>;
|
|
19
|
+
export declare const KEYS_CITY_DESCRIPTION_STR: string[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Content Keys For String
|
|
3
|
+
*/
|
|
4
|
+
export const KEYS_CITY_DESCRIPTION_STR = [
|
|
5
|
+
"city_code",
|
|
6
|
+
"description",
|
|
7
|
+
"description_ko",
|
|
8
|
+
"official_web",
|
|
9
|
+
"official_web_tour",
|
|
10
|
+
"youtube_official_id",
|
|
11
|
+
"youtube_tour_id",
|
|
12
|
+
"tiktok_official_id",
|
|
13
|
+
"tiktok_tour_id",
|
|
14
|
+
"instagram_official_id",
|
|
15
|
+
"instagram_tour_id",
|
|
16
|
+
"instagram_tags",
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=t-city-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t-city-description.js","sourceRoot":"","sources":["../../src/city/t-city-description.ts"],"names":[],"mappings":"AA2BA;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,cAAc;IACd,mBAAmB;IACnB,qBAAqB;IACrB,iBAAiB;IACjB,oBAAoB;IACpB,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,gBAAgB;CACjB,CAAC"}
|
package/dist/consts/db.d.ts
CHANGED
|
@@ -3,10 +3,12 @@ export declare const DB_TABLE: {
|
|
|
3
3
|
countries: string;
|
|
4
4
|
country_languages: string;
|
|
5
5
|
cities: string;
|
|
6
|
+
city_descriptions: string;
|
|
6
7
|
city_images: string;
|
|
7
8
|
city_i18n: string;
|
|
8
9
|
city_metadata_i18n: string;
|
|
9
10
|
streets: string;
|
|
11
|
+
street_descriptions: string;
|
|
10
12
|
street_images: string;
|
|
11
13
|
street_i18n: string;
|
|
12
14
|
street_metadata_i18n: string;
|
|
@@ -14,6 +16,7 @@ export declare const DB_TABLE: {
|
|
|
14
16
|
category_i18n: string;
|
|
15
17
|
category_metadata_i18n: string;
|
|
16
18
|
stags: string;
|
|
19
|
+
stag_descriptions: string;
|
|
17
20
|
stag_images: string;
|
|
18
21
|
stag_i18n: string;
|
|
19
22
|
stag_metadata_i18n: string;
|
package/dist/consts/db.js
CHANGED
|
@@ -5,11 +5,13 @@ export const DB_TABLE = {
|
|
|
5
5
|
country_languages: "country_languages",
|
|
6
6
|
// 도시 관련
|
|
7
7
|
cities: "cities",
|
|
8
|
+
city_descriptions: "city_descriptions",
|
|
8
9
|
city_images: "city_images",
|
|
9
10
|
city_i18n: "city_i18n",
|
|
10
11
|
city_metadata_i18n: "city_metadata_i18n",
|
|
11
12
|
// 거리 관련
|
|
12
13
|
streets: "streets",
|
|
14
|
+
street_descriptions: "street_descriptions",
|
|
13
15
|
street_images: "street_images",
|
|
14
16
|
street_i18n: "street_i18n",
|
|
15
17
|
street_metadata_i18n: "street_metadata_i18n",
|
|
@@ -19,6 +21,7 @@ export const DB_TABLE = {
|
|
|
19
21
|
category_metadata_i18n: "category_metadata_i18n",
|
|
20
22
|
// 스페셜 태그
|
|
21
23
|
stags: "stags",
|
|
24
|
+
stag_descriptions: "stag_descriptions",
|
|
22
25
|
stag_images: "stag_images",
|
|
23
26
|
stag_i18n: "stag_i18n",
|
|
24
27
|
stag_metadata_i18n: "stag_metadata_i18n",
|
package/dist/consts/db.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.js","sourceRoot":"","sources":["../../src/consts/db.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,YAAY;IACZ,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,iBAAiB,EAAE,mBAAmB;IAEtC,QAAQ;IACR,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,oBAAoB;IAExC,QAAQ;IACR,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,eAAe;IAC9B,WAAW,EAAE,aAAa;IAC1B,oBAAoB,EAAE,sBAAsB;IAE5C,UAAU;IACV,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,sBAAsB,EAAE,wBAAwB;IAEhD,SAAS;IACT,KAAK,EAAE,OAA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B;IAChD,mCAAmC,EAAE,qCAAqC;IAC1E,oCAAoC,EAAE,sCAAsC;IAE5E,YAAY;IACZ,+BAA+B,EAAE,iCAAiC;IAClE,8BAA8B,EAAE,gCAAgC;IAChE,oBAAoB,EAAE,sBAAsB;IAC5C,0BAA0B,EAAE,4BAA4B;IAExD,YAAY;IACZ,2BAA2B,EAAE,6BAA6B;IAE1D,WAAW;IACX,kBAAkB,EAAE,oBAAoB;IAExC,WAAW;IACX,kBAAkB,EAAE,oBAAoB;IACxC,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,kBAAkB,EAAE,oBAAoB;IAExC,cAAc;IACd,QAAQ,EAAE,UAAU;IACpB,oBAAoB,EAAE,sBAAsB;IAC5C,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,sBAAsB,EAAE,wBAAwB;IAChD,uBAAuB,EAAE,yBAAyB;IAClD,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,qBAAqB,EAAE,uBAAuB;IAE9C,SAAS;IACT,gBAAgB,EAAE,kBAAkB;IACpC,kBAAkB,EAAE,oBAAoB;IACxC,oBAAoB,EAAE,sBAAsB;IAC5C,gBAAgB,EAAE,kBAAkB;IACpC,eAAe,EAAE,iBAAiB;IAElC,qBAAqB;IACrB,yBAAyB,EAAE,2BAA2B;IACtD,qBAAqB,EAAE,uBAAuB;IAE9C,YAAY;IACZ,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACjB,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { TMapCategoryYouTubeVideo } from "../category/t-map-category-youtube-vid
|
|
|
7
7
|
import { TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video.js";
|
|
8
8
|
import { TContentDetail } from "../content/t-content.js";
|
|
9
9
|
import { TInstagramContent } from "../instagram_content/t-instagram-content.js";
|
|
10
|
-
import {
|
|
10
|
+
import { ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
11
11
|
import { CityInfoBase } from "./trand-response-city.js";
|
|
12
12
|
export type CategoryInfoBase = {
|
|
13
13
|
category_code: string;
|
|
@@ -22,11 +22,6 @@ export type CategoryInfoBase = {
|
|
|
22
22
|
export type ResponseCategoryDetailForAdmin = {
|
|
23
23
|
content: TCategoryDetail;
|
|
24
24
|
subCategories?: TCategoryDetail[];
|
|
25
|
-
i18n?: TCategoryI18n[];
|
|
26
|
-
metadataI18n?: TCategoryMetadataI18n[];
|
|
27
|
-
mapCategoryContent?: ResponseItemsFlat<TMapCategoryContent>;
|
|
28
|
-
mapCategoryYouTubeVideo?: ResponseItemsFlat<TMapCategoryYouTubeVideo>;
|
|
29
|
-
mapCategoryInstagram?: ResponseItemsFlat<TMapCategoryInstagram>;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* Category YouTube Video List - Public
|
|
@@ -9,7 +9,7 @@ import { TMapCityYouTubeVideo } from "../city/t-map-city-youtube-video.js";
|
|
|
9
9
|
import { TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video.js";
|
|
10
10
|
import { TContentDetail } from "../content/t-content.js";
|
|
11
11
|
import { TInstagramContent } from "../instagram_content/t-instagram-content.js";
|
|
12
|
-
import {
|
|
12
|
+
import { ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
13
13
|
import { ResponseStreetListForPublic } from "./trand-response-street.js";
|
|
14
14
|
export type CityInfoBase = {
|
|
15
15
|
city_code: string;
|
|
@@ -25,11 +25,6 @@ export type CityInfoBase = {
|
|
|
25
25
|
export type ResponseCityDetailForAdmin = {
|
|
26
26
|
content: TCityDetail;
|
|
27
27
|
images?: TCityImage[];
|
|
28
|
-
i18n?: TCityI18n[];
|
|
29
|
-
metadataI18n?: TCityMetadataI18n[];
|
|
30
|
-
mapCityContent?: ResponseItemsFlat<TMapCityContent>;
|
|
31
|
-
mapCityYouTubeVideo?: ResponseItemsFlat<TMapCityYouTubeVideo>;
|
|
32
|
-
mapCityInstagram?: ResponseItemsFlat<TMapCityInstagram>;
|
|
33
28
|
};
|
|
34
29
|
/**
|
|
35
30
|
* City YouTube Video List - Public
|
|
@@ -8,7 +8,7 @@ import { TStagDetail, TStagDetailInsert, TStagDetailUpdate } from "../stag/t-sta
|
|
|
8
8
|
import { TStagI18n } from "../stag/t-stag-i18n.js";
|
|
9
9
|
import { TStagImage, TStagImageAdminInput } from "../stag/t-stag-image.js";
|
|
10
10
|
import { TStagMetadataI18n } from "../stag/t-stag-metadata-i18n.js";
|
|
11
|
-
import {
|
|
11
|
+
import { ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
12
12
|
import { CityInfoBase } from "./trand-response-city.js";
|
|
13
13
|
export type StagInfoBase = {
|
|
14
14
|
stag_code: string;
|
|
@@ -23,11 +23,6 @@ export type StagInfoBase = {
|
|
|
23
23
|
export type ResponseStagDetailForAdmin = {
|
|
24
24
|
content: TStagDetail;
|
|
25
25
|
images?: TStagImage[];
|
|
26
|
-
i18n?: TStagI18n[];
|
|
27
|
-
metadataI18n?: TStagMetadataI18n[];
|
|
28
|
-
mapStagContent?: ResponseItemsFlat<TMapStagContent>;
|
|
29
|
-
mapStagYouTubeVideo?: ResponseItemsFlat<TMapStagYouTubeVideo>;
|
|
30
|
-
mapStagInstagram?: ResponseItemsFlat<TMapStagInstagram>;
|
|
31
26
|
};
|
|
32
27
|
/**
|
|
33
28
|
* Stag YouTube Video List - Public
|
|
@@ -8,7 +8,7 @@ import { TStreetDetail, TStreetDetailInsert, TStreetDetailUpdate, TStreetListFor
|
|
|
8
8
|
import { TStreetI18n } from "../street/t-street-i18n.js";
|
|
9
9
|
import { TStreetImage, TStreetImageAdminInput } from "../street/t-street-image.js";
|
|
10
10
|
import { TStreetMetadataI18n } from "../street/t-street-metadata-i18n.js";
|
|
11
|
-
import {
|
|
11
|
+
import { ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
12
12
|
import { CityInfoBase } from "./trand-response-city.js";
|
|
13
13
|
export type StreetInfoBase = {
|
|
14
14
|
street_code: string;
|
|
@@ -31,11 +31,6 @@ export type ResponseStreetListForPublic = {
|
|
|
31
31
|
export type ResponseStreetDetailForAdmin = {
|
|
32
32
|
content: TStreetDetail;
|
|
33
33
|
images?: TStreetImage[];
|
|
34
|
-
i18n?: TStreetI18n[];
|
|
35
|
-
metadataI18n?: TStreetMetadataI18n[];
|
|
36
|
-
mapStreetContent?: ResponseItemsFlat<TMapStreetContent>;
|
|
37
|
-
mapStreetYouTubeVideo?: ResponseItemsFlat<TMapStreetYouTubeVideo>;
|
|
38
|
-
mapStreetInstagram?: ResponseItemsFlat<TMapStreetInstagram>;
|
|
39
34
|
};
|
|
40
35
|
/**
|
|
41
36
|
* Street YouTube Video List - Public
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const F_STAG_DESCRIPTION: {
|
|
2
|
+
stag_code: {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
is_required: boolean;
|
|
6
|
+
max_length: number;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
};
|
|
9
|
+
description: {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
is_required: boolean;
|
|
13
|
+
max_length: number;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
};
|
|
16
|
+
url: {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
is_required: boolean;
|
|
20
|
+
max_length: number;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
};
|
|
23
|
+
youtube_ch_id: {
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
is_required: boolean;
|
|
27
|
+
max_length: number;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
};
|
|
30
|
+
instagram_id: {
|
|
31
|
+
id: string;
|
|
32
|
+
label: string;
|
|
33
|
+
is_required: boolean;
|
|
34
|
+
max_length: number;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
};
|
|
37
|
+
tiktok_id: {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
is_required: boolean;
|
|
41
|
+
max_length: number;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const F_STAG_DESCRIPTION = {
|
|
2
|
+
stag_code: {
|
|
3
|
+
id: "stag_code",
|
|
4
|
+
label: "Stag Code",
|
|
5
|
+
is_required: true,
|
|
6
|
+
max_length: 96,
|
|
7
|
+
placeholder: "ex. seoul-gwanghwamun-seoul",
|
|
8
|
+
},
|
|
9
|
+
description: {
|
|
10
|
+
id: "description",
|
|
11
|
+
label: "Description",
|
|
12
|
+
is_required: false,
|
|
13
|
+
max_length: 2045,
|
|
14
|
+
placeholder: "ex. Gyeongbokgung Palace is a palace in Seoul, South Korea.",
|
|
15
|
+
},
|
|
16
|
+
url: {
|
|
17
|
+
id: "url",
|
|
18
|
+
label: "URL",
|
|
19
|
+
is_required: false,
|
|
20
|
+
max_length: 511,
|
|
21
|
+
placeholder: "ex. https://www.google.com",
|
|
22
|
+
},
|
|
23
|
+
youtube_ch_id: {
|
|
24
|
+
id: "youtube_ch_id",
|
|
25
|
+
label: "Youtube Channel ID",
|
|
26
|
+
is_required: false,
|
|
27
|
+
max_length: 48,
|
|
28
|
+
placeholder: "ex. https://www.youtube.com/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ",
|
|
29
|
+
},
|
|
30
|
+
instagram_id: {
|
|
31
|
+
id: "instagram_id",
|
|
32
|
+
label: "Instagram ID",
|
|
33
|
+
is_required: false,
|
|
34
|
+
max_length: 48,
|
|
35
|
+
placeholder: "ex. seoul",
|
|
36
|
+
},
|
|
37
|
+
tiktok_id: {
|
|
38
|
+
id: "tiktok_id",
|
|
39
|
+
label: "Tiktok ID",
|
|
40
|
+
is_required: false,
|
|
41
|
+
max_length: 48,
|
|
42
|
+
placeholder: "ex. seoul",
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=f-stag-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"f-stag-description.js","sourceRoot":"","sources":["../../src/stag/f-stag-description.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,6BAA6B;KAC3C;IACD,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,6DAA6D;KAC3E;IACD,GAAG,EAAE;QACH,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,GAAG;QACf,WAAW,EAAE,4BAA4B;KAC1C;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,8DAA8D;KAC5E;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,cAAc;QAClB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type TStagDescription = {
|
|
2
|
+
stag_code: string;
|
|
3
|
+
description: string | null;
|
|
4
|
+
url: string | null;
|
|
5
|
+
youtube_ch_id: string | null;
|
|
6
|
+
instagram_id: string | null;
|
|
7
|
+
tiktok_id: string | null;
|
|
8
|
+
};
|
|
9
|
+
export type TStagDescriptionInsert = {
|
|
10
|
+
stag_code: string;
|
|
11
|
+
} & Partial<Omit<TStagDescription, "stag_code">>;
|
|
12
|
+
export type TStagDescriptionUpdate = Partial<Omit<TStagDescription, "stag_code">>;
|
|
13
|
+
export declare const KEYS_STAG_DESCRIPTION_STR: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t-stag-description.js","sourceRoot":"","sources":["../../src/stag/t-stag-description.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,WAAW;IACX,aAAa;IACb,KAAK;IACL,eAAe;IACf,cAAc;IACd,WAAW;CACZ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const F_STREET_DESCRIPTION: {
|
|
2
|
+
street_code: {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
is_required: boolean;
|
|
6
|
+
max_length: number;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
};
|
|
9
|
+
description: {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
is_required: boolean;
|
|
13
|
+
max_length: number;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
};
|
|
16
|
+
description_ko: {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
is_required: boolean;
|
|
20
|
+
max_length: number;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
};
|
|
23
|
+
youtube_ch_id: {
|
|
24
|
+
id: string;
|
|
25
|
+
label: string;
|
|
26
|
+
is_required: boolean;
|
|
27
|
+
max_length: number;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
};
|
|
30
|
+
instagram_id: {
|
|
31
|
+
id: string;
|
|
32
|
+
label: string;
|
|
33
|
+
is_required: boolean;
|
|
34
|
+
max_length: number;
|
|
35
|
+
placeholder: string;
|
|
36
|
+
};
|
|
37
|
+
instagram_tags: {
|
|
38
|
+
id: string;
|
|
39
|
+
label: string;
|
|
40
|
+
is_required: boolean;
|
|
41
|
+
placeholder: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const F_STREET_DESCRIPTION = {
|
|
2
|
+
street_code: {
|
|
3
|
+
id: "street_code",
|
|
4
|
+
label: "Street Code",
|
|
5
|
+
is_required: true,
|
|
6
|
+
max_length: 96,
|
|
7
|
+
placeholder: "ex. seoul-gwanghwamun-seoul",
|
|
8
|
+
},
|
|
9
|
+
description: {
|
|
10
|
+
id: "description",
|
|
11
|
+
label: "Description",
|
|
12
|
+
is_required: false,
|
|
13
|
+
max_length: 2045,
|
|
14
|
+
placeholder: "ex. Gyeongbokgung Palace is a palace in Seoul, South Korea.",
|
|
15
|
+
},
|
|
16
|
+
description_ko: {
|
|
17
|
+
id: "description_ko",
|
|
18
|
+
label: "Description (ko)",
|
|
19
|
+
is_required: false,
|
|
20
|
+
max_length: 2045,
|
|
21
|
+
placeholder: "ex. 서울은 대한민국의 수도입니다.",
|
|
22
|
+
},
|
|
23
|
+
youtube_ch_id: {
|
|
24
|
+
id: "youtube_ch_id",
|
|
25
|
+
label: "Youtube Channel ID",
|
|
26
|
+
is_required: false,
|
|
27
|
+
max_length: 48,
|
|
28
|
+
placeholder: "ex. https://www.youtube.com/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ",
|
|
29
|
+
},
|
|
30
|
+
instagram_id: {
|
|
31
|
+
id: "instagram_id",
|
|
32
|
+
label: "Instagram ID",
|
|
33
|
+
is_required: false,
|
|
34
|
+
max_length: 48,
|
|
35
|
+
placeholder: "ex. seoul",
|
|
36
|
+
},
|
|
37
|
+
instagram_tags: {
|
|
38
|
+
id: "instagram_tags",
|
|
39
|
+
label: "Instagram Tags",
|
|
40
|
+
is_required: false,
|
|
41
|
+
placeholder: "ex. seoul,서울,서울맛집,서울여행 등등 (Type: varying(31)[])",
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=f-street-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"f-street-description.js","sourceRoot":"","sources":["../../src/street/f-street-description.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,6BAA6B;KAC3C;IACD,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,6DAA6D;KAC3E;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,IAAI;QAChB,WAAW,EAAE,sBAAsB;KACpC;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,8DAA8D;KAC5E;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,cAAc;QAClB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,KAAK;QAClB,WAAW,EAAE,iDAAiD;KAC/D;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type TStreetDescription = {
|
|
2
|
+
street_code: string;
|
|
3
|
+
description: string | null;
|
|
4
|
+
description_ko: string | null;
|
|
5
|
+
youtube_ch_id: string | null;
|
|
6
|
+
instagram_id: string | null;
|
|
7
|
+
instagram_tags: string | null;
|
|
8
|
+
};
|
|
9
|
+
export type TStreetDescriptionInsert = {
|
|
10
|
+
street_code: string;
|
|
11
|
+
} & Partial<Omit<TStreetDescription, "street_code">>;
|
|
12
|
+
export type TStreetDescriptionUpdate = Partial<Omit<TStreetDescription, "street_code">>;
|
|
13
|
+
export declare const KEYS_STREET_DESCRIPTION_STR: string[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DB 컬럼 목록 For Content Keys For String
|
|
3
|
+
*/
|
|
4
|
+
export const KEYS_STREET_DESCRIPTION_STR = [
|
|
5
|
+
"city_code",
|
|
6
|
+
"description",
|
|
7
|
+
"description_ko",
|
|
8
|
+
"youtube_ch_id",
|
|
9
|
+
"instagram_id",
|
|
10
|
+
"instagram_tags",
|
|
11
|
+
];
|
|
12
|
+
//# sourceMappingURL=t-street-description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t-street-description.js","sourceRoot":"","sources":["../../src/street/t-street-description.ts"],"names":[],"mappings":"AAqBA;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,WAAW;IACX,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,gBAAgB;CACjB,CAAC"}
|