@chevre/factory 4.356.0 → 4.357.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,6 +1,7 @@
|
|
|
1
1
|
import * as CreativeWorkFactory from '../creativeWork';
|
|
2
2
|
import { CreativeWorkType } from '../creativeWorkType';
|
|
3
3
|
import { IOrder } from '../order';
|
|
4
|
+
import { OrganizationType } from '../organizationType';
|
|
4
5
|
import { IPerson } from '../person';
|
|
5
6
|
import { IProject } from '../project';
|
|
6
7
|
import { SortType } from '../sortType';
|
|
@@ -10,6 +11,13 @@ export type IAboutAsOrder = Pick<IOrder, 'orderNumber' | 'typeOf'> & {
|
|
|
10
11
|
export type IAbout = IAboutAsOrder;
|
|
11
12
|
export type ICreator = Pick<IPerson, 'id' | 'typeOf'>;
|
|
12
13
|
export type IEditor = Pick<IPerson, 'id' | 'typeOf'>;
|
|
14
|
+
export interface IProvider {
|
|
15
|
+
/**
|
|
16
|
+
* 販売者ID
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
typeOf: OrganizationType.Corporation;
|
|
20
|
+
}
|
|
13
21
|
/**
|
|
14
22
|
* メモ
|
|
15
23
|
*/
|
|
@@ -26,8 +34,18 @@ export interface INoteDigitalDocument extends Pick<CreativeWorkFactory.ICreative
|
|
|
26
34
|
about: IAbout;
|
|
27
35
|
dateCreated: Date;
|
|
28
36
|
dateModified?: Date;
|
|
37
|
+
/**
|
|
38
|
+
* 作成者
|
|
39
|
+
*/
|
|
29
40
|
creator: ICreator;
|
|
41
|
+
/**
|
|
42
|
+
* 変更者
|
|
43
|
+
*/
|
|
30
44
|
editor?: IEditor;
|
|
45
|
+
provider: IProvider;
|
|
46
|
+
/**
|
|
47
|
+
* バージョン
|
|
48
|
+
*/
|
|
31
49
|
version: string;
|
|
32
50
|
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
33
51
|
}
|
|
@@ -52,6 +70,11 @@ export interface ISearchConditions {
|
|
|
52
70
|
$eq?: string;
|
|
53
71
|
};
|
|
54
72
|
};
|
|
73
|
+
provider?: {
|
|
74
|
+
id?: {
|
|
75
|
+
$eq?: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
55
78
|
about?: {
|
|
56
79
|
id?: {
|
|
57
80
|
$eq?: string;
|