From fae37e87f79eab92960f9b6467b4e81bb72ffaf3 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 12 Jul 2022 14:15:59 +0300 Subject: [PATCH] process/init: add selectGPSBrand options --- process/init/__generated__/GetMainOptions.ts | 7 +++++++ process/init/get-data.ts | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/process/init/__generated__/GetMainOptions.ts b/process/init/__generated__/GetMainOptions.ts index 82a681d..6b4a60f 100644 --- a/process/init/__generated__/GetMainOptions.ts +++ b/process/init/__generated__/GetMainOptions.ts @@ -38,6 +38,12 @@ export interface GetMainOptions_selectDealer { value: any | null; } +export interface GetMainOptions_selectGPSBrand { + __typename: "evo_gps_brand"; + label: string | null; + value: any | null; +} + export interface GetMainOptions { /** * Валюта. statecode по умолчанию 0 @@ -50,6 +56,7 @@ export interface GetMainOptions { * Контрагенты. statecode по умолчанию 0 */ selectDealer: (GetMainOptions_selectDealer | null)[] | null; + selectGPSBrand: (GetMainOptions_selectGPSBrand | null)[] | null; } export interface GetMainOptionsVariables { diff --git a/process/init/get-data.ts b/process/init/get-data.ts index 6f87b85..915ebc1 100644 --- a/process/init/get-data.ts +++ b/process/init/get-data.ts @@ -60,6 +60,11 @@ const QUERY_GET_MAIN_OPTIONS = gql` label: name value: accountid } + + selectGPSBrand: evo_gps_brands(statecode: 0) { + label: evo_name + value: evo_gps_brandid + } } `;