@blitznocode/blitz-orm 0.11.19 → 0.11.21

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/dist/index.d.mts CHANGED
@@ -17,18 +17,19 @@ type TypeDBHandles = Map<string, {
17
17
  session: TypeDBSession;
18
18
  }>;
19
19
 
20
- declare class SurrealPool {
21
- private queue;
22
- private connections;
20
+ declare class SimpleSurrealClient {
21
+ private url;
22
+ private username;
23
+ private password;
24
+ private namespace;
25
+ private database;
23
26
  constructor(params: {
24
27
  url: string;
25
28
  username: string;
26
29
  password: string;
27
30
  namespace: string;
28
31
  database: string;
29
- totalConnections: number;
30
32
  });
31
- private dequeue;
32
33
  private run;
33
34
  query<T = unknown>(...args: QueryParameters): Promise<T[]>;
34
35
  query_raw<T = unknown>(...args: QueryParameters): Promise<QueryResult<T>[]>;
@@ -46,7 +47,7 @@ interface SurrealDBProviderObject extends CommonProvider {
46
47
  password: string;
47
48
  }
48
49
  type SurrealDBHandles = Map<string, {
49
- client: SurrealPool;
50
+ client: SimpleSurrealClient;
50
51
  providerConfig: SurrealDBProviderConfig;
51
52
  }>;
52
53