@servicenow/glide 27.0.4 → 27.0.5
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
|
@@ -80,7 +80,7 @@ interface IGlideAggregate<T extends keyof Tables | string = string> {
|
|
|
80
80
|
/**
|
|
81
81
|
* Adds a query to the aggregate. Adds an encoded query to the other queries that may have been set for this aggregate
|
|
82
82
|
*/
|
|
83
|
-
addEncodedQuery(query: string, enforceFieldACLs
|
|
83
|
+
addEncodedQuery(query: string, enforceFieldACLs?: any): void;
|
|
84
84
|
getEncodedQuery(): string;
|
|
85
85
|
addHaving(arg1: string, arg2: string, arg3: string, arg4: string): void;
|
|
86
86
|
addSystemOrderBy<F extends SafeTableFieldKey<T & string>>(name: F): void;
|
|
@@ -169,7 +169,7 @@ interface IGlideAggregate<T extends keyof Tables | string = string> {
|
|
|
169
169
|
// GlideRecord
|
|
170
170
|
_get<F extends SafeTableFieldKey<T & string>, V extends SafeTableField<T & string, F & string>>(
|
|
171
171
|
name: F,
|
|
172
|
-
value
|
|
172
|
+
value?: V
|
|
173
173
|
): boolean;
|
|
174
174
|
getTableName(): string;
|
|
175
175
|
getRowCount(): number;
|
|
@@ -24,7 +24,7 @@ type IGlideRecord<T extends keyof Tables | string = string> = {
|
|
|
24
24
|
): void;
|
|
25
25
|
_get<F extends SafeTableFieldKey<T & string>, V extends SafeTableField<T & string, F & string>>(
|
|
26
26
|
name: F,
|
|
27
|
-
value
|
|
27
|
+
value?: V
|
|
28
28
|
): boolean;
|
|
29
29
|
_next(): boolean;
|
|
30
30
|
|
|
@@ -101,7 +101,7 @@ type IGlideRecord<T extends keyof Tables | string = string> = {
|
|
|
101
101
|
/*
|
|
102
102
|
* Adds an encoded query to the other queries that may have been set
|
|
103
103
|
*/
|
|
104
|
-
addEncodedQuery(query: string, enforceFieldACLs
|
|
104
|
+
addEncodedQuery(query: string, enforceFieldACLs?: any): void;
|
|
105
105
|
addInactiveQuery(): GlideQueryCondition<T>;
|
|
106
106
|
addUserOrderBy<F extends SafeTableFieldKey<T & string>>(name: F): void;
|
|
107
107
|
addUserOrderByDesc<F extends SafeTableFieldKey<T & string>>(name: F): void;
|
|
@@ -212,7 +212,7 @@ type IGlideRecord<T extends keyof Tables | string = string> = {
|
|
|
212
212
|
*/
|
|
213
213
|
get<F extends SafeTableFieldKey<T & string>, V extends SafeTableField<T & string, F & string>>(
|
|
214
214
|
name: F,
|
|
215
|
-
value
|
|
215
|
+
value?: V
|
|
216
216
|
): boolean;
|
|
217
217
|
addValue<F extends SafeTableFieldKey<T & string>>(field: F, value: number): void;
|
|
218
218
|
/*
|