@chevre/factory 4.369.0-alpha.4 → 4.369.0-alpha.6

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,5 +1,8 @@
1
+ import { CreativeWorkType } from './creativeWorkType';
2
+ import { IMemberRole } from './iam';
1
3
  import { IOrder } from './order';
2
4
  import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
5
+ import { PersonType } from './personType';
3
6
  import { IProject } from './project';
4
7
  import { SortType } from './sortType';
5
8
  export type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
@@ -10,7 +13,19 @@ export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'type
10
13
  export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
11
14
  export type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
12
15
  export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
13
- export type IObject = IOrderAsObject | IOwnershipInfoAsObject;
16
+ export type IRoleAsObject = Pick<IMemberRole, 'roleName' | 'typeOf'>;
17
+ export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject[];
18
+ export interface IAudience {
19
+ /**
20
+ * クライアントID
21
+ */
22
+ id: string;
23
+ typeOf: string;
24
+ }
25
+ export interface IAuthor {
26
+ id: string;
27
+ typeOf: PersonType.Person | CreativeWorkType.WebApplication;
28
+ }
14
29
  /**
15
30
  * 承認
16
31
  */
@@ -33,6 +48,8 @@ export interface IAuthorization {
33
48
  * 有効期間
34
49
  */
35
50
  validUntil: Date;
51
+ audience?: IAudience;
52
+ author?: IAuthor;
36
53
  }
37
54
  /**
38
55
  * ソート条件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.369.0-alpha.4",
3
+ "version": "4.369.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",