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.
- package/dist/JSONBValidation/validate_jsonb_schema_sql.js +1 -1
- package/lib/JSONBValidation/validate_jsonb_schema_sql.js +1 -1
- package/lib/JSONBValidation/validate_jsonb_schema_sql.ts +1 -1
- package/package.json +1 -1
- package/tests/client/PID.txt +1 -1
- package/tests/isomorphic_queries.js +1 -1
- package/tests/isomorphic_queries.ts +1 -1
- package/tests/server/package-lock.json +1 -1
|
@@ -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
package/tests/client/PID.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
199647
|
|
@@ -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
|
});
|