@dangl/ava-model 2.25.6-add-basic-npm-pa0019 → 2.25.6-add-basic-npm-pa0024
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dangl/ava-model",
|
|
3
|
-
"version": "2.25.6-add-basic-npm-
|
|
3
|
+
"version": "2.25.6-add-basic-npm-pa0024",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
6
|
-
"types": "
|
|
5
|
+
"main": "fesm2022/dangl-ava-model.mjs",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
9
|
"build": "ng-packagr -p ng-package.json",
|
package/src/ava-models.ts
CHANGED
|
@@ -1213,7 +1213,7 @@ export interface IServiceSpecificationDto {
|
|
|
1213
1213
|
/** Base interface definition for elements within an ElementContainerBase. */
|
|
1214
1214
|
export abstract class IElementDto implements IIElementDto {
|
|
1215
1215
|
elementType!: string;
|
|
1216
|
-
elementTypeDiscriminator
|
|
1216
|
+
elementTypeDiscriminator!: string;
|
|
1217
1217
|
/** Elements GUID identifier. */
|
|
1218
1218
|
id!: string;
|
|
1219
1219
|
/** This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
|
|
@@ -1325,6 +1325,7 @@ export abstract class IElementDto implements IIElementDto {
|
|
|
1325
1325
|
/** Base interface definition for elements within an ElementContainerBase. */
|
|
1326
1326
|
export interface IIElementDto {
|
|
1327
1327
|
elementType: string;
|
|
1328
|
+
elementTypeDiscriminator: string;
|
|
1328
1329
|
/** Elements GUID identifier. */
|
|
1329
1330
|
id: string;
|
|
1330
1331
|
/** This is used to store the GAEB XML Id within this IElement. This data is not used for any calculations or evaluations but only for GAEB serialization and deserialization. */
|
|
@@ -1589,7 +1590,8 @@ export class PositionDto extends IElementDto implements IPositionDto {
|
|
|
1589
1590
|
htmlLongText?: string | undefined;
|
|
1590
1591
|
/** Indicates if this DescriptionBase element contains Buyer or Bidder additions to the text. */
|
|
1591
1592
|
additionType!: AdditionTypeDto;
|
|
1592
|
-
elementType = 'Position';
|
|
1593
|
+
elementType = 'Position';
|
|
1594
|
+
elementTypeDiscriminator = 'Position';
|
|
1593
1595
|
/** Quantity assignments are, in contrast to SubDescriptions, used to categorize parts of this Position. For example, it could be categorized by cost group - e.g. a Position describing concrete walls could follow the German DIN 276 Cost Groups Standard and specify that of the total 1.000m² wall, 500m² are classified as exterior walls and 500m² are classified as interior walls. They would then have different cost groups associated, e.g. for accounting purposes. */
|
|
1594
1596
|
quantityAssignments?: QuantityAssignmentDto[] | undefined;
|
|
1595
1597
|
/** The CommerceProperties support specialized information that is only useful in GAEB XML 9x data exchange phases. It is intended to provide article information. */
|
|
@@ -1777,14 +1779,14 @@ elementType = 'Position';
|
|
|
1777
1779
|
}
|
|
1778
1780
|
}
|
|
1779
1781
|
|
|
1780
|
-
static fromJS(data: any): PositionDto {
|
|
1782
|
+
static override fromJS(data: any): PositionDto {
|
|
1781
1783
|
data = typeof data === 'object' ? data : {};
|
|
1782
1784
|
let result = new PositionDto();
|
|
1783
1785
|
result.init!(data);
|
|
1784
1786
|
return result;
|
|
1785
1787
|
}
|
|
1786
1788
|
|
|
1787
|
-
toJSON?(data?: any) {
|
|
1789
|
+
override toJSON?(data?: any) {
|
|
1788
1790
|
data = typeof data === 'object' ? data : {};
|
|
1789
1791
|
data["unitPrice"] = this.unitPrice;
|
|
1790
1792
|
data["unitPriceOverride"] = this.unitPriceOverride;
|
|
@@ -2455,8 +2457,6 @@ export class SubDescriptionDto implements ISubDescriptionDto {
|
|
|
2455
2457
|
/** This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself. */
|
|
2456
2458
|
descriptionId?: string | undefined;
|
|
2457
2459
|
readonly hasBidderCommentInHtmlLongText!: boolean;
|
|
2458
|
-
elementType!: string;
|
|
2459
|
-
elementTypeDiscriminator?: string | undefined;
|
|
2460
2460
|
|
|
2461
2461
|
constructor(data?: ISubDescriptionDto) {
|
|
2462
2462
|
if (data) {
|
|
@@ -2509,8 +2509,6 @@ export class SubDescriptionDto implements ISubDescriptionDto {
|
|
|
2509
2509
|
}
|
|
2510
2510
|
this.descriptionId = _data["descriptionId"];
|
|
2511
2511
|
(this as any).hasBidderCommentInHtmlLongText = _data["hasBidderCommentInHtmlLongText"];
|
|
2512
|
-
this.elementType = _data["elementType"];
|
|
2513
|
-
this.elementTypeDiscriminator = _data["elementTypeDiscriminator"];
|
|
2514
2512
|
}
|
|
2515
2513
|
}
|
|
2516
2514
|
|
|
@@ -2564,8 +2562,6 @@ export class SubDescriptionDto implements ISubDescriptionDto {
|
|
|
2564
2562
|
}
|
|
2565
2563
|
data["descriptionId"] = this.descriptionId;
|
|
2566
2564
|
data["hasBidderCommentInHtmlLongText"] = this.hasBidderCommentInHtmlLongText;
|
|
2567
|
-
data["elementType"] = this.elementType;
|
|
2568
|
-
data["elementTypeDiscriminator"] = this.elementTypeDiscriminator;
|
|
2569
2565
|
return data;
|
|
2570
2566
|
}
|
|
2571
2567
|
}
|
|
@@ -2613,8 +2609,6 @@ export interface ISubDescriptionDto {
|
|
|
2613
2609
|
/** This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself. */
|
|
2614
2610
|
descriptionId?: string | undefined;
|
|
2615
2611
|
hasBidderCommentInHtmlLongText: boolean;
|
|
2616
|
-
elementType: string;
|
|
2617
|
-
elementTypeDiscriminator?: string | undefined;
|
|
2618
2612
|
}
|
|
2619
2613
|
|
|
2620
2614
|
/** Indicates the origin of an element. */
|
|
@@ -3655,7 +3649,8 @@ export class ExecutionDescriptionDto extends IElementDto implements IExecutionDe
|
|
|
3655
3649
|
label?: string | undefined;
|
|
3656
3650
|
/** Uniquely identifies this ExecutionDescription. */
|
|
3657
3651
|
identifier?: string | undefined;
|
|
3658
|
-
elementType = 'ExecutionDescription';
|
|
3652
|
+
elementType = 'ExecutionDescription';
|
|
3653
|
+
elementTypeDiscriminator = 'ExecutionDescription';
|
|
3659
3654
|
|
|
3660
3655
|
constructor(data?: IExecutionDescriptionDto) {
|
|
3661
3656
|
super(data);
|
|
@@ -3678,14 +3673,14 @@ elementType = 'ExecutionDescription';
|
|
|
3678
3673
|
}
|
|
3679
3674
|
}
|
|
3680
3675
|
|
|
3681
|
-
static fromJS(data: any): ExecutionDescriptionDto {
|
|
3676
|
+
static override fromJS(data: any): ExecutionDescriptionDto {
|
|
3682
3677
|
data = typeof data === 'object' ? data : {};
|
|
3683
3678
|
let result = new ExecutionDescriptionDto();
|
|
3684
3679
|
result.init!(data);
|
|
3685
3680
|
return result;
|
|
3686
3681
|
}
|
|
3687
3682
|
|
|
3688
|
-
toJSON?(data?: any) {
|
|
3683
|
+
override toJSON?(data?: any) {
|
|
3689
3684
|
data = typeof data === 'object' ? data : {};
|
|
3690
3685
|
if (Array.isArray(this.blocks)) {
|
|
3691
3686
|
data["blocks"] = [];
|
|
@@ -3745,7 +3740,8 @@ export class NoteTextDto extends IElementDto implements INoteTextDto {
|
|
|
3745
3740
|
identifier?: string | undefined;
|
|
3746
3741
|
/** This represents a standardized description. This means that instead of solely relying on texts to describe a service, external standards and definitions are referenced for a common understanding. */
|
|
3747
3742
|
standardizedDescription?: StandardizedDescriptionDto | undefined;
|
|
3748
|
-
elementType = 'NoteText';
|
|
3743
|
+
elementType = 'NoteText';
|
|
3744
|
+
elementTypeDiscriminator = 'NoteText';
|
|
3749
3745
|
/** This is an identifier specific for this description. Some exchange formats, like GAEB XML, use it to identify descriptions. It's different to an elements identifier in that it should only apply to the description component, meaning the text itself. */
|
|
3750
3746
|
descriptionId?: string | undefined;
|
|
3751
3747
|
/** This class models special properties that only apply to some exchange scenarios where ÖNorm is used. It is special for NoteTexts. */
|
|
@@ -3782,14 +3778,14 @@ elementType = 'NoteText';
|
|
|
3782
3778
|
}
|
|
3783
3779
|
}
|
|
3784
3780
|
|
|
3785
|
-
static fromJS(data: any): NoteTextDto {
|
|
3781
|
+
static override fromJS(data: any): NoteTextDto {
|
|
3786
3782
|
data = typeof data === 'object' ? data : {};
|
|
3787
3783
|
let result = new NoteTextDto();
|
|
3788
3784
|
result.init!(data);
|
|
3789
3785
|
return result;
|
|
3790
3786
|
}
|
|
3791
3787
|
|
|
3792
|
-
toJSON?(data?: any) {
|
|
3788
|
+
override toJSON?(data?: any) {
|
|
3793
3789
|
data = typeof data === 'object' ? data : {};
|
|
3794
3790
|
data["isOpeningText"] = this.isOpeningText;
|
|
3795
3791
|
data["isClosingText"] = this.isClosingText;
|
|
@@ -3963,7 +3959,8 @@ export class ServiceSpecificationGroupDto extends IElementDto implements IServic
|
|
|
3963
3959
|
comissionStatus!: ComissionStatusDto;
|
|
3964
3960
|
/** The ItemNumber for this INumberedElement interface. */
|
|
3965
3961
|
itemNumber?: ItemNumberDto | undefined;
|
|
3966
|
-
elementType = 'ServiceSpecificationGroup';
|
|
3962
|
+
elementType = 'ServiceSpecificationGroup';
|
|
3963
|
+
elementTypeDiscriminator = 'ServiceSpecificationGroup';
|
|
3967
3964
|
/** This indicates if this group is the parent of a lot. See the documentation for more information about working with lots. */
|
|
3968
3965
|
readonly isLot!: boolean;
|
|
3969
3966
|
/** If this group is an alternative for a base group, then this property should point to the id of the group in this service specification that it can replace. If this is an alternative group to a base group, the PriceType should typically be set to "WithoutTotal" so this group does not factor into total costs. The PriceType is not changed when this property is set */
|
|
@@ -4047,14 +4044,14 @@ elementType = 'ServiceSpecificationGroup';
|
|
|
4047
4044
|
}
|
|
4048
4045
|
}
|
|
4049
4046
|
|
|
4050
|
-
static fromJS(data: any): ServiceSpecificationGroupDto {
|
|
4047
|
+
static override fromJS(data: any): ServiceSpecificationGroupDto {
|
|
4051
4048
|
data = typeof data === 'object' ? data : {};
|
|
4052
4049
|
let result = new ServiceSpecificationGroupDto();
|
|
4053
4050
|
result.init!(data);
|
|
4054
4051
|
return result;
|
|
4055
4052
|
}
|
|
4056
4053
|
|
|
4057
|
-
toJSON?(data?: any) {
|
|
4054
|
+
override toJSON?(data?: any) {
|
|
4058
4055
|
data = typeof data === 'object' ? data : {};
|
|
4059
4056
|
data["projectHourlyWage"] = this.projectHourlyWage;
|
|
4060
4057
|
data["projectTaxRate"] = this.projectTaxRate;
|
package/src/version.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// This file is automatically generated as part of the build process
|
|
2
2
|
|
|
3
3
|
export const avaModelsVersion = {
|
|
4
|
-
version: "2.25.6-add-basic-npm-
|
|
5
|
-
commitInfo: "Branch.feature-add-basic-npm-package.Sha.
|
|
6
|
-
commitDate: "2025-08-
|
|
7
|
-
commitHash: "
|
|
8
|
-
informationalVersion: "2.25.6-add-basic-npm-package.
|
|
9
|
-
buildDateUtc: new Date(Date.UTC(2025, 7,
|
|
4
|
+
version: "2.25.6-add-basic-npm-pa0024",
|
|
5
|
+
commitInfo: "Branch.feature-add-basic-npm-package.Sha.141f14d587c6545f19d8eb29bfd4efb44cf7d68f",
|
|
6
|
+
commitDate: "2025-08-08",
|
|
7
|
+
commitHash: "141f14d587c6545f19d8eb29bfd4efb44cf7d68f",
|
|
8
|
+
informationalVersion: "2.25.6-add-basic-npm-package.24+Branch.feature-add-basic-npm-package.Sha.141f14d587c6545f19d8eb29bfd4efb44cf7d68f",
|
|
9
|
+
buildDateUtc: new Date(Date.UTC(2025, 7, 8, 10, 25, 42))
|
|
10
10
|
}
|
package/dist/ava-model/README.md
DELETED