@chevre/factory 4.286.0 → 4.288.0-alpha.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.
@@ -1,18 +1,15 @@
1
1
  import { IMultilingualString } from './multilingualString';
2
2
  import { OfferType } from './offerType';
3
- import { IServiceType as IProductServiceType, ProductType } from './product';
3
+ import { ProductType } from './product';
4
4
  import { IProject } from './project';
5
5
  import { IPropertyValue } from './propertyValue';
6
6
  import { SortType } from './sortType';
7
7
  import { IThing } from './thing';
8
- export declare type IServiceType = IProductServiceType & {
9
- id?: string;
10
- };
11
8
  export interface IItemOffered {
12
9
  typeOf: ProductType;
13
10
  }
14
11
  export interface IItemListElement {
15
- typeOf: OfferType;
12
+ typeOf: OfferType.Offer;
16
13
  id: string;
17
14
  }
18
15
  /**
@@ -46,16 +43,23 @@ export interface ISearchConditions {
46
43
  $eq?: string;
47
44
  };
48
45
  };
49
- id?: string | {
46
+ id?: {
50
47
  $in?: string[];
48
+ $regex?: string;
51
49
  };
52
- identifier?: string | {
50
+ identifier?: {
53
51
  $eq?: string;
52
+ $regex?: string;
54
53
  };
55
54
  name?: string;
56
55
  itemListElement?: {
57
56
  id?: {
57
+ /**
58
+ * 以下条件を全て満たす
59
+ */
60
+ $all?: string[];
58
61
  $in?: string[];
62
+ $nin?: string[];
59
63
  };
60
64
  };
61
65
  itemOffered?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.286.0",
3
+ "version": "4.288.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",