@chevre/factory 4.392.0 → 4.393.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,71 @@
1
+ import * as CreativeWorkFactory from '../creativeWork';
2
+ import { CreativeWorkType } from '../creativeWorkType';
3
+ import { OrganizationType } from '../organizationType';
4
+ import { IProject } from '../project';
5
+ import { SortType } from '../sortType';
6
+ export interface ISubjectAsWebApplication {
7
+ id: string;
8
+ typeOf: CreativeWorkType.WebApplication;
9
+ }
10
+ export type IAbout = ISubjectAsWebApplication;
11
+ export interface IIssuedBy {
12
+ /**
13
+ * IDP識別子
14
+ */
15
+ identifier: string;
16
+ typeOf: OrganizationType.Organization;
17
+ }
18
+ /**
19
+ * アイデンティティ
20
+ */
21
+ export interface ICertification extends Pick<CreativeWorkFactory.ICreativeWork, 'id' | 'typeOf'> {
22
+ /**
23
+ * IDP
24
+ */
25
+ issuedBy: IIssuedBy;
26
+ project: Pick<IProject, 'id' | 'typeOf'>;
27
+ /**
28
+ * subject
29
+ */
30
+ about: IAbout;
31
+ dateCreated?: Date;
32
+ dateModified?: Date;
33
+ typeOf: CreativeWorkType.Certification;
34
+ }
35
+ /**
36
+ * ソート条件
37
+ */
38
+ export interface ISortOrder {
39
+ 'about.id'?: SortType;
40
+ }
41
+ /**
42
+ * 検索条件
43
+ */
44
+ export interface ISearchConditions {
45
+ limit?: number;
46
+ page?: number;
47
+ sort?: ISortOrder;
48
+ project?: {
49
+ id?: {
50
+ $eq?: string;
51
+ };
52
+ };
53
+ id?: {
54
+ $eq?: string;
55
+ $in?: string[];
56
+ };
57
+ about?: {
58
+ id?: {
59
+ $eq?: string;
60
+ $regex?: string;
61
+ };
62
+ typeOf?: {
63
+ $eq?: string;
64
+ };
65
+ };
66
+ issuedBy?: {
67
+ identifier?: {
68
+ $eq?: string;
69
+ };
70
+ };
71
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,7 @@
2
2
  * 著作物タイプ
3
3
  */
4
4
  export declare enum CreativeWorkType {
5
+ Certification = "Certification",
5
6
  Comment = "Comment",
6
7
  EmailMessage = "EmailMessage",
7
8
  Movie = "Movie",
@@ -6,6 +6,7 @@ exports.CreativeWorkType = void 0;
6
6
  */
7
7
  var CreativeWorkType;
8
8
  (function (CreativeWorkType) {
9
+ CreativeWorkType["Certification"] = "Certification";
9
10
  CreativeWorkType["Comment"] = "Comment";
10
11
  CreativeWorkType["EmailMessage"] = "EmailMessage";
11
12
  CreativeWorkType["Movie"] = "Movie";
package/lib/index.d.ts CHANGED
@@ -54,6 +54,7 @@ import * as AuthorizationFactory from './authorization';
54
54
  import * as CategoryCodeFactory from './categoryCode';
55
55
  import * as ClientUserFactory from './clientUser';
56
56
  import * as CreativeWorkFactory from './creativeWork';
57
+ import * as CertificationFactory from './creativeWork/certification';
57
58
  import * as CommentFactory from './creativeWork/comment';
58
59
  import * as EmailMessageFactory from './creativeWork/message/email';
59
60
  import * as MovieFactory from './creativeWork/movie';
@@ -320,6 +321,7 @@ export import categoryCode = CategoryCodeFactory;
320
321
  export import clientUser = ClientUserFactory;
321
322
  export declare namespace creativeWork {
322
323
  export import ICreativeWork = CreativeWorkFactory.ICreativeWork;
324
+ export import certification = CertificationFactory;
323
325
  export import comment = CommentFactory;
324
326
  namespace message {
325
327
  export import email = EmailMessageFactory;
package/lib/index.js CHANGED
@@ -52,6 +52,7 @@ var AggregationFactory = require("./aggregation");
52
52
  var AuthorizationFactory = require("./authorization");
53
53
  var CategoryCodeFactory = require("./categoryCode");
54
54
  var ClientUserFactory = require("./clientUser");
55
+ var CertificationFactory = require("./creativeWork/certification");
55
56
  var CommentFactory = require("./creativeWork/comment");
56
57
  var EmailMessageFactory = require("./creativeWork/message/email");
57
58
  var MovieFactory = require("./creativeWork/movie");
@@ -304,6 +305,7 @@ exports.categoryCode = CategoryCodeFactory;
304
305
  exports.clientUser = ClientUserFactory;
305
306
  var creativeWork;
306
307
  (function (creativeWork) {
308
+ creativeWork.certification = CertificationFactory;
307
309
  creativeWork.comment = CommentFactory;
308
310
  var message;
309
311
  (function (message) {
@@ -192,10 +192,6 @@ export interface IOrderPotentialActions {
192
192
  }
193
193
  export interface IPotentialActions {
194
194
  order: {
195
- /**
196
- * @deprecated use onOrderProcessing(already migrated 2024-06-29~)
197
- */
198
- potentialActions?: IOrderPotentialActions;
199
195
  onOrderProcessing?: {
200
196
  sendEmailMessage?: IPotentialSendEmailMessageAction[];
201
197
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.392.0",
3
+ "version": "4.393.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",