@hazem3500/palette 0.9.120 → 0.9.121
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/NODE.md +12 -0
- package/README.md +1 -0
- package/dist/{account-tokens-ZXA2HQS4.js → account-tokens-W2SBGBUW.js} +1 -1
- package/dist/api.d.ts +2 -0
- package/dist/chunk-HC3P6VXJ.js +1 -0
- package/dist/chunk-HHUTDVTM.js +1 -0
- package/dist/index.js +1 -1
- package/dist/node.mjs +35 -5
- package/dist/{onboarding-6OSADOWE.js → onboarding-WNFR5RLQ.js} +1 -1
- package/dist/postgres/009_user_share_comments.sql +2 -0
- package/dist/react.js +1 -1
- package/dist/server.js +33 -4
- package/dist/setup.js +1 -1
- package/dist/types.d.ts +9 -0
- package/package.json +1 -1
- package/server/index.ts +42 -3
- package/server/migrations/0023_user_share_comments.sql +3 -0
- package/server/setup-client.txt +81 -72
- package/server/webhooks.ts +2 -0
- package/src/types.ts +7 -0
- package/dist/chunk-AAFGCZLH.js +0 -1
- package/dist/chunk-DU7H4TEX.js +0 -1
package/server/webhooks.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -356,6 +356,13 @@ export interface CommentsOptions {
|
|
|
356
356
|
* never captured, nor is anything inside an element with data-palette-no-snapshot (or the older data-komo-no-snapshot).
|
|
357
357
|
*/
|
|
358
358
|
snapshots?: PaletteSnapshots;
|
|
359
|
+
/**
|
|
360
|
+
* Let reviewers keep new comments out of an integration fed by the project's
|
|
361
|
+
* webhooks, e.g. { label: "Post to the GitHub PR" }. Shows an account default and
|
|
362
|
+
* a per-comment toggle; a comment kept in Palette is delivered with `share: false`.
|
|
363
|
+
* Needs a server that advertises `share` in /config. Off by default.
|
|
364
|
+
*/
|
|
365
|
+
share?: { label: string };
|
|
359
366
|
}
|
|
360
367
|
|
|
361
368
|
export interface CommentsController {
|