Socket
Socket
Sign inDemoInstall

@microsoft/kiota-abstractions

Package Overview
Dependencies
6
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-preview.54 to 1.0.0-preview.56

2

dist/es/src/apiClientBuilder.d.ts

@@ -7,3 +7,3 @@ /**

*/
import { type ParseNodeFactory, type SerializationWriterFactory } from "./serialization";
import { type ParseNodeFactory, type SerializationWriterFactory } from "./serialization/index.js";
/**

@@ -10,0 +10,0 @@ * Registers the default serializer to the registry.

@@ -7,4 +7,4 @@ /**

*/
import { ParseNodeFactoryRegistry, SerializationWriterFactoryRegistry } from "./serialization";
import { BackingStoreParseNodeFactory, BackingStoreSerializationWriterProxyFactory } from "./store";
import { ParseNodeFactoryRegistry, SerializationWriterFactoryRegistry } from "./serialization/index.js";
import { BackingStoreParseNodeFactory, BackingStoreSerializationWriterProxyFactory } from "./store/index.js";
/**

@@ -11,0 +11,0 @@ * Registers the default serializer to the registry.

@@ -1,4 +0,4 @@

import type { ErrorMappings, PrimitiveTypesForDeserialization, RequestAdapter, SendMethods } from "./requestAdapter";
import { type RequestInformationSetContent } from "./requestInformation";
import type { ModelSerializerFunction, Parsable, ParsableFactory } from "./serialization";
import type { ErrorMappings, PrimitiveTypesForDeserialization, RequestAdapter, SendMethods } from "./requestAdapter.js";
import { type RequestInformationSetContent } from "./requestInformation.js";
import type { ModelSerializerFunction, Parsable, ParsableFactory } from "./serialization/index.js";
export declare const apiClientProxifier: <T extends object>(requestAdapter: RequestAdapter, pathParameters: Record<string, unknown>, navigationMetadata?: Record<string, NavigationMetadata>, requestsMetadata?: RequestsMetadata) => T;

@@ -5,0 +5,0 @@ export interface RequestMetadata {

@@ -7,5 +7,5 @@ /**

*/
import { getPathParameters } from "./getPathParameters";
import { HttpMethod } from "./httpMethod";
import { RequestInformation } from "./requestInformation";
import { getPathParameters } from "./getPathParameters.js";
import { HttpMethod } from "./httpMethod.js";
import { RequestInformation } from "./requestInformation.js";
const sanitizeMethodName = (methodName) => {

@@ -12,0 +12,0 @@ if (methodName.startsWith("to")) {

@@ -7,3 +7,3 @@ /**

*/
import { type AllowedHostsValidator } from "./allowedHostsValidator";
import { type AllowedHostsValidator } from "./allowedHostsValidator.js";
/**

@@ -10,0 +10,0 @@ * @interface

@@ -7,4 +7,4 @@ /**

*/
import { type RequestInformation } from "../requestInformation";
import { type AuthenticationProvider } from "./authenticationProvider";
import { type RequestInformation } from "../requestInformation.js";
import { type AuthenticationProvider } from "./authenticationProvider.js";
/** This authentication provider does not perform any authentication. */

@@ -11,0 +11,0 @@ export declare class AnonymousAuthenticationProvider implements AuthenticationProvider {

@@ -7,4 +7,4 @@ /**

*/
import { type RequestInformation } from "../requestInformation";
import type { AuthenticationProvider } from "./authenticationProvider";
import { type RequestInformation } from "../requestInformation.js";
import type { AuthenticationProvider } from "./authenticationProvider.js";
/** Authenticate a request by using an API Key */

@@ -11,0 +11,0 @@ export declare class ApiKeyAuthenticationProvider implements AuthenticationProvider {

@@ -1,3 +0,3 @@

import { AllowedHostsValidator } from "./allowedHostsValidator";
import { validateProtocol } from "./validateProtocol";
import { AllowedHostsValidator } from "./allowedHostsValidator.js";
import { validateProtocol } from "./validateProtocol.js";
/** Authenticate a request by using an API Key */

@@ -4,0 +4,0 @@ export class ApiKeyAuthenticationProvider {

@@ -7,3 +7,3 @@ /**

*/
import { type RequestInformation } from "../requestInformation";
import { type RequestInformation } from "../requestInformation.js";
/**

@@ -10,0 +10,0 @@ * @interface

@@ -1,4 +0,4 @@

import { type RequestInformation } from "../requestInformation";
import type { AccessTokenProvider } from "./accessTokenProvider";
import type { AuthenticationProvider } from "./authenticationProvider";
import { type RequestInformation } from "../requestInformation.js";
import type { AccessTokenProvider } from "./accessTokenProvider.js";
import type { AuthenticationProvider } from "./authenticationProvider.js";
/** Provides a base class for implementing AuthenticationProvider for Bearer token scheme. */

@@ -5,0 +5,0 @@ export declare class BaseBearerTokenAuthenticationProvider implements AuthenticationProvider {

@@ -7,3 +7,3 @@ /**

*/
import { Headers } from "../headers";
import { Headers } from "../headers.js";
/** Provides a base class for implementing AuthenticationProvider for Bearer token scheme. */

@@ -10,0 +10,0 @@ export class BaseBearerTokenAuthenticationProvider {

@@ -7,9 +7,9 @@ /**

*/
export * from "./accessTokenProvider";
export * from "./allowedHostsValidator";
export * from "./apiKeyAuthenticationProvider";
export * from "./authenticationProvider";
export * from "./anonymousAuthenticationProvider";
export * from "./baseBearerTokenAuthenticationProvider";
export * from "./validateProtocol";
export * from "./accessTokenProvider.js";
export * from "./allowedHostsValidator.js";
export * from "./apiKeyAuthenticationProvider.js";
export * from "./authenticationProvider.js";
export * from "./anonymousAuthenticationProvider.js";
export * from "./baseBearerTokenAuthenticationProvider.js";
export * from "./validateProtocol.js";
//# sourceMappingURL=index.d.ts.map

@@ -7,9 +7,9 @@ /**

*/
export * from "./accessTokenProvider";
export * from "./allowedHostsValidator";
export * from "./apiKeyAuthenticationProvider";
export * from "./authenticationProvider";
export * from "./anonymousAuthenticationProvider";
export * from "./baseBearerTokenAuthenticationProvider";
export * from "./validateProtocol";
export * from "./accessTokenProvider.js";
export * from "./allowedHostsValidator.js";
export * from "./apiKeyAuthenticationProvider.js";
export * from "./authenticationProvider.js";
export * from "./anonymousAuthenticationProvider.js";
export * from "./baseBearerTokenAuthenticationProvider.js";
export * from "./validateProtocol.js";
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ /**

*/
import { inNodeEnv } from "../utils";
import { inNodeEnv } from "../utils/index.js";
const localhostStrings = new Set(["localhost", "[::1]", "::1", "127.0.0.1"]);

@@ -10,0 +10,0 @@ export function validateProtocol(url) {

@@ -7,3 +7,3 @@ /**

*/
import { RequestInformation } from "./requestInformation";
import { RequestInformation } from "./requestInformation.js";
export const getPathParameters = (parameters) => {

@@ -10,0 +10,0 @@ const result = {};

@@ -7,3 +7,3 @@ /**

*/
import { createRecordWithCaseInsensitiveKeys } from "./recordWithCaseInsensitiveKeys";
import { createRecordWithCaseInsensitiveKeys } from "./recordWithCaseInsensitiveKeys.js";
/**

@@ -10,0 +10,0 @@ * A collection class for HTTP headers. The keys are case-insensitive.

@@ -7,26 +7,26 @@ /**

*/
export * from "./apiClientBuilder";
export * from "./apiClientProxifier";
export * from "./apiError";
export * from "./authentication";
export * from "./baseRequestBuilder";
export * from "./dateOnly";
export * from "./duration";
export * from "./getPathParameters";
export * from "./headers";
export * from "./httpMethod";
export * from "./multipartBody";
export * from "./nativeResponseHandler";
export * from "./nativeResponseWrapper";
export * from "./recordWithCaseInsensitiveKeys";
export * from "./requestAdapter";
export * from "./requestConfiguration";
export * from "./requestInformation";
export * from "./requestOption";
export * from "./responseHandler";
export * from "./responseHandlerOptions";
export * from "./serialization";
export * from "./store";
export * from "./timeOnly";
export * from "./utils";
export * from "./apiClientBuilder.js";
export * from "./apiClientProxifier.js";
export * from "./apiError.js";
export * from "./authentication/index.js";
export * from "./baseRequestBuilder.js";
export * from "./dateOnly.js";
export * from "./duration.js";
export * from "./getPathParameters.js";
export * from "./headers.js";
export * from "./httpMethod.js";
export * from "./multipartBody.js";
export * from "./nativeResponseHandler.js";
export * from "./nativeResponseWrapper.js";
export * from "./recordWithCaseInsensitiveKeys.js";
export * from "./requestAdapter.js";
export * from "./requestConfiguration.js";
export * from "./requestInformation.js";
export * from "./requestOption.js";
export * from "./responseHandler.js";
export * from "./responseHandlerOptions.js";
export * from "./serialization/index.js";
export * from "./store/index.js";
export * from "./timeOnly.js";
export * from "./utils/index.js";
//# sourceMappingURL=index.d.ts.map

@@ -7,26 +7,26 @@ /**

*/
export * from "./apiClientBuilder";
export * from "./apiClientProxifier";
export * from "./apiError";
export * from "./authentication";
export * from "./baseRequestBuilder";
export * from "./dateOnly";
export * from "./duration";
export * from "./getPathParameters";
export * from "./headers";
export * from "./httpMethod";
export * from "./multipartBody";
export * from "./nativeResponseHandler";
export * from "./nativeResponseWrapper";
export * from "./recordWithCaseInsensitiveKeys";
export * from "./requestAdapter";
export * from "./requestConfiguration";
export * from "./requestInformation";
export * from "./requestOption";
export * from "./responseHandler";
export * from "./responseHandlerOptions";
export * from "./serialization";
export * from "./store";
export * from "./timeOnly";
export * from "./utils";
export * from "./apiClientBuilder.js";
export * from "./apiClientProxifier.js";
export * from "./apiError.js";
export * from "./authentication/index.js";
export * from "./baseRequestBuilder.js";
export * from "./dateOnly.js";
export * from "./duration.js";
export * from "./getPathParameters.js";
export * from "./headers.js";
export * from "./httpMethod.js";
export * from "./multipartBody.js";
export * from "./nativeResponseHandler.js";
export * from "./nativeResponseWrapper.js";
export * from "./recordWithCaseInsensitiveKeys.js";
export * from "./requestAdapter.js";
export * from "./requestConfiguration.js";
export * from "./requestInformation.js";
export * from "./requestOption.js";
export * from "./responseHandler.js";
export * from "./responseHandlerOptions.js";
export * from "./serialization/index.js";
export * from "./store/index.js";
export * from "./timeOnly.js";
export * from "./utils/index.js";
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

import type { RequestAdapter } from "./requestAdapter";
import type { ModelSerializerFunction, Parsable, ParseNode, SerializationWriter } from "./serialization";
import type { RequestAdapter } from "./requestAdapter.js";
import type { ModelSerializerFunction, Parsable, ParseNode, SerializationWriter } from "./serialization/index.js";
/**

@@ -4,0 +4,0 @@ * Defines an interface for a multipart body for request or response.

@@ -7,4 +7,4 @@ /**

*/
import type { ErrorMappings } from "./requestAdapter";
import type { ResponseHandler } from "./responseHandler";
import type { ErrorMappings } from "./requestAdapter.js";
import type { ResponseHandler } from "./responseHandler.js";
/** Default response handler to access the native response object. */

@@ -11,0 +11,0 @@ export declare class NativeResponseHandler implements ResponseHandler {

@@ -1,3 +0,3 @@

import type { RequestOption } from "./requestOption";
import type { ResponseHandler } from "./responseHandler";
import type { RequestOption } from "./requestOption.js";
import type { ResponseHandler } from "./responseHandler.js";
type originalCallType<modelType, queryParametersType, headersType> = (q?: queryParametersType, h?: headersType, o?: RequestOption[] | undefined, responseHandler?: ResponseHandler) => Promise<modelType>;

@@ -4,0 +4,0 @@ type originalCallWithBodyType<modelType, queryParametersType, headersType, requestBodyType> = (requestBody: requestBodyType, q?: queryParametersType, h?: headersType, o?: RequestOption[] | undefined, responseHandler?: ResponseHandler) => Promise<modelType>;

@@ -8,3 +8,3 @@ var _a;

*/
import { NativeResponseHandler } from "./nativeResponseHandler";
import { NativeResponseHandler } from "./nativeResponseHandler.js";
/** This class can be used to wrap a request using the fluent API and get the native response object in return. */

@@ -11,0 +11,0 @@ export class NativeResponseWrapper {

@@ -7,8 +7,8 @@ /**

*/
import type { DateOnly } from "./dateOnly";
import type { Duration } from "./duration";
import { type RequestInformation } from "./requestInformation";
import type { Parsable, ParsableFactory, SerializationWriterFactory } from "./serialization";
import { type BackingStoreFactory } from "./store";
import type { TimeOnly } from "./timeOnly";
import type { DateOnly } from "./dateOnly.js";
import type { Duration } from "./duration.js";
import { type RequestInformation } from "./requestInformation.js";
import type { Parsable, ParsableFactory, SerializationWriterFactory } from "./serialization/index.js";
import { type BackingStoreFactory } from "./store/index.js";
import type { TimeOnly } from "./timeOnly.js";
/** Service responsible for translating abstract Request Info into concrete native HTTP requests. */

@@ -15,0 +15,0 @@ export interface RequestAdapter {

@@ -7,3 +7,3 @@ /**

*/
import type { RequestOption } from "./requestOption";
import type { RequestOption } from "./requestOption.js";
/**

@@ -10,0 +10,0 @@ * Request configuration

@@ -1,7 +0,7 @@

import { Headers } from "./headers";
import { type HttpMethod } from "./httpMethod";
import type { PrimitiveTypesForDeserializationType, RequestAdapter } from "./requestAdapter";
import type { RequestConfiguration } from "./requestConfiguration";
import type { RequestOption } from "./requestOption";
import type { ModelSerializerFunction, Parsable } from "./serialization";
import { Headers } from "./headers.js";
import { type HttpMethod } from "./httpMethod.js";
import type { PrimitiveTypesForDeserializationType, RequestAdapter } from "./requestAdapter.js";
import type { RequestConfiguration } from "./requestConfiguration.js";
import type { RequestOption } from "./requestOption.js";
import type { ModelSerializerFunction, Parsable } from "./serialization/index.js";
/** This class represents an abstract HTTP request. */

@@ -8,0 +8,0 @@ export declare class RequestInformation implements RequestInformationSetContent {

@@ -9,8 +9,8 @@ /**

import { StdUriTemplate } from "@std-uritemplate/std-uritemplate";
import { DateOnly } from "./dateOnly";
import { Duration } from "./duration";
import { Headers } from "./headers";
import { MultipartBody } from "./multipartBody";
import { createRecordWithCaseInsensitiveKeys } from "./recordWithCaseInsensitiveKeys";
import { TimeOnly } from "./timeOnly";
import { DateOnly } from "./dateOnly.js";
import { Duration } from "./duration.js";
import { Headers } from "./headers.js";
import { MultipartBody } from "./multipartBody.js";
import { createRecordWithCaseInsensitiveKeys } from "./recordWithCaseInsensitiveKeys.js";
import { TimeOnly } from "./timeOnly.js";
/** This class represents an abstract HTTP request. */

@@ -17,0 +17,0 @@ export class RequestInformation {

@@ -7,3 +7,3 @@ /**

*/
import { type ErrorMappings } from "./requestAdapter";
import { type ErrorMappings } from "./requestAdapter.js";
/** Defines the contract for a response handler. */

@@ -10,0 +10,0 @@ export interface ResponseHandler {

@@ -7,4 +7,4 @@ /**

*/
import type { RequestOption } from "./requestOption";
import type { ResponseHandler } from "./responseHandler";
import type { RequestOption } from "./requestOption.js";
import type { ResponseHandler } from "./responseHandler.js";
export declare const ResponseHandlerOptionKey = "ResponseHandlerOptionKey";

@@ -11,0 +11,0 @@ /**

@@ -7,23 +7,23 @@ /**

*/
export * from "./additionalDataHolder";
export * from "./kiotaJsonSerializer";
export * from "./kiotaSerializer";
export * from "./parsable";
export * from "./parsableFactory";
export * from "./parseNode";
export * from "./parseNodeFactory";
export * from "./parseNodeFactoryRegistry";
export * from "./parseNodeProxyFactory";
export * from "./serializationWriter";
export * from "./serializationWriterFactory";
export * from "./serializationWriterFactoryRegistry";
export * from "./serializationWriterProxyFactory";
export * from "./serializationFunctionTypes";
export * from "./untypedNode";
export * from "./untypedNumber";
export * from "./untypedArray";
export * from "./untypedNull";
export * from "./untypedObject";
export * from "./untypedString";
export * from "./untypedBoolean";
export * from "./additionalDataHolder.js";
export * from "./kiotaJsonSerializer.js";
export * from "./kiotaSerializer.js";
export * from "./parsable.js";
export * from "./parsableFactory.js";
export * from "./parseNode.js";
export * from "./parseNodeFactory.js";
export * from "./parseNodeFactoryRegistry.js";
export * from "./parseNodeProxyFactory.js";
export * from "./serializationWriter.js";
export * from "./serializationWriterFactory.js";
export * from "./serializationWriterFactoryRegistry.js";
export * from "./serializationWriterProxyFactory.js";
export * from "./serializationFunctionTypes.js";
export * from "./untypedNode.js";
export * from "./untypedNumber.js";
export * from "./untypedArray.js";
export * from "./untypedNull.js";
export * from "./untypedObject.js";
export * from "./untypedString.js";
export * from "./untypedBoolean.js";
//# sourceMappingURL=index.d.ts.map

@@ -7,23 +7,23 @@ /**

*/
export * from "./additionalDataHolder";
export * from "./kiotaJsonSerializer";
export * from "./kiotaSerializer";
export * from "./parsable";
export * from "./parsableFactory";
export * from "./parseNode";
export * from "./parseNodeFactory";
export * from "./parseNodeFactoryRegistry";
export * from "./parseNodeProxyFactory";
export * from "./serializationWriter";
export * from "./serializationWriterFactory";
export * from "./serializationWriterFactoryRegistry";
export * from "./serializationWriterProxyFactory";
export * from "./serializationFunctionTypes";
export * from "./untypedNode";
export * from "./untypedNumber";
export * from "./untypedArray";
export * from "./untypedNull";
export * from "./untypedObject";
export * from "./untypedString";
export * from "./untypedBoolean";
export * from "./additionalDataHolder.js";
export * from "./kiotaJsonSerializer.js";
export * from "./kiotaSerializer.js";
export * from "./parsable.js";
export * from "./parsableFactory.js";
export * from "./parseNode.js";
export * from "./parseNodeFactory.js";
export * from "./parseNodeFactoryRegistry.js";
export * from "./parseNodeProxyFactory.js";
export * from "./serializationWriter.js";
export * from "./serializationWriterFactory.js";
export * from "./serializationWriterFactoryRegistry.js";
export * from "./serializationWriterProxyFactory.js";
export * from "./serializationFunctionTypes.js";
export * from "./untypedNode.js";
export * from "./untypedNumber.js";
export * from "./untypedArray.js";
export * from "./untypedNull.js";
export * from "./untypedObject.js";
export * from "./untypedString.js";
export * from "./untypedBoolean.js";
//# sourceMappingURL=index.js.map

@@ -1,4 +0,4 @@

import type { Parsable } from "./parsable";
import type { ParsableFactory } from "./parsableFactory";
import type { ModelSerializerFunction } from "./serializationFunctionTypes";
import type { Parsable } from "./parsable.js";
import type { ParsableFactory } from "./parsableFactory.js";
import type { ModelSerializerFunction } from "./serializationFunctionTypes.js";
/**

@@ -5,0 +5,0 @@ * Serializes a parsable object into a buffer

@@ -7,3 +7,3 @@ /**

*/
import { deserialize, deserializeCollection, serialize, serializeCollection, serializeCollectionToString as serializeCollectionAsString, serializeToString as serializeAsString } from "./kiotaSerializer";
import { deserialize, deserializeCollection, serialize, serializeCollection, serializeCollectionToString as serializeCollectionAsString, serializeToString as serializeAsString } from "./kiotaSerializer.js";
const jsonContentType = "application/json";

@@ -10,0 +10,0 @@ /**

@@ -7,5 +7,5 @@ /**

*/
import type { Parsable } from "./parsable";
import type { ParsableFactory } from "./parsableFactory";
import type { ModelSerializerFunction } from "./serializationFunctionTypes";
import type { Parsable } from "./parsable.js";
import type { ParsableFactory } from "./parsableFactory.js";
import type { ModelSerializerFunction } from "./serializationFunctionTypes.js";
/**

@@ -12,0 +12,0 @@ * Serializes a parsable object into a buffer

@@ -1,3 +0,3 @@

import { ParseNodeFactoryRegistry } from "./parseNodeFactoryRegistry";
import { SerializationWriterFactoryRegistry } from "./serializationWriterFactoryRegistry";
import { ParseNodeFactoryRegistry } from "./parseNodeFactoryRegistry.js";
import { SerializationWriterFactoryRegistry } from "./serializationWriterFactoryRegistry.js";
/**

@@ -4,0 +4,0 @@ * Serializes a parsable object into a buffer

@@ -7,5 +7,5 @@ /**

*/
import type { Parsable } from "./parsable";
import type { ParseNode } from "./parseNode";
import type { DeserializeIntoModelFunction } from "./serializationFunctionTypes";
import type { Parsable } from "./parsable.js";
import type { ParseNode } from "./parseNode.js";
import type { DeserializeIntoModelFunction } from "./serializationFunctionTypes.js";
/**

@@ -12,0 +12,0 @@ * Defines the factory to get the deserializers constructing the parsable models.

@@ -8,7 +8,7 @@ /**

import type { Guid } from "guid-typescript";
import type { DateOnly } from "../dateOnly";
import type { Duration } from "../duration";
import type { TimeOnly } from "../timeOnly";
import type { Parsable } from "./parsable";
import type { ParsableFactory } from "./parsableFactory";
import type { DateOnly } from "../dateOnly.js";
import type { Duration } from "../duration.js";
import type { TimeOnly } from "../timeOnly.js";
import type { Parsable } from "./parsable.js";
import type { ParsableFactory } from "./parsableFactory.js";
/**

@@ -15,0 +15,0 @@ * Interface for a deserialization node in a parse tree. This interface provides an abstraction layer over serialization formats, libraries and implementations.

@@ -7,3 +7,3 @@ /**

*/
import type { ParseNode } from "./parseNode";
import type { ParseNode } from "./parseNode.js";
/**

@@ -10,0 +10,0 @@ * Defines the contract for a factory that is used to create {@link ParseNode}s.

@@ -7,4 +7,4 @@ /**

*/
import type { ParseNode } from "./parseNode";
import type { ParseNodeFactory } from "./parseNodeFactory";
import type { ParseNode } from "./parseNode.js";
import type { ParseNodeFactory } from "./parseNodeFactory.js";
/**

@@ -11,0 +11,0 @@ * This factory holds a list of all the registered factories for the various types of nodes.

@@ -7,5 +7,5 @@ /**

*/
import type { Parsable } from "./parsable";
import type { ParseNode } from "./parseNode";
import type { ParseNodeFactory } from "./parseNodeFactory";
import type { Parsable } from "./parsable.js";
import type { ParseNode } from "./parseNode.js";
import type { ParseNodeFactory } from "./parseNodeFactory.js";
/** Proxy factory that allows the composition of before and after callbacks on existing factories. */

@@ -12,0 +12,0 @@ export declare abstract class ParseNodeProxyFactory implements ParseNodeFactory {

@@ -7,7 +7,7 @@ /**

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

@@ -8,7 +8,7 @@ /**

import type { Guid } from "guid-typescript";
import type { DateOnly } from "../dateOnly";
import type { Duration } from "../duration";
import type { TimeOnly } from "../timeOnly";
import type { Parsable } from "./parsable";
import type { ModelSerializerFunction } from "./serializationFunctionTypes";
import type { DateOnly } from "../dateOnly.js";
import type { Duration } from "../duration.js";
import type { TimeOnly } from "../timeOnly.js";
import type { Parsable } from "./parsable.js";
import type { ModelSerializerFunction } from "./serializationFunctionTypes.js";
/** Defines an interface for serialization of objects to a stream. */

@@ -15,0 +15,0 @@ export interface SerializationWriter {

@@ -7,3 +7,3 @@ /**

*/
import type { SerializationWriter } from "./serializationWriter";
import type { SerializationWriter } from "./serializationWriter.js";
/** Defines the contract for a factory that creates SerializationWriter instances. */

@@ -10,0 +10,0 @@ export interface SerializationWriterFactory {

@@ -7,4 +7,4 @@ /**

*/
import type { SerializationWriter } from "./serializationWriter";
import type { SerializationWriterFactory } from "./serializationWriterFactory";
import type { SerializationWriter } from "./serializationWriter.js";
import type { SerializationWriterFactory } from "./serializationWriterFactory.js";
/** This factory holds a list of all the registered factories for the various types of nodes. */

@@ -11,0 +11,0 @@ export declare class SerializationWriterFactoryRegistry implements SerializationWriterFactory {

@@ -7,5 +7,5 @@ /**

*/
import type { Parsable } from "./parsable";
import type { SerializationWriter } from "./serializationWriter";
import type { SerializationWriterFactory } from "./serializationWriterFactory";
import type { Parsable } from "./parsable.js";
import type { SerializationWriter } from "./serializationWriter.js";
import type { SerializationWriterFactory } from "./serializationWriterFactory.js";
/** Proxy factory that allows the composition of before and after callbacks on existing factories. */

@@ -12,0 +12,0 @@ export declare abstract class SerializationWriterProxyFactory implements SerializationWriterFactory {

@@ -7,3 +7,3 @@ /**

*/
import { UntypedNode } from "./untypedNode";
import { UntypedNode } from "./untypedNode.js";
/** Defines an interface for defining an untyped array. */

@@ -10,0 +10,0 @@ export interface UntypedArray extends UntypedNode {

@@ -7,3 +7,3 @@ /**

*/
import { isUntypedNode } from "./untypedNode";
import { isUntypedNode } from "./untypedNode.js";
/**

@@ -10,0 +10,0 @@ * Type guard to assert that an UntypedNode instance is an UntypedArray.

@@ -7,3 +7,3 @@ /**

*/
import { UntypedNode } from "./untypedNode";
import { UntypedNode } from "./untypedNode.js";
/** Defines an interface for defining an untyped boolean. */

@@ -10,0 +10,0 @@ export interface UntypedBoolean extends UntypedNode {

@@ -7,5 +7,5 @@ /**

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

@@ -12,0 +12,0 @@ export interface UntypedNode extends Parsable {

@@ -7,3 +7,3 @@ /**

*/
import { UntypedNode } from "./untypedNode";
import { UntypedNode } from "./untypedNode.js";
/** Defines the interface for defining an untyped null value. */

@@ -10,0 +10,0 @@ export interface UntypedNull extends UntypedNode {

@@ -7,3 +7,3 @@ /**

*/
import { UntypedNode } from "./untypedNode";
import { UntypedNode } from "./untypedNode.js";
/** Defines the interface for defining an untyped number value. */

@@ -10,0 +10,0 @@ export interface UntypedNumber extends UntypedNode {

@@ -7,3 +7,3 @@ /**

*/
import { UntypedNode } from "./untypedNode";
import { UntypedNode } from "./untypedNode.js";
/** Defines the interface for defining an untyped object value. */

@@ -10,0 +10,0 @@ export interface UntypedObject extends UntypedNode {

@@ -7,3 +7,3 @@ /**

*/
import { isUntypedNode } from "./untypedNode";
import { isUntypedNode } from "./untypedNode.js";
/**

@@ -10,0 +10,0 @@ * Type guard to assert that an object instance is an UntypedObject.

@@ -7,3 +7,3 @@ /**

*/
import { UntypedNode } from "./untypedNode";
import { UntypedNode } from "./untypedNode.js";
/** Defines the interface for defining an untyped string value. */

@@ -10,0 +10,0 @@ export interface UntypedString extends UntypedNode {

@@ -7,3 +7,3 @@ /**

*/
import type { BackingStore } from "./backingStore";
import type { BackingStore } from "./backingStore.js";
/** Defines the contracts for a model that is backed by a store. */

@@ -10,0 +10,0 @@ export interface BackedModel {

@@ -7,3 +7,3 @@ /**

*/
import { BackingStoreFactorySingleton } from "./backingStoreFactorySingleton";
import { BackingStoreFactorySingleton } from "./backingStoreFactorySingleton.js";
// A method that creates a ProxyHandler for a generic model T and attaches it to a backing store.

@@ -10,0 +10,0 @@ export const createBackedModelProxyHandler = () => {

@@ -7,3 +7,3 @@ /**

*/
import type { BackingStore } from "./backingStore";
import type { BackingStore } from "./backingStore.js";
/** Defines the contract for a factory that creates backing stores. */

@@ -10,0 +10,0 @@ export interface BackingStoreFactory {

@@ -7,3 +7,3 @@ /**

*/
import type { BackingStoreFactory } from "./backingStoreFactory";
import type { BackingStoreFactory } from "./backingStoreFactory.js";
export declare class BackingStoreFactorySingleton {

@@ -10,0 +10,0 @@ static instance: BackingStoreFactory;

@@ -1,2 +0,2 @@

import { InMemoryBackingStoreFactory } from "./inMemoryBackingStoreFactory";
import { InMemoryBackingStoreFactory } from "./inMemoryBackingStoreFactory.js";
export class BackingStoreFactorySingleton {

@@ -3,0 +3,0 @@ }

@@ -7,3 +7,3 @@ /**

*/
import { type ParseNodeFactory, ParseNodeProxyFactory } from "../serialization";
import { type ParseNodeFactory, ParseNodeProxyFactory } from "../serialization/index.js";
/** Proxy implementation of ParseNodeFactory for the backing store that automatically sets the state of the backing store when deserializing. */

@@ -10,0 +10,0 @@ export declare class BackingStoreParseNodeFactory extends ParseNodeProxyFactory {

@@ -7,3 +7,3 @@ /**

*/
import { ParseNodeProxyFactory } from "../serialization";
import { ParseNodeProxyFactory } from "../serialization/index.js";
/** Proxy implementation of ParseNodeFactory for the backing store that automatically sets the state of the backing store when deserializing. */

@@ -10,0 +10,0 @@ export class BackingStoreParseNodeFactory extends ParseNodeProxyFactory {

@@ -7,3 +7,3 @@ /**

*/
import { type SerializationWriterFactory, SerializationWriterProxyFactory } from "../serialization";
import { type SerializationWriterFactory, SerializationWriterProxyFactory } from "../serialization/index.js";
/** Proxy implementation of SerializationWriterFactory for the backing store that automatically sets the state of the backing store when serializing. */

@@ -10,0 +10,0 @@ export declare class BackingStoreSerializationWriterProxyFactory extends SerializationWriterProxyFactory {

@@ -7,3 +7,3 @@ /**

*/
import { SerializationWriterProxyFactory } from "../serialization";
import { SerializationWriterProxyFactory } from "../serialization/index.js";
/** Proxy implementation of SerializationWriterFactory for the backing store that automatically sets the state of the backing store when serializing. */

@@ -10,0 +10,0 @@ export class BackingStoreSerializationWriterProxyFactory extends SerializationWriterProxyFactory {

@@ -7,3 +7,3 @@ /**

*/
import { type ParseNode } from "../serialization";
import { type ParseNode } from "../serialization/index.js";
export declare const BackingStoreKey = "backingStoreEnabled";

@@ -10,0 +10,0 @@ /**

@@ -7,12 +7,12 @@ /**

*/
export * from "./backedModel";
export * from "./backingStore";
export * from "./backingStoreFactory";
export * from "./backingStoreFactorySingleton";
export * from "./backingStoreParseNodeFactory";
export * from "./backingStoreSerializationWriterProxyFactory";
export * from "./inMemoryBackingStore";
export * from "./inMemoryBackingStoreFactory";
export * from "./backedModelProxy";
export * from "./backingStoreUtils";
export * from "./backedModel.js";
export * from "./backingStore.js";
export * from "./backingStoreFactory.js";
export * from "./backingStoreFactorySingleton.js";
export * from "./backingStoreParseNodeFactory.js";
export * from "./backingStoreSerializationWriterProxyFactory.js";
export * from "./inMemoryBackingStore.js";
export * from "./inMemoryBackingStoreFactory.js";
export * from "./backedModelProxy.js";
export * from "./backingStoreUtils.js";
//# sourceMappingURL=index.d.ts.map

@@ -7,12 +7,12 @@ /**

*/
export * from "./backedModel";
export * from "./backingStore";
export * from "./backingStoreFactory";
export * from "./backingStoreFactorySingleton";
export * from "./backingStoreParseNodeFactory";
export * from "./backingStoreSerializationWriterProxyFactory";
export * from "./inMemoryBackingStore";
export * from "./inMemoryBackingStoreFactory";
export * from "./backedModelProxy";
export * from "./backingStoreUtils";
export * from "./backedModel.js";
export * from "./backingStore.js";
export * from "./backingStoreFactory.js";
export * from "./backingStoreFactorySingleton.js";
export * from "./backingStoreParseNodeFactory.js";
export * from "./backingStoreSerializationWriterProxyFactory.js";
export * from "./inMemoryBackingStore.js";
export * from "./inMemoryBackingStoreFactory.js";
export * from "./backedModelProxy.js";
export * from "./backingStoreUtils.js";
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import type { BackingStore } from "./backingStore";
import type { BackingStore } from "./backingStore.js";
type subscriptionCallback = (key: string, previousValue: unknown, newValue: unknown) => void;

@@ -3,0 +3,0 @@ interface storeEntry {

@@ -7,4 +7,4 @@ /**

*/
import type { BackingStore } from "./backingStore";
import type { BackingStoreFactory } from "./backingStoreFactory";
import type { BackingStore } from "./backingStore.js";
import type { BackingStoreFactory } from "./backingStoreFactory.js";
/** This class is used to create instances of InMemoryBackingStore */

@@ -11,0 +11,0 @@ export declare class InMemoryBackingStoreFactory implements BackingStoreFactory {

@@ -1,2 +0,2 @@

import { InMemoryBackingStore } from "./inMemoryBackingStore";
import { InMemoryBackingStore } from "./inMemoryBackingStore.js";
/** This class is used to create instances of InMemoryBackingStore */

@@ -3,0 +3,0 @@ export class InMemoryBackingStoreFactory {

@@ -7,3 +7,3 @@ /**

*/
import { formatSegment } from "./dateOnly";
import { formatSegment } from "./dateOnly.js";
/*

@@ -10,0 +10,0 @@ * Represents a time only. ISO 8601.

@@ -7,5 +7,5 @@ /**

*/
export * from "./stringUtils";
export * from "./guidUtils";
export * from "./inNodeEnv";
export * from "./stringUtils.js";
export * from "./guidUtils.js";
export * from "./inNodeEnv.js";
//# sourceMappingURL=index.d.ts.map

@@ -7,5 +7,5 @@ /**

*/
export * from "./stringUtils";
export * from "./guidUtils";
export * from "./inNodeEnv";
export * from "./stringUtils.js";
export * from "./guidUtils.js";
export * from "./inNodeEnv.js";
//# sourceMappingURL=index.js.map
{
"name": "@microsoft/kiota-abstractions",
"version": "1.0.0-preview.54",
"version": "1.0.0-preview.56",
"description": "Core abstractions for kiota generated libraries in TypeScript and JavaScript",

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

"build": "npm run build:esm",
"build:esm": "tsc",
"build:esm": "tsc && tsc-alias",
"lint": "eslint . --ext .ts",

@@ -39,7 +39,7 @@ "lint:fix": "eslint . --ext .ts --fix",

"@opentelemetry/api": "^1.7.0",
"@std-uritemplate/std-uritemplate": "^0.0.57",
"@std-uritemplate/std-uritemplate": "^0.0.59",
"guid-typescript": "^1.0.9",
"tinyduration": "^3.3.0",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
"uuid": "^10.0.0"
},

@@ -49,3 +49,3 @@ "publishConfig": {

},
"gitHead": "0e26f615f2055e97a8a26412603cb11d0e4cdaf6"
"gitHead": "18ce5fd17f02186ba4151aa105d3a37ea1b50917"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc