@voltro/plugin-webhooks 0.81.0 → 0.83.0
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 +1806 -6
- package/THIRD-PARTY-NOTICES.md +1 -1
- package/dist/index.d.ts +13 -0
- package/dist/index.js +228 -221
- package/package.json +7 -7
package/THIRD-PARTY-NOTICES.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { EventDescriptor } from '@voltro/protocol';
|
|
|
8
8
|
import { EventWebhookSpec } from '@voltro/protocol';
|
|
9
9
|
import { FieldDefinitions } from '@voltro/database';
|
|
10
10
|
import { OutboxHandlerDefinition } from '@voltro/runtime';
|
|
11
|
+
import { PluginEgressDeclaration } from '@voltro/protocol';
|
|
11
12
|
import { PluginPermission } from '@voltro/protocol';
|
|
12
13
|
import { Schema } from 'effect';
|
|
13
14
|
import { Table } from '@voltro/database';
|
|
@@ -1105,6 +1106,10 @@ export declare interface TargetSummary {
|
|
|
1105
1106
|
/** The app's own scoping dimension as written at subscribe time, verbatim.
|
|
1106
1107
|
* `null` when the app stored none. */
|
|
1107
1108
|
readonly scope: Readonly<Record<string, unknown>> | null;
|
|
1109
|
+
/** What this target receives: the filter given at subscribe time (paths into
|
|
1110
|
+
* `{ payload }` → expected value), verbatim; `null` when it receives every
|
|
1111
|
+
* emit of its event. */
|
|
1112
|
+
readonly filter: Readonly<Record<string, unknown>> | null;
|
|
1108
1113
|
readonly event: string;
|
|
1109
1114
|
readonly url: string;
|
|
1110
1115
|
readonly active: boolean;
|
|
@@ -1585,6 +1590,14 @@ export declare interface WebhookProviderDescriptor {
|
|
|
1585
1590
|
readonly eventTypeFrom?: (body: unknown) => string | undefined;
|
|
1586
1591
|
}
|
|
1587
1592
|
|
|
1593
|
+
/**
|
|
1594
|
+
* Where webhook delivery sends data: every target a subscriber registered, so
|
|
1595
|
+
* the destination is data, not configuration. `voltro compliance generate`
|
|
1596
|
+
* lists it in `egress.json` whenever the app emits webhooks — with this entry
|
|
1597
|
+
* installed or not, since delivery is wired by file discovery.
|
|
1598
|
+
*/
|
|
1599
|
+
export declare const WEBHOOKS_EGRESS: ReadonlyArray<PluginEgressDeclaration>;
|
|
1600
|
+
|
|
1588
1601
|
/**
|
|
1589
1602
|
* The permissions webhook delivery declares.
|
|
1590
1603
|
*
|