This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const STEPS = { | |
INITIAL: "INITIAL", | |
LICENSE_PLATE: "LICENSE_PLATE", | |
BRAND_NEW_CAR: "BRAND_NEW_CAR", | |
CAR_MODEL: "CAR_MODEL", | |
CEP: "CEP", | |
ADDRESS: "ADDRESS", | |
CPF: "CPF", | |
EMAIL: "EMAIL", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Idle | |
// - loading | |
// - not found | |
// - Instructions | |
// - Step Details | |
// - Camera | |
// - Done | |
// - raise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const STEPS = { | |
INITIAL: "INITIAL", | |
LICENSE_PLATE: "LICENSE_PLATE", | |
BRAND_NEW_CAR: "BRAND_NEW_CAR", | |
BUSINESS_CAR: "BUSINESS_CAR", | |
CAR_MODEL: "CAR_MODEL", | |
CEP: "CEP", | |
ADDRESS: "ADDRESS", | |
CPF: "CPF", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"id": "8f76c8b3-4140-46a8-aed2-e67df3bea028", | |
"type": "inspection_details", | |
"attributes": { | |
"id": "8f76c8b3-4140-46a8-aed2-e67df3bea028", | |
"state": "new", | |
"started_at": null, | |
"submitted_at": null, | |
"user_id": "abc3d534-4e49-43c7-9062-62be6aab7bdf", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react"; | |
import typography from "../theme/typography"; | |
import colors from "../theme/colors"; | |
import styled from "styled-components"; | |
import breakpoints from "../theme/breakpoints"; | |
interface Props { | |
variant: keyof typeof typography; | |
bold?: boolean; | |
highlight?: boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [{ | |
"id": "d341c4fe-93c7-440d-af4a-ccc1a9ab0d58", | |
"type": "inspection", | |
"attributes": { | |
"id": "d341c4fe-93c7-440d-af4a-ccc1a9ab0d58", | |
"state": "being_reviewed", | |
"started_at": "2021-11-16T15:44:43.373Z", | |
"submitted_at": "2021-11-16T16:04:59.390Z", | |
"user_id": "45de7133-ab0f-47de-b662-7c7471d5e5f5", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |