@mamindom/contracts 1.0.63 → 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.
@@ -243,9 +243,9 @@ export interface PublicSlideResponse {
243
243
  mobileImage?: string | undefined;
244
244
  title?: string | undefined;
245
245
  subtitle?: string | undefined;
246
- buttons: BannerSlideButton[];
246
+ buttons: PublicBannerSlideButton[];
247
247
  buttonsPosition?: ElementPosition | undefined;
248
- links: BannerSlideLink[];
248
+ links: PublicBannerSlideLink[];
249
249
  linksPosition?: ElementPosition | undefined;
250
250
  linksLayout?: string | undefined;
251
251
  styling: string;
@@ -279,6 +279,16 @@ export interface BannerSlideLink_TextEntry {
279
279
  key: string;
280
280
  value: string;
281
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
+ }
282
292
  export declare const CONTENT_V1_PACKAGE_NAME = "content.v1";
283
293
  export interface BannerServiceClient {
284
294
  getBanners(request: GetBannersRequest): Observable<GetBannersResponse>;
@@ -224,9 +224,10 @@ message PublicSlideResponse {
224
224
  optional string title = 3;
225
225
  optional string subtitle = 4;
226
226
 
227
- repeated BannerSlideButton buttons = 5;
227
+
228
+ repeated PublicBannerSlideButton buttons = 5;
228
229
  optional ElementPosition buttons_position = 6;
229
- repeated BannerSlideLink links = 7;
230
+ repeated PublicBannerSlideLink links = 7;
230
231
  optional ElementPosition links_position = 8;
231
232
  optional string links_layout = 9;
232
233
 
@@ -252,4 +253,16 @@ message BannerSlideLink {
252
253
  map<string, string> text = 1;
253
254
  string href = 2;
254
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;
255
268
  }
package/gen/banner.ts CHANGED
@@ -259,9 +259,9 @@ export interface PublicSlideResponse {
259
259
  mobileImage?: string | undefined;
260
260
  title?: string | undefined;
261
261
  subtitle?: string | undefined;
262
- buttons: BannerSlideButton[];
262
+ buttons: PublicBannerSlideButton[];
263
263
  buttonsPosition?: ElementPosition | undefined;
264
- links: BannerSlideLink[];
264
+ links: PublicBannerSlideLink[];
265
265
  linksPosition?: ElementPosition | undefined;
266
266
  linksLayout?: string | undefined;
267
267
  styling: string;
@@ -298,6 +298,18 @@ export interface BannerSlideLink_TextEntry {
298
298
  value: string;
299
299
  }
300
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
+
301
313
  export const CONTENT_V1_PACKAGE_NAME = "content.v1";
302
314
 
303
315
  export interface BannerServiceClient {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.63",
4
+ "version": "1.0.64",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -224,9 +224,10 @@ message PublicSlideResponse {
224
224
  optional string title = 3;
225
225
  optional string subtitle = 4;
226
226
 
227
- repeated BannerSlideButton buttons = 5;
227
+
228
+ repeated PublicBannerSlideButton buttons = 5;
228
229
  optional ElementPosition buttons_position = 6;
229
- repeated BannerSlideLink links = 7;
230
+ repeated PublicBannerSlideLink links = 7;
230
231
  optional ElementPosition links_position = 8;
231
232
  optional string links_layout = 9;
232
233
 
@@ -252,4 +253,16 @@ message BannerSlideLink {
252
253
  map<string, string> text = 1;
253
254
  string href = 2;
254
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;
255
268
  }