Skip to content

Commit

Permalink
feat(Action): add object, result, retractedTime fields
Browse files Browse the repository at this point in the history
  • Loading branch information
McManning committed Aug 23, 2023
1 parent a87490c commit d9cc402
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,15 +479,29 @@ export type Action = Atom & {
*/
endTime?: DateTime

/**
* For actions that have been retracted.
*
* In the form `[-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]`
* (see Chapter 5.4 of ISO 8601)
*/
retractedTime?: string;

/**
* Other co-agents that participated in the action indirectly.
* E.g. John wrote a book with Steve.
*/
participant?: Agent[]
participant?: Agent[];

// Omitted: object: Thing.
// Bit complicated to define when it can be anything
}
/**
* The object upon which the action is carried out,
* whose state is kept intact or changed.
*/
object: Resource;

/** The result produced in the action. */
result?: Atom[];
};

/**
* The participant who is at the sending end of the action.
Expand Down

0 comments on commit d9cc402

Please sign in to comment.