2024-12-18 19:31:19 +00:00
|
|
|
import * as plugins from '../ts/portablecontract.plugins.js';
|
2023-11-22 19:02:38 +00:00
|
|
|
|
|
|
|
export interface IParagraph {
|
|
|
|
uniqueId: string;
|
|
|
|
parent: IParagraph | null;
|
|
|
|
title: string;
|
|
|
|
content: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IRole {
|
|
|
|
id: string;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IInvolvedParty {
|
|
|
|
role: string;
|
|
|
|
contact: plugins.tsclass.business.IContact;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPortableContract {
|
|
|
|
title: string;
|
|
|
|
context: string;
|
|
|
|
availableRoles: IRole[];
|
|
|
|
involvedParties: IInvolvedParty[];
|
|
|
|
priorContracts: IPortableContract[];
|
|
|
|
paragraphs: IParagraph[];
|
|
|
|
}
|