@rvoh/psychic 0.28.0 → 0.28.1

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.
@@ -7,7 +7,7 @@ async function enumsAndTheirValues() {
7
7
  const { rows } = await (0, kysely_1.sql) `
8
8
  SELECT pg_type.typname AS enum_type, pg_enum.enumlabel AS enum_label FROM pg_type JOIN pg_enum ON pg_enum.enumtypid = pg_type.oid;
9
9
 
10
- `.execute((0, dream_1.db)('primary'));
10
+ `.execute((0, dream_1.untypedDb)('primary'));
11
11
  const rowData = {};
12
12
  rows.forEach(row => {
13
13
  const enumType = row.enumType;
@@ -1,10 +1,10 @@
1
- import { db } from '@rvoh/dream';
1
+ import { untypedDb } from '@rvoh/dream';
2
2
  import { sql } from 'kysely';
3
3
  export default async function enumsAndTheirValues() {
4
4
  const { rows } = await sql `
5
5
  SELECT pg_type.typname AS enum_type, pg_enum.enumlabel AS enum_label FROM pg_type JOIN pg_enum ON pg_enum.enumtypid = pg_type.oid;
6
6
 
7
- `.execute(db('primary'));
7
+ `.execute(untypedDb('primary'));
8
8
  const rowData = {};
9
9
  rows.forEach(row => {
10
10
  const enumType = row.enumType;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "name": "@rvoh/psychic",
4
4
  "description": "Typescript web framework",
5
- "version": "0.28.0",
5
+ "version": "0.28.1",
6
6
  "author": "RVOHealth",
7
7
  "repository": {
8
8
  "type": "git",
@@ -62,7 +62,7 @@
62
62
  "devDependencies": {
63
63
  "@eslint/js": "^9.19.0",
64
64
  "@jest-mock/express": "^3.0.0",
65
- "@rvoh/dream": "^0.33.0",
65
+ "@rvoh/dream": "^0.34.0",
66
66
  "@rvoh/dream-spec-helpers": "=0.1.0",
67
67
  "@rvoh/psychic-spec-helpers": "=0.2.0",
68
68
  "@types/express": "^4.17.21",