@dynamatix/gb-schemas 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -93,9 +93,9 @@ model Applicant {
93
93
  updatedAt DateTime @updatedAt @map("updated_at")
94
94
 
95
95
  // Relations
96
- application Application @relation("ApplicationApplicants", fields: [applicationId], references: [id])
97
- addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
98
- correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
96
+ application Application? @relation("ApplicationApplicants", fields: [applicationId], references: [id])
97
+ addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
98
+ correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
99
99
  countryOfResidence Lookup @relation("CountryOfResidence", fields: [countryOfResidenceLid], references: [id])
100
100
  class Lookup? @relation("Class", fields: [classLid], references: [id])
101
101
  linkedJurisdictionCountry Lookup? @relation("LinkedJurisdictionCountry", fields: [linkedJurisdictionCountryLid], references: [id])
@@ -859,9 +859,9 @@ model Applicant {
859
859
  updatedAt DateTime @updatedAt @map("updated_at")
860
860
 
861
861
  // Relations
862
- application Application @relation("ApplicationApplicants", fields: [applicationId], references: [id])
863
- addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
864
- correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
862
+ application Application? @relation("ApplicationApplicants", fields: [applicationId], references: [id])
863
+ addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
864
+ correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
865
865
  countryOfResidence Lookup @relation("CountryOfResidence", fields: [countryOfResidenceLid], references: [id])
866
866
  class Lookup? @relation("Class", fields: [classLid], references: [id])
867
867
  linkedJurisdictionCountry Lookup? @relation("LinkedJurisdictionCountry", fields: [linkedJurisdictionCountryLid], references: [id])