@chevre/factory 8.0.0-alpha.4 → 8.0.0-alpha.5

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.
@@ -3,7 +3,6 @@
3
3
  */
4
4
  export declare enum CreativeWorkType {
5
5
  Certification = "Certification",
6
- Comment = "Comment",
7
6
  EmailMessage = "EmailMessage",
8
7
  Movie = "Movie",
9
8
  NoteDigitalDocument = "NoteDigitalDocument",
@@ -7,7 +7,6 @@ exports.CreativeWorkType = void 0;
7
7
  var CreativeWorkType;
8
8
  (function (CreativeWorkType) {
9
9
  CreativeWorkType["Certification"] = "Certification";
10
- CreativeWorkType["Comment"] = "Comment";
11
10
  CreativeWorkType["EmailMessage"] = "EmailMessage";
12
11
  CreativeWorkType["Movie"] = "Movie";
13
12
  CreativeWorkType["NoteDigitalDocument"] = "NoteDigitalDocument";
@@ -47,7 +47,6 @@ import * as ClientUserFactory from './clientUser';
47
47
  import * as softwareApplicationCertification from './creativeWork/certification/softwareApplication';
48
48
  import * as webApplicationCertification from './creativeWork/certification/webApplication';
49
49
  import * as webSiteCertification from './creativeWork/certification/webSite';
50
- import * as CommentFactory from './creativeWork/comment';
51
50
  import * as EmailMessageFactory from './creativeWork/message/email';
52
51
  import * as MovieFactory from './creativeWork/movie';
53
52
  import * as NoteDigitalDocumentFactory from './creativeWork/noteDigitalDocument';
@@ -322,7 +321,6 @@ export declare namespace creativeWork {
322
321
  */
323
322
  export import webSite = webSiteCertification;
324
323
  }
325
- export import comment = CommentFactory;
326
324
  namespace message {
327
325
  export import email = EmailMessageFactory;
328
326
  }
@@ -49,7 +49,6 @@ const ClientUserFactory = require("./clientUser");
49
49
  const softwareApplicationCertification = require("./creativeWork/certification/softwareApplication");
50
50
  const webApplicationCertification = require("./creativeWork/certification/webApplication");
51
51
  const webSiteCertification = require("./creativeWork/certification/webSite");
52
- const CommentFactory = require("./creativeWork/comment");
53
52
  const EmailMessageFactory = require("./creativeWork/message/email");
54
53
  const MovieFactory = require("./creativeWork/movie");
55
54
  const NoteDigitalDocumentFactory = require("./creativeWork/noteDigitalDocument");
@@ -312,7 +311,6 @@ var creativeWork;
312
311
  */
313
312
  certification.webSite = webSiteCertification;
314
313
  })(certification = creativeWork.certification || (creativeWork.certification = {}));
315
- creativeWork.comment = CommentFactory;
316
314
  let message;
317
315
  (function (message) {
318
316
  message.email = EmailMessageFactory;
@@ -36,7 +36,7 @@ exports.RESERVED_CODE_VALUES = [
36
36
  certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationActive,
37
37
  certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationInactive,
38
38
  creativeWorkType_1.CreativeWorkType.Certification,
39
- creativeWorkType_1.CreativeWorkType.Comment,
39
+ 'Comment',
40
40
  creativeWorkType_1.CreativeWorkType.EmailMessage,
41
41
  creativeWorkType_1.CreativeWorkType.Movie,
42
42
  creativeWorkType_1.CreativeWorkType.NoteDigitalDocument,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "8.0.0-alpha.4",
3
+ "version": "8.0.0-alpha.5",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [
@@ -1,51 +0,0 @@
1
- import { ICreativeWork } from '../creativeWork';
2
- import { CreativeWorkType } from '../creativeWorkType';
3
- import { IPerson } from '../person';
4
- import { IProject } from '../project';
5
- import { SortType } from '../sortType';
6
- export interface IAbout {
7
- id: string;
8
- typeOf: string;
9
- }
10
- export type IAuthor = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
11
- export type IMention = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
12
- /**
13
- * コメント
14
- * {@link https://schema.org/Comment}
15
- */
16
- export interface IComment extends Pick<ICreativeWork, 'additionalProperty' | 'id' | 'typeOf'> {
17
- about: IAbout;
18
- author: IPerson;
19
- commentCount?: number;
20
- dateCreated: Date;
21
- dateModified?: Date;
22
- mentions?: IMention[];
23
- project: Pick<IProject, 'id' | 'typeOf'>;
24
- text: string;
25
- typeOf: CreativeWorkType.Comment;
26
- }
27
- /**
28
- * ソート条件
29
- */
30
- export interface ISortOrder {
31
- dateCreated?: SortType;
32
- }
33
- /**
34
- * 検索条件
35
- */
36
- export interface ISearchConditions {
37
- limit?: number;
38
- page?: number;
39
- sort?: ISortOrder;
40
- project?: {
41
- id?: {
42
- $eq?: string;
43
- };
44
- };
45
- about?: {
46
- id?: {
47
- $eq?: string;
48
- $in?: string[];
49
- };
50
- };
51
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });