Skip to content

Commit

Permalink
feat!: replace createdBy with originalVersionId
Browse files Browse the repository at this point in the history
See <digidem/comapeo-core#371> for details.
  • Loading branch information
EvanHahn committed Jul 10, 2024
1 parent 10e2386 commit 1e596d5
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 167 deletions.
2 changes: 1 addition & 1 deletion lib/faker.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ function createFakerSchema(schema) {

mutateWithFakerProperty(s.properties.docId, 'mapeo.id')
mutateWithFakerProperty(s.properties.versionId, 'mapeo.versionId')
mutateWithFakerProperty(s.properties.originalVersionId, 'mapeo.versionId')
mutateWithFakerProperty(s.properties.links, 'mapeo.links')
mutateWithFakerProperty(s.properties.createdBy, 'mapeo.id')

switch (s.title) {
case 'CoreOwnership': {
Expand Down
Binary file added mapeo-schema-3.0.0-next.16.tgz
Binary file not shown.
Loading

0 comments on commit 1e596d5

Please sign in to comment.