@chevre/factory 4.296.0 → 4.298.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.
|
@@ -8,6 +8,7 @@ export interface IAbout {
|
|
|
8
8
|
typeOf: string;
|
|
9
9
|
}
|
|
10
10
|
export declare type IAuthor = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
|
|
11
|
+
export declare type IMention = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
|
|
11
12
|
/**
|
|
12
13
|
* コメント
|
|
13
14
|
* {@link https://schema.org/Comment}
|
|
@@ -18,6 +19,7 @@ export interface IComment extends Pick<CreativeWorkFactory.ICreativeWork, 'addit
|
|
|
18
19
|
commentCount?: number;
|
|
19
20
|
dateCreated: Date;
|
|
20
21
|
dateModified?: Date;
|
|
22
|
+
mentions?: IMention[];
|
|
21
23
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
22
24
|
text: string;
|
|
23
25
|
typeOf: CreativeWorkType.Comment;
|
|
@@ -22,32 +22,31 @@ export interface IAttributes {
|
|
|
22
22
|
project?: Pick<IProject, 'id' | 'typeOf'>;
|
|
23
23
|
typeOf: CreativeWorkType.EmailMessage;
|
|
24
24
|
sender: IParticipant;
|
|
25
|
-
toRecipient: IParticipant;
|
|
25
|
+
toRecipient: IParticipant[];
|
|
26
26
|
about: IAbout;
|
|
27
27
|
text: string;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* E
|
|
30
|
+
* Eメールメッセージ
|
|
31
31
|
*/
|
|
32
32
|
export declare type ICreativeWork = IAttributes & CreativeWorkFactory.ICreativeWork;
|
|
33
|
+
export interface ICustomizedParticipant {
|
|
34
|
+
name?: string;
|
|
35
|
+
email?: string;
|
|
36
|
+
}
|
|
33
37
|
/**
|
|
34
|
-
* E
|
|
38
|
+
* Eメールカスタマイズオプション
|
|
35
39
|
*/
|
|
36
40
|
export interface ICustomization {
|
|
37
41
|
/**
|
|
38
42
|
* 送信者
|
|
39
43
|
*/
|
|
40
|
-
sender?:
|
|
41
|
-
name?: string;
|
|
42
|
-
email?: string;
|
|
43
|
-
};
|
|
44
|
+
sender?: ICustomizedParticipant;
|
|
44
45
|
/**
|
|
45
46
|
* 受信者
|
|
47
|
+
* multiple対応(2023-03-06~)
|
|
46
48
|
*/
|
|
47
|
-
toRecipient?:
|
|
48
|
-
name?: string;
|
|
49
|
-
email?: string;
|
|
50
|
-
};
|
|
49
|
+
toRecipient?: ICustomizedParticipant | ICustomizedParticipant[];
|
|
51
50
|
/**
|
|
52
51
|
* 件名
|
|
53
52
|
*/
|