trand_common_v1 0.2.136 → 0.2.137

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.
@@ -78,14 +78,14 @@ export type TCityAdminCreateForm = {
78
78
  cityInfo: TCityDetailInsert;
79
79
  description: TCityDescriptionInsert;
80
80
  files: Record<string, File | null>;
81
- imagesMetadata: TCityImageAdminInput[];
81
+ addedNewImagesMetadata: TCityImageAdminInput[];
82
82
  };
83
83
  export type TCityAdminUpdateForm = {
84
84
  cityInfo: TCityDetailUpdate;
85
85
  description: TCityDescriptionUpdate;
86
86
  files: Record<string, File | null>;
87
- imagesMetadata: TCityImageAdminInput[];
88
- updatedImagesMetadata: Map<string, Partial<TCityImage>>;
87
+ addedNewImagesMetadata: TCityImageAdminInput[];
88
+ existingImagesMetadata: Map<string, Partial<TCityImage>>;
89
89
  deletedThumbnails: Map<string, string>;
90
90
  deletedImages: Map<string, string>;
91
91
  };
@@ -148,7 +148,7 @@ export type TContentAdminCreateForm = {
148
148
  targets: TContentTargetInsert;
149
149
  businessHours: Partial<Omit<TContentBusinessHours, "content_code">>[];
150
150
  files: Record<string, File | null>;
151
- imagesMetadata: TContentImageAdminInput[];
151
+ addedNewImagesMetadata: TContentImageAdminInput[];
152
152
  google_place_id: string | null;
153
153
  trip_advisor_location_id: string | null;
154
154
  };
@@ -162,8 +162,8 @@ export type TContentAdminUpdateForm = {
162
162
  targets: TContentTargetUpdate;
163
163
  businessHours: Partial<Omit<TContentBusinessHours, "content_code">>[];
164
164
  files: Record<string, File | null>;
165
- imagesMetadata: TContentImageAdminInput[];
166
- updatedImagesMetadata: Map<string, Partial<TContentImage>>;
165
+ addedNewImagesMetadata: TContentImageAdminInput[];
166
+ existingImagesMetadata: Map<string, Partial<TContentImage>>;
167
167
  deletedThumbnails: Map<string, string>;
168
168
  deletedImages: Map<string, string>;
169
169
  };
@@ -83,14 +83,14 @@ export type TStagAdminCreateForm = {
83
83
  stagInfo: TStagDetailInsert;
84
84
  description: TStagDescriptionInsert;
85
85
  files: Record<string, File | null>;
86
- imagesMetadata: TStagImageAdminInput[];
86
+ addedNewImagesMetadata: TStagImageAdminInput[];
87
87
  };
88
88
  export type TStagAdminUpdateForm = {
89
89
  stagInfo: TStagDetailUpdate;
90
90
  description: TStagDescriptionUpdate;
91
91
  files: Record<string, File | null>;
92
- imagesMetadata: TStagImageAdminInput[];
93
- updatedImagesMetadata: Map<string, Partial<TStagImage>>;
92
+ addedNewImagesMetadata: TStagImageAdminInput[];
93
+ existingImagesMetadata: Map<string, Partial<TStagImage>>;
94
94
  deletedThumbnails: Map<string, string>;
95
95
  deletedImages: Map<string, string>;
96
96
  };
@@ -91,14 +91,14 @@ export type TStreetAdminCreateForm = {
91
91
  streetInfo: TStreetDetailInsert;
92
92
  description: TStreetDescriptionInsert;
93
93
  files: Record<string, File | null>;
94
- imagesMetadata: TStreetImageAdminInput[];
94
+ addedNewImagesMetadata: TStreetImageAdminInput[];
95
95
  };
96
96
  export type TStreetAdminUpdateForm = {
97
97
  streetInfo: TStreetDetailUpdate;
98
98
  description: TStreetDescriptionUpdate;
99
99
  files: Record<string, File | null>;
100
- imagesMetadata: TStreetImageAdminInput[];
101
- updatedImagesMetadata: Map<string, Partial<TStreetImage>>;
100
+ addedNewImagesMetadata: TStreetImageAdminInput[];
101
+ existingImagesMetadata: Map<string, Partial<TStreetImage>>;
102
102
  deletedThumbnails: Map<string, string>;
103
103
  deletedImages: Map<string, string>;
104
104
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trand_common_v1",
3
- "version": "0.2.136",
3
+ "version": "0.2.137",
4
4
  "description": "Common modules for Trand API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "trand"