@chevre/factory 4.395.0-alpha.4 → 4.395.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,7 +1,8 @@
|
|
|
1
1
|
import * as CreativeWorkFactory from '../../creativeWork';
|
|
2
2
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
3
3
|
import { IProject } from '../../project';
|
|
4
|
-
import {
|
|
4
|
+
import { IIssuedBy, ISearchConditions, ISortOrder } from './webApplication';
|
|
5
|
+
export { IIssuedBy, ISearchConditions, ISortOrder };
|
|
5
6
|
export interface ISubjectAsSoftwareApplication {
|
|
6
7
|
/**
|
|
7
8
|
* クライアントID
|
|
@@ -14,6 +15,11 @@ export type IAbout = ISubjectAsSoftwareApplication;
|
|
|
14
15
|
* マシーンアイデンティティ
|
|
15
16
|
*/
|
|
16
17
|
export interface ICertification extends Pick<CreativeWorkFactory.ICreativeWork, 'id' | 'typeOf'> {
|
|
18
|
+
/**
|
|
19
|
+
* IDP
|
|
20
|
+
* 複数存在する場合、どのIDPでも受け入れる想定
|
|
21
|
+
*/
|
|
22
|
+
issuedBy: IIssuedBy | IIssuedBy[];
|
|
17
23
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
18
24
|
/**
|
|
19
25
|
* subject
|
|
@@ -23,35 +29,3 @@ export interface ICertification extends Pick<CreativeWorkFactory.ICreativeWork,
|
|
|
23
29
|
dateModified?: Date;
|
|
24
30
|
typeOf: CreativeWorkType.Certification;
|
|
25
31
|
}
|
|
26
|
-
/**
|
|
27
|
-
* ソート条件
|
|
28
|
-
*/
|
|
29
|
-
export interface ISortOrder {
|
|
30
|
-
'about.id'?: SortType;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* 検索条件
|
|
34
|
-
*/
|
|
35
|
-
export interface ISearchConditions {
|
|
36
|
-
limit?: number;
|
|
37
|
-
page?: number;
|
|
38
|
-
sort?: ISortOrder;
|
|
39
|
-
project?: {
|
|
40
|
-
id?: {
|
|
41
|
-
$eq?: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
id?: {
|
|
45
|
-
$eq?: string;
|
|
46
|
-
$in?: string[];
|
|
47
|
-
};
|
|
48
|
-
about?: {
|
|
49
|
-
id?: {
|
|
50
|
-
$eq?: string;
|
|
51
|
-
$regex?: string;
|
|
52
|
-
};
|
|
53
|
-
typeOf?: {
|
|
54
|
-
$eq?: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
}
|