Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
6095e0ea5c | |||
63b2bd59a2 | |||
c4d13e6f8a | |||
f6bda9a20c | |||
4f1947d38a | |||
c59ad68771 | |||
4d0af19155 | |||
d06b82faaa | |||
c319415c76 | |||
75177cc097 | |||
85c4caa861 | |||
85ae355e2c | |||
09ea75ed5b | |||
58b3fbb03e | |||
89698b30f6 | |||
09eaa7ff3b | |||
806f28849f | |||
dd4ff90b3b | |||
cede9eaebf | |||
a25425f0ac | |||
54ad67c93e | |||
dba7193605 |
128
.gitlab-ci.yml
128
.gitlab-ci.yml
@ -1,128 +0,0 @@
|
||||
# gitzone ci_default
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .npmci_cache/
|
||||
key: '$CI_BUILD_STAGE'
|
||||
|
||||
stages:
|
||||
- security
|
||||
- test
|
||||
- release
|
||||
- metadata
|
||||
|
||||
before_script:
|
||||
- pnpm install -g pnpm
|
||||
- pnpm install -g @shipzone/npmci
|
||||
- npmci npm prepare
|
||||
|
||||
# ====================
|
||||
# security stage
|
||||
# ====================
|
||||
# ====================
|
||||
# security stage
|
||||
# ====================
|
||||
auditProductionDependencies:
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||
stage: security
|
||||
script:
|
||||
- npmci command npm config set registry https://registry.npmjs.org
|
||||
- npmci command pnpm audit --audit-level=high --prod
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
allow_failure: true
|
||||
|
||||
auditDevDependencies:
|
||||
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||
stage: security
|
||||
script:
|
||||
- npmci command npm config set registry https://registry.npmjs.org
|
||||
- npmci command pnpm audit --audit-level=high --dev
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
allow_failure: true
|
||||
|
||||
# ====================
|
||||
# test stage
|
||||
# ====================
|
||||
|
||||
testStable:
|
||||
stage: test
|
||||
script:
|
||||
- npmci node install stable
|
||||
- npmci npm install
|
||||
- npmci npm test
|
||||
coverage: /\d+.?\d+?\%\s*coverage/
|
||||
tags:
|
||||
- docker
|
||||
|
||||
testBuild:
|
||||
stage: test
|
||||
script:
|
||||
- npmci node install stable
|
||||
- npmci npm install
|
||||
- npmci command npm run build
|
||||
coverage: /\d+.?\d+?\%\s*coverage/
|
||||
tags:
|
||||
- docker
|
||||
|
||||
release:
|
||||
stage: release
|
||||
script:
|
||||
- npmci node install stable
|
||||
- npmci npm publish
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
- notpriv
|
||||
|
||||
# ====================
|
||||
# metadata stage
|
||||
# ====================
|
||||
codequality:
|
||||
stage: metadata
|
||||
allow_failure: true
|
||||
only:
|
||||
- tags
|
||||
script:
|
||||
- npmci command npm install -g typescript
|
||||
- npmci npm prepare
|
||||
- npmci npm install
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
- priv
|
||||
|
||||
trigger:
|
||||
stage: metadata
|
||||
script:
|
||||
- npmci trigger
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
- notpriv
|
||||
|
||||
pages:
|
||||
stage: metadata
|
||||
script:
|
||||
- npmci node install stable
|
||||
- npmci npm install
|
||||
- npmci command npm run buildDocs
|
||||
tags:
|
||||
- lossless
|
||||
- docker
|
||||
- notpriv
|
||||
only:
|
||||
- tags
|
||||
artifacts:
|
||||
expire_in: 1 week
|
||||
paths:
|
||||
- public
|
||||
allow_failure: true
|
196
changelog.md
Normal file
196
changelog.md
Normal file
@ -0,0 +1,196 @@
|
||||
# Changelog
|
||||
|
||||
## 2024-07-24 - 4.0.65 - fix(finance)
|
||||
Added 'type' property to IInvoice interface
|
||||
|
||||
- Added 'type' property to the IInvoice interface in the finance domain.
|
||||
- This property indicates whether the invoice is a 'creditnote' or 'debitnote'.
|
||||
|
||||
## 2024-07-18 - 4.0.64 - fix(business)
|
||||
Add relationship field to contact interface
|
||||
|
||||
- Added 'relationship' field to the IContact interface in ts/business/contact.ts
|
||||
|
||||
## 2024-06-28 - 4.0.63 - fix(saas)
|
||||
Refactor IProduct to separate IProductFeature interface
|
||||
|
||||
- Updated @types/node from 20.14.8 to 20.14.9
|
||||
- Refactored IProduct's features property to a standalone IProductFeature interface in saas/product.ts
|
||||
|
||||
## 2024-06-24 - 4.0.62 - fix(dependencies)
|
||||
Updated dependencies to latest versions
|
||||
|
||||
- Updated 'dependencies > type-fest' to version ^4.20.1
|
||||
- Updated 'devDependencies > @git.zone/tsbuild' to version ^2.1.82
|
||||
- Updated 'devDependencies > @git.zone/tsrun' to version ^1.2.49
|
||||
- Updated 'devDependencies > @git.zone/tstest' to version ^1.0.90
|
||||
- Updated 'devDependencies > @push.rocks/tapbundle' to version ^5.0.23
|
||||
- Updated 'devDependencies > @types/node' to version ^20.14.8
|
||||
|
||||
## 2024-06-24 - 4.0.61 - fix(dependencies)
|
||||
|
||||
Update dependencies to latest versions
|
||||
|
||||
- Updated 'dependencies > type-fest' to version ^4.20.1
|
||||
- Updated 'devDependencies > @git.zone/tsbuild' to version ^2.1.82
|
||||
- Updated 'devDependencies > @git.zone/tsrun' to version ^1.2.49
|
||||
- Updated 'devDependencies > @git.zone/tstest' to version ^1.0.90
|
||||
- Updated 'devDependencies > @push.rocks/tapbundle' to version ^5.0.23
|
||||
- Updated 'devDependencies > @types/node' to version ^20.14.8
|
||||
|
||||
## 2024-06-19 - 4.0.59 - core
|
||||
|
||||
Fixes and updates to core functionalities.
|
||||
|
||||
- Multiple updates and fixes applied to the core codebase
|
||||
|
||||
## 2024-06-17 - 4.0.59 to 4.0.56 - core
|
||||
|
||||
Routine updates and fixes to the core.
|
||||
|
||||
- Multiple core updates and fixes
|
||||
|
||||
## 2024-06-08 - 4.0.54 - core
|
||||
|
||||
Core fixes applied.
|
||||
|
||||
- Various fixes in the core functionality
|
||||
|
||||
## 2024-04-17 - 4.0.53 - core
|
||||
|
||||
Core functionality updated with fixes.
|
||||
|
||||
- Updates and fixes to core features
|
||||
|
||||
## 2024-04-16 - 4.0.52 - documentation
|
||||
|
||||
Documentation update.
|
||||
|
||||
- Documentation improved and updated
|
||||
|
||||
## 2024-02-17 - 4.0.51 - core
|
||||
|
||||
Fixes for core applied.
|
||||
|
||||
- Multiple core fixes implemented
|
||||
|
||||
## 2024-02-10 - 4.0.48 - core
|
||||
|
||||
Routine core updates and fixes.
|
||||
|
||||
- Several updates and fixes for core functionality
|
||||
|
||||
## 2023-10-15 - 4.0.46 - core
|
||||
|
||||
Core updates.
|
||||
|
||||
- Core functionalities updated and fixes applied
|
||||
|
||||
## 2023-10-13 - 4.0.44 - core
|
||||
|
||||
Routine fixes for core functionalities.
|
||||
|
||||
- Various updates to core functionalities
|
||||
|
||||
## 2023-09-13 - 4.0.43 - core
|
||||
|
||||
Core updates and fixes.
|
||||
|
||||
- Several core updates and fixes
|
||||
|
||||
## 2023-05-08 - 4.0.41 - core
|
||||
|
||||
Core updates.
|
||||
|
||||
- Core functionalities updated
|
||||
|
||||
## 2023-05-06 - 4.0.39 - core
|
||||
|
||||
Core updates and fixes.
|
||||
|
||||
- Multiple core updates and fixes
|
||||
|
||||
## 2023-04-19 - 4.0.37 - core
|
||||
|
||||
Routine core updates.
|
||||
|
||||
- Core fixes and updates applied
|
||||
|
||||
## 2023-04-05 - 4.0.35 - core
|
||||
|
||||
Core functionalities updated.
|
||||
|
||||
- Core functionalities updated and fixes applied
|
||||
|
||||
## 2023-03-14 - 4.0.33 - core
|
||||
|
||||
Routine core fixes and updates.
|
||||
|
||||
- Core functionalities updated
|
||||
|
||||
## 2023-03-09 - 4.0.32 - core
|
||||
|
||||
Routine maintenance for core.
|
||||
|
||||
- Core updates and fixes
|
||||
|
||||
## 2023-02-15 - 4.0.31 - core
|
||||
|
||||
Core updates applied.
|
||||
|
||||
- Fixes and updates to core functionalities
|
||||
|
||||
## 2023-02-06 - 4.0.30 - core
|
||||
|
||||
Routine fixes.
|
||||
|
||||
- Multiple core updates and fixes
|
||||
|
||||
## 2023-01-12 - 4.0.29 - core
|
||||
|
||||
Core updates applied.
|
||||
|
||||
- Fixes and updates to core functionalities
|
||||
|
||||
## 2022-11-20 - 4.0.27 - core
|
||||
|
||||
Routine core fixes.
|
||||
|
||||
- Core functionalities updated and fixed
|
||||
|
||||
## 2022-10-31 - 4.0.26 - core
|
||||
|
||||
Routine maintenance and fixes.
|
||||
|
||||
- Core functionalities updated
|
||||
|
||||
## 2022-10-24 - 4.0.24 - business.IContract
|
||||
|
||||
Added business logic for contracts.
|
||||
|
||||
- Added IContract logic to business module
|
||||
|
||||
## 2022-09-14 - 4.0.21 - core
|
||||
|
||||
Routine core updates and fixes.
|
||||
|
||||
- Core functionalities updated and fixed
|
||||
|
||||
## 2022-08-17 - 4.0.18 - core
|
||||
|
||||
Routine maintenance for core.
|
||||
|
||||
- Core functionalities updated and fixes applied
|
||||
|
||||
## 2022-06-16 - 4.0.17 - core
|
||||
|
||||
Routine fixes.
|
||||
|
||||
- Core functionalities updated
|
||||
|
||||
## 2022-04-28 - 4.0.0 - core
|
||||
|
||||
Major update with significant core changes.
|
||||
|
||||
- Switch to ESM format
|
||||
- Multiple core functionalities updated and fixed
|
14
package.json
14
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tsclass/tsclass",
|
||||
"version": "4.0.54",
|
||||
"version": "4.0.65",
|
||||
"private": false,
|
||||
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -37,14 +37,14 @@
|
||||
},
|
||||
"homepage": "https://github.com/tsclass/tsclass#readme",
|
||||
"dependencies": {
|
||||
"type-fest": "^4.10.2"
|
||||
"type-fest": "^4.20.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@git.zone/tsbuild": "^2.1.72",
|
||||
"@git.zone/tsrun": "^1.2.46",
|
||||
"@git.zone/tstest": "^1.0.86",
|
||||
"@push.rocks/tapbundle": "^5.0.15",
|
||||
"@types/node": "^20.11.17"
|
||||
"@git.zone/tsbuild": "^2.1.82",
|
||||
"@git.zone/tsrun": "^1.2.49",
|
||||
"@git.zone/tstest": "^1.0.90",
|
||||
"@push.rocks/tapbundle": "^5.0.23",
|
||||
"@types/node": "^20.14.9"
|
||||
},
|
||||
"files": [
|
||||
"ts/**/*",
|
||||
|
8795
pnpm-lock.yaml
generated
8795
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
/**
|
||||
* autocreated commitinfo by @pushrocks/commitinfo
|
||||
* autocreated commitinfo by @push.rocks/commitinfo
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@tsclass/tsclass',
|
||||
version: '4.0.54',
|
||||
version: '4.0.65',
|
||||
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ export interface IContact {
|
||||
salutation?: TContactSalutation;
|
||||
type: TContactType;
|
||||
title?: TContactTitle;
|
||||
relationship?: 'customer' | 'supplier' | 'partner' | 'employee' | 'other';
|
||||
name: string;
|
||||
surname?: string;
|
||||
legalEntity?: string;
|
||||
|
@ -16,6 +16,7 @@ export interface IInvoice {
|
||||
id: string;
|
||||
billedBy: business.IContact;
|
||||
billedTo: business.IContact;
|
||||
type: 'creditnote' | 'debitnote';
|
||||
status: TInvoiceStatus;
|
||||
items: IInvoiceItem[];
|
||||
periodOfPerformance?: {
|
||||
|
@ -1,16 +1,24 @@
|
||||
export type TDnsRecordType =
|
||||
| 'A'
|
||||
| 'AAAA'
|
||||
| 'CNAME'
|
||||
| 'LOC'
|
||||
| 'PTR'
|
||||
| 'MX'
|
||||
| 'NAPTR'
|
||||
| 'NS'
|
||||
| 'SOA'
|
||||
| 'SPF'
|
||||
| 'SRV'
|
||||
| 'TXT';
|
||||
| "A"
|
||||
| "AAAA"
|
||||
| "CNAME"
|
||||
| "LOC"
|
||||
| "PTR"
|
||||
| "MX"
|
||||
| "NAPTR"
|
||||
| "NS"
|
||||
| "SRV"
|
||||
| "TXT"
|
||||
| "CAA"
|
||||
| "CERT"
|
||||
| "DNSKEY"
|
||||
| "DS"
|
||||
| "HTTPS"
|
||||
| "SMIMEA"
|
||||
| "SSHFP"
|
||||
| "SVCB"
|
||||
| "TLSA"
|
||||
| "URI";
|
||||
|
||||
export interface IDnsRecord {
|
||||
name: string;
|
||||
|
@ -7,8 +7,16 @@ export interface IProduct {
|
||||
os: 'web-based',
|
||||
category: 'Business Application',
|
||||
offers: any[];
|
||||
features: IProductFeature[];
|
||||
landingPage: string;
|
||||
appLink: string;
|
||||
logoLink: string;
|
||||
publisher?: ICompany;
|
||||
}
|
||||
|
||||
export interface IProductFeature {
|
||||
heading: string;
|
||||
description: string;
|
||||
linkText: string;
|
||||
linkUrl: string;
|
||||
}
|
@ -1,7 +1,16 @@
|
||||
export interface IS3Descriptor {
|
||||
endpoint: string;
|
||||
port?: number;
|
||||
port?: number | string;
|
||||
useSsl?: boolean;
|
||||
accessKey: string;
|
||||
accessSecret: string;
|
||||
/**
|
||||
* may be used to preselect a certain bucket
|
||||
*/
|
||||
bucketName?: string;
|
||||
/**
|
||||
* may be used to preselect a certain directory
|
||||
*/
|
||||
directoryPath?: string;
|
||||
region?: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user