We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e66f16 commit d96adefCopy full SHA for d96adef
src/shelter/shelter.service.ts
@@ -144,7 +144,6 @@ export class ShelterService {
144
pix: true,
145
address: true,
146
capacity: true,
147
- contact: true,
148
petFriendly: true,
149
shelteredPeople: true,
150
prioritySum: true,
src/shelter/types/search.types.ts
@@ -12,7 +12,9 @@ export interface IFilterFormProps {
12
tags: ShelterTagInfo | null;
13
}
14
15
-export type SearchShelterTagResponse = Shelter & {
+type AllowedShelterFields = Omit<Shelter, 'contact'>;
16
+
17
+export type SearchShelterTagResponse = AllowedShelterFields & {
18
shelterSupplies: (ShelterSupply & { supply: Supply })[];
19
};
20
0 commit comments