-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement find capital projects by community district
Flesh out repository Generated zod schema can't be nullable Remove WIP emoji Comment out pipe to get capital projects Add unit test Add e2e test Fix type errors Add index Clean up Add pipe validation Use transform pipe in param and query decorator Add tests for query params
- Loading branch information
Showing
10 changed files
with
361 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/community-district/community-district.repository.schema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
import { communityDistrictEntitySchema } from "src/schema"; | ||
import { mvtEntitySchema } from "src/schema/mvt"; | ||
import { z } from "zod"; | ||
|
||
export const findTilesRepoSchema = mvtEntitySchema; | ||
|
||
export type FindTilesRepo = z.infer<typeof findTilesRepoSchema>; | ||
|
||
export const checkByIdRepoSchema = communityDistrictEntitySchema.pick({ | ||
id: true, | ||
}); | ||
|
||
export type CheckByIdRepo = z.infer<typeof checkByIdRepoSchema>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.