Skip to content

Commit 21e7133

Browse files
committed
fix: add missing exports
1 parent fff8390 commit 21e7133

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ import {
8888
type ChatWrapperGenerateInitialHistoryOptions
8989
} from "./types.js";
9090
import {
91-
type GbnfJsonArraySchema, type GbnfJsonBasicSchema, type GbnfJsonConstSchema, type GbnfJsonEnumSchema, type GbnfJsonObjectSchema,
92-
type GbnfJsonOneOfSchema, type GbnfJsonSchema, type GbnfJsonSchemaImmutableType, type GbnfJsonSchemaToType
91+
type GbnfJsonArraySchema, type GbnfJsonBasicSchema, type GbnfJsonConstSchema, type GbnfJsonEnumSchema, type GbnfJsonStringSchema,
92+
type GbnfJsonObjectSchema, type GbnfJsonOneOfSchema, type GbnfJsonSchema, type GbnfJsonSchemaImmutableType, type GbnfJsonSchemaToType
9393
} from "./utils/gbnfJson/types.js";
9494
import {type GgufFileInfo} from "./gguf/types/GgufFileInfoTypes.js";
9595
import {
@@ -239,6 +239,7 @@ export {
239239
type GbnfJsonBasicSchema,
240240
type GbnfJsonConstSchema,
241241
type GbnfJsonEnumSchema,
242+
type GbnfJsonStringSchema,
242243
type GbnfJsonOneOfSchema,
243244
type GbnfJsonObjectSchema,
244245
type GbnfJsonArraySchema,

src/utils/gbnfJson/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export type GbnfJsonSchemaImmutableType = "string" | "number" | "integer" | "boolean" | "null";
22
export type GbnfJsonSchema = GbnfJsonBasicSchema | GbnfJsonConstSchema | GbnfJsonEnumSchema | GbnfJsonOneOfSchema |
3-
GbnfJsonBasicStringSchema | GbnfJsonFormatStringSchema | GbnfJsonObjectSchema | GbnfJsonArraySchema;
3+
GbnfJsonStringSchema | GbnfJsonObjectSchema | GbnfJsonArraySchema;
44

55
export type GbnfJsonBasicSchema = {
66
type: GbnfJsonSchemaImmutableType | readonly GbnfJsonSchemaImmutableType[],
@@ -42,6 +42,7 @@ export type GbnfJsonOneOfSchema = {
4242
*/
4343
description?: string
4444
};
45+
export type GbnfJsonStringSchema = GbnfJsonBasicStringSchema | GbnfJsonFormatStringSchema;
4546
export type GbnfJsonBasicStringSchema = {
4647
type: "string",
4748

0 commit comments

Comments
 (0)