@malloydata/malloy 0.0.112-dev231208150120 → 0.0.112
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/dist/malloy.d.ts +4 -3
- package/dist/malloy.js +6 -3
- package/package.json +1 -1
package/dist/malloy.d.ts
CHANGED
|
@@ -538,7 +538,7 @@ export type SortableField = {
|
|
|
538
538
|
field: Field;
|
|
539
539
|
dir: 'asc' | 'desc' | undefined;
|
|
540
540
|
};
|
|
541
|
-
export declare class Explore extends Entity {
|
|
541
|
+
export declare class Explore extends Entity implements Taggable {
|
|
542
542
|
protected readonly _structDef: StructDef;
|
|
543
543
|
protected readonly _parentExplore?: Explore;
|
|
544
544
|
private _fieldMap;
|
|
@@ -548,6 +548,8 @@ export declare class Explore extends Entity {
|
|
|
548
548
|
get source(): Explore | undefined;
|
|
549
549
|
isIntrinsic(): boolean;
|
|
550
550
|
isExploreField(): this is ExploreField;
|
|
551
|
+
tagParse(spec?: TagParseSpec): TagParse;
|
|
552
|
+
getTaglines(prefix?: RegExp): string[];
|
|
551
553
|
private parsedModelTag?;
|
|
552
554
|
get modelTag(): Tag;
|
|
553
555
|
/**
|
|
@@ -692,14 +694,13 @@ export declare enum JoinRelationship {
|
|
|
692
694
|
OneToMany = "one_to_many",
|
|
693
695
|
ManyToOne = "many_to_one"
|
|
694
696
|
}
|
|
695
|
-
export declare class ExploreField extends Explore
|
|
697
|
+
export declare class ExploreField extends Explore {
|
|
696
698
|
protected _parentExplore: Explore;
|
|
697
699
|
constructor(structDef: StructDef, parentExplore: Explore, source?: Explore);
|
|
698
700
|
get joinRelationship(): JoinRelationship;
|
|
699
701
|
get isRecord(): boolean;
|
|
700
702
|
get isArray(): boolean;
|
|
701
703
|
tagParse(spec?: TagParseSpec): TagParse;
|
|
702
|
-
getTaglines(prefix?: RegExp): string[];
|
|
703
704
|
isQueryField(): this is QueryField;
|
|
704
705
|
isExploreField(): this is ExploreField;
|
|
705
706
|
isAtomicField(): this is AtomicField;
|
package/dist/malloy.js
CHANGED
|
@@ -978,6 +978,12 @@ class Explore extends Entity {
|
|
|
978
978
|
isExploreField() {
|
|
979
979
|
return false;
|
|
980
980
|
}
|
|
981
|
+
tagParse(spec) {
|
|
982
|
+
return tags_1.Tag.annotationToTag(this._structDef.annotation, spec);
|
|
983
|
+
}
|
|
984
|
+
getTaglines(prefix) {
|
|
985
|
+
return tags_1.Tag.annotationToTaglines(this._structDef.annotation, prefix);
|
|
986
|
+
}
|
|
981
987
|
get modelTag() {
|
|
982
988
|
this.parsedModelTag || (this.parsedModelTag = tags_1.Tag.annotationToTag(this._structDef.modelAnnotation).tag);
|
|
983
989
|
return this.parsedModelTag;
|
|
@@ -1498,9 +1504,6 @@ class ExploreField extends Explore {
|
|
|
1498
1504
|
spec = tags_1.Tag.addModelScope(spec, this._parentExplore.modelTag);
|
|
1499
1505
|
return tags_1.Tag.annotationToTag(this._structDef.annotation, spec);
|
|
1500
1506
|
}
|
|
1501
|
-
getTaglines(prefix) {
|
|
1502
|
-
return tags_1.Tag.annotationToTaglines(this._structDef.annotation, prefix);
|
|
1503
|
-
}
|
|
1504
1507
|
isQueryField() {
|
|
1505
1508
|
return false;
|
|
1506
1509
|
}
|