Files
klz-cables.com/.pnpm-store/v10/files/48/4f2252f1373de5b08bc45073bf2dae1b2600c0b2d20c31c5d1760b1116691375f656b49837ab0a915f43df1063e786b07f6397bbc9d6e8404b7f2c464830c6
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

41 lines
2.2 KiB
Plaintext

import type { ColumnBuilderBaseConfig } from "../../column-builder.js";
import type { ColumnBaseConfig } from "../../column.js";
import { entityKind } from "../../entity.js";
import { type Writable } from "../../utils.js";
import { SingleStoreColumn, SingleStoreColumnBuilder } from "./common.js";
export type SingleStoreCharBuilderInitial<TName extends string, TEnum extends [string, ...string[]], TLength extends number | undefined> = SingleStoreCharBuilder<{
name: TName;
dataType: 'string';
columnType: 'SingleStoreChar';
data: TEnum[number];
driverParam: number | string;
enumValues: TEnum;
generated: undefined;
length: TLength;
}>;
export declare class SingleStoreCharBuilder<T extends ColumnBuilderBaseConfig<'string', 'SingleStoreChar'> & {
length?: number | undefined;
}> extends SingleStoreColumnBuilder<T, SingleStoreCharConfig<T['enumValues'], T['length']>, {
length: T['length'];
}> {
static readonly [entityKind]: string;
constructor(name: T['name'], config: SingleStoreCharConfig<T['enumValues'], T['length']>);
}
export declare class SingleStoreChar<T extends ColumnBaseConfig<'string', 'SingleStoreChar'> & {
length?: number | undefined;
}> extends SingleStoreColumn<T, SingleStoreCharConfig<T['enumValues'], T['length']>, {
length: T['length'];
}> {
static readonly [entityKind]: string;
readonly length: T['length'];
readonly enumValues: T["enumValues"] | undefined;
getSQLType(): string;
}
export interface SingleStoreCharConfig<TEnum extends readonly string[] | string[] | undefined = readonly string[] | string[] | undefined, TLength extends number | undefined = number | undefined> {
enum?: TEnum;
length?: TLength;
}
export declare function char(): SingleStoreCharBuilderInitial<'', [string, ...string[]], undefined>;
export declare function char<U extends string, T extends Readonly<[U, ...U[]]>, L extends number | undefined>(config?: SingleStoreCharConfig<T | Writable<T>, L>): SingleStoreCharBuilderInitial<'', Writable<T>, L>;
export declare function char<TName extends string, U extends string, T extends Readonly<[U, ...U[]]>, L extends number | undefined>(name: TName, config?: SingleStoreCharConfig<T | Writable<T>, L>): SingleStoreCharBuilderInitial<TName, Writable<T>, L>;