@xyo-network/payload-model
Advanced tools
Comparing version 2.110.16 to 2.110.17
import { Hash } from '@xylabs/hex'; | ||
import { JsonValue } from '@xylabs/object'; | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type ModuleErrorSchema = 'network.xyo.error.module'; | ||
@@ -14,3 +14,3 @@ export declare const ModuleErrorSchema: ModuleErrorSchema; | ||
}>; | ||
export declare const isModuleError: (x?: unknown | null) => x is import("./Schema.ts").SchemaFields & import("./Payload.js").PayloadFields & { | ||
export declare const isModuleError: (x?: unknown | null) => x is import("./Schema.ts").SchemaFields & import("./Payload.ts").PayloadFields & { | ||
details?: JsonValue; | ||
@@ -17,0 +17,0 @@ message?: string; |
@@ -1,13 +0,13 @@ | ||
export * from './Error.js'; | ||
export * from './isPayload.js'; | ||
export * from './isPayloadOfSchemaType.js'; | ||
export * from './isPayloadWithHash.js'; | ||
export * from './Meta.js'; | ||
export * from './Payload.js'; | ||
export * from './PayloadFindFilter.js'; | ||
export * from './PayloadSet/index.js'; | ||
export * from './PayloadValidationFunction.js'; | ||
export * from './PayloadValueExpression.js'; | ||
export * from './Query.js'; | ||
export * from './Schema.js'; | ||
export * from './Error.ts'; | ||
export * from './isPayload.ts'; | ||
export * from './isPayloadOfSchemaType.ts'; | ||
export * from './isPayloadWithHash.ts'; | ||
export * from './Meta.ts'; | ||
export * from './Payload.ts'; | ||
export * from './PayloadFindFilter.ts'; | ||
export * from './PayloadSet/index.ts'; | ||
export * from './PayloadValidationFunction.ts'; | ||
export * from './PayloadValueExpression.ts'; | ||
export * from './Query.ts'; | ||
export * from './Schema.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export declare const isAnyPayload: (value: unknown) => value is Payload; | ||
@@ -6,8 +6,8 @@ export declare const asAnyPayload: { | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
} & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -14,0 +14,0 @@ export declare const isPayload: <T extends Payload>(schema: string[]) => (value: unknown) => value is T; |
@@ -1,3 +0,3 @@ | ||
import { WithMeta } from './Meta.js'; | ||
import { Payload, WithSources } from './Payload.js'; | ||
import { WithMeta } from './Meta.ts'; | ||
import { Payload, WithSources } from './Payload.ts'; | ||
export declare const isPayloadOfSchemaType: <T extends Payload>(schema: string) => (x?: unknown | null) => x is T; | ||
@@ -4,0 +4,0 @@ export declare const isPayloadOfSchemaTypeWithMeta: <T extends Payload>(schema: string) => (x?: unknown | null) => x is WithMeta<T>; |
@@ -1,5 +0,5 @@ | ||
import { WithMeta } from './Meta.js'; | ||
import { Payload } from './Payload.js'; | ||
import { WithMeta } from './Meta.ts'; | ||
import { Payload } from './Payload.ts'; | ||
export declare const isWithHash: <T extends Payload>(value: T) => value is WithMeta<T>; | ||
export declare const isPayloadWithHash: <T extends Payload>(value: unknown) => value is WithMeta<T>; | ||
//# sourceMappingURL=isPayloadWithHash.d.ts.map |
import { EmptyObject, JsonObject } from '@xylabs/object'; | ||
import { Payload, PayloadMetaFields } from './Payload.js'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Payload, PayloadMetaFields } from './Payload.ts'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export type WithMeta<T extends Payload = Payload, M extends JsonObject | void = void> = PayloadMetaFields<M> & T; | ||
@@ -5,0 +5,0 @@ export type WithOptionalMeta<T extends Payload = Payload, M extends JsonObject | void = void> = Partial<WithMeta<T, M>> & Omit<WithMeta<T, M>, '$hash'>; |
import { Hash } from '@xylabs/hex'; | ||
import { EmptyObject, JsonObject } from '@xylabs/object'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export interface PayloadMetaFields<TAdditionalMeta extends EmptyObject | void = void> extends EmptyObject { | ||
@@ -5,0 +5,0 @@ $hash: Hash; |
@@ -1,3 +0,3 @@ | ||
export * from './PayloadSetPayload.js'; | ||
export * from './PayloadSetSchema.js'; | ||
export * from './PayloadSetPayload.ts'; | ||
export * from './PayloadSetSchema.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { Payload } from '../Payload.js'; | ||
import { PayloadSetSchema } from './PayloadSetSchema.js'; | ||
import { Payload } from '../Payload.ts'; | ||
import { PayloadSetSchema } from './PayloadSetSchema.ts'; | ||
export interface PayloadSet { | ||
@@ -4,0 +4,0 @@ optional?: Record<string, number>; |
@@ -1,3 +0,3 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type PayloadValidationFunction<T extends Payload = Payload> = (payload: T) => boolean | Promise<boolean>; | ||
//# sourceMappingURL=PayloadValidationFunction.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type PayloadProperty<T extends Payload = Payload> = keyof T; | ||
@@ -3,0 +3,0 @@ export type PayloadValue<T extends Payload = Payload, Key extends PayloadProperty<T> = PayloadProperty<T>> = T[Key]; |
import { Address } from '@xylabs/hex'; | ||
import { EmptyObject } from '@xylabs/object'; | ||
import { Payload } from './Payload.js'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Payload } from './Payload.ts'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export interface QueryFields { | ||
@@ -6,0 +6,0 @@ address?: Address | Address[]; |
import { Hash } from '@xylabs/hex'; | ||
import { JsonValue } from '@xylabs/object'; | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type ModuleErrorSchema = 'network.xyo.error.module'; | ||
@@ -14,3 +14,3 @@ export declare const ModuleErrorSchema: ModuleErrorSchema; | ||
}>; | ||
export declare const isModuleError: (x?: unknown | null) => x is import("./Schema.ts").SchemaFields & import("./Payload.js").PayloadFields & { | ||
export declare const isModuleError: (x?: unknown | null) => x is import("./Schema.ts").SchemaFields & import("./Payload.ts").PayloadFields & { | ||
details?: JsonValue; | ||
@@ -17,0 +17,0 @@ message?: string; |
@@ -1,13 +0,13 @@ | ||
export * from './Error.js'; | ||
export * from './isPayload.js'; | ||
export * from './isPayloadOfSchemaType.js'; | ||
export * from './isPayloadWithHash.js'; | ||
export * from './Meta.js'; | ||
export * from './Payload.js'; | ||
export * from './PayloadFindFilter.js'; | ||
export * from './PayloadSet/index.js'; | ||
export * from './PayloadValidationFunction.js'; | ||
export * from './PayloadValueExpression.js'; | ||
export * from './Query.js'; | ||
export * from './Schema.js'; | ||
export * from './Error.ts'; | ||
export * from './isPayload.ts'; | ||
export * from './isPayloadOfSchemaType.ts'; | ||
export * from './isPayloadWithHash.ts'; | ||
export * from './Meta.ts'; | ||
export * from './Payload.ts'; | ||
export * from './PayloadFindFilter.ts'; | ||
export * from './PayloadSet/index.ts'; | ||
export * from './PayloadValidationFunction.ts'; | ||
export * from './PayloadValueExpression.ts'; | ||
export * from './Query.ts'; | ||
export * from './Schema.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export declare const isAnyPayload: (value: unknown) => value is Payload; | ||
@@ -6,8 +6,8 @@ export declare const asAnyPayload: { | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
} & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -14,0 +14,0 @@ export declare const isPayload: <T extends Payload>(schema: string[]) => (value: unknown) => value is T; |
@@ -1,3 +0,3 @@ | ||
import { WithMeta } from './Meta.js'; | ||
import { Payload, WithSources } from './Payload.js'; | ||
import { WithMeta } from './Meta.ts'; | ||
import { Payload, WithSources } from './Payload.ts'; | ||
export declare const isPayloadOfSchemaType: <T extends Payload>(schema: string) => (x?: unknown | null) => x is T; | ||
@@ -4,0 +4,0 @@ export declare const isPayloadOfSchemaTypeWithMeta: <T extends Payload>(schema: string) => (x?: unknown | null) => x is WithMeta<T>; |
@@ -1,5 +0,5 @@ | ||
import { WithMeta } from './Meta.js'; | ||
import { Payload } from './Payload.js'; | ||
import { WithMeta } from './Meta.ts'; | ||
import { Payload } from './Payload.ts'; | ||
export declare const isWithHash: <T extends Payload>(value: T) => value is WithMeta<T>; | ||
export declare const isPayloadWithHash: <T extends Payload>(value: unknown) => value is WithMeta<T>; | ||
//# sourceMappingURL=isPayloadWithHash.d.ts.map |
import { EmptyObject, JsonObject } from '@xylabs/object'; | ||
import { Payload, PayloadMetaFields } from './Payload.js'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Payload, PayloadMetaFields } from './Payload.ts'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export type WithMeta<T extends Payload = Payload, M extends JsonObject | void = void> = PayloadMetaFields<M> & T; | ||
@@ -5,0 +5,0 @@ export type WithOptionalMeta<T extends Payload = Payload, M extends JsonObject | void = void> = Partial<WithMeta<T, M>> & Omit<WithMeta<T, M>, '$hash'>; |
import { Hash } from '@xylabs/hex'; | ||
import { EmptyObject, JsonObject } from '@xylabs/object'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export interface PayloadMetaFields<TAdditionalMeta extends EmptyObject | void = void> extends EmptyObject { | ||
@@ -5,0 +5,0 @@ $hash: Hash; |
@@ -1,3 +0,3 @@ | ||
export * from './PayloadSetPayload.js'; | ||
export * from './PayloadSetSchema.js'; | ||
export * from './PayloadSetPayload.ts'; | ||
export * from './PayloadSetSchema.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { Payload } from '../Payload.js'; | ||
import { PayloadSetSchema } from './PayloadSetSchema.js'; | ||
import { Payload } from '../Payload.ts'; | ||
import { PayloadSetSchema } from './PayloadSetSchema.ts'; | ||
export interface PayloadSet { | ||
@@ -4,0 +4,0 @@ optional?: Record<string, number>; |
@@ -1,3 +0,3 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type PayloadValidationFunction<T extends Payload = Payload> = (payload: T) => boolean | Promise<boolean>; | ||
//# sourceMappingURL=PayloadValidationFunction.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type PayloadProperty<T extends Payload = Payload> = keyof T; | ||
@@ -3,0 +3,0 @@ export type PayloadValue<T extends Payload = Payload, Key extends PayloadProperty<T> = PayloadProperty<T>> = T[Key]; |
import { Address } from '@xylabs/hex'; | ||
import { EmptyObject } from '@xylabs/object'; | ||
import { Payload } from './Payload.js'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Payload } from './Payload.ts'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export interface QueryFields { | ||
@@ -6,0 +6,0 @@ address?: Address | Address[]; |
import { Hash } from '@xylabs/hex'; | ||
import { JsonValue } from '@xylabs/object'; | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type ModuleErrorSchema = 'network.xyo.error.module'; | ||
@@ -14,3 +14,3 @@ export declare const ModuleErrorSchema: ModuleErrorSchema; | ||
}>; | ||
export declare const isModuleError: (x?: unknown | null) => x is import("./Schema.ts").SchemaFields & import("./Payload.js").PayloadFields & { | ||
export declare const isModuleError: (x?: unknown | null) => x is import("./Schema.ts").SchemaFields & import("./Payload.ts").PayloadFields & { | ||
details?: JsonValue; | ||
@@ -17,0 +17,0 @@ message?: string; |
@@ -1,13 +0,13 @@ | ||
export * from './Error.js'; | ||
export * from './isPayload.js'; | ||
export * from './isPayloadOfSchemaType.js'; | ||
export * from './isPayloadWithHash.js'; | ||
export * from './Meta.js'; | ||
export * from './Payload.js'; | ||
export * from './PayloadFindFilter.js'; | ||
export * from './PayloadSet/index.js'; | ||
export * from './PayloadValidationFunction.js'; | ||
export * from './PayloadValueExpression.js'; | ||
export * from './Query.js'; | ||
export * from './Schema.js'; | ||
export * from './Error.ts'; | ||
export * from './isPayload.ts'; | ||
export * from './isPayloadOfSchemaType.ts'; | ||
export * from './isPayloadWithHash.ts'; | ||
export * from './Meta.ts'; | ||
export * from './Payload.ts'; | ||
export * from './PayloadFindFilter.ts'; | ||
export * from './PayloadSet/index.ts'; | ||
export * from './PayloadValidationFunction.ts'; | ||
export * from './PayloadValueExpression.ts'; | ||
export * from './Query.ts'; | ||
export * from './Schema.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export declare const isAnyPayload: (value: unknown) => value is Payload; | ||
@@ -6,8 +6,8 @@ export declare const asAnyPayload: { | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined; | ||
<TType extends { | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
} & import("./Payload.ts").PayloadFields>(value: import(".store/@xylabs-promise-npm-3.6.6-283fbba928/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<{ | ||
schema: string; | ||
} & import("./Payload.js").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
} & import("./Payload.ts").PayloadFields>, config?: import("@xylabs/object").TypeCheckConfig): TType; | ||
}; | ||
@@ -14,0 +14,0 @@ export declare const isPayload: <T extends Payload>(schema: string[]) => (value: unknown) => value is T; |
@@ -1,3 +0,3 @@ | ||
import { WithMeta } from './Meta.js'; | ||
import { Payload, WithSources } from './Payload.js'; | ||
import { WithMeta } from './Meta.ts'; | ||
import { Payload, WithSources } from './Payload.ts'; | ||
export declare const isPayloadOfSchemaType: <T extends Payload>(schema: string) => (x?: unknown | null) => x is T; | ||
@@ -4,0 +4,0 @@ export declare const isPayloadOfSchemaTypeWithMeta: <T extends Payload>(schema: string) => (x?: unknown | null) => x is WithMeta<T>; |
@@ -1,5 +0,5 @@ | ||
import { WithMeta } from './Meta.js'; | ||
import { Payload } from './Payload.js'; | ||
import { WithMeta } from './Meta.ts'; | ||
import { Payload } from './Payload.ts'; | ||
export declare const isWithHash: <T extends Payload>(value: T) => value is WithMeta<T>; | ||
export declare const isPayloadWithHash: <T extends Payload>(value: unknown) => value is WithMeta<T>; | ||
//# sourceMappingURL=isPayloadWithHash.d.ts.map |
import { EmptyObject, JsonObject } from '@xylabs/object'; | ||
import { Payload, PayloadMetaFields } from './Payload.js'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Payload, PayloadMetaFields } from './Payload.ts'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export type WithMeta<T extends Payload = Payload, M extends JsonObject | void = void> = PayloadMetaFields<M> & T; | ||
@@ -5,0 +5,0 @@ export type WithOptionalMeta<T extends Payload = Payload, M extends JsonObject | void = void> = Partial<WithMeta<T, M>> & Omit<WithMeta<T, M>, '$hash'>; |
import { Hash } from '@xylabs/hex'; | ||
import { EmptyObject, JsonObject } from '@xylabs/object'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export interface PayloadMetaFields<TAdditionalMeta extends EmptyObject | void = void> extends EmptyObject { | ||
@@ -5,0 +5,0 @@ $hash: Hash; |
@@ -1,3 +0,3 @@ | ||
export * from './PayloadSetPayload.js'; | ||
export * from './PayloadSetSchema.js'; | ||
export * from './PayloadSetPayload.ts'; | ||
export * from './PayloadSetSchema.ts'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { Payload } from '../Payload.js'; | ||
import { PayloadSetSchema } from './PayloadSetSchema.js'; | ||
import { Payload } from '../Payload.ts'; | ||
import { PayloadSetSchema } from './PayloadSetSchema.ts'; | ||
export interface PayloadSet { | ||
@@ -4,0 +4,0 @@ optional?: Record<string, number>; |
@@ -1,3 +0,3 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type PayloadValidationFunction<T extends Payload = Payload> = (payload: T) => boolean | Promise<boolean>; | ||
//# sourceMappingURL=PayloadValidationFunction.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js'; | ||
import { Payload } from './Payload.ts'; | ||
export type PayloadProperty<T extends Payload = Payload> = keyof T; | ||
@@ -3,0 +3,0 @@ export type PayloadValue<T extends Payload = Payload, Key extends PayloadProperty<T> = PayloadProperty<T>> = T[Key]; |
import { Address } from '@xylabs/hex'; | ||
import { EmptyObject } from '@xylabs/object'; | ||
import { Payload } from './Payload.js'; | ||
import { Schema, WithSchema } from './Schema.js'; | ||
import { Payload } from './Payload.ts'; | ||
import { Schema, WithSchema } from './Schema.ts'; | ||
export interface QueryFields { | ||
@@ -6,0 +6,0 @@ address?: Address | Address[]; |
@@ -60,4 +60,4 @@ { | ||
"sideEffects": false, | ||
"version": "2.110.16", | ||
"version": "2.110.17", | ||
"type": "module" | ||
} |
import { Hash } from '@xylabs/hex' | ||
import { JsonValue } from '@xylabs/object' | ||
import { isPayloadOfSchemaType } from './isPayloadOfSchemaType.js' | ||
import { Payload } from './Payload.js' | ||
import { isPayloadOfSchemaType } from './isPayloadOfSchemaType.ts' | ||
import { Payload } from './Payload.ts' | ||
@@ -7,0 +7,0 @@ export type ModuleErrorSchema = 'network.xyo.error.module' |
@@ -1,12 +0,12 @@ | ||
export * from './Error.js' | ||
export * from './isPayload.js' | ||
export * from './isPayloadOfSchemaType.js' | ||
export * from './isPayloadWithHash.js' | ||
export * from './Meta.js' | ||
export * from './Payload.js' | ||
export * from './PayloadFindFilter.js' | ||
export * from './PayloadSet/index.js' | ||
export * from './PayloadValidationFunction.js' | ||
export * from './PayloadValueExpression.js' | ||
export * from './Query.js' | ||
export * from './Schema.js' | ||
export * from './Error.ts' | ||
export * from './isPayload.ts' | ||
export * from './isPayloadOfSchemaType.ts' | ||
export * from './isPayloadWithHash.ts' | ||
export * from './Meta.ts' | ||
export * from './Payload.ts' | ||
export * from './PayloadFindFilter.ts' | ||
export * from './PayloadSet/index.ts' | ||
export * from './PayloadValidationFunction.ts' | ||
export * from './PayloadValueExpression.ts' | ||
export * from './Query.ts' | ||
export * from './Schema.ts' |
import { AsObjectFactory, isObject } from '@xylabs/object' | ||
import { Payload } from './Payload.js' | ||
import { Payload } from './Payload.ts' | ||
@@ -5,0 +5,0 @@ export const isAnyPayload = (value: unknown): value is Payload => { |
@@ -1,4 +0,4 @@ | ||
import { isAnyPayload } from './isPayload.js' | ||
import { WithMeta } from './Meta.js' | ||
import { Payload, WithSources } from './Payload.js' | ||
import { isAnyPayload } from './isPayload.ts' | ||
import { WithMeta } from './Meta.ts' | ||
import { Payload, WithSources } from './Payload.ts' | ||
@@ -5,0 +5,0 @@ export const isPayloadOfSchemaType = <T extends Payload>(schema: string) => { |
@@ -1,4 +0,4 @@ | ||
import { isAnyPayload } from './isPayload.js' | ||
import { WithMeta } from './Meta.js' | ||
import { Payload } from './Payload.js' | ||
import { isAnyPayload } from './isPayload.ts' | ||
import { WithMeta } from './Meta.ts' | ||
import { Payload } from './Payload.ts' | ||
@@ -5,0 +5,0 @@ /** |
import { EmptyObject, JsonObject } from '@xylabs/object' | ||
import { Payload, PayloadMetaFields } from './Payload.js' | ||
import { Schema, WithSchema } from './Schema.js' | ||
import { Payload, PayloadMetaFields } from './Payload.ts' | ||
import { Schema, WithSchema } from './Schema.ts' | ||
@@ -6,0 +6,0 @@ export type WithMeta<T extends Payload = Payload, M extends JsonObject | void = void> = PayloadMetaFields<M> & T |
import { Hash } from '@xylabs/hex' | ||
import { EmptyObject, JsonObject } from '@xylabs/object' | ||
import { Schema, WithSchema } from './Schema.js' | ||
import { Schema, WithSchema } from './Schema.ts' | ||
@@ -6,0 +6,0 @@ /** Meta fields for a payload - Either both $hash and $meta should exist or neither */ |
@@ -1,2 +0,2 @@ | ||
export * from './PayloadSetPayload.js' | ||
export * from './PayloadSetSchema.js' | ||
export * from './PayloadSetPayload.ts' | ||
export * from './PayloadSetSchema.ts' |
@@ -1,3 +0,3 @@ | ||
import { Payload } from '../Payload.js' | ||
import { PayloadSetSchema } from './PayloadSetSchema.js' | ||
import { Payload } from '../Payload.ts' | ||
import { PayloadSetSchema } from './PayloadSetSchema.ts' | ||
@@ -4,0 +4,0 @@ export interface PayloadSet { |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js' | ||
import { Payload } from './Payload.ts' | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { Payload } from './Payload.js' | ||
import { Payload } from './Payload.ts' | ||
@@ -3,0 +3,0 @@ /** |
import { Address } from '@xylabs/hex' | ||
import { EmptyObject } from '@xylabs/object' | ||
import { Payload } from './Payload.js' | ||
import { Schema, WithSchema } from './Schema.js' | ||
import { Payload } from './Payload.ts' | ||
import { Schema, WithSchema } from './Schema.ts' | ||
@@ -7,0 +7,0 @@ export interface QueryFields { |
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
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
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
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
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
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
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