@chevre/factory 4.369.0-alpha.7 → 4.369.0-alpha.8

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,5 @@
1
1
  import { CreativeWorkType } from './creativeWorkType';
2
- import { IMemberRole } from './iam';
2
+ import { IMember, IMemberOfRole } from './iam';
3
3
  import { IOrder } from './order';
4
4
  import { OrganizationType } from './organizationType';
5
5
  import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
@@ -14,8 +14,13 @@ export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'type
14
14
  export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
15
15
  export type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
16
16
  export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
17
- export type IRoleAsObject = Pick<IMemberRole, 'roleName' | 'typeOf'>;
18
- export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject[];
17
+ /**
18
+ * 承認対象としてのIAMメンバー
19
+ */
20
+ export type IRoleAsObject = Pick<IMember, 'member' | 'typeOf'> & {
21
+ member: Pick<IMemberOfRole, 'hasRole' | 'id' | 'memberOf' | 'typeOf'>;
22
+ };
23
+ export type IObject = IOrderAsObject | IOwnershipInfoAsObject | IRoleAsObject;
19
24
  export interface IAudience {
20
25
  /**
21
26
  * クライアントID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.369.0-alpha.7",
3
+ "version": "4.369.0-alpha.8",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",