Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
76cff5259b | |||
34b49123e1 | |||
ecf1b945b5 | |||
dd3182536e | |||
5e8ab7012f | |||
12a0a1402d | |||
79c334da3b | |||
5c71e8c97d | |||
48b01b43ed | |||
97d7b3cb61 | |||
82d080a4f7 | |||
0c7875ca0d | |||
e03fe0db7c | |||
aa74f5d2e4 | |||
55d5e89bb8 | |||
5838948117 | |||
e5e3562eef | |||
d081dc4b98 | |||
ee9efae18d | |||
df39fcbe37 | |||
4ad0b3745e | |||
7f53cb2f7f | |||
59ca7e6c93 | |||
ba0237f9a7 | |||
1609a2b65c | |||
09f1496cf4 | |||
5d96d25176 | |||
87a303f7be |
@ -122,11 +122,10 @@ trigger:
|
|||||||
pages:
|
pages:
|
||||||
stage: metadata
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
- npmci node install lts
|
- npmci node install stable
|
||||||
- npmci command npm install -g @gitzone/tsdoc
|
|
||||||
- npmci npm prepare
|
- npmci npm prepare
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
- npmci command tsdoc
|
- npmci command npm run buildDocs
|
||||||
tags:
|
tags:
|
||||||
- lossless
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
|
11425
package-lock.json
generated
11425
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "4.0.1",
|
"version": "4.0.15",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -8,7 +8,8 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tstest test/",
|
"test": "tstest test/",
|
||||||
"build": "(tsbuild --web)"
|
"build": "(tsbuild --web)",
|
||||||
|
"buildDocs": "tsdoc"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -25,13 +26,13 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/tsclass/tsclass#readme",
|
"homepage": "https://github.com/tsclass/tsclass#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^2.9.0"
|
"type-fest": "^2.13.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.61",
|
"@gitzone/tsbuild": "^2.1.63",
|
||||||
"@gitzone/tsrun": "^1.2.32",
|
"@gitzone/tsrun": "^1.2.37",
|
||||||
"@gitzone/tstest": "^1.0.70",
|
"@gitzone/tstest": "^1.0.71",
|
||||||
"@pushrocks/tapbundle": "^3.2.15",
|
"@pushrocks/tapbundle": "^5.0.3",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.18.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
/**
|
/**
|
||||||
* autocreated commitinfo by @pushrocks/commitinfo
|
* autocreated commitinfo by @pushrocks/commitinfo
|
||||||
*/
|
*/
|
||||||
export const name: string = '@tsclass/tsclass';
|
|
||||||
export const version: string = '4.0.1';
|
|
||||||
export const description: string = 'common classes for TypeScript'
|
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@tsclass/tsclass',
|
name: '@tsclass/tsclass',
|
||||||
version: '4.0.1',
|
version: '4.0.15',
|
||||||
description: 'common classes for TypeScript'
|
description: 'common classes for TypeScript'
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IClaim } from './claim';
|
import { IClaim } from './claim.js';
|
||||||
|
|
||||||
export interface IProcessedClaim {
|
export interface IProcessedClaim {
|
||||||
originalJWT: string;
|
originalJWT: string;
|
||||||
|
@ -2,4 +2,5 @@ export * from './address.js';
|
|||||||
export * from './company.js';
|
export * from './company.js';
|
||||||
export * from './contact.js';
|
export * from './contact.js';
|
||||||
export * from './letter.js';
|
export * from './letter.js';
|
||||||
|
export * from './pdf.js';
|
||||||
export * from './person.js';
|
export * from './person.js';
|
||||||
|
@ -1,21 +1,26 @@
|
|||||||
import * as business from './index.js';
|
import * as business from './index.js';
|
||||||
import * as finance from '../finance/index.js';
|
import * as finance from '../finance/index.js';
|
||||||
|
import * as database from '../database/index.js';
|
||||||
|
import type { TypedArray } from 'type-fest';
|
||||||
export interface ILetter {
|
export interface ILetter {
|
||||||
incidenceId: string;
|
incidenceId: string;
|
||||||
date: number;
|
date: number;
|
||||||
from: business.IContact;
|
from: business.IContact;
|
||||||
to: business.IContact;
|
to: business.IContact;
|
||||||
|
legalContact: business.IContact;
|
||||||
logoUrl: string;
|
logoUrl: string;
|
||||||
accentColor: string;
|
|
||||||
subject: string;
|
subject: string;
|
||||||
text: string[];
|
text: string[];
|
||||||
|
accentColor?: string;
|
||||||
|
needsCoverSheet: boolean;
|
||||||
invoiceData?: finance.IInvoice;
|
invoiceData?: finance.IInvoice;
|
||||||
contractData?: {
|
contractData?: {
|
||||||
id: string;
|
id: string;
|
||||||
contractDate: number;
|
contractDate: number;
|
||||||
};
|
};
|
||||||
timesheetData: string;
|
timesheetData: string;
|
||||||
pdfAttachments: Uint8Array[];
|
pdfBuffer?: business.IPdf;
|
||||||
legalContact: business.IContact;
|
pdfAttachmentBuffers: business.IPdf[];
|
||||||
language: string;
|
language: string;
|
||||||
|
objectActions: database.IObjectAction[];
|
||||||
}
|
}
|
||||||
|
8
ts/business/pdf.ts
Normal file
8
ts/business/pdf.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export interface IPdf {
|
||||||
|
name: string;
|
||||||
|
id: string;
|
||||||
|
metadata: {
|
||||||
|
textExtraction: string;
|
||||||
|
};
|
||||||
|
buffer: ArrayBufferLike;
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
export interface ICommitInfo {
|
||||||
|
name: string;
|
||||||
|
version: string;
|
||||||
|
description: string;
|
||||||
|
}
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
import { content } from '../index.js';
|
import { content } from '../index.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* a general content article:
|
||||||
|
* * can be news
|
||||||
|
* * can be a productdescription,
|
||||||
|
* * can be anything that has text with a title
|
||||||
|
*/
|
||||||
export interface IArticle<T = any> {
|
export interface IArticle<T = any> {
|
||||||
/**
|
/**
|
||||||
* the main url of an article
|
* the main url of an article
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
import { general, content } from '../index.js';
|
import { general, content } from '../index.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* answers the question "Who wrote that?"
|
||||||
|
*/
|
||||||
export interface IAuthor {
|
export interface IAuthor {
|
||||||
/**
|
/**
|
||||||
* the first name of an author
|
* the first name of an author
|
||||||
|
10
ts/content/documentationset.ts
Normal file
10
ts/content/documentationset.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { IArticle } from './article.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* a set of articles that together form a body of documentation
|
||||||
|
*/
|
||||||
|
export interface IDocumentationSet {
|
||||||
|
id: string;
|
||||||
|
creationTimestamp: number;
|
||||||
|
articles: IArticle[];
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
export * from './article.js';
|
export * from './article.js';
|
||||||
export * from './author.js';
|
export * from './author.js';
|
||||||
|
export * from './documentationset.js';
|
||||||
|
2
ts/database/index.ts
Normal file
2
ts/database/index.ts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export * from './mongodescriptor.js';
|
||||||
|
export * from './objectaction.js';
|
25
ts/database/mongodescriptor.ts
Normal file
25
ts/database/mongodescriptor.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/**
|
||||||
|
* contains the complete info for how to connect to a mongodb database.
|
||||||
|
*/
|
||||||
|
export interface IMongoDescriptor {
|
||||||
|
/**
|
||||||
|
* the URL to connect to
|
||||||
|
*/
|
||||||
|
mongoDbUrl: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* the db to use for the project
|
||||||
|
*/
|
||||||
|
mongoDbName?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* a username to use to connect to the database
|
||||||
|
*/
|
||||||
|
|
||||||
|
mongoDbUser?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* an optional password that will be replace <PASSWORD> in the connection string
|
||||||
|
*/
|
||||||
|
mongoDbPass?: string;
|
||||||
|
}
|
8
ts/database/objectaction.ts
Normal file
8
ts/database/objectaction.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export interface IObjectAction {
|
||||||
|
timestamp: number;
|
||||||
|
name: string;
|
||||||
|
userId: string;
|
||||||
|
data: any;
|
||||||
|
message: string;
|
||||||
|
privateMessage: string;
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* a constract event describes any kind of sale
|
* a contract event describes any kind of sale
|
||||||
*/
|
*/
|
||||||
export interface IEvent_Contract {
|
export interface IEvent_Contract {
|
||||||
contractId: string;
|
contractId: string;
|
||||||
|
11
ts/index.ts
11
ts/index.ts
@ -1,15 +1,18 @@
|
|||||||
// Business
|
// Business
|
||||||
import * as business from './business/index.js';
|
import * as business from './business/index.js';
|
||||||
|
|
||||||
|
// Code
|
||||||
|
import * as code from './code/index.js';
|
||||||
|
|
||||||
// Container
|
// Container
|
||||||
import * as container from './container/index.js';
|
import * as container from './container/index.js';
|
||||||
|
|
||||||
|
// Database
|
||||||
|
import * as database from './database/index.js';
|
||||||
|
|
||||||
// Finance
|
// Finance
|
||||||
import * as finance from './finance/index.js';
|
import * as finance from './finance/index.js';
|
||||||
|
|
||||||
// Code
|
|
||||||
import * as code from './code/index.js';
|
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
import * as content from './content/index.js';
|
import * as content from './content/index.js';
|
||||||
|
|
||||||
@ -22,7 +25,7 @@ import * as network from './network/index.js';
|
|||||||
// SaaS
|
// SaaS
|
||||||
import * as saas from './saas/index.js';
|
import * as saas from './saas/index.js';
|
||||||
|
|
||||||
export { business, container, code, finance, content, general, network, saas };
|
export { business, container, code, database, finance, content, general, network, saas };
|
||||||
|
|
||||||
import type * as typeFest from 'type-fest';
|
import type * as typeFest from 'type-fest';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user