trand_common_v1 0.1.143 → 0.1.145
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.
|
@@ -314,54 +314,6 @@ export type TagInsert = {
|
|
|
314
314
|
export type TagUpdate = {
|
|
315
315
|
tag: string;
|
|
316
316
|
} & Partial<Omit<Tag, "tag">>;
|
|
317
|
-
export type RelatedImage = {
|
|
318
|
-
code: string;
|
|
319
|
-
hash_code: string;
|
|
320
|
-
order_num: number;
|
|
321
|
-
label: string | null;
|
|
322
|
-
url: string;
|
|
323
|
-
};
|
|
324
|
-
export type RelatedImageInsert = {
|
|
325
|
-
code: string;
|
|
326
|
-
hash_code: string;
|
|
327
|
-
url: string;
|
|
328
|
-
} & Partial<Omit<RelatedImage, "code" | "hash_code" | "url">>;
|
|
329
|
-
export type RelatedImageUpdate = {
|
|
330
|
-
code: string;
|
|
331
|
-
hash_code: string;
|
|
332
|
-
} & Partial<Omit<RelatedImage, "code" | "hash_code">>;
|
|
333
|
-
export type RelatedI18n = {
|
|
334
|
-
code: string;
|
|
335
|
-
lang_code: string;
|
|
336
|
-
name: string;
|
|
337
|
-
description: string | null;
|
|
338
|
-
};
|
|
339
|
-
export type RelatedI18nInsert = {
|
|
340
|
-
code: string;
|
|
341
|
-
lang_code: string;
|
|
342
|
-
name: string;
|
|
343
|
-
} & Partial<Omit<RelatedI18n, "code" | "lang_code" | "name">>;
|
|
344
|
-
export type RelatedI18nUpdate = {
|
|
345
|
-
code: string;
|
|
346
|
-
lang_code: string;
|
|
347
|
-
} & Partial<Omit<RelatedI18n, "code" | "lang_code">>;
|
|
348
|
-
export type RelatedMetadataI18n = {
|
|
349
|
-
code: string;
|
|
350
|
-
lang_code: string;
|
|
351
|
-
title: string;
|
|
352
|
-
description: string | null;
|
|
353
|
-
og_image: string | null;
|
|
354
|
-
tag_set: string[] | string | null;
|
|
355
|
-
};
|
|
356
|
-
export type RelatedMetadataI18nInsert = {
|
|
357
|
-
code: string;
|
|
358
|
-
lang_code: string;
|
|
359
|
-
title: string;
|
|
360
|
-
} & Partial<Omit<RelatedMetadataI18n, "code" | "lang_code" | "title">>;
|
|
361
|
-
export type RelatedMetadataI18nUpdate = {
|
|
362
|
-
code: string;
|
|
363
|
-
lang_code: string;
|
|
364
|
-
} & Partial<Omit<RelatedMetadataI18n, "code" | "lang_code">>;
|
|
365
317
|
export type YouTubeVideoSearchKeyword = {
|
|
366
318
|
target_country_code: string;
|
|
367
319
|
keyword_code: string;
|
|
@@ -952,6 +904,38 @@ export type TripAdvisorData = {
|
|
|
952
904
|
awards: string | null;
|
|
953
905
|
fetched_at: string | null;
|
|
954
906
|
};
|
|
907
|
+
export type ContentI18n = {
|
|
908
|
+
content_code: string;
|
|
909
|
+
lang_code: string;
|
|
910
|
+
name: string;
|
|
911
|
+
description: string | null;
|
|
912
|
+
};
|
|
913
|
+
export type ContentI18nInsert = {
|
|
914
|
+
content_code: string;
|
|
915
|
+
lang_code: string;
|
|
916
|
+
name: string;
|
|
917
|
+
} & Partial<Omit<ContentI18n, "content_code" | "lang_code" | "name">>;
|
|
918
|
+
export type ContentI18nUpdate = {
|
|
919
|
+
content_code: string;
|
|
920
|
+
lang_code: string;
|
|
921
|
+
} & Partial<Omit<ContentI18n, "content_code" | "lang_code">>;
|
|
922
|
+
export type ContentMetadataI18n = {
|
|
923
|
+
content_code: string;
|
|
924
|
+
lang_code: string;
|
|
925
|
+
title: string;
|
|
926
|
+
description: string | null;
|
|
927
|
+
og_image: string | null;
|
|
928
|
+
tag_set: string[] | string | null;
|
|
929
|
+
};
|
|
930
|
+
export type ContentMetadataI18nInsert = {
|
|
931
|
+
content_code: string;
|
|
932
|
+
lang_code: string;
|
|
933
|
+
title: string;
|
|
934
|
+
} & Partial<Omit<ContentMetadataI18n, "content_code" | "lang_code" | "title">>;
|
|
935
|
+
export type ContentMetadataI18nUpdate = {
|
|
936
|
+
content_code: string;
|
|
937
|
+
lang_code: string;
|
|
938
|
+
} & Partial<Omit<ContentMetadataI18n, "content_code" | "lang_code">>;
|
|
955
939
|
export type ContentShowTimetable = {
|
|
956
940
|
content_code: string;
|
|
957
941
|
hash_code: string;
|
|
@@ -1078,6 +1062,54 @@ export type MapContentSelectedInstagram = {
|
|
|
1078
1062
|
local_img_url: string | null;
|
|
1079
1063
|
instagram_src_url: string;
|
|
1080
1064
|
};
|
|
1065
|
+
export type RelatedImage = {
|
|
1066
|
+
code: string;
|
|
1067
|
+
hash_code: string;
|
|
1068
|
+
order_num: number;
|
|
1069
|
+
label: string | null;
|
|
1070
|
+
url: string;
|
|
1071
|
+
};
|
|
1072
|
+
export type RelatedImageInsert = {
|
|
1073
|
+
code: string;
|
|
1074
|
+
hash_code: string;
|
|
1075
|
+
url: string;
|
|
1076
|
+
} & Partial<Omit<RelatedImage, "code" | "hash_code" | "url">>;
|
|
1077
|
+
export type RelatedImageUpdate = {
|
|
1078
|
+
code: string;
|
|
1079
|
+
hash_code: string;
|
|
1080
|
+
} & Partial<Omit<RelatedImage, "code" | "hash_code">>;
|
|
1081
|
+
export type RelatedI18n = {
|
|
1082
|
+
code: string;
|
|
1083
|
+
lang_code: string;
|
|
1084
|
+
name: string;
|
|
1085
|
+
description: string | null;
|
|
1086
|
+
};
|
|
1087
|
+
export type RelatedI18nInsert = {
|
|
1088
|
+
code: string;
|
|
1089
|
+
lang_code: string;
|
|
1090
|
+
name: string;
|
|
1091
|
+
} & Partial<Omit<RelatedI18n, "code" | "lang_code" | "name">>;
|
|
1092
|
+
export type RelatedI18nUpdate = {
|
|
1093
|
+
code: string;
|
|
1094
|
+
lang_code: string;
|
|
1095
|
+
} & Partial<Omit<RelatedI18n, "code" | "lang_code">>;
|
|
1096
|
+
export type RelatedMetadataI18n = {
|
|
1097
|
+
code: string;
|
|
1098
|
+
lang_code: string;
|
|
1099
|
+
title: string;
|
|
1100
|
+
description: string | null;
|
|
1101
|
+
og_image: string | null;
|
|
1102
|
+
tag_set: string[] | string | null;
|
|
1103
|
+
};
|
|
1104
|
+
export type RelatedMetadataI18nInsert = {
|
|
1105
|
+
code: string;
|
|
1106
|
+
lang_code: string;
|
|
1107
|
+
title: string;
|
|
1108
|
+
} & Partial<Omit<RelatedMetadataI18n, "code" | "lang_code" | "title">>;
|
|
1109
|
+
export type RelatedMetadataI18nUpdate = {
|
|
1110
|
+
code: string;
|
|
1111
|
+
lang_code: string;
|
|
1112
|
+
} & Partial<Omit<RelatedMetadataI18n, "code" | "lang_code">>;
|
|
1081
1113
|
export type FormFieldProps = {
|
|
1082
1114
|
id: string;
|
|
1083
1115
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trand-db-types.js","sourceRoot":"","sources":["../../src/trand-types/trand-db-types.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,cAAc;IACd,WAAW;IACX,MAAM;IACN,QAAQ;IACR,SAAS;CACV,CAAC;AAUF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,cAAc;IACd,WAAW;IACX,MAAM;IACN,QAAQ;IACR,SAAS;IACT,cAAc;IACd,mBAAmB;IACnB,qBAAqB;IACrB,iBAAiB;IACjB,oBAAoB;IACpB,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,WAAW;IACX,YAAY;IACZ,eAAe;CAChB,CAAC;AA+FF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,cAAc;IACd,WAAW;IACX,aAAa;IACb,MAAM;IACN,QAAQ;CACT,CAAC;AAWF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,cAAc;IACd,WAAW;IACX,aAAa;IACb,MAAM;IACN,QAAQ;IACR,KAAK;IACL,YAAY;IACZ,eAAe;IACf,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,WAAW;IACX,YAAY;IACZ,eAAe;CAChB,CAAC;AA6FF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,qBAAqB;IACrB,qBAAqB;IACrB,eAAe;IACf,WAAW;IACX,MAAM;IACN,SAAS;IACT,WAAW;IACX,YAAY;CACb,CAAC;AAaF,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,qBAAqB;IACrB,qBAAqB;IACrB,eAAe;IACf,WAAW;IACX,MAAM;IACN,SAAS;IACT,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,UAAU;IACV,SAAS;IACT,eAAe;IACf,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;CACjB,CAAC;AAgEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,qBAAqB;IACrB,WAAW;IACX,MAAM;IACN,QAAQ;CACT,CAAC;AASF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,qBAAqB;IACrB,WAAW;IACX,MAAM;IACN,QAAQ;IACR,KAAK;IACL,eAAe;IACf,cAAc;IACd,WAAW;IACX,WAAW;IACX,YAAY;IACZ,eAAe;CAChB,CAAC;
|
|
1
|
+
{"version":3,"file":"trand-db-types.js","sourceRoot":"","sources":["../../src/trand-types/trand-db-types.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,cAAc;IACd,WAAW;IACX,MAAM;IACN,QAAQ;IACR,SAAS;CACV,CAAC;AAUF,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,cAAc;IACd,WAAW;IACX,MAAM;IACN,QAAQ;IACR,SAAS;IACT,cAAc;IACd,mBAAmB;IACnB,qBAAqB;IACrB,iBAAiB;IACjB,oBAAoB;IACpB,gBAAgB;IAChB,uBAAuB;IACvB,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,WAAW;IACX,YAAY;IACZ,eAAe;CAChB,CAAC;AA+FF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,cAAc;IACd,WAAW;IACX,aAAa;IACb,MAAM;IACN,QAAQ;CACT,CAAC;AAWF,MAAM,CAAC,MAAM,yBAAyB,GA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|
@@ -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, MapRelatedContentTypeAndContent, MapRelatedContentInstagram, MapRelatedContentYouTubeVideo, RelatedImage, RelatedI18n, RelatedMetadataI18n, MapRelatedContentTypeSelectedContent } from "./trand-db-types.js";
|
|
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, GooglePlaceData, TripAdvisorData } from "./trand-db-types.js";
|
|
2
2
|
export type ResponseDBSelect<T> = {
|
|
3
3
|
data: T;
|
|
4
4
|
count?: number;
|
|
@@ -85,6 +85,8 @@ export type ResponseCompletedYouTubeChannelForAdmin = {
|
|
|
85
85
|
};
|
|
86
86
|
export type ResponseContentForAdmin = {
|
|
87
87
|
content: Content;
|
|
88
|
+
googlePlaceData?: GooglePlaceData[];
|
|
89
|
+
tripAdvisorData?: TripAdvisorData[];
|
|
88
90
|
showTimetable?: ContentShowTimetable[];
|
|
89
91
|
price?: ContentPrice[];
|
|
90
92
|
image?: ContentImage[];
|