ontrackd 0.0.1 → 0.11.1
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/LICENSE +14 -0
- package/README.md +133 -2
- package/dist/cli/build.d.ts +1 -0
- package/dist/cli/build.js +172 -0
- package/dist/cli/build.js.map +1 -0
- package/dist/cli/cloud.d.ts +20 -0
- package/dist/cli/cloud.js +395 -0
- package/dist/cli/cloud.js.map +1 -0
- package/dist/cli/feedback.d.ts +4 -0
- package/dist/cli/feedback.js +90 -0
- package/dist/cli/feedback.js.map +1 -0
- package/dist/cli/hugo.d.ts +1 -0
- package/dist/cli/hugo.js +396 -0
- package/dist/cli/hugo.js.map +1 -0
- package/dist/cli/init.d.ts +8 -0
- package/dist/cli/init.js +346 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/invite.d.ts +2 -0
- package/dist/cli/invite.js +65 -0
- package/dist/cli/invite.js.map +1 -0
- package/dist/cli/link.d.ts +20 -0
- package/dist/cli/link.js +287 -0
- package/dist/cli/link.js.map +1 -0
- package/dist/cli/pull.d.ts +31 -0
- package/dist/cli/pull.js +273 -0
- package/dist/cli/pull.js.map +1 -0
- package/dist/cli/push.d.ts +9 -0
- package/dist/cli/push.js +57 -0
- package/dist/cli/push.js.map +1 -0
- package/dist/cli/remote.d.ts +1 -0
- package/dist/cli/remote.js +114 -0
- package/dist/cli/remote.js.map +1 -0
- package/dist/cli/serve.d.ts +1 -0
- package/dist/cli/serve.js +178 -0
- package/dist/cli/serve.js.map +1 -0
- package/dist/cli/sidecar.d.ts +9 -0
- package/dist/cli/sidecar.js +23 -0
- package/dist/cli/sidecar.js.map +1 -0
- package/dist/core/anchorId.d.ts +42 -0
- package/dist/core/anchorId.js +50 -0
- package/dist/core/anchorId.js.map +1 -0
- package/dist/core/apiKind.d.ts +42 -0
- package/dist/core/apiKind.js +83 -0
- package/dist/core/apiKind.js.map +1 -0
- package/dist/core/astroAnchors.d.ts +39 -0
- package/dist/core/astroAnchors.js +217 -0
- package/dist/core/astroAnchors.js.map +1 -0
- package/dist/core/attachmentTypes.d.ts +74 -0
- package/dist/core/attachmentTypes.js +199 -0
- package/dist/core/attachmentTypes.js.map +1 -0
- package/dist/core/elementHints.d.ts +40 -0
- package/dist/core/elementHints.js +116 -0
- package/dist/core/elementHints.js.map +1 -0
- package/dist/core/exportTaskDoc.d.ts +81 -0
- package/dist/core/exportTaskDoc.js +828 -0
- package/dist/core/exportTaskDoc.js.map +1 -0
- package/dist/core/feedbackTypes.d.ts +241 -0
- package/dist/core/feedbackTypes.js +2 -0
- package/dist/core/feedbackTypes.js.map +1 -0
- package/dist/core/fingerprint.d.ts +12 -0
- package/dist/core/fingerprint.js +24 -0
- package/dist/core/fingerprint.js.map +1 -0
- package/dist/core/htmlAnchors.d.ts +18 -0
- package/dist/core/htmlAnchors.js +157 -0
- package/dist/core/htmlAnchors.js.map +1 -0
- package/dist/core/imageSniff.d.ts +7 -0
- package/dist/core/imageSniff.js +12 -0
- package/dist/core/imageSniff.js.map +1 -0
- package/dist/core/ordering.d.ts +16 -0
- package/dist/core/ordering.js +10 -0
- package/dist/core/ordering.js.map +1 -0
- package/dist/core/oxcAst.d.ts +39 -0
- package/dist/core/oxcAst.js +147 -0
- package/dist/core/oxcAst.js.map +1 -0
- package/dist/core/pageUrl.d.ts +10 -0
- package/dist/core/pageUrl.js +27 -0
- package/dist/core/pageUrl.js.map +1 -0
- package/dist/core/participants.d.ts +14 -0
- package/dist/core/participants.js +38 -0
- package/dist/core/participants.js.map +1 -0
- package/dist/core/ports.d.ts +86 -0
- package/dist/core/ports.js +2 -0
- package/dist/core/ports.js.map +1 -0
- package/dist/core/projectSecret.d.ts +9 -0
- package/dist/core/projectSecret.js +57 -0
- package/dist/core/projectSecret.js.map +1 -0
- package/dist/core/recipe.d.ts +117 -0
- package/dist/core/recipe.js +181 -0
- package/dist/core/recipe.js.map +1 -0
- package/dist/core/recordingSummary.d.ts +12 -0
- package/dist/core/recordingSummary.js +150 -0
- package/dist/core/recordingSummary.js.map +1 -0
- package/dist/core/resolveAnchors.d.ts +70 -0
- package/dist/core/resolveAnchors.js +101 -0
- package/dist/core/resolveAnchors.js.map +1 -0
- package/dist/core/scriptImport.d.ts +10 -0
- package/dist/core/scriptImport.js +18 -0
- package/dist/core/scriptImport.js.map +1 -0
- package/dist/core/sourceAnchors.d.ts +62 -0
- package/dist/core/sourceAnchors.js +82 -0
- package/dist/core/sourceAnchors.js.map +1 -0
- package/dist/core/sourceContext.d.ts +62 -0
- package/dist/core/sourceContext.js +182 -0
- package/dist/core/sourceContext.js.map +1 -0
- package/dist/core/sourcePath.d.ts +2 -0
- package/dist/core/sourcePath.js +11 -0
- package/dist/core/sourcePath.js.map +1 -0
- package/dist/core/staleness.d.ts +118 -0
- package/dist/core/staleness.js +155 -0
- package/dist/core/staleness.js.map +1 -0
- package/dist/core/styleOrigin.d.ts +98 -0
- package/dist/core/styleOrigin.js +142 -0
- package/dist/core/styleOrigin.js.map +1 -0
- package/dist/core/svelteAnchors.d.ts +18 -0
- package/dist/core/svelteAnchors.js +125 -0
- package/dist/core/svelteAnchors.js.map +1 -0
- package/dist/core/taskFiles.d.ts +31 -0
- package/dist/core/taskFiles.js +55 -0
- package/dist/core/taskFiles.js.map +1 -0
- package/dist/core/untrusted.d.ts +57 -0
- package/dist/core/untrusted.js +268 -0
- package/dist/core/untrusted.js.map +1 -0
- package/dist/core/vueAnchors.d.ts +21 -0
- package/dist/core/vueAnchors.js +130 -0
- package/dist/core/vueAnchors.js.map +1 -0
- package/dist/expo/app/Avatar.d.ts +6 -0
- package/dist/expo/app/Avatar.js +12 -0
- package/dist/expo/app/Avatar.js.map +1 -0
- package/dist/expo/app/Bars.d.ts +9 -0
- package/dist/expo/app/Bars.js +38 -0
- package/dist/expo/app/Bars.js.map +1 -0
- package/dist/expo/app/CommentThreadSheet.d.ts +35 -0
- package/dist/expo/app/CommentThreadSheet.js +200 -0
- package/dist/expo/app/CommentThreadSheet.js.map +1 -0
- package/dist/expo/app/CommentsSheet.d.ts +22 -0
- package/dist/expo/app/CommentsSheet.js +76 -0
- package/dist/expo/app/CommentsSheet.js.map +1 -0
- package/dist/expo/app/Files.d.ts +16 -0
- package/dist/expo/app/Files.js +62 -0
- package/dist/expo/app/Files.js.map +1 -0
- package/dist/expo/app/Highlight.d.ts +5 -0
- package/dist/expo/app/Highlight.js +12 -0
- package/dist/expo/app/Highlight.js.map +1 -0
- package/dist/expo/app/Icon.d.ts +9 -0
- package/dist/expo/app/Icon.js +22 -0
- package/dist/expo/app/Icon.js.map +1 -0
- package/dist/expo/app/MarkerPins.d.ts +10 -0
- package/dist/expo/app/MarkerPins.js +70 -0
- package/dist/expo/app/MarkerPins.js.map +1 -0
- package/dist/expo/app/Provider.d.ts +13 -0
- package/dist/expo/app/Provider.js +597 -0
- package/dist/expo/app/Provider.js.map +1 -0
- package/dist/expo/app/Sheet.d.ts +53 -0
- package/dist/expo/app/Sheet.js +106 -0
- package/dist/expo/app/Sheet.js.map +1 -0
- package/dist/expo/app/Toolbar.d.ts +26 -0
- package/dist/expo/app/Toolbar.js +71 -0
- package/dist/expo/app/Toolbar.js.map +1 -0
- package/dist/expo/app/adapter.d.ts +55 -0
- package/dist/expo/app/adapter.js +145 -0
- package/dist/expo/app/adapter.js.map +1 -0
- package/dist/expo/app/api.d.ts +68 -0
- package/dist/expo/app/api.js +86 -0
- package/dist/expo/app/api.js.map +1 -0
- package/dist/expo/app/assets/attach.png +0 -0
- package/dist/expo/app/assets/close.png +0 -0
- package/dist/expo/app/assets/comment.png +0 -0
- package/dist/expo/app/assets/edit.png +0 -0
- package/dist/expo/app/assets/file.png +0 -0
- package/dist/expo/app/assets/narrow.png +0 -0
- package/dist/expo/app/assets/panel.png +0 -0
- package/dist/expo/app/assets/pins.png +0 -0
- package/dist/expo/app/assets/pinsOff.png +0 -0
- package/dist/expo/app/assets/remove.png +0 -0
- package/dist/expo/app/assets/reopen.png +0 -0
- package/dist/expo/app/assets/resolve.png +0 -0
- package/dist/expo/app/assets/send.png +0 -0
- package/dist/expo/app/assets/widen.png +0 -0
- package/dist/expo/app/attachments.d.ts +93 -0
- package/dist/expo/app/attachments.js +181 -0
- package/dist/expo/app/attachments.js.map +1 -0
- package/dist/expo/app/cloudApi.d.ts +63 -0
- package/dist/expo/app/cloudApi.js +330 -0
- package/dist/expo/app/cloudApi.js.map +1 -0
- package/dist/expo/app/cloudAuth.d.ts +20 -0
- package/dist/expo/app/cloudAuth.js +71 -0
- package/dist/expo/app/cloudAuth.js.map +1 -0
- package/dist/expo/app/cloudHttp.d.ts +20 -0
- package/dist/expo/app/cloudHttp.js +46 -0
- package/dist/expo/app/cloudHttp.js.map +1 -0
- package/dist/expo/app/cloudSession.d.ts +30 -0
- package/dist/expo/app/cloudSession.js +72 -0
- package/dist/expo/app/cloudSession.js.map +1 -0
- package/dist/expo/app/comments.d.ts +20 -0
- package/dist/expo/app/comments.js +131 -0
- package/dist/expo/app/comments.js.map +1 -0
- package/dist/expo/app/devMenuNone.d.ts +5 -0
- package/dist/expo/app/devMenuNone.js +3 -0
- package/dist/expo/app/devMenuNone.js.map +1 -0
- package/dist/expo/app/devServerNone.d.ts +4 -0
- package/dist/expo/app/devServerNone.js +4 -0
- package/dist/expo/app/devServerNone.js.map +1 -0
- package/dist/expo/app/embeddedConfig.d.ts +1 -0
- package/dist/expo/app/embeddedConfig.js +12 -0
- package/dist/expo/app/embeddedConfig.js.map +1 -0
- package/dist/expo/app/embeddedConfigCloud.d.ts +2 -0
- package/dist/expo/app/embeddedConfigCloud.js +8 -0
- package/dist/expo/app/embeddedConfigCloud.js.map +1 -0
- package/dist/expo/app/embeddedConfigNone.d.ts +2 -0
- package/dist/expo/app/embeddedConfigNone.js +3 -0
- package/dist/expo/app/embeddedConfigNone.js.map +1 -0
- package/dist/expo/app/expo.d.ts +4 -0
- package/dist/expo/app/expo.js +35 -0
- package/dist/expo/app/expo.js.map +1 -0
- package/dist/expo/app/expoGo.d.ts +4 -0
- package/dist/expo/app/expoGo.js +33 -0
- package/dist/expo/app/expoGo.js.map +1 -0
- package/dist/expo/app/expoPickers.d.ts +11 -0
- package/dist/expo/app/expoPickers.js +91 -0
- package/dist/expo/app/expoPickers.js.map +1 -0
- package/dist/expo/app/expoRandom.d.ts +6 -0
- package/dist/expo/app/expoRandom.js +21 -0
- package/dist/expo/app/expoRandom.js.map +1 -0
- package/dist/expo/app/idle.d.ts +4 -0
- package/dist/expo/app/idle.js +7 -0
- package/dist/expo/app/idle.js.map +1 -0
- package/dist/expo/app/index.d.ts +3 -0
- package/dist/expo/app/index.js +3 -0
- package/dist/expo/app/index.js.map +1 -0
- package/dist/expo/app/interactions.d.ts +38 -0
- package/dist/expo/app/interactions.js +40 -0
- package/dist/expo/app/interactions.js.map +1 -0
- package/dist/expo/app/markers.d.ts +28 -0
- package/dist/expo/app/markers.js +187 -0
- package/dist/expo/app/markers.js.map +1 -0
- package/dist/expo/app/movedAnchors.d.ts +46 -0
- package/dist/expo/app/movedAnchors.js +39 -0
- package/dist/expo/app/movedAnchors.js.map +1 -0
- package/dist/expo/app/native.d.ts +12 -0
- package/dist/expo/app/native.js +78 -0
- package/dist/expo/app/native.js.map +1 -0
- package/dist/expo/app/panel.d.ts +27 -0
- package/dist/expo/app/panel.js +37 -0
- package/dist/expo/app/panel.js.map +1 -0
- package/dist/expo/app/payload.d.ts +43 -0
- package/dist/expo/app/payload.js +22 -0
- package/dist/expo/app/payload.js.map +1 -0
- package/dist/expo/app/pick.d.ts +14 -0
- package/dist/expo/app/pick.js +124 -0
- package/dist/expo/app/pick.js.map +1 -0
- package/dist/expo/app/pickerNone.d.ts +1 -0
- package/dist/expo/app/pickerNone.js +2 -0
- package/dist/expo/app/pickerNone.js.map +1 -0
- package/dist/expo/app/placement.d.ts +53 -0
- package/dist/expo/app/placement.js +100 -0
- package/dist/expo/app/placement.js.map +1 -0
- package/dist/expo/app/random.d.ts +13 -0
- package/dist/expo/app/random.js +56 -0
- package/dist/expo/app/random.js.map +1 -0
- package/dist/expo/app/reactNative.d.ts +2 -0
- package/dist/expo/app/reactNative.js +3 -0
- package/dist/expo/app/reactNative.js.map +1 -0
- package/dist/expo/app/runtimeConfig.d.ts +30 -0
- package/dist/expo/app/runtimeConfig.js +104 -0
- package/dist/expo/app/runtimeConfig.js.map +1 -0
- package/dist/expo/app/sheetMotion.d.ts +22 -0
- package/dist/expo/app/sheetMotion.js +39 -0
- package/dist/expo/app/sheetMotion.js.map +1 -0
- package/dist/expo/app/signIn.d.ts +32 -0
- package/dist/expo/app/signIn.js +28 -0
- package/dist/expo/app/signIn.js.map +1 -0
- package/dist/expo/app/state.d.ts +45 -0
- package/dist/expo/app/state.js +32 -0
- package/dist/expo/app/state.js.map +1 -0
- package/dist/expo/app/theme.d.ts +15 -0
- package/dist/expo/app/theme.js +9 -0
- package/dist/expo/app/theme.js.map +1 -0
- package/dist/expo/app/types.d.ts +87 -0
- package/dist/expo/app/types.js +2 -0
- package/dist/expo/app/types.js.map +1 -0
- package/dist/expo/app/useCloudReviewer.d.ts +75 -0
- package/dist/expo/app/useCloudReviewer.js +211 -0
- package/dist/expo/app/useCloudReviewer.js.map +1 -0
- package/dist/expo/app/useComments.d.ts +64 -0
- package/dist/expo/app/useComments.js +156 -0
- package/dist/expo/app/useComments.js.map +1 -0
- package/dist/expo/app/useUploads.d.ts +32 -0
- package/dist/expo/app/useUploads.js +106 -0
- package/dist/expo/app/useUploads.js.map +1 -0
- package/dist/expo/expoGoMetro.cjs +83 -0
- package/dist/expo/expoMetro.cjs +86 -0
- package/dist/expo/metro.cjs +304 -0
- package/dist/expo/metroBuild.d.ts +22 -0
- package/dist/expo/metroBuild.js +169 -0
- package/dist/expo/metroBuild.js.map +1 -0
- package/dist/expo/middleware.d.ts +11 -0
- package/dist/expo/middleware.js +26 -0
- package/dist/expo/middleware.js.map +1 -0
- package/dist/expo/mode.d.ts +20 -0
- package/dist/expo/mode.js +37 -0
- package/dist/expo/mode.js.map +1 -0
- package/dist/expo/publicConfig.d.ts +37 -0
- package/dist/expo/publicConfig.js +87 -0
- package/dist/expo/publicConfig.js.map +1 -0
- package/dist/expo/transform.d.ts +22 -0
- package/dist/expo/transform.js +38 -0
- package/dist/expo/transform.js.map +1 -0
- package/dist/expo/transformer.cjs +73 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/integration/apiRoutes.d.ts +2 -0
- package/dist/integration/apiRoutes.js +3 -0
- package/dist/integration/apiRoutes.js.map +1 -0
- package/dist/integration/buildCredentials.d.ts +12 -0
- package/dist/integration/buildCredentials.js +97 -0
- package/dist/integration/buildCredentials.js.map +1 -0
- package/dist/integration/buildSession.d.ts +8 -0
- package/dist/integration/buildSession.js +96 -0
- package/dist/integration/buildSession.js.map +1 -0
- package/dist/integration/bundleCheck.d.ts +43 -0
- package/dist/integration/bundleCheck.js +111 -0
- package/dist/integration/bundleCheck.js.map +1 -0
- package/dist/integration/commentPull.d.ts +134 -0
- package/dist/integration/commentPull.js +260 -0
- package/dist/integration/commentPull.js.map +1 -0
- package/dist/integration/configuredApi.d.ts +7 -0
- package/dist/integration/configuredApi.js +24 -0
- package/dist/integration/configuredApi.js.map +1 -0
- package/dist/integration/devCloud.d.ts +27 -0
- package/dist/integration/devCloud.js +56 -0
- package/dist/integration/devCloud.js.map +1 -0
- package/dist/integration/devReviewLinks.d.ts +2 -0
- package/dist/integration/devReviewLinks.js +10 -0
- package/dist/integration/devReviewLinks.js.map +1 -0
- package/dist/integration/gitBranch.d.ts +19 -0
- package/dist/integration/gitBranch.js +56 -0
- package/dist/integration/gitBranch.js.map +1 -0
- package/dist/integration/importPlan.d.ts +19 -0
- package/dist/integration/importPlan.js +90 -0
- package/dist/integration/importPlan.js.map +1 -0
- package/dist/integration/index.d.ts +14 -0
- package/dist/integration/index.js +13 -0
- package/dist/integration/index.js.map +1 -0
- package/dist/integration/manifest.d.ts +120 -0
- package/dist/integration/manifest.js +147 -0
- package/dist/integration/manifest.js.map +1 -0
- package/dist/integration/manifestParts.d.ts +29 -0
- package/dist/integration/manifestParts.js +65 -0
- package/dist/integration/manifestParts.js.map +1 -0
- package/dist/integration/manifestSink.d.ts +75 -0
- package/dist/integration/manifestSink.js +157 -0
- package/dist/integration/manifestSink.js.map +1 -0
- package/dist/integration/manifestUpload.d.ts +64 -0
- package/dist/integration/manifestUpload.js +177 -0
- package/dist/integration/manifestUpload.js.map +1 -0
- package/dist/integration/middleware.d.ts +55 -0
- package/dist/integration/middleware.js +379 -0
- package/dist/integration/middleware.js.map +1 -0
- package/dist/integration/nextStyles.d.ts +4 -0
- package/dist/integration/nextStyles.js +121 -0
- package/dist/integration/nextStyles.js.map +1 -0
- package/dist/integration/requestGuards.d.ts +71 -0
- package/dist/integration/requestGuards.js +255 -0
- package/dist/integration/requestGuards.js.map +1 -0
- package/dist/integration/sharedBuild.d.ts +71 -0
- package/dist/integration/sharedBuild.js +105 -0
- package/dist/integration/sharedBuild.js.map +1 -0
- package/dist/integration/sharedInject.d.ts +88 -0
- package/dist/integration/sharedInject.js +164 -0
- package/dist/integration/sharedInject.js.map +1 -0
- package/dist/integration/sidecarProcess.d.ts +26 -0
- package/dist/integration/sidecarProcess.js +137 -0
- package/dist/integration/sidecarProcess.js.map +1 -0
- package/dist/integration/styleCollector.d.ts +49 -0
- package/dist/integration/styleCollector.js +220 -0
- package/dist/integration/styleCollector.js.map +1 -0
- package/dist/integration/transform.d.ts +24 -0
- package/dist/integration/transform.js +36 -0
- package/dist/integration/transform.js.map +1 -0
- package/dist/integration/tunnelClient.d.ts +44 -0
- package/dist/integration/tunnelClient.js +148 -0
- package/dist/integration/tunnelClient.js.map +1 -0
- package/dist/integration/tunnelProtocol.d.ts +152 -0
- package/dist/integration/tunnelProtocol.js +110 -0
- package/dist/integration/tunnelProtocol.js.map +1 -0
- package/dist/mcp/cli.d.ts +2 -0
- package/dist/mcp/cli.js +327 -0
- package/dist/mcp/cli.js.map +1 -0
- package/dist/mcp/cloudRefresh.d.ts +36 -0
- package/dist/mcp/cloudRefresh.js +52 -0
- package/dist/mcp/cloudRefresh.js.map +1 -0
- package/dist/mcp/context.d.ts +7 -0
- package/dist/mcp/context.js +18 -0
- package/dist/mcp/context.js.map +1 -0
- package/dist/mcp/files.d.ts +66 -0
- package/dist/mcp/files.js +157 -0
- package/dist/mcp/files.js.map +1 -0
- package/dist/mcp/search.d.ts +3 -0
- package/dist/mcp/search.js +9 -0
- package/dist/mcp/search.js.map +1 -0
- package/dist/mcp/server.d.ts +50 -0
- package/dist/mcp/server.js +555 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/overlay/anchors.d.ts +130 -0
- package/dist/overlay/anchors.js +365 -0
- package/dist/overlay/anchors.js.map +1 -0
- package/dist/overlay/api.d.ts +150 -0
- package/dist/overlay/api.js +259 -0
- package/dist/overlay/api.js.map +1 -0
- package/dist/overlay/attachments.d.ts +60 -0
- package/dist/overlay/attachments.js +163 -0
- package/dist/overlay/attachments.js.map +1 -0
- package/dist/overlay/browser.d.ts +1 -0
- package/dist/overlay/browser.js +203 -0
- package/dist/overlay/browser.js.map +1 -0
- package/dist/overlay/chip.d.ts +27 -0
- package/dist/overlay/chip.js +31 -0
- package/dist/overlay/chip.js.map +1 -0
- package/dist/overlay/compact.d.ts +11 -0
- package/dist/overlay/compact.js +21 -0
- package/dist/overlay/compact.js.map +1 -0
- package/dist/overlay/cssScope.d.ts +46 -0
- package/dist/overlay/cssScope.js +180 -0
- package/dist/overlay/cssScope.js.map +1 -0
- package/dist/overlay/cursor.d.ts +2 -0
- package/dist/overlay/cursor.js +68 -0
- package/dist/overlay/cursor.js.map +1 -0
- package/dist/overlay/devBrowser.d.ts +1 -0
- package/dist/overlay/devBrowser.js +18 -0
- package/dist/overlay/devBrowser.js.map +1 -0
- package/dist/overlay/devReview.d.ts +4 -0
- package/dist/overlay/devReview.js +18 -0
- package/dist/overlay/devReview.js.map +1 -0
- package/dist/overlay/directReviewer.d.ts +149 -0
- package/dist/overlay/directReviewer.js +448 -0
- package/dist/overlay/directReviewer.js.map +1 -0
- package/dist/overlay/elementDescription.d.ts +10 -0
- package/dist/overlay/elementDescription.js +251 -0
- package/dist/overlay/elementDescription.js.map +1 -0
- package/dist/overlay/icons.d.ts +8 -0
- package/dist/overlay/icons.js +36 -0
- package/dist/overlay/icons.js.map +1 -0
- package/dist/overlay/identity.d.ts +48 -0
- package/dist/overlay/identity.js +125 -0
- package/dist/overlay/identity.js.map +1 -0
- package/dist/overlay/localMachine.d.ts +23 -0
- package/dist/overlay/localMachine.js +40 -0
- package/dist/overlay/localMachine.js.map +1 -0
- package/dist/overlay/magicLink.d.ts +10 -0
- package/dist/overlay/magicLink.js +87 -0
- package/dist/overlay/magicLink.js.map +1 -0
- package/dist/overlay/modern-screenshot.js +1676 -0
- package/dist/overlay/movedAnchors.d.ts +30 -0
- package/dist/overlay/movedAnchors.js +128 -0
- package/dist/overlay/movedAnchors.js.map +1 -0
- package/dist/overlay/notificationGroups.d.ts +2 -0
- package/dist/overlay/notificationGroups.js +41 -0
- package/dist/overlay/notificationGroups.js.map +1 -0
- package/dist/overlay/permissions.d.ts +10 -0
- package/dist/overlay/permissions.js +9 -0
- package/dist/overlay/permissions.js.map +1 -0
- package/dist/overlay/pinGroups.d.ts +16 -0
- package/dist/overlay/pinGroups.js +17 -0
- package/dist/overlay/pinGroups.js.map +1 -0
- package/dist/overlay/presence.d.ts +50 -0
- package/dist/overlay/presence.js +258 -0
- package/dist/overlay/presence.js.map +1 -0
- package/dist/overlay/projectChannel.d.ts +11 -0
- package/dist/overlay/projectChannel.js +111 -0
- package/dist/overlay/projectChannel.js.map +1 -0
- package/dist/overlay/recorder.d.ts +56 -0
- package/dist/overlay/recorder.js +130 -0
- package/dist/overlay/recorder.js.map +1 -0
- package/dist/overlay/reviewMode.d.ts +21 -0
- package/dist/overlay/reviewMode.js +59 -0
- package/dist/overlay/reviewMode.js.map +1 -0
- package/dist/overlay/reviewerAuth.d.ts +131 -0
- package/dist/overlay/reviewerAuth.js +279 -0
- package/dist/overlay/reviewerAuth.js.map +1 -0
- package/dist/overlay/route.d.ts +18 -0
- package/dist/overlay/route.js +56 -0
- package/dist/overlay/route.js.map +1 -0
- package/dist/overlay/rrweb-record.js +63 -0
- package/dist/overlay/runtime.d.ts +1 -0
- package/dist/overlay/runtime.js +4857 -0
- package/dist/overlay/runtime.js.map +1 -0
- package/dist/overlay/session.d.ts +32 -0
- package/dist/overlay/session.js +76 -0
- package/dist/overlay/session.js.map +1 -0
- package/dist/overlay/sharedMode.d.ts +38 -0
- package/dist/overlay/sharedMode.js +37 -0
- package/dist/overlay/sharedMode.js.map +1 -0
- package/dist/overlay/sheet.d.ts +73 -0
- package/dist/overlay/sheet.js +278 -0
- package/dist/overlay/sheet.js.map +1 -0
- package/dist/overlay/snapshot.d.ts +26 -0
- package/dist/overlay/snapshot.js +185 -0
- package/dist/overlay/snapshot.js.map +1 -0
- package/dist/overlay/state.d.ts +63 -0
- package/dist/overlay/state.js +241 -0
- package/dist/overlay/state.js.map +1 -0
- package/dist/overlay/steps.d.ts +22 -0
- package/dist/overlay/steps.js +34 -0
- package/dist/overlay/steps.js.map +1 -0
- package/dist/overlay/styles.d.ts +7 -0
- package/dist/overlay/styles.js +1449 -0
- package/dist/overlay/styles.js.map +1 -0
- package/dist/overlay/trace.d.ts +19 -0
- package/dist/overlay/trace.js +29 -0
- package/dist/overlay/trace.js.map +1 -0
- package/dist/overlay/upload.d.ts +35 -0
- package/dist/overlay/upload.js +99 -0
- package/dist/overlay/upload.js.map +1 -0
- package/dist/plugin/astro.d.ts +31 -0
- package/dist/plugin/astro.js +22 -0
- package/dist/plugin/astro.js.map +1 -0
- package/dist/plugin/eleventy.d.ts +44 -0
- package/dist/plugin/eleventy.js +186 -0
- package/dist/plugin/eleventy.js.map +1 -0
- package/dist/plugin/next-loader.cjs +11 -0
- package/dist/plugin/next.d.ts +29 -0
- package/dist/plugin/next.js +176 -0
- package/dist/plugin/next.js.map +1 -0
- package/dist/plugin/nextOverlay.d.ts +2 -0
- package/dist/plugin/nextOverlay.js +22 -0
- package/dist/plugin/nextOverlay.js.map +1 -0
- package/dist/plugin/nextTransform.d.ts +19 -0
- package/dist/plugin/nextTransform.js +29 -0
- package/dist/plugin/nextTransform.js.map +1 -0
- package/dist/plugin/rsbuild.d.ts +25 -0
- package/dist/plugin/rsbuild.js +56 -0
- package/dist/plugin/rsbuild.js.map +1 -0
- package/dist/plugin/vite.d.ts +40 -0
- package/dist/plugin/vite.js +585 -0
- package/dist/plugin/vite.js.map +1 -0
- package/dist/plugin/webpack.d.ts +69 -0
- package/dist/plugin/webpack.js +192 -0
- package/dist/plugin/webpack.js.map +1 -0
- package/dist/remote/account.d.ts +41 -0
- package/dist/remote/account.js +177 -0
- package/dist/remote/account.js.map +1 -0
- package/dist/remote/base64url.d.ts +14 -0
- package/dist/remote/base64url.js +71 -0
- package/dist/remote/base64url.js.map +1 -0
- package/dist/remote/branchLabel.d.ts +12 -0
- package/dist/remote/branchLabel.js +20 -0
- package/dist/remote/branchLabel.js.map +1 -0
- package/dist/remote/client.d.ts +340 -0
- package/dist/remote/client.js +424 -0
- package/dist/remote/client.js.map +1 -0
- package/dist/remote/cloudApi.d.ts +72 -0
- package/dist/remote/cloudApi.js +72 -0
- package/dist/remote/cloudApi.js.map +1 -0
- package/dist/remote/codec.d.ts +54 -0
- package/dist/remote/codec.js +62 -0
- package/dist/remote/codec.js.map +1 -0
- package/dist/remote/config.d.ts +30 -0
- package/dist/remote/config.js +112 -0
- package/dist/remote/config.js.map +1 -0
- package/dist/remote/content-schema.d.ts +428 -0
- package/dist/remote/content-schema.js +209 -0
- package/dist/remote/content-schema.js.map +1 -0
- package/dist/remote/content.d.ts +44 -0
- package/dist/remote/content.js +75 -0
- package/dist/remote/content.js.map +1 -0
- package/dist/remote/envelope.d.ts +76 -0
- package/dist/remote/envelope.js +109 -0
- package/dist/remote/envelope.js.map +1 -0
- package/dist/remote/errors.d.ts +55 -0
- package/dist/remote/errors.js +63 -0
- package/dist/remote/errors.js.map +1 -0
- package/dist/remote/ids.d.ts +8 -0
- package/dist/remote/ids.js +25 -0
- package/dist/remote/ids.js.map +1 -0
- package/dist/remote/index.d.ts +7 -0
- package/dist/remote/index.js +8 -0
- package/dist/remote/index.js.map +1 -0
- package/dist/remote/keys.d.ts +62 -0
- package/dist/remote/keys.js +162 -0
- package/dist/remote/keys.js.map +1 -0
- package/dist/remote/localAnchors.d.ts +4 -0
- package/dist/remote/localAnchors.js +23 -0
- package/dist/remote/localAnchors.js.map +1 -0
- package/dist/remote/mapping.d.ts +11 -0
- package/dist/remote/mapping.js +22 -0
- package/dist/remote/mapping.js.map +1 -0
- package/dist/remote/presence.d.ts +63 -0
- package/dist/remote/presence.js +143 -0
- package/dist/remote/presence.js.map +1 -0
- package/dist/remote/realtime.d.ts +142 -0
- package/dist/remote/realtime.js +326 -0
- package/dist/remote/realtime.js.map +1 -0
- package/dist/remote/store.d.ts +183 -0
- package/dist/remote/store.js +907 -0
- package/dist/remote/store.js.map +1 -0
- package/dist/remote/sync.d.ts +113 -0
- package/dist/remote/sync.js +370 -0
- package/dist/remote/sync.js.map +1 -0
- package/dist/remote/types.d.ts +99 -0
- package/dist/remote/types.js +6 -0
- package/dist/remote/types.js.map +1 -0
- package/dist/setup/agents.d.ts +23 -0
- package/dist/setup/agents.js +80 -0
- package/dist/setup/agents.js.map +1 -0
- package/dist/setup/configure.d.ts +27 -0
- package/dist/setup/configure.js +201 -0
- package/dist/setup/configure.js.map +1 -0
- package/dist/setup/connect.d.ts +60 -0
- package/dist/setup/connect.js +244 -0
- package/dist/setup/connect.js.map +1 -0
- package/dist/setup/detect.d.ts +67 -0
- package/dist/setup/detect.js +168 -0
- package/dist/setup/detect.js.map +1 -0
- package/dist/setup/frameworks.d.ts +41 -0
- package/dist/setup/frameworks.js +81 -0
- package/dist/setup/frameworks.js.map +1 -0
- package/dist/sidecar/cli.d.ts +1 -0
- package/dist/sidecar/cli.js +70 -0
- package/dist/sidecar/cli.js.map +1 -0
- package/dist/sidecar/cloudSync.d.ts +33 -0
- package/dist/sidecar/cloudSync.js +139 -0
- package/dist/sidecar/cloudSync.js.map +1 -0
- package/dist/sidecar/commentFiles.d.ts +59 -0
- package/dist/sidecar/commentFiles.js +217 -0
- package/dist/sidecar/commentFiles.js.map +1 -0
- package/dist/sidecar/cssAttribution.d.ts +26 -0
- package/dist/sidecar/cssAttribution.js +114 -0
- package/dist/sidecar/cssAttribution.js.map +1 -0
- package/dist/sidecar/exportTasks.d.ts +38 -0
- package/dist/sidecar/exportTasks.js +249 -0
- package/dist/sidecar/exportTasks.js.map +1 -0
- package/dist/sidecar/http.d.ts +20 -0
- package/dist/sidecar/http.js +904 -0
- package/dist/sidecar/http.js.map +1 -0
- package/dist/sidecar/inviteTarget.d.ts +4 -0
- package/dist/sidecar/inviteTarget.js +32 -0
- package/dist/sidecar/inviteTarget.js.map +1 -0
- package/dist/sidecar/presence.d.ts +4 -0
- package/dist/sidecar/presence.js +92 -0
- package/dist/sidecar/presence.js.map +1 -0
- package/dist/storage/cliSession.d.ts +8 -0
- package/dist/storage/cliSession.js +41 -0
- package/dist/storage/cliSession.js.map +1 -0
- package/dist/storage/devStyleMap.d.ts +12 -0
- package/dist/storage/devStyleMap.js +31 -0
- package/dist/storage/devStyleMap.js.map +1 -0
- package/dist/storage/fileCache.d.ts +34 -0
- package/dist/storage/fileCache.js +122 -0
- package/dist/storage/fileCache.js.map +1 -0
- package/dist/storage/localAttachments.d.ts +82 -0
- package/dist/storage/localAttachments.js +276 -0
- package/dist/storage/localAttachments.js.map +1 -0
- package/dist/storage/localComments.d.ts +31 -0
- package/dist/storage/localComments.js +159 -0
- package/dist/storage/localComments.js.map +1 -0
- package/dist/storage/localCredentials.d.ts +74 -0
- package/dist/storage/localCredentials.js +210 -0
- package/dist/storage/localCredentials.js.map +1 -0
- package/dist/storage/localParticipants.d.ts +33 -0
- package/dist/storage/localParticipants.js +110 -0
- package/dist/storage/localParticipants.js.map +1 -0
- package/dist/storage/localRecipe.d.ts +22 -0
- package/dist/storage/localRecipe.js +46 -0
- package/dist/storage/localRecipe.js.map +1 -0
- package/dist/storage/localScreenshots.d.ts +23 -0
- package/dist/storage/localScreenshots.js +55 -0
- package/dist/storage/localScreenshots.js.map +1 -0
- package/dist/storage/localSource.d.ts +31 -0
- package/dist/storage/localSource.js +175 -0
- package/dist/storage/localSource.js.map +1 -0
- package/dist/storage/pulledComments.d.ts +81 -0
- package/dist/storage/pulledComments.js +107 -0
- package/dist/storage/pulledComments.js.map +1 -0
- package/dist/storage/remoteRecipe.d.ts +7 -0
- package/dist/storage/remoteRecipe.js +85 -0
- package/dist/storage/remoteRecipe.js.map +1 -0
- package/dist/storage/savedRemote.d.ts +2 -0
- package/dist/storage/savedRemote.js +22 -0
- package/dist/storage/savedRemote.js.map +1 -0
- package/dist/storage/sidecarAccess.d.ts +7 -0
- package/dist/storage/sidecarAccess.js +68 -0
- package/dist/storage/sidecarAccess.js.map +1 -0
- package/package.json +306 -4
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validates `value` and returns the problems as `path: message` strings (empty when valid).
|
|
3
|
+
* @param {any} schema @param {unknown} value @param {string} [path]
|
|
4
|
+
* @returns {string[]}
|
|
5
|
+
*/
|
|
6
|
+
export function schemaIssues(schema: any, value: unknown, path?: string): string[];
|
|
7
|
+
/**
|
|
8
|
+
* Paths of non-finite numbers anywhere in `value`, including inside unknown properties: JSON turns
|
|
9
|
+
* NaN and Infinity into `null`, so sealing them would silently change the content.
|
|
10
|
+
* @param {unknown} value @param {string} [path]
|
|
11
|
+
* @returns {string[]}
|
|
12
|
+
*/
|
|
13
|
+
export function nonFiniteNumbers(value: unknown, path?: string): string[];
|
|
14
|
+
export namespace commentContentSchema {
|
|
15
|
+
let type: string;
|
|
16
|
+
let required: string[];
|
|
17
|
+
namespace properties {
|
|
18
|
+
export namespace v {
|
|
19
|
+
let _const: number;
|
|
20
|
+
export { _const as const };
|
|
21
|
+
}
|
|
22
|
+
export namespace body {
|
|
23
|
+
let type_1: string;
|
|
24
|
+
export { type_1 as type };
|
|
25
|
+
export let minLength: number;
|
|
26
|
+
export let maxLength: number;
|
|
27
|
+
}
|
|
28
|
+
export namespace authorName {
|
|
29
|
+
let type_2: string;
|
|
30
|
+
export { type_2 as type };
|
|
31
|
+
let minLength_1: number;
|
|
32
|
+
export { minLength_1 as minLength };
|
|
33
|
+
let maxLength_1: number;
|
|
34
|
+
export { maxLength_1 as maxLength };
|
|
35
|
+
}
|
|
36
|
+
export { anchor };
|
|
37
|
+
export namespace leafAnchor {
|
|
38
|
+
let oneOf: ({
|
|
39
|
+
type: string;
|
|
40
|
+
required: string[];
|
|
41
|
+
properties: {
|
|
42
|
+
id: {
|
|
43
|
+
type: string[];
|
|
44
|
+
maxLength: number;
|
|
45
|
+
};
|
|
46
|
+
file: {
|
|
47
|
+
type: string;
|
|
48
|
+
maxLength: number;
|
|
49
|
+
};
|
|
50
|
+
line: {
|
|
51
|
+
type: string;
|
|
52
|
+
minimum: number;
|
|
53
|
+
};
|
|
54
|
+
column: {
|
|
55
|
+
type: string;
|
|
56
|
+
minimum: number;
|
|
57
|
+
};
|
|
58
|
+
componentName: {
|
|
59
|
+
type: string[];
|
|
60
|
+
maxLength: number;
|
|
61
|
+
};
|
|
62
|
+
domPath: {
|
|
63
|
+
type: string;
|
|
64
|
+
maxLength: number;
|
|
65
|
+
};
|
|
66
|
+
textSnippet: {
|
|
67
|
+
type: string[];
|
|
68
|
+
maxLength: number;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
} | {
|
|
72
|
+
type: string;
|
|
73
|
+
})[];
|
|
74
|
+
}
|
|
75
|
+
export namespace anchorChain {
|
|
76
|
+
let type_3: string;
|
|
77
|
+
export { type_3 as type };
|
|
78
|
+
export let maxItems: number;
|
|
79
|
+
export { anchor as items };
|
|
80
|
+
}
|
|
81
|
+
export namespace insideSelection {
|
|
82
|
+
let type_4: string;
|
|
83
|
+
export { type_4 as type };
|
|
84
|
+
let maxItems_1: number;
|
|
85
|
+
export { maxItems_1 as maxItems };
|
|
86
|
+
export namespace items {
|
|
87
|
+
let type_5: string;
|
|
88
|
+
export { type_5 as type };
|
|
89
|
+
let minLength_2: number;
|
|
90
|
+
export { minLength_2 as minLength };
|
|
91
|
+
let maxLength_2: number;
|
|
92
|
+
export { maxLength_2 as maxLength };
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
export namespace source {
|
|
96
|
+
let oneOf_1: ({
|
|
97
|
+
type: string;
|
|
98
|
+
required: string[];
|
|
99
|
+
properties: {
|
|
100
|
+
file: {
|
|
101
|
+
type: string;
|
|
102
|
+
maxLength: number;
|
|
103
|
+
};
|
|
104
|
+
startLine: {
|
|
105
|
+
type: string;
|
|
106
|
+
minimum: number;
|
|
107
|
+
};
|
|
108
|
+
endLine: {
|
|
109
|
+
type: string;
|
|
110
|
+
minimum: number;
|
|
111
|
+
};
|
|
112
|
+
excerpt: {
|
|
113
|
+
type: string[];
|
|
114
|
+
maxLength: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
} | {
|
|
118
|
+
type: string;
|
|
119
|
+
required?: undefined;
|
|
120
|
+
properties?: undefined;
|
|
121
|
+
})[];
|
|
122
|
+
export { oneOf_1 as oneOf };
|
|
123
|
+
}
|
|
124
|
+
export namespace context {
|
|
125
|
+
let type_6: string;
|
|
126
|
+
export { type_6 as type };
|
|
127
|
+
let required_1: string[];
|
|
128
|
+
export { required_1 as required };
|
|
129
|
+
export namespace properties_1 {
|
|
130
|
+
namespace url {
|
|
131
|
+
let type_7: string[];
|
|
132
|
+
export { type_7 as type };
|
|
133
|
+
let maxLength_3: number;
|
|
134
|
+
export { maxLength_3 as maxLength };
|
|
135
|
+
}
|
|
136
|
+
namespace route {
|
|
137
|
+
let type_8: string;
|
|
138
|
+
export { type_8 as type };
|
|
139
|
+
let maxLength_4: number;
|
|
140
|
+
export { maxLength_4 as maxLength };
|
|
141
|
+
export let pattern: string;
|
|
142
|
+
}
|
|
143
|
+
namespace viewport {
|
|
144
|
+
let type_9: string;
|
|
145
|
+
export { type_9 as type };
|
|
146
|
+
let required_2: string[];
|
|
147
|
+
export { required_2 as required };
|
|
148
|
+
export namespace properties_2 {
|
|
149
|
+
namespace w {
|
|
150
|
+
let type_10: string;
|
|
151
|
+
export { type_10 as type };
|
|
152
|
+
export let minimum: number;
|
|
153
|
+
}
|
|
154
|
+
namespace h {
|
|
155
|
+
let type_11: string;
|
|
156
|
+
export { type_11 as type };
|
|
157
|
+
let minimum_1: number;
|
|
158
|
+
export { minimum_1 as minimum };
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
export { properties_2 as properties };
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
export { properties_1 as properties };
|
|
165
|
+
}
|
|
166
|
+
export namespace cssScope {
|
|
167
|
+
let oneOf_2: ({
|
|
168
|
+
type: string;
|
|
169
|
+
required: string[];
|
|
170
|
+
properties: {
|
|
171
|
+
rules: {
|
|
172
|
+
type: string;
|
|
173
|
+
maxItems: number;
|
|
174
|
+
items: {
|
|
175
|
+
type: string;
|
|
176
|
+
required: string[];
|
|
177
|
+
properties: {
|
|
178
|
+
selector: {
|
|
179
|
+
type: string;
|
|
180
|
+
maxLength: number;
|
|
181
|
+
};
|
|
182
|
+
elementsMatching: {
|
|
183
|
+
type: string;
|
|
184
|
+
minimum: number;
|
|
185
|
+
};
|
|
186
|
+
overriddenProperties: {
|
|
187
|
+
type: string;
|
|
188
|
+
items: {
|
|
189
|
+
type: string;
|
|
190
|
+
maxLength: number;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
unverifiedProperties: {
|
|
194
|
+
type: string;
|
|
195
|
+
items: {
|
|
196
|
+
type: string;
|
|
197
|
+
maxLength: number;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
file: {
|
|
201
|
+
type: string[];
|
|
202
|
+
};
|
|
203
|
+
runtime: {
|
|
204
|
+
type: string;
|
|
205
|
+
};
|
|
206
|
+
origin: {
|
|
207
|
+
type: string[];
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
unresolvableClasses: {
|
|
213
|
+
type: string;
|
|
214
|
+
maxItems: number;
|
|
215
|
+
items: {
|
|
216
|
+
type: string;
|
|
217
|
+
maxLength: number;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
unreadableSheets: {
|
|
221
|
+
type: string;
|
|
222
|
+
maxItems: number;
|
|
223
|
+
items: {
|
|
224
|
+
type: string;
|
|
225
|
+
maxLength: number;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
inlineProperties: {
|
|
229
|
+
type: string;
|
|
230
|
+
maxItems: number;
|
|
231
|
+
items: {
|
|
232
|
+
type: string;
|
|
233
|
+
maxLength: number;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
} | {
|
|
238
|
+
type: string;
|
|
239
|
+
required?: undefined;
|
|
240
|
+
properties?: undefined;
|
|
241
|
+
})[];
|
|
242
|
+
export { oneOf_2 as oneOf };
|
|
243
|
+
}
|
|
244
|
+
export namespace scope {
|
|
245
|
+
let oneOf_3: ({
|
|
246
|
+
type: string;
|
|
247
|
+
required: string[];
|
|
248
|
+
properties: {
|
|
249
|
+
instancesOnPage: {
|
|
250
|
+
type: string;
|
|
251
|
+
minimum: number;
|
|
252
|
+
};
|
|
253
|
+
siblingsSharingChain: {
|
|
254
|
+
type: string;
|
|
255
|
+
minimum: number;
|
|
256
|
+
};
|
|
257
|
+
chainInstances: {
|
|
258
|
+
type: string;
|
|
259
|
+
maxItems: number;
|
|
260
|
+
items: {
|
|
261
|
+
type: string;
|
|
262
|
+
minimum: number;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
choice: {
|
|
266
|
+
enum: string[];
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
} | {
|
|
270
|
+
type: string;
|
|
271
|
+
required?: undefined;
|
|
272
|
+
properties?: undefined;
|
|
273
|
+
})[];
|
|
274
|
+
export { oneOf_3 as oneOf };
|
|
275
|
+
}
|
|
276
|
+
export namespace pinOffset {
|
|
277
|
+
let oneOf_4: ({
|
|
278
|
+
type: string;
|
|
279
|
+
required: string[];
|
|
280
|
+
properties: {
|
|
281
|
+
x: {
|
|
282
|
+
type: string;
|
|
283
|
+
minimum: number;
|
|
284
|
+
maximum: number;
|
|
285
|
+
};
|
|
286
|
+
y: {
|
|
287
|
+
type: string;
|
|
288
|
+
minimum: number;
|
|
289
|
+
maximum: number;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
} | {
|
|
293
|
+
type: string;
|
|
294
|
+
required?: undefined;
|
|
295
|
+
properties?: undefined;
|
|
296
|
+
})[];
|
|
297
|
+
export { oneOf_4 as oneOf };
|
|
298
|
+
}
|
|
299
|
+
export namespace orphanX {
|
|
300
|
+
let type_12: string;
|
|
301
|
+
export { type_12 as type };
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
export namespace replyContentSchema {
|
|
306
|
+
let type_13: string;
|
|
307
|
+
export { type_13 as type };
|
|
308
|
+
let required_3: string[];
|
|
309
|
+
export { required_3 as required };
|
|
310
|
+
export namespace properties_3 {
|
|
311
|
+
export namespace v_1 {
|
|
312
|
+
let _const_1: number;
|
|
313
|
+
export { _const_1 as const };
|
|
314
|
+
}
|
|
315
|
+
export { v_1 as v };
|
|
316
|
+
export namespace body_1 {
|
|
317
|
+
let type_14: string;
|
|
318
|
+
export { type_14 as type };
|
|
319
|
+
let minLength_3: number;
|
|
320
|
+
export { minLength_3 as minLength };
|
|
321
|
+
let maxLength_5: number;
|
|
322
|
+
export { maxLength_5 as maxLength };
|
|
323
|
+
}
|
|
324
|
+
export { body_1 as body };
|
|
325
|
+
export namespace authorName_1 {
|
|
326
|
+
let type_15: string;
|
|
327
|
+
export { type_15 as type };
|
|
328
|
+
let minLength_4: number;
|
|
329
|
+
export { minLength_4 as minLength };
|
|
330
|
+
let maxLength_6: number;
|
|
331
|
+
export { maxLength_6 as maxLength };
|
|
332
|
+
}
|
|
333
|
+
export { authorName_1 as authorName };
|
|
334
|
+
export namespace anchor_1 {
|
|
335
|
+
let oneOf_5: ({
|
|
336
|
+
type: string;
|
|
337
|
+
required: string[];
|
|
338
|
+
properties: {
|
|
339
|
+
id: {
|
|
340
|
+
type: string[];
|
|
341
|
+
maxLength: number;
|
|
342
|
+
};
|
|
343
|
+
file: {
|
|
344
|
+
type: string;
|
|
345
|
+
maxLength: number;
|
|
346
|
+
};
|
|
347
|
+
line: {
|
|
348
|
+
type: string;
|
|
349
|
+
minimum: number;
|
|
350
|
+
};
|
|
351
|
+
column: {
|
|
352
|
+
type: string;
|
|
353
|
+
minimum: number;
|
|
354
|
+
};
|
|
355
|
+
componentName: {
|
|
356
|
+
type: string[];
|
|
357
|
+
maxLength: number;
|
|
358
|
+
};
|
|
359
|
+
domPath: {
|
|
360
|
+
type: string;
|
|
361
|
+
maxLength: number;
|
|
362
|
+
};
|
|
363
|
+
textSnippet: {
|
|
364
|
+
type: string[];
|
|
365
|
+
maxLength: number;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
} | {
|
|
369
|
+
type: string;
|
|
370
|
+
})[];
|
|
371
|
+
export { oneOf_5 as oneOf };
|
|
372
|
+
}
|
|
373
|
+
export { anchor_1 as anchor };
|
|
374
|
+
}
|
|
375
|
+
export { properties_3 as properties };
|
|
376
|
+
}
|
|
377
|
+
declare namespace anchor {
|
|
378
|
+
let type_16: string;
|
|
379
|
+
export { type_16 as type };
|
|
380
|
+
let required_4: string[];
|
|
381
|
+
export { required_4 as required };
|
|
382
|
+
export namespace properties_4 {
|
|
383
|
+
namespace id {
|
|
384
|
+
let type_17: string[];
|
|
385
|
+
export { type_17 as type };
|
|
386
|
+
let maxLength_7: number;
|
|
387
|
+
export { maxLength_7 as maxLength };
|
|
388
|
+
}
|
|
389
|
+
namespace file {
|
|
390
|
+
let type_18: string;
|
|
391
|
+
export { type_18 as type };
|
|
392
|
+
let maxLength_8: number;
|
|
393
|
+
export { maxLength_8 as maxLength };
|
|
394
|
+
}
|
|
395
|
+
namespace line {
|
|
396
|
+
let type_19: string;
|
|
397
|
+
export { type_19 as type };
|
|
398
|
+
let minimum_2: number;
|
|
399
|
+
export { minimum_2 as minimum };
|
|
400
|
+
}
|
|
401
|
+
namespace column {
|
|
402
|
+
let type_20: string;
|
|
403
|
+
export { type_20 as type };
|
|
404
|
+
let minimum_3: number;
|
|
405
|
+
export { minimum_3 as minimum };
|
|
406
|
+
}
|
|
407
|
+
namespace componentName {
|
|
408
|
+
let type_21: string[];
|
|
409
|
+
export { type_21 as type };
|
|
410
|
+
let maxLength_9: number;
|
|
411
|
+
export { maxLength_9 as maxLength };
|
|
412
|
+
}
|
|
413
|
+
namespace domPath {
|
|
414
|
+
let type_22: string;
|
|
415
|
+
export { type_22 as type };
|
|
416
|
+
let maxLength_10: number;
|
|
417
|
+
export { maxLength_10 as maxLength };
|
|
418
|
+
}
|
|
419
|
+
namespace textSnippet {
|
|
420
|
+
let type_23: string[];
|
|
421
|
+
export { type_23 as type };
|
|
422
|
+
let maxLength_11: number;
|
|
423
|
+
export { maxLength_11 as maxLength };
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
export { properties_4 as properties };
|
|
427
|
+
}
|
|
428
|
+
export {};
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validation of comment and reply content against the contract's normative schemas
|
|
3
|
+
* (`contract/v0/schemas/{anchor,comment-content,reply-content}.schema.json`).
|
|
4
|
+
*
|
|
5
|
+
* The server never sees content, so only clients enforce these bounds. The schemas are embedded
|
|
6
|
+
* here, with annotations removed, and a test deep-compares them to the contract files so drift
|
|
7
|
+
* fails `npm test`. The validator implements just the keywords they use. Unknown properties are
|
|
8
|
+
* accepted (and, being left untouched, preserved), as the contract requires.
|
|
9
|
+
*/
|
|
10
|
+
const anchor = {
|
|
11
|
+
type: 'object',
|
|
12
|
+
required: ['file', 'line', 'column', 'componentName', 'domPath', 'textSnippet'],
|
|
13
|
+
properties: {
|
|
14
|
+
id: { type: ['string', 'null'], maxLength: 64 },
|
|
15
|
+
file: { type: 'string', maxLength: 500 },
|
|
16
|
+
line: { type: 'integer', minimum: 0 },
|
|
17
|
+
column: { type: 'integer', minimum: 0 },
|
|
18
|
+
componentName: { type: ['string', 'null'], maxLength: 200 },
|
|
19
|
+
domPath: { type: 'string', maxLength: 2000 },
|
|
20
|
+
textSnippet: { type: ['string', 'null'], maxLength: 500 },
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
export const commentContentSchema = {
|
|
24
|
+
type: 'object',
|
|
25
|
+
required: ['v', 'body', 'authorName', 'anchor', 'context'],
|
|
26
|
+
properties: {
|
|
27
|
+
v: { const: 1 },
|
|
28
|
+
body: { type: 'string', minLength: 1, maxLength: 4000 },
|
|
29
|
+
authorName: { type: 'string', minLength: 1, maxLength: 200 },
|
|
30
|
+
anchor,
|
|
31
|
+
leafAnchor: { oneOf: [anchor, { type: 'null' }] },
|
|
32
|
+
anchorChain: { type: 'array', maxItems: 64, items: anchor },
|
|
33
|
+
insideSelection: { type: 'array', maxItems: 500, items: { type: 'string', minLength: 1, maxLength: 500 } },
|
|
34
|
+
source: {
|
|
35
|
+
oneOf: [
|
|
36
|
+
{
|
|
37
|
+
type: 'object',
|
|
38
|
+
required: ['file', 'startLine', 'endLine'],
|
|
39
|
+
properties: {
|
|
40
|
+
file: { type: 'string', maxLength: 500 },
|
|
41
|
+
startLine: { type: 'integer', minimum: 1 },
|
|
42
|
+
endLine: { type: 'integer', minimum: 1 },
|
|
43
|
+
excerpt: { type: ['string', 'null'], maxLength: 20000 },
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{ type: 'null' },
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
context: {
|
|
50
|
+
type: 'object',
|
|
51
|
+
required: ['route', 'viewport'],
|
|
52
|
+
properties: {
|
|
53
|
+
url: { type: ['string', 'null'], maxLength: 2000 },
|
|
54
|
+
route: { type: 'string', maxLength: 2000, pattern: '^/[^\\u0000-\\u001f\\u007f]*$' },
|
|
55
|
+
viewport: {
|
|
56
|
+
type: 'object',
|
|
57
|
+
required: ['w', 'h'],
|
|
58
|
+
properties: { w: { type: 'integer', minimum: 0 }, h: { type: 'integer', minimum: 0 } },
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
cssScope: {
|
|
63
|
+
oneOf: [
|
|
64
|
+
{
|
|
65
|
+
type: 'object',
|
|
66
|
+
required: ['rules'],
|
|
67
|
+
properties: {
|
|
68
|
+
rules: {
|
|
69
|
+
type: 'array',
|
|
70
|
+
maxItems: 200,
|
|
71
|
+
items: {
|
|
72
|
+
type: 'object',
|
|
73
|
+
required: ['selector', 'elementsMatching'],
|
|
74
|
+
properties: {
|
|
75
|
+
selector: { type: 'string', maxLength: 1000 },
|
|
76
|
+
elementsMatching: { type: 'integer', minimum: 0 },
|
|
77
|
+
overriddenProperties: { type: 'array', items: { type: 'string', maxLength: 64 } },
|
|
78
|
+
unverifiedProperties: { type: 'array', items: { type: 'string', maxLength: 64 } },
|
|
79
|
+
file: { type: ['string', 'null'] },
|
|
80
|
+
runtime: { type: 'boolean' },
|
|
81
|
+
origin: { type: ['object', 'null'] },
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
unresolvableClasses: { type: 'array', maxItems: 100, items: { type: 'string', maxLength: 200 } },
|
|
86
|
+
unreadableSheets: { type: 'array', maxItems: 10, items: { type: 'string', maxLength: 300 } },
|
|
87
|
+
inlineProperties: { type: 'array', maxItems: 40, items: { type: 'string', maxLength: 64 } },
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
{ type: 'null' },
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
scope: {
|
|
94
|
+
oneOf: [
|
|
95
|
+
{
|
|
96
|
+
type: 'object',
|
|
97
|
+
required: ['instancesOnPage', 'siblingsSharingChain'],
|
|
98
|
+
properties: {
|
|
99
|
+
instancesOnPage: { type: 'integer', minimum: 0 },
|
|
100
|
+
siblingsSharingChain: { type: 'integer', minimum: 0 },
|
|
101
|
+
chainInstances: { type: 'array', maxItems: 64, items: { type: 'integer', minimum: 0 } },
|
|
102
|
+
choice: { enum: ['one', 'all'] },
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{ type: 'null' },
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
pinOffset: {
|
|
109
|
+
oneOf: [
|
|
110
|
+
{
|
|
111
|
+
type: 'object',
|
|
112
|
+
required: ['x', 'y'],
|
|
113
|
+
properties: { x: { type: 'number', minimum: 0, maximum: 1 }, y: { type: 'number', minimum: 0, maximum: 1 } },
|
|
114
|
+
},
|
|
115
|
+
{ type: 'null' },
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
orphanX: { type: 'number' },
|
|
119
|
+
},
|
|
120
|
+
};
|
|
121
|
+
export const replyContentSchema = {
|
|
122
|
+
type: 'object',
|
|
123
|
+
required: ['v', 'body', 'authorName'],
|
|
124
|
+
properties: {
|
|
125
|
+
v: { const: 1 },
|
|
126
|
+
body: { type: 'string', minLength: 1, maxLength: 4000 },
|
|
127
|
+
authorName: { type: 'string', minLength: 1, maxLength: 200 },
|
|
128
|
+
anchor: { oneOf: [anchor, { type: 'null' }] },
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
/** @param {unknown} value */
|
|
132
|
+
const kind = (value) => (value === null ? 'null' : Array.isArray(value) ? 'array' : typeof value === 'number' && Number.isInteger(value) ? 'integer' : typeof value);
|
|
133
|
+
/** JSON Schema `type: "number"` accepts integers but not NaN or Infinity, which JSON cannot carry. @param {unknown} value @param {string} type */
|
|
134
|
+
const isType = (value, type) => (type === 'number' ? typeof value === 'number' && Number.isFinite(value) : kind(value) === type);
|
|
135
|
+
/**
|
|
136
|
+
* Validates `value` and returns the problems as `path: message` strings (empty when valid).
|
|
137
|
+
* @param {any} schema @param {unknown} value @param {string} [path]
|
|
138
|
+
* @returns {string[]}
|
|
139
|
+
*/
|
|
140
|
+
export function schemaIssues(schema, value, path = '') {
|
|
141
|
+
const here = path === '' ? '(content)' : path;
|
|
142
|
+
if ('const' in schema && value !== schema.const)
|
|
143
|
+
return [`${here}: must be ${JSON.stringify(schema.const)}`];
|
|
144
|
+
if (schema.enum && !schema.enum.includes(value))
|
|
145
|
+
return [`${here}: must be one of ${schema.enum.join(', ')}`];
|
|
146
|
+
if (schema.oneOf) {
|
|
147
|
+
const results = schema.oneOf.map((/** @type {any} */ option) => schemaIssues(option, value, path));
|
|
148
|
+
if (results.filter((/** @type {string[]} */ issues) => issues.length === 0).length === 1)
|
|
149
|
+
return [];
|
|
150
|
+
// No alternative matched: report the non-null one, which is the shape the author meant.
|
|
151
|
+
const meant = results[schema.oneOf.findIndex((/** @type {any} */ option) => option.type !== 'null')];
|
|
152
|
+
return meant && meant.length > 0 ? meant : [`${here}: matches none of the allowed shapes`];
|
|
153
|
+
}
|
|
154
|
+
if (schema.type) {
|
|
155
|
+
const types = Array.isArray(schema.type) ? schema.type : [schema.type];
|
|
156
|
+
if (!types.some((/** @type {string} */ type) => isType(value, type)))
|
|
157
|
+
return [`${here}: must be ${types.join(' or ')}`];
|
|
158
|
+
}
|
|
159
|
+
/** @type {string[]} */
|
|
160
|
+
const issues = [];
|
|
161
|
+
if (typeof value === 'string') {
|
|
162
|
+
const length = [...value].length; // JSON Schema counts code points
|
|
163
|
+
if (schema.minLength !== undefined && length < schema.minLength)
|
|
164
|
+
issues.push(`${here}: must have at least ${schema.minLength} character(s)`);
|
|
165
|
+
if (schema.maxLength !== undefined && length > schema.maxLength)
|
|
166
|
+
issues.push(`${here}: must have at most ${schema.maxLength} characters`);
|
|
167
|
+
if (schema.pattern !== undefined && !new RegExp(schema.pattern, 'u').test(value))
|
|
168
|
+
issues.push(`${here}: must match ${schema.pattern}`);
|
|
169
|
+
}
|
|
170
|
+
if (typeof value === 'number') {
|
|
171
|
+
if (schema.minimum !== undefined && value < schema.minimum)
|
|
172
|
+
issues.push(`${here}: must be at least ${schema.minimum}`);
|
|
173
|
+
if (schema.maximum !== undefined && value > schema.maximum)
|
|
174
|
+
issues.push(`${here}: must be at most ${schema.maximum}`);
|
|
175
|
+
}
|
|
176
|
+
if (Array.isArray(value)) {
|
|
177
|
+
if (schema.maxItems !== undefined && value.length > schema.maxItems)
|
|
178
|
+
issues.push(`${here}: must have at most ${schema.maxItems} items`);
|
|
179
|
+
if (schema.items)
|
|
180
|
+
value.forEach((item, index) => issues.push(...schemaIssues(schema.items, item, `${path}[${index}]`)));
|
|
181
|
+
}
|
|
182
|
+
if (kind(value) === 'object') {
|
|
183
|
+
const object = /** @type {Record<string, unknown>} */ (value);
|
|
184
|
+
for (const name of schema.required ?? [])
|
|
185
|
+
if (!(name in object) || object[name] === undefined)
|
|
186
|
+
issues.push(`${path === '' ? '' : `${path}.`}${name}: is required`);
|
|
187
|
+
for (const [name, sub] of Object.entries(schema.properties ?? {})) {
|
|
188
|
+
if (name in object && object[name] !== undefined)
|
|
189
|
+
issues.push(...schemaIssues(sub, object[name], `${path === '' ? '' : `${path}.`}${name}`));
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return issues;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Paths of non-finite numbers anywhere in `value`, including inside unknown properties: JSON turns
|
|
196
|
+
* NaN and Infinity into `null`, so sealing them would silently change the content.
|
|
197
|
+
* @param {unknown} value @param {string} [path]
|
|
198
|
+
* @returns {string[]}
|
|
199
|
+
*/
|
|
200
|
+
export function nonFiniteNumbers(value, path = '') {
|
|
201
|
+
if (typeof value === 'number')
|
|
202
|
+
return Number.isFinite(value) ? [] : [path || '(content)'];
|
|
203
|
+
if (Array.isArray(value))
|
|
204
|
+
return value.flatMap((item, index) => nonFiniteNumbers(item, `${path}[${index}]`));
|
|
205
|
+
if (value !== null && typeof value === 'object')
|
|
206
|
+
return Object.entries(value).flatMap(([name, item]) => nonFiniteNumbers(item, path === '' ? name : `${path}.${name}`));
|
|
207
|
+
return [];
|
|
208
|
+
}
|
|
209
|
+
//# sourceMappingURL=content-schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-schema.js","sourceRoot":"","sources":["../../src/remote/content-schema.js"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,MAAM,GAAG;IACb,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,CAAC;IAC/E,UAAU,EAAE;QACV,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;QAC/C,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE;QACxC,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACrC,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE;QACvC,aAAa,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;QAC3D,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE;QAC5C,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE;KAC1D;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,CAAC;IAC1D,UAAU,EAAE;QAC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