dplus_common_v1 0.2.14 → 0.2.16

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.
@@ -16,8 +16,12 @@ export type TCityYouTubeVideoInsert = {
16
16
  youtube_video_id: string;
17
17
  order_num?: number;
18
18
  title?: string | null;
19
+ published_at?: string | null;
20
+ duration?: string | null;
19
21
  };
20
22
  export type TCityYouTubeVideoUpdate = {
21
23
  order_num?: number;
22
24
  title?: string | null;
25
+ published_at?: string | null;
26
+ duration?: string | null;
23
27
  };
@@ -10,7 +10,6 @@ export type TStagInfoForCountryDetail = {
10
10
  target_country_code: string;
11
11
  stag: string;
12
12
  stag_native: string | null;
13
- description: string | null;
14
13
  bg_color: string | null;
15
14
  fg_color: string | null;
16
15
  thumbnail_square: string | null;
@@ -19,7 +18,6 @@ export type TStagInfoForCountryDetail = {
19
18
  thumbnail_horizontal_source: TThumbnailSource | null;
20
19
  thumbnail_vertical: string | null;
21
20
  thumbnail_vertical_source: TThumbnailSource | null;
22
- profile: string | null;
23
21
  event_count: number;
24
22
  view_count: number;
25
23
  };
@@ -27,6 +25,7 @@ export type TStagListForAdmin = {
27
25
  stag_code: string;
28
26
  target_country_code: string;
29
27
  stag: string;
28
+ stag_native: string | null;
30
29
  bg_color: string | null;
31
30
  fg_color: string | null;
32
31
  url: string | null;
@@ -36,11 +35,12 @@ export type TStagListForAdmin = {
36
35
  is_active: boolean;
37
36
  is_display: boolean;
38
37
  created_at: Date;
38
+ created_by: string;
39
39
  updated_at: Date;
40
40
  };
41
41
  export declare const DB_COLUMNS_STAG_LIST_FOR_ADMIN: string[];
42
42
  export type TStagDetail = TStagListForAdmin & {
43
- stag_native: string | null;
43
+ description: string | null;
44
44
  latitude: number | null;
45
45
  longitude: number | null;
46
46
  location: string | null;
@@ -55,8 +55,6 @@ export type TStagDetail = TStagListForAdmin & {
55
55
  thumbnail_horizontal_source: TThumbnailSource | null;
56
56
  thumbnail_vertical: string | null;
57
57
  thumbnail_vertical_source: TThumbnailSource | null;
58
- profile: string | null;
59
- description: string | null;
60
58
  deactivated_at: Date | null;
61
59
  deactivated_by: string | null;
62
60
  };
@@ -64,38 +62,8 @@ export type TStagDetailInsert = {
64
62
  stag_code: string;
65
63
  target_country_code: string;
66
64
  stag: string;
67
- stag_native?: string | null;
68
- };
69
- export type TStagDetailUpdate = Partial<Omit<TStagDetail, "stag_code" | "created_at" | "updated_at" | "event_count" | "view_count">>;
70
- export type TStagUpdatableFields = {
71
- stag?: string;
72
- stag_native?: string | null;
73
- description?: string | null;
74
- bg_color?: string | null;
75
- fg_color?: string | null;
76
- thumbnail_square?: string | null;
77
- thumbnail_square_source?: TThumbnailSource | null;
78
- thumbnail_horizontal?: string | null;
79
- thumbnail_horizontal_source?: TThumbnailSource | null;
80
- thumbnail_vertical?: string | null;
81
- thumbnail_vertical_source?: TThumbnailSource | null;
82
- profile?: string | null;
83
- url?: string | null;
84
- official_web?: string | null;
85
- youtube_ch_id?: string | null;
86
- instagram_id?: string | null;
87
- tiktok_id?: string | null;
88
- threads_id?: string | null;
89
- latitude?: number | null;
90
- longitude?: number | null;
91
- radius_m?: number | null;
92
- address?: string | null;
93
- address_native?: string | null;
94
- google_map_url?: string | null;
95
- naver_map_url?: string | null;
96
- is_active?: boolean;
97
- is_display?: boolean;
98
- };
65
+ } & Partial<Omit<TStagDetail, "stag_code" | "target_country_code" | "stag" | "created_at" | "created_by" | "updated_at" | "event_count" | "view_count" | "location">>;
66
+ export type TStagDetailUpdate = Partial<Omit<TStagDetail, "stag_code" | "created_at" | "created_by" | "updated_at" | "event_count" | "view_count" | "location">>;
99
67
  export declare const KEYS_STAG_STR: string[];
100
68
  export declare const KEYS_STAG_NUM: string[];
101
69
  export declare const KEYS_STAG_BOOL: string[];
@@ -5,6 +5,7 @@ export const DB_COLUMNS_STAG_LIST_FOR_ADMIN = [
5
5
  "stag_code",
6
6
  "target_country_code",
7
7
  "stag",
8
+ "stag_native",
8
9
  "bg_color",
9
10
  "fg_color",
10
11
  "url",
@@ -14,6 +15,7 @@ export const DB_COLUMNS_STAG_LIST_FOR_ADMIN = [
14
15
  "is_active",
15
16
  "is_display",
16
17
  "created_at",
18
+ "created_by",
17
19
  "updated_at",
18
20
  ];
19
21
  /*
@@ -25,12 +27,12 @@ export const KEYS_STAG_STR = [
25
27
  "target_country_code",
26
28
  "stag",
27
29
  "stag_native",
30
+ "description", // ⚠️ 추가 필요!
28
31
  "bg_color",
29
32
  "fg_color",
30
33
  "thumbnail_square",
31
34
  "thumbnail_horizontal",
32
35
  "thumbnail_vertical",
33
- "description",
34
36
  "url",
35
37
  "official_web",
36
38
  "youtube_ch_id",
@@ -41,6 +43,9 @@ export const KEYS_STAG_STR = [
41
43
  "address_native",
42
44
  "google_map_url",
43
45
  "naver_map_url",
46
+ "created_at", // ⚠️ 추가 필요!
47
+ "created_by", // ⚠️ 추가 필요!
48
+ "updated_at", // ⚠️ 추가 필요!
44
49
  "deactivated_at",
45
50
  "deactivated_by",
46
51
  ];
@@ -1 +1 @@
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;AA8FF;;;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,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,eAAe,GAAG;IAC7B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
1
+ {"version":3,"file":"t-stag.js","sourceRoot":"","sources":["../../../src/types/types-stag/t-stag.ts"],"names":[],"mappings":"AA6DA;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,WAAW;IACX,qBAAqB;IACrB,MAAM;IACN,aAAa;IACb,UAAU;IACV,UAAU;IACV,KAAK;IACL,cAAc;IACd,aAAa;IACb,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;CACb,CAAC;AAgEF;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,WAAW;IACX,qBAAqB;IACrB,MAAM;IACN,aAAa;IACb,aAAa,EAAS,YAAY;IAClC,UAAU;IACV,UAAU;IACV,kBAAkB;IAClB,sBAAsB;IACtB,oBAAoB;IACpB,KAAK;IACL,cAAc;IACd,eAAe;IACf,cAAc;IACd,WAAW;IACX,YAAY;IACZ,SAAS;IACT,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,YAAY,EAAU,YAAY;IAClC,YAAY,EAAU,YAAY;IAClC,YAAY,EAAU,YAAY;IAClC,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,eAAe,GAAG;IAC7B,yBAAyB;IACzB,6BAA6B;IAC7B,2BAA2B;CAC5B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"