@get-bb/plugin-sdk 0.4.6 → 0.4.9
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/README.md +8 -0
- package/bundled-types/bb-plugin-sdk-app.d.ts +375 -112
- package/bundled-types/bb-plugin-sdk-host.d.ts +124 -0
- package/bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts +6 -1
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +154 -2
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +39 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +4042 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +4 -1
- package/bundled-types/bb-plugin-sdk-testing-host.d.ts +47 -0
- package/bundled-types/bb-plugin-sdk-testing.d.ts +19 -2
- package/bundled-types/bb-plugin-sdk.d.ts +6179 -5252
- package/dist/app.js +4 -0
- package/dist/host.js +13 -0
- package/dist/index.js +13 -1
- package/dist/internal/composer-customization-validation.js +9 -0
- package/dist/internal/host-policy.js +389 -18
- package/dist/internal/plugin-app-collector.js +555 -0
- package/dist/provider-bridge.js +6096 -0
- package/dist/testing/app.js +399 -257
- package/dist/testing/host.js +165 -0
- package/dist/testing/index.js +530 -27
- package/package.json +33 -4
package/README.md
CHANGED
|
@@ -21,6 +21,14 @@ Any mounted plugin component can use
|
|
|
21
21
|
same plugin's registered thread-panel actions; it returns false when the
|
|
22
22
|
current surface has no thread side panel.
|
|
23
23
|
|
|
24
|
+
Every panel-open entry point reports the same way: `openThreadPanel` and the
|
|
25
|
+
`openPanel` handed to `threadPanelAction`, `experimental_newThreadPanelAction`,
|
|
26
|
+
and `messageAction` `run` callbacks all return `boolean` — true when the host
|
|
27
|
+
accepted the open, false when it declined (non-JSON `params`, an unavailable
|
|
28
|
+
action id, or a surface with no side panel). A decline is a return value, never
|
|
29
|
+
a thrown error, so a plugin registering several kinds of action can share one
|
|
30
|
+
open routine and branch on the result.
|
|
31
|
+
|
|
24
32
|
See the
|
|
25
33
|
[`composer-customization` reference plugin](../../examples/plugins/composer-customization/README.md)
|
|
26
34
|
for every region in one small app. The deprecated pre-1.0
|