trand_common_v1 0.1.141 → 0.1.142
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.
|
@@ -1025,11 +1025,11 @@ export type ContentGPPhotoUpdate = {
|
|
|
1025
1025
|
content_code: string;
|
|
1026
1026
|
hash_code: string;
|
|
1027
1027
|
} & Partial<Omit<ContentGPPhoto, "content_code" | "hash_code">>;
|
|
1028
|
-
export type
|
|
1028
|
+
export type MapRelatedContentTypeAndContent = {
|
|
1029
1029
|
code: string;
|
|
1030
1030
|
content_code: string;
|
|
1031
1031
|
};
|
|
1032
|
-
export type
|
|
1032
|
+
export type MapRelatedContentTypeSelectedContent = {
|
|
1033
1033
|
code: string;
|
|
1034
1034
|
content_code: string;
|
|
1035
1035
|
name: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Content, ContentGPPhoto, ContentImage, ContentKeyword, ContentPrice, ContentShowTimetable, MapTagContent, MapContentYouTubeVideo, CompletedYouTubeVideo, MapCompletedYouTubeVideoKeyword, MapCompletedYouTubeVideoTimeline, City, Street, Category, Stag, CompletedYouTubeChannel, MapYouTubeChannelCountry, MapContentInstagram, MapRelatedContentSelectedInstagram, MapRelatedContentSelectedYouTubeVideo,
|
|
1
|
+
import { Content, ContentGPPhoto, ContentImage, ContentKeyword, ContentPrice, ContentShowTimetable, MapTagContent, MapContentYouTubeVideo, CompletedYouTubeVideo, MapCompletedYouTubeVideoKeyword, MapCompletedYouTubeVideoTimeline, City, Street, Category, Stag, CompletedYouTubeChannel, MapYouTubeChannelCountry, MapContentInstagram, MapRelatedContentSelectedInstagram, MapRelatedContentSelectedYouTubeVideo, MapRelatedContentTypeAndContent, MapRelatedContentInstagram, MapRelatedContentYouTubeVideo, RelatedImage, RelatedI18n, RelatedMetadataI18n, MapRelatedContentTypeSelectedContent } from "./trand-db-types.js";
|
|
2
2
|
export type ResponseDBSelect<T> = {
|
|
3
3
|
data: T;
|
|
4
4
|
count?: number;
|
|
@@ -9,8 +9,8 @@ export type ResponseCityForAdmin = {
|
|
|
9
9
|
images?: RelatedImage[];
|
|
10
10
|
i18n?: RelatedI18n[];
|
|
11
11
|
metadataI18n?: RelatedMetadataI18n[];
|
|
12
|
-
mapCityContent?:
|
|
13
|
-
mapCitySelectedContent?:
|
|
12
|
+
mapCityContent?: MapRelatedContentTypeAndContent[];
|
|
13
|
+
mapCitySelectedContent?: MapRelatedContentTypeSelectedContent[];
|
|
14
14
|
mapCityYouTubeVideo?: MapRelatedContentYouTubeVideo[];
|
|
15
15
|
mapCitySelectedYouTubeVideo?: MapRelatedContentSelectedYouTubeVideo[];
|
|
16
16
|
mapCityInstagram?: MapRelatedContentInstagram[];
|
|
@@ -21,8 +21,8 @@ export type ResponseCityForPublic = {
|
|
|
21
21
|
images?: RelatedImage[];
|
|
22
22
|
i18n?: RelatedI18n[];
|
|
23
23
|
metadataI18n?: RelatedMetadataI18n[];
|
|
24
|
-
mapCityContent?:
|
|
25
|
-
mapCitySelectedContent?:
|
|
24
|
+
mapCityContent?: MapRelatedContentTypeAndContent[];
|
|
25
|
+
mapCitySelectedContent?: MapRelatedContentTypeSelectedContent[];
|
|
26
26
|
mapCityYouTubeVideo?: MapRelatedContentYouTubeVideo[];
|
|
27
27
|
mapCitySelectedYouTubeVideo?: MapRelatedContentSelectedYouTubeVideo[];
|
|
28
28
|
mapCityInstagram?: MapRelatedContentInstagram[];
|
|
@@ -33,8 +33,8 @@ export type ResponseStreetForAdmin = {
|
|
|
33
33
|
images?: RelatedImage[];
|
|
34
34
|
i18n?: RelatedI18n[];
|
|
35
35
|
metadataI18n?: RelatedMetadataI18n[];
|
|
36
|
-
mapStreetContent?:
|
|
37
|
-
mapStreetSelectedContent?:
|
|
36
|
+
mapStreetContent?: MapRelatedContentTypeAndContent[];
|
|
37
|
+
mapStreetSelectedContent?: MapRelatedContentTypeSelectedContent[];
|
|
38
38
|
mapStreetYouTubeVideo?: MapRelatedContentYouTubeVideo[];
|
|
39
39
|
mapStreetSelectedYouTubeVideo?: MapRelatedContentSelectedYouTubeVideo[];
|
|
40
40
|
mapStreetInstagram?: MapRelatedContentInstagram[];
|
|
@@ -45,8 +45,8 @@ export type ResponseCategoryForAdmin = {
|
|
|
45
45
|
subCategories?: Category[];
|
|
46
46
|
i18n?: RelatedI18n[];
|
|
47
47
|
metadataI18n?: RelatedMetadataI18n[];
|
|
48
|
-
mapCategoryContent?:
|
|
49
|
-
mapCategorySelectedContent?:
|
|
48
|
+
mapCategoryContent?: MapRelatedContentTypeAndContent[];
|
|
49
|
+
mapCategorySelectedContent?: MapRelatedContentTypeSelectedContent[];
|
|
50
50
|
mapCategoryYouTubeVideo?: MapRelatedContentYouTubeVideo[];
|
|
51
51
|
mapCategorySelectedYouTubeVideo?: MapRelatedContentSelectedYouTubeVideo[];
|
|
52
52
|
mapCategoryInstagram?: MapRelatedContentInstagram[];
|
|
@@ -57,8 +57,8 @@ export type ResponseStagForAdmin = {
|
|
|
57
57
|
images?: RelatedImage[];
|
|
58
58
|
i18n?: RelatedI18n[];
|
|
59
59
|
metadataI18n?: RelatedMetadataI18n[];
|
|
60
|
-
mapStagContent?:
|
|
61
|
-
mapStagSelectedContent?:
|
|
60
|
+
mapStagContent?: MapRelatedContentTypeAndContent[];
|
|
61
|
+
mapStagSelectedContent?: MapRelatedContentTypeSelectedContent[];
|
|
62
62
|
mapStagYouTubeVideo?: MapRelatedContentYouTubeVideo[];
|
|
63
63
|
mapStagSelectedYouTubeVideo?: MapRelatedContentSelectedYouTubeVideo[];
|
|
64
64
|
mapStagInstagram?: MapRelatedContentInstagram[];
|
|
@@ -83,7 +83,7 @@ export type ResponseCompletedYouTubeChannelForAdmin = {
|
|
|
83
83
|
content: CompletedYouTubeChannel;
|
|
84
84
|
mapYouTubeChannelCountry?: MapYouTubeChannelCountry[];
|
|
85
85
|
};
|
|
86
|
-
export type
|
|
86
|
+
export type ResponseContentForAdmin = {
|
|
87
87
|
content: Content;
|
|
88
88
|
showTimetable?: ContentShowTimetable[];
|
|
89
89
|
price?: ContentPrice[];
|
|
@@ -92,14 +92,14 @@ export type ResponseCompletedContentForAdmin = {
|
|
|
92
92
|
metadataI18n?: RelatedMetadataI18n[];
|
|
93
93
|
keyword?: ContentKeyword[];
|
|
94
94
|
gpPhoto?: ContentGPPhoto[];
|
|
95
|
-
mapContentCategory?:
|
|
96
|
-
mapContentCity?:
|
|
97
|
-
mapContentStreet?:
|
|
95
|
+
mapContentCategory?: MapRelatedContentTypeAndContent[];
|
|
96
|
+
mapContentCity?: MapRelatedContentTypeAndContent[];
|
|
97
|
+
mapContentStreet?: MapRelatedContentTypeAndContent[];
|
|
98
98
|
mapContentInstagram?: MapContentInstagram[];
|
|
99
99
|
mapContentSelectedInstagram?: MapRelatedContentSelectedInstagram[];
|
|
100
100
|
mapContentYouTubeVideo?: MapContentYouTubeVideo[];
|
|
101
101
|
mapContentSelectedYouTubeVideo?: MapRelatedContentSelectedYouTubeVideo[];
|
|
102
|
-
mapContentStag?:
|
|
102
|
+
mapContentStag?: MapRelatedContentTypeAndContent[];
|
|
103
103
|
mapContentTag?: MapTagContent[];
|
|
104
104
|
};
|
|
105
105
|
export type ResponseTrandAPI<T> = {
|