@pikku/kysely-sqlite 0.12.3 → 0.12.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/CHANGELOG.md +6 -0
- package/{src/index.ts → dist/index.d.ts} +12 -14
- package/dist/index.js +19 -0
- package/dist/sqlite-kysely-agent-run-service.d.ts +3 -0
- package/dist/sqlite-kysely-agent-run-service.js +27 -0
- package/dist/sqlite-kysely-ai-storage-service.d.ts +3 -0
- package/dist/sqlite-kysely-ai-storage-service.js +27 -0
- package/dist/sqlite-kysely-channel-store.d.ts +3 -0
- package/dist/sqlite-kysely-channel-store.js +27 -0
- package/dist/sqlite-kysely-deployment-service.d.ts +3 -0
- package/dist/sqlite-kysely-deployment-service.js +27 -0
- package/dist/sqlite-kysely-eventhub-store.d.ts +3 -0
- package/dist/sqlite-kysely-eventhub-store.js +27 -0
- package/dist/sqlite-kysely-secret-service.d.ts +3 -0
- package/dist/sqlite-kysely-secret-service.js +27 -0
- package/dist/sqlite-kysely-workflow-run-service.d.ts +3 -0
- package/dist/sqlite-kysely-workflow-run-service.js +27 -0
- package/dist/sqlite-kysely-workflow-service.d.ts +3 -0
- package/dist/sqlite-kysely-workflow-service.js +27 -0
- package/package.json +3 -3
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/src/create-sqlite-kysely.ts +0 -12
- package/src/sqlite-kysely-agent-run-service.ts +0 -3
- package/src/sqlite-kysely-ai-storage-service.ts +0 -3
- package/src/sqlite-kysely-channel-store.ts +0 -3
- package/src/sqlite-kysely-deployment-service.ts +0 -3
- package/src/sqlite-kysely-eventhub-store.ts +0 -3
- package/src/sqlite-kysely-secret-service.ts +0 -3
- package/src/sqlite-kysely-workflow-run-service.ts +0 -3
- package/src/sqlite-kysely-workflow-service.ts +0 -3
- package/tsconfig.json +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
export type {
|
|
12
|
-
export type {
|
|
13
|
-
export type { WorkflowRunService } from '@pikku/core/workflow'
|
|
14
|
-
export type { AgentRunService, AgentRunRow } from '@pikku/core/ai-agent'
|
|
1
|
+
export { SQLiteKyselyWorkflowService } from './sqlite-kysely-workflow-service.js';
|
|
2
|
+
export { SQLiteKyselyDeploymentService } from './sqlite-kysely-deployment-service.js';
|
|
3
|
+
export { SQLiteKyselyAIStorageService } from './sqlite-kysely-ai-storage-service.js';
|
|
4
|
+
export { SQLiteKyselyAgentRunService } from './sqlite-kysely-agent-run-service.js';
|
|
5
|
+
export { SQLiteKyselyWorkflowRunService } from './sqlite-kysely-workflow-run-service.js';
|
|
6
|
+
export { SQLiteKyselyChannelStore } from './sqlite-kysely-channel-store.js';
|
|
7
|
+
export { SQLiteKyselyEventHubStore } from './sqlite-kysely-eventhub-store.js';
|
|
8
|
+
export { SQLiteKyselySecretService } from './sqlite-kysely-secret-service.js';
|
|
9
|
+
export type { KyselyPikkuDB } from '@pikku/kysely';
|
|
10
|
+
export type { KyselySecretServiceConfig } from '@pikku/kysely';
|
|
11
|
+
export type { WorkflowRunService } from '@pikku/core/workflow';
|
|
12
|
+
export type { AgentRunService, AgentRunRow } from '@pikku/core/ai-agent';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SQLiteKyselySecretService = exports.SQLiteKyselyEventHubStore = exports.SQLiteKyselyChannelStore = exports.SQLiteKyselyWorkflowRunService = exports.SQLiteKyselyAgentRunService = exports.SQLiteKyselyAIStorageService = exports.SQLiteKyselyDeploymentService = exports.SQLiteKyselyWorkflowService = void 0;
|
|
4
|
+
var sqlite_kysely_workflow_service_js_1 = require("./sqlite-kysely-workflow-service.js");
|
|
5
|
+
Object.defineProperty(exports, "SQLiteKyselyWorkflowService", { enumerable: true, get: function () { return sqlite_kysely_workflow_service_js_1.SQLiteKyselyWorkflowService; } });
|
|
6
|
+
var sqlite_kysely_deployment_service_js_1 = require("./sqlite-kysely-deployment-service.js");
|
|
7
|
+
Object.defineProperty(exports, "SQLiteKyselyDeploymentService", { enumerable: true, get: function () { return sqlite_kysely_deployment_service_js_1.SQLiteKyselyDeploymentService; } });
|
|
8
|
+
var sqlite_kysely_ai_storage_service_js_1 = require("./sqlite-kysely-ai-storage-service.js");
|
|
9
|
+
Object.defineProperty(exports, "SQLiteKyselyAIStorageService", { enumerable: true, get: function () { return sqlite_kysely_ai_storage_service_js_1.SQLiteKyselyAIStorageService; } });
|
|
10
|
+
var sqlite_kysely_agent_run_service_js_1 = require("./sqlite-kysely-agent-run-service.js");
|
|
11
|
+
Object.defineProperty(exports, "SQLiteKyselyAgentRunService", { enumerable: true, get: function () { return sqlite_kysely_agent_run_service_js_1.SQLiteKyselyAgentRunService; } });
|
|
12
|
+
var sqlite_kysely_workflow_run_service_js_1 = require("./sqlite-kysely-workflow-run-service.js");
|
|
13
|
+
Object.defineProperty(exports, "SQLiteKyselyWorkflowRunService", { enumerable: true, get: function () { return sqlite_kysely_workflow_run_service_js_1.SQLiteKyselyWorkflowRunService; } });
|
|
14
|
+
var sqlite_kysely_channel_store_js_1 = require("./sqlite-kysely-channel-store.js");
|
|
15
|
+
Object.defineProperty(exports, "SQLiteKyselyChannelStore", { enumerable: true, get: function () { return sqlite_kysely_channel_store_js_1.SQLiteKyselyChannelStore; } });
|
|
16
|
+
var sqlite_kysely_eventhub_store_js_1 = require("./sqlite-kysely-eventhub-store.js");
|
|
17
|
+
Object.defineProperty(exports, "SQLiteKyselyEventHubStore", { enumerable: true, get: function () { return sqlite_kysely_eventhub_store_js_1.SQLiteKyselyEventHubStore; } });
|
|
18
|
+
var sqlite_kysely_secret_service_js_1 = require("./sqlite-kysely-secret-service.js");
|
|
19
|
+
Object.defineProperty(exports, "SQLiteKyselySecretService", { enumerable: true, get: function () { return sqlite_kysely_secret_service_js_1.SQLiteKyselySecretService; } });
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyAgentRunService = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyAgentRunService = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyAgentRunService, _super);
|
|
22
|
+
function SQLiteKyselyAgentRunService() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyAgentRunService;
|
|
26
|
+
}(kysely_1.KyselyAgentRunService));
|
|
27
|
+
exports.SQLiteKyselyAgentRunService = SQLiteKyselyAgentRunService;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyAIStorageService = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyAIStorageService = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyAIStorageService, _super);
|
|
22
|
+
function SQLiteKyselyAIStorageService() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyAIStorageService;
|
|
26
|
+
}(kysely_1.KyselyAIStorageService));
|
|
27
|
+
exports.SQLiteKyselyAIStorageService = SQLiteKyselyAIStorageService;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyChannelStore = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyChannelStore = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyChannelStore, _super);
|
|
22
|
+
function SQLiteKyselyChannelStore() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyChannelStore;
|
|
26
|
+
}(kysely_1.KyselyChannelStore));
|
|
27
|
+
exports.SQLiteKyselyChannelStore = SQLiteKyselyChannelStore;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyDeploymentService = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyDeploymentService = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyDeploymentService, _super);
|
|
22
|
+
function SQLiteKyselyDeploymentService() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyDeploymentService;
|
|
26
|
+
}(kysely_1.KyselyDeploymentService));
|
|
27
|
+
exports.SQLiteKyselyDeploymentService = SQLiteKyselyDeploymentService;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyEventHubStore = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyEventHubStore = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyEventHubStore, _super);
|
|
22
|
+
function SQLiteKyselyEventHubStore() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyEventHubStore;
|
|
26
|
+
}(kysely_1.KyselyEventHubStore));
|
|
27
|
+
exports.SQLiteKyselyEventHubStore = SQLiteKyselyEventHubStore;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselySecretService = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselySecretService = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselySecretService, _super);
|
|
22
|
+
function SQLiteKyselySecretService() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselySecretService;
|
|
26
|
+
}(kysely_1.KyselySecretService));
|
|
27
|
+
exports.SQLiteKyselySecretService = SQLiteKyselySecretService;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyWorkflowRunService = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyWorkflowRunService = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyWorkflowRunService, _super);
|
|
22
|
+
function SQLiteKyselyWorkflowRunService() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyWorkflowRunService;
|
|
26
|
+
}(kysely_1.KyselyWorkflowRunService));
|
|
27
|
+
exports.SQLiteKyselyWorkflowRunService = SQLiteKyselyWorkflowRunService;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.SQLiteKyselyWorkflowService = void 0;
|
|
19
|
+
var kysely_1 = require("@pikku/kysely");
|
|
20
|
+
var SQLiteKyselyWorkflowService = /** @class */ (function (_super) {
|
|
21
|
+
__extends(SQLiteKyselyWorkflowService, _super);
|
|
22
|
+
function SQLiteKyselyWorkflowService() {
|
|
23
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
|
+
}
|
|
25
|
+
return SQLiteKyselyWorkflowService;
|
|
26
|
+
}(kysely_1.KyselyWorkflowService));
|
|
27
|
+
exports.SQLiteKyselyWorkflowService = SQLiteKyselyWorkflowService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/kysely-sqlite",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"author": "yasser.fadl@gmail.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "dist/src/index.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"build": "tsc -b"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@pikku/core": "
|
|
16
|
-
"@pikku/kysely": "
|
|
15
|
+
"@pikku/core": "^0.12.0",
|
|
16
|
+
"@pikku/kysely": "^0.12.0",
|
|
17
17
|
"kysely": "^0.28.11",
|
|
18
18
|
"kysely-plugin-serialize": "^0.8.2"
|
|
19
19
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["../src/create-sqlite-kysely.ts","../src/index.ts","../src/sqlite-kysely-agent-run-service.ts","../src/sqlite-kysely-ai-storage-service.ts","../src/sqlite-kysely-channel-store.ts","../src/sqlite-kysely-deployment-service.ts","../src/sqlite-kysely-eventhub-store.ts","../src/sqlite-kysely-secret-service.ts","../src/sqlite-kysely-workflow-run-service.ts","../src/sqlite-kysely-workflow-service.ts"],"version":"5.9.3"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Kysely, SqliteDialect, type SqliteDatabase } from 'kysely'
|
|
2
|
-
import { SerializePlugin } from 'kysely-plugin-serialize'
|
|
3
|
-
import type { KyselyPikkuDB } from '@pikku/kysely'
|
|
4
|
-
|
|
5
|
-
export function createSQLiteKysely(
|
|
6
|
-
database: SqliteDatabase | (() => Promise<SqliteDatabase>)
|
|
7
|
-
): Kysely<KyselyPikkuDB> {
|
|
8
|
-
return new Kysely<KyselyPikkuDB>({
|
|
9
|
-
dialect: new SqliteDialect({ database }),
|
|
10
|
-
plugins: [new SerializePlugin()],
|
|
11
|
-
})
|
|
12
|
-
}
|
package/tsconfig.json
DELETED