feat(interfaces): add comprehensive TypeScript interface modules, demo data, docs, and publish metadata
This commit is contained in:
@@ -1,27 +1,65 @@
|
||||
/**
|
||||
* @file index.ts
|
||||
* @description Main export file for signature.digital contract interfaces
|
||||
* Comprehensive contract management system supporting 99.9% of contract use cases
|
||||
*/
|
||||
|
||||
import * as plugins from './plugins.js';
|
||||
export interface IParagraph {
|
||||
uniqueId: string;
|
||||
parent: IParagraph | null;
|
||||
title: string;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface IRole {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string;
|
||||
}
|
||||
// Export plugins for access to tsclass types
|
||||
export { plugins };
|
||||
|
||||
export interface IInvolvedParty {
|
||||
role: string;
|
||||
contact: plugins.tsclass.business.TContact;
|
||||
}
|
||||
// ============================================================================
|
||||
// TYPE ALIASES
|
||||
// ============================================================================
|
||||
export * from './types.js';
|
||||
|
||||
export interface IPortableContract {
|
||||
title: string;
|
||||
context: string;
|
||||
availableRoles: IRole[];
|
||||
involvedParties: IInvolvedParty[];
|
||||
priorContracts: IPortableContract[];
|
||||
paragraphs: IParagraph[];
|
||||
}
|
||||
// ============================================================================
|
||||
// STRUCTURED TERMS
|
||||
// ============================================================================
|
||||
export * from './terms.js';
|
||||
|
||||
// ============================================================================
|
||||
// SIGNATURE SYSTEM
|
||||
// ============================================================================
|
||||
export * from './signature.js';
|
||||
|
||||
// ============================================================================
|
||||
// IDENTITY VERIFICATION
|
||||
// ============================================================================
|
||||
export * from './identity.js';
|
||||
|
||||
// ============================================================================
|
||||
// LEGAL COMPLIANCE
|
||||
// ============================================================================
|
||||
export * from './legal.js';
|
||||
|
||||
// ============================================================================
|
||||
// VERSIONING
|
||||
// ============================================================================
|
||||
export * from './versioning.js';
|
||||
|
||||
// ============================================================================
|
||||
// COLLABORATION
|
||||
// ============================================================================
|
||||
export * from './collaboration.js';
|
||||
|
||||
// ============================================================================
|
||||
// LIFECYCLE AND AUDIT
|
||||
// ============================================================================
|
||||
export * from './lifecycle.js';
|
||||
|
||||
// ============================================================================
|
||||
// ATTACHMENTS
|
||||
// ============================================================================
|
||||
export * from './attachments.js';
|
||||
|
||||
// ============================================================================
|
||||
// PDF GENERATION
|
||||
// ============================================================================
|
||||
export * from './pdf.js';
|
||||
|
||||
// ============================================================================
|
||||
// MAIN CONTRACT INTERFACE
|
||||
// ============================================================================
|
||||
export * from './contract.js';
|
||||
|
||||
Reference in New Issue
Block a user