Files
klz-cables.com/.pnpm-store/v10/files/11/1fa451ea9b3b73ca776878f684949d21bc7a6d182a4998916d6e3c3653e98a44c5b005de91e78bfdd7dbb7d8f22ebe55db651d519bcbba118c1a6de29ffe64
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

29 lines
848 B
Plaintext

import { entityKind, is } from "../entity.js";
import { singlestoreTableWithSchema } from "./table.js";
class SingleStoreSchema {
constructor(schemaName) {
this.schemaName = schemaName;
}
static [entityKind] = "SingleStoreSchema";
table = (name, columns, extraConfig) => {
return singlestoreTableWithSchema(name, columns, extraConfig, this.schemaName);
};
/*
view = ((name, columns) => {
return singlestoreViewWithSchema(name, columns, this.schemaName);
}) as typeof singlestoreView; */
}
function isSingleStoreSchema(obj) {
return is(obj, SingleStoreSchema);
}
function singlestoreDatabase(name) {
return new SingleStoreSchema(name);
}
const singlestoreSchema = singlestoreDatabase;
export {
SingleStoreSchema,
isSingleStoreSchema,
singlestoreDatabase,
singlestoreSchema
};
//# sourceMappingURL=schema.js.map