Files
klz-cables.com/.pnpm-store/v10/files/f0/592afaf945035cc48c67389503ee68fc912f6347f2d42dbe5f89ac99a019fbed1210a81c664a2d9a3495c4d33fef4d63b0390291dea8ad0b88f1f71e3c32d6
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

23 lines
737 B
Plaintext

import { entityKind } from "../../entity.js";
import { sql } from "../../sql/sql.js";
import { SingleStoreColumn, SingleStoreColumnBuilder } from "./common.js";
class SingleStoreDateColumnBaseBuilder extends SingleStoreColumnBuilder {
static [entityKind] = "SingleStoreDateColumnBuilder";
defaultNow() {
return this.default(sql`now()`);
}
onUpdateNow() {
this.config.hasOnUpdateNow = true;
this.config.hasDefault = true;
return this;
}
}
class SingleStoreDateBaseColumn extends SingleStoreColumn {
static [entityKind] = "SingleStoreDateColumn";
hasOnUpdateNow = this.config.hasOnUpdateNow;
}
export {
SingleStoreDateBaseColumn,
SingleStoreDateColumnBaseBuilder
};
//# sourceMappingURL=date.common.js.map