UNPKG

the-moby-effect

Version:
73 lines 2.6 kB
import * as Schema from "effect/Schema"; import * as MobySchemas from "../schemas/index.js"; import * as JSONError from "./JSONError.generated.js"; import * as JSONProgress from "./JSONProgress.generated.js"; declare const JSONMessage_base: Schema.Class<JSONMessage, { stream: Schema.optional<typeof Schema.String>; status: Schema.optional<typeof Schema.String>; progressDetail: Schema.optionalWith<typeof JSONProgress.JSONProgress, { nullable: true; }>; progress: Schema.optional<typeof Schema.String>; id: Schema.optional<typeof Schema.String>; from: Schema.optional<typeof Schema.String>; time: Schema.optional<MobySchemas.Int64Schemas.$Int64>; timeNano: Schema.optional<MobySchemas.Int64Schemas.$Int64>; errorDetail: Schema.optionalWith<typeof JSONError.JSONError, { nullable: true; }>; error: Schema.optional<typeof Schema.String>; aux: Schema.optionalWith<Schema.Struct<{ ID: typeof Schema.String; }>, { nullable: true; }>; }, Schema.Struct.Encoded<{ stream: Schema.optional<typeof Schema.String>; status: Schema.optional<typeof Schema.String>; progressDetail: Schema.optionalWith<typeof JSONProgress.JSONProgress, { nullable: true; }>; progress: Schema.optional<typeof Schema.String>; id: Schema.optional<typeof Schema.String>; from: Schema.optional<typeof Schema.String>; time: Schema.optional<MobySchemas.Int64Schemas.$Int64>; timeNano: Schema.optional<MobySchemas.Int64Schemas.$Int64>; errorDetail: Schema.optionalWith<typeof JSONError.JSONError, { nullable: true; }>; error: Schema.optional<typeof Schema.String>; aux: Schema.optionalWith<Schema.Struct<{ ID: typeof Schema.String; }>, { nullable: true; }>; }>, never, { readonly from?: string | undefined; } & { readonly id?: string | undefined; } & { readonly status?: string | undefined; } & { readonly time?: MobySchemas.Int64Schemas.Int64Brand | undefined; } & { readonly timeNano?: MobySchemas.Int64Schemas.Int64Brand | undefined; } & { readonly stream?: string | undefined; } & { readonly progressDetail?: JSONProgress.JSONProgress | undefined; } & { readonly progress?: string | undefined; } & { readonly errorDetail?: JSONError.JSONError | undefined; } & { readonly error?: string | undefined; } & { readonly aux?: { readonly ID: string; } | undefined; }, {}, {}>; export declare class JSONMessage extends JSONMessage_base { } export {}; //# sourceMappingURL=JSONMessage.generated.d.ts.map