@chevre/factory 4.386.0-alpha.2 → 4.386.0-alpha.3

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 +15 -10
  2. package/package.json +1 -1
package/lib/product.d.ts CHANGED
@@ -123,17 +123,22 @@ export interface IProduct extends Pick<IThing, 'name' | 'description'> {
123
123
  serviceType?: IServiceType;
124
124
  additionalProperty?: IPropertyValue<string>[];
125
125
  }
126
+ export interface IHasOfferCatalogOnCreate {
127
+ /**
128
+ * IDを指定する場合
129
+ */
130
+ id?: string;
131
+ /**
132
+ * カタログコードを指定する場合
133
+ */
134
+ identifier?: string;
135
+ }
126
136
  export type ICreateParams = Pick<IProduct, 'typeOf' | 'productID' | 'name' | 'description' | 'availableChannel' | 'serviceOutput'> & {
127
- hasOfferCatalog?: {
128
- /**
129
- * IDを指定する場合
130
- */
131
- id?: string;
132
- /**
133
- * カタログコードを指定する場合
134
- */
135
- identifier?: string;
136
- };
137
+ /**
138
+ * 興行に複数設定の場合はArray
139
+ * 最大数: 2
140
+ */
141
+ hasOfferCatalog?: IHasOfferCatalogOnCreate | IHasOfferCatalogOnCreate[];
137
142
  /**
138
143
  * サービスタイプ
139
144
  * 興行->興行区分
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.386.0-alpha.2",
3
+ "version": "4.386.0-alpha.3",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",