@chevre/factory 4.251.0 → 4.254.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,7 +1,6 @@
1
1
  import { CreativeWorkType } from './creativeWorkType';
2
2
  import { OrganizationType } from './organizationType';
3
3
  import * as PermitFactory from './permit';
4
- import { IMemberOf } from './person';
5
4
  import { PersonType } from './personType';
6
5
  import * as ProductFactory from './product';
7
6
  import { IProject } from './project';
@@ -48,17 +47,12 @@ export declare type IGoodWithDetail = IReservationWithDetail | IPermit;
48
47
  export interface IOwnerAsOrganization {
49
48
  typeOf: OrganizationType.Organization;
50
49
  id: string;
51
- project: {
52
- id: string;
53
- typeOf: OrganizationType.Project;
54
- };
55
50
  identifier?: IPropertyValue<string>[];
56
51
  }
57
52
  export interface IOwnerAsPerson {
58
53
  typeOf: PersonType;
59
54
  id: string;
60
55
  identifier?: IPropertyValue<string>[];
61
- memberOf?: IMemberOf;
62
56
  }
63
57
  export interface IOwnerAsWebApplication {
64
58
  typeOf: CreativeWorkType.WebApplication;
@@ -95,8 +89,9 @@ export interface IOwnershipInfo<T extends IGood | IGoodWithDetail> {
95
89
  identifier?: any;
96
90
  /**
97
91
  * owned by whom
92
+ * Array対応(2022-07-25~)
98
93
  */
99
- ownedBy: IOwner;
94
+ ownedBy: IOwner | IOwner[];
100
95
  /**
101
96
  * The organization or person from which the product was acquired.
102
97
  */
@@ -101,6 +101,7 @@ export interface ISearchConditions {
101
101
  };
102
102
  id?: {
103
103
  $eq?: string;
104
+ $in?: string[];
104
105
  };
105
106
  branchCode?: {
106
107
  $eq?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.251.0",
3
+ "version": "4.254.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",