@dynamatix/gb-schemas 2.0.66 → 2.0.67

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.
@@ -5,7 +5,7 @@ export declare class ProductDefinitionEntity {
5
5
  productDefinitionId: string;
6
6
  productCatalogueId: string;
7
7
  name: string;
8
- atLeastOnePass: string;
8
+ atLeastOnePass: boolean;
9
9
  elements: any[];
10
10
  createdAt: Date;
11
11
  updatedAt: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"product-definition.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/product-definition.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBAAa,uBAAuB;IAChC,EAAE,EAAG,MAAM,CAAC;IACZ,mBAAmB,EAAG,MAAM,CAAC;IAC7B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,IAAI,EAAG,MAAM,CAAC;IACd,cAAc,EAAG,MAAM,CAAC;IACxB,QAAQ,EAAG,GAAG,EAAE,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;gBAET,OAAO,EAAE,OAAO,CAAC,uBAAuB,CAAC;CAGxD"}
1
+ {"version":3,"file":"product-definition.entity.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/product-definition.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,qBAAa,uBAAuB;IAChC,EAAE,EAAG,MAAM,CAAC;IACZ,mBAAmB,EAAG,MAAM,CAAC;IAC7B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,IAAI,EAAG,MAAM,CAAC;IACd,cAAc,EAAG,OAAO,CAAC;IACzB,QAAQ,EAAG,GAAG,EAAE,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;gBAET,OAAO,EAAE,OAAO,CAAC,uBAAuB,CAAC;CAGxD"}
@@ -6,7 +6,7 @@ export class ProductDefinitionEntity {
6
6
  productDefinitionId!: string;
7
7
  productCatalogueId!: string;
8
8
  name!: string;
9
- atLeastOnePass!: string;
9
+ atLeastOnePass!: boolean;
10
10
  elements!: any[];
11
11
  createdAt!: Date;
12
12
  updatedAt!: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.0.66",
3
+ "version": "2.0.67",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,9 @@
1
+ /*
2
+ Warnings:
3
+
4
+ - Changed the type of `at_least_one_pass` on the `product_definitions` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
5
+
6
+ */
7
+ -- AlterTable
8
+ ALTER TABLE "product_definitions" DROP COLUMN "at_least_one_pass",
9
+ ADD COLUMN "at_least_one_pass" BOOLEAN NOT NULL;
@@ -3,14 +3,14 @@ model ProductDefinition {
3
3
  productDefinitionId String @unique @map("product_definition_id")
4
4
  productCatalogueId String @map("product_catalogue_id")
5
5
  name String @map("name")
6
- atLeastOnePass String @map("at_least_one_pass")
6
+ atLeastOnePass Boolean @map("at_least_one_pass")
7
7
  elements Json @default("[]") @map("elements")
8
8
  createdAt DateTime @default(now()) @map("created_at")
9
9
  updatedAt DateTime @updatedAt @map("updated_at")
10
10
 
11
11
  // Relations
12
- productCatalogue ProductCatalogue @relation(fields: [productCatalogueId], references: [id])
13
- rules Rule[]
12
+ productCatalogue ProductCatalogue @relation(fields: [productCatalogueId], references: [id])
13
+ rules Rule[]
14
14
 
15
15
  @@map("product_definitions")
16
- }
16
+ }
@@ -416,14 +416,14 @@ model ProductDefinition {
416
416
  productDefinitionId String @unique @map("product_definition_id")
417
417
  productCatalogueId String @map("product_catalogue_id")
418
418
  name String @map("name")
419
- atLeastOnePass String @map("at_least_one_pass")
419
+ atLeastOnePass Boolean @map("at_least_one_pass")
420
420
  elements Json @default("[]") @map("elements")
421
421
  createdAt DateTime @default(now()) @map("created_at")
422
422
  updatedAt DateTime @updatedAt @map("updated_at")
423
423
 
424
424
  // Relations
425
- productCatalogue ProductCatalogue @relation(fields: [productCatalogueId], references: [id])
426
- rules Rule[]
425
+ productCatalogue ProductCatalogue @relation(fields: [productCatalogueId], references: [id])
426
+ rules Rule[]
427
427
 
428
428
  @@map("product_definitions")
429
429
  }