📚 Vehicle Inspection API Documentation
🎯 Новая структура данных
Ключевое изменение: Каждая машина имеет индивидуальные параметры (service, appointment, location), но один инспектор на весь ордер.
Структура данных:
Order
📚 Vehicle Inspection API Documentation
🎯 Новая структура данных
Ключевое изменение: Каждая машина имеет индивидуальные параметры (service, appointment, location), но один инспектор на весь ордер.
Структура данных:
Order
| param( | |
| [int]$MouseJitterPx = 12, | |
| [int]$ClickTestCount = 1, | |
| [switch]$SkipNotepad | |
| ) | |
| function Try-Run { | |
| param([string]$Name, [scriptblock]$Code) | |
| $ok = $true; $out = "" | |
| try { $val = & $Code; if ($null -ne $val) { $out = ($val | Out-String) } } |
| import 'dart:io'; | |
| import 'package:dio/dio.dart'; | |
| import '../app_http_client.dart'; | |
| import '../app_http_client_token_refresher.dart'; | |
| import '../app_http_exception.dart'; | |
| import '../http_method.dart'; | |
| // TODO Ilya: lock all requests while refreshing token |
| import os | |
| import re | |
| # Relatively to "lib" | |
| dartIconsPath = 'resources/icons/' | |
| iconsDirectory = 'assets/icons/' | |
| # Change string to lowerCamelCase | |
| def to_camel(word): |
| class MyClass {} | |
| void main() { | |
| const className = MyClass; | |
| print(className()); | |
| } |
| // Breakpoint viewport sizes and media queries. | |
| // | |
| // Breakpoints are defined as a map of (name: minimum width), order from small to large: | |
| // | |
| // (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px) | |
| // | |
| // The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default. | |
| // Name of the next breakpoint, or null for the last breakpoint. | |
| // |
| // at least 100 px are a swipe | |
| // you can use the value relative to screen size: window.innerWidth * .1 | |
| const offset = 100; | |
| let xDown, yDown | |
| window.addEventListener('touchstart', e => { | |
| const firstTouch = getTouch(e); | |
| xDown = firstTouch.clientX; | |
| yDown = firstTouch.clientY; |
| (89.99999999999999 !== 90.00000000000000) !== (89.999999999999999 !== 90.000000000000000) |
| const { join } = require('path') | |
| export function getSrcDir (srcFolder = 'src', startPath = __dirname) { | |
| const parentPath = normalize(startPath + '/..') | |
| if (startPath === parentPath) { | |
| throw Error('Could not find folder.') | |
| } | |
| if (basename(startPath) === srcFolder) { |
| {"data": | |
| [{"name":"Africa/Conakry","countryCode":"GIN","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Lome","countryCode":"TGO","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Atlantic/Reykjavik","countryCode":"ISL","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Monrovia","countryCode":"LBR","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"America/Scoresbysund","countryCode":"GRL","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"America/Danmarkshavn","countryCode":"GRL","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Bissau","countryCode":"GNB","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Banjul","countryCode":"GMB","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Bamako","countryCode":"MLI","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Dakar","countryCode":"SEN","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Ouagadougou","countryCode":"BFA","offset":"(UTC+00:00)","offsetPrefix":"+"},{"name":"Africa/Accra","countryCo |