dotvvm-types 4.2.1 → 4.2.2
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 +1 -1
- package/types/index.d.ts +4 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ declare module "metadata/typeMap" {
|
|
|
82
82
|
export function updateTypeInfo(newTypes: TypeMap | undefined): void;
|
|
83
83
|
export function replaceTypeInfo(newTypes: TypeMap | undefined): void;
|
|
84
84
|
export function areObjectTypesEqual(currentValue: any, newVal: any): boolean;
|
|
85
|
+
export function formatTypeName(type: TypeDefinition, prefix?: string, suffix?: string): string;
|
|
85
86
|
}
|
|
86
87
|
declare module "events" {
|
|
87
88
|
export class DotvvmEvent<T> {
|
|
@@ -1120,16 +1121,19 @@ declare type TypeMap = {
|
|
|
1120
1121
|
[typeId: string]: TypeMetadata;
|
|
1121
1122
|
};
|
|
1122
1123
|
declare type DynamicTypeMetadata = {
|
|
1124
|
+
debugName?: string;
|
|
1123
1125
|
type: "dynamic";
|
|
1124
1126
|
};
|
|
1125
1127
|
declare type ObjectTypeMetadata = {
|
|
1126
1128
|
type: "object";
|
|
1129
|
+
debugName?: string;
|
|
1127
1130
|
properties: {
|
|
1128
1131
|
[prop: string]: PropertyMetadata;
|
|
1129
1132
|
};
|
|
1130
1133
|
};
|
|
1131
1134
|
declare type EnumTypeMetadata = {
|
|
1132
1135
|
type: "enum";
|
|
1136
|
+
debugName?: string;
|
|
1133
1137
|
values: {
|
|
1134
1138
|
[name: string]: number;
|
|
1135
1139
|
};
|