@mivis/petmart-api 1.2.192 → 1.2.193

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.192",
3
+ "version": "1.2.193",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -482,12 +482,20 @@ declare namespace Components {
482
482
  export interface ICategory {
483
483
  _id: string;
484
484
  name: string;
485
+ seoInfo?: ICategorySeoInfo;
485
486
  photo: string;
486
487
  slug: string;
487
488
  createdAt: Date;
488
489
  updatedAt: Date;
489
490
  }
490
491
 
492
+ export interface ICategorySeoInfo {
493
+ title?: string;
494
+ desc?: string;
495
+ h1?: string;
496
+ seoText?: string;
497
+ }
498
+
491
499
  export interface IAdminCategoryQueryRequest {
492
500
  name?: string;
493
501
  parsed: string;
@@ -502,6 +510,7 @@ declare namespace Components {
502
510
  title: string;
503
511
  type: string;
504
512
  photo: string;
513
+ seoInfo?: ICategorySeoInfo;
505
514
  slug: string;
506
515
  children: IParsedSubCategory[];
507
516
  }
@@ -518,6 +527,10 @@ declare namespace Components {
518
527
 
519
528
  export interface ICreateCategoryRequest {
520
529
  name: string;
530
+ title?: string;
531
+ desc?: string;
532
+ h1?: string;
533
+ seoText?: string;
521
534
  photo: File;
522
535
  }
523
536