@xyo-network/payload-model
Advanced tools
Comparing version 3.6.7 to 3.6.8
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
schema: import("./Schema.ts").Schema; | ||
@@ -16,5 +16,5 @@ }>>, 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.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/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.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/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.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/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.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -23,6 +23,6 @@ import { type Hash } from '@xylabs/hex'; | ||
export declare const asStorageMeta: { | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<StorageMeta>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<StorageMeta>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
export declare const asOptionalStorageMeta: <TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise) => TType | undefined; | ||
export declare const asOptionalStorageMeta: <TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise) => TType | undefined; | ||
//# sourceMappingURL=StorageMeta.d.ts.map |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
schema: import("./Schema.ts").Schema; | ||
@@ -16,5 +16,5 @@ }>>, 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.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/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.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/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.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/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.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -23,6 +23,6 @@ import { type Hash } from '@xylabs/hex'; | ||
export declare const asStorageMeta: { | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<StorageMeta>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<StorageMeta>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
export declare const asOptionalStorageMeta: <TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise) => TType | undefined; | ||
export declare const asOptionalStorageMeta: <TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise) => TType | undefined; | ||
//# sourceMappingURL=StorageMeta.d.ts.map |
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
schema: import("./Schema.ts").Schema; | ||
@@ -16,5 +16,5 @@ }>>, 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.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/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.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/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.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/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.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
@@ -23,6 +23,6 @@ import { type Hash } from '@xylabs/hex'; | ||
export declare const asStorageMeta: { | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<StorageMeta>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<StorageMeta>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
export declare const asOptionalStorageMeta: <TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.32-5533b418ca/package").AnyNonPromise) => TType | undefined; | ||
export declare const asOptionalStorageMeta: <TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.34-cc09f76696/package").AnyNonPromise) => TType | undefined; | ||
//# sourceMappingURL=StorageMeta.d.ts.map |
{ | ||
"name": "@xyo-network/payload-model", | ||
"version": "3.6.7", | ||
"version": "3.6.8", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -40,6 +40,6 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/arraybuffer": "^4.4.27", | ||
"@xylabs/assert": "^4.4.27", | ||
"@xylabs/hex": "^4.4.27", | ||
"@xylabs/object": "^4.4.27" | ||
"@xylabs/arraybuffer": "^4.4.34", | ||
"@xylabs/assert": "^4.4.34", | ||
"@xylabs/hex": "^4.4.34", | ||
"@xylabs/object": "^4.4.34" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
"@xylabs/tsconfig": "^4.2.6", | ||
"@xylabs/vitest-extended": "^4.4.27", | ||
"@xylabs/vitest-extended": "^4.4.34", | ||
"typescript": "^5.7.2", | ||
@@ -52,0 +52,0 @@ "vitest": "^2.1.8" |
Updated@xylabs/arraybuffer@^4.4.34
Updated@xylabs/assert@^4.4.34
Updated@xylabs/hex@^4.4.34
Updated@xylabs/object@^4.4.34