trand_common_v1 0.2.106 → 0.2.108
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.
|
@@ -2,7 +2,7 @@ import { TMapCategoryContent } from "../category/t-map-category-content.js";
|
|
|
2
2
|
import { TMapCityContent } from "../city/t-map-city-content.js";
|
|
3
3
|
import { TCompletedYouTubeVideoListForPublicFront } from "../completed_youtube_video/t-completed-youtube-video.js";
|
|
4
4
|
import { TContentDetail, TContentDetailInsert, TContentDetailUpdate } from "../content/t-content.js";
|
|
5
|
-
import { TContentBusinessHours } from "../content/t-content-business-hours.js";
|
|
5
|
+
import { TContentBusinessHours, TContentBusinessHoursInsert, TContentBusinessHoursUpdate } from "../content/t-content-business-hours.js";
|
|
6
6
|
import { TContentI18n } from "../content/t-content-i18n.js";
|
|
7
7
|
import { TContentImage, TContentImageAdminInput } from "../content/t-content-image.js";
|
|
8
8
|
import { TContentKeyword } from "../content/t-content-keyword.js";
|
|
@@ -22,8 +22,9 @@ import { TTripAdvisorData } from "../trip_advisor_data/t-trip-advisor-data.js";
|
|
|
22
22
|
import { ResponseItemsPaired, ResponseListBase } from "./trand-response.js";
|
|
23
23
|
import { CityInfoBase } from "./trand-response-city.js";
|
|
24
24
|
import { StreetInfoBase } from "./trand-response-street.js";
|
|
25
|
-
import { TContentDescription } from "../content/t-content-description.js";
|
|
26
|
-
import { TContentTarget } from "../content/t-content-target.js";
|
|
25
|
+
import { TContentDescription, TContentDescriptionInsert, TContentDescriptionUpdate } from "../content/t-content-description.js";
|
|
26
|
+
import { TContentTarget, TContentTargetInsert, TContentTargetUpdate } from "../content/t-content-target.js";
|
|
27
|
+
import { TThumbnailSource, TThumbnailType } from "../types/t-thumbnail.js";
|
|
27
28
|
/**
|
|
28
29
|
* Content Detail - Admin
|
|
29
30
|
*/
|
|
@@ -152,11 +153,18 @@ export type ResponseContentYouTubeVideoShortsListForPublic = {
|
|
|
152
153
|
} & ResponseListBase;
|
|
153
154
|
export type TContentAdminCreateForm = {
|
|
154
155
|
contentInfo: TContentDetailInsert;
|
|
156
|
+
description: TContentDescriptionInsert;
|
|
157
|
+
targets: TContentTargetInsert;
|
|
158
|
+
businessHours: TContentBusinessHoursInsert[];
|
|
155
159
|
files: Record<string, File | null>;
|
|
156
160
|
images: TContentImageAdminInput[];
|
|
161
|
+
thumbnailSources: Partial<Record<TThumbnailType, TThumbnailSource>>;
|
|
157
162
|
};
|
|
158
163
|
export type TContentAdminUpdateForm = {
|
|
159
164
|
contentInfo: TContentDetailUpdate;
|
|
165
|
+
description: TContentDescriptionUpdate;
|
|
166
|
+
targets: TContentTargetUpdate;
|
|
167
|
+
businessHours: TContentBusinessHoursUpdate[];
|
|
160
168
|
files: Record<string, File | null>;
|
|
161
169
|
images: TContentImageAdminInput[];
|
|
162
170
|
deletedImageKeys: Set<string>;
|
|
@@ -85,7 +85,12 @@ export type TStreetDetailInsert = {
|
|
|
85
85
|
google_map_url: string;
|
|
86
86
|
naver_map_url: string;
|
|
87
87
|
} & Partial<Omit<TStreetDetail, "country_code" | "city_code" | "street_code" | "name" | "name_ko" | "location" | "latitude" | "longitude" | "address" | "address_native" | "google_map_url" | "naver_map_url">>;
|
|
88
|
-
export type TStreetDetailUpdate =
|
|
88
|
+
export type TStreetDetailUpdate = {
|
|
89
|
+
old_country_code?: string;
|
|
90
|
+
old_city_code?: string;
|
|
91
|
+
new_country_code?: string;
|
|
92
|
+
new_city_code?: string;
|
|
93
|
+
} & Partial<Omit<TStreetDetail, "street_code">>;
|
|
89
94
|
export declare const DB_COLUMNS_STREET_OPTION: string[];
|
|
90
95
|
export declare const DB_COLUMNS_STREET_LIST_FOR_ADMIN: string[];
|
|
91
96
|
export declare const KEYS_STREET_STR: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"t-street.js","sourceRoot":"","sources":["../../src/street/t-street.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"t-street.js","sourceRoot":"","sources":["../../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