mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
Adding OE filtering interfaces. (#22738)
* Adding interfaces for tree filtering * fixing type * Adding enums in sqlhost * Fixing comment * Fixed filters lol * Fixing some contract definitions * Removing flag * Update src/sql/azdata.proposed.d.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> * Removing filters * Removing filters2 * Fixing enum * Fixing interface and enum names * Fixing interface name * Update src/sql/azdata.proposed.d.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> * Removing type from filter * Adding is null and is not null operators * Fixing enums * Update src/sql/azdata.proposed.d.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> * Update src/sql/azdata.proposed.d.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> * Update src/sql/azdata.proposed.d.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> --------- Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
@@ -657,6 +657,8 @@ export function createAdsApiFactory(accessor: ServicesAccessor): IAdsExtensionAp
|
||||
FrequencyTypes: sqlExtHostTypes.FrequencyTypes,
|
||||
FrequencySubDayTypes: sqlExtHostTypes.FrequencySubDayTypes,
|
||||
FrequencyRelativeIntervals: sqlExtHostTypes.FrequencyRelativeIntervals,
|
||||
NodeFilterPropertyDataType: sqlExtHostTypes.NodeFilterPropertyDataType,
|
||||
NodeFilterOperator: sqlExtHostTypes.NodeFilterOperator,
|
||||
window,
|
||||
tasks,
|
||||
dashboard,
|
||||
|
||||
@@ -478,6 +478,29 @@ export enum AzureResource {
|
||||
Custom = 12 // Handles custom resource URIs as received from server endpoint.
|
||||
}
|
||||
|
||||
export enum NodeFilterPropertyDataType {
|
||||
String = 0,
|
||||
Number = 1,
|
||||
Boolean = 2,
|
||||
Date = 3,
|
||||
Choice = 4
|
||||
}
|
||||
|
||||
export enum NodeFilterOperator {
|
||||
Equals = 0,
|
||||
NotEquals = 1,
|
||||
LessThan = 2,
|
||||
LessThanOrEquals = 3,
|
||||
GreaterThan = 4,
|
||||
GreaterThanOrEquals = 5,
|
||||
Between = 6,
|
||||
NotBetween = 7,
|
||||
Contains = 8,
|
||||
NotContains = 9,
|
||||
IsNull = 10,
|
||||
IsNotNull = 11
|
||||
}
|
||||
|
||||
export class TreeItem extends vsExtTypes.TreeItem {
|
||||
payload?: azdata.IConnectionProfile;
|
||||
providerHandle?: string;
|
||||
|
||||
Reference in New Issue
Block a user