@chevre/factory 4.384.0 → 4.386.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.
Files changed (2) hide show
  1. package/lib/product.d.ts +18 -2
  2. package/package.json +1 -1
package/lib/product.d.ts CHANGED
@@ -39,9 +39,23 @@ export declare enum ProductType {
39
39
  */
40
40
  Transportation = "Transportation"
41
41
  }
42
+ export interface IOfferCatalogItem {
43
+ /**
44
+ * カタログID
45
+ * サブカタログではなくカタログ
46
+ */
47
+ id: string;
48
+ }
42
49
  export interface IHasOfferCatalog {
43
50
  typeOf: 'OfferCatalog';
44
- id: string;
51
+ /**
52
+ * 従来のカタログID(~2024-09-27)
53
+ */
54
+ id?: string;
55
+ /**
56
+ * カタログリスト
57
+ */
58
+ itemListElement: IOfferCatalogItem[];
45
59
  }
46
60
  export type IServiceOutput = Pick<IPermit, 'typeOf'> & {
47
61
  /**
@@ -87,7 +101,6 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
87
101
  description?: Pick<IMultilingualString, 'en' | 'ja'>;
88
102
  /**
89
103
  * Indicates an OfferCatalog listing for this Organization, Person, or Service.
90
- * カタログ
91
104
  */
92
105
  hasOfferCatalog?: IHasOfferCatalog;
93
106
  /**
@@ -142,6 +155,9 @@ export interface ISearchConditions {
142
155
  };
143
156
  };
144
157
  hasOfferCatalog?: {
158
+ /**
159
+ * hasOfferCatalog.itemListElement.idで検索(2024-09-30~)
160
+ */
145
161
  id?: {
146
162
  $eq?: string;
147
163
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.384.0",
3
+ "version": "4.386.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",