mdt-client 31.3.15 → 31.3.16

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdt-client",
3
- "version": "31.3.15",
3
+ "version": "31.3.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,9 +40,13 @@ export interface IFilterIn extends Omit<IFilterItem, "op" | "p2"> {
40
40
  table: string;
41
41
  field: string;
42
42
  filter?: IFilter;
43
- args?: any;
43
+ args?: QueryInArgs;
44
44
  } | (string | Date)[];
45
45
  }
46
+ export declare type QueryInArgs = ArgValue[] | {
47
+ [k: string]: ArgValue;
48
+ };
49
+ declare type ArgValue = any;
46
50
  export interface IFilterQueryIn extends Omit<IFilterIn, "op" | "p2"> {
47
51
  op: FilterInOperation | "queryIn";
48
52
  p2: QueryInValue;
@@ -230,7 +234,7 @@ export interface FilterConstructor {
230
234
  * Filter.not(Filter.eq('Name', 'Ivan'))
231
235
  * ```
232
236
  */
233
- not(filter: IFilterItem): IFilterItem;
237
+ not(filter: IFilterItem | IFilterIn): IFilterItem;
234
238
  /**
235
239
  * Фильтр, проверяющий, что поле содержит одно из перечисленных значений
236
240
  *
@@ -531,9 +531,9 @@ export declare namespace ApiV2 {
531
531
  table: string;
532
532
  field: string;
533
533
  filter?: Filter;
534
- args?: {
534
+ params?: {
535
535
  [k: string]: any;
536
- }[];
536
+ };
537
537
  }
538
538
  interface WithCastType {
539
539
  castType?: ApiV2.Request.Fetch.CastType;
@@ -107,6 +107,8 @@ export interface ILegacyFacade {
107
107
  uiComponents: {
108
108
  alert: any;
109
109
  };
110
+ PlaceInQueryHelpers: any;
111
+ isApiV2: () => boolean;
110
112
  }
111
113
  export interface ModulesLegacyFacade {
112
114
  pbi?: {