trand_common_v1 0.2.27 → 0.2.29

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.
@@ -1,4 +1,4 @@
1
- import { TCategoryDetail, TCategoryListForAdmin, TCategoryOption } from "../types/t-category";
1
+ import { TCategoryDetail, TCategoryListForAdmin, TCategoryListForPublic } from "../types/t-category";
2
2
  import { TCityDetail } from "../types/t-city";
3
3
  import { TCompletedYouTubeChannelDetail } from "../types/t-completed-youtube-channel";
4
4
  import { TCompletedYouTubeVideoDetail, TCompletedYouTubeVideoListForPublicFront } from "../types/t-completed-youtube-video";
@@ -61,7 +61,7 @@ export type ResponseCityDetailForPublic = {
61
61
  images?: TRelatedImage[];
62
62
  i18n?: TRelatedI18n;
63
63
  metadataI18n?: TRelatedMetadataI18n;
64
- categories?: TCategoryOption[];
64
+ categories?: TCategoryListForPublic[];
65
65
  streets?: TStreetListForCityDetail[];
66
66
  mapCityContent?: {
67
67
  map: TMapTypeAndContent;
@@ -68,3 +68,16 @@ export declare const KEYS_CATEGORY_STR: string[];
68
68
  export declare const KEYS_CATEGORY_NUM: string[];
69
69
  export declare const KEYS_CATEGORY_BOOL: string[];
70
70
  export declare const KEYS_CATEGORY_STR_ARRAY: string[];
71
+ export type TCategoryListForPublic = {
72
+ target_country_code: string;
73
+ upper_category_code: string | null;
74
+ category_code: string;
75
+ order_num: number;
76
+ name: string;
77
+ name_ko: string | null;
78
+ is_active: boolean;
79
+ is_display: boolean;
80
+ content_count: number;
81
+ i18n_name: string | null;
82
+ i18n_description: string | null;
83
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trand_common_v1",
3
- "version": "0.2.27",
3
+ "version": "0.2.29",
4
4
  "description": "Common modules for Trand API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "trand"