trand_common_v1 0.1.134 → 0.1.135
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 { CompletedContent, CompletedContentGPPhoto, CompletedContentI18n, CompletedContentImage, CompletedContentKeyword, CompletedContentPrice, CompletedContentShowTimetable, MapCategoryContent, MapSpecialTagContent, MapTagContent, MapContentYouTubeVideo, CompletedYouTubeVideo, MapCityYouTubeVideo, MapStreetYouTubeVideo, MapCompletedYouTubeVideoKeyword, MapCompletedYouTubeVideoTimeline, CompletedContentMetadataI18n, City, CityImage, CityI18n, CityMetadataI18n, Street, StreetImage, StreetI18n, StreetMetadataI18n, Category, CategoryI18n, CategoryMetadataI18n, SpecialTag, SpecialTagImage, SpecialTagI18n, SpecialTagMetadataI18n, CompletedYouTubeChannel, MapYouTubeChannelCountry, MapContentSelectedYouTubeVideo } from "./trand-db-types.js";
|
|
1
|
+
import { CompletedContent, CompletedContentGPPhoto, CompletedContentI18n, CompletedContentImage, CompletedContentKeyword, CompletedContentPrice, CompletedContentShowTimetable, MapCategoryContent, MapSpecialTagContent, MapTagContent, MapContentYouTubeVideo, CompletedYouTubeVideo, MapCityYouTubeVideo, MapStreetYouTubeVideo, MapCompletedYouTubeVideoKeyword, MapCompletedYouTubeVideoTimeline, CompletedContentMetadataI18n, City, CityImage, CityI18n, CityMetadataI18n, Street, StreetImage, StreetI18n, StreetMetadataI18n, Category, CategoryI18n, CategoryMetadataI18n, SpecialTag, SpecialTagImage, SpecialTagI18n, SpecialTagMetadataI18n, CompletedYouTubeChannel, MapYouTubeChannelCountry, MapContentSelectedYouTubeVideo, MapCityContent, MapStreetContent, MapContentInstagram, MapCitySelectedContent, MapCitySelectedYouTubeVideo, MapCityInstagram, MapCitySelectedInstagram, MapStreetSelectedContent, MapStreetSelectedYouTubeVideo, MapStreetInstagram, MapStreetSelectedInstagram, MapCategorySelectedInstagram, MapCategorySelectedContent, MapCategoryYouTubeVideo, MapCategorySelectedYouTubeVideo, MapCategoryInstagram, MapSpecialTagSelectedInstagram, MapSpecialTagInstagram, MapSpecialTagSelectedYouTubeVideo, MapSpecialTagYouTubeVideo, MapSpecialTagSelectedContent } from "./trand-db-types.js";
|
|
2
2
|
export type ResponseDBSelect<T> = {
|
|
3
3
|
data: T;
|
|
4
4
|
count?: number;
|
|
@@ -9,33 +9,63 @@ export type ResponseCityForAdmin = {
|
|
|
9
9
|
images?: CityImage[];
|
|
10
10
|
i18n?: CityI18n[];
|
|
11
11
|
metadataI18n?: CityMetadataI18n[];
|
|
12
|
+
mapCityContent?: MapCityContent[];
|
|
13
|
+
mapCitySelectedContent?: MapCitySelectedContent[];
|
|
14
|
+
mapCityYouTubeVideo?: MapCityYouTubeVideo[];
|
|
15
|
+
mapCitySelectedYouTubeVideo?: MapCitySelectedYouTubeVideo[];
|
|
16
|
+
mapCityInstagram?: MapCityInstagram[];
|
|
17
|
+
mapCitySelectedInstagram?: MapCitySelectedInstagram[];
|
|
12
18
|
};
|
|
13
19
|
export type ResponseStreetForAdmin = {
|
|
14
20
|
content: Street;
|
|
15
21
|
images?: StreetImage[];
|
|
16
22
|
i18n?: StreetI18n[];
|
|
17
23
|
metadataI18n?: StreetMetadataI18n[];
|
|
24
|
+
mapStreetContent?: MapStreetContent[];
|
|
25
|
+
mapStreetSelectedContent?: MapStreetSelectedContent[];
|
|
26
|
+
mapStreetYouTubeVideo?: MapStreetYouTubeVideo[];
|
|
27
|
+
mapStreetSelectedYouTubeVideo?: MapStreetSelectedYouTubeVideo[];
|
|
28
|
+
mapStreetInstagram?: MapStreetInstagram[];
|
|
29
|
+
mapStreetSelectedInstagram?: MapStreetSelectedInstagram[];
|
|
18
30
|
};
|
|
19
31
|
export type ResponseCategoryForAdmin = {
|
|
20
32
|
content: Category;
|
|
21
33
|
subCategories?: Category[];
|
|
22
34
|
i18n?: CategoryI18n[];
|
|
23
35
|
metadataI18n?: CategoryMetadataI18n[];
|
|
36
|
+
mapCategoryContent?: MapCategoryContent[];
|
|
37
|
+
mapCategorySelectedContent?: MapCategorySelectedContent[];
|
|
38
|
+
mapCategoryYouTubeVideo?: MapCategoryYouTubeVideo[];
|
|
39
|
+
mapCategorySelectedYouTubeVideo?: MapCategorySelectedYouTubeVideo[];
|
|
40
|
+
mapCategoryInstagram?: MapCategoryInstagram[];
|
|
41
|
+
mapCategorySelectedInstagram?: MapCategorySelectedInstagram[];
|
|
24
42
|
};
|
|
25
43
|
export type ResponseSpecialTagForAdmin = {
|
|
26
44
|
content: SpecialTag;
|
|
27
45
|
images?: SpecialTagImage[];
|
|
28
46
|
i18n?: SpecialTagI18n[];
|
|
29
47
|
metadataI18n?: SpecialTagMetadataI18n[];
|
|
48
|
+
mapSpecialTagContent?: MapSpecialTagContent[];
|
|
49
|
+
mapSpecialTagSelectedContent?: MapSpecialTagSelectedContent[];
|
|
50
|
+
mapSpecialTagYouTubeVideo?: MapSpecialTagYouTubeVideo[];
|
|
51
|
+
mapSpecialTagSelectedYouTubeVideo?: MapSpecialTagSelectedYouTubeVideo[];
|
|
52
|
+
mapSpecialTagInstagram?: MapSpecialTagInstagram[];
|
|
53
|
+
mapSpecialTagSelectedInstagram?: MapSpecialTagSelectedInstagram[];
|
|
30
54
|
};
|
|
31
55
|
export type ResponseCompletedYouTubeVideoForAdmin = {
|
|
32
56
|
content: CompletedYouTubeVideo;
|
|
33
|
-
mapYouTubeVideoCity?: MapCityYouTubeVideo[];
|
|
34
|
-
mapYouTubeVideoStreet?: MapStreetYouTubeVideo[];
|
|
35
57
|
mapYouTubeVideoKeyword?: MapCompletedYouTubeVideoKeyword[];
|
|
36
58
|
mapYouTubeVideoTimeline?: MapCompletedYouTubeVideoTimeline[];
|
|
59
|
+
mapYouTubeVideoCity?: MapCityYouTubeVideo[];
|
|
60
|
+
mapSelectedYouTubeVideoCity?: MapCitySelectedYouTubeVideo[];
|
|
61
|
+
mapYouTubeVideoStreet?: MapStreetYouTubeVideo[];
|
|
62
|
+
mapSelectedYouTubeVideoStreet?: MapStreetSelectedYouTubeVideo[];
|
|
37
63
|
mapYouTubeVideoContent?: MapContentYouTubeVideo[];
|
|
38
|
-
|
|
64
|
+
mapSelectedYouTubeVideoContent?: MapContentSelectedYouTubeVideo[];
|
|
65
|
+
mapYouTubeVideoCategory?: MapCategoryYouTubeVideo[];
|
|
66
|
+
mapSelectedYouTubeVideoCategory?: MapCategorySelectedYouTubeVideo[];
|
|
67
|
+
mapYouTubeVideoSpecialTag?: MapSpecialTagYouTubeVideo[];
|
|
68
|
+
mapSelectedYouTubeVideoSpecialTag?: MapSpecialTagSelectedYouTubeVideo[];
|
|
39
69
|
};
|
|
40
70
|
export type ResponseCompletedYouTubeChannelForAdmin = {
|
|
41
71
|
content: CompletedYouTubeChannel;
|
|
@@ -50,10 +80,13 @@ export type ResponseCompletedContentForAdmin = {
|
|
|
50
80
|
keyword?: CompletedContentKeyword[];
|
|
51
81
|
gpPhoto?: CompletedContentGPPhoto[];
|
|
52
82
|
metadataI18n?: CompletedContentMetadataI18n[];
|
|
83
|
+
mapContentCity?: MapCityContent[];
|
|
84
|
+
mapContentStreet?: MapStreetContent[];
|
|
53
85
|
mapContentCategory?: MapCategoryContent[];
|
|
54
86
|
mapContentSpecialTag?: MapSpecialTagContent[];
|
|
55
|
-
mapContentYouTubeVideo?: MapContentYouTubeVideo[];
|
|
56
87
|
mapContentTag?: MapTagContent[];
|
|
88
|
+
mapContentYouTubeVideo?: MapContentYouTubeVideo[];
|
|
89
|
+
mapContentInstagram?: MapContentInstagram[];
|
|
57
90
|
};
|
|
58
91
|
export type ResponseTrandAPI<T> = {
|
|
59
92
|
success: boolean;
|