@chevre/factory 4.382.0-alpha.3 → 4.382.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.
@@ -4,7 +4,7 @@ export type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IPartici
4
4
  export type IObject = any;
5
5
  export type IResult = any;
6
6
  export type IReplacer = any;
7
- export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReplaceAction, TObject, TResult> {
7
+ export interface IAttributes<TObject, TResult> extends Pick<ActionFactory.IAttributes<ActionType.ReplaceAction, TObject, TResult>, 'typeOf' | 'targetCollection' | 'sameAs' | 'result' | 'replacer' | 'project' | 'potentialActions' | 'purpose' | 'object' | 'location' | 'instrument' | 'error' | 'description' | 'agent'> {
8
8
  potentialActions?: never;
9
9
  replacer?: IReplacer;
10
10
  }
package/lib/action.d.ts CHANGED
@@ -45,6 +45,7 @@ export type IParticipant = IParticipantAsWebApplication | IParticipantAsSoftware
45
45
  */
46
46
  export interface IPurpose {
47
47
  typeOf: string;
48
+ id?: string;
48
49
  }
49
50
  export interface ISameAs {
50
51
  /**
@@ -76,6 +77,12 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
76
77
  * アクションタイプ
77
78
  */
78
79
  typeOf: T;
80
+ amount?: any;
81
+ fromLocation?: any;
82
+ toLocation?: any;
83
+ replacer?: any;
84
+ targetCollection?: any;
85
+ cancelAction?: any;
79
86
  }
80
87
  /**
81
88
  * アクション動的属性
@@ -13,7 +13,7 @@ import { IThing } from './thing';
13
13
  export type CategoryCodeType = ICategoryCode['typeOf'];
14
14
  export type OfferCatalogType = IOfferCatalog['typeOf'];
15
15
  export type SellerType = ISeller['typeOf'];
16
- export type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | PlaceType.MovieTheater | PlaceType.Seat | SellerType;
16
+ export type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | PlaceType.MovieTheater | PlaceType.ScreeningRoom | PlaceType.ScreeningRoomSection | PlaceType.MovieTheater | PlaceType.Seat | SellerType;
17
17
  /**
18
18
  * {@link https://schema.org/CategoryCodeSet}
19
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.382.0-alpha.3",
3
+ "version": "4.382.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",