@mamindom/contracts 1.0.62 → 1.0.64
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/gen/banner.d.ts +27 -26
- package/dist/proto/banner.proto +45 -14
- package/gen/banner.ts +29 -23
- package/package.json +1 -1
- package/proto/banner.proto +45 -14
package/dist/gen/banner.d.ts
CHANGED
|
@@ -144,10 +144,11 @@ export interface CreateBannerSlidePayload {
|
|
|
144
144
|
subtitle: {
|
|
145
145
|
[key: string]: string;
|
|
146
146
|
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
buttons: BannerSlideButton[];
|
|
148
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
149
|
+
links: BannerSlideLink[];
|
|
150
|
+
linksPosition?: ElementPosition | undefined;
|
|
151
|
+
linksLayout?: string | undefined;
|
|
151
152
|
styling: string;
|
|
152
153
|
sortOrder: number;
|
|
153
154
|
}
|
|
@@ -159,10 +160,6 @@ export interface CreateBannerSlidePayload_SubtitleEntry {
|
|
|
159
160
|
key: string;
|
|
160
161
|
value: string;
|
|
161
162
|
}
|
|
162
|
-
export interface CreateBannerSlidePayload_ButtonTextEntry {
|
|
163
|
-
key: string;
|
|
164
|
-
value: string;
|
|
165
|
-
}
|
|
166
163
|
export interface CreateBannerSlideRequest {
|
|
167
164
|
bannerId: string;
|
|
168
165
|
image: string;
|
|
@@ -175,10 +172,11 @@ export interface CreateBannerSlideRequest {
|
|
|
175
172
|
subtitle: {
|
|
176
173
|
[key: string]: string;
|
|
177
174
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
175
|
+
buttons: BannerSlideButton[];
|
|
176
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
177
|
+
links: BannerSlideLink[];
|
|
178
|
+
linksPosition?: ElementPosition | undefined;
|
|
179
|
+
linksLayout?: string | undefined;
|
|
182
180
|
styling: string;
|
|
183
181
|
sortOrder: number;
|
|
184
182
|
}
|
|
@@ -190,10 +188,6 @@ export interface CreateBannerSlideRequest_SubtitleEntry {
|
|
|
190
188
|
key: string;
|
|
191
189
|
value: string;
|
|
192
190
|
}
|
|
193
|
-
export interface CreateBannerSlideRequest_ButtonTextEntry {
|
|
194
|
-
key: string;
|
|
195
|
-
value: string;
|
|
196
|
-
}
|
|
197
191
|
export interface UpdateBannerSlideRequest {
|
|
198
192
|
id: string;
|
|
199
193
|
image?: string | undefined;
|
|
@@ -206,10 +200,11 @@ export interface UpdateBannerSlideRequest {
|
|
|
206
200
|
subtitle: {
|
|
207
201
|
[key: string]: string;
|
|
208
202
|
};
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
203
|
+
buttons: BannerSlideButton[];
|
|
204
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
205
|
+
links: BannerSlideLink[];
|
|
206
|
+
linksPosition?: ElementPosition | undefined;
|
|
207
|
+
linksLayout?: string | undefined;
|
|
213
208
|
styling?: string | undefined;
|
|
214
209
|
sortOrder?: number | undefined;
|
|
215
210
|
}
|
|
@@ -221,10 +216,6 @@ export interface UpdateBannerSlideRequest_SubtitleEntry {
|
|
|
221
216
|
key: string;
|
|
222
217
|
value: string;
|
|
223
218
|
}
|
|
224
|
-
export interface UpdateBannerSlideRequest_ButtonTextEntry {
|
|
225
|
-
key: string;
|
|
226
|
-
value: string;
|
|
227
|
-
}
|
|
228
219
|
export interface DeleteBannerSlideRequest {
|
|
229
220
|
id: string;
|
|
230
221
|
}
|
|
@@ -252,9 +243,9 @@ export interface PublicSlideResponse {
|
|
|
252
243
|
mobileImage?: string | undefined;
|
|
253
244
|
title?: string | undefined;
|
|
254
245
|
subtitle?: string | undefined;
|
|
255
|
-
buttons:
|
|
246
|
+
buttons: PublicBannerSlideButton[];
|
|
256
247
|
buttonsPosition?: ElementPosition | undefined;
|
|
257
|
-
links:
|
|
248
|
+
links: PublicBannerSlideLink[];
|
|
258
249
|
linksPosition?: ElementPosition | undefined;
|
|
259
250
|
linksLayout?: string | undefined;
|
|
260
251
|
styling: string;
|
|
@@ -288,6 +279,16 @@ export interface BannerSlideLink_TextEntry {
|
|
|
288
279
|
key: string;
|
|
289
280
|
value: string;
|
|
290
281
|
}
|
|
282
|
+
export interface PublicBannerSlideButton {
|
|
283
|
+
text: string;
|
|
284
|
+
href: string;
|
|
285
|
+
variant?: string | undefined;
|
|
286
|
+
}
|
|
287
|
+
export interface PublicBannerSlideLink {
|
|
288
|
+
text: string;
|
|
289
|
+
href: string;
|
|
290
|
+
categoryId?: string | undefined;
|
|
291
|
+
}
|
|
291
292
|
export declare const CONTENT_V1_PACKAGE_NAME = "content.v1";
|
|
292
293
|
export interface BannerServiceClient {
|
|
293
294
|
getBanners(request: GetBannersRequest): Observable<GetBannersResponse>;
|
package/dist/proto/banner.proto
CHANGED
|
@@ -138,10 +138,16 @@ message CreateBannerSlidePayload {
|
|
|
138
138
|
optional string mobile_image_id = 4;
|
|
139
139
|
map<string, string> title = 5;
|
|
140
140
|
map<string, string> subtitle = 6;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
repeated BannerSlideButton buttons = 7;
|
|
144
|
+
optional ElementPosition buttons_position = 8;
|
|
145
|
+
repeated BannerSlideLink links = 9;
|
|
146
|
+
optional ElementPosition links_position = 10;
|
|
147
|
+
optional string links_layout = 11;
|
|
148
|
+
|
|
149
|
+
string styling = 12;
|
|
150
|
+
int32 sort_order = 13;
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
message CreateBannerSlideRequest {
|
|
@@ -152,10 +158,16 @@ message CreateBannerSlideRequest {
|
|
|
152
158
|
optional string mobile_image_id = 5;
|
|
153
159
|
map<string, string> title = 6;
|
|
154
160
|
map<string, string> subtitle = 7;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
repeated BannerSlideButton buttons = 8;
|
|
164
|
+
optional ElementPosition buttons_position = 9;
|
|
165
|
+
repeated BannerSlideLink links = 10;
|
|
166
|
+
optional ElementPosition links_position = 11;
|
|
167
|
+
optional string links_layout = 12;
|
|
168
|
+
|
|
169
|
+
string styling = 13;
|
|
170
|
+
int32 sort_order = 14;
|
|
159
171
|
}
|
|
160
172
|
|
|
161
173
|
message UpdateBannerSlideRequest {
|
|
@@ -166,10 +178,16 @@ message UpdateBannerSlideRequest {
|
|
|
166
178
|
optional string mobile_image_id = 5;
|
|
167
179
|
map<string, string> title = 6;
|
|
168
180
|
map<string, string> subtitle = 7;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
optional
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
repeated BannerSlideButton buttons = 8;
|
|
184
|
+
optional ElementPosition buttons_position = 9;
|
|
185
|
+
repeated BannerSlideLink links = 10;
|
|
186
|
+
optional ElementPosition links_position = 11;
|
|
187
|
+
optional string links_layout = 12;
|
|
188
|
+
|
|
189
|
+
optional string styling = 13;
|
|
190
|
+
optional int32 sort_order = 14;
|
|
173
191
|
}
|
|
174
192
|
|
|
175
193
|
message DeleteBannerSlideRequest {
|
|
@@ -206,9 +224,10 @@ message PublicSlideResponse {
|
|
|
206
224
|
optional string title = 3;
|
|
207
225
|
optional string subtitle = 4;
|
|
208
226
|
|
|
209
|
-
|
|
227
|
+
|
|
228
|
+
repeated PublicBannerSlideButton buttons = 5;
|
|
210
229
|
optional ElementPosition buttons_position = 6;
|
|
211
|
-
repeated
|
|
230
|
+
repeated PublicBannerSlideLink links = 7;
|
|
212
231
|
optional ElementPosition links_position = 8;
|
|
213
232
|
optional string links_layout = 9;
|
|
214
233
|
|
|
@@ -234,4 +253,16 @@ message BannerSlideLink {
|
|
|
234
253
|
map<string, string> text = 1;
|
|
235
254
|
string href = 2;
|
|
236
255
|
optional string category_id = 3;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
message PublicBannerSlideButton {
|
|
259
|
+
string text = 1;
|
|
260
|
+
string href = 2;
|
|
261
|
+
optional string variant = 3;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
message PublicBannerSlideLink {
|
|
265
|
+
string text = 1;
|
|
266
|
+
string href = 2;
|
|
267
|
+
optional string category_id = 3;
|
|
237
268
|
}
|
package/gen/banner.ts
CHANGED
|
@@ -154,8 +154,11 @@ export interface CreateBannerSlidePayload {
|
|
|
154
154
|
mobileImageId?: string | undefined;
|
|
155
155
|
title: { [key: string]: string };
|
|
156
156
|
subtitle: { [key: string]: string };
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
buttons: BannerSlideButton[];
|
|
158
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
159
|
+
links: BannerSlideLink[];
|
|
160
|
+
linksPosition?: ElementPosition | undefined;
|
|
161
|
+
linksLayout?: string | undefined;
|
|
159
162
|
styling: string;
|
|
160
163
|
sortOrder: number;
|
|
161
164
|
}
|
|
@@ -170,11 +173,6 @@ export interface CreateBannerSlidePayload_SubtitleEntry {
|
|
|
170
173
|
value: string;
|
|
171
174
|
}
|
|
172
175
|
|
|
173
|
-
export interface CreateBannerSlidePayload_ButtonTextEntry {
|
|
174
|
-
key: string;
|
|
175
|
-
value: string;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
176
|
export interface CreateBannerSlideRequest {
|
|
179
177
|
bannerId: string;
|
|
180
178
|
image: string;
|
|
@@ -183,8 +181,11 @@ export interface CreateBannerSlideRequest {
|
|
|
183
181
|
mobileImageId?: string | undefined;
|
|
184
182
|
title: { [key: string]: string };
|
|
185
183
|
subtitle: { [key: string]: string };
|
|
186
|
-
|
|
187
|
-
|
|
184
|
+
buttons: BannerSlideButton[];
|
|
185
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
186
|
+
links: BannerSlideLink[];
|
|
187
|
+
linksPosition?: ElementPosition | undefined;
|
|
188
|
+
linksLayout?: string | undefined;
|
|
188
189
|
styling: string;
|
|
189
190
|
sortOrder: number;
|
|
190
191
|
}
|
|
@@ -199,11 +200,6 @@ export interface CreateBannerSlideRequest_SubtitleEntry {
|
|
|
199
200
|
value: string;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
|
-
export interface CreateBannerSlideRequest_ButtonTextEntry {
|
|
203
|
-
key: string;
|
|
204
|
-
value: string;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
203
|
export interface UpdateBannerSlideRequest {
|
|
208
204
|
id: string;
|
|
209
205
|
image?: string | undefined;
|
|
@@ -212,8 +208,11 @@ export interface UpdateBannerSlideRequest {
|
|
|
212
208
|
mobileImageId?: string | undefined;
|
|
213
209
|
title: { [key: string]: string };
|
|
214
210
|
subtitle: { [key: string]: string };
|
|
215
|
-
|
|
216
|
-
|
|
211
|
+
buttons: BannerSlideButton[];
|
|
212
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
213
|
+
links: BannerSlideLink[];
|
|
214
|
+
linksPosition?: ElementPosition | undefined;
|
|
215
|
+
linksLayout?: string | undefined;
|
|
217
216
|
styling?: string | undefined;
|
|
218
217
|
sortOrder?: number | undefined;
|
|
219
218
|
}
|
|
@@ -228,11 +227,6 @@ export interface UpdateBannerSlideRequest_SubtitleEntry {
|
|
|
228
227
|
value: string;
|
|
229
228
|
}
|
|
230
229
|
|
|
231
|
-
export interface UpdateBannerSlideRequest_ButtonTextEntry {
|
|
232
|
-
key: string;
|
|
233
|
-
value: string;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
230
|
export interface DeleteBannerSlideRequest {
|
|
237
231
|
id: string;
|
|
238
232
|
}
|
|
@@ -265,9 +259,9 @@ export interface PublicSlideResponse {
|
|
|
265
259
|
mobileImage?: string | undefined;
|
|
266
260
|
title?: string | undefined;
|
|
267
261
|
subtitle?: string | undefined;
|
|
268
|
-
buttons:
|
|
262
|
+
buttons: PublicBannerSlideButton[];
|
|
269
263
|
buttonsPosition?: ElementPosition | undefined;
|
|
270
|
-
links:
|
|
264
|
+
links: PublicBannerSlideLink[];
|
|
271
265
|
linksPosition?: ElementPosition | undefined;
|
|
272
266
|
linksLayout?: string | undefined;
|
|
273
267
|
styling: string;
|
|
@@ -304,6 +298,18 @@ export interface BannerSlideLink_TextEntry {
|
|
|
304
298
|
value: string;
|
|
305
299
|
}
|
|
306
300
|
|
|
301
|
+
export interface PublicBannerSlideButton {
|
|
302
|
+
text: string;
|
|
303
|
+
href: string;
|
|
304
|
+
variant?: string | undefined;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export interface PublicBannerSlideLink {
|
|
308
|
+
text: string;
|
|
309
|
+
href: string;
|
|
310
|
+
categoryId?: string | undefined;
|
|
311
|
+
}
|
|
312
|
+
|
|
307
313
|
export const CONTENT_V1_PACKAGE_NAME = "content.v1";
|
|
308
314
|
|
|
309
315
|
export interface BannerServiceClient {
|
package/package.json
CHANGED
package/proto/banner.proto
CHANGED
|
@@ -138,10 +138,16 @@ message CreateBannerSlidePayload {
|
|
|
138
138
|
optional string mobile_image_id = 4;
|
|
139
139
|
map<string, string> title = 5;
|
|
140
140
|
map<string, string> subtitle = 6;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
repeated BannerSlideButton buttons = 7;
|
|
144
|
+
optional ElementPosition buttons_position = 8;
|
|
145
|
+
repeated BannerSlideLink links = 9;
|
|
146
|
+
optional ElementPosition links_position = 10;
|
|
147
|
+
optional string links_layout = 11;
|
|
148
|
+
|
|
149
|
+
string styling = 12;
|
|
150
|
+
int32 sort_order = 13;
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
message CreateBannerSlideRequest {
|
|
@@ -152,10 +158,16 @@ message CreateBannerSlideRequest {
|
|
|
152
158
|
optional string mobile_image_id = 5;
|
|
153
159
|
map<string, string> title = 6;
|
|
154
160
|
map<string, string> subtitle = 7;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
repeated BannerSlideButton buttons = 8;
|
|
164
|
+
optional ElementPosition buttons_position = 9;
|
|
165
|
+
repeated BannerSlideLink links = 10;
|
|
166
|
+
optional ElementPosition links_position = 11;
|
|
167
|
+
optional string links_layout = 12;
|
|
168
|
+
|
|
169
|
+
string styling = 13;
|
|
170
|
+
int32 sort_order = 14;
|
|
159
171
|
}
|
|
160
172
|
|
|
161
173
|
message UpdateBannerSlideRequest {
|
|
@@ -166,10 +178,16 @@ message UpdateBannerSlideRequest {
|
|
|
166
178
|
optional string mobile_image_id = 5;
|
|
167
179
|
map<string, string> title = 6;
|
|
168
180
|
map<string, string> subtitle = 7;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
optional
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
repeated BannerSlideButton buttons = 8;
|
|
184
|
+
optional ElementPosition buttons_position = 9;
|
|
185
|
+
repeated BannerSlideLink links = 10;
|
|
186
|
+
optional ElementPosition links_position = 11;
|
|
187
|
+
optional string links_layout = 12;
|
|
188
|
+
|
|
189
|
+
optional string styling = 13;
|
|
190
|
+
optional int32 sort_order = 14;
|
|
173
191
|
}
|
|
174
192
|
|
|
175
193
|
message DeleteBannerSlideRequest {
|
|
@@ -206,9 +224,10 @@ message PublicSlideResponse {
|
|
|
206
224
|
optional string title = 3;
|
|
207
225
|
optional string subtitle = 4;
|
|
208
226
|
|
|
209
|
-
|
|
227
|
+
|
|
228
|
+
repeated PublicBannerSlideButton buttons = 5;
|
|
210
229
|
optional ElementPosition buttons_position = 6;
|
|
211
|
-
repeated
|
|
230
|
+
repeated PublicBannerSlideLink links = 7;
|
|
212
231
|
optional ElementPosition links_position = 8;
|
|
213
232
|
optional string links_layout = 9;
|
|
214
233
|
|
|
@@ -234,4 +253,16 @@ message BannerSlideLink {
|
|
|
234
253
|
map<string, string> text = 1;
|
|
235
254
|
string href = 2;
|
|
236
255
|
optional string category_id = 3;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
message PublicBannerSlideButton {
|
|
259
|
+
string text = 1;
|
|
260
|
+
string href = 2;
|
|
261
|
+
optional string variant = 3;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
message PublicBannerSlideLink {
|
|
265
|
+
string text = 1;
|
|
266
|
+
string href = 2;
|
|
267
|
+
optional string category_id = 3;
|
|
237
268
|
}
|