@iobroker/types
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -298,4 +298,4 @@ import * as os from 'os'; | ||
interface MetaCommon extends ObjectCommon { | ||
// Meta objects have two additional CommonTypes | ||
type: CommonType | 'meta.user' | 'meta.folder'; | ||
// Can be of type `user` for folders, where a user can store files or `folder` for adapter internal structures | ||
type: 'meta.user' | 'meta.folder'; | ||
@@ -302,0 +302,0 @@ // Make it possible to narrow the object type using the custom property |
@@ -220,7 +220,7 @@ // Types which are safe to share within this repository AND publicly | ||
/** private key file */ | ||
key: string | Buffer; | ||
key: string; | ||
/** public certificate */ | ||
cert: string | Buffer; | ||
cert: string; | ||
/** chained CA certificates */ | ||
ca: Array<string | Buffer>; | ||
ca?: string; | ||
} | ||
@@ -399,3 +399,3 @@ | ||
>; | ||
/** Infers the return type from a callback-style API and and leaves null and undefined in */ | ||
/** Infers the return type from a callback-style API and leaves null and undefined in */ | ||
type CallbackReturnTypeOf<T extends (...args: any[]) => any> = SecondParameterOf<T>; | ||
@@ -402,0 +402,0 @@ |
{ | ||
"name": "@iobroker/types", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"engines": { | ||
@@ -44,3 +44,3 @@ "node": ">=12.0.0" | ||
}, | ||
"gitHead": "851d3cfa4fed442b25db63e3455b29f5081e45b6" | ||
"gitHead": "5646bc4ac352232d996665ffcddbe9759493af6d" | ||
} |
Sorry, the diff of this file is too big to display
140689
2660