the-moby-effect
Version:
Moby/Docker API client built using effect-ts
62 lines • 2.33 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
import * as Platform from "./Platform.generated.js";
declare const Descriptor_base: Schema.Class<Descriptor, {
mediaType: typeof Schema.String;
/** https://github.com/opencontainers/go-digest/blob/22b78e47854adc56477927aba5f4c930b56af8c9/digest.go#L65 */
digest: Schema.filter<typeof Schema.String>;
size: MobySchemas.Int64Schemas.$Int64;
urls: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
nullable: true;
}>;
annotations: Schema.optionalWith<Schema.Record$<typeof Schema.String, typeof Schema.String>, {
nullable: true;
}>;
data: Schema.optionalWith<Schema.Array$<MobySchemas.UInt8Schemas.$UInt8>, {
nullable: true;
}>;
platform: Schema.optionalWith<typeof Platform.Platform, {
nullable: true;
}>;
artifactType: Schema.optional<typeof Schema.String>;
}, Schema.Struct.Encoded<{
mediaType: typeof Schema.String;
/** https://github.com/opencontainers/go-digest/blob/22b78e47854adc56477927aba5f4c930b56af8c9/digest.go#L65 */
digest: Schema.filter<typeof Schema.String>;
size: MobySchemas.Int64Schemas.$Int64;
urls: Schema.optionalWith<Schema.Array$<typeof Schema.String>, {
nullable: true;
}>;
annotations: Schema.optionalWith<Schema.Record$<typeof Schema.String, typeof Schema.String>, {
nullable: true;
}>;
data: Schema.optionalWith<Schema.Array$<MobySchemas.UInt8Schemas.$UInt8>, {
nullable: true;
}>;
platform: Schema.optionalWith<typeof Platform.Platform, {
nullable: true;
}>;
artifactType: Schema.optional<typeof Schema.String>;
}>, never, {
readonly annotations?: {
readonly [x: string]: string;
} | undefined;
} & {
readonly size: MobySchemas.Int64Schemas.Int64Brand;
} & {
readonly mediaType: string;
} & {
readonly digest: string;
} & {
readonly urls?: readonly string[] | undefined;
} & {
readonly data?: readonly MobySchemas.UInt8Schemas.UInt8Brand[] | undefined;
} & {
readonly platform?: Platform.Platform | undefined;
} & {
readonly artifactType?: string | undefined;
}, {}, {}>;
export declare class Descriptor extends Descriptor_base {
}
export {};
//# sourceMappingURL=Descriptor.generated.d.ts.map