@surveilr/bootstrap-sql 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +19165 -5
- package/dist/index.d.ts +19165 -5
- package/dist/index.js +2022 -113
- package/dist/views.js +799 -43
- package/package.json +15 -3
- package/dist/chunk-QTY32BJY.js +0 -844
package/dist/index.cjs
CHANGED
|
@@ -188,7 +188,7 @@ __export(index_exports, {
|
|
|
188
188
|
});
|
|
189
189
|
module.exports = __toCommonJS(index_exports);
|
|
190
190
|
|
|
191
|
-
// models.ts
|
|
191
|
+
// ../../drizzle/models.ts
|
|
192
192
|
var import_sqlite_core = require("drizzle-orm/sqlite-core");
|
|
193
193
|
var import_drizzle_orm = require("drizzle-orm");
|
|
194
194
|
var timestamptz = (0, import_sqlite_core.customType)({
|
|
@@ -1421,7 +1421,7 @@ var surveilrFunctionDoc = (0, import_sqlite_core.sqliteTable)("surveilr_function
|
|
|
1421
1421
|
checkJSON(table2.parameters)
|
|
1422
1422
|
]);
|
|
1423
1423
|
|
|
1424
|
-
// views.ts
|
|
1424
|
+
// ../../drizzle/views.ts
|
|
1425
1425
|
var import_sqlite_core2 = require("drizzle-orm/sqlite-core");
|
|
1426
1426
|
var import_drizzle_orm2 = require("drizzle-orm");
|
|
1427
1427
|
var codeNotebookCellVersions = (0, import_sqlite_core2.sqliteView)("code_notebook_cell_versions").as((qb) => {
|
|
@@ -2199,7 +2199,7 @@ GROUP BY sc.oid, sc.oid_type
|
|
|
2199
2199
|
HAVING COUNT(*) > 0
|
|
2200
2200
|
ORDER BY total_collections DESC, devices_collecting DESC`);
|
|
2201
2201
|
|
|
2202
|
-
// relations.ts
|
|
2202
|
+
// ../../drizzle/relations.ts
|
|
2203
2203
|
var import_relations = require("drizzle-orm/relations");
|
|
2204
2204
|
var codeNotebookCellRelations = (0, import_relations.relations)(codeNotebookCell, ({ one, many }) => ({
|
|
2205
2205
|
codeNotebookKernel: one(codeNotebookKernel, {
|