@siteping/server 0.2.3 → 0.2.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/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +16 -6
- package/dist/types.d.ts +16 -6
- package/package.json +3 -3
package/dist/types.d.cts
CHANGED
|
@@ -213,14 +213,24 @@ export interface SitepingBaseConfig {
|
|
|
213
213
|
*/
|
|
214
214
|
getPageScope?: (() => PageScope) | undefined;
|
|
215
215
|
/**
|
|
216
|
-
* When true (default), the widget
|
|
217
|
-
*
|
|
218
|
-
* leak to other pages
|
|
219
|
-
* Set to `false` for
|
|
220
|
-
*
|
|
221
|
-
*
|
|
216
|
+
* When true (default), the widget only shows the markers of feedback
|
|
217
|
+
* created on the current page (`feedback.url === scope.url`), so
|
|
218
|
+
* annotations never leak to other pages, even if their CSS selector
|
|
219
|
+
* happens to match there. Set to `false` for project-wide markers: a marker
|
|
220
|
+
* shows wherever its anchor resolves, for feedback on what every page
|
|
221
|
+
* shares, such as a header or a footer. The panel's list has a scope filter
|
|
222
|
+
* of its own: see `defaultPanelScope`.
|
|
222
223
|
*/
|
|
223
224
|
scopeAnnotationsByUrl?: boolean | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* The scope the panel's list opens on: `"page"` (default) lists the
|
|
227
|
+
* current page's feedback, `"all"` every feedback of the project, for
|
|
228
|
+
* reviewers who triage across the whole site. The reviewer can still
|
|
229
|
+
* switch, and their choice holds until the widget is destroyed. The
|
|
230
|
+
* markers on the page follow `scopeAnnotationsByUrl`, whatever the list
|
|
231
|
+
* shows.
|
|
232
|
+
*/
|
|
233
|
+
defaultPanelScope?: "page" | "all" | undefined;
|
|
224
234
|
/**
|
|
225
235
|
* Capture a JPEG screenshot of the annotated area on submit. Defaults to
|
|
226
236
|
* `false` — opt-in because:
|
package/dist/types.d.ts
CHANGED
|
@@ -213,14 +213,24 @@ export interface SitepingBaseConfig {
|
|
|
213
213
|
*/
|
|
214
214
|
getPageScope?: (() => PageScope) | undefined;
|
|
215
215
|
/**
|
|
216
|
-
* When true (default), the widget
|
|
217
|
-
*
|
|
218
|
-
* leak to other pages
|
|
219
|
-
* Set to `false` for
|
|
220
|
-
*
|
|
221
|
-
*
|
|
216
|
+
* When true (default), the widget only shows the markers of feedback
|
|
217
|
+
* created on the current page (`feedback.url === scope.url`), so
|
|
218
|
+
* annotations never leak to other pages, even if their CSS selector
|
|
219
|
+
* happens to match there. Set to `false` for project-wide markers: a marker
|
|
220
|
+
* shows wherever its anchor resolves, for feedback on what every page
|
|
221
|
+
* shares, such as a header or a footer. The panel's list has a scope filter
|
|
222
|
+
* of its own: see `defaultPanelScope`.
|
|
222
223
|
*/
|
|
223
224
|
scopeAnnotationsByUrl?: boolean | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* The scope the panel's list opens on: `"page"` (default) lists the
|
|
227
|
+
* current page's feedback, `"all"` every feedback of the project, for
|
|
228
|
+
* reviewers who triage across the whole site. The reviewer can still
|
|
229
|
+
* switch, and their choice holds until the widget is destroyed. The
|
|
230
|
+
* markers on the page follow `scopeAnnotationsByUrl`, whatever the list
|
|
231
|
+
* shows.
|
|
232
|
+
*/
|
|
233
|
+
defaultPanelScope?: "page" | "all" | undefined;
|
|
224
234
|
/**
|
|
225
235
|
* Capture a JPEG screenshot of the annotated area on submit. Defaults to
|
|
226
236
|
* `false` — opt-in because:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siteping/server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Store- and framework-agnostic HTTP handler for Siteping — any SitepingStore behind one Fetch API endpoint",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@siteping/adapter-memory": "workspace:*",
|
|
64
64
|
"@siteping/core": "workspace:*",
|
|
65
|
-
"better-auth": "^1.7.
|
|
66
|
-
"jose": "^6.2.
|
|
65
|
+
"better-auth": "^1.7.17",
|
|
66
|
+
"jose": "^6.2.15"
|
|
67
67
|
}
|
|
68
68
|
}
|