Compare commits

...

6 Commits

Author SHA1 Message Date
9a6ffcbc03 4.0.29 2023-01-12 20:58:34 +01:00
d39d9c2a86 fix(core): update 2023-01-12 20:58:34 +01:00
3c67658a0e 4.0.28 2022-11-20 10:28:14 +01:00
e9d4a1641f fix(core): update 2022-11-20 10:28:14 +01:00
2cec65f8a0 4.0.27 2022-10-31 13:59:04 +01:00
d20073a2b0 fix(core): update 2022-10-31 13:59:03 +01:00
10 changed files with 524 additions and 301 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@tsclass/tsclass", "name": "@tsclass/tsclass",
"version": "4.0.26", "version": "4.0.29",
"private": false, "private": false,
"description": "common classes for TypeScript", "description": "common classes for TypeScript",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -26,14 +26,14 @@
}, },
"homepage": "https://github.com/tsclass/tsclass#readme", "homepage": "https://github.com/tsclass/tsclass#readme",
"dependencies": { "dependencies": {
"type-fest": "^3.1.0" "type-fest": "^3.5.1"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.65", "@gitzone/tsbuild": "^2.1.65",
"@gitzone/tsrun": "^1.2.37", "@gitzone/tsrun": "^1.2.39",
"@gitzone/tstest": "^1.0.73", "@gitzone/tstest": "^1.0.74",
"@pushrocks/tapbundle": "^5.0.4", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.11.0" "@types/node": "^18.11.18"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

771
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -1,5 +1,5 @@
import * as database from '../database/index.js'; import * as database from '../database/index.js';
import { IPerson } from "./person.js"; import { IPerson } from './person.js';
export interface IContract { export interface IContract {
parties: { parties: {
@ -13,8 +13,8 @@ export interface IContract {
location?: string; location?: string;
ip?: string; ip?: string;
verifications?: []; verifications?: [];
} };
}[], }[];
contractTextMarkdown: string; contractTextMarkdown: string;
actions: database.IObjectAction[]; actions: database.IObjectAction[];
} }

View File

@ -4,3 +4,4 @@ export * from './contact.js';
export * from './letter.js'; export * from './letter.js';
export * from './pdf.js'; export * from './pdf.js';
export * from './person.js'; export * from './person.js';
export * from './project.js';

View File

@ -1,4 +1,4 @@
import { IContact } from "./contact.js"; import { IContact } from './contact.js';
export interface IPerson { export interface IPerson {
title: string; title: string;
@ -8,5 +8,5 @@ export interface IPerson {
legalProxyFor?: { legalProxyFor?: {
type: 'self' | 'other'; type: 'self' | 'other';
contact?: IContact; contact?: IContact;
} };
} }

18
ts/business/project.ts Normal file
View File

@ -0,0 +1,18 @@
export interface IProject {
active: boolean;
category: 'SaaS' | 'IaaS' | 'Media' | 'Blockchain' | 'Open Source' | 'Consulting' | 'internal' | 'partner';
branch?: null;
branchId? : string;
domain: string;
redirectDomains: string[];
gitlab: string;
name: string;
social: {
facebook?: string;
gitlab?: string;
github?: string;
twitter?: string;
};
tagLine: string;
tags: string[];
}

View File

@ -1,3 +1,4 @@
export * from './mongodescriptor.js'; export * from './mongodescriptor.js';
export * from './objectaction.js'; export * from './objectaction.js';
export * from './objectstatus.js';
export * from './wrappeddata.js'; export * from './wrappeddata.js';

View File

@ -0,0 +1,7 @@
export interface IObjectStatus {
current: 'active' | 'inactive' | 'hidden' | 'markedForDeletion';
scheduledDeletion: number;
justForLooks: {
scheduledDeletionIso: string;
};
}

View File

@ -1,4 +1,5 @@
export interface IMenuItem { export interface IMenuItem {
name: string; name: string;
iconName?: string;
action: <T = any>() => void | Promise<T>; action: <T = any>() => void | Promise<T>;
} }