Skip to content

Commit

Permalink
Events v2: add config for summary and workqueues (#1188)
Browse files Browse the repository at this point in the history
* feat: add config for summary and workqueues

* configure statusm created at, modified at to be default columns

* feat: move review title to config

* feat:  add form for register

* add conditional rules for action visibility

* add more actions and conditionality

* do not show register action after a record already has a register action

* Events v2: form field validation example (#343)

* add conditional rules for action visibility

* add more actions and conditionality

* do not show register action after a record already has a register action

* add example form field validation

* comment out file field for now

* remove conditionals

* update toolkit version

* add e2e back

* remove added schema file

* upgrade faker.js

---------

Co-authored-by: Markus <[email protected]>
Co-authored-by: jamil314 <[email protected]>
  • Loading branch information
3 people authored Dec 18, 2024
1 parent f3e58e2 commit 1efe318
Show file tree
Hide file tree
Showing 5 changed files with 321 additions and 114 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@
"vitest": "^2.1.2"
},
"dependencies": {
"@faker-js/faker": "^6.0.0-alpha.5",
"@faker-js/faker": "^7.6.0",
"@hapi/boom": "^9.1.1",
"@hapi/h2o2": "^9.1.0",
"@hapi/hapi": "^20.0.1",
"@hapi/inert": "^6.0.3",
"@opencrvs/toolkit": "^0.0.5",
"@opencrvs/toolkit": "0.0.6-events",
"@types/chalk": "^2.2.0",
"@types/code": "^4.0.3",
"@types/csv2json": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/data-generator/address.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import faker from '@faker-js/faker'
import { faker } from '@faker-js/faker'
import { Location } from './location'

export function createAddressInput(location: Location, type: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/data-generator/users.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import faker from '@faker-js/faker'
import { faker } from '@faker-js/faker'
import { log } from './util'
import { Facility, getFacilities, Location } from './location'
import fetch from 'node-fetch'
Expand Down
Loading

0 comments on commit 1efe318

Please sign in to comment.