Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
0f26791ee2 | |||
34e65462e2 |
3
dist/business/contact.d.ts
vendored
Normal file
3
dist/business/contact.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export interface IContact {
|
||||||
|
name: string;
|
||||||
|
}
|
3
dist/business/contact.js
vendored
Normal file
3
dist/business/contact.js
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2J1c2luZXNzL2NvbnRhY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
10
dist/business/invoice.d.ts
vendored
10
dist/business/invoice.d.ts
vendored
@ -1,2 +1,10 @@
|
|||||||
export interface IInvoice {
|
export declare type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
||||||
|
export interface IInvoiceItem {
|
||||||
|
name: string;
|
||||||
|
unitType: string;
|
||||||
|
quantity: number;
|
||||||
|
vatPercentage: number;
|
||||||
|
}
|
||||||
|
export interface IInvoice {
|
||||||
|
status: TInvoiceStatus;
|
||||||
}
|
}
|
||||||
|
1
dist/index.d.ts
vendored
1
dist/index.d.ts
vendored
@ -1,4 +1,5 @@
|
|||||||
export * from './business/company';
|
export * from './business/company';
|
||||||
|
export * from './business/contact';
|
||||||
export * from './business/invoice';
|
export * from './business/invoice';
|
||||||
export * from './cloud/dns';
|
export * from './cloud/dns';
|
||||||
export * from './content/article';
|
export * from './content/article';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tsclass",
|
"name": "tsclass",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { IContact } from '../index'
|
||||||
import { IDate } from '../index'
|
import { IDate } from '../index'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
4
ts/business/contact.ts
Normal file
4
ts/business/contact.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface IContact {
|
||||||
|
name: string
|
||||||
|
|
||||||
|
}
|
@ -1,3 +1,14 @@
|
|||||||
export interface IInvoice {
|
import { IContact } from '../index'
|
||||||
|
|
||||||
|
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded'
|
||||||
|
|
||||||
|
export interface IInvoiceItem {
|
||||||
|
name: string
|
||||||
|
unitType: string
|
||||||
|
quantity: number
|
||||||
|
vatPercentage: number
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IInvoice {
|
||||||
|
status: TInvoiceStatus
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
export type TDnsRecord = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'SRV' | 'LOC' | 'MX' | 'NS' | 'SPF'
|
export type TDnsRecord = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'SRV' | 'LOC' | 'MX' | 'NS' | 'SPF'
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// Business
|
// Business
|
||||||
export * from './business/company'
|
export * from './business/company'
|
||||||
|
export * from './business/contact'
|
||||||
export * from './business/invoice'
|
export * from './business/invoice'
|
||||||
|
|
||||||
// Cloud
|
// Cloud
|
||||||
|
Reference in New Issue
Block a user