@snabcentr/common-lib 1.37.2 → 1.40.0
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/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-common-lib.js +673 -493
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/catalog/classes/category-pricing-role.d.ts +28 -0
- package/dist/src/catalog/classes/category-pricing-role.d.ts.map +1 -0
- package/dist/src/catalog/classes/index.d.ts +3 -1
- package/dist/src/catalog/classes/index.d.ts.map +1 -1
- package/dist/src/catalog/classes/pricing-role.d.ts +26 -0
- package/dist/src/catalog/classes/pricing-role.d.ts.map +1 -0
- package/dist/src/catalog/classes/{price-coefficient.d.ts → product-price-coefficient.d.ts} +7 -7
- package/dist/src/catalog/classes/product-price-coefficient.d.ts.map +1 -0
- package/dist/src/catalog/classes/product.d.ts +2 -2
- package/dist/src/catalog/classes/product.d.ts.map +1 -1
- package/dist/src/catalog/classes/property-type.d.ts +3 -2
- package/dist/src/catalog/classes/property-type.d.ts.map +1 -1
- package/dist/src/catalog/enums/index.d.ts +2 -0
- package/dist/src/catalog/enums/index.d.ts.map +1 -1
- package/dist/src/catalog/enums/price-coefficient-enum.d.ts +26 -0
- package/dist/src/catalog/enums/price-coefficient-enum.d.ts.map +1 -0
- package/dist/src/catalog/enums/property-type-enum.d.ts +38 -0
- package/dist/src/catalog/enums/property-type-enum.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-category-pricing-role-update-data.d.ts +31 -0
- package/dist/src/catalog/interfaces/i-category-pricing-role-update-data.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-category-pricing-role.d.ts +21 -0
- package/dist/src/catalog/interfaces/i-category-pricing-role.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-pricing-role-create-data.d.ts +19 -0
- package/dist/src/catalog/interfaces/i-pricing-role-create-data.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-pricing-role.d.ts +8 -0
- package/dist/src/catalog/interfaces/i-pricing-role.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/{i-price-coefficient.d.ts → i-product-price-coefficient.d.ts} +4 -4
- package/dist/src/catalog/interfaces/i-product-price-coefficient.d.ts.map +1 -0
- package/dist/src/catalog/interfaces/i-product.d.ts +2 -2
- package/dist/src/catalog/interfaces/i-product.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-property-type.d.ts +3 -2
- package/dist/src/catalog/interfaces/i-property-type.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/index.d.ts +5 -1
- package/dist/src/catalog/interfaces/index.d.ts.map +1 -1
- package/dist/src/catalog/providers/catalog-provider.d.ts +10 -0
- package/dist/src/catalog/providers/catalog-provider.d.ts.map +1 -1
- package/dist/src/catalog/providers/index.d.ts +1 -0
- package/dist/src/catalog/providers/index.d.ts.map +1 -1
- package/dist/src/catalog/providers/pricing-role-provider.d.ts +67 -0
- package/dist/src/catalog/providers/pricing-role-provider.d.ts.map +1 -0
- package/dist/src/catalog/providers/product-category-data-provider.d.ts +2 -2
- package/dist/src/catalog/providers/product-category-data-provider.d.ts.map +1 -1
- package/dist/src/catalog/providers/product-data-provider.d.ts +2 -2
- package/dist/src/catalog/providers/product-data-provider.d.ts.map +1 -1
- package/dist/src/catalog/providers/properties-provider.d.ts +2 -2
- package/dist/src/references/classes/opf.d.ts +2 -1
- package/dist/src/references/classes/opf.d.ts.map +1 -1
- package/dist/src/references/classes/price-coefficient.d.ts +9 -0
- package/dist/src/references/classes/price-coefficient.d.ts.map +1 -0
- package/dist/src/references/interfaces/i-price-coefficient.d.ts +8 -0
- package/dist/src/references/interfaces/i-price-coefficient.d.ts.map +1 -0
- package/dist/src/references/interfaces/index.d.ts +1 -0
- package/dist/src/references/interfaces/index.d.ts.map +1 -1
- package/dist/src/references/providers/reference-data-provider.d.ts +10 -0
- package/dist/src/references/providers/reference-data-provider.d.ts.map +1 -1
- package/dist/src/states/references-store.d.ts +27 -1
- package/dist/src/states/references-store.d.ts.map +1 -1
- package/dist/src/system/classes/reference.d.ts +2 -2
- package/dist/src/system/classes/reference.d.ts.map +1 -1
- package/dist/src/system/interfaces/i-reference.d.ts +2 -2
- package/dist/src/system/interfaces/i-reference.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/catalog/classes/price-coefficient.d.ts.map +0 -1
- package/dist/src/catalog/interfaces/i-price-coefficient.d.ts.map +0 -1
|
@@ -152,7 +152,7 @@ export declare class PropertiesProvider extends BasePaginationProvider {
|
|
|
152
152
|
*
|
|
153
153
|
* @param productId Идентификатор продукта.
|
|
154
154
|
* @param fileId Идентификатор файла.
|
|
155
|
-
* @see /doc/api/internal#/operations/
|
|
155
|
+
* @see /doc/api/internal#/operations/api_internal_catalog_products_slug_save
|
|
156
156
|
*/
|
|
157
157
|
deleteProductFile(productId: number, fileId: number): Promise<void>;
|
|
158
158
|
/**
|
|
@@ -276,7 +276,7 @@ export declare class PropertiesProvider extends BasePaginationProvider {
|
|
|
276
276
|
*
|
|
277
277
|
* @param categoryId Идентификатор категории.
|
|
278
278
|
* @param slug Новый URL-slug.
|
|
279
|
-
* @see /doc/api/internal#/operations/
|
|
279
|
+
* @see /doc/api/internal#/operations/api_internal_catalog_categories_slug_save
|
|
280
280
|
*/
|
|
281
281
|
updateCategorySlug(categoryId: number, slug: string): Promise<void>;
|
|
282
282
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { OpfEnum } from '../../clients/enums/opf-enum';
|
|
1
2
|
import { IOpf } from '../interfaces/i-opf';
|
|
2
3
|
import { Reference } from '../../system/classes/reference';
|
|
3
4
|
/**
|
|
4
5
|
* Данные об организационно-правовой форме.
|
|
5
6
|
*/
|
|
6
|
-
export declare class Opf extends Reference<IOpf> implements IOpf {
|
|
7
|
+
export declare class Opf extends Reference<IOpf, OpfEnum> implements IOpf {
|
|
7
8
|
/**
|
|
8
9
|
* Возвращает сгенерированную запись-описание физического лица.
|
|
9
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opf.d.ts","sourceRoot":"","sources":["../../../../src/references/classes/opf.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"opf.d.ts","sourceRoot":"","sources":["../../../../src/references/classes/opf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD;;GAEG;AACH,qBAAa,GAAI,SAAQ,SAAS,CAAC,IAAI,EAAE,OAAO,CAAE,YAAW,IAAI;IAC7D;;OAEG;WACW,kBAAkB,IAAI,IAAI;CAQ3C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PriceCoefficientEnum } from '../../catalog/enums/price-coefficient-enum';
|
|
2
|
+
import { IPriceCoefficient } from '../interfaces/i-price-coefficient';
|
|
3
|
+
import { Reference } from '../../system/classes/reference';
|
|
4
|
+
/**
|
|
5
|
+
* Данные о коэффициенте цены.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PriceCoefficient extends Reference<IPriceCoefficient, PriceCoefficientEnum> implements IPriceCoefficient {
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=price-coefficient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"price-coefficient.d.ts","sourceRoot":"","sources":["../../../../src/references/classes/price-coefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,SAAS,CAAC,iBAAiB,EAAE,oBAAoB,CAAE,YAAW,iBAAiB;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PriceCoefficientEnum } from '../../catalog/enums/price-coefficient-enum';
|
|
2
|
+
import { IReference } from '../../system/interfaces/i-reference';
|
|
3
|
+
/**
|
|
4
|
+
* Данные о коэффициенте цены.
|
|
5
|
+
*/
|
|
6
|
+
export interface IPriceCoefficient extends IReference<PriceCoefficientEnum> {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=i-price-coefficient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-price-coefficient.d.ts","sourceRoot":"","sources":["../../../../src/references/interfaces/i-price-coefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,UAAU,CAAC,oBAAoB,CAAC;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/references/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/references/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IPropertyType } from '../../catalog/interfaces/i-property-type';
|
|
1
2
|
import { HttpRequester } from '../../http/classes/http-requester';
|
|
2
3
|
import { IChannelPrimaryInterest } from '../interfaces/i-channel-primary-interest';
|
|
3
4
|
import { ICityWithRegionAndCountry } from '../interfaces/i-city-with-region-and-country';
|
|
@@ -10,6 +11,7 @@ import { IOrderPaymentStatus } from '../interfaces/i-order-payment-status';
|
|
|
10
11
|
import { IOrderStatus } from '../interfaces/i-order-status';
|
|
11
12
|
import { IPartnerGroup } from '../interfaces/i-partner-group';
|
|
12
13
|
import { IPaymentType } from '../interfaces/i-payment-type';
|
|
14
|
+
import { IPriceCoefficient } from '../interfaces/i-price-coefficient';
|
|
13
15
|
import { IRegion } from '../interfaces/i-region';
|
|
14
16
|
import { IResourceType } from '../interfaces/i-resource-type';
|
|
15
17
|
import { ISalesDirection } from '../interfaces/i-sales-direction';
|
|
@@ -100,5 +102,13 @@ export declare class ReferenceDataProvider extends HttpRequester {
|
|
|
100
102
|
* Возвращает {@link Promise} для получения справочника складов.
|
|
101
103
|
*/
|
|
102
104
|
getWarehouses(): Promise<IWarehouse[]>;
|
|
105
|
+
/**
|
|
106
|
+
* Возвращает {@link Promise} для получения справочника типов свойств.
|
|
107
|
+
*/
|
|
108
|
+
getPropertyTypes(): Promise<IPropertyType[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Возвращает {@link Promise} для получения справочника коэффициентов цен.
|
|
111
|
+
*/
|
|
112
|
+
getPriceCoefficients(): Promise<IPriceCoefficient[]>;
|
|
103
113
|
}
|
|
104
114
|
//# sourceMappingURL=reference-data-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference-data-provider.d.ts","sourceRoot":"","sources":["../../../../src/references/providers/reference-data-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reference-data-provider.d.ts","sourceRoot":"","sources":["../../../../src/references/providers/reference-data-provider.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IPropertyType } from '../catalog/interfaces/i-property-type';
|
|
1
2
|
import { IManager } from '../managers/interfaces/i-manager';
|
|
2
3
|
import { IChannelPrimaryInterest } from '../references/interfaces/i-channel-primary-interest';
|
|
3
4
|
import { IContactPosition } from '../references/interfaces/i-contact-position';
|
|
@@ -8,6 +9,7 @@ import { IOrderPaymentStatus } from '../references/interfaces/i-order-payment-st
|
|
|
8
9
|
import { IOrderStatus } from '../references/interfaces/i-order-status';
|
|
9
10
|
import { IPartnerGroup } from '../references/interfaces/i-partner-group';
|
|
10
11
|
import { IPaymentType } from '../references/interfaces/i-payment-type';
|
|
12
|
+
import { IPriceCoefficient } from '../references/interfaces/i-price-coefficient';
|
|
11
13
|
import { IResourceType } from '../references/interfaces/i-resource-type';
|
|
12
14
|
import { ISalesDirection } from '../references/interfaces/i-sales-direction';
|
|
13
15
|
import { ISourcePrimaryInterest } from '../references/interfaces/i-source-primary-interest';
|
|
@@ -72,6 +74,14 @@ export declare const useReferencesStore: import('pinia').StoreDefinition<"refere
|
|
|
72
74
|
* Справочник складов.
|
|
73
75
|
*/
|
|
74
76
|
warehousesReference: import('vue').ComputedRef<IWarehouse[] | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Справочник типов свойств.
|
|
79
|
+
*/
|
|
80
|
+
propertyTypesReference: import('vue').ComputedRef<IPropertyType[] | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* Справочник коэффициентов цен.
|
|
83
|
+
*/
|
|
84
|
+
priceCoefficientsReference: import('vue').ComputedRef<IPriceCoefficient[] | undefined>;
|
|
75
85
|
}, never>, Pick<{
|
|
76
86
|
/**
|
|
77
87
|
* Справочник каналов первичного интереса.
|
|
@@ -129,7 +139,15 @@ export declare const useReferencesStore: import('pinia').StoreDefinition<"refere
|
|
|
129
139
|
* Справочник складов.
|
|
130
140
|
*/
|
|
131
141
|
warehousesReference: import('vue').ComputedRef<IWarehouse[] | undefined>;
|
|
132
|
-
|
|
142
|
+
/**
|
|
143
|
+
* Справочник типов свойств.
|
|
144
|
+
*/
|
|
145
|
+
propertyTypesReference: import('vue').ComputedRef<IPropertyType[] | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* Справочник коэффициентов цен.
|
|
148
|
+
*/
|
|
149
|
+
priceCoefficientsReference: import('vue').ComputedRef<IPriceCoefficient[] | undefined>;
|
|
150
|
+
}, "contactPositionsReference" | "currencyReference" | "deliveryTypeReference" | "managersList" | "opfReference" | "orderPaymentStatusReference" | "orderStatusReference" | "paymentTypeReference" | "resourceTypesReference" | "salesDirectionsReference" | "warehousesReference" | "propertyTypesReference" | "priceCoefficientsReference" | "channelPrimaryInterestsReference" | "partnerGroupsReference" | "sourcePrimaryInterestsReference">, Pick<{
|
|
133
151
|
/**
|
|
134
152
|
* Справочник каналов первичного интереса.
|
|
135
153
|
*/
|
|
@@ -186,5 +204,13 @@ export declare const useReferencesStore: import('pinia').StoreDefinition<"refere
|
|
|
186
204
|
* Справочник складов.
|
|
187
205
|
*/
|
|
188
206
|
warehousesReference: import('vue').ComputedRef<IWarehouse[] | undefined>;
|
|
207
|
+
/**
|
|
208
|
+
* Справочник типов свойств.
|
|
209
|
+
*/
|
|
210
|
+
propertyTypesReference: import('vue').ComputedRef<IPropertyType[] | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* Справочник коэффициентов цен.
|
|
213
|
+
*/
|
|
214
|
+
priceCoefficientsReference: import('vue').ComputedRef<IPriceCoefficient[] | undefined>;
|
|
189
215
|
}, never>>;
|
|
190
216
|
//# sourceMappingURL=references-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references-store.d.ts","sourceRoot":"","sources":["../../../src/states/references-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"references-store.d.ts","sourceRoot":"","sources":["../../../src/states/references-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAuLnE;;GAEG;AACH,eAAO,MAAM,kBAAkB;IAkUvB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;IA7EH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;IA7EH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;UAGT,CAAC"}
|
|
@@ -3,11 +3,11 @@ import { IReference } from '../interfaces/i-reference';
|
|
|
3
3
|
/**
|
|
4
4
|
* DTO-объект записи данных из справочника.
|
|
5
5
|
*/
|
|
6
|
-
export declare class Reference<T extends IReference> extends NamedIdentity implements IReference {
|
|
6
|
+
export declare class Reference<T extends IReference, S extends string = string> extends NamedIdentity implements IReference<S> {
|
|
7
7
|
/**
|
|
8
8
|
* Краткое название.
|
|
9
9
|
*/
|
|
10
|
-
slug?:
|
|
10
|
+
slug?: S;
|
|
11
11
|
/**
|
|
12
12
|
* Описание.
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../../src/system/classes/reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D;;GAEG;AACH,qBAAa,SAAS,CAAC,CAAC,SAAS,UAAU,CAAE,SAAQ,aAAc,YAAW,UAAU;
|
|
1
|
+
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../../src/system/classes/reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D;;GAEG;AACH,qBAAa,SAAS,CAAC,CAAC,SAAS,UAAU,EAAE,CAAC,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,aAAc,YAAW,UAAU,CAAC,CAAC,CAAC;IAClH;;OAEG;IACI,IAAI,CAAC,EAAE,CAAC,CAAC;IAEhB;;OAEG;IACI,WAAW,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;CAMvC"}
|
|
@@ -2,11 +2,11 @@ import { INamedIdentity } from './i-named-identity';
|
|
|
2
2
|
/**
|
|
3
3
|
* Данные записи из справочника.
|
|
4
4
|
*/
|
|
5
|
-
export interface IReference extends INamedIdentity {
|
|
5
|
+
export interface IReference<S extends string = string> extends INamedIdentity {
|
|
6
6
|
/**
|
|
7
7
|
* Краткое название.
|
|
8
8
|
*/
|
|
9
|
-
slug?:
|
|
9
|
+
slug?: S;
|
|
10
10
|
/**
|
|
11
11
|
* Описание.
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i-reference.d.ts","sourceRoot":"","sources":["../../../../src/system/interfaces/i-reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"i-reference.d.ts","sourceRoot":"","sources":["../../../../src/system/interfaces/i-reference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,cAAc;IACzE;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC;IAET;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"price-coefficient.d.ts","sourceRoot":"","sources":["../../../../src/catalog/classes/price-coefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D;;GAEG;AACH,qBAAa,gBAAgB;IACzB;;OAEG;IACI,WAAW,EAAE,UAAU,CAAC;IAE/B;;OAEG;IACI,KAAK,EAAE,MAAM,CAAC;IAErB;;OAEG;IACI,IAAI,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACI,OAAO,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACI,QAAQ,EAAE,OAAO,CAAC;IAEzB;;;;OAIG;gBACgB,IAAI,CAAC,EAAE,iBAAiB;CAO9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i-price-coefficient.d.ts","sourceRoot":"","sources":["../../../../src/catalog/interfaces/i-price-coefficient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACrB"}
|