@pikku/kysely 0.13.37 → 0.13.38
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
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 0.13.38
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- de9af6a: RPCs for Pikku Studio's migrated screens. Runtime state that must be visible on a deployed app lives in `@pikku/addon-admin`; local-copy tools stay in `@pikku/addon-console`.
|
|
6
|
+
|
|
7
|
+
`@pikku/addon-admin`:
|
|
8
|
+
|
|
9
|
+
- `admin:getSchedulerHistory` returns each scheduled task's last run, next run and recent runs, from a new `SchedulerService.getTaskRuns()` (empty by default). `InMemorySchedulerService` records the last 50 runs per cron task with status, duration and error. Scope `admin:schedules:read`.
|
|
10
|
+
- `admin:getQueueHistory({ queueNames?, limit? })` returns live counts and recent jobs per queue, from a new optional `QueueService.inspect(queueName, { limit })`, implemented by `InMemoryQueueService` and `BullQueueService` and forwarded by `SignedQueueService`. Scope `admin:queues:read`.
|
|
11
|
+
- `admin:listIncomingWebhookReceipts` / `admin:getIncomingWebhookReceipt` expose received webhooks, backed by a new `IncomingWebhookService.getReceipt(receiptId)` (null by default; implemented by `KyselyIncomingWebhookService`). Scope `admin:webhooks:read`.
|
|
12
|
+
|
|
13
|
+
`@pikku/addon-console`:
|
|
14
|
+
|
|
15
|
+
- `console:variableGet` / `console:variableSet` read and write a project variable, gated on `pikku:console:variables:read` / `:write`.
|
|
16
|
+
- `console:runScenarios({ names?, environment? })` starts `pikku scenario run` as a detached child process and returns `{ runId }` to follow through `listScenarioRuns` / `getScenarioRun`, gated on the new `pikku:console:scenarios:run` scope. `pikku scenario run` takes `--run-id <id>` to record under a caller-chosen id.
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [de9af6a]
|
|
19
|
+
- @pikku/core@0.12.143
|
|
20
|
+
|
|
1
21
|
## 0.13.37
|
|
2
22
|
|
|
3
23
|
### Patch Changes
|
|
@@ -91,4 +91,12 @@ export class KyselyIncomingWebhookService extends IncomingWebhookService {
|
|
|
91
91
|
}
|
|
92
92
|
return query.execute();
|
|
93
93
|
}
|
|
94
|
+
async getReceipt(receiptId) {
|
|
95
|
+
const receipt = await this.db
|
|
96
|
+
.selectFrom('webhookReceipt')
|
|
97
|
+
.selectAll()
|
|
98
|
+
.where('receiptId', '=', receiptId)
|
|
99
|
+
.executeTakeFirst();
|
|
100
|
+
return receipt ?? null;
|
|
101
|
+
}
|
|
94
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/kysely",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.38",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/pikkujs/pikku.git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"prepublishOnly": "bun run build"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@pikku/core": "^0.12.
|
|
30
|
+
"@pikku/core": "^0.12.143"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"kysely": "^0.29.5"
|