Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
9a6ffcbc03 | |||
d39d9c2a86 | |||
3c67658a0e | |||
e9d4a1641f | |||
2cec65f8a0 | |||
d20073a2b0 |
10
package.json
10
package.json
@ -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
771
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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[];
|
||||||
}
|
}
|
@ -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';
|
||||||
|
@ -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
18
ts/business/project.ts
Normal 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[];
|
||||||
|
}
|
@ -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';
|
||||||
|
7
ts/database/objectstatus.ts
Normal file
7
ts/database/objectstatus.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export interface IObjectStatus {
|
||||||
|
current: 'active' | 'inactive' | 'hidden' | 'markedForDeletion';
|
||||||
|
scheduledDeletion: number;
|
||||||
|
justForLooks: {
|
||||||
|
scheduledDeletionIso: string;
|
||||||
|
};
|
||||||
|
}
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user