process/init: add selectGPSBrand options

This commit is contained in:
vchikalkin 2022-07-12 14:15:59 +03:00
parent 570b864447
commit fae37e87f7
2 changed files with 12 additions and 0 deletions

View File

@ -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 {

View File

@ -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
}
}
`;