@xyo-network/payload-model
Advanced tools
Comparing version 3.6.0-rc.11 to 3.6.0-rc.12
@@ -6,6 +6,6 @@ import type { Payload } from './Payload.ts'; | ||
schema: import("./Schema.ts").Schema; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/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.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/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.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
export * from './Sequence.ts'; | ||
export * from './SequenceComparer.ts'; | ||
export * from './SequenceParser.ts'; | ||
export * from './StorageMeta.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -22,2 +22,7 @@ import { type Hash } from '@xylabs/hex'; | ||
export declare const isStorageMeta: (value: unknown) => value is StorageMeta; | ||
export declare const asStorageMeta: { | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/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.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/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.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
export * from './Sequence.ts'; | ||
export * from './SequenceComparer.ts'; | ||
export * from './SequenceParser.ts'; | ||
export * from './StorageMeta.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -22,2 +22,7 @@ import { type Hash } from '@xylabs/hex'; | ||
export declare const isStorageMeta: (value: unknown) => value is StorageMeta; | ||
export declare const asStorageMeta: { | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{ | ||
}>>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/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.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends T>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.24-9401eba71a/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.24-9401eba71a/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.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends string>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<string>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -12,0 +12,0 @@ /** Schema fields for a Payload */ |
export * from './Sequence.ts'; | ||
export * from './SequenceComparer.ts'; | ||
export * from './SequenceParser.ts'; | ||
export * from './StorageMeta.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -22,2 +22,7 @@ import { type Hash } from '@xylabs/hex'; | ||
export declare const isStorageMeta: (value: unknown) => value is StorageMeta; | ||
export declare const asStorageMeta: { | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends StorageMeta>(value: import(".store/@xylabs-promise-npm-4.4.25-d523bd119e/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.25-d523bd119e/package").AnyNonPromise) => TType | undefined; | ||
//# sourceMappingURL=StorageMeta.d.ts.map |
{ | ||
"name": "@xyo-network/payload-model", | ||
"version": "3.6.0-rc.11", | ||
"version": "3.6.0-rc.12", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -40,6 +40,6 @@ "homepage": "https://xyo.network", | ||
"dependencies": { | ||
"@xylabs/arraybuffer": "^4.4.24", | ||
"@xylabs/assert": "^4.4.24", | ||
"@xylabs/hex": "^4.4.24", | ||
"@xylabs/object": "^4.4.24" | ||
"@xylabs/arraybuffer": "^4.4.25", | ||
"@xylabs/assert": "^4.4.25", | ||
"@xylabs/hex": "^4.4.25", | ||
"@xylabs/object": "^4.4.25" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
"@xylabs/tsconfig": "^4.2.6", | ||
"@xylabs/vitest-extended": "^4.4.24", | ||
"@xylabs/vitest-extended": "^4.4.25", | ||
"typescript": "^5.7.2", | ||
@@ -52,0 +52,0 @@ "vitest": "^2.1.8" |
export * from './Sequence.ts' | ||
export * from './SequenceComparer.ts' | ||
export * from './SequenceParser.ts' | ||
export * from './StorageMeta.ts' |
import { type Hash, isHash } from '@xylabs/hex' | ||
import { AsObjectFactory } from '@xylabs/object' | ||
@@ -40,2 +41,4 @@ import type { Payload } from '../Payload.ts' | ||
} | ||
export const asStorageMeta = AsObjectFactory.create(isStorageMeta) | ||
export const asOptionalStorageMeta = AsObjectFactory.createOptional(isStorageMeta) | ||
@@ -42,0 +45,0 @@ // "00005a7f354762f3ac1bc5ddc6cfd08d14" is and example of a local sequence string |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
221156
146
2198
Updated@xylabs/arraybuffer@^4.4.25
Updated@xylabs/assert@^4.4.25
Updated@xylabs/hex@^4.4.25
Updated@xylabs/object@^4.4.25