dplus_common_v1 0.2.24 → 0.2.25

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.
@@ -61,7 +61,7 @@ export type ResponseFolderDetailForAdmin = BaseResponseDetail<TFolderImage, null
61
61
  };
62
62
  description: TFolderDescription;
63
63
  metadata: TFolderMetadataDetail;
64
- images: TFolderImage[];
64
+ images: DplusGetListDataResponse<TFolderImage>;
65
65
  };
66
66
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
67
67
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
@@ -97,7 +97,7 @@ export type ResponseFolderDetailForUserFront = BaseResponseDetail<TFolderImage,
97
97
  };
98
98
  description: TFolderDescription;
99
99
  metadata: TFolderMetadataDetail;
100
- images: TFolderImage[];
100
+ images: DplusGetListDataResponse<TFolderImage>;
101
101
  };
102
102
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithCityInfo>;
103
103
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithCategoryInfo>;
@@ -117,7 +117,7 @@ export type ResponseEventDetailForAdmin = BaseResponseDetail<TEventImage, null>
117
117
  };
118
118
  description: TEventDescription | null;
119
119
  metadata: TEventMetadataDetail | null;
120
- images: TEventImage[];
120
+ images: DplusGetListDataResponse<TEventImage>;
121
121
  };
122
122
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
123
123
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
@@ -154,7 +154,7 @@ export type ResponseEventDetailForUserFront = BaseResponseDetail<TEventImage, nu
154
154
  };
155
155
  description: TEventDescription;
156
156
  metadata: TEventMetadataDetail;
157
- images: TEventImage[];
157
+ images: DplusGetListDataResponse<TEventImage>;
158
158
  };
159
159
  mapFolderEvent?: DplusGetListDataResponse<TMapFolderEventWithFolderInfo>;
160
160
  mapCityEvent?: DplusGetListDataResponse<TMapCityEventWithCityInfo>;
@@ -183,7 +183,7 @@ export type ResponseCountryDetailForAdmin = {
183
183
  export type ResponseCountryDetailForUserFront = {
184
184
  countryDetail: {
185
185
  countryInfo: TCountryDetail;
186
- metadataI18n: TCountryMetadataI18nDetail[];
186
+ metadataI18n: DplusGetListDataResponse<TCountryMetadataI18nDetail>;
187
187
  };
188
188
  cities: DplusGetListDataResponse<TCityInfoForCountryDetail>;
189
189
  categories: DplusGetListDataResponse<TCategoryInfoForCountryDetail>;
@@ -197,7 +197,7 @@ export type ResponseCountryDetailForUserFront = {
197
197
  export type ResponseCityDetailForAdmin = {
198
198
  cityDetail: {
199
199
  cityInfo: TCityDetail;
200
- images?: TCityImage[];
200
+ images?: DplusGetListDataResponse<TCityImage>;
201
201
  metadataI18n?: DplusGetListDataResponse<TCityMetadataI18nDetail>;
202
202
  i18n?: DplusGetListDataResponse<TCityI18n>;
203
203
  videos?: TCityYouTubeVideo[];
@@ -230,9 +230,9 @@ export type TCityAdminUpdateForm = {
230
230
  export type ResponseCityDetailForUserFront = BaseResponseDetail<TCityImage, TCityMetadataI18nDetail> & {
231
231
  cityDetail: {
232
232
  cityInfo: TCityDetail;
233
- images?: TCityImage[];
234
- metadataI18n?: TCityMetadataI18nDetail[];
235
- i18n?: TCityI18n[];
233
+ images?: DplusGetListDataResponse<TCityImage>;
234
+ metadataI18n?: DplusGetListDataResponse<TCityMetadataI18nDetail>;
235
+ i18n?: DplusGetListDataResponse<TCityI18n>;
236
236
  videos?: TCityYouTubeVideo[];
237
237
  };
238
238
  mapCityFolder?: DplusGetListDataResponse<TMapCityFolderWithFolderInfo>;
@@ -270,9 +270,9 @@ export type TCategoryAdminUpdateForm = {
270
270
  export type ResponseCategoryDetailForUserFront = BaseResponseDetail<null, TCategoryMetadataI18nDetail> & {
271
271
  categoryDetail: {
272
272
  categoryInfo: TCategoryDetail;
273
- metadataI18n?: TCategoryMetadataI18nDetail[];
273
+ metadataI18n?: DplusGetListDataResponse<TCategoryMetadataI18nDetail>;
274
274
  subCategories?: TCategoryDetail[];
275
- i18n?: TCategoryI18n[];
275
+ i18n?: DplusGetListDataResponse<TCategoryI18n>;
276
276
  };
277
277
  mapCategoryFolder?: DplusGetListDataResponse<TMapCategoryFolderWithFolderInfo>;
278
278
  mapCategoryEvent?: DplusGetListDataResponse<TMapCategoryEventWithEventInfo>;
@@ -283,7 +283,7 @@ export type ResponseCategoryDetailForUserFront = BaseResponseDetail<null, TCateg
283
283
  export type ResponseStagDetailForAdmin = {
284
284
  stagDetail: {
285
285
  stagInfo: TStagDetail;
286
- images?: TStagImage[];
286
+ images?: DplusGetListDataResponse<TStagImage>;
287
287
  i18n?: DplusGetListDataResponse<TStagI18n>;
288
288
  metadata: TStagMetadataDetail;
289
289
  };
@@ -300,7 +300,7 @@ export type TStagAdminCreateForm = {
300
300
  export type TStagAdminUpdateForm = {
301
301
  stagInfo: TStagDetailUpdate;
302
302
  metadata: TStagMetadataDetailUpdate;
303
- i18n: Partial<TStagI18nUpdate>[];
303
+ i18n: Partial<Omit<TStagI18nUpdate, "stag_code" | "lang_code">>[];
304
304
  files: Record<string, File | null>;
305
305
  images: File[];
306
306
  deletedImageKeys: Set<string>;
@@ -312,8 +312,8 @@ export type TStagAdminUpdateForm = {
312
312
  export type ResponseStagDetailForUserFront = BaseResponseDetail<null, null> & {
313
313
  stagDetail: {
314
314
  stagInfo: TStagDetail;
315
- images?: TStagImage[];
316
- i18n?: TStagI18n[];
315
+ images?: DplusGetListDataResponse<TStagImage>;
316
+ i18n?: DplusGetListDataResponse<TStagI18n>;
317
317
  metadata: TStagMetadataDetail;
318
318
  };
319
319
  mapStagFolder?: DplusGetListDataResponse<TMapStagFolderWithFolderInfo>;
@@ -341,7 +341,7 @@ export type ResponseTagDetailForUserFront = BaseResponseDetail<null, null> & {
341
341
  export type ResponseGroupDetailForAdmin = {
342
342
  groupDetail: {
343
343
  groupInfo: TGroupDetail;
344
- images?: TGroupImage[];
344
+ images?: DplusGetListDataResponse<TGroupImage>;
345
345
  metadata: TGroupMetadataDetail;
346
346
  };
347
347
  mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithGroupInfo>;
@@ -367,7 +367,7 @@ export type TGroupAdminUpdateForm = {
367
367
  export type ResponseGroupDetailForUserFront = BaseResponseDetail<TGroupImage, null> & {
368
368
  groupDetail: {
369
369
  groupInfo: TGroupDetail;
370
- images?: TGroupImage[];
370
+ images?: DplusGetListDataResponse<TGroupImage>;
371
371
  metadata: TGroupMetadataDetail;
372
372
  };
373
373
  mapGroupFolder?: DplusGetListDataResponse<TMapGroupFolderWithFolderInfo>;
@@ -446,12 +446,6 @@ export type ResponseMetadataForUserFront = {
446
446
  event_code?: string | null;
447
447
  group_code?: string | null;
448
448
  lang_code: string;
449
- metadata_title: string | null;
450
- metadata_description: string | null;
451
- metadata_keywords: string | null;
452
- metadata_og_title: string | null;
453
- metadata_og_description: string | null;
454
- metadata_og_image: string | null;
455
449
  metadata_i18n_title: string | null;
456
450
  metadata_i18n_description: string | null;
457
451
  metadata_i18n_og_title: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.2.24",
3
+ "version": "0.2.25",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"