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

Fixes #2841: Invalid emails and names in import:sample-data script #3160

Merged
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"graphql": "^16.10.0",
"graphql-scalars": "^1.24.0",
"graphql-upload-minimal": "^1.6.1",
"inquirer": "^12.4.1",
"mercurius": "^16.0.1",
"mercurius-upload": "^8.0.0",
"minio": "^8.0.4",
Expand All @@ -39,6 +40,7 @@
"@faker-js/faker": "^9.4.0",
"@swc/cli": "0.6.0",
"@swc/core": "^1.10.9",
"@types/inquirer": "^9.0.7",
"@types/node": "^22.10.7",
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "^3.0.3",
Expand Down
916 changes: 642 additions & 274 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

72 changes: 36 additions & 36 deletions sample_data/events.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
[
{
"id": "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"name": "Event One",
"description": "This is the first event.",
"createdAt": "2023-04-13T04:53:17.742Z",
"creatorId": "64378abd85008f171cf2990d",
"organizationId": "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"startAt": "2023-04-20T10:00:00.000Z",
"endAt": "2023-04-20T12:00:00.000Z",
"updatedAt": "2023-04-14T04:53:17.742Z",
"updaterId": "65378abd85008f171cf2990d"
},
{
"id": "2b3c4d5e-6f7g-8h9i-0j1k-2l3m4n5o6p7q",
"name": "Event Two",
"description": "This is the second event.",
"createdAt": "2023-04-14T04:53:17.742Z",
"creatorId": "65378abd85008f171cf2990d",
"organizationId": "2b3c4d5e-6f7g-8h9i-0j1k-2l3m4n5o6p7q",
"startAt": "2023-04-21T10:00:00.000Z",
"endAt": "2023-04-21T12:00:00.000Z",
"updatedAt": "2023-04-15T04:53:17.742Z",
"updaterId": "66378abd85008f171cf2990d"
},
{
"id": "3c4d5e6f-7g8h-9i0j-1k2l-3m4n5o6p7q8r",
"name": "Event Three",
"description": "This is the third event.",
"createdAt": "2023-04-15T04:53:17.742Z",
"creatorId": "66378abd85008f171cf2990d",
"organizationId": "3c4d5e6f-7g8h-9i0j-1k2l-3m4n5o6p7q8r",
"startAt": "2023-04-22T10:00:00.000Z",
"endAt": "2023-04-22T12:00:00.000Z",
"updatedAt": "2023-04-16T04:53:17.742Z",
"updaterId": "67378abd85008f171cf2990d"
}
{
"id": "a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"name": "Event One",
"description": "This is the first event.",
"createdAt": "2023-04-13T04:53:17.742Z",
"creatorId": "64378abd-8500-8f17-1cf2-990d00000001",
"organizationId": "ab1c2d3e-4f5b-6a7c-8d9e-0f1a2b3c4d5e",
"startAt": "2023-04-20T10:00:00.000Z",
"endAt": "2023-04-20T12:00:00.000Z",
"updatedAt": "2023-04-14T04:53:17.742Z",
"updaterId": "65378abd-8500-8f17-1cf2-990d00000002"
},
{
"id": "b2c3d4e5-f6a7-8b9c-0d1e-2f3a4b5c6d7e",
"name": "Event Two",
"description": "This is the second event.",
"createdAt": "2023-04-14T04:53:17.742Z",
"creatorId": "65378abd-8500-8f17-1cf2-990d00000002",
"organizationId": "bc2d3e4f-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"startAt": "2023-04-21T10:00:00.000Z",
"endAt": "2023-04-21T12:00:00.000Z",
"updatedAt": "2023-04-15T04:53:17.742Z",
"updaterId": "66378abd-8500-8f17-1cf2-990d00000003"
},
{
"id": "c3d4e5f6-a7b8-9c0d-1e2f-3a4b5c6d7e8f",
"name": "Event Three",
"description": "This is the third event.",
"createdAt": "2023-04-15T04:53:17.742Z",
"creatorId": "66378abd-8500-8f17-1cf2-990d00000003",
"organizationId": "cd3e4f5b-6a7c-8d9e-0f1a-2b3c4d5e6f7a",
"startAt": "2023-04-22T10:00:00.000Z",
"endAt": "2023-04-22T12:00:00.000Z",
"updatedAt": "2023-04-16T04:53:17.742Z",
"updaterId": "67378abd-8500-8f17-1cf2-990d00000004"
}
]
Loading
Loading