Compare commits
24 Commits
Author | SHA1 | Date | |
---|---|---|---|
e6811c75fc | |||
e0ba9c6cef | |||
90c56c6d4f | |||
91caa9a747 | |||
115250edab | |||
1127b8961f | |||
cc15835c8e | |||
300ac01629 | |||
a9a2f94f7e | |||
5e8473d16b | |||
6366b4f990 | |||
a3e147f946 | |||
1c6fc3666d | |||
891b0f0f10 | |||
96a31cbc71 | |||
450139682f | |||
741b361f4b | |||
cabd160fb2 | |||
12a9e231ae | |||
f9c7f90d73 | |||
6095e0ea5c | |||
63b2bd59a2 | |||
c4d13e6f8a | |||
f6bda9a20c |
71
changelog.md
71
changelog.md
@ -1,5 +1,76 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-03-10 - 4.4.4 - fix(business)
|
||||||
|
Fixes typo in ILetter interface
|
||||||
|
|
||||||
|
- Removed unused property 'letterData' from ILetter content structure.
|
||||||
|
|
||||||
|
## 2025-03-07 - 4.4.3 - fix(network)
|
||||||
|
Fix destinationPort type for IReverseProxyConfig
|
||||||
|
|
||||||
|
- Corrected the type of destinationPort in IReverseProxyConfig from 'string' to 'number'.
|
||||||
|
|
||||||
|
## 2025-03-07 - 4.4.2 - fix(dependencies)
|
||||||
|
Updated package dependencies for improved stability and performance.
|
||||||
|
|
||||||
|
- Updated 'type-fest' dependency to version ^4.37.0.
|
||||||
|
- Updated '@git.zone/tsbuild' to version ^2.2.6.
|
||||||
|
- Updated '@git.zone/tstest' to version ^1.0.96.
|
||||||
|
- Updated '@push.rocks/tapbundle' to ^5.5.6.
|
||||||
|
- Updated '@types/node' to ^22.13.9.
|
||||||
|
|
||||||
|
## 2025-03-07 - 4.4.1 - fix(business)
|
||||||
|
Fix missing letterData property in ILetter interface.
|
||||||
|
|
||||||
|
- Added missing letterData property to the content structure of the ILetter interface.
|
||||||
|
- Ensured consistency and completeness of ILetter interface for proper data handling of letter components.
|
||||||
|
|
||||||
|
## 2025-01-11 - 4.4.0 - feat(website)
|
||||||
|
Add ILinkBlock interface for managing groups of links
|
||||||
|
|
||||||
|
- Introduced a new interface ILinkBlock in ts/website/linkblock.ts for managing grouped links.
|
||||||
|
- Exported ILinkBlock from ts/website/index.ts to make it available for external usage.
|
||||||
|
|
||||||
|
## 2025-01-10 - 4.3.0 - feat(website)
|
||||||
|
Added new ILink interface to the website module.
|
||||||
|
|
||||||
|
- Introduced ILink interface with properties like url, text, description, icon, and target.
|
||||||
|
- Updated ts/website/index.ts to export the new link interface.
|
||||||
|
|
||||||
|
## 2024-12-11 - 4.2.0 - feat(dependencies)
|
||||||
|
Update dependencies and enhance code documentation
|
||||||
|
|
||||||
|
- Updated 'type-fest' dependency from ^4.20.1 to ^4.30.0 for improved type definitions.
|
||||||
|
- Updated development dependencies for better development experience.
|
||||||
|
- Enhanced code documentation for the ICommitInfo interface with detailed JSDoc comments.
|
||||||
|
|
||||||
|
## 2024-07-26 - 4.1.2 - fix(finance)
|
||||||
|
Updated IInvoice interface to support various currencies.
|
||||||
|
|
||||||
|
- Changed the 'currency' field in the IInvoice interface from fixed 'EUR' to type TCurrency.
|
||||||
|
|
||||||
|
## 2024-07-26 - 4.1.1 - fix(finance)
|
||||||
|
Fix IInvoice interface to correctly include the currency field
|
||||||
|
|
||||||
|
- Corrected the IInvoice interface definition in `ts/finance/invoice.ts`
|
||||||
|
- Moved `position` field to the top of the IInvoiceItem interface
|
||||||
|
|
||||||
|
## 2024-07-26 - 4.1.0 - feat(finance)
|
||||||
|
Added notes field to IInvoice interface
|
||||||
|
|
||||||
|
- Expanded IInvoice interface to include notes field allowing additional notes for invoices.
|
||||||
|
|
||||||
|
## 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)
|
## 2024-06-28 - 4.0.63 - fix(saas)
|
||||||
Refactor IProduct to separate IProductFeature interface
|
Refactor IProduct to separate IProductFeature interface
|
||||||
|
|
||||||
|
14
package.json
14
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "4.0.63",
|
"version": "4.4.4",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
"description": "Provides TypeScript definitions for various business, financial, networking, content, and other common classes.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -37,14 +37,14 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/tsclass/tsclass#readme",
|
"homepage": "https://github.com/tsclass/tsclass#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^4.20.1"
|
"type-fest": "^4.37.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@git.zone/tsbuild": "^2.1.82",
|
"@git.zone/tsbuild": "^2.2.6",
|
||||||
"@git.zone/tsrun": "^1.2.49",
|
"@git.zone/tsrun": "^1.3.3",
|
||||||
"@git.zone/tstest": "^1.0.90",
|
"@git.zone/tstest": "^1.0.96",
|
||||||
"@push.rocks/tapbundle": "^5.0.23",
|
"@push.rocks/tapbundle": "^5.5.6",
|
||||||
"@types/node": "^20.14.9"
|
"@types/node": "^22.13.9"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
|
6502
pnpm-lock.yaml
generated
6502
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.63',
|
version: '4.4.4',
|
||||||
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
description: 'Provides TypeScript definitions for various business, financial, networking, content, and other common classes.'
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ export interface IContact {
|
|||||||
salutation?: TContactSalutation;
|
salutation?: TContactSalutation;
|
||||||
type: TContactType;
|
type: TContactType;
|
||||||
title?: TContactTitle;
|
title?: TContactTitle;
|
||||||
|
relationship?: 'customer' | 'supplier' | 'partner' | 'employee' | 'other';
|
||||||
name: string;
|
name: string;
|
||||||
surname?: string;
|
surname?: string;
|
||||||
legalEntity?: string;
|
legalEntity?: string;
|
||||||
|
@ -1,5 +1,20 @@
|
|||||||
export interface ICommitInfo {
|
export interface ICommitInfo {
|
||||||
|
/**
|
||||||
|
* the name of the project
|
||||||
|
*/
|
||||||
name: string;
|
name: string;
|
||||||
|
/**
|
||||||
|
* the current version of the project
|
||||||
|
*/
|
||||||
version: string;
|
version: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* the description of the project
|
||||||
|
*/
|
||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* the changelog of the project
|
||||||
|
*/
|
||||||
|
changelog?: string[];
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
import { business, finance } from '../index.js';
|
import { business, finance } from '../index.js';
|
||||||
|
import type { TCurrency } from './currency.js';
|
||||||
|
|
||||||
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
||||||
|
|
||||||
export interface IInvoiceItem {
|
export interface IInvoiceItem {
|
||||||
|
position: number;
|
||||||
name: string;
|
name: string;
|
||||||
articleNumber?: string;
|
articleNumber?: string;
|
||||||
unitType: string;
|
unitType: string;
|
||||||
unitQuantity: number;
|
unitQuantity: number;
|
||||||
unitNetPrice: number;
|
unitNetPrice: number;
|
||||||
vatPercentage: number;
|
vatPercentage: number;
|
||||||
currency: 'EUR';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IInvoice {
|
export interface IInvoice {
|
||||||
id: string;
|
id: string;
|
||||||
billedBy: business.IContact;
|
billedBy: business.IContact;
|
||||||
billedTo: business.IContact;
|
billedTo: business.IContact;
|
||||||
|
type: 'creditnote' | 'debitnote';
|
||||||
status: TInvoiceStatus;
|
status: TInvoiceStatus;
|
||||||
items: IInvoiceItem[];
|
items: IInvoiceItem[];
|
||||||
periodOfPerformance?: {
|
periodOfPerformance?: {
|
||||||
@ -34,5 +36,7 @@ export interface IInvoice {
|
|||||||
items: IInvoiceItem[];
|
items: IInvoiceItem[];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
notes: string[];
|
||||||
paymentOptions?: finance.IPaymentOptionInfo;
|
paymentOptions?: finance.IPaymentOptionInfo;
|
||||||
|
currency: TCurrency;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
export interface IReverseProxyConfig {
|
export interface IReverseProxyConfig {
|
||||||
destinationIp: string;
|
destinationIp: string;
|
||||||
destinationPort: string;
|
destinationPort: number;
|
||||||
hostName: string;
|
hostName: string;
|
||||||
privateKey: string;
|
privateKey: string;
|
||||||
publicKey: string;
|
publicKey: string;
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
export * from './link.js';
|
||||||
export * from './menuitem.js';
|
export * from './menuitem.js';
|
||||||
|
export * from './linkblock.js';
|
||||||
|
7
ts/website/link.ts
Normal file
7
ts/website/link.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export interface ILink {
|
||||||
|
url: string;
|
||||||
|
text?: string;
|
||||||
|
description?: string;
|
||||||
|
icon?: string;
|
||||||
|
target?: '_blank' | '_self' | '_parent' | '_top';
|
||||||
|
}
|
6
ts/website/linkblock.ts
Normal file
6
ts/website/linkblock.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import type { ILink } from './link.js';
|
||||||
|
|
||||||
|
export interface ILinkBlock {
|
||||||
|
title: string;
|
||||||
|
links: ILink[];
|
||||||
|
}
|
Reference in New Issue
Block a user