@milkio/astra 1.3.65 → 1.3.67
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/index.d.ts +2 -2
- package/index.js +5 -9
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type AstraHooks = {
|
|
|
11
11
|
* 单独导出以便在不启动真实服务的前提下对核心语义做单元测试。
|
|
12
12
|
*/
|
|
13
13
|
export declare function createCleanDatabaseScheduler(cleanHooks: CleanDatabaseHook[], importMetaUrl: string): (this: {
|
|
14
|
-
__databaseId: string
|
|
14
|
+
__databaseId: string;
|
|
15
15
|
}) => Promise<string>;
|
|
16
16
|
export type AstraOptionsInit = {
|
|
17
17
|
stargate: {
|
|
@@ -69,7 +69,7 @@ export declare function createAstra<AstraOptions extends AstraOptionsInit, Gener
|
|
|
69
69
|
headers?: Record<string, string>;
|
|
70
70
|
timeout?: number;
|
|
71
71
|
}) => Promise<[Partial<Generated["rejectCode"]>, null, ExecuteResultsOption] | [null, Generated["events"][Key], ExecuteResultsOption]>;
|
|
72
|
-
__databaseId: string
|
|
72
|
+
__databaseId: string;
|
|
73
73
|
cleanDatabase: () => Promise<string>;
|
|
74
74
|
onCleanDatabase: (hook: CleanDatabaseHook) => void;
|
|
75
75
|
}>]>;
|