@travetto/model-postgres 7.0.4 → 7.0.5

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.
package/README.md CHANGED
@@ -29,10 +29,10 @@ Out of the box, by installing the module, everything should be wired up by defau
29
29
 
30
30
  **Code: Wiring up a custom Model Source**
31
31
  ```typescript
32
- import { AsyncContext } from '@travetto/context';
32
+ import type { AsyncContext } from '@travetto/context';
33
33
  import { InjectableFactory } from '@travetto/di';
34
34
 
35
- import { SQLModelService, SQLModelConfig } from '@travetto/model-sql';
35
+ import { SQLModelService, type SQLModelConfig } from '@travetto/model-sql';
36
36
  import { PostgreSQLDialect } from '@travetto/model-postgres';
37
37
 
38
38
  export class Init {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-postgres",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "type": "module",
5
5
  "description": "PostgreSQL backing for the travetto model module, with real-time modeling support for SQL schemas.",
6
6
  "keywords": [
@@ -28,16 +28,16 @@
28
28
  "directory": "module/model-postgres"
29
29
  },
30
30
  "dependencies": {
31
- "@travetto/config": "^7.0.4",
32
- "@travetto/context": "^7.0.4",
33
- "@travetto/model": "^7.0.4",
34
- "@travetto/model-query": "^7.0.4",
35
- "@travetto/model-sql": "^7.0.4",
31
+ "@travetto/config": "^7.0.5",
32
+ "@travetto/context": "^7.0.5",
33
+ "@travetto/model": "^7.0.5",
34
+ "@travetto/model-query": "^7.0.5",
35
+ "@travetto/model-sql": "^7.0.5",
36
36
  "@types/pg": "^8.16.0",
37
37
  "pg": "^8.16.3"
38
38
  },
39
39
  "peerDependencies": {
40
- "@travetto/cli": "^7.0.4"
40
+ "@travetto/cli": "^7.0.6"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "@travetto/cli": {
package/src/connection.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { type Pool, type PoolClient, default as pg } from 'pg';
2
2
 
3
3
  import { castTo, ShutdownManager } from '@travetto/runtime';
4
- import { AsyncContext, WithAsyncContext } from '@travetto/context';
4
+ import { type AsyncContext, WithAsyncContext } from '@travetto/context';
5
5
  import { ExistsError } from '@travetto/model';
6
- import { SQLModelConfig, Connection } from '@travetto/model-sql';
6
+ import { type SQLModelConfig, Connection } from '@travetto/model-sql';
7
7
 
8
8
  /**
9
9
  * Connection support for postgresql
package/src/dialect.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { SchemaFieldConfig } from '@travetto/schema';
1
+ import type { SchemaFieldConfig } from '@travetto/schema';
2
2
  import { Injectable } from '@travetto/di';
3
- import { AsyncContext } from '@travetto/context';
4
- import { ModelType } from '@travetto/model';
5
- import { castTo, Class } from '@travetto/runtime';
3
+ import type { AsyncContext } from '@travetto/context';
4
+ import type { ModelType } from '@travetto/model';
5
+ import { castTo, type Class } from '@travetto/runtime';
6
6
 
7
- import { SQLDialect, SQLModelConfig, SQLModelUtil, VisitStack, type SQLTableDescription } from '@travetto/model-sql';
7
+ import { SQLDialect, type SQLModelConfig, SQLModelUtil, type VisitStack, type SQLTableDescription } from '@travetto/model-sql';
8
8
 
9
9
  import { PostgreSQLConnection } from './connection.ts';
10
10