@chevre/factory 5.1.0-alpha.0 → 5.1.0-alpha.1
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/lib/product.d.ts +0 -28
- package/package.json +1 -1
package/lib/product.d.ts
CHANGED
|
@@ -81,11 +81,6 @@ export interface INoAvailableChannel {
|
|
|
81
81
|
credentials?: INoCredentials;
|
|
82
82
|
}
|
|
83
83
|
export type IServiceType = Pick<ICategoryCode, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
84
|
-
export type IOffer = Pick<IBaseOffer, 'typeOf' | 'priceCurrency' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> & {
|
|
85
|
-
seller?: {
|
|
86
|
-
id?: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
84
|
export interface ICommonAttributes extends Pick<IThing, 'name' | 'description'> {
|
|
90
85
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
91
86
|
typeOf: ProductType;
|
|
@@ -236,29 +231,6 @@ export interface ISearchConditions {
|
|
|
236
231
|
$eq?: ProductType;
|
|
237
232
|
$in?: ProductType[];
|
|
238
233
|
};
|
|
239
|
-
offers?: {
|
|
240
|
-
$elemMatch?: {
|
|
241
|
-
availabilityEnds?: {
|
|
242
|
-
$gte?: Date;
|
|
243
|
-
$lte?: Date;
|
|
244
|
-
};
|
|
245
|
-
availabilityStarts?: {
|
|
246
|
-
$gte?: Date;
|
|
247
|
-
$lte?: Date;
|
|
248
|
-
};
|
|
249
|
-
validFrom?: {
|
|
250
|
-
$gte?: Date;
|
|
251
|
-
$lte?: Date;
|
|
252
|
-
};
|
|
253
|
-
validThrough?: {
|
|
254
|
-
$gte?: Date;
|
|
255
|
-
$lte?: Date;
|
|
256
|
-
};
|
|
257
|
-
'seller.id'?: {
|
|
258
|
-
$in?: string[];
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
234
|
serviceOutput?: {
|
|
263
235
|
typeOf?: {
|
|
264
236
|
$eq?: string;
|