TenantAtlas/apps/platform/.pnpm-store/v10/files/11/1fa451ea9b3b73ca776878f684949d21bc7a6d182a4998916d6e3c3653e98a44c5b005de91e78bfdd7dbb7d8f22ebe55db651d519bcbba118c1a6de29ffe64
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02: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