dplus_common_v1 0.2.25 → 0.2.26
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.
- package/dist/dplus-types/dplus-response-category.d.ts +45 -0
- package/dist/dplus-types/dplus-response-category.js +2 -0
- package/dist/dplus-types/dplus-response-category.js.map +1 -0
- package/dist/dplus-types/dplus-response-city.d.ts +57 -0
- package/dist/dplus-types/dplus-response-city.js +2 -0
- package/dist/dplus-types/dplus-response-city.js.map +1 -0
- package/dist/dplus-types/dplus-response-country.d.ts +36 -0
- package/dist/dplus-types/dplus-response-country.js +2 -0
- package/dist/dplus-types/dplus-response-country.js.map +1 -0
- package/dist/dplus-types/dplus-response-date-detail.d.ts +25 -0
- package/dist/dplus-types/dplus-response-date-detail.js +2 -0
- package/dist/dplus-types/dplus-response-date-detail.js.map +1 -0
- package/dist/dplus-types/dplus-response-event.d.ts +68 -0
- package/dist/dplus-types/dplus-response-event.js +2 -0
- package/dist/dplus-types/dplus-response-event.js.map +1 -0
- package/dist/dplus-types/dplus-response-folder.d.ts +67 -0
- package/dist/dplus-types/dplus-response-folder.js +2 -0
- package/dist/dplus-types/dplus-response-folder.js.map +1 -0
- package/dist/dplus-types/dplus-response-group.d.ts +44 -0
- package/dist/dplus-types/dplus-response-group.js +2 -0
- package/dist/dplus-types/dplus-response-group.js.map +1 -0
- package/dist/dplus-types/dplus-response-nearby.d.ts +23 -0
- package/dist/dplus-types/dplus-response-nearby.js +2 -0
- package/dist/dplus-types/dplus-response-nearby.js.map +1 -0
- package/dist/dplus-types/dplus-response-stag.d.ts +49 -0
- package/dist/dplus-types/dplus-response-stag.js +2 -0
- package/dist/dplus-types/dplus-response-stag.js.map +1 -0
- package/dist/dplus-types/dplus-response-tag.d.ts +20 -0
- package/dist/dplus-types/dplus-response-tag.js +2 -0
- package/dist/dplus-types/dplus-response-tag.js.map +1 -0
- package/dist/dplus-types/dplus-response-types.d.ts +1 -404
- package/dist/fields/fields-city/f-city-image.d.ts +15 -38
- package/dist/fields/fields-city/f-city-image.js +36 -59
- package/dist/fields/fields-city/f-city-image.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/types/types-city/t-city-image.d.ts +12 -4
- package/dist/types/types-event/t-event-image.d.ts +9 -0
- package/dist/types/types-folder/t-folder-image.d.ts +9 -0
- package/dist/types/types-group/t-group-image.d.ts +9 -0
- package/dist/types/types-stag/t-stag-image.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { TCategoryDetail, TCategoryDetailInsert, TCategoryDetailUpdate } from "../types/types-category/t-category.js";
|
|
2
|
+
import { TCategoryI18n, TCategoryI18nInsert, TCategoryI18nUpdate } from "../types/types-category/t-category-i18n.js";
|
|
3
|
+
import { TCategoryMetadataI18nDetail, TCategoryMetadataI18nDetailInsert, TCategoryMetadataI18nDetailUpdate } from "../types/types-category/t-category-metadata-i18n.js";
|
|
4
|
+
import { TMapCategoryEventWithCategoryInfo, TMapCategoryEventWithEventInfo } from "../types/types-map/t-map-category-event.js";
|
|
5
|
+
import { TMapCategoryFolderWithCategoryInfo, TMapCategoryFolderWithFolderInfo } from "../types/types-map/t-map-category-folder.js";
|
|
6
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
7
|
+
/**
|
|
8
|
+
* 카테고리 상세 응답 타입 For Admin
|
|
9
|
+
*/
|
|
10
|
+
export type ResponseCategoryDetailForAdmin = {
|
|
11
|
+
categoryDetail: {
|
|
12
|
+
categoryInfo: TCategoryDetail;
|
|
13
|
+
metadataI18n?: DplusGetListDataResponse<TCategoryMetadataI18nDetail>;
|
|
14
|
+
subCategories?: TCategoryDetail[];
|
|
15
|
+
i18n?: DplusGetListDataResponse<TCategoryI18n>;
|
|
16
|
+
};
|
|
17
|
+
mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
|
|
18
|
+
mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithCategoryInfo>;
|
|
19
|
+
};
|
|
20
|
+
export type TCategoryAdminCreateForm = {
|
|
21
|
+
categoryInfo: TCategoryDetailInsert;
|
|
22
|
+
metadataI18n: Partial<Omit<TCategoryMetadataI18nDetailInsert, "category_code" | "lang_code">>[];
|
|
23
|
+
i18n: Partial<Omit<TCategoryI18nInsert, "category_code" | "lang_code">>[];
|
|
24
|
+
files: Record<string, File | null>;
|
|
25
|
+
};
|
|
26
|
+
export type TCategoryAdminUpdateForm = {
|
|
27
|
+
categoryInfo: TCategoryDetailUpdate;
|
|
28
|
+
metadataI18n: Partial<TCategoryMetadataI18nDetailUpdate>[];
|
|
29
|
+
i18n: Partial<TCategoryI18nUpdate>[];
|
|
30
|
+
files: Record<string, File | null>;
|
|
31
|
+
deletedImageKeys: Set<string>;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* 카테고리 상세 응답 타입 For User Front
|
|
35
|
+
*/
|
|
36
|
+
export type ResponseCategoryDetailForUserFront = BaseResponseDetail<null, TCategoryMetadataI18nDetail> & {
|
|
37
|
+
categoryDetail: {
|
|
38
|
+
categoryInfo: TCategoryDetail;
|
|
39
|
+
metadataI18n?: DplusGetListDataResponse<TCategoryMetadataI18nDetail>;
|
|
40
|
+
subCategories?: TCategoryDetail[];
|
|
41
|
+
i18n?: DplusGetListDataResponse<TCategoryI18n>;
|
|
42
|
+
};
|
|
43
|
+
mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithFolderInfo>;
|
|
44
|
+
mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithEventInfo>;
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-category.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-category.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { TCityDetail, TCityDetailInsert, TCityDetailUpdate } from "../types/types-city/t-city.js";
|
|
2
|
+
import { TCityI18n, TCityI18nInsert, TCityI18nUpdate } from "../types/types-city/t-city-i18n.js";
|
|
3
|
+
import { TCityImage } from "../types/types-city/t-city-image.js";
|
|
4
|
+
import { TCityMetadataI18nDetail, TCityMetadataI18nDetailInsert, TCityMetadataI18nDetailUpdate } from "../types/types-city/t-city-metadata-i18n.js";
|
|
5
|
+
import { TCityYouTubeVideo } from "../types/types-city/t-city-youtube-video.js";
|
|
6
|
+
import { TMapCityEventWithCityInfo, TMapCityEventWithEventInfo } from "../types/types-map/t-map-city-event.js";
|
|
7
|
+
import { TMapCityFolderWithCityInfo, TMapCityFolderWithFolderInfo } from "../types/types-map/t-map-city-folder.js";
|
|
8
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
9
|
+
/**
|
|
10
|
+
* 도시 상세 응답 타입 For Admin
|
|
11
|
+
*/
|
|
12
|
+
export type ResponseCityDetailForAdmin = {
|
|
13
|
+
cityDetail: {
|
|
14
|
+
cityInfo: TCityDetail;
|
|
15
|
+
images?: DplusGetListDataResponse<TCityImage>;
|
|
16
|
+
metadataI18n?: DplusGetListDataResponse<TCityMetadataI18nDetail>;
|
|
17
|
+
i18n?: DplusGetListDataResponse<TCityI18n>;
|
|
18
|
+
videos?: TCityYouTubeVideo[];
|
|
19
|
+
};
|
|
20
|
+
mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
|
|
21
|
+
mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
|
|
22
|
+
};
|
|
23
|
+
export type TCityAdminCreateForm = {
|
|
24
|
+
cityInfo: TCityDetailInsert;
|
|
25
|
+
metadataI18n: Partial<Omit<TCityMetadataI18nDetailInsert, "city_code" | "lang_code">>[];
|
|
26
|
+
i18n: Partial<Omit<TCityI18nInsert, "city_code" | "lang_code">>[];
|
|
27
|
+
files: Record<string, File | null>;
|
|
28
|
+
images: File[];
|
|
29
|
+
videos: Partial<Omit<TCityYouTubeVideo, "city_code">>[];
|
|
30
|
+
};
|
|
31
|
+
export type TCityAdminUpdateForm = {
|
|
32
|
+
cityInfo: TCityDetailUpdate;
|
|
33
|
+
metadataI18n: Partial<TCityMetadataI18nDetailUpdate>[];
|
|
34
|
+
i18n: Partial<TCityI18nUpdate>[];
|
|
35
|
+
files: Record<string, File | null>;
|
|
36
|
+
images: File[];
|
|
37
|
+
deletedImageKeys: Set<string>;
|
|
38
|
+
deletedImageHashes: Set<string>;
|
|
39
|
+
videos: Partial<TCityYouTubeVideo>[];
|
|
40
|
+
deletedVideoIds: Set<string>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* 도시 상세 응답 타입 For User Front
|
|
44
|
+
*/
|
|
45
|
+
export type ResponseCityDetailForUserFront = BaseResponseDetail<TCityImage, TCityMetadataI18nDetail> & {
|
|
46
|
+
cityDetail: {
|
|
47
|
+
cityInfo: TCityDetail & {
|
|
48
|
+
country_native: string | null;
|
|
49
|
+
};
|
|
50
|
+
images?: DplusGetListDataResponse<TCityImage>;
|
|
51
|
+
metadataI18n?: DplusGetListDataResponse<TCityMetadataI18nDetail>;
|
|
52
|
+
i18n?: DplusGetListDataResponse<TCityI18n>;
|
|
53
|
+
videos?: TCityYouTubeVideo[];
|
|
54
|
+
};
|
|
55
|
+
mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithFolderInfo>;
|
|
56
|
+
mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithEventInfo>;
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-city.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-city.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TCategoryInfoForCountryDetail } from "../types/types-category/t-category.js";
|
|
2
|
+
import { TCityInfoForCountryDetail } from "../types/types-city/t-city.js";
|
|
3
|
+
import { TCountryDetail } from "../types/types-i18n/t-country.js";
|
|
4
|
+
import { TCountryMetadataI18nDetail } from "../types/types-i18n/t-country-metadata-i18n.js";
|
|
5
|
+
import { TMapCountryEventWithCountryInfo, TMapCountryEventWithEventInfo } from "../types/types-map/t-map-country-event.js";
|
|
6
|
+
import { TMapCountryFolderWithCountryInfo, TMapCountryFolderWithFolderInfo } from "../types/types-map/t-map-country-folder.js";
|
|
7
|
+
import { TStagInfoForCountryDetail } from "../types/types-stag/t-stag.js";
|
|
8
|
+
import { DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
9
|
+
/**
|
|
10
|
+
* 국가 상세 응답 타입 For Admin
|
|
11
|
+
*/
|
|
12
|
+
export type ResponseCountryDetailForAdmin = {
|
|
13
|
+
countryDetail: {
|
|
14
|
+
countryInfo: TCountryDetail;
|
|
15
|
+
metadataI18n: DplusGetListDataResponse<TCountryMetadataI18nDetail>;
|
|
16
|
+
};
|
|
17
|
+
cities: DplusGetListDataResponse<TCityInfoForCountryDetail>;
|
|
18
|
+
categories: DplusGetListDataResponse<TCategoryInfoForCountryDetail>;
|
|
19
|
+
stags?: DplusGetListDataResponse<TStagInfoForCountryDetail>;
|
|
20
|
+
mapCountryFolder?: DplusGetListDataResponse<TMapCountryFolderWithCountryInfo>;
|
|
21
|
+
mapCountryEvent?: DplusGetListDataResponse<TMapCountryEventWithCountryInfo>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* 국가 상세 응답 타입 For User Front
|
|
25
|
+
*/
|
|
26
|
+
export type ResponseCountryDetailForUserFront = {
|
|
27
|
+
countryDetail: {
|
|
28
|
+
countryInfo: TCountryDetail;
|
|
29
|
+
metadataI18n: DplusGetListDataResponse<TCountryMetadataI18nDetail>;
|
|
30
|
+
};
|
|
31
|
+
cities: DplusGetListDataResponse<TCityInfoForCountryDetail>;
|
|
32
|
+
categories: DplusGetListDataResponse<TCategoryInfoForCountryDetail>;
|
|
33
|
+
stags?: DplusGetListDataResponse<TStagInfoForCountryDetail>;
|
|
34
|
+
mapCountryFolder?: DplusGetListDataResponse<TMapCountryFolderWithFolderInfo>;
|
|
35
|
+
mapCountryEvent?: DplusGetListDataResponse<TMapCountryEventWithEventInfo>;
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-country.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-country.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TCategoryLabelInfo } from "../types/types-category/t-category.js";
|
|
2
|
+
import { TCityLabelInfo } from "../types/types-city/t-city.js";
|
|
3
|
+
import { TEventCard } from "../types/types-event/t-event.js";
|
|
4
|
+
import { TFolderSummaryInfo } from "../types/types-folder/t-folder.js";
|
|
5
|
+
import { TGroupLabelInfo } from "../types/types-group/t-group.js";
|
|
6
|
+
import { TStagLabelInfo } from "../types/types-stag/t-stag.js";
|
|
7
|
+
import { TTagLabelInfo } from "../types/types-tag/t-tag.js";
|
|
8
|
+
/**
|
|
9
|
+
* 날짜 상세 응답 타입 이벤트 카드 타입
|
|
10
|
+
*/
|
|
11
|
+
export type TEventCardForDateDetail = TEventCard & {
|
|
12
|
+
folders: TFolderSummaryInfo[];
|
|
13
|
+
cities: TCityLabelInfo[];
|
|
14
|
+
categories: TCategoryLabelInfo[];
|
|
15
|
+
stags: TStagLabelInfo[];
|
|
16
|
+
tags: TTagLabelInfo[];
|
|
17
|
+
groups: TGroupLabelInfo[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* 날짜 상세 응답 타입 For Admin
|
|
21
|
+
*/
|
|
22
|
+
export type ResponseDateDetailForAdmin = {
|
|
23
|
+
date: string;
|
|
24
|
+
events: TEventCardForDateDetail[];
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-date-detail.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-date-detail.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { TEventDetail, TEventDetailInsert, TEventDetailUpdate } from "../types/types-event/t-event.js";
|
|
2
|
+
import { TEventDescription, TEventDescriptionInsert, TEventDescriptionUpdate } from "../types/types-event/t-event-description.js";
|
|
3
|
+
import { TEventImage } from "../types/types-event/t-event-image.js";
|
|
4
|
+
import { TEventMetadataDetail, TEventMetadataDetailInsert, TEventMetadataDetailUpdate } from "../types/types-event/t-event-metadata.js";
|
|
5
|
+
import { TMapCategoryEventWithCategoryInfo } from "../types/types-map/t-map-category-event.js";
|
|
6
|
+
import { TMapCityEventWithCityInfo } from "../types/types-map/t-map-city-event.js";
|
|
7
|
+
import { TMapFolderEventWithFolderInfo } from "../types/types-map/t-map-folder-event.js";
|
|
8
|
+
import { TMapGroupEventWithGroupInfo } from "../types/types-map/t-map-group-event.js";
|
|
9
|
+
import { TMapStagEventWithStagInfo } from "../types/types-map/t-map-stag-event.js";
|
|
10
|
+
import { TMapTagEventWithTagInfo } from "../types/types-map/t-map-tag-event.js";
|
|
11
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
12
|
+
/**
|
|
13
|
+
* 이벤트 상세 응답 타입 For Admin
|
|
14
|
+
*/
|
|
15
|
+
export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, null> & {
|
|
16
|
+
eventDetail: {
|
|
17
|
+
eventInfo: TEventDetail & {
|
|
18
|
+
target_country_native: string | null;
|
|
19
|
+
target_city_native: string | null;
|
|
20
|
+
};
|
|
21
|
+
description: TEventDescription | null;
|
|
22
|
+
metadata: TEventMetadataDetail | null;
|
|
23
|
+
images: DplusGetListDataResponse<TEventImage>;
|
|
24
|
+
};
|
|
25
|
+
mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
|
|
26
|
+
mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
|
|
27
|
+
mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithCategoryInfo>;
|
|
28
|
+
mapStagEvent?: DplusGetListDataResponse<TMapStagEventWithStagInfo>;
|
|
29
|
+
mapTagEvent?: DplusGetListDataResponse<TMapTagEventWithTagInfo>;
|
|
30
|
+
mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithGroupInfo>;
|
|
31
|
+
};
|
|
32
|
+
export type TEventAdminCreateForm = {
|
|
33
|
+
eventInfo: TEventDetailInsert;
|
|
34
|
+
description: Partial<Omit<TEventDescriptionInsert, "event_code">>;
|
|
35
|
+
metadata: Partial<Omit<TEventMetadataDetailInsert, "event_code">>;
|
|
36
|
+
files: Record<string, File | null>;
|
|
37
|
+
images: File[];
|
|
38
|
+
categories: string[];
|
|
39
|
+
};
|
|
40
|
+
export type TEventAdminUpdateForm = {
|
|
41
|
+
eventInfo: TEventDetailUpdate;
|
|
42
|
+
description: TEventDescriptionUpdate;
|
|
43
|
+
metadata: TEventMetadataDetailUpdate;
|
|
44
|
+
files: Record<string, File | null>;
|
|
45
|
+
images: File[];
|
|
46
|
+
deletedImageKeys: Set<string>;
|
|
47
|
+
deletedImageHashes: Set<string>;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* 이벤트 상세 응답 타입 For User Front
|
|
51
|
+
*/
|
|
52
|
+
export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, null> & {
|
|
53
|
+
eventDetail: {
|
|
54
|
+
eventInfo: TEventDetail & {
|
|
55
|
+
target_country_native: string | null;
|
|
56
|
+
target_city_native: string | null;
|
|
57
|
+
};
|
|
58
|
+
description: TEventDescription;
|
|
59
|
+
metadata: TEventMetadataDetail;
|
|
60
|
+
images: DplusGetListDataResponse<TEventImage>;
|
|
61
|
+
};
|
|
62
|
+
mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
|
|
63
|
+
mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
|
|
64
|
+
mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithCategoryInfo>;
|
|
65
|
+
mapStagEvent?: DplusGetListDataResponse<TMapStagEventWithStagInfo>;
|
|
66
|
+
mapTagEvent?: DplusGetListDataResponse<TMapTagEventWithTagInfo>;
|
|
67
|
+
mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithGroupInfo>;
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-event.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-event.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { TFolderDetail, TFolderDetailInsert, TFolderDetailUpdate } from "../types/types-folder/t-folder.js";
|
|
2
|
+
import { TFolderDescription, TFolderDescriptionInsert, TFolderDescriptionUpdate } from "../types/types-folder/t-folder-description.js";
|
|
3
|
+
import { TFolderImage } from "../types/types-folder/t-folder-image.js";
|
|
4
|
+
import { TFolderMetadataDetail, TFolderMetadataDetailInsert, TFolderMetadataDetailUpdate } from "../types/types-folder/t-folder-metadata.js";
|
|
5
|
+
import { TMapCategoryFolderWithCategoryInfo } from "../types/types-map/t-map-category-folder.js";
|
|
6
|
+
import { TMapCityFolderWithCityInfo } from "../types/types-map/t-map-city-folder.js";
|
|
7
|
+
import { TMapFolderEventWithEventInfo } from "../types/types-map/t-map-folder-event.js";
|
|
8
|
+
import { TMapGroupFolderWithGroupInfo } from "../types/types-map/t-map-group-folder.js";
|
|
9
|
+
import { TMapStagFolderWithStagInfo } from "../types/types-map/t-map-stag-folder.js";
|
|
10
|
+
import { TMapTagFolderWithTagInfo } from "../types/types-map/t-map-tag-folder.js";
|
|
11
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
12
|
+
/**
|
|
13
|
+
* 폴더 상세 응답 타입 For Admin
|
|
14
|
+
*/
|
|
15
|
+
export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, null> & {
|
|
16
|
+
folderDetail: {
|
|
17
|
+
folderInfo: TFolderDetail & {
|
|
18
|
+
target_country_native: string | null;
|
|
19
|
+
target_city_native: string | null;
|
|
20
|
+
};
|
|
21
|
+
description: TFolderDescription;
|
|
22
|
+
metadata: TFolderMetadataDetail;
|
|
23
|
+
images: DplusGetListDataResponse<TFolderImage>;
|
|
24
|
+
};
|
|
25
|
+
mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
|
|
26
|
+
mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
|
|
27
|
+
mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
|
|
28
|
+
mapTagFolder?: DplusGetListDataResponse<TMapTagFolderWithTagInfo>;
|
|
29
|
+
mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithGroupInfo>;
|
|
30
|
+
folderEvent?: DplusGetListDataResponse<TMapFolderEventWithEventInfo>;
|
|
31
|
+
};
|
|
32
|
+
export type TFolderAdminCreateForm = {
|
|
33
|
+
folderInfo: TFolderDetailInsert;
|
|
34
|
+
description: Partial<Omit<TFolderDescriptionInsert, "folder_code">>;
|
|
35
|
+
metadata: Partial<Omit<TFolderMetadataDetailInsert, "folder_code">>;
|
|
36
|
+
files: Record<string, File | null>;
|
|
37
|
+
images: File[];
|
|
38
|
+
};
|
|
39
|
+
export type TFolderAdminUpdateForm = {
|
|
40
|
+
folderInfo: TFolderDetailUpdate;
|
|
41
|
+
description: TFolderDescriptionUpdate;
|
|
42
|
+
metadata: TFolderMetadataDetailUpdate;
|
|
43
|
+
files: Record<string, File | null>;
|
|
44
|
+
images: File[];
|
|
45
|
+
deletedImageKeys: Set<string>;
|
|
46
|
+
deletedImageHashes: Set<string>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* 폴더 상세 응답 타입 For User Front
|
|
50
|
+
*/
|
|
51
|
+
export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage, null> & {
|
|
52
|
+
folderDetail: {
|
|
53
|
+
folderInfo: TFolderDetail & {
|
|
54
|
+
target_country_native: string | null;
|
|
55
|
+
target_city_native: string | null;
|
|
56
|
+
};
|
|
57
|
+
description: TFolderDescription;
|
|
58
|
+
metadata: TFolderMetadataDetail;
|
|
59
|
+
images: DplusGetListDataResponse<TFolderImage>;
|
|
60
|
+
};
|
|
61
|
+
mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
|
|
62
|
+
mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
|
|
63
|
+
mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
|
|
64
|
+
mapTagFolder?: DplusGetListDataResponse<TMapTagFolderWithTagInfo>;
|
|
65
|
+
mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithGroupInfo>;
|
|
66
|
+
folderEvent?: DplusGetListDataResponse<TMapFolderEventWithEventInfo>;
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-folder.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-folder.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { TGroupDetail, TGroupDetailInsert, TGroupDetailUpdate } from "../types/types-group/t-group.js";
|
|
2
|
+
import { TGroupImage } from "../types/types-group/t-group-image.js";
|
|
3
|
+
import { TGroupMetadataDetail, TGroupMetadataDetailInsert, TGroupMetadataDetailUpdate } from "../types/types-group/t-group-metadata.js";
|
|
4
|
+
import { TMapGroupEventWithEventInfo, TMapGroupEventWithGroupInfo } from "../types/types-map/t-map-group-event.js";
|
|
5
|
+
import { TMapGroupFolderWithFolderInfo, TMapGroupFolderWithGroupInfo } from "../types/types-map/t-map-group-folder.js";
|
|
6
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
7
|
+
/**
|
|
8
|
+
* Group 상세 응답 타입 For Admin
|
|
9
|
+
*/
|
|
10
|
+
export type ResponseGroupDetailForAdmin = {
|
|
11
|
+
groupDetail: {
|
|
12
|
+
groupInfo: TGroupDetail;
|
|
13
|
+
images?: DplusGetListDataResponse<TGroupImage>;
|
|
14
|
+
metadata: TGroupMetadataDetail;
|
|
15
|
+
};
|
|
16
|
+
mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithGroupInfo>;
|
|
17
|
+
mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithGroupInfo>;
|
|
18
|
+
};
|
|
19
|
+
export type TGroupAdminCreateForm = {
|
|
20
|
+
groupInfo: TGroupDetailInsert;
|
|
21
|
+
metadata: Partial<Omit<TGroupMetadataDetailInsert, "group_code">>;
|
|
22
|
+
files: Record<string, File | null>;
|
|
23
|
+
images: File[];
|
|
24
|
+
};
|
|
25
|
+
export type TGroupAdminUpdateForm = {
|
|
26
|
+
groupInfo: TGroupDetailUpdate;
|
|
27
|
+
metadata: TGroupMetadataDetailUpdate;
|
|
28
|
+
files: Record<string, File | null>;
|
|
29
|
+
images: File[];
|
|
30
|
+
deletedImageKeys: Set<string>;
|
|
31
|
+
deletedImageHashes: Set<string>;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Group 상세 응답 타입 For User Front
|
|
35
|
+
*/
|
|
36
|
+
export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, null> & {
|
|
37
|
+
groupDetail: {
|
|
38
|
+
groupInfo: TGroupDetail;
|
|
39
|
+
images?: DplusGetListDataResponse<TGroupImage>;
|
|
40
|
+
metadata: TGroupMetadataDetail;
|
|
41
|
+
};
|
|
42
|
+
mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithFolderInfo>;
|
|
43
|
+
mapGroupEvent?: DplusGetListDataResponse<TMapGroupEventWithEventInfo>;
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-group.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-group.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TEventCardForDateDetail } from "./dplus-response-date-detail.js";
|
|
2
|
+
/**
|
|
3
|
+
* 주변 날짜 상세 응답 타입 For Admin
|
|
4
|
+
*/
|
|
5
|
+
export type ResponseNearbyDetailForAdmin = {
|
|
6
|
+
nearby: {
|
|
7
|
+
latitude: number;
|
|
8
|
+
longitude: number;
|
|
9
|
+
distance_km: number;
|
|
10
|
+
};
|
|
11
|
+
events: TEventCardForDateDetail[];
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* 주변 날짜 상세 응답 타입 For User Front
|
|
15
|
+
*/
|
|
16
|
+
export type ResponseNearbyDetailForUserFront = {
|
|
17
|
+
nearby: {
|
|
18
|
+
latitude: number;
|
|
19
|
+
longitude: number;
|
|
20
|
+
distance_km: number;
|
|
21
|
+
};
|
|
22
|
+
events: TEventCardForDateDetail[];
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-nearby.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-nearby.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { TMapStagEventWithEventInfo, TMapStagEventWithStagInfo } from "../types/types-map/t-map-stag-event.js";
|
|
2
|
+
import { TMapStagFolderWithFolderInfo, TMapStagFolderWithStagInfo } from "../types/types-map/t-map-stag-folder.js";
|
|
3
|
+
import { TStagDetail, TStagDetailInsert, TStagDetailUpdate } from "../types/types-stag/t-stag.js";
|
|
4
|
+
import { TStagI18n, TStagI18nInsert, TStagI18nUpdate } from "../types/types-stag/t-stag-i18n.js";
|
|
5
|
+
import { TStagImage } from "../types/types-stag/t-stag-image.js";
|
|
6
|
+
import { TStagMetadataDetail, TStagMetadataDetailInsert, TStagMetadataDetailUpdate } from "../types/types-stag/t-stag-metadata.js";
|
|
7
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Stag 상세 응답 타입 For Admin
|
|
10
|
+
*/
|
|
11
|
+
export type ResponseStagDetailForAdmin = {
|
|
12
|
+
stagDetail: {
|
|
13
|
+
stagInfo: TStagDetail;
|
|
14
|
+
images?: DplusGetListDataResponse<TStagImage>;
|
|
15
|
+
i18n?: DplusGetListDataResponse<TStagI18n>;
|
|
16
|
+
metadata: TStagMetadataDetail;
|
|
17
|
+
};
|
|
18
|
+
mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithStagInfo>;
|
|
19
|
+
mapStagEvent?: DplusGetListDataResponse<TMapStagEventWithStagInfo>;
|
|
20
|
+
};
|
|
21
|
+
export type TStagAdminCreateForm = {
|
|
22
|
+
stagInfo: TStagDetailInsert;
|
|
23
|
+
metadata: Partial<Omit<TStagMetadataDetailInsert, "stag_code">>;
|
|
24
|
+
i18n: Partial<Omit<TStagI18nInsert, "stag_code" | "lang_code">>[];
|
|
25
|
+
files: Record<string, File | null>;
|
|
26
|
+
images: File[];
|
|
27
|
+
};
|
|
28
|
+
export type TStagAdminUpdateForm = {
|
|
29
|
+
stagInfo: TStagDetailUpdate;
|
|
30
|
+
metadata: TStagMetadataDetailUpdate;
|
|
31
|
+
i18n: Partial<Omit<TStagI18nUpdate, "stag_code" | "lang_code">>[];
|
|
32
|
+
files: Record<string, File | null>;
|
|
33
|
+
images: File[];
|
|
34
|
+
deletedImageKeys: Set<string>;
|
|
35
|
+
deletedImageHashes: Set<string>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Stag 상세 응답 타입 For User Front
|
|
39
|
+
*/
|
|
40
|
+
export type ResponseStagDetailForUserFront = BaseResponseDetail<null, null> & {
|
|
41
|
+
stagDetail: {
|
|
42
|
+
stagInfo: TStagDetail;
|
|
43
|
+
images?: DplusGetListDataResponse<TStagImage>;
|
|
44
|
+
i18n?: DplusGetListDataResponse<TStagI18n>;
|
|
45
|
+
metadata: TStagMetadataDetail;
|
|
46
|
+
};
|
|
47
|
+
mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithFolderInfo>;
|
|
48
|
+
mapStagEvent?: DplusGetListDataResponse<TMapStagEventWithEventInfo>;
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-stag.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-stag.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TMapTagEventWithEventInfo, TMapTagEventWithTagInfo } from "../types/types-map/t-map-tag-event.js";
|
|
2
|
+
import { TMapTagFolderWithFolderInfo, TMapTagFolderWithTagInfo } from "../types/types-map/t-map-tag-folder.js";
|
|
3
|
+
import { TTag } from "../types/types-tag/t-tag.js";
|
|
4
|
+
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
5
|
+
/**
|
|
6
|
+
* Tag 상세 응답 타입 For Admin
|
|
7
|
+
*/
|
|
8
|
+
export type ResponseTagDetailForAdmin = {
|
|
9
|
+
tag: TTag;
|
|
10
|
+
mapTagFolder?: DplusGetListDataResponse<TMapTagFolderWithTagInfo>;
|
|
11
|
+
mapTagEvent?: DplusGetListDataResponse<TMapTagEventWithTagInfo>;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Tag 상세 응답 타입 For User Front
|
|
15
|
+
*/
|
|
16
|
+
export type ResponseTagDetailForUserFront = BaseResponseDetail<null, null> & {
|
|
17
|
+
tag: TTag;
|
|
18
|
+
mapTagFolder?: DplusGetListDataResponse<TMapTagFolderWithFolderInfo>;
|
|
19
|
+
mapTagEvent?: DplusGetListDataResponse<TMapTagEventWithEventInfo>;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dplus-response-tag.js","sourceRoot":"","sources":["../../src/dplus-types/dplus-response-tag.ts"],"names":[],"mappings":""}
|