@chevre/factory 4.352.0-alpha.16 → 4.352.0-alpha.17
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.
- package/lib/iam.d.ts +13 -0
- package/package.json +1 -1
package/lib/iam.d.ts
CHANGED
|
@@ -33,17 +33,30 @@ export interface IRoleSearchConditions {
|
|
|
33
33
|
}
|
|
34
34
|
export type IMemberType = PersonType | CreativeWorkType.WebApplication;
|
|
35
35
|
export type IMemberHasRole = Pick<IRole, 'typeOf' | 'roleName'>[];
|
|
36
|
+
export interface IMemberSettings {
|
|
37
|
+
/**
|
|
38
|
+
* メンバーシップトークン検証シークレット(2024-01-31~)
|
|
39
|
+
*/
|
|
40
|
+
verifySecret?: string;
|
|
41
|
+
}
|
|
36
42
|
export interface IMemberOfRole {
|
|
37
43
|
typeOf: IMemberType;
|
|
44
|
+
/**
|
|
45
|
+
* クライアントID
|
|
46
|
+
*/
|
|
38
47
|
id: string;
|
|
39
48
|
image?: string;
|
|
40
49
|
name?: string;
|
|
41
50
|
username?: string;
|
|
42
51
|
hasRole: IMemberHasRole;
|
|
52
|
+
/**
|
|
53
|
+
* プロジェクトメンバー or 販売者メンバー
|
|
54
|
+
*/
|
|
43
55
|
memberOf: {
|
|
44
56
|
typeOf: OrganizationType.Corporation | OrganizationType.Project;
|
|
45
57
|
id: string;
|
|
46
58
|
};
|
|
59
|
+
settings?: IMemberSettings;
|
|
47
60
|
}
|
|
48
61
|
export interface IMember {
|
|
49
62
|
typeOf: RoleType;
|