Skip to content

Instantly share code, notes, and snippets.

View machine.js
const context = {
application_config: {
max_attempts: 5,
},
application_data: {
attempts: 0,
},
}
const implementations = {
View machine.js
const context = {
application_config: {
max_attempts: 5,
},
application_data: {
attempts: 0,
},
};
View machine.js
const context = {
application_config: {
max_attempts: 5,
},
application_data: {
attempts: 0,
},
};
const config = {
View machine.js
const context = {
application_config: {
max_attempts: 5,
},
application_data: {
attempts: 0,
},
};
View machine.js
const context = {
application_config: {
max_attempts: 5,
},
application_data: {
attempts: 0,
},
};
View machine.js
const context = {
application_config: {
max_attempts: 5,
},
application_data: {
attempts: 0,
},
};
const config = {
View machine.js
const context = {
config: {
max_attempts: 5
},
data: {
fields: {},
entity_id: '',
entity: 'users',
isSaveAndClose: false,
attempts: 0
View machine.js
const context = {
config: {},
data: {
entity_id: '',
entity: 'users',
selected_navigation: '',
navigations: [],
browse: [],
fullScreenedComponent: {
component_name: ''
View machine.js
// GenerateWorkers
const worker_data = [
{worker_id: 0},
{worker_id: 1},
{worker_id: 2},
]
const workers_config = worker_data.reduce((acc, curr) => {
const { worker_id } = curr
View machine.js
// GenerateWorkers
const worker_data = [
{worker_id: 0},
{worker_id: 1},
{worker_id: 2},
]
const workers_config = worker_data.reduce((acc, curr) => {
const { worker_id } = curr