Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
ddea031bbe | |||
6132076aed | |||
a5bd50850e | |||
8df838935c | |||
504dbdea1f | |||
c8d2095942 | |||
96f525ef0b | |||
7eb2ce7fe3 | |||
d67dc9ab44 | |||
c193fd4c59 | |||
65d87fdefb | |||
4a54935521 | |||
e10a45a4d0 | |||
074f6bfd1e | |||
6a1fafeab7 | |||
b019cf48b5 |
@ -117,8 +117,9 @@ pages:
|
|||||||
image: hosttoday/ht-docker-node:npmci
|
image: hosttoday/ht-docker-node:npmci
|
||||||
stage: metadata
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
- npmci command npm install -g npmpage
|
- npmci command npm install -g typedoc typescript
|
||||||
- npmci command npmpage
|
- npmci npm install
|
||||||
|
- npmci command typedoc --module "commonjs" --target "ES2016" --out public/ ts/
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- notpriv
|
- notpriv
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "1.0.30",
|
"version": "1.0.38",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "1.0.30",
|
"version": "1.0.38",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { IContact } from '../index';
|
import { IContact } from '..';
|
||||||
import { IDate } from '../index';
|
import { IDate } from '..';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* describes a company's lifecycle state
|
* describes a company's lifecycle state
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IAddress } from '../index';
|
import { IAddress } from '..';
|
||||||
|
|
||||||
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IAuthor } from '../index';
|
import { IAuthor } from '..';
|
||||||
|
|
||||||
export interface IArticle {
|
export interface IArticle {
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { IDate } from '../index';
|
import { IDate } from '..';
|
||||||
import { IArticle } from '../index';
|
import { IArticle } from '..';
|
||||||
|
|
||||||
export interface IAuthor {
|
export interface IAuthor {
|
||||||
/**
|
/**
|
||||||
|
8
ts/finance/checkingaccount.ts
Normal file
8
ts/finance/checkingaccount.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import { TCurrency } from './currency';
|
||||||
|
import { ITransaction } from './transaction';
|
||||||
|
|
||||||
|
export interface ICheckingAccount {
|
||||||
|
name: string;
|
||||||
|
currency: TCurrency;
|
||||||
|
payments: ITransaction[];
|
||||||
|
}
|
1
ts/finance/currency.ts
Normal file
1
ts/finance/currency.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export type TCurrency = 'eur' | 'usd' | 'sek';
|
@ -1,6 +1,14 @@
|
|||||||
import { IInvoice } from './invoice';
|
import { IInvoice } from './invoice';
|
||||||
|
import { IContact } from '../business/contact';
|
||||||
|
|
||||||
|
export interface IExpenseItem {
|
||||||
|
amount: number;
|
||||||
|
taxPercentage: number;
|
||||||
|
}
|
||||||
|
|
||||||
export interface IExpense {
|
export interface IExpense {
|
||||||
invoice: IInvoice;
|
voucherFile?: any;
|
||||||
account: string;
|
expenseItems: IExpenseItem[];
|
||||||
|
contactRef: string;
|
||||||
|
accountRef: string;
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,6 @@ export interface IInvoiceItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface IInvoice {
|
export interface IInvoice {
|
||||||
pdfFile?: any;
|
|
||||||
billedBy: IContact;
|
billedBy: IContact;
|
||||||
billedTo: IContact;
|
billedTo: IContact;
|
||||||
status: TInvoiceStatus;
|
status: TInvoiceStatus;
|
||||||
|
4
ts/finance/transaction.ts
Normal file
4
ts/finance/transaction.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface ITransaction {
|
||||||
|
amount: number;
|
||||||
|
date: Date;
|
||||||
|
}
|
@ -2,8 +2,13 @@
|
|||||||
export * from './business/address';
|
export * from './business/address';
|
||||||
export * from './business/company';
|
export * from './business/company';
|
||||||
export * from './business/contact';
|
export * from './business/contact';
|
||||||
export * from './finance/invoice';
|
|
||||||
|
// Finance
|
||||||
|
export * from './finance/checkingaccount';
|
||||||
|
export * from './finance/currency';
|
||||||
export * from './finance/expense';
|
export * from './finance/expense';
|
||||||
|
export * from './finance/invoice';
|
||||||
|
export * from './finance/payment';
|
||||||
|
|
||||||
// Cloud
|
// Cloud
|
||||||
export * from './cloud/dns';
|
export * from './cloud/dns';
|
||||||
|
Reference in New Issue
Block a user