Skip to content

Commit

Permalink
Misc. Minor Changes (#98)
Browse files Browse the repository at this point in the history
* chore: update `.sqlx` query metadata

* refactor(mark): use object type constants
  • Loading branch information
eventualbuddha authored Apr 1, 2024
1 parent 6b4b96d commit 7e1da95
Show file tree
Hide file tree
Showing 12 changed files with 290 additions and 32 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/cacvote-mark/backend/src/cacvote-server/sync.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ test('sync / fetch object but cannot add to store', async () => {
Uuid(),
object.getId(),
unsafeParse(JurisdictionCodeSchema, 'st.test-jurisdiction'),
'RegistrationRequest',
RegistrationRequestObjectType,
'create',
DateTime.now()
);
Expand Down
5 changes: 3 additions & 2 deletions apps/cacvote-mark/backend/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { join } from 'path';
import { ZodError } from 'zod';
import {
Election,
ElectionObjectType,
JournalEntry,
JurisdictionCode,
JurisdictionCodeSchema,
Expand Down Expand Up @@ -255,8 +256,8 @@ export class Store {
getJournalEntriesForObjectsToPull(): JournalEntry[] {
const objectTypesToPull = [
RegistrationRequestObjectType,
'Registration',
'Election',
RegistrationObjectType,
ElectionObjectType,
];
const action = 'create';

Expand Down

0 comments on commit 7e1da95

Please sign in to comment.