@itcase/types-pps 1.1.62 → 1.1.64
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/dist/generated/enums/Task/index.d.ts +0 -1
- package/dist/generated/enums/Task/index.js +0 -1
- package/dist/generated/enums/index.d.ts +1 -1
- package/dist/generated/enums/index.js +1 -1
- package/dist/generated/restRoutes.d.ts +636 -15
- package/dist/generated/types/{Report/ReportFiltersItem.d.ts → Action/ActionFiltersItem.d.ts} +1 -1
- package/dist/generated/types/Action/index.d.ts +1 -0
- package/dist/generated/types/Action/index.js +2 -0
- package/dist/generated/types/Beehive/BeehiveActionFilters.d.ts +4 -0
- package/dist/generated/types/Beehive/BeehiveActionFilters.js +2 -0
- package/dist/generated/types/Beehive/BeehiveActionFiltersStatus.d.ts +7 -0
- package/dist/generated/types/Beehive/BeehiveActionFiltersStatus.js +2 -0
- package/dist/generated/types/Beehive/index.d.ts +2 -0
- package/dist/generated/types/Cell/Cell.d.ts +2 -0
- package/dist/generated/types/Cell/CellChange.d.ts +2 -0
- package/dist/generated/types/Cell/CellDetail.d.ts +2 -0
- package/dist/generated/types/Cell/CellPlantInCell.d.ts +17 -0
- package/dist/generated/types/Cell/CellPlantInCell.js +2 -0
- package/dist/generated/types/Cell/CellPlantInCellChange.d.ts +18 -0
- package/dist/generated/types/Cell/CellPlantInCellChange.js +2 -0
- package/dist/generated/types/Cell/CellPlantInCellChangeRequest.d.ts +10 -0
- package/dist/generated/types/Cell/CellPlantInCellChangeRequest.js +2 -0
- package/dist/generated/types/Cell/PaginatedCellPlantInCellList.d.ts +16 -0
- package/dist/generated/types/Cell/PaginatedCellPlantInCellList.js +2 -0
- package/dist/generated/types/Cell/PatchedCellPlantInCellChangeRequest.d.ts +10 -0
- package/dist/generated/types/Cell/PatchedCellPlantInCellChangeRequest.js +2 -0
- package/dist/generated/types/Cell/index.d.ts +5 -0
- package/dist/generated/types/Entity/EntityTypeRequest.d.ts +1 -1
- package/dist/generated/types/Frontend/FrontendLog.d.ts +2 -3
- package/dist/generated/types/Frontend/PaginatedFrontendLogList.d.ts +16 -0
- package/dist/generated/types/Frontend/PaginatedFrontendLogList.js +2 -0
- package/dist/generated/types/Frontend/index.d.ts +1 -0
- package/dist/generated/types/Incident/Incident.d.ts +1 -1
- package/dist/generated/types/News/News.d.ts +2 -2
- package/dist/generated/types/Report/ReportBlockIncidentActionFilters.d.ts +3 -3
- package/dist/generated/types/Report/ReportBlockTrapActionFilters.d.ts +4 -4
- package/dist/generated/types/Report/ReportCellPollinationActionFilters.d.ts +3 -3
- package/dist/generated/types/Report/ReportFacilityTrapActionFilters.d.ts +4 -4
- package/dist/generated/types/Report/ReportFiltersBlock.d.ts +3 -3
- package/dist/generated/types/Report/ReportFiltersRow.d.ts +3 -3
- package/dist/generated/types/Report/ReportFiltersZone.d.ts +3 -3
- package/dist/generated/types/Report/ReportRowIncidentActionFilters.d.ts +3 -3
- package/dist/generated/types/Report/ReportTrapActionFilters.d.ts +3 -3
- package/dist/generated/types/Report/ReportZoneIncidentActionFilters.d.ts +3 -3
- package/dist/generated/types/Report/index.d.ts +0 -1
- package/dist/generated/types/Supplier/SupplierChange.d.ts +1 -1
- package/dist/generated/types/Task/PaginatedTaskProjectTypeList.d.ts +16 -0
- package/dist/generated/types/Task/PaginatedTaskProjectTypeList.js +2 -0
- package/dist/generated/types/Task/PatchedTaskProjectChangeRequest.d.ts +2 -0
- package/dist/generated/types/Task/PatchedTaskProjectTypeRequest.d.ts +22 -0
- package/dist/generated/types/Task/PatchedTaskProjectTypeRequest.js +2 -0
- package/dist/generated/types/Task/Task.d.ts +5 -0
- package/dist/generated/types/Task/TaskChange.d.ts +5 -0
- package/dist/generated/types/Task/TaskDetail.d.ts +5 -0
- package/dist/generated/types/Task/TaskField.d.ts +3 -2
- package/dist/generated/types/Task/TaskProject.d.ts +2 -1
- package/dist/generated/types/Task/TaskProjectChangeRequest.d.ts +2 -0
- package/dist/generated/types/Task/TaskProjectDetail.d.ts +2 -1
- package/dist/generated/types/Task/TaskProjectType.d.ts +22 -0
- package/dist/generated/types/Task/TaskProjectType.js +2 -0
- package/dist/generated/types/Task/TaskProjectTypeRequest.d.ts +22 -0
- package/dist/generated/types/Task/TaskProjectTypeRequest.js +2 -0
- package/dist/generated/types/Task/TaskTemplateDetail.d.ts +1 -1
- package/dist/generated/types/Task/_Task.d.ts +3 -2
- package/dist/generated/types/Task/index.d.ts +4 -0
- package/dist/generated/types/User/PaginatedUserAppVersionList.d.ts +16 -0
- package/dist/generated/types/User/PaginatedUserAppVersionList.js +2 -0
- package/dist/generated/types/User/PatchedUserAppVersionRequest.d.ts +8 -0
- package/dist/generated/types/User/PatchedUserAppVersionRequest.js +2 -0
- package/dist/generated/types/User/User.d.ts +2 -0
- package/dist/generated/types/User/UserAppVersion.d.ts +13 -0
- package/dist/generated/types/User/UserAppVersion.js +2 -0
- package/dist/generated/types/User/UserAppVersionRequest.d.ts +8 -0
- package/dist/generated/types/User/UserAppVersionRequest.js +2 -0
- package/dist/generated/types/User/index.d.ts +4 -0
- package/dist/generated/types/index.d.ts +7 -6
- package/package.json +2 -2
- package/dist/generated/enums/Task/TaskStatusChoicesEnum.d.ts +0 -8
- package/dist/generated/enums/Task/TaskStatusChoicesEnum.js +0 -10
- /package/dist/generated/types/{Report/ReportFiltersItem.js → Action/ActionFiltersItem.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActionFiltersItem } from './ActionFiltersItem';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { Beehive } from './Beehive';
|
|
2
|
+
export { BeehiveActionFilters } from './BeehiveActionFilters';
|
|
3
|
+
export { BeehiveActionFiltersStatus } from './BeehiveActionFiltersStatus';
|
|
2
4
|
export { BeehiveActivity } from './BeehiveActivity';
|
|
3
5
|
export { BeehiveActivityChange } from './BeehiveActivityChange';
|
|
4
6
|
export { BeehiveActivityChangeRequest } from './BeehiveActivityChangeRequest';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreatorField, TurnoverField } from '../../../index';
|
|
2
|
+
export interface CellPlantInCell {
|
|
3
|
+
id: number;
|
|
4
|
+
/**
|
|
5
|
+
* Количество
|
|
6
|
+
* @min 0
|
|
7
|
+
* @max 2147483647
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
creator: CreatorField | null;
|
|
11
|
+
/**
|
|
12
|
+
* Дата/время создания
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
dt_create: string;
|
|
16
|
+
turnover: TurnoverField;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CreatorField } from '../../../index';
|
|
2
|
+
export interface CellPlantInCellChange {
|
|
3
|
+
id: number;
|
|
4
|
+
/**
|
|
5
|
+
* Количество
|
|
6
|
+
* @min 0
|
|
7
|
+
* @max 2147483647
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
creator: CreatorField | null;
|
|
11
|
+
/**
|
|
12
|
+
* Дата/время создания
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
dt_create: string;
|
|
16
|
+
/** Оборот */
|
|
17
|
+
turnover: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CellPlantInCell } from '../../../index';
|
|
2
|
+
export interface PaginatedCellPlantInCellList {
|
|
3
|
+
/** @example 123 */
|
|
4
|
+
count: number;
|
|
5
|
+
/**
|
|
6
|
+
* @format uri
|
|
7
|
+
* @example "http://api.example.org/accounts/?offset=400&limit=100"
|
|
8
|
+
*/
|
|
9
|
+
next?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* @format uri
|
|
12
|
+
* @example "http://api.example.org/accounts/?offset=200&limit=100"
|
|
13
|
+
*/
|
|
14
|
+
previous?: string | null;
|
|
15
|
+
results: CellPlantInCell[];
|
|
16
|
+
}
|
|
@@ -2,7 +2,12 @@ export { Cell } from './Cell';
|
|
|
2
2
|
export { CellChange } from './CellChange';
|
|
3
3
|
export { CellChangeRequest } from './CellChangeRequest';
|
|
4
4
|
export { CellDetail } from './CellDetail';
|
|
5
|
+
export { CellPlantInCell } from './CellPlantInCell';
|
|
6
|
+
export { CellPlantInCellChange } from './CellPlantInCellChange';
|
|
7
|
+
export { CellPlantInCellChangeRequest } from './CellPlantInCellChangeRequest';
|
|
5
8
|
export { CellRequest } from './CellRequest';
|
|
6
9
|
export { PaginatedCellList } from './PaginatedCellList';
|
|
10
|
+
export { PaginatedCellPlantInCellList } from './PaginatedCellPlantInCellList';
|
|
7
11
|
export { PatchedCellActionBulkPatchRequest } from './PatchedCellActionBulkPatchRequest';
|
|
8
12
|
export { PatchedCellChangeRequest } from './PatchedCellChangeRequest';
|
|
13
|
+
export { PatchedCellPlantInCellChangeRequest } from './PatchedCellPlantInCellChangeRequest';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { BlankEnum, SourceEnum } from '../../../index';
|
|
1
|
+
import { BlankEnum, CreatorField, SourceEnum } from '../../../index';
|
|
2
2
|
export interface FrontendLog {
|
|
3
3
|
id: number;
|
|
4
|
-
|
|
5
|
-
creator: number | null;
|
|
4
|
+
creator: CreatorField | null;
|
|
6
5
|
/** Данные */
|
|
7
6
|
data: any;
|
|
8
7
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FrontendLog } from '../../../index';
|
|
2
|
+
export interface PaginatedFrontendLogList {
|
|
3
|
+
/** @example 123 */
|
|
4
|
+
count: number;
|
|
5
|
+
/**
|
|
6
|
+
* @format uri
|
|
7
|
+
* @example "http://api.example.org/accounts/?offset=400&limit=100"
|
|
8
|
+
*/
|
|
9
|
+
next?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* @format uri
|
|
12
|
+
* @example "http://api.example.org/accounts/?offset=200&limit=100"
|
|
13
|
+
*/
|
|
14
|
+
previous?: string | null;
|
|
15
|
+
results: FrontendLog[];
|
|
16
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface Incident {
|
|
|
23
23
|
/** Данные автора предыдущей версии */
|
|
24
24
|
previous_version_creator: any;
|
|
25
25
|
/**
|
|
26
|
-
* Дата/время создания
|
|
26
|
+
* Дата/время создания предыдуще�� версии
|
|
27
27
|
* @format date-time
|
|
28
28
|
*/
|
|
29
29
|
previous_version_dt_create: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ReasonFilters,
|
|
1
|
+
import { _ReasonFilters, ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportBlockIncidentActionFilters {
|
|
3
|
-
blocks:
|
|
3
|
+
blocks: ActionFiltersItem[];
|
|
4
4
|
reasons: _ReasonFilters[];
|
|
5
|
-
weeks:
|
|
5
|
+
weeks: ActionFiltersItem[];
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _TrapTypePestFilter,
|
|
1
|
+
import { _TrapTypePestFilter, ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportBlockTrapActionFilters {
|
|
3
|
-
blocks:
|
|
3
|
+
blocks: ActionFiltersItem[];
|
|
4
4
|
traps_pests: _TrapTypePestFilter[];
|
|
5
|
-
traps_types:
|
|
6
|
-
weeks:
|
|
5
|
+
traps_types: ActionFiltersItem[];
|
|
6
|
+
weeks: ActionFiltersItem[];
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportCellPollinationActionFilters {
|
|
3
|
-
cells:
|
|
4
|
-
weeks:
|
|
3
|
+
cells: ActionFiltersItem[];
|
|
4
|
+
weeks: ActionFiltersItem[];
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _TrapTypePestFilter,
|
|
1
|
+
import { _TrapTypePestFilter, ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportFacilityTrapActionFilters {
|
|
3
|
-
blocks:
|
|
3
|
+
blocks: ActionFiltersItem[];
|
|
4
4
|
traps_pests: _TrapTypePestFilter[];
|
|
5
|
-
traps_types:
|
|
6
|
-
weeks:
|
|
5
|
+
traps_types: ActionFiltersItem[];
|
|
6
|
+
weeks: ActionFiltersItem[];
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportFiltersBlock {
|
|
3
|
-
blocks:
|
|
4
|
-
weeks:
|
|
3
|
+
blocks: ActionFiltersItem[];
|
|
4
|
+
weeks: ActionFiltersItem[];
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportFiltersZone {
|
|
3
|
-
weeks:
|
|
4
|
-
zones:
|
|
3
|
+
weeks: ActionFiltersItem[];
|
|
4
|
+
zones: ActionFiltersItem[];
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ReasonFilters,
|
|
1
|
+
import { _ReasonFilters, ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportRowIncidentActionFilters {
|
|
3
3
|
reasons: _ReasonFilters[];
|
|
4
|
-
rows:
|
|
5
|
-
weeks:
|
|
4
|
+
rows: ActionFiltersItem[];
|
|
5
|
+
weeks: ActionFiltersItem[];
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _TrapTypePestFilter,
|
|
1
|
+
import { _TrapTypePestFilter, ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportTrapActionFilters {
|
|
3
3
|
traps_pests: _TrapTypePestFilter[];
|
|
4
|
-
traps_types:
|
|
5
|
-
weeks:
|
|
4
|
+
traps_types: ActionFiltersItem[];
|
|
5
|
+
weeks: ActionFiltersItem[];
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ReasonFilters,
|
|
1
|
+
import { _ReasonFilters, ActionFiltersItem } from '../../../index';
|
|
2
2
|
export interface ReportZoneIncidentActionFilters {
|
|
3
3
|
reasons: _ReasonFilters[];
|
|
4
|
-
weeks:
|
|
5
|
-
zones:
|
|
4
|
+
weeks: ActionFiltersItem[];
|
|
5
|
+
zones: ActionFiltersItem[];
|
|
6
6
|
}
|
|
@@ -26,7 +26,6 @@ export { ReportCellPollinationActionFilters } from './ReportCellPollinationActio
|
|
|
26
26
|
export { ReportFacilityTrap } from './ReportFacilityTrap';
|
|
27
27
|
export { ReportFacilityTrapActionFilters } from './ReportFacilityTrapActionFilters';
|
|
28
28
|
export { ReportFiltersBlock } from './ReportFiltersBlock';
|
|
29
|
-
export { ReportFiltersItem } from './ReportFiltersItem';
|
|
30
29
|
export { ReportFiltersRow } from './ReportFiltersRow';
|
|
31
30
|
export { ReportFiltersZone } from './ReportFiltersZone';
|
|
32
31
|
export { ReportRowBeehive } from './ReportRowBeehive';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TaskProjectType } from '../../../index';
|
|
2
|
+
export interface PaginatedTaskProjectTypeList {
|
|
3
|
+
/** @example 123 */
|
|
4
|
+
count: number;
|
|
5
|
+
/**
|
|
6
|
+
* @format uri
|
|
7
|
+
* @example "http://api.example.org/accounts/?offset=400&limit=100"
|
|
8
|
+
*/
|
|
9
|
+
next?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* @format uri
|
|
12
|
+
* @example "http://api.example.org/accounts/?offset=200&limit=100"
|
|
13
|
+
*/
|
|
14
|
+
previous?: string | null;
|
|
15
|
+
results: TaskProjectType[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface PatchedTaskProjectTypeRequest {
|
|
2
|
+
/**
|
|
3
|
+
* Показывать
|
|
4
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
5
|
+
*/
|
|
6
|
+
active?: boolean;
|
|
7
|
+
/** Комментарий */
|
|
8
|
+
comment?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Название
|
|
11
|
+
* @minLength 1
|
|
12
|
+
* @maxLength 255
|
|
13
|
+
*/
|
|
14
|
+
name?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Сортировка
|
|
17
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
18
|
+
* @min -32768
|
|
19
|
+
* @max 32767
|
|
20
|
+
*/
|
|
21
|
+
sort?: number;
|
|
22
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _TaskFieldType, BlankEnum, PriorityEnum
|
|
1
|
+
import { _TaskFieldType, BlankEnum, PriorityEnum } from '../../../index';
|
|
2
2
|
export interface TaskField {
|
|
3
3
|
id: number;
|
|
4
4
|
/**
|
|
@@ -33,6 +33,7 @@ export interface TaskField {
|
|
|
33
33
|
name_short: string;
|
|
34
34
|
/** Приоритет */
|
|
35
35
|
priority?: BlankEnum | PriorityEnum;
|
|
36
|
-
|
|
36
|
+
/** Статус */
|
|
37
|
+
status: string;
|
|
37
38
|
type: _TaskFieldType | null;
|
|
38
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _TasksByStatus, CreatorField, FacilityField, TagField, TaskProjectField, TaskProjectPlace, TaskProjectStatus, TaskTemplateField } from '../../../index';
|
|
1
|
+
import { _TasksByStatus, CreatorField, FacilityField, TagField, TaskProjectField, TaskProjectPlace, TaskProjectStatus, TaskProjectType, TaskTemplateField } from '../../../index';
|
|
2
2
|
export interface TaskProject {
|
|
3
3
|
id: number;
|
|
4
4
|
creator: CreatorField | null;
|
|
@@ -54,4 +54,5 @@ export interface TaskProject {
|
|
|
54
54
|
tasks_by_status: _TasksByStatus | null;
|
|
55
55
|
tasks_progress: number;
|
|
56
56
|
template: TaskTemplateField | null;
|
|
57
|
+
type: TaskProjectType | null;
|
|
57
58
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _TasksByStatus, CreatorField, DeviationField, DiseaseField, FacilityField, PestField, TagField, TaskProjectField, TaskProjectGroupDetail, TaskProjectPlace, TaskProjectStatus, TaskTemplateField, ViolationField } from '../../../index';
|
|
1
|
+
import { _TasksByStatus, CreatorField, DeviationField, DiseaseField, FacilityField, PestField, TagField, TaskProjectField, TaskProjectGroupDetail, TaskProjectPlace, TaskProjectStatus, TaskProjectType, TaskTemplateField, ViolationField } from '../../../index';
|
|
2
2
|
export interface TaskProjectDetail {
|
|
3
3
|
id: number;
|
|
4
4
|
creator: CreatorField | null;
|
|
@@ -60,4 +60,5 @@ export interface TaskProjectDetail {
|
|
|
60
60
|
tasks_by_status: _TasksByStatus | null;
|
|
61
61
|
tasks_progress: number;
|
|
62
62
|
template: TaskTemplateField | null;
|
|
63
|
+
type: TaskProjectType | null;
|
|
63
64
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface TaskProjectType {
|
|
2
|
+
id: number;
|
|
3
|
+
/**
|
|
4
|
+
* Показывать
|
|
5
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
6
|
+
*/
|
|
7
|
+
active?: boolean;
|
|
8
|
+
/** Комментарий */
|
|
9
|
+
comment?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Название
|
|
12
|
+
* @maxLength 255
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Сортировка
|
|
17
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
18
|
+
* @min -32768
|
|
19
|
+
* @max 32767
|
|
20
|
+
*/
|
|
21
|
+
sort?: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface TaskProjectTypeRequest {
|
|
2
|
+
/**
|
|
3
|
+
* Показывать
|
|
4
|
+
* Если отключёно, элемент не будет отображаться на сайте
|
|
5
|
+
*/
|
|
6
|
+
active?: boolean;
|
|
7
|
+
/** Комментарий */
|
|
8
|
+
comment?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Название
|
|
11
|
+
* @minLength 1
|
|
12
|
+
* @maxLength 255
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Сортировка
|
|
17
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
18
|
+
* @min -32768
|
|
19
|
+
* @max 32767
|
|
20
|
+
*/
|
|
21
|
+
sort?: number;
|
|
22
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _TaskFieldExecutorBrigades, _TaskFieldType, BeehiveField, BlankEnum, CreatorField, EntityField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceRowSideField, PlaceZoneField, PollinationPointField, PriorityEnum,
|
|
1
|
+
import { _TaskFieldExecutorBrigades, _TaskFieldType, BeehiveField, BlankEnum, CreatorField, EntityField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceRowSideField, PlaceZoneField, PollinationPointField, PriorityEnum, TrapField } from '../../../index';
|
|
2
2
|
export interface _Task {
|
|
3
3
|
id: number;
|
|
4
4
|
beehives?: BeehiveField[];
|
|
@@ -47,7 +47,8 @@ export interface _Task {
|
|
|
47
47
|
pollination_points?: PollinationPointField[];
|
|
48
48
|
/** Приоритет */
|
|
49
49
|
priority?: BlankEnum | PriorityEnum;
|
|
50
|
-
|
|
50
|
+
/** Статус */
|
|
51
|
+
status: string;
|
|
51
52
|
traps?: TrapField[];
|
|
52
53
|
type: _TaskFieldType | null;
|
|
53
54
|
}
|