trand_common_v1 0.2.127 → 0.2.129

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.
@@ -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,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,WAAW;KACzB;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,YAAY,EAAE;QACZ,EAAE,EAAE,cAAc;QAClB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,GAAG;QACf,WAAW,EAAE,6BAA6B;KAC3C;IACD,iBAAiB,EAAE;QACjB,EAAE,EAAE,mBAAmB;QACvB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,GAAG;QACf,WAAW,EAAE,kCAAkC;KAChD;IACD,mBAAmB,EAAE;QACnB,EAAE,EAAE,qBAAqB;QACzB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,8DAA8D;KAC5E;IACD,eAAe,EAAE;QACf,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,8DAA8D;KAC5E;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,oBAAoB;QACxB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,KAAK;QAClB,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,YAAY;KAC1B;IACD,cAAc,EAAE;QACd,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,KAAK;QAClB,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"}
@@ -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 { ResponseItemsFlat, ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
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 { ResponseItemsFlat, ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
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
@@ -157,6 +157,4 @@ export type TContentAdminUpdateForm = {
157
157
  images: TContentImageAdminInput[];
158
158
  deletedThumbnails: Map<string, string>;
159
159
  deletedImages: Map<string, string>;
160
- google_place_id: string | null;
161
- trip_advisor_location_id: string | null;
162
160
  };
@@ -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 { ResponseItemsFlat, ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
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 { ResponseItemsFlat, ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
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,12 @@
1
+ /*
2
+ * DB 컬럼 목록 For Content Keys For String
3
+ */
4
+ export const KEYS_STAG_DESCRIPTION_STR = [
5
+ "city_code",
6
+ "description",
7
+ "url",
8
+ "youtube_ch_id",
9
+ "instagram_id",
10
+ "tiktok_id",
11
+ ];
12
+ //# sourceMappingURL=t-stag-description.js.map
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trand_common_v1",
3
- "version": "0.2.127",
3
+ "version": "0.2.129",
4
4
  "description": "Common modules for Trand API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "trand"