Skip to content

Commit a58d28f

Browse files
committed
utils
1 parent 16fb2bc commit a58d28f

File tree

17 files changed

+3284
-522
lines changed

17 files changed

+3284
-522
lines changed

packages/enums-json/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"eslint-plugin-prettier": "^4.0.0",
6666
"esprima": "4.0.1",
6767
"jest": "^29.5.0",
68-
"pg-proto-parser": "^1.18.2",
68+
"pg-proto-parser": "^1.20.0",
6969
"prettier": "^2.8.7",
7070
"rimraf": "5.0.5",
7171
"ts-jest": "^29.1.0",

packages/enums/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"eslint-plugin-prettier": "^4.0.0",
6666
"esprima": "4.0.1",
6767
"jest": "^29.5.0",
68-
"pg-proto-parser": "^1.18.2",
68+
"pg-proto-parser": "^1.20.0",
6969
"prettier": "^2.8.7",
7070
"rimraf": "5.0.5",
7171
"ts-jest": "^29.1.0",

packages/enums/src/enums.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by pg-proto-parser@1.18.2.
2+
* This file was automatically generated by pg-proto-parser@1.20.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
44
* and run the pg-proto-parser generate command to regenerate this file.
55
*/

packages/enums/types/enums.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by pg-proto-parser@1.18.2.
2+
* This file was automatically generated by pg-proto-parser@1.20.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
44
* and run the pg-proto-parser generate command to regenerate this file.
55
*/

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"eslint-plugin-prettier": "^4.0.0",
6565
"esprima": "4.0.1",
6666
"jest": "^29.5.0",
67-
"pg-proto-parser": "^1.18.2",
67+
"pg-proto-parser": "^1.20.0",
6868
"prettier": "^2.8.7",
6969
"rimraf": "5.0.5",
7070
"ts-jest": "^29.1.0",

packages/types/src/enums.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by pg-proto-parser@1.18.2.
2+
* This file was automatically generated by pg-proto-parser@1.20.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
44
* and run the pg-proto-parser generate command to regenerate this file.
55
*/

packages/types/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by pg-proto-parser@1.18.2.
2+
* This file was automatically generated by pg-proto-parser@1.20.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
44
* and run the pg-proto-parser generate command to regenerate this file.
55
*/

packages/types/types/enums.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by pg-proto-parser@1.18.2.
2+
* This file was automatically generated by pg-proto-parser@1.20.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
44
* and run the pg-proto-parser generate command to regenerate this file.
55
*/

packages/types/types/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by pg-proto-parser@1.18.2.
2+
* This file was automatically generated by pg-proto-parser@1.20.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file,
44
* and run the pg-proto-parser generate command to regenerate this file.
55
*/

packages/utils/__test__/__snapshots__/utils.test.ts.snap

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,73 +3,35 @@
33
exports[`asts 1`] = `
44
{
55
"CreateStmt": {
6-
"accessMethod": undefined,
7-
"constraints": undefined,
8-
"if_not_exists": undefined,
9-
"inhRelations": undefined,
10-
"ofTypename": undefined,
11-
"oncommit": undefined,
12-
"options": undefined,
13-
"partbound": undefined,
14-
"partspec": undefined,
156
"relation": {
167
"RangeVar": {
17-
"alias": undefined,
18-
"catalogname": undefined,
19-
"inh": undefined,
20-
"location": undefined,
218
"relname": "new_table",
22-
"relpersistence": undefined,
23-
"schemaname": undefined,
249
},
2510
},
2611
"tableElts": [
2712
{
2813
"ColumnDef": {
29-
"collClause": undefined,
30-
"collOid": undefined,
3114
"colname": "id",
32-
"constraints": undefined,
33-
"cooked_default": undefined,
34-
"fdwoptions": undefined,
35-
"generated": undefined,
36-
"identity": undefined,
37-
"identitySequence": undefined,
38-
"inhcount": undefined,
39-
"is_from_type": undefined,
40-
"is_local": undefined,
41-
"is_not_null": undefined,
42-
"location": undefined,
43-
"raw_default": undefined,
44-
"storage": undefined,
4515
"typeName": {
46-
"arrayBounds": undefined,
47-
"location": undefined,
4816
"names": [
4917
{
5018
"String": {
5119
"str": "int4",
5220
},
5321
},
5422
],
55-
"pct_type": undefined,
56-
"setof": undefined,
57-
"typeOid": undefined,
58-
"typemod": undefined,
59-
"typmods": undefined,
6023
},
6124
},
6225
},
6326
],
64-
"tablespacename": undefined,
6527
},
6628
}
6729
`;
6830

6931
exports[`asts 2`] = `
7032
"CREATE TABLE (
7133
id int4
72-
) INHERITS ( )"
34+
)"
7335
`;
7436

7537
exports[`getEnumValue 1`] = `"AEXPR_OP"`;

0 commit comments

Comments
 (0)