prostgles-server 3.0.116 → 3.0.118

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.
@@ -19,7 +19,7 @@ DECLARE
19
19
  obj_key_val RECORD;
20
20
  schema JSONB;
21
21
  path text;
22
- allowed_types text[] = '{any,boolean,number,integer,string,boolean[],number[],integer[],string[],any[]}';
22
+ allowed_types text[] = '{any,boolean,number,integer,string,Date,timetimestamp,Lookup,boolean[],number[],integer[],string[],any[],Date[],time[],timestamp[],Lookup[]}';
23
23
  typeStr TEXT = NULL;
24
24
  optional boolean;
25
25
  nullable boolean;
@@ -19,7 +19,7 @@ DECLARE
19
19
  obj_key_val RECORD;
20
20
  schema JSONB;
21
21
  path text;
22
- allowed_types text[] = '{any,boolean,number,integer,string,boolean[],number[],integer[],string[],any[]}';
22
+ allowed_types text[] = '{any,boolean,number,integer,string,Date,timetimestamp,Lookup,boolean[],number[],integer[],string[],any[],Date[],time[],timestamp[],Lookup[]}';
23
23
  typeStr TEXT = NULL;
24
24
  optional boolean;
25
25
  nullable boolean;
@@ -18,7 +18,7 @@ DECLARE
18
18
  obj_key_val RECORD;
19
19
  schema JSONB;
20
20
  path text;
21
- allowed_types text[] = '{any,boolean,number,integer,string,boolean[],number[],integer[],string[],any[]}';
21
+ allowed_types text[] = '{any,boolean,number,integer,string,Date,timetimestamp,Lookup,boolean[],number[],integer[],string[],any[],Date[],time[],timestamp[],Lookup[]}';
22
22
  typeStr TEXT = NULL;
23
23
  optional boolean;
24
24
  nullable boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "3.0.116",
3
+ "version": "3.0.118",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1 @@
1
- 188717
1
+ 199647
@@ -602,7 +602,7 @@ async function isomorphic(db) {
602
602
  throw "Should have failed";
603
603
  }
604
604
  catch (e) {
605
- console.log("Perfect:", e);
605
+ console.log("Perfect fail");
606
606
  // Perfect
607
607
  }
608
608
  });
@@ -685,7 +685,7 @@ export default async function isomorphic(db: Required<DBHandlerServer> | Require
685
685
  await db.tjson.insert!({ colOneOf: "a", json: { a: true, arr: "22"} });
686
686
  throw "Should have failed"
687
687
  } catch(e){
688
- console.log("Perfect fail)
688
+ console.log("Perfect fail")
689
689
  // Perfect
690
690
  }
691
691
  });
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "3.0.115",
24
+ "version": "3.0.117",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.272.0",