@chevre/factory 4.313.0-alpha.47 → 4.313.0-alpha.48

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/order.d.ts +3 -4
  2. package/package.json +1 -1
package/lib/order.d.ts CHANGED
@@ -25,7 +25,6 @@ import * as BusReservationFactory from './reservation/busReservation';
25
25
  import * as EventReservationFactory from './reservation/event';
26
26
  import { ReservationType } from './reservationType';
27
27
  import { SortType } from './sortType';
28
- import { IThing } from './thing';
29
28
  import { IUnitPriceOfferPriceSpecification } from './unitPriceOffer';
30
29
  export interface IProject {
31
30
  typeOf: OrganizationType.Project;
@@ -189,8 +188,8 @@ export declare type IBroker = Pick<IPerson, 'id' | 'identifier' | 'typeOf'>;
189
188
  export declare type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
190
189
  export declare type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
191
190
  export declare type IIdentifier = IPropertyValue<string>[];
192
- export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf' | 'name'>;
193
- export interface ISimpleOrder extends Pick<IThing, 'name'> {
191
+ export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf'>;
192
+ export interface ISimpleOrder {
194
193
  /**
195
194
  * object type
196
195
  */
@@ -262,7 +261,7 @@ export interface IOrderedItem {
262
261
  * 注文
263
262
  * {@link https://schema.org/Order}
264
263
  */
265
- export interface IOrder extends ISimpleOrder {
264
+ export interface IOrder extends Omit<ISimpleOrder, 'customer'> {
266
265
  id?: string;
267
266
  project: IProject;
268
267
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.313.0-alpha.47",
3
+ "version": "4.313.0-alpha.48",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",