ceres.provider.node.longpoll
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -20,53 +20,2 @@ export declare namespace Protocol { | ||
} | ||
type TIncomeData = string | object | ArrayBuffer | number[] | Uint8Array; | ||
type TStringifyOutput = string | Uint8Array; | ||
class ProtocolState { | ||
private _debug; | ||
debug(value: boolean): void; | ||
isDebugged(): boolean; | ||
} | ||
const state: ProtocolState; | ||
enum EEntityType { | ||
root = "root", | ||
class = "class", | ||
namespace = "namespace", | ||
complex = "complex", | ||
primitive = "primitive", | ||
repeated = "repeated", | ||
reference = "reference", | ||
enum = "enum" | ||
} | ||
interface IProperty { | ||
name: string; | ||
type: EEntityType; | ||
optional: boolean; | ||
value: any; | ||
} | ||
const StandardTypes: string[]; | ||
function _getPropNameAlias(propName: string, signature: string): string | Error; | ||
function _getPropName(alias: string, signature: string): string | Error; | ||
function _parse(source: TIncomeData, target?: any): TTypes | Error[]; | ||
function _stringify(target: any, classRef: any): { | ||
[key: string]: any; | ||
} | Error[]; | ||
function _JSONToBinary(target: any, signature: string): Uint8Array | Error; | ||
function _JSONFromBinary(data: Uint8Array): {} | Error; | ||
function getTypes(): { | ||
[key: string]: any; | ||
}; | ||
function getJSONFromStr(str: string): {} | Error; | ||
function getJSONFromIncomeData(income: TIncomeData): {} | Error; | ||
function stringify(target: any, classRef: any): TStringifyOutput | Error; | ||
function parse(source: TIncomeData, target?: any): TTypes | Error; | ||
function parseFrom(source: TIncomeData, protocols: any | any[]): any; | ||
function typeOf(smth: any): string; | ||
function validateParams(params: any, classRef: any): Error[]; | ||
function convertTypesToStandard(target: { | ||
[key: string]: any; | ||
}): { | ||
[key: string]: any; | ||
}; | ||
function isInstanceOf(signature: string, target: any): boolean; | ||
class Root { | ||
} | ||
namespace Json { | ||
@@ -177,2 +126,53 @@ namespace Impls { | ||
} | ||
type TIncomeData = string | object | ArrayBuffer | number[] | Uint8Array; | ||
type TStringifyOutput = string | Uint8Array; | ||
class ProtocolState { | ||
private _debug; | ||
debug(value: boolean): void; | ||
isDebugged(): boolean; | ||
} | ||
const state: ProtocolState; | ||
enum EEntityType { | ||
root = "root", | ||
class = "class", | ||
namespace = "namespace", | ||
complex = "complex", | ||
primitive = "primitive", | ||
repeated = "repeated", | ||
reference = "reference", | ||
enum = "enum" | ||
} | ||
interface IProperty { | ||
name: string; | ||
type: EEntityType; | ||
optional: boolean; | ||
value: any; | ||
} | ||
const StandardTypes: string[]; | ||
function _getPropNameAlias(propName: string, signature: string): string | Error; | ||
function _getPropName(alias: string, signature: string): string | Error; | ||
function _parse(source: TIncomeData, target?: any): TTypes | Error[]; | ||
function _stringify(target: any, classRef: any): { | ||
[key: string]: any; | ||
} | Error[]; | ||
function _JSONToBinary(target: any, signature: string): Uint8Array | Error; | ||
function _JSONFromBinary(data: Uint8Array): {} | Error; | ||
function getTypes(): { | ||
[key: string]: any; | ||
}; | ||
function getJSONFromStr(str: string): {} | Error; | ||
function getJSONFromIncomeData(income: TIncomeData): {} | Error; | ||
function stringify(target: any, classRef: any): TStringifyOutput | Error; | ||
function parse(source: TIncomeData, target?: any): TTypes | Error; | ||
function parseFrom(source: TIncomeData, protocols: any | any[]): any; | ||
function typeOf(smth: any): string; | ||
function validateParams(params: any, classRef: any): Error[]; | ||
function convertTypesToStandard(target: { | ||
[key: string]: any; | ||
}): { | ||
[key: string]: any; | ||
}; | ||
function isInstanceOf(signature: string, target: any): boolean; | ||
class Root { | ||
} | ||
interface IPrimitiveType<T> { | ||
@@ -179,0 +179,0 @@ tsType: string; |
{ | ||
"name": "ceres.provider.node.longpoll", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Long polling transport for ceres.provider based on nodejs", | ||
@@ -5,0 +5,0 @@ "main": "./dist/transport.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
282104