@paroicms/server-image-cache-engine
Version:
The image variant engine that we use at Paroi.
61 lines • 1.85 kB
TypeScript
import type { ImageVariant } from "../engine-types.js";
export declare const ImageVariantRowAT: import("arktype/internal/variants/object.ts").ObjectType<(In: {
id: number;
mediaType: string;
resourceVersion: string;
rawWidth: number;
rawHeight: number;
slug: string | null;
mediaId: string;
}) => import("arktype").Out<{
imageCacheId: string;
variant: ImageVariant;
}>, {}>;
export declare const BatchStoredCacheItemRowAT: import("arktype/internal/variants/object.ts").ObjectType<(In: {
id: number;
mediaType: string;
resourceVersion: string;
rawWidth: number;
rawHeight: number;
slug: string | null;
mediaId: string;
ownerHandle: string | null;
}) => import("arktype").Out<{
ownerHandle: string | undefined;
imageCacheId: string;
variant: ImageVariant;
}>, {}>;
export declare const ImageVariantWithBinaryRowAT: import("arktype/internal/variants/object.ts").ObjectType<(In: {
id: number;
mediaType: string;
resourceVersion: string;
rawWidth: number;
rawHeight: number;
slug: string | null;
mediaId: string;
modifiedAt: string | number | Date;
weightB: number;
}) => import("arktype").Out<{
modifiedAt: Date;
weightB: number;
imageCacheId: string;
variant: ImageVariant;
}>, {}>;
export declare const ImageVariantWithBinaryByOwnerRowAT: import("arktype/internal/variants/object.ts").ObjectType<(In: {
id: number;
mediaType: string;
resourceVersion: string;
rawWidth: number;
rawHeight: number;
slug: string | null;
modifiedAt: string | number | Date;
weightB: number;
mediaId: string;
}) => import("arktype").Out<{
mediaId: string;
modifiedAt: Date;
weightB: number;
imageCacheId: string;
variant: ImageVariant;
}>, {}>;
//# sourceMappingURL=queries-at.d.ts.map