@chevre/factory 4.280.0-alpha.0 → 4.280.0-alpha.2

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.
@@ -317,7 +317,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
317
317
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
318
318
  export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
319
319
  export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
320
- export declare type ISeller4create = Pick<ISeller, 'id' | 'makesOffer'>;
320
+ export declare type ISeller4create = Pick<ISeller, 'makesOffer'>;
321
321
  export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
322
322
  /**
323
323
  * 最大予約数を指定
@@ -343,6 +343,10 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
343
343
  superEvent: ISuperEvent4create;
344
344
  offers: IOffers4create;
345
345
  };
346
+ /**
347
+ * イベント更新パラメータ
348
+ */
349
+ export declare type IUpdateParams = ICreateParams;
346
350
  /**
347
351
  * ソート条件
348
352
  */
package/lib/index.d.ts CHANGED
@@ -298,6 +298,7 @@ export declare namespace event {
298
298
  type IAttributes<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IAttributes : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IAttributes : never;
299
299
  type IEvent<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IEvent : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IEvent : never;
300
300
  type ICreateParams<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.ICreateParams : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ICreateParams : never;
301
+ type IUpdateParams<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IUpdateParams : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ICreateParams : never;
301
302
  export import screeningEvent = ScreeningEventFactory;
302
303
  export import screeningEventSeries = ScreeningEventSeriesFactory;
303
304
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.280.0-alpha.0",
3
+ "version": "4.280.0-alpha.2",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",