Comparing version 2.1.0 to 2.2.0
@@ -7,3 +7,3 @@ import { Code } from "ts-poet"; | ||
export declare function generateFile(ctx: Context, fileDesc: FileDescriptorProto): [string, Code]; | ||
export type Utils = ReturnType<typeof makeDeepPartial> & ReturnType<typeof makeObjectIdMethods> & ReturnType<typeof makeTimestampMethods> & ReturnType<typeof makeByteUtils> & ReturnType<typeof makeLongUtils> & ReturnType<typeof makeComparisonUtils> & ReturnType<typeof makeNiceGrpcServerStreamingMethodResult> & ReturnType<typeof makeGrpcWebErrorClass> & ReturnType<typeof makeExtensionClass> & ReturnType<typeof makeAssertionUtils>; | ||
export type Utils = ReturnType<typeof makeDeepPartial> & ReturnType<typeof makeObjectIdMethods> & ReturnType<typeof makeTimestampMethods> & ReturnType<typeof makeByteUtils> & ReturnType<typeof makeLongUtils> & ReturnType<typeof makeComparisonUtils> & ReturnType<typeof makeNiceGrpcServerStreamingMethodResult> & ReturnType<typeof makeGrpcWebErrorClass> & ReturnType<typeof makeExtensionClass> & ReturnType<typeof makeAssertionUtils> & ReturnType<typeof makeMessageFns>; | ||
/** These are runtime utility methods used by the generated code. */ | ||
@@ -26,2 +26,11 @@ export declare function makeUtils(options: Options): Utils; | ||
}; | ||
declare function makeMessageFns(options: Options, deepPartial: ReturnType<typeof makeDeepPartial>, extension: ReturnType<typeof makeExtensionClass>): { | ||
MessageFns: ConditionalOutput; | ||
ExtensionFns: ConditionalOutput; | ||
ExtensionHolder: ConditionalOutput; | ||
StructWrapperFns: ConditionalOutput; | ||
AnyValueWrapperFns: ConditionalOutput; | ||
ListValueWrapperFns: ConditionalOutput; | ||
FieldMaskWrapperFns: ConditionalOutput; | ||
}; | ||
declare function makeObjectIdMethods(): { | ||
@@ -28,0 +37,0 @@ fromJsonObjectId: ConditionalOutput; |
{ | ||
"name": "ts-proto", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/src/plugin.js", |
Sorry, the diff of this file is too big to display
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
653441
13132