@journeyapps/cloudcode
Advanced tools
Comparing version 1.9.2-dev.72bf370.dc696d8 to 1.9.2-dev.cb447ca.7248e31
@@ -0,1 +1,2 @@ | ||
import { Database } from 'journeyapps/lib'; | ||
interface ScheduleTaskOptions { | ||
@@ -10,2 +11,3 @@ task: string; | ||
import { DatabaseAuth } from './DatabaseAuth'; | ||
import { GenericDatabase } from './api_db'; | ||
import { InternalTaskContext } from './InternalTaskContext'; | ||
@@ -36,3 +38,3 @@ export interface TaskEnvironment { | ||
*/ | ||
createDB(baseUrl: string, instanceId: string, auth?: DatabaseAuth): import("./api_db").GenericDatabase; | ||
createDB<T extends Database = GenericDatabase>(baseUrl: string, instanceId: string, auth?: DatabaseAuth): T; | ||
/** | ||
@@ -39,0 +41,0 @@ * Schedule a task for execution. |
{ | ||
"name": "@journeyapps/cloudcode", | ||
"version": "1.9.2-dev.72bf370.dc696d8", | ||
"version": "1.9.2-dev.cb447ca.7248e31", | ||
"main": "./lib/index.js", | ||
@@ -30,3 +30,3 @@ "types": "./lib/index.d.ts", | ||
], | ||
"gitHead": "de4bab09cb51000774fa76c7b805d6b43ce52a16" | ||
"gitHead": "53d44548c67eae20d32ca62a1ff8fb16900c03b7" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
150893
2657