Files
klz-cables.com/.pnpm-store/v10/files/47/f721d8be6953a9712564d7ae1486b81072aaf100c986bfae210518fb3055d602d761f23d45bc0938fb30287d4ada624bcd3795a823c7e3dede84955b77bccc
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

43 lines
1.1 KiB
Plaintext

import { entityKind } from "../../entity.js";
import { PgColumnBuilder } from "./common.js";
class PgIntColumnBaseBuilder extends PgColumnBuilder {
static [entityKind] = "PgIntColumnBaseBuilder";
generatedAlwaysAsIdentity(sequence) {
if (sequence) {
const { name, ...options } = sequence;
this.config.generatedIdentity = {
type: "always",
sequenceName: name,
sequenceOptions: options
};
} else {
this.config.generatedIdentity = {
type: "always"
};
}
this.config.hasDefault = true;
this.config.notNull = true;
return this;
}
generatedByDefaultAsIdentity(sequence) {
if (sequence) {
const { name, ...options } = sequence;
this.config.generatedIdentity = {
type: "byDefault",
sequenceName: name,
sequenceOptions: options
};
} else {
this.config.generatedIdentity = {
type: "byDefault"
};
}
this.config.hasDefault = true;
this.config.notNull = true;
return this;
}
}
export {
PgIntColumnBaseBuilder
};
//# sourceMappingURL=int.common.js.map