Compare commits

..

14 Commits

Author SHA1 Message Date
55d5e89bb8 4.0.8 2022-06-12 19:29:28 +02:00
5838948117 fix(core): update 2022-06-12 19:29:27 +02:00
e5e3562eef 4.0.7 2022-06-11 12:56:39 +02:00
d081dc4b98 fix(core): update 2022-06-11 12:56:39 +02:00
ee9efae18d 4.0.6 2022-06-10 13:38:20 +02:00
df39fcbe37 fix(core): update 2022-06-10 13:38:20 +02:00
4ad0b3745e 4.0.5 2022-06-10 13:35:00 +02:00
7f53cb2f7f fix(core): update 2022-06-10 13:35:00 +02:00
59ca7e6c93 4.0.4 2022-06-10 13:31:18 +02:00
ba0237f9a7 fix(core): update 2022-06-10 13:31:18 +02:00
1609a2b65c 4.0.3 2022-06-05 16:44:48 +02:00
09f1496cf4 fix(core): update 2022-06-05 16:44:48 +02:00
5d96d25176 4.0.2 2022-04-28 14:25:21 +02:00
87a303f7be fix(core): update 2022-04-28 14:25:21 +02:00
14 changed files with 387 additions and 8953 deletions

View File

@ -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

9242
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@tsclass/tsclass", "name": "@tsclass/tsclass",
"version": "4.0.1", "version": "4.0.8",
"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.0"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.61", "@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsrun": "^1.2.32", "@gitzone/tsrun": "^1.2.35",
"@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"
}, },

View File

@ -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.8',
description: 'common classes for TypeScript' description: 'common classes for TypeScript'
} }

View File

@ -1,4 +1,4 @@
import { IClaim } from './claim'; import { IClaim } from './claim.js';
export interface IProcessedClaim { export interface IProcessedClaim {
originalJWT: string; originalJWT: string;

View File

@ -6,9 +6,9 @@ export interface ILetter {
from: business.IContact; from: business.IContact;
to: business.IContact; to: business.IContact;
logoUrl: string; logoUrl: string;
accentColor: string;
subject: string; subject: string;
text: string[]; text: string[];
accentColor?: string;
invoiceData?: finance.IInvoice; invoiceData?: finance.IInvoice;
contractData?: { contractData?: {
id: string; id: string;

View File

@ -0,0 +1,5 @@
export interface ICommitInfo {
name: string;
version: string;
description: string;
}

View File

@ -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

View File

@ -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

View 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[];
}

View File

@ -1,2 +1,3 @@
export * from './article.js'; export * from './article.js';
export * from './author.js'; export * from './author.js';
export * from './documentationset.js';

25
ts/database/index.ts Normal file
View 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;
}

View File

@ -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;

View File

@ -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';