Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/kiota-abstractions

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/kiota-abstractions - npm Package Compare versions

Comparing version 1.0.0-preview.59 to 1.0.0-preview.60

2

dist/es/src/serialization/serializationFunctionTypes.d.ts

@@ -10,4 +10,4 @@ /**

import type { SerializationWriter } from "./serializationWriter.js";
export type ModelSerializerFunction<T extends Parsable> = (writer: SerializationWriter, value?: Partial<T> | undefined) => void;
export type ModelSerializerFunction<T extends Parsable> = (writer: SerializationWriter, value?: Partial<T> | null | undefined) => void;
export type DeserializeIntoModelFunction<T extends Parsable> = (value?: Partial<T> | undefined) => Record<string, (node: ParseNode) => void>;
//# sourceMappingURL=serializationFunctionTypes.d.ts.map

@@ -26,3 +26,3 @@ /**

*/
writeStringValue(key?: string | undefined, value?: string | undefined): void;
writeStringValue(key?: string | undefined, value?: string | null | undefined): void;
/**

@@ -33,3 +33,3 @@ * Writes the specified boolean value to the stream with an optional given key.

*/
writeBooleanValue(key?: string | undefined, value?: boolean | undefined): void;
writeBooleanValue(key?: string | undefined, value?: boolean | null | undefined): void;
/**

@@ -40,3 +40,3 @@ * Writes the specified number value to the stream with an optional given key.

*/
writeNumberValue(key?: string | undefined, value?: number | undefined): void;
writeNumberValue(key?: string | undefined, value?: number | null | undefined): void;
/**

@@ -47,3 +47,3 @@ * Writes the specified Guid value to the stream with an optional given key.

*/
writeGuidValue(key?: string | undefined, value?: Guid | undefined): void;
writeGuidValue(key?: string | undefined, value?: Guid | null | undefined): void;
/**

@@ -54,3 +54,3 @@ * Writes the specified Date value to the stream with an optional given key.

*/
writeDateValue(key?: string | undefined, value?: Date | undefined): void;
writeDateValue(key?: string | undefined, value?: Date | null | undefined): void;
/**

@@ -61,3 +61,3 @@ * Writes the specified Duration value to the stream with an optional given key.

*/
writeDurationValue(key?: string | undefined, value?: Duration | undefined): void;
writeDurationValue(key?: string | undefined, value?: Duration | null | undefined): void;
/**

@@ -68,3 +68,3 @@ * Writes the specified TimeOnly value to the stream with an optional given key.

*/
writeTimeOnlyValue(key?: string | undefined, value?: TimeOnly | undefined): void;
writeTimeOnlyValue(key?: string | undefined, value?: TimeOnly | null | undefined): void;
/**

@@ -75,3 +75,3 @@ * Writes the specified DateOnly value to the stream with an optional given key.

*/
writeDateOnlyValue(key?: string | undefined, value?: DateOnly | undefined): void;
writeDateOnlyValue(key?: string | undefined, value?: DateOnly | null | undefined): void;
/**

@@ -82,3 +82,3 @@ * Writes the specified collection of primitive values to the stream with an optional given key.

*/
writeCollectionOfPrimitiveValues<T>(key?: string | undefined, values?: T[] | undefined): void;
writeCollectionOfPrimitiveValues<T>(key?: string | undefined, values?: T[] | null | undefined): void;
/**

@@ -89,3 +89,3 @@ * Writes the specified collection of object values to the stream with an optional given key.

*/
writeCollectionOfObjectValues<T extends Parsable>(key?: string | undefined, values?: T[], serializerMethod?: ModelSerializerFunction<T>): void;
writeCollectionOfObjectValues<T extends Parsable>(key?: string | undefined, values?: T[] | null, serializerMethod?: ModelSerializerFunction<T>): void;
/**

@@ -96,3 +96,3 @@ * Writes the specified model object value to the stream with an optional given key.

*/
writeObjectValue<T extends Parsable>(key?: string | undefined, value?: T | undefined, serializerMethod?: ModelSerializerFunction<T>): void;
writeObjectValue<T extends Parsable>(key?: string | undefined, value?: T | null | undefined, serializerMethod?: ModelSerializerFunction<T>): void;
/**

@@ -103,3 +103,3 @@ * Writes the specified enum value to the stream with an optional given key.

*/
writeEnumValue<T>(key?: string | undefined, ...values: (T | undefined)[]): void;
writeEnumValue<T>(key?: string | undefined, ...values: (T | null | undefined)[]): void;
/**

@@ -106,0 +106,0 @@ * Writes a null value for the specified key.

@@ -8,4 +8,5 @@ /**

import type { Parsable } from "./parsable.js";
import type { ParseNode } from "./parseNode.js";
import type { SerializationWriter } from "./serializationWriter.js";
import type { ParsableFactory } from "./parsableFactory.js";
import type { DeserializeIntoModelFunction } from "./serializationFunctionTypes.js";
/** Defines the base interface for defining an untyped node. */

@@ -25,3 +26,3 @@ export interface UntypedNode extends Parsable {

*/
export declare const createUntypedNodeFromDiscriminatorValue: (_parseNode: ParseNode | undefined) => ((_instance?: Parsable) => Record<string, (_node: ParseNode) => void>);
export declare const createUntypedNodeFromDiscriminatorValue: ParsableFactory<UntypedNode>;
/**

@@ -36,3 +37,3 @@ * Type guard to assert that an object instance is an UntypedNode.

*/
export declare const deserializeIntoUntypedNode: (untypedNode?: Partial<UntypedNode> | undefined) => Record<string, (node: ParseNode) => void>;
export declare const deserializeIntoUntypedNode: DeserializeIntoModelFunction<UntypedNode>;
/**

@@ -39,0 +40,0 @@ * The serialization implementation for UntypedNode.

{
"name": "@microsoft/kiota-abstractions",
"version": "1.0.0-preview.59",
"version": "1.0.0-preview.60",
"description": "Core abstractions for kiota generated libraries in TypeScript and JavaScript",

@@ -46,3 +46,3 @@ "main": "dist/es/src/index.js",

},
"gitHead": "e1586bed4f96cc281d4a2605b1db6649d4e5ee4c"
"gitHead": "5d65f60f7a37d7e5c02df9531456738d8de48711"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc