Skip to content

Commit a5b3af1

Browse files
committed
wip
1 parent 29c52c4 commit a5b3af1

File tree

6 files changed

+1165
-435
lines changed

6 files changed

+1165
-435
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,6 @@
7272
"ts-node": "^10.9.1",
7373
"typescript": "^5.6.3",
7474
"vitest": "^3.0.5"
75-
}
75+
},
76+
"packageManager": "[email protected]+sha512.845196026aab1cc3f098a0474b64dfbab2afe7a1b4e91dd86895d8e4aa32a7a6d03049e2d0ad770bbe4de023a7122fb68c1a1d6e0d033c7076085f9d5d4800d4"
7677
}

src/server/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ export const GENERATE_TYPES_SWIFT_ACCESS_CONTROL = process.env
4949
.PG_META_GENERATE_TYPES_SWIFT_ACCESS_CONTROL
5050
? (process.env.PG_META_GENERATE_TYPES_SWIFT_ACCESS_CONTROL as AccessControl)
5151
: 'internal'
52+
// json/jsonb/text types
53+
export const VALID_UNNAMED_FUNCTION_ARG_TYPES = new Set([114, 3802, 25])
54+
export const VALID_FUNCTION_ARGS_MODE = new Set(['in', 'inout', 'variadic'])
5255

5356
export const PG_META_MAX_RESULT_SIZE = process.env.PG_META_MAX_RESULT_SIZE_MB
5457
? // Node-postgres get a maximum size in bytes make the conversion from the env variable

0 commit comments

Comments
 (0)