prostgles-server 4.2.498 → 4.2.499
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.
|
@@ -39,7 +39,7 @@ export declare class DboBuilder {
|
|
|
39
39
|
queryStreamer: QueryStreamer;
|
|
40
40
|
get tables(): DbTableInfo[];
|
|
41
41
|
getDetailedFieldInfo: (fields: pg.IColumn[]) => Promise<{
|
|
42
|
-
tsDataType: "string" | "number" | "boolean" | "
|
|
42
|
+
tsDataType: "string" | "number" | "boolean" | "number[]" | "boolean[]" | "string[]" | "any[]" | "any";
|
|
43
43
|
dataType: import("prostgles-types").PG_COLUMN_UDT_DATA_TYPE;
|
|
44
44
|
udt_name: import("prostgles-types").PG_COLUMN_UDT_DATA_TYPE;
|
|
45
45
|
tableName: string | undefined;
|
|
@@ -22,7 +22,7 @@ export declare const getDbTypes: (db: DB) => Promise<{
|
|
|
22
22
|
}>;
|
|
23
23
|
}>;
|
|
24
24
|
export declare const getDetailedFieldInfo: ({ dataTypesMap, userTablesMap, userTableColumnsMap }: Awaited<ReturnType<typeof getDbTypes>>, fields: pg.IColumn[]) => {
|
|
25
|
-
tsDataType: "string" | "number" | "boolean" | "
|
|
25
|
+
tsDataType: "string" | "number" | "boolean" | "number[]" | "boolean[]" | "string[]" | "any[]" | "any";
|
|
26
26
|
dataType: PG_COLUMN_UDT_DATA_TYPE;
|
|
27
27
|
udt_name: PG_COLUMN_UDT_DATA_TYPE;
|
|
28
28
|
tableName: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const VALIDATE_SCHEMA_FUNCNAME = "prostgles.validate_jsonb_schema";
|
|
2
|
-
export declare const JSONB_DATA_TYPES: readonly ["
|
|
2
|
+
export declare const JSONB_DATA_TYPES: readonly [...("string" | "number" | "boolean" | "time" | "timestamp" | "number[]" | "boolean[]" | "string[]" | "any[]" | "any" | "integer" | "Date" | "unknown" | "Blob" | "FileLike" | "time[]" | "timestamp[]" | "integer[]" | "Date[]" | "unknown[]" | "Blob[]" | "FileLike[]")[], "Lookup", "Lookup[]"];
|
|
3
3
|
export declare const CREATE_VALIDATE_SCHEMA_FUNCTION_SQL: string;
|
|
4
4
|
//# sourceMappingURL=validateJSONBSchemaSQL.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateJSONBSchemaSQL.d.ts","sourceRoot":"","sources":["../../lib/JSONBSchemaValidation/validateJSONBSchemaSQL.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,wBAAwB,oCAAoC,CAAC;AAC1E,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"validateJSONBSchemaSQL.d.ts","sourceRoot":"","sources":["../../lib/JSONBSchemaValidation/validateJSONBSchemaSQL.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,wBAAwB,oCAAoC,CAAC;AAC1E,eAAO,MAAM,gBAAgB,6SAAiD,CAAC;AAE/E,eAAO,MAAM,mCAAmC,QA6Y/C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prostgles-server",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.499",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"pg": "^8.19.0",
|
|
58
58
|
"pg-cursor": "^2.19.0",
|
|
59
59
|
"pg-promise": "^12.6.2",
|
|
60
|
-
"prostgles-types": "^4.0.
|
|
60
|
+
"prostgles-types": "^4.0.214"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@eslint/js": "^9.22.0",
|