@ax-llm/ax 14.0.22 → 14.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +21 -21
- package/index.cjs.map +1 -1
- package/index.d.cts +6 -20
- package/index.d.ts +6 -20
- package/index.global.js +15 -15
- package/index.global.js.map +1 -1
- package/index.js +27 -27
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -638,18 +638,18 @@ declare class AxSignatureBuilder<_TInput extends Record<string, any> = {}, _TOut
|
|
|
638
638
|
}
|
|
639
639
|
declare class AxFluentFieldType<TType extends AxFieldType['type'] = AxFieldType['type'], TIsArray extends boolean = false, TOptions extends readonly string[] | undefined = undefined, TIsOptional extends boolean = false, TIsInternal extends boolean = false> implements AxFieldType {
|
|
640
640
|
readonly type: TType;
|
|
641
|
-
readonly isArray
|
|
641
|
+
readonly isArray: TIsArray;
|
|
642
642
|
readonly options?: TOptions;
|
|
643
643
|
readonly description?: string;
|
|
644
|
-
readonly isOptional
|
|
645
|
-
readonly isInternal
|
|
644
|
+
readonly isOptional: TIsOptional;
|
|
645
|
+
readonly isInternal: TIsInternal;
|
|
646
646
|
constructor(fieldType: {
|
|
647
647
|
type: TType;
|
|
648
|
-
isArray
|
|
648
|
+
isArray: TIsArray;
|
|
649
649
|
options?: TOptions;
|
|
650
650
|
description?: string;
|
|
651
|
-
isOptional
|
|
652
|
-
isInternal
|
|
651
|
+
isOptional: TIsOptional;
|
|
652
|
+
isInternal: TIsInternal;
|
|
653
653
|
});
|
|
654
654
|
optional(): AxFluentFieldType<TType, TIsArray, TOptions, true, TIsInternal>;
|
|
655
655
|
array(): AxFluentFieldType<TType, true, TOptions, TIsOptional, TIsInternal>;
|
|
@@ -668,20 +668,6 @@ declare const f: (() => AxSignatureBuilder) & {
|
|
|
668
668
|
file: (desc?: string) => AxFluentFieldType<"file", false, undefined, false, false>;
|
|
669
669
|
url: (desc?: string) => AxFluentFieldType<"url", false, undefined, false, false>;
|
|
670
670
|
code: (language?: string, desc?: string) => AxFluentFieldType<"code", false, undefined, false, false>;
|
|
671
|
-
array: <T extends AxFluentFieldInfo<any, any, any, any>>(baseType: T) => AxFluentFieldInfo<T["type"], true, T["options"], T["isOptional"]>;
|
|
672
|
-
optional: <T extends AxFluentFieldInfo<any, any, any, any>>(baseType: T) => AxFluentFieldInfo<T["type"], T["isArray"], T["options"], true>;
|
|
673
|
-
internal: <T extends AxFluentFieldInfo<any, any, any, any>>(baseType: T) => T & {
|
|
674
|
-
readonly isInternal: true;
|
|
675
|
-
};
|
|
676
|
-
legacyArray: <T extends AxFieldType>(baseType: T) => T & {
|
|
677
|
-
readonly isArray: true;
|
|
678
|
-
};
|
|
679
|
-
legacyOptional: <T extends AxFieldType>(baseType: T) => T & {
|
|
680
|
-
readonly isOptional: true;
|
|
681
|
-
};
|
|
682
|
-
legacyInternal: <T extends AxFieldType>(baseType: T) => T & {
|
|
683
|
-
readonly isInternal: true;
|
|
684
|
-
};
|
|
685
671
|
};
|
|
686
672
|
interface AxField {
|
|
687
673
|
name: string;
|
package/index.d.ts
CHANGED
|
@@ -638,18 +638,18 @@ declare class AxSignatureBuilder<_TInput extends Record<string, any> = {}, _TOut
|
|
|
638
638
|
}
|
|
639
639
|
declare class AxFluentFieldType<TType extends AxFieldType['type'] = AxFieldType['type'], TIsArray extends boolean = false, TOptions extends readonly string[] | undefined = undefined, TIsOptional extends boolean = false, TIsInternal extends boolean = false> implements AxFieldType {
|
|
640
640
|
readonly type: TType;
|
|
641
|
-
readonly isArray
|
|
641
|
+
readonly isArray: TIsArray;
|
|
642
642
|
readonly options?: TOptions;
|
|
643
643
|
readonly description?: string;
|
|
644
|
-
readonly isOptional
|
|
645
|
-
readonly isInternal
|
|
644
|
+
readonly isOptional: TIsOptional;
|
|
645
|
+
readonly isInternal: TIsInternal;
|
|
646
646
|
constructor(fieldType: {
|
|
647
647
|
type: TType;
|
|
648
|
-
isArray
|
|
648
|
+
isArray: TIsArray;
|
|
649
649
|
options?: TOptions;
|
|
650
650
|
description?: string;
|
|
651
|
-
isOptional
|
|
652
|
-
isInternal
|
|
651
|
+
isOptional: TIsOptional;
|
|
652
|
+
isInternal: TIsInternal;
|
|
653
653
|
});
|
|
654
654
|
optional(): AxFluentFieldType<TType, TIsArray, TOptions, true, TIsInternal>;
|
|
655
655
|
array(): AxFluentFieldType<TType, true, TOptions, TIsOptional, TIsInternal>;
|
|
@@ -668,20 +668,6 @@ declare const f: (() => AxSignatureBuilder) & {
|
|
|
668
668
|
file: (desc?: string) => AxFluentFieldType<"file", false, undefined, false, false>;
|
|
669
669
|
url: (desc?: string) => AxFluentFieldType<"url", false, undefined, false, false>;
|
|
670
670
|
code: (language?: string, desc?: string) => AxFluentFieldType<"code", false, undefined, false, false>;
|
|
671
|
-
array: <T extends AxFluentFieldInfo<any, any, any, any>>(baseType: T) => AxFluentFieldInfo<T["type"], true, T["options"], T["isOptional"]>;
|
|
672
|
-
optional: <T extends AxFluentFieldInfo<any, any, any, any>>(baseType: T) => AxFluentFieldInfo<T["type"], T["isArray"], T["options"], true>;
|
|
673
|
-
internal: <T extends AxFluentFieldInfo<any, any, any, any>>(baseType: T) => T & {
|
|
674
|
-
readonly isInternal: true;
|
|
675
|
-
};
|
|
676
|
-
legacyArray: <T extends AxFieldType>(baseType: T) => T & {
|
|
677
|
-
readonly isArray: true;
|
|
678
|
-
};
|
|
679
|
-
legacyOptional: <T extends AxFieldType>(baseType: T) => T & {
|
|
680
|
-
readonly isOptional: true;
|
|
681
|
-
};
|
|
682
|
-
legacyInternal: <T extends AxFieldType>(baseType: T) => T & {
|
|
683
|
-
readonly isInternal: true;
|
|
684
|
-
};
|
|
685
671
|
};
|
|
686
672
|
interface AxField {
|
|
687
673
|
name: string;
|