@xyo-network/payload-model
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
@@ -16,5 +16,5 @@ } & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
export declare const asPayload: <T extends Payload>(schema: string[]) => { | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
//# sourceMappingURL=isPayload.d.ts.map |
@@ -8,4 +8,4 @@ import type { EmptyObject } from '@xylabs/object'; | ||
export declare const asSchema: { | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
@@ -16,5 +16,5 @@ } & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
export declare const asPayload: <T extends Payload>(schema: string[]) => { | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
//# sourceMappingURL=isPayload.d.ts.map |
@@ -8,4 +8,4 @@ import type { EmptyObject } from '@xylabs/object'; | ||
export declare const asSchema: { | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
@@ -16,5 +16,5 @@ } & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
export declare const asPayload: <T extends Payload>(schema: string[]) => { | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<T>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
//# sourceMappingURL=isPayload.d.ts.map |
@@ -8,4 +8,4 @@ import type { EmptyObject } from '@xylabs/object'; | ||
export declare const asSchema: { | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.4-ddcb6e0077/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.9-454de9ac63/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
{ | ||
"name": "@xyo-network/payload-model", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -40,4 +40,4 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/hex": "^4.4.4", | ||
"@xylabs/object": "^4.4.4" | ||
"@xylabs/hex": "^4.4.9", | ||
"@xylabs/object": "^4.4.9" | ||
}, | ||
@@ -47,3 +47,3 @@ "devDependencies": { | ||
"@xylabs/tsconfig": "^4.2.4", | ||
"@xylabs/vitest-extended": "^4.4.4", | ||
"@xylabs/vitest-extended": "^4.4.9", | ||
"typescript": "^5.7.2", | ||
@@ -50,0 +50,0 @@ "vitest": "^2.1.5" |
Updated@xylabs/hex@^4.4.9
Updated@xylabs/object@^4.4.9