trand_common_v1 0.2.107 → 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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"t-thumbnail.js","sourceRoot":"","sources":["../../src/types/t-thumbnail.ts"],"names":[],"mappings":""}
|