mdz-enum 1.5.91 → 1.5.93

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.
@@ -161,6 +161,18 @@ declare const APPEARANCE_PAGES: {
161
161
  KEY: string;
162
162
  DEFAULT: string;
163
163
  };
164
+ PRODUCT_PAGE_ATTRIBUTES_TITLE: {
165
+ KEY: string;
166
+ DEFAULT: string;
167
+ };
168
+ PRODUCT_PAGE_RELATED_TITLE: {
169
+ KEY: string;
170
+ DEFAULT: string;
171
+ };
172
+ PRODUCT_PAGE_DESCRIPTION_TITLE: {
173
+ KEY: string;
174
+ DEFAULT: string;
175
+ };
164
176
  BLOCKS_IDS: {
165
177
  DETAILS: number;
166
178
  DESCRIPTION: number;
@@ -169,7 +181,18 @@ declare const APPEARANCE_PAGES: {
169
181
  BANNERS: number;
170
182
  ATTRIBUTES: number;
171
183
  };
172
- BLOCKS: {
184
+ BLOCKS: ({
185
+ id: number;
186
+ name: string;
187
+ icon: {
188
+ type: string;
189
+ size: number;
190
+ };
191
+ enabled: boolean;
192
+ immutable: boolean;
193
+ badge: null;
194
+ configurable?: undefined;
195
+ } | {
173
196
  id: number;
174
197
  name: string;
175
198
  icon: {
@@ -178,8 +201,23 @@ declare const APPEARANCE_PAGES: {
178
201
  };
179
202
  enabled: boolean;
180
203
  immutable: boolean;
204
+ configurable: boolean;
181
205
  badge: null;
182
- }[];
206
+ } | {
207
+ id: number;
208
+ name: string;
209
+ icon: {
210
+ type: string;
211
+ size: number;
212
+ };
213
+ enabled: boolean;
214
+ immutable: boolean;
215
+ configurable: boolean;
216
+ badge: {
217
+ color: string;
218
+ text: string;
219
+ };
220
+ })[];
183
221
  };
184
222
  };
185
223
  /**
@@ -172,6 +172,18 @@ declare const PRODUCT_PAGE: {
172
172
  KEY: string;
173
173
  DEFAULT: string;
174
174
  };
175
+ PRODUCT_PAGE_ATTRIBUTES_TITLE: {
176
+ KEY: string;
177
+ DEFAULT: string;
178
+ };
179
+ PRODUCT_PAGE_RELATED_TITLE: {
180
+ KEY: string;
181
+ DEFAULT: string;
182
+ };
183
+ PRODUCT_PAGE_DESCRIPTION_TITLE: {
184
+ KEY: string;
185
+ DEFAULT: string;
186
+ };
175
187
  BLOCKS_IDS: {
176
188
  DETAILS: number;
177
189
  DESCRIPTION: number;
@@ -180,7 +192,18 @@ declare const PRODUCT_PAGE: {
180
192
  BANNERS: number;
181
193
  ATTRIBUTES: number;
182
194
  };
183
- BLOCKS: {
195
+ BLOCKS: ({
196
+ id: number;
197
+ name: string;
198
+ icon: {
199
+ type: string;
200
+ size: number;
201
+ };
202
+ enabled: boolean;
203
+ immutable: boolean;
204
+ badge: null;
205
+ configurable?: undefined;
206
+ } | {
184
207
  id: number;
185
208
  name: string;
186
209
  icon: {
@@ -189,7 +212,22 @@ declare const PRODUCT_PAGE: {
189
212
  };
190
213
  enabled: boolean;
191
214
  immutable: boolean;
215
+ configurable: boolean;
192
216
  badge: null;
193
- }[];
217
+ } | {
218
+ id: number;
219
+ name: string;
220
+ icon: {
221
+ type: string;
222
+ size: number;
223
+ };
224
+ enabled: boolean;
225
+ immutable: boolean;
226
+ configurable: boolean;
227
+ badge: {
228
+ color: string;
229
+ text: string;
230
+ };
231
+ })[];
194
232
  };
195
233
  export { HOME_PAGE, PRODUCT_PAGE };
@@ -312,6 +312,18 @@ const PRODUCT_PAGE = {
312
312
  KEY: 'product_page_blocks',
313
313
  DEFAULT: '1,2,3,4,5',
314
314
  },
315
+ PRODUCT_PAGE_ATTRIBUTES_TITLE: {
316
+ KEY: 'product_page_attributes_title',
317
+ DEFAULT: 'Atributos do Produto',
318
+ },
319
+ PRODUCT_PAGE_RELATED_TITLE: {
320
+ KEY: 'product_page_related_title',
321
+ DEFAULT: 'Produtos Relacionados',
322
+ },
323
+ PRODUCT_PAGE_DESCRIPTION_TITLE: {
324
+ KEY: 'product_page_description_title',
325
+ DEFAULT: 'Descrição do Produto',
326
+ },
315
327
  BLOCKS_IDS: {
316
328
  DETAILS: 1,
317
329
  DESCRIPTION: 2,
@@ -341,6 +353,7 @@ const PRODUCT_PAGE = {
341
353
  },
342
354
  enabled: true,
343
355
  immutable: false,
356
+ configurable: true,
344
357
  badge: null,
345
358
  },
346
359
  {
@@ -363,6 +376,7 @@ const PRODUCT_PAGE = {
363
376
  },
364
377
  enabled: true,
365
378
  immutable: false,
379
+ configurable: true,
366
380
  badge: null,
367
381
  },
368
382
  // {
@@ -388,7 +402,11 @@ const PRODUCT_PAGE = {
388
402
  },
389
403
  enabled: true,
390
404
  immutable: false,
391
- badge: null,
405
+ configurable: true,
406
+ badge: {
407
+ color: 'success',
408
+ text: 'Novo',
409
+ },
392
410
  },
393
411
  ],
394
412
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.5.91",
3
+ "version": "1.5.93",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {