@mamindom/contracts 1.0.61 → 1.0.62
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 +36 -10
- package/dist/proto/banner.proto +34 -7
- package/gen/banner.ts +37 -9
- package/package.json +1 -1
- package/proto/banner.proto +34 -7
package/dist/gen/banner.d.ts
CHANGED
|
@@ -62,10 +62,11 @@ export interface BannerSlideResponse {
|
|
|
62
62
|
subtitle: {
|
|
63
63
|
[key: string]: string;
|
|
64
64
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
buttons: BannerSlideButton[];
|
|
66
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
67
|
+
links: BannerSlideLink[];
|
|
68
|
+
linksPosition?: ElementPosition | undefined;
|
|
69
|
+
linksLayout?: string | undefined;
|
|
69
70
|
styling: string;
|
|
70
71
|
sortOrder: number;
|
|
71
72
|
}
|
|
@@ -77,10 +78,6 @@ export interface BannerSlideResponse_SubtitleEntry {
|
|
|
77
78
|
key: string;
|
|
78
79
|
value: string;
|
|
79
80
|
}
|
|
80
|
-
export interface BannerSlideResponse_ButtonTextEntry {
|
|
81
|
-
key: string;
|
|
82
|
-
value: string;
|
|
83
|
-
}
|
|
84
81
|
export interface GetBannersRequest {
|
|
85
82
|
pagination: PaginationRequest | undefined;
|
|
86
83
|
placement?: BannerPlacement | undefined;
|
|
@@ -255,13 +252,42 @@ export interface PublicSlideResponse {
|
|
|
255
252
|
mobileImage?: string | undefined;
|
|
256
253
|
title?: string | undefined;
|
|
257
254
|
subtitle?: string | undefined;
|
|
258
|
-
|
|
259
|
-
|
|
255
|
+
buttons: BannerSlideButton[];
|
|
256
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
257
|
+
links: BannerSlideLink[];
|
|
258
|
+
linksPosition?: ElementPosition | undefined;
|
|
259
|
+
linksLayout?: string | undefined;
|
|
260
260
|
styling: string;
|
|
261
261
|
}
|
|
262
262
|
export interface GetBannersByPlacementResponse {
|
|
263
263
|
items: PublicBannerResponse[];
|
|
264
264
|
}
|
|
265
|
+
export interface ElementPosition {
|
|
266
|
+
vertical: string;
|
|
267
|
+
horizontal: string;
|
|
268
|
+
}
|
|
269
|
+
export interface BannerSlideButton {
|
|
270
|
+
text: {
|
|
271
|
+
[key: string]: string;
|
|
272
|
+
};
|
|
273
|
+
href: string;
|
|
274
|
+
variant?: string | undefined;
|
|
275
|
+
}
|
|
276
|
+
export interface BannerSlideButton_TextEntry {
|
|
277
|
+
key: string;
|
|
278
|
+
value: string;
|
|
279
|
+
}
|
|
280
|
+
export interface BannerSlideLink {
|
|
281
|
+
text: {
|
|
282
|
+
[key: string]: string;
|
|
283
|
+
};
|
|
284
|
+
href: string;
|
|
285
|
+
categoryId?: string | undefined;
|
|
286
|
+
}
|
|
287
|
+
export interface BannerSlideLink_TextEntry {
|
|
288
|
+
key: string;
|
|
289
|
+
value: string;
|
|
290
|
+
}
|
|
265
291
|
export declare const CONTENT_V1_PACKAGE_NAME = "content.v1";
|
|
266
292
|
export interface BannerServiceClient {
|
|
267
293
|
getBanners(request: GetBannersRequest): Observable<GetBannersResponse>;
|
package/dist/proto/banner.proto
CHANGED
|
@@ -70,10 +70,15 @@ message BannerSlideResponse {
|
|
|
70
70
|
optional string mobile_image_id = 5;
|
|
71
71
|
map<string, string> title = 6;
|
|
72
72
|
map<string, string> subtitle = 7;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
|
|
74
|
+
repeated BannerSlideButton buttons = 8;
|
|
75
|
+
optional ElementPosition buttons_position = 9;
|
|
76
|
+
repeated BannerSlideLink links = 10;
|
|
77
|
+
optional ElementPosition links_position = 11;
|
|
78
|
+
optional string links_layout = 12;
|
|
79
|
+
|
|
80
|
+
string styling = 13;
|
|
81
|
+
int32 sort_order = 14;
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
|
|
@@ -200,11 +205,33 @@ message PublicSlideResponse {
|
|
|
200
205
|
optional string mobile_image = 2;
|
|
201
206
|
optional string title = 3;
|
|
202
207
|
optional string subtitle = 4;
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
208
|
+
|
|
209
|
+
repeated BannerSlideButton buttons = 5;
|
|
210
|
+
optional ElementPosition buttons_position = 6;
|
|
211
|
+
repeated BannerSlideLink links = 7;
|
|
212
|
+
optional ElementPosition links_position = 8;
|
|
213
|
+
optional string links_layout = 9;
|
|
214
|
+
|
|
215
|
+
string styling = 10;
|
|
206
216
|
}
|
|
207
217
|
|
|
208
218
|
message GetBannersByPlacementResponse {
|
|
209
219
|
repeated PublicBannerResponse items = 1;
|
|
210
220
|
}
|
|
221
|
+
|
|
222
|
+
message ElementPosition {
|
|
223
|
+
string vertical = 1;
|
|
224
|
+
string horizontal = 2;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
message BannerSlideButton {
|
|
228
|
+
map<string, string> text = 1;
|
|
229
|
+
string href = 2;
|
|
230
|
+
optional string variant = 3;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
message BannerSlideLink {
|
|
234
|
+
map<string, string> text = 1;
|
|
235
|
+
string href = 2;
|
|
236
|
+
optional string category_id = 3;
|
|
237
|
+
}
|
package/gen/banner.ts
CHANGED
|
@@ -69,8 +69,11 @@ export interface BannerSlideResponse {
|
|
|
69
69
|
mobileImageId?: string | undefined;
|
|
70
70
|
title: { [key: string]: string };
|
|
71
71
|
subtitle: { [key: string]: string };
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
buttons: BannerSlideButton[];
|
|
73
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
74
|
+
links: BannerSlideLink[];
|
|
75
|
+
linksPosition?: ElementPosition | undefined;
|
|
76
|
+
linksLayout?: string | undefined;
|
|
74
77
|
styling: string;
|
|
75
78
|
sortOrder: number;
|
|
76
79
|
}
|
|
@@ -85,11 +88,6 @@ export interface BannerSlideResponse_SubtitleEntry {
|
|
|
85
88
|
value: string;
|
|
86
89
|
}
|
|
87
90
|
|
|
88
|
-
export interface BannerSlideResponse_ButtonTextEntry {
|
|
89
|
-
key: string;
|
|
90
|
-
value: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
91
|
export interface GetBannersRequest {
|
|
94
92
|
pagination: PaginationRequest | undefined;
|
|
95
93
|
placement?: BannerPlacement | undefined;
|
|
@@ -267,8 +265,11 @@ export interface PublicSlideResponse {
|
|
|
267
265
|
mobileImage?: string | undefined;
|
|
268
266
|
title?: string | undefined;
|
|
269
267
|
subtitle?: string | undefined;
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
buttons: BannerSlideButton[];
|
|
269
|
+
buttonsPosition?: ElementPosition | undefined;
|
|
270
|
+
links: BannerSlideLink[];
|
|
271
|
+
linksPosition?: ElementPosition | undefined;
|
|
272
|
+
linksLayout?: string | undefined;
|
|
272
273
|
styling: string;
|
|
273
274
|
}
|
|
274
275
|
|
|
@@ -276,6 +277,33 @@ export interface GetBannersByPlacementResponse {
|
|
|
276
277
|
items: PublicBannerResponse[];
|
|
277
278
|
}
|
|
278
279
|
|
|
280
|
+
export interface ElementPosition {
|
|
281
|
+
vertical: string;
|
|
282
|
+
horizontal: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface BannerSlideButton {
|
|
286
|
+
text: { [key: string]: string };
|
|
287
|
+
href: string;
|
|
288
|
+
variant?: string | undefined;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export interface BannerSlideButton_TextEntry {
|
|
292
|
+
key: string;
|
|
293
|
+
value: string;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export interface BannerSlideLink {
|
|
297
|
+
text: { [key: string]: string };
|
|
298
|
+
href: string;
|
|
299
|
+
categoryId?: string | undefined;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface BannerSlideLink_TextEntry {
|
|
303
|
+
key: string;
|
|
304
|
+
value: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
279
307
|
export const CONTENT_V1_PACKAGE_NAME = "content.v1";
|
|
280
308
|
|
|
281
309
|
export interface BannerServiceClient {
|
package/package.json
CHANGED
package/proto/banner.proto
CHANGED
|
@@ -70,10 +70,15 @@ message BannerSlideResponse {
|
|
|
70
70
|
optional string mobile_image_id = 5;
|
|
71
71
|
map<string, string> title = 6;
|
|
72
72
|
map<string, string> subtitle = 7;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
|
|
74
|
+
repeated BannerSlideButton buttons = 8;
|
|
75
|
+
optional ElementPosition buttons_position = 9;
|
|
76
|
+
repeated BannerSlideLink links = 10;
|
|
77
|
+
optional ElementPosition links_position = 11;
|
|
78
|
+
optional string links_layout = 12;
|
|
79
|
+
|
|
80
|
+
string styling = 13;
|
|
81
|
+
int32 sort_order = 14;
|
|
77
82
|
}
|
|
78
83
|
|
|
79
84
|
|
|
@@ -200,11 +205,33 @@ message PublicSlideResponse {
|
|
|
200
205
|
optional string mobile_image = 2;
|
|
201
206
|
optional string title = 3;
|
|
202
207
|
optional string subtitle = 4;
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
208
|
+
|
|
209
|
+
repeated BannerSlideButton buttons = 5;
|
|
210
|
+
optional ElementPosition buttons_position = 6;
|
|
211
|
+
repeated BannerSlideLink links = 7;
|
|
212
|
+
optional ElementPosition links_position = 8;
|
|
213
|
+
optional string links_layout = 9;
|
|
214
|
+
|
|
215
|
+
string styling = 10;
|
|
206
216
|
}
|
|
207
217
|
|
|
208
218
|
message GetBannersByPlacementResponse {
|
|
209
219
|
repeated PublicBannerResponse items = 1;
|
|
210
220
|
}
|
|
221
|
+
|
|
222
|
+
message ElementPosition {
|
|
223
|
+
string vertical = 1;
|
|
224
|
+
string horizontal = 2;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
message BannerSlideButton {
|
|
228
|
+
map<string, string> text = 1;
|
|
229
|
+
string href = 2;
|
|
230
|
+
optional string variant = 3;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
message BannerSlideLink {
|
|
234
|
+
map<string, string> text = 1;
|
|
235
|
+
string href = 2;
|
|
236
|
+
optional string category_id = 3;
|
|
237
|
+
}
|