Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: replace createdBy with originalVersionId #7

Merged
merged 2 commits into from
Aug 24, 2024
Merged

Conversation

EvanHahn
Copy link
Contributor

See digidem/comapeo-core#371 for details.

EvanHahn added a commit to digidem/comapeo-core that referenced this pull request Jul 10, 2024
This patch:

- Removes `createdBy` from documents. Removes
  `MapeoProject.prototype.$createdByToDeviceId` as a side-effect.

- Returns `originalVersionId` on all documents.

Closes <#371>. Depends
on <https://github.com/digidem/mapeo-schema/pull/191> and
<digidem/mapeo-mock-data#7>.
package.json Outdated
@@ -28,7 +28,7 @@
},
"dependencies": {
"@faker-js/faker": "^8.3.1",
"@mapeo/schema": "^3.0.0-next.16",
"@mapeo/schema": "file:mapeo-schema-3.0.0-next.16.tgz",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See https://github.com/digidem/mapeo-schema/pull/191. I'll deploy a new version of the dependency before merging this PR.

@EvanHahn EvanHahn requested a review from gmaclennan July 10, 2024 20:03
@EvanHahn EvanHahn marked this pull request as ready for review July 10, 2024 20:03
@EvanHahn EvanHahn merged commit 11c3ae1 into main Aug 24, 2024
@EvanHahn EvanHahn deleted the originalVersionId branch August 24, 2024 15:58
EvanHahn added a commit to digidem/comapeo-core that referenced this pull request Aug 27, 2024
This patch:

- Removes `createdBy` from documents. Removes
  `MapeoProject.prototype.$createdByToDeviceId` as a side-effect.

- Returns `originalVersionId` on all documents.

- Updates `@mapeo/schema` to the latest version, which requires a bunch
  of other changes.

Closes [#371](#371).

See <https://github.com/digidem/mapeo-schema/pull/191> and
<digidem/mapeo-mock-data#7>.

Co-Authored-By: Tomás Ciccola <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants