Compare commits

..

4 Commits

Author SHA1 Message Date
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
10 changed files with 31 additions and 9 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

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@tsclass/tsclass", "name": "@tsclass/tsclass",
"version": "4.0.3", "version": "4.0.5",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@tsclass/tsclass", "name": "@tsclass/tsclass",
"version": "4.0.3", "version": "4.0.5",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"type-fest": "^2.13.0" "type-fest": "^2.13.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "@tsclass/tsclass", "name": "@tsclass/tsclass",
"version": "4.0.3", "version": "4.0.5",
"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",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@tsclass/tsclass', name: '@tsclass/tsclass',
version: '4.0.3', version: '4.0.5',
description: 'common classes for TypeScript' description: 'common classes for TypeScript'
} }

View File

@ -1,5 +1,10 @@
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';

View File

@ -1,3 +1,6 @@
/**
* contains the complete info for how to connect to a mongodb database.
*/
export interface IMongoDescriptor { export interface IMongoDescriptor {
/** /**
* the URL to connect to * the URL to connect to