Skip to content

Commit

Permalink
Merge pull request #51 from wri/release/xrayed-xylocarpus
Browse files Browse the repository at this point in the history
[RELEASE] X-Rayed Xylocarpus
  • Loading branch information
roguenet authored Feb 6, 2025
2 parents e00d902 + bf29de0 commit 187bc38
Show file tree
Hide file tree
Showing 33 changed files with 574 additions and 569 deletions.
10 changes: 4 additions & 6 deletions apps/unified-database-service/src/airtable/airtable.processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,31 @@ import Airtable from "airtable";
import {
ApplicationEntity,
DemographicEntity,
DemographicEntryEntity,
NurseryEntity,
NurseryReportEntity,
OrganisationEntity,
ProjectEntity,
ProjectReportEntity,
RestorationPartnerEntity,
SiteEntity,
SiteReportEntity,
TreeSpeciesEntity,
WorkdayEntity
TreeSpeciesEntity
} from "./entities";
import * as Sentry from "@sentry/node";
import { SlackService } from "nestjs-slack";

export const AIRTABLE_ENTITIES = {
application: ApplicationEntity,
demographic: DemographicEntity,
"demographic-entry": DemographicEntryEntity,
nursery: NurseryEntity,
"nursery-report": NurseryReportEntity,
organisation: OrganisationEntity,
project: ProjectEntity,
"project-report": ProjectReportEntity,
"restoration-partner": RestorationPartnerEntity,
site: SiteEntity,
"site-report": SiteReportEntity,
"tree-species": TreeSpeciesEntity,
workday: WorkdayEntity
"tree-species": TreeSpeciesEntity
};

export type EntityType = keyof typeof AIRTABLE_ENTITIES;
Expand Down
Loading

0 comments on commit 187bc38

Please sign in to comment.