@itwin/presentation-shared 2.0.0-alpha.11 → 2.0.0-alpha.13
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/CHANGELOG.md +175 -0
- package/README.md +19 -34
- package/lib/{esm/presentation-shared.d.ts → presentation-shared.d.ts} +7 -5
- package/lib/presentation-shared.d.ts.map +1 -0
- package/lib/{esm/presentation-shared.js → presentation-shared.js} +6 -2
- package/lib/presentation-shared.js.map +1 -0
- package/lib/shared/ConcatenatedValue.d.ts.map +1 -0
- package/lib/shared/ConcatenatedValue.js.map +1 -0
- package/lib/{cjs/shared → shared}/ECSqlCore.d.ts +9 -0
- package/lib/shared/ECSqlCore.d.ts.map +1 -0
- package/lib/shared/ECSqlCore.js +37 -0
- package/lib/shared/ECSqlCore.js.map +1 -0
- package/lib/shared/EachValueFrom.d.ts +30 -0
- package/lib/shared/EachValueFrom.d.ts.map +1 -0
- package/lib/shared/EachValueFrom.js +115 -0
- package/lib/shared/EachValueFrom.js.map +1 -0
- package/lib/shared/Event.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/Event.js.map +1 -1
- package/lib/shared/Formatting.d.ts.map +1 -0
- package/lib/shared/Formatting.js.map +1 -0
- package/lib/{esm/shared → shared}/InstanceLabelSelectClauseFactory.d.ts +1 -1
- package/lib/shared/InstanceLabelSelectClauseFactory.d.ts.map +1 -0
- package/lib/shared/InstanceLabelSelectClauseFactory.js.map +1 -0
- package/lib/shared/Logging.d.ts.map +1 -0
- package/lib/shared/Logging.js.map +1 -0
- package/lib/shared/MappedTypes.d.ts +48 -0
- package/lib/shared/MappedTypes.d.ts.map +1 -0
- package/lib/shared/MappedTypes.js.map +1 -0
- package/lib/{cjs/shared → shared}/Metadata.d.ts +53 -44
- package/lib/shared/Metadata.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/Metadata.js +7 -6
- package/lib/shared/Metadata.js.map +1 -0
- package/lib/{cjs/shared → shared}/Utils.d.ts +0 -6
- package/lib/shared/Utils.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/Utils.js +0 -15
- package/lib/shared/Utils.js.map +1 -0
- package/lib/{esm/shared → shared}/Values.d.ts +23 -13
- package/lib/shared/Values.d.ts.map +1 -0
- package/lib/shared/Values.js +121 -0
- package/lib/shared/Values.js.map +1 -0
- package/lib/shared/ecsql-snippets/ECSqlJoinSnippets.d.ts +174 -0
- package/lib/shared/ecsql-snippets/ECSqlJoinSnippets.d.ts.map +1 -0
- package/lib/shared/ecsql-snippets/ECSqlJoinSnippets.js +177 -0
- package/lib/shared/ecsql-snippets/ECSqlJoinSnippets.js.map +1 -0
- package/lib/{cjs/shared → shared}/ecsql-snippets/ECSqlValueSelectorSnippets.d.ts +3 -3
- package/lib/shared/ecsql-snippets/ECSqlValueSelectorSnippets.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/ecsql-snippets/ECSqlValueSelectorSnippets.js +3 -3
- package/lib/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js.map +1 -0
- package/lib/{cjs/shared → shared}/ecsql-snippets/index.d.ts +1 -1
- package/lib/shared/ecsql-snippets/index.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/ecsql-snippets/index.js +1 -1
- package/lib/shared/ecsql-snippets/index.js.map +1 -0
- package/lib/{esm/shared → shared}/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.d.ts +2 -2
- package/lib/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.js +1 -4
- package/lib/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.js.map +1 -0
- package/lib/{cjs/shared → shared}/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.d.ts +3 -3
- package/lib/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.js +3 -3
- package/lib/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.js.map +1 -0
- package/lib/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.d.ts.map +1 -0
- package/lib/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.js.map +1 -0
- package/lib/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.d.ts.map +1 -0
- package/lib/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.js.map +1 -0
- package/lib/{cjs/shared → shared}/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.d.ts +2 -2
- package/lib/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.d.ts.map +1 -0
- package/lib/{esm/shared → shared}/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.js +4 -5
- package/lib/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.js.map +1 -0
- package/lib/shared/instance-label-factory-impls/Utils.d.ts.map +1 -0
- package/lib/shared/instance-label-factory-impls/Utils.js.map +1 -0
- package/package.json +16 -17
- package/lib/cjs/package.json +0 -1
- package/lib/cjs/presentation-shared.d.ts +0 -21
- package/lib/cjs/presentation-shared.d.ts.map +0 -1
- package/lib/cjs/presentation-shared.js +0 -75
- package/lib/cjs/presentation-shared.js.map +0 -1
- package/lib/cjs/shared/ConcatenatedValue.d.ts.map +0 -1
- package/lib/cjs/shared/ConcatenatedValue.js +0 -49
- package/lib/cjs/shared/ConcatenatedValue.js.map +0 -1
- package/lib/cjs/shared/ECSqlCore.d.ts.map +0 -1
- package/lib/cjs/shared/ECSqlCore.js +0 -7
- package/lib/cjs/shared/ECSqlCore.js.map +0 -1
- package/lib/cjs/shared/Event.d.ts.map +0 -1
- package/lib/cjs/shared/Event.js +0 -7
- package/lib/cjs/shared/Event.js.map +0 -1
- package/lib/cjs/shared/Formatting.d.ts.map +0 -1
- package/lib/cjs/shared/Formatting.js +0 -118
- package/lib/cjs/shared/Formatting.js.map +0 -1
- package/lib/cjs/shared/InstanceLabelSelectClauseFactory.d.ts +0 -73
- package/lib/cjs/shared/InstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/cjs/shared/InstanceLabelSelectClauseFactory.js +0 -30
- package/lib/cjs/shared/InstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/cjs/shared/Logging.d.ts.map +0 -1
- package/lib/cjs/shared/Logging.js +0 -21
- package/lib/cjs/shared/Logging.js.map +0 -1
- package/lib/cjs/shared/MappedTypes.d.ts +0 -17
- package/lib/cjs/shared/MappedTypes.d.ts.map +0 -1
- package/lib/cjs/shared/MappedTypes.js +0 -7
- package/lib/cjs/shared/MappedTypes.js.map +0 -1
- package/lib/cjs/shared/Metadata.d.ts.map +0 -1
- package/lib/cjs/shared/Metadata.js +0 -56
- package/lib/cjs/shared/Metadata.js.map +0 -1
- package/lib/cjs/shared/Utils.d.ts.map +0 -1
- package/lib/cjs/shared/Utils.js +0 -123
- package/lib/cjs/shared/Utils.js.map +0 -1
- package/lib/cjs/shared/Values.d.ts +0 -121
- package/lib/cjs/shared/Values.d.ts.map +0 -1
- package/lib/cjs/shared/Values.js +0 -118
- package/lib/cjs/shared/Values.js.map +0 -1
- package/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.d.ts +0 -66
- package/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.d.ts.map +0 -1
- package/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.js +0 -171
- package/lib/cjs/shared/ecsql-snippets/ECSqlJoinSnippets.js.map +0 -1
- package/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.d.ts.map +0 -1
- package/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js +0 -275
- package/lib/cjs/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js.map +0 -1
- package/lib/cjs/shared/ecsql-snippets/index.d.ts.map +0 -1
- package/lib/cjs/shared/ecsql-snippets/index.js +0 -19
- package/lib/cjs/shared/ecsql-snippets/index.js.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.d.ts +0 -17
- package/lib/cjs/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.js +0 -54
- package/lib/cjs/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.js +0 -63
- package/lib/cjs/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.js +0 -40
- package/lib/cjs/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.d.ts.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.js +0 -10
- package/lib/cjs/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.js.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.js +0 -336
- package/lib/cjs/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/Utils.d.ts.map +0 -1
- package/lib/cjs/shared/instance-label-factory-impls/Utils.js +0 -26
- package/lib/cjs/shared/instance-label-factory-impls/Utils.js.map +0 -1
- package/lib/esm/presentation-shared.d.ts.map +0 -1
- package/lib/esm/presentation-shared.js.map +0 -1
- package/lib/esm/shared/ConcatenatedValue.d.ts +0 -46
- package/lib/esm/shared/ConcatenatedValue.d.ts.map +0 -1
- package/lib/esm/shared/ConcatenatedValue.js.map +0 -1
- package/lib/esm/shared/ECSqlCore.d.ts +0 -99
- package/lib/esm/shared/ECSqlCore.d.ts.map +0 -1
- package/lib/esm/shared/ECSqlCore.js +0 -6
- package/lib/esm/shared/ECSqlCore.js.map +0 -1
- package/lib/esm/shared/Event.d.ts +0 -27
- package/lib/esm/shared/Event.d.ts.map +0 -1
- package/lib/esm/shared/Formatting.d.ts +0 -44
- package/lib/esm/shared/Formatting.d.ts.map +0 -1
- package/lib/esm/shared/Formatting.js.map +0 -1
- package/lib/esm/shared/InstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/esm/shared/InstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/esm/shared/Logging.d.ts +0 -27
- package/lib/esm/shared/Logging.d.ts.map +0 -1
- package/lib/esm/shared/Logging.js.map +0 -1
- package/lib/esm/shared/MappedTypes.d.ts +0 -17
- package/lib/esm/shared/MappedTypes.d.ts.map +0 -1
- package/lib/esm/shared/MappedTypes.js.map +0 -1
- package/lib/esm/shared/Metadata.d.ts +0 -505
- package/lib/esm/shared/Metadata.d.ts.map +0 -1
- package/lib/esm/shared/Metadata.js.map +0 -1
- package/lib/esm/shared/Utils.d.ts +0 -66
- package/lib/esm/shared/Utils.d.ts.map +0 -1
- package/lib/esm/shared/Utils.js.map +0 -1
- package/lib/esm/shared/Values.d.ts.map +0 -1
- package/lib/esm/shared/Values.js +0 -115
- package/lib/esm/shared/Values.js.map +0 -1
- package/lib/esm/shared/ecsql-snippets/ECSqlJoinSnippets.d.ts +0 -66
- package/lib/esm/shared/ecsql-snippets/ECSqlJoinSnippets.d.ts.map +0 -1
- package/lib/esm/shared/ecsql-snippets/ECSqlJoinSnippets.js +0 -168
- package/lib/esm/shared/ecsql-snippets/ECSqlJoinSnippets.js.map +0 -1
- package/lib/esm/shared/ecsql-snippets/ECSqlValueSelectorSnippets.d.ts +0 -130
- package/lib/esm/shared/ecsql-snippets/ECSqlValueSelectorSnippets.d.ts.map +0 -1
- package/lib/esm/shared/ecsql-snippets/ECSqlValueSelectorSnippets.js.map +0 -1
- package/lib/esm/shared/ecsql-snippets/index.d.ts +0 -3
- package/lib/esm/shared/ecsql-snippets/index.d.ts.map +0 -1
- package/lib/esm/shared/ecsql-snippets/index.js.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/BisInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.d.ts +0 -39
- package/lib/esm/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/ClassBasedInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.d.ts +0 -12
- package/lib/esm/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.d.ts +0 -198
- package/lib/esm/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.d.ts.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.js.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.d.ts +0 -34
- package/lib/esm/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.d.ts.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.js.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/Utils.d.ts +0 -7
- package/lib/esm/shared/instance-label-factory-impls/Utils.d.ts.map +0 -1
- package/lib/esm/shared/instance-label-factory-impls/Utils.js.map +0 -1
- /package/lib/{cjs/shared → shared}/ConcatenatedValue.d.ts +0 -0
- /package/lib/{esm/shared → shared}/ConcatenatedValue.js +0 -0
- /package/lib/{cjs/shared → shared}/Event.d.ts +0 -0
- /package/lib/{esm/shared → shared}/Event.js +0 -0
- /package/lib/{cjs/shared → shared}/Formatting.d.ts +0 -0
- /package/lib/{esm/shared → shared}/Formatting.js +0 -0
- /package/lib/{esm/shared → shared}/InstanceLabelSelectClauseFactory.js +0 -0
- /package/lib/{cjs/shared → shared}/Logging.d.ts +0 -0
- /package/lib/{esm/shared → shared}/Logging.js +0 -0
- /package/lib/{esm/shared → shared}/MappedTypes.js +0 -0
- /package/lib/{cjs/shared → shared}/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.d.ts +0 -0
- /package/lib/{esm/shared → shared}/instance-label-factory-impls/DefaultInstanceLabelSelectClauseFactory.js +0 -0
- /package/lib/{cjs/shared → shared}/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.d.ts +0 -0
- /package/lib/{esm/shared → shared}/instance-label-factory-impls/IModelInstanceLabelSelectClauseFactory.Rules.js +0 -0
- /package/lib/{cjs/shared → shared}/instance-label-factory-impls/Utils.d.ts +0 -0
- /package/lib/{esm/shared → shared}/instance-label-factory-impls/Utils.js +0 -0
|
@@ -1,505 +0,0 @@
|
|
|
1
|
-
import type { ECSqlBinding } from "./ECSqlCore.js";
|
|
2
|
-
/**
|
|
3
|
-
* An interface for an object that knows how to get an ECSchema from an iModel.
|
|
4
|
-
*
|
|
5
|
-
* @see `createECSchemaProvider` in `@itwin/presentation-core-interop`.
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export interface ECSchemaProvider {
|
|
9
|
-
getSchema(schemaName: string): Promise<EC.Schema | undefined>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* An interface for a class hierarchy inspector that can be used to determine if one class derives from another.
|
|
13
|
-
* @see `createCachingECClassHierarchyInspector`
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export interface ECClassHierarchyInspector {
|
|
17
|
-
classDerivesFrom(derivedClassFullName: EC.FullClassName, candidateBaseClassFullName: EC.FullClassName): Promise<boolean> | boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Creates a new `ECClassHierarchyInspector` that caches results of `derivesFrom` calls.
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export declare function createCachingECClassHierarchyInspector(props: {
|
|
24
|
-
/** Schema provider used to load schemas and their classes. */
|
|
25
|
-
schemaProvider: ECSchemaProvider;
|
|
26
|
-
/** Optional cache size, describing the number of derived/base class combinations to store in cache. Defaults to `0`, which means no caching. */
|
|
27
|
-
cacheSize?: number;
|
|
28
|
-
}): ECClassHierarchyInspector;
|
|
29
|
-
/**
|
|
30
|
-
* A namespace containing various [EC types](https://www.itwinjs.org/bis/ec/).
|
|
31
|
-
* @public
|
|
32
|
-
* @see `ECSchemaProvider`
|
|
33
|
-
*/
|
|
34
|
-
export declare namespace EC {
|
|
35
|
-
type FullClassNameDotNotation = `${string}.${string}`;
|
|
36
|
-
type FullClassNameColonNotation = `${string}:${string}`;
|
|
37
|
-
type FullClassName = FullClassNameColonNotation | FullClassNameDotNotation;
|
|
38
|
-
/**
|
|
39
|
-
* Schema version components.
|
|
40
|
-
* Note: comparison order is write > read > minor (not left-to-right).
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
interface SchemaVersion {
|
|
44
|
-
/** First component in "read.write.minor" string format. */
|
|
45
|
-
read: number;
|
|
46
|
-
/** Second component in "read.write.minor" string format (most significant for compatibility). */
|
|
47
|
-
write: number;
|
|
48
|
-
/** Third component in "read.write.minor" string format. */
|
|
49
|
-
minor: number;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Represents an ECSchema that contains classes, relationships, etc.
|
|
53
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/schema/
|
|
54
|
-
* @public
|
|
55
|
-
*/
|
|
56
|
-
interface Schema {
|
|
57
|
-
name: string;
|
|
58
|
-
/** The schema version. Format: `"read.write.minor"`, comparison order: write > read > minor. */
|
|
59
|
-
version: SchemaVersion;
|
|
60
|
-
getClass(name: string): Promise<Class | undefined>;
|
|
61
|
-
getCustomAttributes(): Promise<CustomAttributeSet>;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Represents an ECSchema item - a class, relationship, etc.
|
|
65
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/schemaitem/
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
interface SchemaItem {
|
|
69
|
-
schema: Schema;
|
|
70
|
-
fullName: FullClassName;
|
|
71
|
-
name: string;
|
|
72
|
-
label?: string;
|
|
73
|
-
description?: string;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Represents an ECClass.
|
|
77
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/ecclass/
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
interface Class extends SchemaItem {
|
|
81
|
-
baseClass: Promise<Class | undefined>;
|
|
82
|
-
is(className: string, schemaName: string): Promise<boolean>;
|
|
83
|
-
is(other: Class): Promise<boolean>;
|
|
84
|
-
getProperty(name: string): Promise<Property | undefined>;
|
|
85
|
-
getProperties(): Promise<Array<Property>>;
|
|
86
|
-
/** Gets only the properties defined directly on this class, excluding those inherited from base classes. */
|
|
87
|
-
getOwnProperties(): Promise<Array<Property>>;
|
|
88
|
-
isEntityClass(): this is EntityClass;
|
|
89
|
-
isRelationshipClass(): this is RelationshipClass;
|
|
90
|
-
isStructClass(): this is StructClass;
|
|
91
|
-
isMixin(): this is Mixin;
|
|
92
|
-
getDerivedClasses(): Promise<Class[]>;
|
|
93
|
-
getCustomAttributes(): Promise<CustomAttributeSet>;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Represents an entity class.
|
|
97
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/entityclass/
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
type EntityClass = Class;
|
|
101
|
-
/**
|
|
102
|
-
* Represents a struct class.
|
|
103
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/structclass/
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
|
-
type StructClass = Class;
|
|
107
|
-
/**
|
|
108
|
-
* Represents a mixin.
|
|
109
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/mixin/
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
type Mixin = Class;
|
|
113
|
-
/**
|
|
114
|
-
* Represents a kind of quantity.
|
|
115
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/kindofquantity/
|
|
116
|
-
* @public
|
|
117
|
-
*/
|
|
118
|
-
type KindOfQuantity = SchemaItem;
|
|
119
|
-
/**
|
|
120
|
-
* Represents a property category used to group related properties.
|
|
121
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/propertycategory/
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
interface PropertyCategory extends SchemaItem {
|
|
125
|
-
/** Determines the display order of the category relative to other categories. Higher priority categories are displayed first. */
|
|
126
|
-
priority: number;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Represents a relationship constraint multiplicity.
|
|
130
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/relationshipmultiplicity/
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
interface RelationshipConstraintMultiplicity {
|
|
134
|
-
lowerLimit: number;
|
|
135
|
-
upperLimit: number;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Represents a relationship constraint.
|
|
139
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/relationshipconstraint/
|
|
140
|
-
* @public
|
|
141
|
-
*/
|
|
142
|
-
interface RelationshipConstraint {
|
|
143
|
-
multiplicity: RelationshipConstraintMultiplicity;
|
|
144
|
-
polymorphic: boolean;
|
|
145
|
-
abstractConstraint: Promise<EntityClass | Mixin | RelationshipClass | undefined>;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Represents a relationship class.
|
|
149
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/relationshipclass/
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
interface RelationshipClass extends Class {
|
|
153
|
-
direction: "Forward" | "Backward";
|
|
154
|
-
source: RelationshipConstraint;
|
|
155
|
-
target: RelationshipConstraint;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Represents an enumerator.
|
|
159
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/enumerator/
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
interface Enumerator<T> {
|
|
163
|
-
name: string;
|
|
164
|
-
value: T;
|
|
165
|
-
label?: string;
|
|
166
|
-
description?: string;
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* Represents an enumeration.
|
|
170
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/enumeration/
|
|
171
|
-
* @public
|
|
172
|
-
*/
|
|
173
|
-
interface Enumeration extends SchemaItem {
|
|
174
|
-
enumerators: Array<Enumerator<string | number>>;
|
|
175
|
-
type: "String" | "Number";
|
|
176
|
-
isStrict: boolean;
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* Represents a property.
|
|
180
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/property/
|
|
181
|
-
* @public
|
|
182
|
-
*/
|
|
183
|
-
interface Property {
|
|
184
|
-
name: string;
|
|
185
|
-
class: Class;
|
|
186
|
-
label?: string;
|
|
187
|
-
kindOfQuantity: Promise<KindOfQuantity | undefined>;
|
|
188
|
-
category: Promise<PropertyCategory | undefined>;
|
|
189
|
-
isArray(): this is ArrayProperty;
|
|
190
|
-
isStruct(): this is StructProperty;
|
|
191
|
-
isPrimitive(): this is PrimitiveProperty;
|
|
192
|
-
isEnumeration(): this is EnumerationProperty;
|
|
193
|
-
isNavigation(): this is NavigationProperty;
|
|
194
|
-
getCustomAttributes(): Promise<CustomAttributeSet>;
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Defines array property attributes.
|
|
198
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/arrayproperty/
|
|
199
|
-
* @public
|
|
200
|
-
*/
|
|
201
|
-
interface ArrayPropertyAttributes {
|
|
202
|
-
minOccurs: number;
|
|
203
|
-
maxOccurs?: number;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Defines a structs array property.
|
|
207
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/structarrayproperty/
|
|
208
|
-
* @public
|
|
209
|
-
*/
|
|
210
|
-
type StructArrayProperty = StructProperty & ArrayPropertyAttributes;
|
|
211
|
-
/**
|
|
212
|
-
* Defines an enumerations array property.
|
|
213
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/enumerationarrayproperty/
|
|
214
|
-
* @public
|
|
215
|
-
*/
|
|
216
|
-
type EnumerationArrayProperty = EnumerationProperty & ArrayPropertyAttributes;
|
|
217
|
-
/**
|
|
218
|
-
* Defines a primitives array property.
|
|
219
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/primitivearrayproperty/
|
|
220
|
-
* @public
|
|
221
|
-
*/
|
|
222
|
-
type PrimitiveArrayProperty = PrimitiveProperty & ArrayPropertyAttributes;
|
|
223
|
-
/**
|
|
224
|
-
* Defines an array property.
|
|
225
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/anyarrayproperty/
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
type ArrayProperty = StructArrayProperty | EnumerationArrayProperty | PrimitiveArrayProperty;
|
|
229
|
-
/**
|
|
230
|
-
* Defines a struct property.
|
|
231
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/structproperty/
|
|
232
|
-
* @public
|
|
233
|
-
*/
|
|
234
|
-
interface StructProperty extends Property {
|
|
235
|
-
structClass: StructClass;
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Defines an enumeration property.
|
|
239
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/enumerationproperty/
|
|
240
|
-
* @public
|
|
241
|
-
*/
|
|
242
|
-
interface EnumerationProperty extends Property {
|
|
243
|
-
enumeration: Promise<Enumeration | undefined>;
|
|
244
|
-
extendedTypeName?: string;
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* Defines a navigation property.
|
|
248
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/navigationproperty/
|
|
249
|
-
* @public
|
|
250
|
-
*/
|
|
251
|
-
interface NavigationProperty extends Property {
|
|
252
|
-
relationshipClass: Promise<RelationshipClass>;
|
|
253
|
-
direction: "Forward" | "Backward";
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* Defines a primitive property type.
|
|
257
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/primitivetype/
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
type PrimitiveType = "Binary" | "Boolean" | "DateTime" | "Double" | "Integer" | "Long" | "Point2d" | "Point3d" | "String" | "IGeometry";
|
|
261
|
-
/**
|
|
262
|
-
* Defines a primitive property.
|
|
263
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/primitiveproperty/
|
|
264
|
-
* @public
|
|
265
|
-
*/
|
|
266
|
-
interface PrimitiveProperty extends Property {
|
|
267
|
-
primitiveType: PrimitiveType;
|
|
268
|
-
extendedTypeName?: string;
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* Defines a set of custom attributes that may be applied to a class or property.
|
|
272
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/customattribute/
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
interface CustomAttributeSet {
|
|
276
|
-
[Symbol.iterator]: () => IterableIterator<[FullClassName, CustomAttribute]>;
|
|
277
|
-
get(className: FullClassName): CustomAttribute | undefined;
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Defines a custom attribute that may be applied to a class or property.
|
|
281
|
-
* @see https://www.itwinjs.org/reference/ecschema-metadata/metadata/customattribute/
|
|
282
|
-
* @public
|
|
283
|
-
*/
|
|
284
|
-
interface CustomAttribute {
|
|
285
|
-
className: FullClassName;
|
|
286
|
-
[propName: string]: any;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* A union of all primitive value types supported by the Presentation packages.
|
|
291
|
-
*
|
|
292
|
-
* Compared to `EC.PrimitiveType`:
|
|
293
|
-
* - Adds `"Id"` to support id properties such as `ECInstanceId` or `ECClassId`, which have no equivalent in `EC.PrimitiveType`.
|
|
294
|
-
* - Excludes `"Binary"` and `"IGeometry"`, as properties of those types are not supported by the Presentation packages.
|
|
295
|
-
*
|
|
296
|
-
* @public
|
|
297
|
-
*/
|
|
298
|
-
export type PrimitiveValueType = "Id" | Exclude<EC.PrimitiveType, "Binary" | "IGeometry">;
|
|
299
|
-
/**
|
|
300
|
-
* A type descriptor for a value's shape.
|
|
301
|
-
*
|
|
302
|
-
* - `PrimitiveValueDescriptor`: a scalar primitive.
|
|
303
|
-
* - `StructValueDescriptor`: a named struct with typed members.
|
|
304
|
-
* - `ArrayValueDescriptor`: an ordered collection of a single element type.
|
|
305
|
-
* - `NavigationValueDescriptor`: a reference to another EC instance, carrying the reference's target class name.
|
|
306
|
-
*
|
|
307
|
-
* @public
|
|
308
|
-
*/
|
|
309
|
-
export type ValueDescriptor = PrimitiveValueDescriptor | StructValueDescriptor | ArrayValueDescriptor | NavigationValueDescriptor;
|
|
310
|
-
/**
|
|
311
|
-
* Describes a scalar primitive value.
|
|
312
|
-
*
|
|
313
|
-
* When the value is backed by an enumeration (only possible for `String`-, `Integer`- and
|
|
314
|
-
* `Long`-typed values), `enumeration` carries the enumeration's metadata (its declared enumerators
|
|
315
|
-
* and their labels) so consumers can map raw values to display labels without re-reading schema. The
|
|
316
|
-
* `type` discriminates the enumerator value type (`String` → `string`, `Integer | Long` → `number`).
|
|
317
|
-
*
|
|
318
|
-
* @public
|
|
319
|
-
*/
|
|
320
|
-
export type PrimitiveValueDescriptor = {
|
|
321
|
-
kind: "primitive";
|
|
322
|
-
} & ({
|
|
323
|
-
/** The primitive value type. */
|
|
324
|
-
type: Extract<PrimitiveValueType, "String">;
|
|
325
|
-
kindOfQuantity?: undefined;
|
|
326
|
-
/** Metadata of the enumeration backing this value, when it is enumeration-backed. */
|
|
327
|
-
enumeration?: EnumerationInfo<string>;
|
|
328
|
-
} | {
|
|
329
|
-
/** The primitive value type. */
|
|
330
|
-
type: Extract<PrimitiveValueType, "Integer" | "Long">;
|
|
331
|
-
/**
|
|
332
|
-
* Full name of the KindOfQuantity associated with this property (e.g., `"Units.LENGTH"`).
|
|
333
|
-
* Determines how the value should be formatted and which units to display.
|
|
334
|
-
*/
|
|
335
|
-
kindOfQuantity?: string;
|
|
336
|
-
/** Metadata of the enumeration backing this value, when it is enumeration-backed. */
|
|
337
|
-
enumeration?: EnumerationInfo<number>;
|
|
338
|
-
} | {
|
|
339
|
-
/** The primitive value type. */
|
|
340
|
-
type: Extract<PrimitiveValueType, "Double">;
|
|
341
|
-
/**
|
|
342
|
-
* Full name of the KindOfQuantity associated with this property (e.g., `"Units.LENGTH"`).
|
|
343
|
-
* Determines how the value should be formatted and which units to display.
|
|
344
|
-
*/
|
|
345
|
-
kindOfQuantity?: string;
|
|
346
|
-
enumeration?: undefined;
|
|
347
|
-
} | {
|
|
348
|
-
/** The primitive value type. */
|
|
349
|
-
type: Exclude<PrimitiveValueType, "Integer" | "Long" | "Double" | "String">;
|
|
350
|
-
kindOfQuantity?: undefined;
|
|
351
|
-
enumeration?: undefined;
|
|
352
|
-
});
|
|
353
|
-
/**
|
|
354
|
-
* Metadata about the enumeration backing a primitive value. Preserved on a
|
|
355
|
-
* `PrimitiveValueDescriptor` so consumers can map raw enum values to their display labels
|
|
356
|
-
* without re-reading schema.
|
|
357
|
-
* @public
|
|
358
|
-
*/
|
|
359
|
-
interface EnumerationInfo<TValue extends string | number = string | number> {
|
|
360
|
-
/** Name of the enumeration type (e.g., `"MySchema.MyEnum"` for schema-backed enums). */
|
|
361
|
-
name: string;
|
|
362
|
-
/** When `true`, values are restricted to the declared enumerators. */
|
|
363
|
-
isStrict: boolean;
|
|
364
|
-
/** The declared enumerators. */
|
|
365
|
-
enumerators: EnumeratorInfo<TValue>[];
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* A single enumerator of an `EnumerationInfo`.
|
|
369
|
-
* @public
|
|
370
|
-
*/
|
|
371
|
-
interface EnumeratorInfo<TValue extends string | number = string | number> {
|
|
372
|
-
/** Display label for the enumerator. */
|
|
373
|
-
label: string;
|
|
374
|
-
/** The enumerator's raw value (string- or integer-backed, per the owning descriptor's `type`). */
|
|
375
|
-
value: TValue;
|
|
376
|
-
/** Optional description. */
|
|
377
|
-
description?: string;
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Describes a named struct value with typed members.
|
|
381
|
-
* @public
|
|
382
|
-
*/
|
|
383
|
-
export interface StructValueDescriptor {
|
|
384
|
-
kind: "struct";
|
|
385
|
-
/** The list of named, typed members that make up this struct. */
|
|
386
|
-
members: StructMember[];
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* Describes a single member of a `StructValueDescriptor`.
|
|
390
|
-
* @public
|
|
391
|
-
*/
|
|
392
|
-
interface StructMember {
|
|
393
|
-
/** The member's property name. */
|
|
394
|
-
name: string;
|
|
395
|
-
/** A human-readable label for display purposes. */
|
|
396
|
-
label: string;
|
|
397
|
-
/** The type descriptor for this member's value. */
|
|
398
|
-
type: ValueDescriptor;
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* Describes an ordered collection of values of a single element type.
|
|
402
|
-
* @public
|
|
403
|
-
*/
|
|
404
|
-
export interface ArrayValueDescriptor {
|
|
405
|
-
kind: "array";
|
|
406
|
-
/** The type descriptor for each element in the array. */
|
|
407
|
-
elementType: ValueDescriptor;
|
|
408
|
-
}
|
|
409
|
-
/**
|
|
410
|
-
* Describes a navigation property value — a reference to another EC instance.
|
|
411
|
-
* The runtime value is the referenced instance's id (`Id64String`); this descriptor
|
|
412
|
-
* additionally carries the reference's target class name as metadata, so consumers can
|
|
413
|
-
* build selects against the referenced instance (e.g. to resolve its label).
|
|
414
|
-
* @public
|
|
415
|
-
*/
|
|
416
|
-
export interface NavigationValueDescriptor {
|
|
417
|
-
kind: "navigation";
|
|
418
|
-
/**
|
|
419
|
-
* Full name of the relationship's target-constraint class the navigation points at
|
|
420
|
-
* (the referenced instance's class, or its base constraint class).
|
|
421
|
-
*/
|
|
422
|
-
targetClassName: EC.FullClassName;
|
|
423
|
-
}
|
|
424
|
-
/**
|
|
425
|
-
* Describes a single step through an ECRelationship from source ECClass to target ECClass.
|
|
426
|
-
* @public
|
|
427
|
-
*/
|
|
428
|
-
export interface RelationshipPathStep {
|
|
429
|
-
/** Full name of the source ECClass */
|
|
430
|
-
sourceClassName: EC.FullClassName;
|
|
431
|
-
/** Full name of the target ECClass */
|
|
432
|
-
targetClassName: EC.FullClassName;
|
|
433
|
-
/** Full name of the ECRelationshipClass */
|
|
434
|
-
relationshipName: EC.FullClassName;
|
|
435
|
-
/**
|
|
436
|
-
* Indicates that the relationship direction be reversed. This should be set to `true` when step direction
|
|
437
|
-
* doesn't match relationship direction, e.g. relationship is from source `A` to target `B` and the step
|
|
438
|
-
* describes a step from `B` to `A`.
|
|
439
|
-
*/
|
|
440
|
-
relationshipReverse?: boolean;
|
|
441
|
-
/**
|
|
442
|
-
* Optional filter applied to instances at this step.
|
|
443
|
-
* Only instances matching the filter will be included when traversing this relationship.
|
|
444
|
-
* The filter expression can reference target class properties and, for non-navigation-property
|
|
445
|
-
* relationships (link table relationships), also relationship class properties.
|
|
446
|
-
* Referencing relationship class properties via `relationshipAlias` is not supported for
|
|
447
|
-
* navigation-property steps because the relationship table is not part of the query in that case.
|
|
448
|
-
*/
|
|
449
|
-
instanceFilter?: {
|
|
450
|
-
/**
|
|
451
|
-
* ECSQL WHERE clause expression (without the WHERE keyword).
|
|
452
|
-
*
|
|
453
|
-
* Use `targetAlias` (defaults to `"this"`) followed by a dot to reference properties
|
|
454
|
-
* of the filtered class, and `relationshipAlias` (defaults to `"rel"`) to reference
|
|
455
|
-
* properties on the relationship class. At query generation time, the pipeline replaces
|
|
456
|
-
* all `{alias}.` occurrences (in both their bare `{alias}.` and bracket-quoted `[{alias}].`
|
|
457
|
-
* forms) with the actual query aliases.
|
|
458
|
-
*
|
|
459
|
-
* @example
|
|
460
|
-
* ```
|
|
461
|
-
* expression: "this.Area > :minArea AND rel.Priority > 0"
|
|
462
|
-
* ```
|
|
463
|
-
*/
|
|
464
|
-
expression: string;
|
|
465
|
-
/**
|
|
466
|
-
* The placeholder used in `expression` to reference the target class (`targetClassName`).
|
|
467
|
-
* Every occurrence of `{targetAlias}.` in the expression, whether bare (`{targetAlias}.`)
|
|
468
|
-
* or bracket-quoted (`[{targetAlias}].`), will be replaced with the actual query alias at
|
|
469
|
-
* query generation time.
|
|
470
|
-
*
|
|
471
|
-
* @default "this"
|
|
472
|
-
*/
|
|
473
|
-
targetAlias?: string;
|
|
474
|
-
/**
|
|
475
|
-
* The placeholder used in `expression` to reference the relationship class (`relationshipName`).
|
|
476
|
-
* Every occurrence of `{relationshipAlias}.` in the expression, whether bare (`{relationshipAlias}.`)
|
|
477
|
-
* or bracket-quoted (`[{relationshipAlias}].`), will be replaced with the actual relationship alias
|
|
478
|
-
* at query generation time.
|
|
479
|
-
*
|
|
480
|
-
* Only meaningful for non-navigation-property (link table) relationships. When the step uses a
|
|
481
|
-
* navigation property, the relationship table is not part of the query, so any reference via
|
|
482
|
-
* this alias will produce invalid ECSQL.
|
|
483
|
-
*
|
|
484
|
-
* @default "rel"
|
|
485
|
-
*/
|
|
486
|
-
relationshipAlias?: string;
|
|
487
|
-
/**
|
|
488
|
-
* Bind values for the expression, keyed by parameter name.
|
|
489
|
-
*/
|
|
490
|
-
bindings?: Record<string, ECSqlBinding>;
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* Describes a path from source ECClass to target ECClass through multiple ECRelationships.
|
|
495
|
-
* @public
|
|
496
|
-
*/
|
|
497
|
-
export type RelationshipPath<TStep extends RelationshipPathStep = RelationshipPathStep> = TStep[];
|
|
498
|
-
/**
|
|
499
|
-
* Finds a class with the specified full class name using the given `ECSchemaProvider`.
|
|
500
|
-
* @throws Error if the schema or class is not found.
|
|
501
|
-
* @public
|
|
502
|
-
*/
|
|
503
|
-
export declare function getClass(schemaProvider: ECSchemaProvider, fullClassName: EC.FullClassName): Promise<EC.Class>;
|
|
504
|
-
export {};
|
|
505
|
-
//# sourceMappingURL=Metadata.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Metadata.d.ts","sourceRoot":"","sources":["../../../src/shared/Metadata.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/D;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,CACd,oBAAoB,EAAE,EAAE,CAAC,aAAa,EACtC,0BAA0B,EAAE,EAAE,CAAC,aAAa,GAC3C,OAAO,C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
-
import type { EC } from "./Metadata.js";
|
|
2
|
-
/**
|
|
3
|
-
* An utility to parse schema and class names from full class name, where
|
|
4
|
-
* schema and class names are separated by either `:` or `.`.
|
|
5
|
-
*
|
|
6
|
-
* @throws Error if the provided full class name is not valid.
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare function parseFullClassName(fullClassName: string): {
|
|
10
|
-
schemaName: string;
|
|
11
|
-
className: string;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* An utility to normalize full class name from either `SchemaName:ClassName` or
|
|
15
|
-
* `SchemaName.ClassName` to always use the dot format.
|
|
16
|
-
*
|
|
17
|
-
* @throws Error if the provided full class name is not valid.
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export declare function normalizeFullClassName(fullClassName: string): EC.FullClassNameDotNotation;
|
|
21
|
-
/**
|
|
22
|
-
* An utility that compares two full class names in a case insensitive way, ignoring different
|
|
23
|
-
* supported schema-class name separators (`.` or `:`).
|
|
24
|
-
* @public
|
|
25
|
-
*/
|
|
26
|
-
export declare function compareFullClassNames(lhs: EC.FullClassName, rhs: EC.FullClassName): number;
|
|
27
|
-
/**
|
|
28
|
-
* An utility to remove all extra whitespace from a given string.
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export declare function trimWhitespace(str: string): string;
|
|
32
|
-
/**
|
|
33
|
-
* An utility to remove all extra whitespace from a given string.
|
|
34
|
-
* @public
|
|
35
|
-
*/
|
|
36
|
-
export declare function trimWhitespace(str: string | undefined): string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* An utility that returns a promise that immediately resolves. Awaiting on the returned
|
|
39
|
-
* promise releases the main thread and allows other tasks to run.
|
|
40
|
-
*
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
export declare function releaseMainThread(): Promise<void>;
|
|
44
|
-
/**
|
|
45
|
-
* An utility that returns a `releaseMainThread` promise if the given amount of time has passed since the handler
|
|
46
|
-
* was created or the main thread was last released using this handler. Otherwise, returns `undefined`.
|
|
47
|
-
*
|
|
48
|
-
* Example:
|
|
49
|
-
* ```ts
|
|
50
|
-
* const releaseMainThread = createMainThreadReleaseOnTimePassedHandler();
|
|
51
|
-
* for (const value of someVeryLargeArray) {
|
|
52
|
-
* await releaseMainThread();
|
|
53
|
-
* // do something with value
|
|
54
|
-
* }
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @param releaseOnTimePassed The amount of time in milliseconds after which the main thread should be released. Defaults to `40` ms.
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
export declare function createMainThreadReleaseOnTimePassedHandler(releaseOnTimePassed?: number): () => Promise<void> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* An utility to convert a julian day format to `Date`.
|
|
63
|
-
* @public
|
|
64
|
-
*/
|
|
65
|
-
export declare function julianToDateTime(julianDate: number): Date;
|
|
66
|
-
//# sourceMappingURL=Utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../../src/shared/Utils.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAExC;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM;;;EAoBvD;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,GAAG,EAAE,CAAC,wBAAwB,CAGzF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,EAAE,CAAC,aAAa,EAAE,GAAG,EAAE,EAAE,CAAC,aAAa,GAAG,MAAM,CAS1F;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;AACpD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AAc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