@chevre/factory 4.399.0-alpha.5 → 4.399.0-alpha.6
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,6 +3,7 @@ import { ActionType } from '../../actionType';
|
|
|
3
3
|
import { IAbout as INoteAbout } from '../../creativeWork/noteDigitalDocument';
|
|
4
4
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
5
5
|
import { ProductType } from '../../product';
|
|
6
|
+
import { IInstrumentAsApplication } from './instrumentAsApplication';
|
|
6
7
|
export type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsSoftwareApplication;
|
|
7
8
|
export interface IObjectAsNote {
|
|
8
9
|
identifier: string;
|
|
@@ -18,10 +19,7 @@ export interface IAddedObject {
|
|
|
18
19
|
typeOf: CreativeWorkType.NoteDigitalDocument | ProductType;
|
|
19
20
|
}
|
|
20
21
|
export type IResult = IAddedObject[];
|
|
21
|
-
export
|
|
22
|
-
typeOf: CreativeWorkType.WebApplication | CreativeWorkType.SoftwareApplication;
|
|
23
|
-
id: string;
|
|
24
|
-
}
|
|
22
|
+
export type IInstrument = IInstrumentAsApplication;
|
|
25
23
|
export interface ITargetCollectionAsNote {
|
|
26
24
|
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
27
25
|
about: Pick<INoteAbout, 'typeOf'>;
|
|
@@ -32,6 +30,7 @@ export interface ITargetCollectionAsProduct {
|
|
|
32
30
|
export type ITargetCollection = ITargetCollectionAsNote | ITargetCollectionAsProduct;
|
|
33
31
|
export interface IAttributes extends Pick<ActionFactory.IAttributes<ActionType.AddAction, IObject, IResult>, 'typeOf' | 'targetCollection' | 'sameAs' | 'result' | 'project' | 'object' | 'instrument' | 'error' | 'agent'> {
|
|
34
32
|
potentialActions?: never;
|
|
33
|
+
purpose?: never;
|
|
35
34
|
instrument: IInstrument;
|
|
36
35
|
targetCollection: ITargetCollection;
|
|
37
36
|
}
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
import {
|
|
3
|
+
import { Identifier as WebAPIIdentifier, IService as IWebAPI } from '../../service/webAPI';
|
|
4
|
+
import { IInstrumentAsApplication } from './instrumentAsApplication';
|
|
4
5
|
export type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsSoftwareApplication;
|
|
5
6
|
export type IObject = any;
|
|
6
7
|
export type IResult = any;
|
|
7
8
|
export type IReplacer = any;
|
|
8
|
-
export interface
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
export interface IInstrumentAsCOAAPI {
|
|
10
|
+
theaterCode: string;
|
|
11
|
+
begin?: string;
|
|
12
|
+
end?: string;
|
|
13
|
+
typeOf: IWebAPI<WebAPIIdentifier>['typeOf'];
|
|
14
|
+
identifier: WebAPIIdentifier.COA;
|
|
11
15
|
}
|
|
16
|
+
export type IInstrument = IInstrumentAsApplication | IInstrumentAsCOAAPI;
|
|
12
17
|
export type ITargetCollection = any;
|
|
13
18
|
export interface IAttributes extends Pick<ActionFactory.IAttributes<ActionType.ReplaceAction, IObject, IResult>, 'typeOf' | 'targetCollection' | 'sameAs' | 'result' | 'replacer' | 'project' | 'object' | 'instrument' | 'error' | 'agent'> {
|
|
14
19
|
potentialActions?: never;
|
|
20
|
+
purpose?: never;
|
|
15
21
|
replacer?: IReplacer;
|
|
16
22
|
instrument?: IInstrument;
|
|
17
23
|
targetCollection: ITargetCollection;
|
|
@@ -2,6 +2,7 @@ import * as ActionFactory from '../../action';
|
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import { IAbout as INoteAbout } from '../../creativeWork/noteDigitalDocument';
|
|
4
4
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
5
|
+
import { IInstrumentAsApplication } from './instrumentAsApplication';
|
|
5
6
|
export type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsSoftwareApplication;
|
|
6
7
|
export interface IObjectAsNote {
|
|
7
8
|
identifier: string;
|
|
@@ -13,10 +14,7 @@ export interface IUpdatedObject {
|
|
|
13
14
|
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
14
15
|
}
|
|
15
16
|
export type IResult = IUpdatedObject[];
|
|
16
|
-
export
|
|
17
|
-
typeOf: CreativeWorkType.WebApplication | CreativeWorkType.SoftwareApplication;
|
|
18
|
-
id: string;
|
|
19
|
-
}
|
|
17
|
+
export type IInstrument = IInstrumentAsApplication;
|
|
20
18
|
export interface ITargetCollectionAsNote {
|
|
21
19
|
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
22
20
|
about: Pick<INoteAbout, 'typeOf'>;
|
|
@@ -24,6 +22,7 @@ export interface ITargetCollectionAsNote {
|
|
|
24
22
|
export type ITargetCollection = ITargetCollectionAsNote;
|
|
25
23
|
export interface IAttributes extends Pick<ActionFactory.IAttributes<ActionType.UpdateAction, IObject, IResult>, 'typeOf' | 'targetCollection' | 'sameAs' | 'result' | 'project' | 'object' | 'instrument' | 'error' | 'agent'> {
|
|
26
24
|
potentialActions?: never;
|
|
25
|
+
purpose?: never;
|
|
27
26
|
instrument: IInstrument;
|
|
28
27
|
targetCollection: ITargetCollection;
|
|
29
28
|
}
|