@cloudbase/types
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -5,8 +5,14 @@ import { ICloudbaseEventEmitter } from './events'; | ||
name: string; | ||
namespace?:string; | ||
entity:any; | ||
injectEvents?:{ | ||
entity: any; | ||
namespace?: string; | ||
injectEvents?: { | ||
bus: ICloudbaseEventEmitter, | ||
events: string[]; | ||
}; | ||
IIFE?: boolean | ||
} | ||
export interface ICloudbaseHook { | ||
entity: any; | ||
target: string; | ||
} |
import { CloudbaseAdapter, SDKAdapterInterface } from '@cloudbase/adapter-interface'; | ||
import { ICloudbaseComponent } from "./component"; | ||
import { ICloudbaseComponent, ICloudbaseHook } from "./component"; | ||
import { ICloudbaseRequest } from "./request"; | ||
@@ -45,2 +45,3 @@ import { ICloudbaseCache } from "./cache"; | ||
registerComponent(component:ICloudbaseComponent):void; | ||
registerHook(hook:ICloudbaseHook):void; | ||
registerVersion(version:string):void; | ||
@@ -53,2 +54,8 @@ fire?(...args:any[]):void; | ||
runtime?: string; | ||
} | ||
export interface IGenericError<T extends string, P = any> extends Error { | ||
type: T | ||
payload: P | ||
generic: boolean | ||
} |
{ | ||
"name": "@cloudbase/types", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "cloudbase javascript sdk types", | ||
@@ -14,3 +14,5 @@ "files": [ | ||
"functions.d.ts", | ||
"storage.d.ts" | ||
"storage.d.ts", | ||
"realtime.d.ts", | ||
"database.d.ts" | ||
], | ||
@@ -47,3 +49,3 @@ "repository": { | ||
}, | ||
"gitHead": "240245b015e7dfb09bd6dca77d58d2da1b0d6663" | ||
"gitHead": "bb511de516759b8f3b05d482768940446810b8da" | ||
} |
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
19432
12
606