dplus_common_v1 0.2.26 → 0.2.28
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-city.d.ts +3 -3
- package/dist/dplus-types/dplus-response-event.d.ts +3 -3
- package/dist/dplus-types/dplus-response-folder.d.ts +3 -3
- package/dist/dplus-types/dplus-response-group.d.ts +3 -3
- package/dist/dplus-types/dplus-response-stag.d.ts +3 -3
- package/dist/types/types-city/t-city-image.d.ts +6 -4
- package/dist/types/types-event/t-event-image.d.ts +2 -0
- package/dist/types/types-folder/t-folder-image.d.ts +2 -0
- package/dist/types/types-group/t-group-image.d.ts +2 -0
- package/dist/types/types-stag/t-stag-image.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TCityDetail, TCityDetailInsert, TCityDetailUpdate } from "../types/types-city/t-city.js";
|
|
2
2
|
import { TCityI18n, TCityI18nInsert, TCityI18nUpdate } from "../types/types-city/t-city-i18n.js";
|
|
3
|
-
import { TCityImage } from "../types/types-city/t-city-image.js";
|
|
3
|
+
import { TCityImage, TCityImageAdminInput } from "../types/types-city/t-city-image.js";
|
|
4
4
|
import { TCityMetadataI18nDetail, TCityMetadataI18nDetailInsert, TCityMetadataI18nDetailUpdate } from "../types/types-city/t-city-metadata-i18n.js";
|
|
5
5
|
import { TCityYouTubeVideo } from "../types/types-city/t-city-youtube-video.js";
|
|
6
6
|
import { TMapCityEventWithCityInfo, TMapCityEventWithEventInfo } from "../types/types-map/t-map-city-event.js";
|
|
@@ -25,7 +25,7 @@ export type TCityAdminCreateForm = {
|
|
|
25
25
|
metadataI18n: Partial<Omit<TCityMetadataI18nDetailInsert, "city_code" | "lang_code">>[];
|
|
26
26
|
i18n: Partial<Omit<TCityI18nInsert, "city_code" | "lang_code">>[];
|
|
27
27
|
files: Record<string, File | null>;
|
|
28
|
-
images:
|
|
28
|
+
images: TCityImageAdminInput[];
|
|
29
29
|
videos: Partial<Omit<TCityYouTubeVideo, "city_code">>[];
|
|
30
30
|
};
|
|
31
31
|
export type TCityAdminUpdateForm = {
|
|
@@ -33,7 +33,7 @@ export type TCityAdminUpdateForm = {
|
|
|
33
33
|
metadataI18n: Partial<TCityMetadataI18nDetailUpdate>[];
|
|
34
34
|
i18n: Partial<TCityI18nUpdate>[];
|
|
35
35
|
files: Record<string, File | null>;
|
|
36
|
-
images:
|
|
36
|
+
images: TCityImageAdminInput[];
|
|
37
37
|
deletedImageKeys: Set<string>;
|
|
38
38
|
deletedImageHashes: Set<string>;
|
|
39
39
|
videos: Partial<TCityYouTubeVideo>[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TEventDetail, TEventDetailInsert, TEventDetailUpdate } from "../types/types-event/t-event.js";
|
|
2
2
|
import { TEventDescription, TEventDescriptionInsert, TEventDescriptionUpdate } from "../types/types-event/t-event-description.js";
|
|
3
|
-
import { TEventImage } from "../types/types-event/t-event-image.js";
|
|
3
|
+
import { TEventImage, TEventImageAdminInput } from "../types/types-event/t-event-image.js";
|
|
4
4
|
import { TEventMetadataDetail, TEventMetadataDetailInsert, TEventMetadataDetailUpdate } from "../types/types-event/t-event-metadata.js";
|
|
5
5
|
import { TMapCategoryEventWithCategoryInfo } from "../types/types-map/t-map-category-event.js";
|
|
6
6
|
import { TMapCityEventWithCityInfo } from "../types/types-map/t-map-city-event.js";
|
|
@@ -34,7 +34,7 @@ export type TEventAdminCreateForm = {
|
|
|
34
34
|
description: Partial<Omit<TEventDescriptionInsert, "event_code">>;
|
|
35
35
|
metadata: Partial<Omit<TEventMetadataDetailInsert, "event_code">>;
|
|
36
36
|
files: Record<string, File | null>;
|
|
37
|
-
images:
|
|
37
|
+
images: TEventImageAdminInput[];
|
|
38
38
|
categories: string[];
|
|
39
39
|
};
|
|
40
40
|
export type TEventAdminUpdateForm = {
|
|
@@ -42,7 +42,7 @@ export type TEventAdminUpdateForm = {
|
|
|
42
42
|
description: TEventDescriptionUpdate;
|
|
43
43
|
metadata: TEventMetadataDetailUpdate;
|
|
44
44
|
files: Record<string, File | null>;
|
|
45
|
-
images:
|
|
45
|
+
images: TEventImageAdminInput[];
|
|
46
46
|
deletedImageKeys: Set<string>;
|
|
47
47
|
deletedImageHashes: Set<string>;
|
|
48
48
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TFolderDetail, TFolderDetailInsert, TFolderDetailUpdate } from "../types/types-folder/t-folder.js";
|
|
2
2
|
import { TFolderDescription, TFolderDescriptionInsert, TFolderDescriptionUpdate } from "../types/types-folder/t-folder-description.js";
|
|
3
|
-
import { TFolderImage } from "../types/types-folder/t-folder-image.js";
|
|
3
|
+
import { TFolderImage, TFolderImageAdminInput } from "../types/types-folder/t-folder-image.js";
|
|
4
4
|
import { TFolderMetadataDetail, TFolderMetadataDetailInsert, TFolderMetadataDetailUpdate } from "../types/types-folder/t-folder-metadata.js";
|
|
5
5
|
import { TMapCategoryFolderWithCategoryInfo } from "../types/types-map/t-map-category-folder.js";
|
|
6
6
|
import { TMapCityFolderWithCityInfo } from "../types/types-map/t-map-city-folder.js";
|
|
@@ -34,14 +34,14 @@ export type TFolderAdminCreateForm = {
|
|
|
34
34
|
description: Partial<Omit<TFolderDescriptionInsert, "folder_code">>;
|
|
35
35
|
metadata: Partial<Omit<TFolderMetadataDetailInsert, "folder_code">>;
|
|
36
36
|
files: Record<string, File | null>;
|
|
37
|
-
images:
|
|
37
|
+
images: TFolderImageAdminInput[];
|
|
38
38
|
};
|
|
39
39
|
export type TFolderAdminUpdateForm = {
|
|
40
40
|
folderInfo: TFolderDetailUpdate;
|
|
41
41
|
description: TFolderDescriptionUpdate;
|
|
42
42
|
metadata: TFolderMetadataDetailUpdate;
|
|
43
43
|
files: Record<string, File | null>;
|
|
44
|
-
images:
|
|
44
|
+
images: TFolderImageAdminInput[];
|
|
45
45
|
deletedImageKeys: Set<string>;
|
|
46
46
|
deletedImageHashes: Set<string>;
|
|
47
47
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TGroupDetail, TGroupDetailInsert, TGroupDetailUpdate } from "../types/types-group/t-group.js";
|
|
2
|
-
import { TGroupImage } from "../types/types-group/t-group-image.js";
|
|
2
|
+
import { TGroupImage, TGroupImageAdminInput } from "../types/types-group/t-group-image.js";
|
|
3
3
|
import { TGroupMetadataDetail, TGroupMetadataDetailInsert, TGroupMetadataDetailUpdate } from "../types/types-group/t-group-metadata.js";
|
|
4
4
|
import { TMapGroupEventWithEventInfo, TMapGroupEventWithGroupInfo } from "../types/types-map/t-map-group-event.js";
|
|
5
5
|
import { TMapGroupFolderWithFolderInfo, TMapGroupFolderWithGroupInfo } from "../types/types-map/t-map-group-folder.js";
|
|
@@ -20,13 +20,13 @@ export type TGroupAdminCreateForm = {
|
|
|
20
20
|
groupInfo: TGroupDetailInsert;
|
|
21
21
|
metadata: Partial<Omit<TGroupMetadataDetailInsert, "group_code">>;
|
|
22
22
|
files: Record<string, File | null>;
|
|
23
|
-
images:
|
|
23
|
+
images: TGroupImageAdminInput[];
|
|
24
24
|
};
|
|
25
25
|
export type TGroupAdminUpdateForm = {
|
|
26
26
|
groupInfo: TGroupDetailUpdate;
|
|
27
27
|
metadata: TGroupMetadataDetailUpdate;
|
|
28
28
|
files: Record<string, File | null>;
|
|
29
|
-
images:
|
|
29
|
+
images: TGroupImageAdminInput[];
|
|
30
30
|
deletedImageKeys: Set<string>;
|
|
31
31
|
deletedImageHashes: Set<string>;
|
|
32
32
|
};
|
|
@@ -2,7 +2,7 @@ import { TMapStagEventWithEventInfo, TMapStagEventWithStagInfo } from "../types/
|
|
|
2
2
|
import { TMapStagFolderWithFolderInfo, TMapStagFolderWithStagInfo } from "../types/types-map/t-map-stag-folder.js";
|
|
3
3
|
import { TStagDetail, TStagDetailInsert, TStagDetailUpdate } from "../types/types-stag/t-stag.js";
|
|
4
4
|
import { TStagI18n, TStagI18nInsert, TStagI18nUpdate } from "../types/types-stag/t-stag-i18n.js";
|
|
5
|
-
import { TStagImage } from "../types/types-stag/t-stag-image.js";
|
|
5
|
+
import { TStagImage, TStagImageAdminInput } from "../types/types-stag/t-stag-image.js";
|
|
6
6
|
import { TStagMetadataDetail, TStagMetadataDetailInsert, TStagMetadataDetailUpdate } from "../types/types-stag/t-stag-metadata.js";
|
|
7
7
|
import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
|
|
8
8
|
/**
|
|
@@ -23,14 +23,14 @@ export type TStagAdminCreateForm = {
|
|
|
23
23
|
metadata: Partial<Omit<TStagMetadataDetailInsert, "stag_code">>;
|
|
24
24
|
i18n: Partial<Omit<TStagI18nInsert, "stag_code" | "lang_code">>[];
|
|
25
25
|
files: Record<string, File | null>;
|
|
26
|
-
images:
|
|
26
|
+
images: TStagImageAdminInput[];
|
|
27
27
|
};
|
|
28
28
|
export type TStagAdminUpdateForm = {
|
|
29
29
|
stagInfo: TStagDetailUpdate;
|
|
30
30
|
metadata: TStagMetadataDetailUpdate;
|
|
31
31
|
i18n: Partial<Omit<TStagI18nUpdate, "stag_code" | "lang_code">>[];
|
|
32
32
|
files: Record<string, File | null>;
|
|
33
|
-
images:
|
|
33
|
+
images: TStagImageAdminInput[];
|
|
34
34
|
deletedImageKeys: Set<string>;
|
|
35
35
|
deletedImageHashes: Set<string>;
|
|
36
36
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type TCityImageAdminInput = {
|
|
2
|
+
city_code?: string;
|
|
3
|
+
hash_code?: string;
|
|
2
4
|
file: File | null;
|
|
3
5
|
label: string | null;
|
|
4
6
|
src_name: string | null;
|
|
@@ -26,17 +28,17 @@ export type TCityImageInsert = {
|
|
|
26
28
|
url: string;
|
|
27
29
|
label?: string | null;
|
|
28
30
|
order_num?: number;
|
|
29
|
-
src_thumbnail?: string | null;
|
|
30
31
|
src_name?: string | null;
|
|
32
|
+
src_platform?: string | null;
|
|
33
|
+
src_unique_id?: string | null;
|
|
31
34
|
src_url?: string | null;
|
|
32
|
-
src_reference?: string | null;
|
|
33
35
|
};
|
|
34
36
|
export type TCityImageUpdate = {
|
|
35
37
|
label?: string | null;
|
|
36
38
|
order_num?: number;
|
|
37
39
|
url?: string;
|
|
38
|
-
src_thumbnail?: string | null;
|
|
39
40
|
src_name?: string | null;
|
|
41
|
+
src_platform?: string | null;
|
|
42
|
+
src_unique_id?: string | null;
|
|
40
43
|
src_url?: string | null;
|
|
41
|
-
src_reference?: string | null;
|
|
42
44
|
};
|