prostgles-server 4.0.61 → 4.0.62

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.
@@ -62,7 +62,7 @@ async function getTablesForSchemaPostgresSQL({ db, runSQL }, schema = "public")
62
62
  ccc.references,
63
63
  ccc.has_default,
64
64
  ccc.column_default,
65
- ccc.privileges
65
+ COALESCE(ccc.privileges, '[]'::JSON) as privileges
66
66
  ) as x) ORDER BY ccc.ordinal_position ) as columns
67
67
  FROM (
68
68
  SELECT c.table_schema, c.table_name, c.column_name, c.data_type, c.udt_name
@@ -63,7 +63,7 @@ export async function getTablesForSchemaPostgresSQL({ db, runSQL }: DboBuilder,
63
63
  ccc.references,
64
64
  ccc.has_default,
65
65
  ccc.column_default,
66
- ccc.privileges
66
+ COALESCE(ccc.privileges, '[]'::JSON) as privileges
67
67
  ) as x) ORDER BY ccc.ordinal_position ) as columns
68
68
  FROM (
69
69
  SELECT c.table_schema, c.table_name, c.column_name, c.data_type, c.udt_name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "4.0.61",
3
+ "version": "4.0.62",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,7 +12,8 @@
12
12
  "start": "tsc --watch",
13
13
  "build": "tsc",
14
14
  "lint": "eslint . --ext .ts --quiet --fix",
15
- "test": "rm -rf ./node_modules/* && npm i && npm run lint && cd tests/ && ./test.sh"
15
+ "test": "rm -rf ./node_modules/* && npm i && npm run lint && cd tests/ && ./test.sh",
16
+ "publish": "npm version patch --git-tag-version false && git add -A && git commit -m \"add OnInitReason\" && git push && npm publish"
16
17
  },
17
18
  "repository": {
18
19
  "type": "git",
@@ -1 +1 @@
1
- 133356
1
+ 150935
@@ -6,7 +6,7 @@
6
6
  "scripts": {
7
7
  "start": "tsc-watch --onSuccess \"node dist/client/index.js\"",
8
8
  "dev": "NOSTOP=true npm start",
9
- "build": "rm -rf ./node_modules/* && npm i && tsc",
9
+ "build": "rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && tsc",
10
10
  "test": "node dist/client/index.js & echo $! > ./PID.txt"
11
11
  },
12
12
  "author": "",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "4.0.60",
24
+ "version": "4.0.61",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.363.0",
@@ -6,7 +6,7 @@
6
6
  "scripts": {
7
7
  "start": "tsc-watch --onSuccess \"node dist/server/index.js\"",
8
8
  "dev": "NOSTOP=true npm start",
9
- "build": "rm -rf ./node_modules/* && rm -rf ./media/* && npm i && tsc",
9
+ "build": "rm -rf ./node_modules/* && rm -rf ./media/* && rm -rf ./dist/* && npm i && tsc",
10
10
  "test-server": "TEST_TYPE=server node --inspect dist/server/index.js",
11
11
  "test-client": "TEST_TYPE=client node dist/server/index.js "
12
12
  },