dplus_common_v1 0.2.34 → 0.2.35

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,6 +1,6 @@
1
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";
2
+ import { TCategoryI18n } from "../types/types-category/t-category-i18n.js";
3
+ import { TCategoryMetadataI18nDetail } from "../types/types-category/t-category-metadata-i18n.js";
4
4
  import { TMapCategoryEventWithCategoryInfo, TMapCategoryEventWithEventInfo } from "../types/types-map/t-map-category-event.js";
5
5
  import { TMapCategoryFolderWithCategoryInfo, TMapCategoryFolderWithFolderInfo } from "../types/types-map/t-map-category-folder.js";
6
6
  import { BaseResponseDetail, DplusGetListDataResponse } from "./dplus-response-types.js";
@@ -19,14 +19,10 @@ export type ResponseCategoryDetailForAdmin = {
19
19
  };
20
20
  export type TCategoryAdminCreateForm = {
21
21
  categoryInfo: TCategoryDetailInsert;
22
- metadataI18n: Partial<Omit<TCategoryMetadataI18nDetailInsert, "category_code" | "lang_code">>[];
23
- i18n: Partial<Omit<TCategoryI18nInsert, "category_code" | "lang_code">>[];
24
22
  files: Record<string, File | null>;
25
23
  };
26
24
  export type TCategoryAdminUpdateForm = {
27
25
  categoryInfo: TCategoryDetailUpdate;
28
- metadataI18n: Partial<TCategoryMetadataI18nDetailUpdate>[];
29
- i18n: Partial<TCategoryI18nUpdate>[];
30
26
  files: Record<string, File | null>;
31
27
  deletedImageKeys: Set<string>;
32
28
  };
@@ -1,7 +1,7 @@
1
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";
2
+ import { TCityI18n } from "../types/types-city/t-city-i18n.js";
3
3
  import { TCityImage, TCityImageAdminInput } from "../types/types-city/t-city-image.js";
4
- import { TCityMetadataI18nDetail, TCityMetadataI18nDetailInsert, TCityMetadataI18nDetailUpdate } from "../types/types-city/t-city-metadata-i18n.js";
4
+ import { TCityMetadataI18nDetail } 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";
7
7
  import { TMapCityFolderWithCityInfo, TMapCityFolderWithFolderInfo } from "../types/types-map/t-map-city-folder.js";
@@ -22,16 +22,12 @@ export type ResponseCityDetailForAdmin = {
22
22
  };
23
23
  export type TCityAdminCreateForm = {
24
24
  cityInfo: TCityDetailInsert;
25
- metadataI18n: Partial<Omit<TCityMetadataI18nDetailInsert, "city_code" | "lang_code">>[];
26
- i18n: Partial<Omit<TCityI18nInsert, "city_code" | "lang_code">>[];
27
25
  files: Record<string, File | null>;
28
26
  images: TCityImageAdminInput[];
29
27
  videos: Partial<Omit<TCityYouTubeVideo, "city_code">>[];
30
28
  };
31
29
  export type TCityAdminUpdateForm = {
32
30
  cityInfo: TCityDetailUpdate;
33
- metadataI18n: Partial<TCityMetadataI18nDetailUpdate>[];
34
- i18n: Partial<TCityI18nUpdate>[];
35
31
  files: Record<string, File | null>;
36
32
  images: TCityImageAdminInput[];
37
33
  deletedImageKeys: Set<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.2.34",
3
+ "version": "0.2.35",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"