@chevre/factory 4.353.0 → 4.354.0-alpha.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.
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as CreativeWorkFactory from '../creativeWork';
|
|
2
|
+
import { CreativeWorkType } from '../creativeWorkType';
|
|
3
|
+
import { IOrder } from '../order';
|
|
4
|
+
import { IPerson } from '../person';
|
|
5
|
+
import { IProject } from '../project';
|
|
6
|
+
import { SortType } from '../sortType';
|
|
7
|
+
export type IAboutAsOrder = Pick<IOrder, 'orderNumber' | 'typeOf'> & {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
export type IAbout = IAboutAsOrder;
|
|
11
|
+
export type ICreator = Pick<IPerson, 'id' | 'typeOf'>;
|
|
12
|
+
export type IEditor = Pick<IPerson, 'id' | 'typeOf'>;
|
|
13
|
+
/**
|
|
14
|
+
* メモ
|
|
15
|
+
*/
|
|
16
|
+
export interface INoteDigitalDocument extends Pick<CreativeWorkFactory.ICreativeWork, 'id' | 'typeOf'> {
|
|
17
|
+
/**
|
|
18
|
+
* メモ識別子
|
|
19
|
+
*/
|
|
20
|
+
identifier: string;
|
|
21
|
+
/**
|
|
22
|
+
* メモコンテンツ
|
|
23
|
+
*/
|
|
24
|
+
text: string;
|
|
25
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
26
|
+
about: IAbout;
|
|
27
|
+
dateCreated: Date;
|
|
28
|
+
dateModified?: Date;
|
|
29
|
+
creator: ICreator;
|
|
30
|
+
editor?: IEditor;
|
|
31
|
+
version: string;
|
|
32
|
+
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* ソート条件
|
|
36
|
+
*/
|
|
37
|
+
export interface ISortOrder {
|
|
38
|
+
dateCreated?: SortType;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 検索条件
|
|
42
|
+
*/
|
|
43
|
+
export interface ISearchConditions {
|
|
44
|
+
limit?: number;
|
|
45
|
+
page?: number;
|
|
46
|
+
sort?: ISortOrder;
|
|
47
|
+
project?: {
|
|
48
|
+
id?: {
|
|
49
|
+
$eq?: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
about?: {
|
|
53
|
+
id?: {
|
|
54
|
+
$eq?: string;
|
|
55
|
+
$in?: string[];
|
|
56
|
+
};
|
|
57
|
+
orderNumber?: {
|
|
58
|
+
$eq?: string;
|
|
59
|
+
$in?: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
identifier?: {
|
|
63
|
+
$eq?: string;
|
|
64
|
+
};
|
|
65
|
+
}
|
package/lib/creativeWorkType.js
CHANGED
|
@@ -9,5 +9,6 @@ var CreativeWorkType;
|
|
|
9
9
|
CreativeWorkType["Comment"] = "Comment";
|
|
10
10
|
CreativeWorkType["EmailMessage"] = "EmailMessage";
|
|
11
11
|
CreativeWorkType["Movie"] = "Movie";
|
|
12
|
+
CreativeWorkType["NoteDigitalDocument"] = "NoteDigitalDocument";
|
|
12
13
|
CreativeWorkType["WebApplication"] = "WebApplication";
|
|
13
14
|
})(CreativeWorkType = exports.CreativeWorkType || (exports.CreativeWorkType = {}));
|
package/lib/index.d.ts
CHANGED
|
@@ -51,7 +51,8 @@ import * as ClientUserFactory from './clientUser';
|
|
|
51
51
|
import * as CreativeWorkFactory from './creativeWork';
|
|
52
52
|
import * as CommentFactory from './creativeWork/comment';
|
|
53
53
|
import * as EmailMessageFactory from './creativeWork/message/email';
|
|
54
|
-
import * as
|
|
54
|
+
import * as MovieFactory from './creativeWork/movie';
|
|
55
|
+
import * as NoteDigitalDocumentFactory from './creativeWork/noteDigitalDocument';
|
|
55
56
|
import * as WebApplicationFactory from './creativeWork/softwareApplication/webApplication';
|
|
56
57
|
import { CreativeWorkType } from './creativeWorkType';
|
|
57
58
|
import * as CustomerFactory from './customer';
|
|
@@ -300,7 +301,8 @@ export declare namespace creativeWork {
|
|
|
300
301
|
namespace message {
|
|
301
302
|
export import email = EmailMessageFactory;
|
|
302
303
|
}
|
|
303
|
-
export import movie =
|
|
304
|
+
export import movie = MovieFactory;
|
|
305
|
+
export import noteDigitalDocument = NoteDigitalDocumentFactory;
|
|
304
306
|
namespace softwareApplication {
|
|
305
307
|
export import webApplication = WebApplicationFactory;
|
|
306
308
|
}
|
package/lib/index.js
CHANGED
|
@@ -49,7 +49,8 @@ var CategoryCodeFactory = require("./categoryCode");
|
|
|
49
49
|
var ClientUserFactory = require("./clientUser");
|
|
50
50
|
var CommentFactory = require("./creativeWork/comment");
|
|
51
51
|
var EmailMessageFactory = require("./creativeWork/message/email");
|
|
52
|
-
var
|
|
52
|
+
var MovieFactory = require("./creativeWork/movie");
|
|
53
|
+
var NoteDigitalDocumentFactory = require("./creativeWork/noteDigitalDocument");
|
|
53
54
|
var WebApplicationFactory = require("./creativeWork/softwareApplication/webApplication");
|
|
54
55
|
var creativeWorkType_1 = require("./creativeWorkType");
|
|
55
56
|
var CustomerFactory = require("./customer");
|
|
@@ -284,7 +285,8 @@ var creativeWork;
|
|
|
284
285
|
(function (message) {
|
|
285
286
|
message.email = EmailMessageFactory;
|
|
286
287
|
})(message = creativeWork.message || (creativeWork.message = {}));
|
|
287
|
-
creativeWork.movie =
|
|
288
|
+
creativeWork.movie = MovieFactory;
|
|
289
|
+
creativeWork.noteDigitalDocument = NoteDigitalDocumentFactory;
|
|
288
290
|
var softwareApplication;
|
|
289
291
|
(function (softwareApplication) {
|
|
290
292
|
softwareApplication.webApplication = WebApplicationFactory;
|