Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
f55ac65e20 | |||
474ce92b88 | |||
de95e03699 | |||
1e4adeede6 | |||
ca67505870 | |||
18eabb11af | |||
3572dc6574 | |||
0d815f0414 | |||
d6c361750d | |||
d877aed78b |
@ -60,7 +60,7 @@ pages:
|
|||||||
stage: pages
|
stage: pages
|
||||||
script:
|
script:
|
||||||
- npmci command yarn global add npmpage
|
- npmci command yarn global add npmpage
|
||||||
- npmci command npmpage --publish gitlab
|
- npmci command npmpage
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
only:
|
only:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IDate } from './index';
|
import { IDate } from '../index';
|
||||||
/**
|
/**
|
||||||
* describes a company's lifecycle state
|
* describes a company's lifecycle state
|
||||||
*/
|
*/
|
2
dist/company.js → dist/business/company.js
vendored
2
dist/company.js → dist/business/company.js
vendored
@ -1,3 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2NvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2J1c2luZXNzL2NvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
2
dist/invoice.js → dist/business/invoice.js
vendored
2
dist/invoice.js → dist/business/invoice.js
vendored
@ -1,3 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2ludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2J1c2luZXNzL2ludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
1
dist/cloud/dns.d.ts
vendored
Normal file
1
dist/cloud/dns.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
export declare type TDnsRecord = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'SRV' | 'LOC' | 'MX' | 'NS' | 'SPF';
|
3
dist/cloud/dns.js
vendored
Normal file
3
dist/cloud/dns.js
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvY2xvdWQvZG5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
@ -1,4 +1,4 @@
|
|||||||
import { IAuthor } from './author';
|
import { IAuthor } from '../index';
|
||||||
export interface IArticle {
|
export interface IArticle {
|
||||||
/**
|
/**
|
||||||
* the title of an article
|
* the title of an article
|
2
dist/article.js → dist/content/article.js
vendored
2
dist/article.js → dist/content/article.js
vendored
@ -1,3 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJ0aWNsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2FydGljbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJ0aWNsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2NvbnRlbnQvYXJ0aWNsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
4
dist/author.d.ts → dist/content/author.d.ts
vendored
4
dist/author.d.ts → dist/content/author.d.ts
vendored
@ -1,5 +1,5 @@
|
|||||||
import { IDate } from './date';
|
import { IDate } from '../index';
|
||||||
import { IArticle } from './article';
|
import { IArticle } from '../index';
|
||||||
export interface IAuthor {
|
export interface IAuthor {
|
||||||
/**
|
/**
|
||||||
* the first name of an author
|
* the first name of an author
|
2
dist/author.js → dist/content/author.js
vendored
2
dist/author.js → dist/content/author.js
vendored
@ -1,3 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvYXV0aG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvY29udGVudC9hdXRob3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
0
dist/date.d.ts → dist/general/date.d.ts
vendored
0
dist/date.d.ts → dist/general/date.d.ts
vendored
2
dist/date.js → dist/general/date.js
vendored
2
dist/date.js → dist/general/date.js
vendored
@ -1,3 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2RhdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2dlbmVyYWwvZGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
0
dist/time.d.ts → dist/general/time.d.ts
vendored
0
dist/time.d.ts → dist/general/time.d.ts
vendored
2
dist/time.js → dist/general/time.js
vendored
2
dist/time.js → dist/general/time.js
vendored
@ -1,3 +1,3 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3RpbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2dlbmVyYWwvdGltZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
13
dist/index.d.ts
vendored
13
dist/index.d.ts
vendored
@ -1,6 +1,7 @@
|
|||||||
export * from './article';
|
export * from './business/company';
|
||||||
export * from './author';
|
export * from './business/invoice';
|
||||||
export * from './company';
|
export * from './cloud/dns';
|
||||||
export * from './date';
|
export * from './content/article';
|
||||||
export * from './invoice';
|
export * from './content/author';
|
||||||
export * from './time';
|
export * from './general/date';
|
||||||
|
export * from './general/time';
|
||||||
|
0
docs/index.md
Normal file
0
docs/index.md
Normal file
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "tsclass",
|
"name": "tsclass",
|
||||||
"version": "1.0.7",
|
"version": "1.0.12",
|
||||||
"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",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(npmts)"
|
"test": "(npmts --notest)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IDate } from './index'
|
import { IDate } from '../index'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* describes a company's lifecycle state
|
* describes a company's lifecycle state
|
@ -1,3 +1,3 @@
|
|||||||
export interface IInvoice {
|
export interface IInvoice {
|
||||||
|
|
||||||
}
|
}
|
1
ts/cloud/dns.ts
Normal file
1
ts/cloud/dns.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export type TDnsRecord = 'A' | 'AAAA' | 'CNAME' | 'TXT' | 'SRV' | 'LOC' | 'MX' | 'NS' | 'SPF'
|
@ -1,4 +1,4 @@
|
|||||||
import { IAuthor } from './author'
|
import { IAuthor } from '../index'
|
||||||
|
|
||||||
export interface IArticle {
|
export interface IArticle {
|
||||||
/**
|
/**
|
||||||
@ -20,4 +20,4 @@ export interface IArticle {
|
|||||||
* the tags of an article
|
* the tags of an article
|
||||||
*/
|
*/
|
||||||
tags: string[]
|
tags: string[]
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
import { IDate } from './date'
|
import { IDate } from '../index'
|
||||||
import { IArticle } from './article'
|
import { IArticle } from '../index'
|
||||||
|
|
||||||
export interface IAuthor {
|
export interface IAuthor {
|
||||||
|
|
@ -1,3 +1,3 @@
|
|||||||
export interface ITime {
|
export interface ITime {
|
||||||
|
|
||||||
}
|
}
|
20
ts/index.ts
20
ts/index.ts
@ -1,6 +1,14 @@
|
|||||||
export * from './article'
|
// Business
|
||||||
export * from './author'
|
export * from './business/company'
|
||||||
export * from './company'
|
export * from './business/invoice'
|
||||||
export * from './date'
|
|
||||||
export * from './invoice'
|
// Cloud
|
||||||
export * from './time'
|
export * from './cloud/dns'
|
||||||
|
|
||||||
|
// Content
|
||||||
|
export * from './content/article'
|
||||||
|
export * from './content/author'
|
||||||
|
|
||||||
|
// General
|
||||||
|
export * from './general/date'
|
||||||
|
export * from './general/time'
|
||||||
|
Reference in New Issue
Block a user