dplus_common_v1 0.1.109 → 0.1.110
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/dplus-types/dplus-response-types.d.ts +6 -0
- package/dist/fields/fields-category/f-category-i18n.d.ts +10 -2
- package/dist/fields/fields-category/f-category-i18n.js +16 -8
- package/dist/fields/fields-category/f-category-i18n.js.map +1 -1
- package/dist/fields/fields-category/f-category-metadata-i18n.d.ts +24 -3
- package/dist/fields/fields-category/f-category-metadata-i18n.js +37 -16
- package/dist/fields/fields-category/f-category-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-category/f-category.d.ts +13 -101
- package/dist/fields/fields-category/f-category.js +50 -213
- package/dist/fields/fields-category/f-category.js.map +1 -1
- package/dist/fields/fields-city/f-city-i18n.d.ts +10 -0
- package/dist/fields/fields-city/f-city-i18n.js +19 -9
- package/dist/fields/fields-city/f-city-i18n.js.map +1 -1
- package/dist/fields/fields-city/f-city-image.d.ts +31 -4
- package/dist/fields/fields-city/f-city-image.js +48 -20
- package/dist/fields/fields-city/f-city-image.js.map +1 -1
- package/dist/fields/fields-city/f-city-metadata-i18n.d.ts +24 -3
- package/dist/fields/fields-city/f-city-metadata-i18n.js +38 -17
- package/dist/fields/fields-city/f-city-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-city/f-city-youtube-video.d.ts +26 -2
- package/dist/fields/fields-city/f-city-youtube-video.js +35 -11
- package/dist/fields/fields-city/f-city-youtube-video.js.map +1 -1
- package/dist/fields/fields-city/f-city.d.ts +59 -185
- package/dist/fields/fields-city/f-city.js +80 -201
- package/dist/fields/fields-city/f-city.js.map +1 -1
- package/dist/fields/fields-event/f-event-description.d.ts +272 -0
- package/dist/fields/fields-event/f-event-description.js +277 -0
- package/dist/fields/fields-event/f-event-description.js.map +1 -0
- package/dist/fields/fields-event/f-event-image.d.ts +4 -0
- package/dist/fields/fields-event/f-event-image.js +8 -4
- package/dist/fields/fields-event/f-event-image.js.map +1 -1
- package/dist/fields/fields-event/f-event-metadata-i18n.d.ts +8 -18
- package/dist/fields/fields-event/f-event-metadata-i18n.js +9 -19
- package/dist/fields/fields-event/f-event-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-event/f-event.d.ts +78 -281
- package/dist/fields/fields-event/f-event.js +176 -369
- package/dist/fields/fields-event/f-event.js.map +1 -1
- package/dist/fields/fields-folder/f-folder-description.d.ts +133 -0
- package/dist/fields/fields-folder/f-folder-description.js +134 -0
- package/dist/fields/fields-folder/f-folder-description.js.map +1 -0
- package/dist/fields/fields-folder/f-folder-image.d.ts +6 -2
- package/dist/fields/fields-folder/f-folder-image.js +12 -8
- package/dist/fields/fields-folder/f-folder-image.js.map +1 -1
- package/dist/fields/fields-folder/f-folder-metadata-i18n.d.ts +10 -2
- package/dist/fields/fields-folder/f-folder-metadata-i18n.js +23 -15
- package/dist/fields/fields-folder/f-folder-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-folder/f-folder.d.ts +28 -313
- package/dist/fields/fields-folder/f-folder.js +42 -327
- package/dist/fields/fields-folder/f-folder.js.map +1 -1
- package/dist/fields/fields-group/f-group-image.d.ts +10 -0
- package/dist/fields/fields-group/f-group-image.js +22 -12
- package/dist/fields/fields-group/f-group-image.js.map +1 -1
- package/dist/fields/fields-group/f-group-metadata-i18n.d.ts +4 -0
- package/dist/fields/fields-group/f-group-metadata-i18n.js +14 -10
- package/dist/fields/fields-group/f-group-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-group/f-group.d.ts +23 -155
- package/dist/fields/fields-group/f-group.js +60 -183
- package/dist/fields/fields-group/f-group.js.map +1 -1
- package/dist/fields/fields-service-provider/f-service-provider.d.ts +12 -2
- package/dist/fields/fields-service-provider/f-service-provider.js +20 -10
- package/dist/fields/fields-service-provider/f-service-provider.js.map +1 -1
- package/dist/fields/fields-stag/f-stag-i18n.d.ts +12 -2
- package/dist/fields/fields-stag/f-stag-i18n.js +20 -10
- package/dist/fields/fields-stag/f-stag-i18n.js.map +1 -1
- package/dist/fields/fields-stag/f-stag-image.d.ts +22 -2
- package/dist/fields/fields-stag/f-stag-image.js +34 -14
- package/dist/fields/fields-stag/f-stag-image.js.map +1 -1
- package/dist/fields/fields-stag/f-stag-metadata-i18n.d.ts +20 -3
- package/dist/fields/fields-stag/f-stag-metadata-i18n.js +34 -17
- package/dist/fields/fields-stag/f-stag-metadata-i18n.js.map +1 -1
- package/dist/fields/fields-stag/f-stag.d.ts +81 -173
- package/dist/fields/fields-stag/f-stag.js +117 -197
- package/dist/fields/fields-stag/f-stag.js.map +1 -1
- package/dist/fields/fields-tag/f-tag.d.ts +20 -6
- package/dist/fields/fields-tag/f-tag.js +28 -14
- package/dist/fields/fields-tag/f-tag.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/types/t-thumbnail-source.d.ts +6 -0
- package/dist/types/t-thumbnail-source.js +2 -0
- package/dist/types/t-thumbnail-source.js.map +1 -0
- package/dist/types/types-category/t-category-i18n.d.ts +4 -2
- package/dist/types/types-category/t-category-metadata-i18n.d.ts +22 -6
- package/dist/types/types-category/t-category.d.ts +34 -14
- package/dist/types/types-category/t-category.js +11 -20
- package/dist/types/types-category/t-category.js.map +1 -1
- package/dist/types/types-city/t-city-i18n.d.ts +6 -4
- package/dist/types/types-city/t-city-image.d.ts +21 -5
- package/dist/types/types-city/t-city-metadata-i18n.d.ts +24 -8
- package/dist/types/types-city/t-city-youtube-video.d.ts +10 -6
- package/dist/types/types-city/t-city.d.ts +36 -17
- package/dist/types/types-city/t-city.js +6 -18
- package/dist/types/types-city/t-city.js.map +1 -1
- package/dist/types/types-event/t-event-description.d.ts +37 -0
- package/dist/types/types-event/t-event-description.js +2 -0
- package/dist/types/types-event/t-event-description.js.map +1 -0
- package/dist/types/types-event/t-event-image.d.ts +2 -5
- package/dist/types/types-event/t-event-metadata-i18n.d.ts +10 -8
- package/dist/types/types-event/t-event.d.ts +35 -71
- package/dist/types/types-event/t-event.js +32 -56
- package/dist/types/types-event/t-event.js.map +1 -1
- package/dist/types/types-folder/t-folder-description.d.ts +21 -0
- package/dist/types/types-folder/t-folder-description.js +2 -0
- package/dist/types/types-folder/t-folder-description.js.map +1 -0
- package/dist/types/types-folder/t-folder-image.d.ts +4 -4
- package/dist/types/types-folder/t-folder-metadata-i18n.d.ts +10 -7
- package/dist/types/types-folder/t-folder.d.ts +16 -50
- package/dist/types/types-folder/t-folder.js +19 -54
- package/dist/types/types-folder/t-folder.js.map +1 -1
- package/dist/types/types-group/t-group-image.d.ts +2 -5
- package/dist/types/types-group/t-group-metadata-i18n.d.ts +6 -7
- package/dist/types/types-group/t-group.d.ts +14 -29
- package/dist/types/types-group/t-group.js +14 -37
- package/dist/types/types-group/t-group.js.map +1 -1
- package/dist/types/types-service-provider/t-service-provider.d.ts +8 -2
- package/dist/types/types-stag/t-stag-i18n.d.ts +3 -2
- package/dist/types/types-stag/t-stag-image.d.ts +12 -9
- package/dist/types/types-stag/t-stag-metadata-i18n.d.ts +15 -6
- package/dist/types/types-stag/t-stag.d.ts +46 -30
- package/dist/types/types-stag/t-stag.js +12 -34
- package/dist/types/types-stag/t-stag.js.map +1 -1
- package/dist/types/types-tag/t-tag.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t-folder.js","sourceRoot":"","sources":["../../../src/types/types-folder/t-folder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t-folder.js","sourceRoot":"","sources":["../../../src/types/types-folder/t-folder.ts"],"names":[],"mappings":"AA6DA;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG;IAC9C,aAAa;IACb,OAAO;IACP,UAAU;IACV,UAAU;IACV,qBAAqB;IACrB,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,aAAa;IACb,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,WAAW;IACX,YAAY;IACZ,kBAAkB;IAClB,YAAY;IACZ,YAAY;CACb,CAAC;AA8BF;;8CAE8C;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa;IACb,OAAO;IACP,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,YAAY;IACZ,aAAa;IACb,aAAa;IACb,cAAc;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW;IACX,WAAW;IACX,YAAY;IACZ,kBAAkB;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
|
|
@@ -15,8 +15,5 @@ export type TGroupImageInsert = {
|
|
|
15
15
|
group_code: string;
|
|
16
16
|
hash_code: string;
|
|
17
17
|
url: string;
|
|
18
|
-
} & Partial<Omit<TGroupImage, "group_code" | "hash_code" | "url">>;
|
|
19
|
-
export type TGroupImageUpdate =
|
|
20
|
-
group_code: string;
|
|
21
|
-
hash_code: string;
|
|
22
|
-
} & Partial<Omit<TGroupImage, "group_code" | "hash_code">>;
|
|
18
|
+
} & Partial<Omit<TGroupImage, "group_code" | "hash_code" | "url" | "created_at" | "updated_at">>;
|
|
19
|
+
export type TGroupImageUpdate = Partial<Omit<TGroupImage, "group_code" | "hash_code" | "created_at" | "updated_at">>;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
export type TGroupMetadataI18nListForAdmin = {
|
|
2
2
|
group_code: string;
|
|
3
3
|
lang_code: string;
|
|
4
|
-
title: string;
|
|
4
|
+
title: string | null;
|
|
5
5
|
og_title: string | null;
|
|
6
6
|
};
|
|
7
7
|
export type TGroupMetadataI18nDetail = TGroupMetadataI18nListForAdmin & {
|
|
8
8
|
description: string | null;
|
|
9
9
|
og_description: string | null;
|
|
10
10
|
og_image: string | null;
|
|
11
|
-
tag_set: string | null;
|
|
12
|
-
created_at:
|
|
13
|
-
updated_at:
|
|
11
|
+
tag_set: string[] | null;
|
|
12
|
+
created_at: string;
|
|
13
|
+
updated_at: string;
|
|
14
14
|
};
|
|
15
15
|
export type TGroupMetadataI18nDetailInsert = {
|
|
16
16
|
group_code: string;
|
|
17
17
|
lang_code: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export type TGroupMetadataI18nDetailUpdate = Partial<Omit<TGroupMetadataI18nDetail, "group_code" | "lang_code">>;
|
|
18
|
+
} & Partial<Omit<TGroupMetadataI18nDetail, "group_code" | "lang_code" | "created_at" | "updated_at">>;
|
|
19
|
+
export type TGroupMetadataI18nDetailUpdate = Partial<Omit<TGroupMetadataI18nDetail, "group_code" | "lang_code" | "created_at" | "updated_at">>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { TThumbnailSource } from "../t-thumbnail-source";
|
|
1
2
|
export type TGroupLabelInfo = {
|
|
2
3
|
group_code: string;
|
|
3
|
-
group_type: string;
|
|
4
|
+
group_type: string | null;
|
|
4
5
|
name: string;
|
|
5
|
-
name_native: string;
|
|
6
|
-
related_group_code: string;
|
|
6
|
+
name_native: string | null;
|
|
7
|
+
related_group_code: string | null;
|
|
7
8
|
};
|
|
8
9
|
export type TGroupListForAdmin = {
|
|
9
10
|
group_code: string;
|
|
@@ -18,50 +19,34 @@ export type TGroupListForAdmin = {
|
|
|
18
19
|
instagram_id: string | null;
|
|
19
20
|
tiktok_id: string | null;
|
|
20
21
|
threads_id: string | null;
|
|
22
|
+
event_count: number;
|
|
21
23
|
view_count: number;
|
|
22
24
|
added_count: number;
|
|
23
25
|
shared_count: number;
|
|
24
26
|
is_active: boolean;
|
|
25
27
|
is_display: boolean;
|
|
26
28
|
is_official_account: boolean;
|
|
27
|
-
created_at:
|
|
28
|
-
updated_at:
|
|
29
|
+
created_at: string;
|
|
30
|
+
updated_at: string;
|
|
29
31
|
};
|
|
30
32
|
export declare const DB_COLUMNS_GROUP_LIST_FOR_ADMIN: string[];
|
|
31
33
|
export type TGroupDetail = TGroupListForAdmin & {
|
|
32
34
|
thumbnail_square: string | null;
|
|
33
|
-
thumbnail_square_src_name: string | null;
|
|
34
|
-
thumbnail_square_src_platform: string | null;
|
|
35
|
-
thumbnail_square_src_unique_id: string | null;
|
|
36
|
-
thumbnail_square_src_url: string | null;
|
|
37
35
|
thumbnail_horizontal: string | null;
|
|
38
|
-
thumbnail_horizontal_src_name: string | null;
|
|
39
|
-
thumbnail_horizontal_src_platform: string | null;
|
|
40
|
-
thumbnail_horizontal_src_unique_id: string | null;
|
|
41
|
-
thumbnail_horizontal_src_url: string | null;
|
|
42
36
|
thumbnail_vertical: string | null;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
profile: string | null;
|
|
48
|
-
deactivated_at: Date | null;
|
|
37
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
38
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
39
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
40
|
+
deactivated_at: string | null;
|
|
49
41
|
deactivated_by: string | null;
|
|
50
|
-
metadata_title: string | null;
|
|
51
|
-
metadata_description: string | null;
|
|
52
|
-
metadata_keywords: string | null;
|
|
53
|
-
metadata_og_title: string | null;
|
|
54
|
-
metadata_og_description: string | null;
|
|
55
|
-
metadata_og_image: string | null;
|
|
56
42
|
created_by: string | null;
|
|
57
43
|
updated_by: string | null;
|
|
58
44
|
};
|
|
59
45
|
export type TGroupDetailInsert = {
|
|
60
46
|
group_code: string;
|
|
61
47
|
name: string;
|
|
62
|
-
} & Partial<Omit<TGroupDetail, "group_code">>;
|
|
63
|
-
export type TGroupDetailUpdate = Partial<Omit<TGroupDetail, "group_code">>;
|
|
48
|
+
} & Partial<Omit<TGroupDetail, "group_code" | "created_at" | "updated_at" | "event_count" | "view_count" | "added_count" | "shared_count">>;
|
|
49
|
+
export type TGroupDetailUpdate = Partial<Omit<TGroupDetail, "group_code" | "created_at" | "updated_at" | "event_count" | "view_count" | "added_count" | "shared_count">>;
|
|
64
50
|
export declare const KEYS_GROUP_STR: string[];
|
|
65
|
-
export declare const KEYS_GROUP_NUM: string[];
|
|
66
51
|
export declare const KEYS_GROUP_BOOL: string[];
|
|
67
|
-
export declare const
|
|
52
|
+
export declare const KEYS_GROUP_JSONB: string[];
|
|
@@ -14,12 +14,13 @@ export const DB_COLUMNS_GROUP_LIST_FOR_ADMIN = [
|
|
|
14
14
|
"instagram_id",
|
|
15
15
|
"tiktok_id",
|
|
16
16
|
"threads_id",
|
|
17
|
-
"
|
|
18
|
-
"is_display",
|
|
19
|
-
"is_official_account",
|
|
17
|
+
"event_count",
|
|
20
18
|
"view_count",
|
|
21
19
|
"added_count",
|
|
22
20
|
"shared_count",
|
|
21
|
+
"is_active",
|
|
22
|
+
"is_display",
|
|
23
|
+
"is_official_account",
|
|
23
24
|
"created_at",
|
|
24
25
|
"updated_at",
|
|
25
26
|
];
|
|
@@ -36,21 +37,8 @@ export const KEYS_GROUP_STR = [
|
|
|
36
37
|
"bg_color",
|
|
37
38
|
"fg_color",
|
|
38
39
|
"thumbnail_square",
|
|
39
|
-
"thumbnail_square_src_name",
|
|
40
|
-
"thumbnail_square_src_platform",
|
|
41
|
-
"thumbnail_square_src_unique_id",
|
|
42
|
-
"thumbnail_square_src_url",
|
|
43
40
|
"thumbnail_horizontal",
|
|
44
|
-
"thumbnail_horizontal_src_name",
|
|
45
|
-
"thumbnail_horizontal_src_platform",
|
|
46
|
-
"thumbnail_horizontal_src_unique_id",
|
|
47
|
-
"thumbnail_horizontal_src_url",
|
|
48
41
|
"thumbnail_vertical",
|
|
49
|
-
"thumbnail_vertical_src_name",
|
|
50
|
-
"thumbnail_vertical_src_platform",
|
|
51
|
-
"thumbnail_vertical_src_unique_id",
|
|
52
|
-
"thumbnail_vertical_src_url",
|
|
53
|
-
"profile",
|
|
54
42
|
"homepage",
|
|
55
43
|
"youtube_ch_id",
|
|
56
44
|
"instagram_id",
|
|
@@ -58,28 +46,17 @@ export const KEYS_GROUP_STR = [
|
|
|
58
46
|
"threads_id",
|
|
59
47
|
"deactivated_at",
|
|
60
48
|
"deactivated_by",
|
|
61
|
-
"metadata_title",
|
|
62
|
-
"metadata_description",
|
|
63
|
-
"metadata_keywords",
|
|
64
|
-
"metadata_og_title",
|
|
65
|
-
"metadata_og_description",
|
|
66
|
-
"metadata_og_image",
|
|
67
49
|
"created_by",
|
|
68
50
|
"updated_by",
|
|
69
51
|
];
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/*
|
|
81
|
-
* Idol Group 데이터 문자열 배열 KEY 목록
|
|
82
|
-
* FormData Parsing 할 때 사용
|
|
83
|
-
*/
|
|
84
|
-
export const KEYS_GROUP_STR_ARRAY = ["metadata_keywords"];
|
|
52
|
+
export const KEYS_GROUP_BOOL = [
|
|
53
|
+
"is_active",
|
|
54
|
+
"is_display",
|
|
55
|
+
"is_official_account",
|
|
56
|
+
];
|
|
57
|
+
export const KEYS_GROUP_JSONB = [
|
|
58
|
+
"thumbnail_square_source",
|
|
59
|
+
"thumbnail_horizontal_source",
|
|
60
|
+
"thumbnail_vertical_source",
|
|
61
|
+
];
|
|
85
62
|
//# sourceMappingURL=t-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t-group.js","sourceRoot":"","sources":["../../../src/types/types-group/t-group.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t-group.js","sourceRoot":"","sources":["../../../src/types/types-group/t-group.ts"],"names":[],"mappings":"AA2CA;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,aAAa;IACb,oBAAoB;IACpB,UAAU;IACV,UAAU;IACV,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,aAAa;IACb,cAAc;IACd,WAAW;IACX,YAAY;IACZ,qBAAqB;IACrB,YAAY;IACZ,YAAY;CACb,CAAC;AAqDF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,aAAa;IACb,oBAAoB;IACpB,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,UAAU;IACV,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;IACZ,YAAY;CACb,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,WAAW;IACX,YAAY;IACZ,qBAAqB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
|
|
@@ -9,5 +9,11 @@ export type TServiceProvider = {
|
|
|
9
9
|
export type TServiceProviderInsert = {
|
|
10
10
|
provider_code: string;
|
|
11
11
|
name: string;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
thumbnail?: string | null;
|
|
13
|
+
web_url?: string | null;
|
|
14
|
+
};
|
|
15
|
+
export type TServiceProviderUpdate = Partial<{
|
|
16
|
+
name: string;
|
|
17
|
+
thumbnail: string | null;
|
|
18
|
+
web_url: string | null;
|
|
19
|
+
}>;
|
|
@@ -10,5 +10,6 @@ export type TStagI18nInsert = {
|
|
|
10
10
|
stag_code: string;
|
|
11
11
|
lang_code: string;
|
|
12
12
|
name: string;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
description?: string | null;
|
|
14
|
+
};
|
|
15
|
+
export type TStagI18nUpdate = Partial<Pick<TStagI18n, "name" | "description">>;
|
|
@@ -8,15 +8,18 @@ export type TStagImage = {
|
|
|
8
8
|
src_platform: string | null;
|
|
9
9
|
src_unique_id: string | null;
|
|
10
10
|
src_url: string | null;
|
|
11
|
-
created_at:
|
|
12
|
-
updated_at:
|
|
11
|
+
created_at: Date;
|
|
12
|
+
updated_at: Date;
|
|
13
13
|
};
|
|
14
|
-
export type
|
|
15
|
-
street_code: string;
|
|
16
|
-
hash_code: string;
|
|
17
|
-
url: string;
|
|
18
|
-
} & Partial<Omit<TStagImage, "stag_code" | "hash_code" | "url">>;
|
|
19
|
-
export type TStreetImageUpdate = {
|
|
14
|
+
export type TStagImageInsert = {
|
|
20
15
|
stag_code: string;
|
|
21
16
|
hash_code: string;
|
|
22
|
-
|
|
17
|
+
url: string;
|
|
18
|
+
order_num?: number;
|
|
19
|
+
label?: string | null;
|
|
20
|
+
src_name?: string | null;
|
|
21
|
+
src_platform?: string | null;
|
|
22
|
+
src_unique_id?: string | null;
|
|
23
|
+
src_url?: string | null;
|
|
24
|
+
};
|
|
25
|
+
export type TStagImageUpdate = Partial<Pick<TStagImage, "order_num" | "label" | "url" | "src_name" | "src_platform" | "src_unique_id" | "src_url">>;
|
|
@@ -1,20 +1,29 @@
|
|
|
1
1
|
export type TStagMetadataI18nListForAdmin = {
|
|
2
2
|
stag_code: string;
|
|
3
3
|
lang_code: string;
|
|
4
|
-
title: string;
|
|
4
|
+
title: string | null;
|
|
5
5
|
og_title: string | null;
|
|
6
6
|
};
|
|
7
|
-
export type TStagMetadataI18nDetail =
|
|
7
|
+
export type TStagMetadataI18nDetail = {
|
|
8
|
+
stag_code: string;
|
|
9
|
+
lang_code: string;
|
|
10
|
+
title: string | null;
|
|
8
11
|
description: string | null;
|
|
12
|
+
og_title: string | null;
|
|
9
13
|
og_description: string | null;
|
|
10
14
|
og_image: string | null;
|
|
11
|
-
tag_set: string | null;
|
|
15
|
+
tag_set: string[] | null;
|
|
12
16
|
created_at: Date;
|
|
13
17
|
updated_at: Date;
|
|
14
18
|
};
|
|
15
19
|
export type TStagMetadataI18nDetailInsert = {
|
|
16
20
|
stag_code: string;
|
|
17
21
|
lang_code: string;
|
|
18
|
-
title
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
title?: string | null;
|
|
23
|
+
description?: string | null;
|
|
24
|
+
og_title?: string | null;
|
|
25
|
+
og_description?: string | null;
|
|
26
|
+
og_image?: string | null;
|
|
27
|
+
tag_set?: string[] | null;
|
|
28
|
+
};
|
|
29
|
+
export type TStagMetadataI18nDetailUpdate = Partial<Pick<TStagMetadataI18nDetail, "title" | "description" | "og_title" | "og_description" | "og_image" | "tag_set">>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { TThumbnailSource } from "../t-thumbnail-source";
|
|
1
2
|
export type TStagLabelInfo = {
|
|
2
3
|
stag_code: string;
|
|
3
4
|
target_country_code: string;
|
|
4
5
|
stag: string;
|
|
5
|
-
stag_native: string;
|
|
6
|
+
stag_native: string | null;
|
|
6
7
|
};
|
|
7
8
|
export type TStagInfoForCountryDetail = {
|
|
8
9
|
stag_code: string;
|
|
@@ -13,20 +14,11 @@ export type TStagInfoForCountryDetail = {
|
|
|
13
14
|
bg_color: string | null;
|
|
14
15
|
fg_color: string | null;
|
|
15
16
|
thumbnail_square: string | null;
|
|
16
|
-
|
|
17
|
-
thumbnail_square_src_platform: string | null;
|
|
18
|
-
thumbnail_square_src_unique_id: string | null;
|
|
19
|
-
thumbnail_square_src_url: string | null;
|
|
17
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
20
18
|
thumbnail_horizontal: string | null;
|
|
21
|
-
|
|
22
|
-
thumbnail_horizontal_src_platform: string | null;
|
|
23
|
-
thumbnail_horizontal_src_unique_id: string | null;
|
|
24
|
-
thumbnail_horizontal_src_url: string | null;
|
|
19
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
25
20
|
thumbnail_vertical: string | null;
|
|
26
|
-
|
|
27
|
-
thumbnail_vertical_src_platform: string | null;
|
|
28
|
-
thumbnail_vertical_src_unique_id: string | null;
|
|
29
|
-
thumbnail_vertical_src_url: string | null;
|
|
21
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
30
22
|
profile: string | null;
|
|
31
23
|
event_count: number;
|
|
32
24
|
view_count: number;
|
|
@@ -39,47 +31,71 @@ export type TStagListForAdmin = {
|
|
|
39
31
|
fg_color: string | null;
|
|
40
32
|
url: string | null;
|
|
41
33
|
official_web: string | null;
|
|
42
|
-
youtube_ch_id: string | null;
|
|
43
|
-
instagram_id: string | null;
|
|
44
|
-
tiktok_id: string | null;
|
|
45
|
-
threads_id: string | null;
|
|
46
|
-
address: string;
|
|
47
|
-
google_map_url: string;
|
|
48
34
|
event_count: number;
|
|
49
35
|
view_count: number;
|
|
50
36
|
is_active: boolean;
|
|
51
37
|
is_display: boolean;
|
|
38
|
+
created_at: Date;
|
|
39
|
+
updated_at: Date;
|
|
52
40
|
};
|
|
53
41
|
export declare const DB_COLUMNS_STAG_LIST_FOR_ADMIN: string[];
|
|
54
42
|
export type TStagDetail = TStagListForAdmin & {
|
|
55
43
|
stag_native: string | null;
|
|
56
|
-
location: string | null;
|
|
57
44
|
latitude: number | null;
|
|
58
45
|
longitude: number | null;
|
|
46
|
+
location: string | null;
|
|
59
47
|
radius_m: number | null;
|
|
60
|
-
|
|
48
|
+
address: string | null;
|
|
49
|
+
address_native: string | null;
|
|
50
|
+
google_map_url: string | null;
|
|
61
51
|
naver_map_url: string | null;
|
|
62
52
|
thumbnail_square: string | null;
|
|
53
|
+
thumbnail_square_source: TThumbnailSource | null;
|
|
63
54
|
thumbnail_horizontal: string | null;
|
|
55
|
+
thumbnail_horizontal_source: TThumbnailSource | null;
|
|
64
56
|
thumbnail_vertical: string | null;
|
|
57
|
+
thumbnail_vertical_source: TThumbnailSource | null;
|
|
65
58
|
profile: string | null;
|
|
66
59
|
description: string | null;
|
|
67
60
|
deactivated_at: Date | null;
|
|
68
61
|
deactivated_by: string | null;
|
|
69
|
-
metadata_title: string | null;
|
|
70
|
-
metadata_description: string | null;
|
|
71
|
-
metadata_keywords: string | null;
|
|
72
|
-
metadata_og_title: string | null;
|
|
73
|
-
metadata_og_description: string | null;
|
|
74
|
-
metadata_og_image: string | null;
|
|
75
62
|
};
|
|
76
63
|
export type TStagDetailInsert = {
|
|
77
64
|
stag_code: string;
|
|
78
65
|
target_country_code: string;
|
|
79
66
|
stag: string;
|
|
80
|
-
|
|
81
|
-
|
|
67
|
+
stag_native?: string | null;
|
|
68
|
+
};
|
|
69
|
+
export type TStagUpdatableFields = {
|
|
70
|
+
stag?: string;
|
|
71
|
+
stag_native?: string | null;
|
|
72
|
+
description?: string | null;
|
|
73
|
+
bg_color?: string | null;
|
|
74
|
+
fg_color?: string | null;
|
|
75
|
+
thumbnail_square?: string | null;
|
|
76
|
+
thumbnail_square_source?: TThumbnailSource | null;
|
|
77
|
+
thumbnail_horizontal?: string | null;
|
|
78
|
+
thumbnail_horizontal_source?: TThumbnailSource | null;
|
|
79
|
+
thumbnail_vertical?: string | null;
|
|
80
|
+
thumbnail_vertical_source?: TThumbnailSource | null;
|
|
81
|
+
profile?: string | null;
|
|
82
|
+
url?: string | null;
|
|
83
|
+
official_web?: string | null;
|
|
84
|
+
youtube_ch_id?: string | null;
|
|
85
|
+
instagram_id?: string | null;
|
|
86
|
+
tiktok_id?: string | null;
|
|
87
|
+
threads_id?: string | null;
|
|
88
|
+
latitude?: number | null;
|
|
89
|
+
longitude?: number | null;
|
|
90
|
+
radius_m?: number | null;
|
|
91
|
+
address?: string | null;
|
|
92
|
+
address_native?: string | null;
|
|
93
|
+
google_map_url?: string | null;
|
|
94
|
+
naver_map_url?: string | null;
|
|
95
|
+
is_active?: boolean;
|
|
96
|
+
is_display?: boolean;
|
|
97
|
+
};
|
|
82
98
|
export declare const KEYS_STAG_STR: string[];
|
|
83
99
|
export declare const KEYS_STAG_NUM: string[];
|
|
84
100
|
export declare const KEYS_STAG_BOOL: string[];
|
|
85
|
-
export declare const
|
|
101
|
+
export declare const KEYS_STAG_JSON: string[];
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
* DB 컬럼 목록 For Stag List For Admin
|
|
3
3
|
*/
|
|
4
4
|
export const DB_COLUMNS_STAG_LIST_FOR_ADMIN = [
|
|
5
|
-
"target_country_code",
|
|
6
5
|
"stag_code",
|
|
6
|
+
"target_country_code",
|
|
7
7
|
"stag",
|
|
8
8
|
"bg_color",
|
|
9
9
|
"fg_color",
|
|
10
10
|
"url",
|
|
11
|
+
"official_web",
|
|
11
12
|
"event_count",
|
|
13
|
+
"view_count",
|
|
12
14
|
"is_active",
|
|
13
15
|
"is_display",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
+
"created_at",
|
|
17
|
+
"updated_at",
|
|
16
18
|
];
|
|
17
19
|
/*
|
|
18
20
|
* Stag 데이터 문자열 KEY 목록
|
|
@@ -26,20 +28,8 @@ export const KEYS_STAG_STR = [
|
|
|
26
28
|
"bg_color",
|
|
27
29
|
"fg_color",
|
|
28
30
|
"thumbnail_square",
|
|
29
|
-
"thumbnail_square_src_name",
|
|
30
|
-
"thumbnail_square_src_platform",
|
|
31
|
-
"thumbnail_square_src_unique_id",
|
|
32
|
-
"thumbnail_square_src_url",
|
|
33
31
|
"thumbnail_horizontal",
|
|
34
|
-
"thumbnail_horizontal_src_name",
|
|
35
|
-
"thumbnail_horizontal_src_platform",
|
|
36
|
-
"thumbnail_horizontal_src_unique_id",
|
|
37
|
-
"thumbnail_horizontal_src_url",
|
|
38
32
|
"thumbnail_vertical",
|
|
39
|
-
"thumbnail_vertical_src_name",
|
|
40
|
-
"thumbnail_vertical_src_platform",
|
|
41
|
-
"thumbnail_vertical_src_unique_id",
|
|
42
|
-
"thumbnail_vertical_src_url",
|
|
43
33
|
"profile",
|
|
44
34
|
"description",
|
|
45
35
|
"url",
|
|
@@ -49,29 +39,17 @@ export const KEYS_STAG_STR = [
|
|
|
49
39
|
"tiktok_id",
|
|
50
40
|
"threads_id",
|
|
51
41
|
"address",
|
|
42
|
+
"address_native",
|
|
52
43
|
"google_map_url",
|
|
53
44
|
"naver_map_url",
|
|
54
45
|
"deactivated_at",
|
|
55
46
|
"deactivated_by",
|
|
56
|
-
"metadata_title",
|
|
57
|
-
"metadata_description",
|
|
58
|
-
"metadata_og_title",
|
|
59
|
-
"metadata_og_description",
|
|
60
|
-
"metadata_og_image",
|
|
61
47
|
];
|
|
62
|
-
|
|
63
|
-
* 도시 데이터 숫자 KEY 목록
|
|
64
|
-
* FormDataParsing 할 때 사용
|
|
65
|
-
*/
|
|
66
|
-
export const KEYS_STAG_NUM = ["event_count", "view_count"];
|
|
67
|
-
/*
|
|
68
|
-
* 도시 데이터 불리언 KEY 목록
|
|
69
|
-
* FormData Parsing 할 때 사용
|
|
70
|
-
*/
|
|
48
|
+
export const KEYS_STAG_NUM = ["event_count", "view_count", "latitude", "longitude", "radius_m"];
|
|
71
49
|
export const KEYS_STAG_BOOL = ["is_active", "is_display"];
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
50
|
+
export const KEYS_STAG_JSON = [
|
|
51
|
+
"thumbnail_square_source",
|
|
52
|
+
"thumbnail_horizontal_source",
|
|
53
|
+
"thumbnail_vertical_source",
|
|
54
|
+
];
|
|
77
55
|
//# sourceMappingURL=t-stag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t-stag.js","sourceRoot":"","sources":["../../../src/types/types-stag/t-stag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t-stag.js","sourceRoot":"","sources":["../../../src/types/types-stag/t-stag.ts"],"names":[],"mappings":"AA8DA;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,WAAW;IACX,qBAAqB;IACrB,MAAM;IACN,UAAU;IACV,UAAU;IACV,KAAK;IACL,cAAc;IACd,aAAa;IACb,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAmFF;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,WAAW;IACX,qBAAqB;IACrB,MAAM;IACN,aAAa;IACb,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,SAAS;IACT,aAAa;IACb,KAAK;IACL,cAAc;IACd,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,SAAS;IACT,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,gBAAgB;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,aAAa,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;AAEhG,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type TTagLabelInfo = {
|
|
2
|
-
|
|
2
|
+
id: number;
|
|
3
3
|
tag_code: string;
|
|
4
4
|
tag: string;
|
|
5
5
|
event_count: number;
|
|
@@ -17,5 +17,7 @@ export type TTag = {
|
|
|
17
17
|
export type TTagInsert = {
|
|
18
18
|
tag_code: string;
|
|
19
19
|
tag: string;
|
|
20
|
-
}
|
|
21
|
-
export type TTagUpdate =
|
|
20
|
+
};
|
|
21
|
+
export type TTagUpdate = {
|
|
22
|
+
tag?: string;
|
|
23
|
+
};
|