@microsoft/kiota-serialization-text
Advanced tools
+14
-0
| # Changelog | ||
| ## [1.0.0-preview.92](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-serialization-text@1.0.0-preview.91...@microsoft/kiota-serialization-text@1.0.0-preview.92) (2025-03-24) | ||
| ### Bug Fixes | ||
| * Removes singleton registries ([#1634](https://github.com/microsoft/kiota-typescript/issues/1634)) ([8baf6e3](https://github.com/microsoft/kiota-typescript/commit/8baf6e3ae7f479f3745c502c93513678eb9f05c6)) | ||
| ### Dependencies | ||
| * The following workspace dependencies were updated | ||
| * dependencies | ||
| * @microsoft/kiota-abstractions bumped from ^1.0.0-preview.91 to ^1.0.0-preview.92 | ||
| ## [1.0.0-preview.91](https://github.com/microsoft/kiota-typescript/compare/@microsoft/kiota-serialization-text@1.0.0-preview.90...@microsoft/kiota-serialization-text@1.0.0-preview.91) (2025-03-21) | ||
@@ -4,0 +18,0 @@ |
@@ -7,4 +7,10 @@ /** | ||
| */ | ||
| import type { ParseNode, ParseNodeFactory } from "@microsoft/kiota-abstractions"; | ||
| import { BackingStoreFactory, type ParseNode, type ParseNodeFactory } from "@microsoft/kiota-abstractions"; | ||
| export declare class TextParseNodeFactory implements ParseNodeFactory { | ||
| private readonly backingStoreFactory?; | ||
| /** | ||
| * Creates an instance of TextParseNode. | ||
| * @param backingStoreFactory - The factory to create backing stores. | ||
| */ | ||
| constructor(backingStoreFactory?: BackingStoreFactory | undefined); | ||
| getValidContentType(): string; | ||
@@ -11,0 +17,0 @@ getRootParseNode(contentType: string, content: ArrayBuffer): ParseNode; |
@@ -9,2 +9,9 @@ /** | ||
| export class TextParseNodeFactory { | ||
| /** | ||
| * Creates an instance of TextParseNode. | ||
| * @param backingStoreFactory - The factory to create backing stores. | ||
| */ | ||
| constructor(backingStoreFactory) { | ||
| this.backingStoreFactory = backingStoreFactory; | ||
| } | ||
| getValidContentType() { | ||
@@ -11,0 +18,0 @@ return "text/plain"; |
@@ -7,4 +7,10 @@ /** | ||
| */ | ||
| import type { ParseNode, ParseNodeFactory } from "@microsoft/kiota-abstractions"; | ||
| import { BackingStoreFactory, type ParseNode, type ParseNodeFactory } from "@microsoft/kiota-abstractions"; | ||
| export declare class TextParseNodeFactory implements ParseNodeFactory { | ||
| private readonly backingStoreFactory?; | ||
| /** | ||
| * Creates an instance of TextParseNode. | ||
| * @param backingStoreFactory - The factory to create backing stores. | ||
| */ | ||
| constructor(backingStoreFactory?: BackingStoreFactory | undefined); | ||
| getValidContentType(): string; | ||
@@ -11,0 +17,0 @@ getRootParseNode(contentType: string, content: ArrayBuffer): ParseNode; |
@@ -9,2 +9,9 @@ /** | ||
| export class TextParseNodeFactory { | ||
| /** | ||
| * Creates an instance of TextParseNode. | ||
| * @param backingStoreFactory - The factory to create backing stores. | ||
| */ | ||
| constructor(backingStoreFactory) { | ||
| this.backingStoreFactory = backingStoreFactory; | ||
| } | ||
| getValidContentType() { | ||
@@ -11,0 +18,0 @@ return "text/plain"; |
+3
-3
| { | ||
| "name": "@microsoft/kiota-serialization-text", | ||
| "version": "1.0.0-preview.91", | ||
| "version": "1.0.0-preview.92", | ||
| "description": "Implementation of Kiota Serialization interfaces for text", | ||
@@ -42,3 +42,3 @@ "main": "dist/es/src/index.js", | ||
| "dependencies": { | ||
| "@microsoft/kiota-abstractions": "^1.0.0-preview.91", | ||
| "@microsoft/kiota-abstractions": "^1.0.0-preview.92", | ||
| "tslib": "^2.6.2" | ||
@@ -56,3 +56,3 @@ }, | ||
| }, | ||
| "gitHead": "62046c38ea28a59a2351a114ffce53cbea527d37" | ||
| "gitHead": "ada6bc909c0df125fda0e9287072035e0807bbf0" | ||
| } |
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
105387
1.44%457
6.03%