@snabcentr/client-core 2.65.0 → 2.65.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-core",
3
- "version": "2.65.0",
3
+ "version": "2.65.2",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-core-lib",
6
6
  "license": "Commercial",
@@ -4,7 +4,7 @@ import { ScCategory } from '../catalog/dto/sc-category';
4
4
  /**
5
5
  * Токен потока данных о категории.
6
6
  */
7
- export declare const CATEGORY_INFO: InjectionToken<Observable<ScCategory | null>>;
7
+ export declare const SC_CATEGORY_INFO: InjectionToken<Observable<ScCategory | null>>;
8
8
  /**
9
9
  * Провайдеры потока данных о категории.
10
10
  */
@@ -1,6 +1,7 @@
1
1
  import { Thing, WithContext } from 'schema-dts';
2
2
  import { ScICatalogItem } from '../../catalog/interfaces/sc-i-catalog-item';
3
3
  import { ScICategory } from '../../catalog/interfaces/sc-i-category';
4
+ import { ScIVirtualCategory } from '../../catalog/interfaces/sc-i-virtual-category';
4
5
  import { ScISeo } from '../interfaces/sc-i-seo';
5
6
  import { RobotsTagType } from '../types/robots-tag-type';
6
7
  import * as i0 from "@angular/core";
@@ -88,7 +89,7 @@ export declare class ScSeoService {
88
89
  * @param urlPath Url путь к элементу каталога. В пути должен присутствовать шаблон ':id', обозначающий идентификатор элемента каталога для подстановки.
89
90
  * @param schemaOrgData Данные Schema.org элемента каталога
90
91
  */
91
- setForCategoryItem(item: ScICatalogItem<ScICategory>, urlPath: string, schemaOrgData?: WithContext<Thing>): void;
92
+ setForCategoryItem(item: ScICatalogItem<ScICategory | ScIVirtualCategory>, urlPath: string, schemaOrgData?: WithContext<Thing>): void;
92
93
  /**
93
94
  * Устанавливает все meta-теги страницы. Если какой-либо из параметров не указан, для него устанавливается значение по умолчанию.
94
95
  *