@m0saic/templates 0.2.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/LICENSE +13 -0
- package/README.md +7 -0
- package/dist/freeze.d.ts +406 -0
- package/dist/freeze.js +855 -0
- package/dist/gen-geometry-matrix.d.ts +1 -0
- package/dist/gen-geometry-matrix.js +177 -0
- package/dist/gen-geometry-proof.d.ts +1 -0
- package/dist/gen-geometry-proof.js +259 -0
- package/dist/gen-layout-envelope.d.ts +1 -0
- package/dist/gen-layout-envelope.js +120 -0
- package/dist/gen-precision-sweep.d.ts +1 -0
- package/dist/gen-precision-sweep.js +219 -0
- package/dist/gen-props-shape.d.ts +1 -0
- package/dist/gen-props-shape.js +269 -0
- package/dist/gen-template-audit.d.ts +1 -0
- package/dist/gen-template-audit.js +379 -0
- package/dist/gen-template-manifest.d.ts +1 -0
- package/dist/gen-template-manifest.js +162 -0
- package/dist/gen-web-template-ids.d.ts +1 -0
- package/dist/gen-web-template-ids.js +65 -0
- package/dist/geometry-audit.d.ts +149 -0
- package/dist/geometry-audit.js +368 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +29 -0
- package/dist/m0saic/_shared/onboarding-cover.d.ts +95 -0
- package/dist/m0saic/_shared/onboarding-cover.js +247 -0
- package/dist/m0saic/_shared/raster.d.ts +28 -0
- package/dist/m0saic/_shared/raster.js +146 -0
- package/dist/m0saic/_shared/svgRaster.d.ts +40 -0
- package/dist/m0saic/_shared/svgRaster.js +142 -0
- package/dist/m0saic/agents/commit-feed/index.d.ts +1 -0
- package/dist/m0saic/agents/commit-feed/index.js +17 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.d.ts +68 -0
- package/dist/m0saic/agents/commit-feed/v1/commit-feed.js +293 -0
- package/dist/m0saic/agents/commit-feed/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/commit-feed/v1/index.js +11 -0
- package/dist/m0saic/agents/index.d.ts +7 -0
- package/dist/m0saic/agents/index.js +25 -0
- package/dist/m0saic/agents/trace-timeline/index.d.ts +1 -0
- package/dist/m0saic/agents/trace-timeline/index.js +17 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.d.ts +2 -0
- package/dist/m0saic/agents/trace-timeline/v1/index.js +15 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.d.ts +73 -0
- package/dist/m0saic/agents/trace-timeline/v1/trace-timeline.js +356 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.d.ts +65 -0
- package/dist/m0saic/alpine/_shared/alpine-anim.js +142 -0
- package/dist/m0saic/alpine/_shared/alpine-card.d.ts +114 -0
- package/dist/m0saic/alpine/_shared/alpine-card.js +193 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.d.ts +23 -0
- package/dist/m0saic/alpine/_shared/alpine-glyphs.js +46 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.d.ts +84 -0
- package/dist/m0saic/alpine/_shared/alpine-theme.js +155 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.d.ts +85 -0
- package/dist/m0saic/alpine/bar-graph/v1/bar-graph.js +558 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/bar-graph/v1/index.js +9 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.d.ts +64 -0
- package/dist/m0saic/alpine/commit-feed/v1/commit-feed.js +261 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v1/index.js +5 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.d.ts +78 -0
- package/dist/m0saic/alpine/commit-feed/v2/commit-feed.js +509 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/commit-feed/v2/index.js +5 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/README.md +13 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-lite.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/assets/layout-standard.m0 +9 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.d.ts +76 -0
- package/dist/m0saic/alpine/contributor-table/v1/contributor-table.js +651 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/contributor-table/v1/index.js +5 -0
- package/dist/m0saic/alpine/donut/v1/donut.d.ts +55 -0
- package/dist/m0saic/alpine/donut/v1/donut.js +322 -0
- package/dist/m0saic/alpine/donut/v1/index.d.ts +5 -0
- package/dist/m0saic/alpine/donut/v1/index.js +9 -0
- package/dist/m0saic/alpine/donut/v2/donut.d.ts +58 -0
- package/dist/m0saic/alpine/donut/v2/donut.js +268 -0
- package/dist/m0saic/alpine/donut/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v2/index.js +5 -0
- package/dist/m0saic/alpine/donut/v3/donut.d.ts +65 -0
- package/dist/m0saic/alpine/donut/v3/donut.js +428 -0
- package/dist/m0saic/alpine/donut/v3/index.d.ts +1 -0
- package/dist/m0saic/alpine/donut/v3/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.d.ts +68 -0
- package/dist/m0saic/alpine/heatmap/v1/heatmap.js +370 -0
- package/dist/m0saic/alpine/heatmap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v1/index.js +5 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.d.ts +73 -0
- package/dist/m0saic/alpine/heatmap/v2/heatmap.js +582 -0
- package/dist/m0saic/alpine/heatmap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/heatmap/v2/index.js +5 -0
- package/dist/m0saic/alpine/index.d.ts +20 -0
- package/dist/m0saic/alpine/index.js +37 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.d.ts +54 -0
- package/dist/m0saic/alpine/kpi-card/v1/kpi-card.js +311 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/kpi-card/v2/index.js +5 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.d.ts +60 -0
- package/dist/m0saic/alpine/kpi-card/v2/kpi-card.js +362 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/leaderboard/v1/index.js +5 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.d.ts +58 -0
- package/dist/m0saic/alpine/leaderboard/v1/leaderboard.js +313 -0
- package/dist/m0saic/alpine/line-chart/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v1/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.d.ts +70 -0
- package/dist/m0saic/alpine/line-chart/v1/line-chart.js +408 -0
- package/dist/m0saic/alpine/line-chart/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/line-chart/v2/index.js +5 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.d.ts +72 -0
- package/dist/m0saic/alpine/line-chart/v2/line-chart.js +434 -0
- package/dist/m0saic/alpine/progress-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/progress-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.d.ts +53 -0
- package/dist/m0saic/alpine/progress-card/v1/progress-card.js +333 -0
- package/dist/m0saic/alpine/stat-card/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/stat-card/v1/index.js +5 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.d.ts +76 -0
- package/dist/m0saic/alpine/stat-card/v1/stat-card.js +295 -0
- package/dist/m0saic/alpine/timeline/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v1/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.d.ts +55 -0
- package/dist/m0saic/alpine/timeline/v1/timeline.js +266 -0
- package/dist/m0saic/alpine/timeline/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/timeline/v2/index.js +5 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.d.ts +61 -0
- package/dist/m0saic/alpine/timeline/v2/timeline.js +371 -0
- package/dist/m0saic/alpine/treemap/v1/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v1/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.d.ts +56 -0
- package/dist/m0saic/alpine/treemap/v1/treemap.js +326 -0
- package/dist/m0saic/alpine/treemap/v2/index.d.ts +1 -0
- package/dist/m0saic/alpine/treemap/v2/index.js +5 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.d.ts +59 -0
- package/dist/m0saic/alpine/treemap/v2/treemap.js +323 -0
- package/dist/m0saic/benchmark/battery/assets/media/README.md +16 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-av.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-01.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-02.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-03.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/media/bbb-clip-04.mp4 +0 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/duration-long.mosaic +80 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/encoders-base.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/geometry-grid.mosaic +592 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/lifetime-window-fade.mosaic +28 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-bar-graph.mosaic +1980 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-donut.mosaic +797 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-screencap-grid.mosaic +4591 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/real-stat-card.mosaic +187 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-audio.mosaic +31 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-lavfi.mosaic +32 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-media.mosaic +73 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-nested.mosaic +48 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-ref.mosaic +24 -0
- package/dist/m0saic/benchmark/battery/assets/scenarios/sources-text.mosaic +120 -0
- package/dist/m0saic/benchmark/battery/manifest.d.ts +65 -0
- package/dist/m0saic/benchmark/battery/manifest.js +97 -0
- package/dist/m0saic/benchmark/index.d.ts +2 -0
- package/dist/m0saic/benchmark/index.js +22 -0
- package/dist/m0saic/benchmark/report/v1/assets/m-logo.png +0 -0
- package/dist/m0saic/benchmark/report/v1/assets/sample-session/benchmark.json +41 -0
- package/dist/m0saic/benchmark/report/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/report/v1/index.js +17 -0
- package/dist/m0saic/benchmark/report/v1/report.d.ts +23 -0
- package/dist/m0saic/benchmark/report/v1/report.js +242 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.d.ts +57 -0
- package/dist/m0saic/benchmark/run/v1/benchmarkRun.js +151 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.d.ts +11 -0
- package/dist/m0saic/benchmark/run/v1/confirmation.js +48 -0
- package/dist/m0saic/benchmark/run/v1/index.d.ts +1 -0
- package/dist/m0saic/benchmark/run/v1/index.js +17 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.d.ts +12 -0
- package/dist/m0saic/benchmark/run/v1/renderScenario.js +122 -0
- package/dist/m0saic/benchmark/run/v1/runner.d.ts +10 -0
- package/dist/m0saic/benchmark/run/v1/runner.js +208 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.d.ts +68 -0
- package/dist/m0saic/brand/business-card/v1/back-catalog.js +121 -0
- package/dist/m0saic/brand/business-card/v1/business-card.d.ts +82 -0
- package/dist/m0saic/brand/business-card/v1/business-card.js +517 -0
- package/dist/m0saic/brand/business-card/v1/index.d.ts +4 -0
- package/dist/m0saic/brand/business-card/v1/index.js +16 -0
- package/dist/m0saic/brand/business-card/v1/layout.d.ts +163 -0
- package/dist/m0saic/brand/business-card/v1/layout.js +369 -0
- package/dist/m0saic/brand/community-m/v1/camera.d.ts +45 -0
- package/dist/m0saic/brand/community-m/v1/camera.js +44 -0
- package/dist/m0saic/brand/community-m/v1/caption.d.ts +5 -0
- package/dist/m0saic/brand/community-m/v1/caption.js +18 -0
- package/dist/m0saic/brand/community-m/v1/community-m.d.ts +25 -0
- package/dist/m0saic/brand/community-m/v1/community-m.js +117 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/community-m.web.js +172 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/gen-seed-piece.js +59 -0
- package/dist/m0saic/brand/community-m/v1/geometry.d.ts +44 -0
- package/dist/m0saic/brand/community-m/v1/geometry.js +68 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.d.ts +3 -0
- package/dist/m0saic/brand/community-m/v1/imageSize.node.js +60 -0
- package/dist/m0saic/brand/community-m/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/community-m/v1/index.js +5 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/loadPiece.node.js +69 -0
- package/dist/m0saic/brand/community-m/v1/manifest.d.ts +22 -0
- package/dist/m0saic/brand/community-m/v1/manifest.js +81 -0
- package/dist/m0saic/brand/community-m/v1/mark.d.ts +76 -0
- package/dist/m0saic/brand/community-m/v1/mark.js +136 -0
- package/dist/m0saic/brand/community-m/v1/paths.d.ts +14 -0
- package/dist/m0saic/brand/community-m/v1/paths.js +61 -0
- package/dist/m0saic/brand/community-m/v1/piece.d.ts +28 -0
- package/dist/m0saic/brand/community-m/v1/piece.js +35 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.d.ts +122 -0
- package/dist/m0saic/brand/community-m/v1/pipeline.js +461 -0
- package/dist/m0saic/brand/community-m/v1/preview.d.ts +75 -0
- package/dist/m0saic/brand/community-m/v1/preview.js +214 -0
- package/dist/m0saic/brand/community-m/v1/props.d.ts +101 -0
- package/dist/m0saic/brand/community-m/v1/props.js +178 -0
- package/dist/m0saic/brand/community-m/v1/reveal.d.ts +129 -0
- package/dist/m0saic/brand/community-m/v1/reveal.js +155 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.d.ts +57 -0
- package/dist/m0saic/brand/community-m/v1/seedPiece.js +153 -0
- package/dist/m0saic/brand/community-m/v1/target.d.ts +88 -0
- package/dist/m0saic/brand/community-m/v1/target.js +132 -0
- package/dist/m0saic/brand/community-m/v1/timing.d.ts +32 -0
- package/dist/m0saic/brand/community-m/v1/timing.js +57 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.d.ts +23 -0
- package/dist/m0saic/brand/community-m/v1/webPiece.js +42 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.d.ts +34 -0
- package/dist/m0saic/brand/community-m/v1/wordmark.js +62 -0
- package/dist/m0saic/brand/index.d.ts +7 -0
- package/dist/m0saic/brand/index.js +17 -0
- package/dist/m0saic/brand/logo/v1/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v1/index.js +5 -0
- package/dist/m0saic/brand/logo/v1/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v1/logo.js +471 -0
- package/dist/m0saic/brand/logo/v2/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v2/index.js +5 -0
- package/dist/m0saic/brand/logo/v2/logo.d.ts +30 -0
- package/dist/m0saic/brand/logo/v2/logo.js +615 -0
- package/dist/m0saic/brand/logo/v3/index.d.ts +1 -0
- package/dist/m0saic/brand/logo/v3/index.js +5 -0
- package/dist/m0saic/brand/logo/v3/logo.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo.js +666 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.d.ts +36 -0
- package/dist/m0saic/brand/logo/v3/logo_runner.js +216 -0
- package/dist/m0saic/brand/qr-stamp/assets/brand-qr-with-logo.svg +8 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.dark.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.mp4 +0 -0
- package/dist/m0saic/brand/qr-stamp/assets/qr-animate.light.static.png +0 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/index.js +10 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.d.ts +45 -0
- package/dist/m0saic/brand/qr-stamp/still/v1/qr-stamp-still.js +347 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.d.ts +2 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/index.js +9 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.d.ts +43 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/qr-stamp.js +447 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.d.ts +19 -0
- package/dist/m0saic/brand/qr-stamp/video/v2/windows.js +24 -0
- package/dist/m0saic/charts/_shared/index.d.ts +8 -0
- package/dist/m0saic/charts/_shared/index.js +24 -0
- package/dist/m0saic/charts/_shared/line.d.ts +100 -0
- package/dist/m0saic/charts/_shared/line.js +134 -0
- package/dist/m0saic/charts/_shared/scale.d.ts +9 -0
- package/dist/m0saic/charts/_shared/scale.js +17 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.d.ts +83 -0
- package/dist/m0saic/charts/bar-graph/v1/anim.js +104 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.d.ts +51 -0
- package/dist/m0saic/charts/bar-graph/v1/axis.js +73 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.d.ts +44 -0
- package/dist/m0saic/charts/bar-graph/v1/bar-graph.js +316 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.d.ts +88 -0
- package/dist/m0saic/charts/bar-graph/v1/defaults.js +157 -0
- package/dist/m0saic/charts/bar-graph/v1/format.d.ts +46 -0
- package/dist/m0saic/charts/bar-graph/v1/format.js +95 -0
- package/dist/m0saic/charts/bar-graph/v1/index.d.ts +31 -0
- package/dist/m0saic/charts/bar-graph/v1/index.js +36 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.d.ts +53 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-cell.js +198 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.d.ts +4 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bar-fill.js +154 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.d.ts +41 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/bars-stack.js +208 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.d.ts +32 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/chart-frame.js +124 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.d.ts +52 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/labels.js +504 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.d.ts +24 -0
- package/dist/m0saic/charts/bar-graph/v1/internal/plot-area.js +180 -0
- package/dist/m0saic/charts/bar-graph/v1/types.d.ts +326 -0
- package/dist/m0saic/charts/bar-graph/v1/types.js +36 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.d.ts +131 -0
- package/dist/m0saic/charts/bar-graph/v2/bar-graph.js +768 -0
- package/dist/m0saic/charts/bar-graph/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/bar-graph/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v1/anim.d.ts +54 -0
- package/dist/m0saic/charts/donut/v1/anim.js +84 -0
- package/dist/m0saic/charts/donut/v1/donut.d.ts +87 -0
- package/dist/m0saic/charts/donut/v1/donut.js +400 -0
- package/dist/m0saic/charts/donut/v1/geometry.d.ts +55 -0
- package/dist/m0saic/charts/donut/v1/geometry.js +115 -0
- package/dist/m0saic/charts/donut/v1/index.d.ts +11 -0
- package/dist/m0saic/charts/donut/v1/index.js +17 -0
- package/dist/m0saic/charts/donut/v2/donut.d.ts +67 -0
- package/dist/m0saic/charts/donut/v2/donut.js +307 -0
- package/dist/m0saic/charts/donut/v2/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v2/index.js +14 -0
- package/dist/m0saic/charts/donut/v3/anim.d.ts +47 -0
- package/dist/m0saic/charts/donut/v3/anim.js +77 -0
- package/dist/m0saic/charts/donut/v3/donut.d.ts +54 -0
- package/dist/m0saic/charts/donut/v3/donut.js +531 -0
- package/dist/m0saic/charts/donut/v3/geometry.d.ts +74 -0
- package/dist/m0saic/charts/donut/v3/geometry.js +152 -0
- package/dist/m0saic/charts/donut/v3/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v3/index.js +14 -0
- package/dist/m0saic/charts/donut/v4/donut.d.ts +63 -0
- package/dist/m0saic/charts/donut/v4/donut.js +546 -0
- package/dist/m0saic/charts/donut/v4/index.d.ts +10 -0
- package/dist/m0saic/charts/donut/v4/index.js +14 -0
- package/dist/m0saic/charts/index.d.ts +8 -0
- package/dist/m0saic/charts/index.js +25 -0
- package/dist/m0saic/charts/line-chart/v1/anim.d.ts +78 -0
- package/dist/m0saic/charts/line-chart/v1/anim.js +119 -0
- package/dist/m0saic/charts/line-chart/v1/axis.d.ts +48 -0
- package/dist/m0saic/charts/line-chart/v1/axis.js +55 -0
- package/dist/m0saic/charts/line-chart/v1/card.d.ts +27 -0
- package/dist/m0saic/charts/line-chart/v1/card.js +44 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.d.ts +110 -0
- package/dist/m0saic/charts/line-chart/v1/chrome-spec.js +208 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.d.ts +30 -0
- package/dist/m0saic/charts/line-chart/v1/chrome.js +335 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.d.ts +65 -0
- package/dist/m0saic/charts/line-chart/v1/defaults.js +151 -0
- package/dist/m0saic/charts/line-chart/v1/format.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/format.js +76 -0
- package/dist/m0saic/charts/line-chart/v1/frame.d.ts +50 -0
- package/dist/m0saic/charts/line-chart/v1/frame.js +62 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.d.ts +15 -0
- package/dist/m0saic/charts/line-chart/v1/geometry.js +34 -0
- package/dist/m0saic/charts/line-chart/v1/index.d.ts +16 -0
- package/dist/m0saic/charts/line-chart/v1/index.js +21 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.d.ts +26 -0
- package/dist/m0saic/charts/line-chart/v1/line-chart.js +634 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.d.ts +69 -0
- package/dist/m0saic/charts/line-chart/v1/line-series.js +259 -0
- package/dist/m0saic/charts/line-chart/v1/types.d.ts +328 -0
- package/dist/m0saic/charts/line-chart/v1/types.js +24 -0
- package/dist/m0saic/charts/stat-card/v1/index.d.ts +10 -0
- package/dist/m0saic/charts/stat-card/v1/index.js +15 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.d.ts +78 -0
- package/dist/m0saic/charts/stat-card/v1/stat-card.js +475 -0
- package/dist/m0saic/code/_shared/code-diff.d.ts +73 -0
- package/dist/m0saic/code/_shared/code-diff.js +220 -0
- package/dist/m0saic/code/_shared/code-lexer.d.ts +28 -0
- package/dist/m0saic/code/_shared/code-lexer.js +226 -0
- package/dist/m0saic/code/_shared/code-metrics.d.ts +58 -0
- package/dist/m0saic/code/_shared/code-metrics.js +140 -0
- package/dist/m0saic/code/_shared/code-theme.d.ts +30 -0
- package/dist/m0saic/code/_shared/code-theme.js +141 -0
- package/dist/m0saic/code/index.d.ts +1 -0
- package/dist/m0saic/code/index.js +17 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.d.ts +60 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/chrome.js +252 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.d.ts +90 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/plan.js +226 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.d.ts +103 -0
- package/dist/m0saic/code/snippet-morph/v1/internal/steps.js +313 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.d.ts +61 -0
- package/dist/m0saic/code/snippet-morph/v1/snippet-morph.js +462 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.d.ts +18 -0
- package/dist/m0saic/collage/image-collage/v1/demo-fixture.js +30 -0
- package/dist/m0saic/collage/image-collage/v1/emit.d.ts +81 -0
- package/dist/m0saic/collage/image-collage/v1/emit.js +163 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.d.ts +63 -0
- package/dist/m0saic/collage/image-collage/v1/image-collage.js +386 -0
- package/dist/m0saic/collage/image-collage/v1/index.d.ts +2 -0
- package/dist/m0saic/collage/image-collage/v1/index.js +5 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.d.ts +71 -0
- package/dist/m0saic/collage/image-collage/v1/packer/candidates.js +211 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.d.ts +26 -0
- package/dist/m0saic/collage/image-collage/v1/packer/classify.js +70 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.d.ts +7 -0
- package/dist/m0saic/collage/image-collage/v1/packer/index.js +23 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.d.ts +39 -0
- package/dist/m0saic/collage/image-collage/v1/packer/paging.js +139 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.d.ts +25 -0
- package/dist/m0saic/collage/image-collage/v1/packer/score.js +69 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.d.ts +27 -0
- package/dist/m0saic/collage/image-collage/v1/packer/solve.js +84 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.d.ts +65 -0
- package/dist/m0saic/collage/image-collage/v1/packer/tiler.js +607 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.d.ts +99 -0
- package/dist/m0saic/collage/image-collage/v1/packer/types.js +10 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.d.ts +17 -0
- package/dist/m0saic/collage/image-collage/v1/tutorial.js +269 -0
- package/dist/m0saic/collage/index.d.ts +2 -0
- package/dist/m0saic/collage/index.js +18 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.d.ts +7 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/grid-fixture.js +11 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.d.ts +1 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/index.js +5 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.d.ts +29 -0
- package/dist/m0saic/collage/spread-grid-mock/v1/spread-grid-mock.js +78 -0
- package/dist/m0saic/dsl-tutorial/index.d.ts +1 -0
- package/dist/m0saic/dsl-tutorial/index.js +18 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/brand-glyphs.js +17 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.d.ts +6 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/m0saic-logo.js +9 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.d.ts +57 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/node-kit.js +156 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.d.ts +76 -0
- package/dist/m0saic/dsl-tutorial/v1/_shared/text-fit.js +127 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.d.ts +124 -0
- package/dist/m0saic/dsl-tutorial/v1/dsl-tutorial.js +675 -0
- package/dist/m0saic/dsl-tutorial/v1/index.d.ts +24 -0
- package/dist/m0saic/dsl-tutorial/v1/index.js +35 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.d.ts +113 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/canvas/v1/dsl-canvas.js +573 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.d.ts +83 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/chrome/v1/dsl-chrome.js +373 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.d.ts +48 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/dsl-string/v1/dsl-string.js +366 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.d.ts +54 -0
- package/dist/m0saic/dsl-tutorial/v1/panels/inspector/v1/dsl-inspector.js +304 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.d.ts +110 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/buildSteps.js +443 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.d.ts +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/camera.js +177 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.d.ts +47 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/cursor.js +64 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.d.ts +61 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/dslString.js +135 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.d.ts +62 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/inspector.js +197 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.d.ts +117 -0
- package/dist/m0saic/dsl-tutorial/v1/pipeline/timing.js +180 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.d.ts +87 -0
- package/dist/m0saic/dsl-tutorial/v1/theme/tokens.js +96 -0
- package/dist/m0saic/forensic/index.d.ts +1 -0
- package/dist/m0saic/forensic/index.js +17 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.d.ts +37 -0
- package/dist/m0saic/forensic/watermark/_shared/cellLuminance.js +62 -0
- package/dist/m0saic/forensic/watermark/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/index.js +18 -0
- package/dist/m0saic/forensic/watermark/verify/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/verify/index.js +17 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.d.ts +83 -0
- package/dist/m0saic/forensic/watermark/verify/v1/decode.js +270 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/verify/v1/index.js +23 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.d.ts +71 -0
- package/dist/m0saic/forensic/watermark/verify/v1/report.js +428 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.d.ts +55 -0
- package/dist/m0saic/forensic/watermark/verify/v1/verify.js +286 -0
- package/dist/m0saic/forensic/watermark/video/index.d.ts +1 -0
- package/dist/m0saic/forensic/watermark/video/index.js +17 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.d.ts +119 -0
- package/dist/m0saic/forensic/watermark/video/v1/forensic-watermark.js +629 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.d.ts +2 -0
- package/dist/m0saic/forensic/watermark/video/v1/index.js +9 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.d.ts +67 -0
- package/dist/m0saic/forensic/watermark/video/v1/maskAsset.js +125 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.d.ts +69 -0
- package/dist/m0saic/forensic/watermark/video/v1/probeHost.js +83 -0
- package/dist/m0saic/github/client.d.ts +200 -0
- package/dist/m0saic/github/client.js +161 -0
- package/dist/m0saic/github/connection.d.ts +24 -0
- package/dist/m0saic/github/connection.js +91 -0
- package/dist/m0saic/github/index.d.ts +20 -0
- package/dist/m0saic/github/index.js +42 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.d.ts +4 -0
- package/dist/m0saic/github/repo-facts-fetcher/index.js +20 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.d.ts +54 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/build-facts.js +238 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.d.ts +112 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/facts.js +12 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.d.ts +67 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/repo-facts-fetcher.js +210 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.d.ts +16 -0
- package/dist/m0saic/github/repo-facts-fetcher/v1/sample-facts.js +175 -0
- package/dist/m0saic/github/week-math.d.ts +50 -0
- package/dist/m0saic/github/week-math.js +96 -0
- package/dist/m0saic/github/weekly-pulse/index.d.ts +1 -0
- package/dist/m0saic/github/weekly-pulse/index.js +17 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.d.ts +51 -0
- package/dist/m0saic/github/weekly-pulse/v1/weekly-pulse.js +153 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.d.ts +2 -0
- package/dist/m0saic/github/weekly-pulse-adapter/index.js +18 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.d.ts +24 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/derive-pulse.js +257 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.d.ts +35 -0
- package/dist/m0saic/github/weekly-pulse-adapter/v1/weekly-pulse-adapter.js +131 -0
- package/dist/m0saic/github/year-card/index.d.ts +1 -0
- package/dist/m0saic/github/year-card/index.js +17 -0
- package/dist/m0saic/github/year-card/v1/index.d.ts +2 -0
- package/dist/m0saic/github/year-card/v1/index.js +16 -0
- package/dist/m0saic/github/year-card/v1/year-card.d.ts +90 -0
- package/dist/m0saic/github/year-card/v1/year-card.js +476 -0
- package/dist/m0saic/hello-world/index.d.ts +1 -0
- package/dist/m0saic/hello-world/index.js +18 -0
- package/dist/m0saic/hello-world/v1/hello-world.d.ts +4 -0
- package/dist/m0saic/hello-world/v1/hello-world.js +36 -0
- package/dist/m0saic/hello-world/v1/index.d.ts +5 -0
- package/dist/m0saic/hello-world/v1/index.js +9 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/bake-fin-qr.sh +11 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg-logo.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/ffmpeg_logo_480x480.svg +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/m-hero.png +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/qr-fin.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-desktop.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-layout.m0p +5146 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-mobile.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/scatter-square.mp4 +0 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/assets/title-layout.m0p +130 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.d.ts +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-chrome.js +305 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.d.ts +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-data.js +238 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-glyphs.js +12 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.d.ts +67 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/pulse-theme.js +59 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/_shared/scatter.js +173 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/activity-trend.js +178 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/activity-trend/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/changes-breakdown.js +164 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/changes-breakdown/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.d.ts +37 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/contributions.js +159 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/contributions/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.d.ts +31 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/fin.js +154 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/fin/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.d.ts +10 -0
- package/dist/m0saic/hero/ffmpeg-pulse/index.js +24 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/kpi-overview/v1/kpi-overview.js +161 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.d.ts +36 -0
- package/dist/m0saic/hero/ffmpeg-pulse/notable-commits/v1/notable-commits.js +151 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.d.ts +54 -0
- package/dist/m0saic/hero/ffmpeg-pulse/runner/v1/runner.js +128 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.d.ts +29 -0
- package/dist/m0saic/hero/ffmpeg-pulse/scatter-bake/v1/scatter-bake.js +47 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.d.ts +20 -0
- package/dist/m0saic/hero/ffmpeg-pulse/title/v1/title.js +365 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.d.ts +1 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/index.js +5 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.d.ts +38 -0
- package/dist/m0saic/hero/ffmpeg-pulse/top-contributors/v1/top-contributors.js +174 -0
- package/dist/m0saic/hero/index.d.ts +1 -0
- package/dist/m0saic/hero/index.js +18 -0
- package/dist/m0saic/index.d.ts +20 -0
- package/dist/m0saic/index.js +56 -0
- package/dist/m0saic/media/barcode/v1/barcode.d.ts +22 -0
- package/dist/m0saic/media/barcode/v1/barcode.js +218 -0
- package/dist/m0saic/media/barcode/v1/index.d.ts +1 -0
- package/dist/m0saic/media/barcode/v1/index.js +9 -0
- package/dist/m0saic/media/blur-regions/index.d.ts +1 -0
- package/dist/m0saic/media/blur-regions/index.js +17 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.d.ts +58 -0
- package/dist/m0saic/media/blur-regions/v1/blur-regions.js +303 -0
- package/dist/m0saic/media/blur-regions/v1/index.d.ts +2 -0
- package/dist/m0saic/media/blur-regions/v1/index.js +20 -0
- package/dist/m0saic/media/blur-regions/v1/plan.d.ts +125 -0
- package/dist/m0saic/media/blur-regions/v1/plan.js +204 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.d.ts +18 -0
- package/dist/m0saic/media/blur-regions/v1/tutorial.js +428 -0
- package/dist/m0saic/media/highlights/index.d.ts +1 -0
- package/dist/m0saic/media/highlights/index.js +17 -0
- package/dist/m0saic/media/highlights/v1/assets/cover-ranges.jpg +0 -0
- package/dist/m0saic/media/highlights/v1/highlights.d.ts +49 -0
- package/dist/m0saic/media/highlights/v1/highlights.js +222 -0
- package/dist/m0saic/media/highlights/v1/index.d.ts +3 -0
- package/dist/m0saic/media/highlights/v1/index.js +19 -0
- package/dist/m0saic/media/highlights/v1/pipeline.d.ts +35 -0
- package/dist/m0saic/media/highlights/v1/pipeline.js +91 -0
- package/dist/m0saic/media/highlights/v1/plan.d.ts +46 -0
- package/dist/m0saic/media/highlights/v1/plan.js +68 -0
- package/dist/m0saic/media/index.d.ts +13 -0
- package/dist/m0saic/media/index.js +31 -0
- package/dist/m0saic/media/logo-animate/index.d.ts +1 -0
- package/dist/m0saic/media/logo-animate/index.js +17 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.d.ts +12 -0
- package/dist/m0saic/media/logo-animate/v1/default-logo.js +49 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.d.ts +66 -0
- package/dist/m0saic/media/logo-animate/v1/expressions.js +107 -0
- package/dist/m0saic/media/logo-animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/logo-animate/v1/index.js +5 -0
- package/dist/m0saic/media/logo-animate/v1/layout.d.ts +29 -0
- package/dist/m0saic/media/logo-animate/v1/layout.js +43 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.d.ts +106 -0
- package/dist/m0saic/media/logo-animate/v1/logo-animate.js +732 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.d.ts +63 -0
- package/dist/m0saic/media/logo-animate/v1/svg-source.js +127 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.d.ts +16 -0
- package/dist/m0saic/media/logo-animate/v1/tutorial.js +378 -0
- package/dist/m0saic/media/metadata-stamp/index.d.ts +1 -0
- package/dist/m0saic/media/metadata-stamp/index.js +17 -0
- package/dist/m0saic/media/metadata-stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.d.ts +52 -0
- package/dist/m0saic/media/metadata-stamp/v1/format-date.js +128 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.d.ts +4 -0
- package/dist/m0saic/media/metadata-stamp/v1/index.js +10 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.d.ts +58 -0
- package/dist/m0saic/media/metadata-stamp/v1/metadata-stamp.js +534 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.d.ts +28 -0
- package/dist/m0saic/media/qr/_shared/brandMCenter.js +52 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.d.ts +164 -0
- package/dist/m0saic/media/qr/animate/v1/expressions.js +251 -0
- package/dist/m0saic/media/qr/animate/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v1/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.d.ts +171 -0
- package/dist/m0saic/media/qr/animate/v1/qr-animate.js +775 -0
- package/dist/m0saic/media/qr/animate/v2/index.d.ts +2 -0
- package/dist/m0saic/media/qr/animate/v2/index.js +9 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.d.ts +64 -0
- package/dist/m0saic/media/qr/animate/v2/qr-animate.js +341 -0
- package/dist/m0saic/media/qr/basic/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/basic/v1/index.js +10 -0
- package/dist/m0saic/media/qr/basic/v1/qr.d.ts +24 -0
- package/dist/m0saic/media/qr/basic/v1/qr.js +132 -0
- package/dist/m0saic/media/qr/code/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/code/v1/index.js +9 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.d.ts +135 -0
- package/dist/m0saic/media/qr/code/v1/qr-code.js +611 -0
- package/dist/m0saic/media/qr/index.d.ts +7 -0
- package/dist/m0saic/media/qr/index.js +19 -0
- package/dist/m0saic/media/qr/rounded/v1/index.d.ts +1 -0
- package/dist/m0saic/media/qr/rounded/v1/index.js +9 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.d.ts +68 -0
- package/dist/m0saic/media/qr/rounded/v1/qr-rounded.js +338 -0
- package/dist/m0saic/media/qr/stamp/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.d.ts +44 -0
- package/dist/m0saic/media/qr/stamp/v1/qr-stamp-custom.js +389 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.d.ts +10 -0
- package/dist/m0saic/media/qr/stamp-video/v1/expressions.js +18 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.d.ts +115 -0
- package/dist/m0saic/media/qr/stamp-video/v1/gleamBand.js +206 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.d.ts +2 -0
- package/dist/m0saic/media/qr/stamp-video/v1/index.js +9 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.d.ts +82 -0
- package/dist/m0saic/media/qr/stamp-video/v1/qr-stamp.js +424 -0
- package/dist/m0saic/media/screencap_grid/index.d.ts +3 -0
- package/dist/m0saic/media/screencap_grid/index.js +9 -0
- package/dist/m0saic/media/screencap_grid/internal/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/internal/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid/internal/info_pane.js +130 -0
- package/dist/m0saic/media/screencap_grid/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.d.ts +162 -0
- package/dist/m0saic/media/screencap_grid/v1/screencap-grid.js +690 -0
- package/dist/m0saic/media/screencap_grid/v2/assets/tutorial-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid/v2/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid/v2/index.js +5 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.d.ts +9 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover-assets.js +12 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.d.ts +97 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-cover.js +367 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.d.ts +38 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid-tutorial.js +530 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.d.ts +194 -0
- package/dist/m0saic/media/screencap_grid/v2/screencap-grid.js +615 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/assets/pair-sheet.jpg +0 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.d.ts +1 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/index.js +5 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.d.ts +18 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-cover.js +191 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.d.ts +13 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe-tutorial.js +355 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.d.ts +179 -0
- package/dist/m0saic/media/screencap_grid_aspect_safe/v1/screencap-grid-aspect-safe.js +544 -0
- package/dist/m0saic/media/scroll_wall/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.d.ts +131 -0
- package/dist/m0saic/media/scroll_wall/v1/geometry.js +172 -0
- package/dist/m0saic/media/scroll_wall/v1/index.d.ts +1 -0
- package/dist/m0saic/media/scroll_wall/v1/index.js +5 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.d.ts +114 -0
- package/dist/m0saic/media/scroll_wall/v1/motion.js +141 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.d.ts +182 -0
- package/dist/m0saic/media/scroll_wall/v1/scroll-wall.js +432 -0
- package/dist/m0saic/media/subtitle-burn/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/index.js +17 -0
- package/dist/m0saic/media/subtitle-burn/v1/assets/cover-frame.jpg +0 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.d.ts +1 -0
- package/dist/m0saic/media/subtitle-burn/v1/index.js +6 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.d.ts +13 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn-cover.js +196 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.d.ts +137 -0
- package/dist/m0saic/media/subtitle-burn/v1/subtitle-burn.js +603 -0
- package/dist/m0saic/media/trickplay/index.d.ts +1 -0
- package/dist/m0saic/media/trickplay/index.js +17 -0
- package/dist/m0saic/media/trickplay/v1/index.d.ts +4 -0
- package/dist/m0saic/media/trickplay/v1/index.js +18 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.d.ts +51 -0
- package/dist/m0saic/media/trickplay/v1/pipeline.js +180 -0
- package/dist/m0saic/media/trickplay/v1/plan.d.ts +65 -0
- package/dist/m0saic/media/trickplay/v1/plan.js +76 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.d.ts +79 -0
- package/dist/m0saic/media/trickplay/v1/sidecars.js +89 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.d.ts +40 -0
- package/dist/m0saic/media/trickplay/v1/trickplay.js +123 -0
- package/dist/m0saic/media/video_to_png_sequence/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.d.ts +1 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/index.js +5 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.d.ts +37 -0
- package/dist/m0saic/media/video_to_png_sequence/v1/video-to-png-sequence.js +234 -0
- package/dist/m0saic/media/watermark/index.d.ts +1 -0
- package/dist/m0saic/media/watermark/index.js +17 -0
- package/dist/m0saic/media/watermark/v1/adaptive.d.ts +85 -0
- package/dist/m0saic/media/watermark/v1/adaptive.js +162 -0
- package/dist/m0saic/media/watermark/v1/content.d.ts +56 -0
- package/dist/m0saic/media/watermark/v1/content.js +160 -0
- package/dist/m0saic/media/watermark/v1/geometry.d.ts +138 -0
- package/dist/m0saic/media/watermark/v1/geometry.js +247 -0
- package/dist/m0saic/media/watermark/v1/index.d.ts +3 -0
- package/dist/m0saic/media/watermark/v1/index.js +5 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.d.ts +105 -0
- package/dist/m0saic/media/watermark/v1/pageGrid.js +203 -0
- package/dist/m0saic/media/watermark/v1/pipeline.d.ts +68 -0
- package/dist/m0saic/media/watermark/v1/pipeline.js +324 -0
- package/dist/m0saic/media/watermark/v1/watermark.d.ts +88 -0
- package/dist/m0saic/media/watermark/v1/watermark.js +452 -0
- package/dist/m0saic/meta/camera-debug/index.d.ts +1 -0
- package/dist/m0saic/meta/camera-debug/index.js +17 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.d.ts +98 -0
- package/dist/m0saic/meta/camera-debug/v1/camera-debug.js +490 -0
- package/dist/m0saic/meta/fixture-fetcher/index.d.ts +1 -0
- package/dist/m0saic/meta/fixture-fetcher/index.js +17 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.d.ts +76 -0
- package/dist/m0saic/meta/fixture-fetcher/v1/fixture-fetcher.js +159 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.d.ts +1 -0
- package/dist/m0saic/meta/hot-reload-smoke/index.js +17 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.d.ts +50 -0
- package/dist/m0saic/meta/hot-reload-smoke/v1/hot-reload-smoke.js +131 -0
- package/dist/m0saic/meta/index.d.ts +13 -0
- package/dist/m0saic/meta/index.js +29 -0
- package/dist/m0saic/meta/post-mortem/index.d.ts +1 -0
- package/dist/m0saic/meta/post-mortem/index.js +17 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/human.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/assets/robot.png +0 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.d.ts +47 -0
- package/dist/m0saic/meta/post-mortem/v1/post-mortem.js +634 -0
- package/dist/m0saic/meta/upstream-echo/index.d.ts +1 -0
- package/dist/m0saic/meta/upstream-echo/index.js +17 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.d.ts +52 -0
- package/dist/m0saic/meta/upstream-echo/v1/upstream-echo.js +138 -0
- package/dist/m0saic/primitives/grid/index.d.ts +2 -0
- package/dist/m0saic/primitives/grid/index.js +7 -0
- package/dist/m0saic/primitives/grid/v1/grid.d.ts +85 -0
- package/dist/m0saic/primitives/grid/v1/grid.js +217 -0
- package/dist/m0saic/primitives/grid/v2/grid.d.ts +80 -0
- package/dist/m0saic/primitives/grid/v2/grid.js +150 -0
- package/dist/m0saic/primitives/index.d.ts +1 -0
- package/dist/m0saic/primitives/index.js +17 -0
- package/dist/m0saic/social/index.d.ts +1 -0
- package/dist/m0saic/social/index.js +17 -0
- package/dist/m0saic/social/quote-card/index.d.ts +1 -0
- package/dist/m0saic/social/quote-card/index.js +17 -0
- package/dist/m0saic/social/quote-card/v1/index.d.ts +2 -0
- package/dist/m0saic/social/quote-card/v1/index.js +5 -0
- package/dist/m0saic/social/quote-card/v1/layout.d.ts +119 -0
- package/dist/m0saic/social/quote-card/v1/layout.js +323 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.d.ts +51 -0
- package/dist/m0saic/social/quote-card/v1/quote-card.js +310 -0
- package/dist/m0saic/story/index.d.ts +2 -0
- package/dist/m0saic/story/index.js +20 -0
- package/dist/m0saic/story/narrated-chapters/index.d.ts +1 -0
- package/dist/m0saic/story/narrated-chapters/index.js +17 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.d.ts +42 -0
- package/dist/m0saic/story/narrated-chapters/v1/captions.js +200 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.d.ts +13 -0
- package/dist/m0saic/story/narrated-chapters/v1/demo-fixture.js +52 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.d.ts +2 -0
- package/dist/m0saic/story/narrated-chapters/v1/index.js +5 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.d.ts +50 -0
- package/dist/m0saic/story/narrated-chapters/v1/kenburns.js +0 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.d.ts +103 -0
- package/dist/m0saic/story/narrated-chapters/v1/layout.js +162 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.d.ts +22 -0
- package/dist/m0saic/story/narrated-chapters/v1/narrated-chapters.js +160 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.d.ts +43 -0
- package/dist/m0saic/story/narrated-chapters/v1/pipeline.js +94 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.d.ts +144 -0
- package/dist/m0saic/story/narrated-chapters/v1/plan.js +372 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.d.ts +147 -0
- package/dist/m0saic/story/narrated-chapters/v1/props.js +205 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.d.ts +64 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/body.js +253 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.d.ts +40 -0
- package/dist/m0saic/story/narrated-chapters/v1/scenes/card.js +201 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.d.ts +25 -0
- package/dist/m0saic/story/narrated-chapters/v1/theme.js +38 -0
- package/dist/m0saic/story/scrapbook/v1/document.d.ts +41 -0
- package/dist/m0saic/story/scrapbook/v1/document.js +124 -0
- package/dist/m0saic/story/scrapbook/v1/index.d.ts +1 -0
- package/dist/m0saic/story/scrapbook/v1/index.js +9 -0
- package/dist/m0saic/story/scrapbook/v1/page.d.ts +34 -0
- package/dist/m0saic/story/scrapbook/v1/page.js +121 -0
- package/dist/m0saic/story/scrapbook/v1/pages.d.ts +29 -0
- package/dist/m0saic/story/scrapbook/v1/pages.js +37 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.d.ts +44 -0
- package/dist/m0saic/story/scrapbook/v1/pipeline.js +130 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.d.ts +22 -0
- package/dist/m0saic/story/scrapbook/v1/placeholder.js +51 -0
- package/dist/m0saic/story/scrapbook/v1/props.d.ts +66 -0
- package/dist/m0saic/story/scrapbook/v1/props.js +80 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.d.ts +23 -0
- package/dist/m0saic/story/scrapbook/v1/scrapbook.js +77 -0
- package/dist/m0saic/theming/index.d.ts +1 -0
- package/dist/m0saic/theming/index.js +17 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.d.ts +14 -0
- package/dist/m0saic/theming/v1/brand-m-glyph.js +12 -0
- package/dist/m0saic/theming/v1/index.d.ts +2 -0
- package/dist/m0saic/theming/v1/index.js +16 -0
- package/dist/m0saic/theming/v1/theme-tokens.d.ts +71 -0
- package/dist/m0saic/theming/v1/theme-tokens.js +111 -0
- package/dist/m0saic/theming/v1/theming.d.ts +18 -0
- package/dist/m0saic/theming/v1/theming.js +94 -0
- package/dist/m0saic/theming/v1/token-sheet.d.ts +23 -0
- package/dist/m0saic/theming/v1/token-sheet.js +191 -0
- package/dist/m0saic/web/index.d.ts +1 -0
- package/dist/m0saic/web/index.js +17 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/capture/capture-snippet-source.js +528 -0
- package/dist/m0saic/web/page-skeleton/v1/index.d.ts +1 -0
- package/dist/m0saic/web/page-skeleton/v1/index.js +5 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.d.ts +107 -0
- package/dist/m0saic/web/page-skeleton/v1/layout.js +246 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.d.ts +148 -0
- package/dist/m0saic/web/page-skeleton/v1/page-skeleton.js +787 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.d.ts +7 -0
- package/dist/m0saic/web/page-skeleton/v1/sample-capture.js +50 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.d.ts +35 -0
- package/dist/m0saic/web/page-skeleton/v1/schema.js +132 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.d.ts +93 -0
- package/dist/m0saic/wireframe/animated/v1/animated-wireframe.js +580 -0
- package/dist/m0saic/wireframe/animated/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/animated/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/index.d.ts +1 -0
- package/dist/m0saic/wireframe/base/v1/index.js +5 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.d.ts +68 -0
- package/dist/m0saic/wireframe/base/v1/wireframe.js +372 -0
- package/dist/m0saic/wireframe/base/v2/index.d.ts +2 -0
- package/dist/m0saic/wireframe/base/v2/index.js +9 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.d.ts +166 -0
- package/dist/m0saic/wireframe/base/v2/wireframe.js +1181 -0
- package/dist/m0saic/wireframe/index.d.ts +4 -0
- package/dist/m0saic/wireframe/index.js +16 -0
- package/dist/m0saic/wireframe/utils/paperGrid.d.ts +53 -0
- package/dist/m0saic/wireframe/utils/paperGrid.js +91 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.d.ts +35 -0
- package/dist/m0saic/wireframe/utils/wireframeCell.js +278 -0
- package/dist/registry.d.ts +4 -0
- package/dist/registry.js +7 -0
- package/dist/repo.d.ts +11 -0
- package/dist/repo.js +39 -0
- package/dist/template-registry.d.ts +18 -0
- package/dist/template-registry.js +888 -0
- package/dist/web.d.ts +35 -0
- package/dist/web.js +88 -0
- package/dist/webTemplateIds.d.ts +6 -0
- package/dist/webTemplateIds.js +80 -0
- package/package.json +52 -0
- package/template-manifest.json +1635 -0
- package/web-template-ids.json +84 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `GithubRepoFacts` — the normalized, bounded, near-raw sheet the
|
|
3
|
+
* `repo-facts-fetcher` publishes under the alias `githubRepoFacts`
|
|
4
|
+
* (`schemaVersion: 1`). This is the F5 producer→consumer contract: the
|
|
5
|
+
* `weekly-pulse-adapter` consumes it and derives the `WeeklyPulse` sheet.
|
|
6
|
+
*
|
|
7
|
+
* Every field is a cheap GitHub REST read (or a free derivation from one).
|
|
8
|
+
* Coverage is always recorded, never assumed — a mirror repo (no issues, few
|
|
9
|
+
* PRs) or an anonymous fetch legitimately drops fields, and `coverage` says so.
|
|
10
|
+
*/
|
|
11
|
+
export type GithubCommitFileFacts = {
|
|
12
|
+
path: string;
|
|
13
|
+
additions: number;
|
|
14
|
+
deletions: number;
|
|
15
|
+
status: string;
|
|
16
|
+
};
|
|
17
|
+
export type GithubCommitFacts = {
|
|
18
|
+
sha: string;
|
|
19
|
+
/** Committer date (window bucketing key). */
|
|
20
|
+
committedISO: string;
|
|
21
|
+
/** Author date (may predate committedISO — mailing-list workflows). */
|
|
22
|
+
authoredISO: string;
|
|
23
|
+
/** First line of the commit message. */
|
|
24
|
+
headline: string;
|
|
25
|
+
/** Parsed message trailers (Reviewed-by, Signed-off-by, …) — names, no emails. */
|
|
26
|
+
trailers?: Record<string, string[]>;
|
|
27
|
+
authorName: string;
|
|
28
|
+
authorLogin?: string;
|
|
29
|
+
avatarUrl?: string;
|
|
30
|
+
/** From the per-commit detail call (coverage-gated). */
|
|
31
|
+
additions?: number;
|
|
32
|
+
deletions?: number;
|
|
33
|
+
files?: GithubCommitFileFacts[];
|
|
34
|
+
};
|
|
35
|
+
export type GithubCommitLite = {
|
|
36
|
+
sha: string;
|
|
37
|
+
committedISO: string;
|
|
38
|
+
authorLogin?: string;
|
|
39
|
+
authorName: string;
|
|
40
|
+
};
|
|
41
|
+
export type GithubWeeklyActivity = {
|
|
42
|
+
/** Sunday-start week (GitHub's `stats/commit_activity`). */
|
|
43
|
+
weekStartISO: string;
|
|
44
|
+
days: number[];
|
|
45
|
+
total: number;
|
|
46
|
+
};
|
|
47
|
+
export type GithubWeeklyCodeFrequency = {
|
|
48
|
+
weekStartISO: string;
|
|
49
|
+
additions: number;
|
|
50
|
+
deletions: number;
|
|
51
|
+
};
|
|
52
|
+
export type GithubStarFacts = {
|
|
53
|
+
total: number;
|
|
54
|
+
deltaInWindow?: number;
|
|
55
|
+
deltaPrevWindow?: number;
|
|
56
|
+
};
|
|
57
|
+
export type GithubPullFacts = {
|
|
58
|
+
open: number;
|
|
59
|
+
openedInWindow: number;
|
|
60
|
+
mergedInWindow: number;
|
|
61
|
+
};
|
|
62
|
+
export type GithubIssueFacts = {
|
|
63
|
+
open: number;
|
|
64
|
+
openedInWindow: number;
|
|
65
|
+
closedInWindow: number;
|
|
66
|
+
};
|
|
67
|
+
export type GithubCoverage = {
|
|
68
|
+
authenticated: boolean;
|
|
69
|
+
commitDetails: "full" | "partial" | "none";
|
|
70
|
+
pulls: boolean;
|
|
71
|
+
issues: boolean;
|
|
72
|
+
starDeltas: boolean;
|
|
73
|
+
truncated?: {
|
|
74
|
+
commits?: number;
|
|
75
|
+
filesPerCommit?: number;
|
|
76
|
+
callBudgetHit?: boolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export type GithubRepoFacts = {
|
|
80
|
+
schemaVersion: 1;
|
|
81
|
+
repo: {
|
|
82
|
+
fullName: string;
|
|
83
|
+
name: string;
|
|
84
|
+
defaultBranch: string;
|
|
85
|
+
description?: string;
|
|
86
|
+
stars: number;
|
|
87
|
+
forks: number;
|
|
88
|
+
watchers: number;
|
|
89
|
+
openIssues: number;
|
|
90
|
+
hasIssues: boolean;
|
|
91
|
+
pushedAt: string;
|
|
92
|
+
};
|
|
93
|
+
/** UTC Monday..Sunday inclusive. */
|
|
94
|
+
window: {
|
|
95
|
+
startISO: string;
|
|
96
|
+
endISO: string;
|
|
97
|
+
};
|
|
98
|
+
/** THE window's commits, committer-date bucketed. */
|
|
99
|
+
commits: GithubCommitFacts[];
|
|
100
|
+
/** Window + 7 prior weeks — feeds the grid + all week-over-week deltas. */
|
|
101
|
+
trailing8WeekCommitsLite: GithubCommitLite[];
|
|
102
|
+
weeklyActivity: GithubWeeklyActivity[];
|
|
103
|
+
weeklyCodeFrequency?: GithubWeeklyCodeFrequency[];
|
|
104
|
+
stars?: GithubStarFacts;
|
|
105
|
+
pulls?: GithubPullFacts;
|
|
106
|
+
issues?: GithubIssueFacts;
|
|
107
|
+
coverage: GithubCoverage;
|
|
108
|
+
rateLimit?: {
|
|
109
|
+
limit: number;
|
|
110
|
+
remaining: number;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* `GithubRepoFacts` — the normalized, bounded, near-raw sheet the
|
|
4
|
+
* `repo-facts-fetcher` publishes under the alias `githubRepoFacts`
|
|
5
|
+
* (`schemaVersion: 1`). This is the F5 producer→consumer contract: the
|
|
6
|
+
* `weekly-pulse-adapter` consumes it and derives the `WeeklyPulse` sheet.
|
|
7
|
+
*
|
|
8
|
+
* Every field is a cheap GitHub REST read (or a free derivation from one).
|
|
9
|
+
* Coverage is always recorded, never assumed — a mirror repo (no issues, few
|
|
10
|
+
* PRs) or an anonymous fetch legitimately drops fields, and `coverage` says so.
|
|
11
|
+
*/
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { MosaicDocument, MosaicEngineContext, MosaicTemplateUpstreamData, MosaicTemplateUpstreamVariables } from "@m0saic/types";
|
|
2
|
+
import type { GithubRepoFacts } from "./facts";
|
|
3
|
+
/**
|
|
4
|
+
* `@m0saic/github/repo-facts-fetcher/v1` — the capability-tier fetcher that
|
|
5
|
+
* publishes `githubRepoFacts` (a {@link GithubRepoFacts} sheet) for the
|
|
6
|
+
* `weekly-pulse-adapter` and other consumers. The FIRST real user of the F1
|
|
7
|
+
* capability surface (host connections + secrets + upstream threading).
|
|
8
|
+
*
|
|
9
|
+
* Two modes, one output shape:
|
|
10
|
+
* - `replay` (DEFAULT) — publishes `props.facts` (the embedded {@link
|
|
11
|
+
* SAMPLE_FACTS} by default). NO network, byte-deterministic — this is what
|
|
12
|
+
* the e2e sweep and CI pipelines render.
|
|
13
|
+
* - `live` — fetches `repo` over `window` via the GitHub REST client, records
|
|
14
|
+
* coverage, and publishes the assembled facts. Nondeterministic, quarantined
|
|
15
|
+
* behind the client; never touched by CI.
|
|
16
|
+
*
|
|
17
|
+
* Doc shape mirrors `meta/fixture-fetcher`: a black lavfi CARRIER cell + the
|
|
18
|
+
* aliased data source (skipped from layout) + a verbatim `sidecars` mirror. Wrap
|
|
19
|
+
* in an `intermediate:true` pipeline step so the carrier never reaches output.
|
|
20
|
+
*
|
|
21
|
+
* Secret hygiene: the token is passed to the client (request headers) ONLY. It
|
|
22
|
+
* never enters `variables`, `sidecars`, diagnostics, errors, or logs —
|
|
23
|
+
* `coverage.authenticated` is the only signal that a token was used.
|
|
24
|
+
*/
|
|
25
|
+
export type RepoFactsFetcherProps = {
|
|
26
|
+
/** `replay` (no network, publish `facts`) or `live` (fetch `repo`). */
|
|
27
|
+
source?: "replay" | "live";
|
|
28
|
+
/** Replay payload (also the test seam). Default: the embedded sample. */
|
|
29
|
+
facts?: GithubRepoFacts;
|
|
30
|
+
/** `owner/name` (live mode). */
|
|
31
|
+
repo?: string;
|
|
32
|
+
/** UTC Monday..Sunday inclusive (live mode). */
|
|
33
|
+
window?: {
|
|
34
|
+
startISO: string;
|
|
35
|
+
endISO: string;
|
|
36
|
+
};
|
|
37
|
+
/** Host connection id for non-secret values + the keychain token (live mode). */
|
|
38
|
+
connectionId?: string;
|
|
39
|
+
/** Explicit SecretRef escape hatch (e.g. `env:GITHUB_TOKEN`); wins over the connection. */
|
|
40
|
+
tokenRef?: string;
|
|
41
|
+
/** Per-commit detail: `auto` (full when authenticated, none anonymous), or force. */
|
|
42
|
+
commitDetails?: "auto" | "full" | "none";
|
|
43
|
+
/** Per-window commit cap; overflow → `coverage.truncated.commits`. */
|
|
44
|
+
maxCommits?: number;
|
|
45
|
+
/** Hard cap on API calls per render; overflow → truncate + record. */
|
|
46
|
+
callBudget?: number;
|
|
47
|
+
};
|
|
48
|
+
type RepoFactsFetcherSidecars = {
|
|
49
|
+
githubRepoFacts: GithubRepoFacts;
|
|
50
|
+
};
|
|
51
|
+
/** The fixed publish alias — part of the producer contract (Seam B). */
|
|
52
|
+
export declare const GITHUB_REPO_FACTS_ALIAS = "githubRepoFacts";
|
|
53
|
+
/**
|
|
54
|
+
* Resolve the live-mode access: the connection's base URL (non-secret) and the
|
|
55
|
+
* token. Token precedence: explicit `tokenRef` → connection keychain ref →
|
|
56
|
+
* anonymous. Never throws on a missing/unresolvable token — degrades to
|
|
57
|
+
* anonymous (coverage records it). Exported for unit testing with a fake ctx.
|
|
58
|
+
*/
|
|
59
|
+
export declare function resolveGithubAccess(props: RepoFactsFetcherProps, ctx: MosaicEngineContext): Promise<{
|
|
60
|
+
token?: string;
|
|
61
|
+
baseUrl?: string;
|
|
62
|
+
}>;
|
|
63
|
+
/** Wrap a facts sheet in the carrier + aliased-data + sidecar document. Pure —
|
|
64
|
+
* shared by both render modes and unit-tested directly. */
|
|
65
|
+
export declare function factsToDocument(facts: GithubRepoFacts): MosaicDocument;
|
|
66
|
+
export declare const RepoFactsFetcher: import("@m0saic/types").MosaicTemplate<RepoFactsFetcherProps, GithubRepoFacts, MosaicTemplateUpstreamVariables, MosaicTemplateUpstreamData, RepoFactsFetcherSidecars>;
|
|
67
|
+
export default RepoFactsFetcher;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RepoFactsFetcher = exports.GITHUB_REPO_FACTS_ALIAS = void 0;
|
|
4
|
+
exports.resolveGithubAccess = resolveGithubAccess;
|
|
5
|
+
exports.factsToDocument = factsToDocument;
|
|
6
|
+
const types_1 = require("@m0saic/types");
|
|
7
|
+
const dsl_stdlib_1 = require("@m0saic/dsl-stdlib");
|
|
8
|
+
const template_utils_1 = require("@m0saic/template-utils");
|
|
9
|
+
const client_1 = require("../../client");
|
|
10
|
+
const connection_1 = require("../../connection");
|
|
11
|
+
const build_facts_1 = require("./build-facts");
|
|
12
|
+
const sample_facts_1 = require("./sample-facts");
|
|
13
|
+
/** The fixed publish alias — part of the producer contract (Seam B). */
|
|
14
|
+
exports.GITHUB_REPO_FACTS_ALIAS = "githubRepoFacts";
|
|
15
|
+
const propsSchema = (0, template_utils_1.definePropsSchema)({
|
|
16
|
+
source: {
|
|
17
|
+
type: "string", required: false,
|
|
18
|
+
description: 'replay = publish `facts` with no network (default); live = fetch `repo` over `window`.',
|
|
19
|
+
meta: { constraints: { oneOf: ["replay", "live"] }, ui: { label: "Source", order: 1 } },
|
|
20
|
+
},
|
|
21
|
+
facts: {
|
|
22
|
+
type: "json", required: false,
|
|
23
|
+
description: "Replay payload — a GithubRepoFacts sheet. Defaults to the embedded sample.",
|
|
24
|
+
meta: { ui: { label: "Facts (replay)", order: 2, consumer: "agent" } },
|
|
25
|
+
},
|
|
26
|
+
repo: {
|
|
27
|
+
type: "string", required: false,
|
|
28
|
+
description: 'Repository "owner/name" (live mode).',
|
|
29
|
+
meta: { ui: { label: "Repository", order: 3 } },
|
|
30
|
+
},
|
|
31
|
+
window: {
|
|
32
|
+
type: "json", required: false,
|
|
33
|
+
description: "UTC { startISO, endISO } — Monday..Sunday inclusive (live mode).",
|
|
34
|
+
meta: { ui: { label: "Window", order: 4, consumer: "agent" } },
|
|
35
|
+
},
|
|
36
|
+
connectionId: {
|
|
37
|
+
type: "string", required: false,
|
|
38
|
+
description: "Host connection id for the base URL + keychain token (live mode).",
|
|
39
|
+
meta: { ui: { label: "Connection", order: 5 } },
|
|
40
|
+
},
|
|
41
|
+
tokenRef: {
|
|
42
|
+
type: "string", required: false,
|
|
43
|
+
description: "Explicit SecretRef (e.g. env:GITHUB_TOKEN). Wins over the connection token.",
|
|
44
|
+
meta: { ui: { label: "Token ref", order: 6 } },
|
|
45
|
+
},
|
|
46
|
+
commitDetails: {
|
|
47
|
+
type: "string", required: false,
|
|
48
|
+
description: "auto (full when authenticated, none anonymous), full, or none.",
|
|
49
|
+
meta: { constraints: { oneOf: ["auto", "full", "none"] }, ui: { label: "Commit details", order: 7 } },
|
|
50
|
+
},
|
|
51
|
+
maxCommits: {
|
|
52
|
+
type: "number", required: false,
|
|
53
|
+
description: "Per-window commit cap (overflow recorded in coverage.truncated).",
|
|
54
|
+
meta: { constraints: { min: 1, max: 5000 }, ui: { label: "Max commits", order: 8 } },
|
|
55
|
+
},
|
|
56
|
+
callBudget: {
|
|
57
|
+
type: "number", required: false,
|
|
58
|
+
description: "Hard cap on API calls per render (overflow recorded in coverage.truncated).",
|
|
59
|
+
meta: { constraints: { min: 1, max: 5000 }, ui: { label: "Call budget", order: 9 } },
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
/**
|
|
63
|
+
* Resolve the live-mode access: the connection's base URL (non-secret) and the
|
|
64
|
+
* token. Token precedence: explicit `tokenRef` → connection keychain ref →
|
|
65
|
+
* anonymous. Never throws on a missing/unresolvable token — degrades to
|
|
66
|
+
* anonymous (coverage records it). Exported for unit testing with a fake ctx.
|
|
67
|
+
*/
|
|
68
|
+
async function resolveGithubAccess(props, ctx) {
|
|
69
|
+
const connId = props.connectionId && props.connectionId.length > 0 ? props.connectionId : String(connection_1.GITHUB_CONNECTION_ID);
|
|
70
|
+
let baseUrl;
|
|
71
|
+
if (ctx.connections) {
|
|
72
|
+
const vals = await ctx.connections.get(connId);
|
|
73
|
+
if (vals && typeof vals.baseUrl === "string" && vals.baseUrl.length > 0)
|
|
74
|
+
baseUrl = vals.baseUrl;
|
|
75
|
+
}
|
|
76
|
+
let token;
|
|
77
|
+
// Escape hatch: an explicit tokenRef wins WHEN it resolves.
|
|
78
|
+
if (props.tokenRef && props.tokenRef.length > 0 && ctx.secrets && (await ctx.secrets.has(props.tokenRef))) {
|
|
79
|
+
token = await ctx.secrets.get(props.tokenRef);
|
|
80
|
+
}
|
|
81
|
+
// Fall through to the connection's keychain token (Seam A order:
|
|
82
|
+
// tokenRef → connection → anonymous). So a set-but-unresolvable tokenRef —
|
|
83
|
+
// e.g. `env:GITHUB_TOKEN` unset in the desktop app — still uses the token
|
|
84
|
+
// configured under Settings → Integrations rather than dropping to anonymous.
|
|
85
|
+
if (token === undefined && ctx.secrets && ctx.connections && (await ctx.connections.has(connId))) {
|
|
86
|
+
const ref = (0, types_1.mintConnectionSecretRef)(connId, connection_1.GITHUB_TOKEN_FIELD);
|
|
87
|
+
if (await ctx.secrets.has(ref))
|
|
88
|
+
token = await ctx.secrets.get(ref);
|
|
89
|
+
}
|
|
90
|
+
return { token, baseUrl };
|
|
91
|
+
}
|
|
92
|
+
/** Wrap a facts sheet in the carrier + aliased-data + sidecar document. Pure —
|
|
93
|
+
* shared by both render modes and unit-tested directly. */
|
|
94
|
+
function factsToDocument(facts) {
|
|
95
|
+
return {
|
|
96
|
+
kind: "mosaic_document",
|
|
97
|
+
version: 1,
|
|
98
|
+
m0: (0, dsl_stdlib_1.toM0String)("1", "githubRepoFacts"),
|
|
99
|
+
assets: {},
|
|
100
|
+
sources: [
|
|
101
|
+
// Degenerate carrier — a mosaic ref must point at something renderable;
|
|
102
|
+
// intermediate:true keeps this black tile out of the deliverable.
|
|
103
|
+
{ type: "lavfi", color: "#000000" },
|
|
104
|
+
{
|
|
105
|
+
type: "data",
|
|
106
|
+
alias: (0, types_1.asAliasId)(exports.GITHUB_REPO_FACTS_ALIAS),
|
|
107
|
+
variables: facts,
|
|
108
|
+
editor: { owner: "template" },
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
sidecars: { githubRepoFacts: facts },
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
exports.RepoFactsFetcher = (0, template_utils_1.defineMosaicTemplate)({
|
|
115
|
+
id: (0, types_1.asTemplateId)("@m0saic/github/repo-facts-fetcher/v1"),
|
|
116
|
+
label: "GitHub Repo Facts (fetcher)",
|
|
117
|
+
version: 1,
|
|
118
|
+
description: "Capability-tier data fetcher: publishes a normalized GithubRepoFacts sheet (commits, contributors, activity, stars, coverage) under the alias githubRepoFacts. Replay mode (default) is network-free + deterministic; live mode fetches a repo/window over the GitHub REST API with a recorded coverage/degradation ladder. Feeds the weekly-pulse-adapter.",
|
|
119
|
+
role: "data-fetcher",
|
|
120
|
+
capabilities: { tier: "capability", caps: { net: { fetch: true } } },
|
|
121
|
+
// A data carrier, not a picture: it publishes `githubRepoFacts` for a
|
|
122
|
+
// pipeline step and renders only a 64×64 black tile. Out of the public
|
|
123
|
+
// pickers (founder, 2026-09-14) — still reachable by id for pipelines and
|
|
124
|
+
// nested renders.
|
|
125
|
+
internal: true,
|
|
126
|
+
tags: ["utility", "github", "connector", "data-fetcher"],
|
|
127
|
+
outputHints: {
|
|
128
|
+
format: { kind: "image", container: "png" },
|
|
129
|
+
width: 64,
|
|
130
|
+
height: 64,
|
|
131
|
+
fps: 1,
|
|
132
|
+
durationMs: 1000,
|
|
133
|
+
note: "Publishes githubRepoFacts; renders only a degenerate black carrier tile. Wrap in a pipeline step with intermediate:true so the carrier never reaches the deliverable.",
|
|
134
|
+
},
|
|
135
|
+
outputsSchema: {
|
|
136
|
+
schemaVersion: { type: "number", required: true },
|
|
137
|
+
repo: { type: "object", required: true },
|
|
138
|
+
window: { type: "object", required: true },
|
|
139
|
+
commits: { type: "any", required: true },
|
|
140
|
+
trailing8WeekCommitsLite: { type: "any", required: true },
|
|
141
|
+
weeklyActivity: { type: "any", required: true },
|
|
142
|
+
weeklyCodeFrequency: { type: "any", required: false },
|
|
143
|
+
stars: { type: "object", required: false },
|
|
144
|
+
pulls: { type: "object", required: false },
|
|
145
|
+
issues: { type: "object", required: false },
|
|
146
|
+
coverage: { type: "object", required: true },
|
|
147
|
+
rateLimit: { type: "object", required: false },
|
|
148
|
+
},
|
|
149
|
+
propsSchema,
|
|
150
|
+
defaultProps: {
|
|
151
|
+
source: "replay",
|
|
152
|
+
facts: sample_facts_1.SAMPLE_FACTS,
|
|
153
|
+
repo: "FFmpeg/FFmpeg",
|
|
154
|
+
window: sample_facts_1.SAMPLE_FACTS.window,
|
|
155
|
+
connectionId: String(connection_1.GITHUB_CONNECTION_ID),
|
|
156
|
+
tokenRef: "",
|
|
157
|
+
commitDetails: "auto",
|
|
158
|
+
maxCommits: 500,
|
|
159
|
+
callBudget: 300,
|
|
160
|
+
},
|
|
161
|
+
async render(props, ctx) {
|
|
162
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
163
|
+
const source = (_a = props.source) !== null && _a !== void 0 ? _a : "replay";
|
|
164
|
+
if (source !== "replay" && source !== "live") {
|
|
165
|
+
throw new Error(`repo-facts-fetcher: source must be "replay" or "live", got ${JSON.stringify(source)}.`);
|
|
166
|
+
}
|
|
167
|
+
if (source === "replay") {
|
|
168
|
+
const facts = (_b = props.facts) !== null && _b !== void 0 ? _b : sample_facts_1.SAMPLE_FACTS;
|
|
169
|
+
if (facts === null || typeof facts !== "object" || Array.isArray(facts)) {
|
|
170
|
+
throw new Error("repo-facts-fetcher: replay `facts` must be a GithubRepoFacts object.");
|
|
171
|
+
}
|
|
172
|
+
return factsToDocument(facts);
|
|
173
|
+
}
|
|
174
|
+
// ── live ──────────────────────────────────────────────────────
|
|
175
|
+
const repo = (_c = props.repo) !== null && _c !== void 0 ? _c : "FFmpeg/FFmpeg";
|
|
176
|
+
if (!/^[^/\s]+\/[^/\s]+$/.test(repo)) {
|
|
177
|
+
throw new Error(`repo-facts-fetcher: repo must be "owner/name", got ${JSON.stringify(repo)}.`);
|
|
178
|
+
}
|
|
179
|
+
const window = (_d = props.window) !== null && _d !== void 0 ? _d : sample_facts_1.SAMPLE_FACTS.window;
|
|
180
|
+
if (!window || typeof window.startISO !== "string" || typeof window.endISO !== "string") {
|
|
181
|
+
throw new Error("repo-facts-fetcher: window must be { startISO, endISO } (UTC YYYY-MM-DD).");
|
|
182
|
+
}
|
|
183
|
+
const commitDetails = (_e = props.commitDetails) !== null && _e !== void 0 ? _e : "auto";
|
|
184
|
+
if (commitDetails !== "auto" && commitDetails !== "full" && commitDetails !== "none") {
|
|
185
|
+
throw new Error(`repo-facts-fetcher: commitDetails must be auto|full|none, got ${JSON.stringify(commitDetails)}.`);
|
|
186
|
+
}
|
|
187
|
+
const maxCommits = (_f = props.maxCommits) !== null && _f !== void 0 ? _f : 500;
|
|
188
|
+
const callBudget = (_g = props.callBudget) !== null && _g !== void 0 ? _g : 300;
|
|
189
|
+
// Runtime fetch failures (network, 404, keychain) degrade to a valid error
|
|
190
|
+
// frame — the render survives and publishes no facts, so a downstream
|
|
191
|
+
// consumer sees the gap and error-frames too. Malformed props above still
|
|
192
|
+
// fail fast (an author/config error, not a runtime data problem).
|
|
193
|
+
try {
|
|
194
|
+
const { token, baseUrl } = await resolveGithubAccess(props, ctx);
|
|
195
|
+
const client = new client_1.GithubClient({ baseUrl, token, callBudget });
|
|
196
|
+
const facts = await (0, build_facts_1.buildRepoFacts)(client, { repo, window, commitDetails, maxCommits });
|
|
197
|
+
return factsToDocument(facts);
|
|
198
|
+
}
|
|
199
|
+
catch (e) {
|
|
200
|
+
return (0, template_utils_1.makeErrorMosaic)(`GitHub fetch failed for ${repo} (${window.startISO}..${window.endISO}): ${e instanceof Error ? e.message : String(e)}`, {
|
|
201
|
+
width: Math.max(1, Math.round(ctx.target.width)),
|
|
202
|
+
height: Math.max(1, Math.round(ctx.target.height)),
|
|
203
|
+
title: "GitHub Repo Facts",
|
|
204
|
+
errorCode: "GITHUB_FETCH_FAILED",
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
(0, template_utils_1.registerTemplate)(exports.RepoFactsFetcher);
|
|
210
|
+
exports.default = exports.RepoFactsFetcher;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `SAMPLE_FACTS` — the embedded, deterministic, full-coverage replay payload for
|
|
3
|
+
* `repo-facts-fetcher/v1`. Serves three jobs:
|
|
4
|
+
* 1. the network-free default render (so the e2e sweep never touches GitHub),
|
|
5
|
+
* 2. the byte-equality seam for the fetcher's replay determinism test,
|
|
6
|
+
* 3. a full-coverage fixture the `weekly-pulse-adapter` (P3) can snapshot
|
|
7
|
+
* against before the founder records the real FFmpeg week.
|
|
8
|
+
*
|
|
9
|
+
* A coherent single week for a fictional normal repo (`acme/rocket`, June 1–7
|
|
10
|
+
* 2026, Mon..Sun): 8 window commits across 4 contributors, full commit detail,
|
|
11
|
+
* star deltas, and PR/issue counts — i.e. every `coverage` flag true, so the
|
|
12
|
+
* adaptive KPI path lights up. Built via tiny local helpers to stay compact;
|
|
13
|
+
* the result is a fixed constant (no Date, no randomness).
|
|
14
|
+
*/
|
|
15
|
+
import type { GithubRepoFacts } from "./facts";
|
|
16
|
+
export declare const SAMPLE_FACTS: GithubRepoFacts;
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* `SAMPLE_FACTS` — the embedded, deterministic, full-coverage replay payload for
|
|
4
|
+
* `repo-facts-fetcher/v1`. Serves three jobs:
|
|
5
|
+
* 1. the network-free default render (so the e2e sweep never touches GitHub),
|
|
6
|
+
* 2. the byte-equality seam for the fetcher's replay determinism test,
|
|
7
|
+
* 3. a full-coverage fixture the `weekly-pulse-adapter` (P3) can snapshot
|
|
8
|
+
* against before the founder records the real FFmpeg week.
|
|
9
|
+
*
|
|
10
|
+
* A coherent single week for a fictional normal repo (`acme/rocket`, June 1–7
|
|
11
|
+
* 2026, Mon..Sun): 8 window commits across 4 contributors, full commit detail,
|
|
12
|
+
* star deltas, and PR/issue counts — i.e. every `coverage` flag true, so the
|
|
13
|
+
* adaptive KPI path lights up. Built via tiny local helpers to stay compact;
|
|
14
|
+
* the result is a fixed constant (no Date, no randomness).
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.SAMPLE_FACTS = void 0;
|
|
18
|
+
const week_math_1 = require("../../week-math");
|
|
19
|
+
const lite = (sha, committedISO, authorLogin, authorName) => ({
|
|
20
|
+
sha,
|
|
21
|
+
committedISO,
|
|
22
|
+
authorLogin,
|
|
23
|
+
authorName,
|
|
24
|
+
});
|
|
25
|
+
/** N Sunday-start weekly-activity rows ending at (and including) `lastSundayISO`. */
|
|
26
|
+
function activityWeeks(lastSundayISO, totals) {
|
|
27
|
+
return totals.map((total, i) => {
|
|
28
|
+
const weekStartISO = (0, week_math_1.addDaysISO)(lastSundayISO, -7 * (totals.length - 1 - i));
|
|
29
|
+
// Spread the week's total across weekdays deterministically (Mon-heavy).
|
|
30
|
+
const days = [0, 0, 0, 0, 0, 0, 0];
|
|
31
|
+
for (let k = 0; k < total; k++)
|
|
32
|
+
days[k % 7]++;
|
|
33
|
+
return { weekStartISO, days, total };
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function codeFreqWeeks(lastSundayISO, rows) {
|
|
37
|
+
return rows.map(([additions, deletions], i) => ({
|
|
38
|
+
weekStartISO: (0, week_math_1.addDaysISO)(lastSundayISO, -7 * (rows.length - 1 - i)),
|
|
39
|
+
additions,
|
|
40
|
+
deletions,
|
|
41
|
+
}));
|
|
42
|
+
}
|
|
43
|
+
// The GitHub "week" that contains the window's Sunday (2026-06-07) starts Sun 2026-06-07.
|
|
44
|
+
const LAST_SUNDAY = (0, week_math_1.formatISODate)((0, week_math_1.civilFromDays)((0, week_math_1.daysFromCivil)(2026, 6, 7)));
|
|
45
|
+
exports.SAMPLE_FACTS = {
|
|
46
|
+
schemaVersion: 1,
|
|
47
|
+
repo: {
|
|
48
|
+
fullName: "acme/rocket",
|
|
49
|
+
name: "rocket",
|
|
50
|
+
defaultBranch: "main",
|
|
51
|
+
description: "A tidy demo repo for the Weekly Pulse.",
|
|
52
|
+
stars: 4200,
|
|
53
|
+
forks: 310,
|
|
54
|
+
watchers: 88,
|
|
55
|
+
openIssues: 42,
|
|
56
|
+
hasIssues: true,
|
|
57
|
+
pushedAt: "2026-06-07T18:04:11Z",
|
|
58
|
+
},
|
|
59
|
+
window: { startISO: "2026-06-01", endISO: "2026-06-07" },
|
|
60
|
+
commits: [
|
|
61
|
+
{
|
|
62
|
+
sha: "c0ffee01", committedISO: "2026-06-01T09:12:00Z", authoredISO: "2026-06-01T09:12:00Z",
|
|
63
|
+
headline: "core: speed up render loop with a SIMD path",
|
|
64
|
+
trailers: { "Reviewed-by": ["Grace Hopper"] },
|
|
65
|
+
authorName: "Ada Lovelace", authorLogin: "ada", avatarUrl: "https://avatars.example/ada.png",
|
|
66
|
+
additions: 180, deletions: 40,
|
|
67
|
+
files: [{ path: "core/render.ts", additions: 180, deletions: 40, status: "modified" }],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
sha: "c0ffee02", committedISO: "2026-06-01T14:48:00Z", authoredISO: "2026-06-01T14:48:00Z",
|
|
71
|
+
headline: "io: fix memory leak in the stream reader",
|
|
72
|
+
trailers: { "Reviewed-by": ["Ada Lovelace"] },
|
|
73
|
+
authorName: "Grace Hopper", authorLogin: "grace", avatarUrl: "https://avatars.example/grace.png",
|
|
74
|
+
additions: 24, deletions: 18,
|
|
75
|
+
files: [{ path: "io/stream.ts", additions: 24, deletions: 18, status: "modified" }],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
sha: "c0ffee03", committedISO: "2026-06-02T11:03:00Z", authoredISO: "2026-06-02T10:50:00Z",
|
|
79
|
+
headline: "api: add pagination to the list endpoints",
|
|
80
|
+
trailers: { "Reviewed-by": ["Ada Lovelace", "Grace Hopper"] },
|
|
81
|
+
authorName: "Alan Turing", authorLogin: "alan", avatarUrl: "https://avatars.example/alan.png",
|
|
82
|
+
additions: 210, deletions: 12,
|
|
83
|
+
files: [
|
|
84
|
+
{ path: "api/list.ts", additions: 168, deletions: 12, status: "modified" },
|
|
85
|
+
{ path: "api/types.ts", additions: 42, deletions: 0, status: "modified" },
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
sha: "c0ffee04", committedISO: "2026-06-03T08:20:00Z", authoredISO: "2026-06-03T08:20:00Z",
|
|
90
|
+
headline: "core: fix crash on empty input",
|
|
91
|
+
authorName: "Ada Lovelace", authorLogin: "ada", avatarUrl: "https://avatars.example/ada.png",
|
|
92
|
+
additions: 12, deletions: 4,
|
|
93
|
+
files: [{ path: "core/render.ts", additions: 12, deletions: 4, status: "modified" }],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
sha: "c0ffee05", committedISO: "2026-06-03T13:31:00Z", authoredISO: "2026-06-03T13:31:00Z",
|
|
97
|
+
headline: "docs: document the pagination API",
|
|
98
|
+
authorName: "Katherine Johnson", authorLogin: "katherine", avatarUrl: "https://avatars.example/katherine.png",
|
|
99
|
+
additions: 64, deletions: 2,
|
|
100
|
+
files: [{ path: "docs/api.md", additions: 64, deletions: 2, status: "modified" }],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
sha: "c0ffee06", committedISO: "2026-06-03T17:59:00Z", authoredISO: "2026-06-03T17:59:00Z",
|
|
104
|
+
headline: "render: cache the glyph atlas between frames",
|
|
105
|
+
trailers: { "Reviewed-by": ["Alan Turing"] },
|
|
106
|
+
authorName: "Grace Hopper", authorLogin: "grace", avatarUrl: "https://avatars.example/grace.png",
|
|
107
|
+
additions: 96, deletions: 30,
|
|
108
|
+
files: [{ path: "render/atlas.ts", additions: 96, deletions: 30, status: "modified" }],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
sha: "c0ffee07", committedISO: "2026-06-04T10:07:00Z", authoredISO: "2026-06-04T10:07:00Z",
|
|
112
|
+
headline: "tests: add coverage for pagination edge cases",
|
|
113
|
+
authorName: "Alan Turing", authorLogin: "alan", avatarUrl: "https://avatars.example/alan.png",
|
|
114
|
+
additions: 140, deletions: 0,
|
|
115
|
+
files: [{ path: "tests/api.test.ts", additions: 140, deletions: 0, status: "added" }],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
sha: "c0ffee08", committedISO: "2026-06-06T15:22:00Z", authoredISO: "2026-06-06T15:22:00Z",
|
|
119
|
+
headline: "cli: add a --watch flag",
|
|
120
|
+
trailers: { "Reviewed-by": ["Ada Lovelace"] },
|
|
121
|
+
authorName: "Katherine Johnson", authorLogin: "katherine", avatarUrl: "https://avatars.example/katherine.png",
|
|
122
|
+
additions: 88, deletions: 6,
|
|
123
|
+
files: [{ path: "cli/watch.ts", additions: 88, deletions: 6, status: "added" }],
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
trailing8WeekCommitsLite: [
|
|
127
|
+
// window week (2026-06-01) — mirrors the 8 commits above
|
|
128
|
+
lite("c0ffee01", "2026-06-01T09:12:00Z", "ada", "Ada Lovelace"),
|
|
129
|
+
lite("c0ffee02", "2026-06-01T14:48:00Z", "grace", "Grace Hopper"),
|
|
130
|
+
lite("c0ffee03", "2026-06-02T11:03:00Z", "alan", "Alan Turing"),
|
|
131
|
+
lite("c0ffee04", "2026-06-03T08:20:00Z", "ada", "Ada Lovelace"),
|
|
132
|
+
lite("c0ffee05", "2026-06-03T13:31:00Z", "katherine", "Katherine Johnson"),
|
|
133
|
+
lite("c0ffee06", "2026-06-03T17:59:00Z", "grace", "Grace Hopper"),
|
|
134
|
+
lite("c0ffee07", "2026-06-04T10:07:00Z", "alan", "Alan Turing"),
|
|
135
|
+
lite("c0ffee08", "2026-06-06T15:22:00Z", "katherine", "Katherine Johnson"),
|
|
136
|
+
// prev week (2026-05-25) — 5 commits (this week 8 vs prev 5 → +60%)
|
|
137
|
+
lite("a0000501", "2026-05-25T09:00:00Z", "ada", "Ada Lovelace"),
|
|
138
|
+
lite("a0000502", "2026-05-26T09:00:00Z", "grace", "Grace Hopper"),
|
|
139
|
+
lite("a0000503", "2026-05-27T09:00:00Z", "alan", "Alan Turing"),
|
|
140
|
+
lite("a0000504", "2026-05-28T09:00:00Z", "ada", "Ada Lovelace"),
|
|
141
|
+
lite("a0000505", "2026-05-29T09:00:00Z", "grace", "Grace Hopper"),
|
|
142
|
+
// 2026-05-18 — 4
|
|
143
|
+
lite("a0001801", "2026-05-18T09:00:00Z", "ada", "Ada Lovelace"),
|
|
144
|
+
lite("a0001802", "2026-05-19T09:00:00Z", "alan", "Alan Turing"),
|
|
145
|
+
lite("a0001803", "2026-05-20T09:00:00Z", "grace", "Grace Hopper"),
|
|
146
|
+
lite("a0001804", "2026-05-22T09:00:00Z", "katherine", "Katherine Johnson"),
|
|
147
|
+
// 2026-05-11 — 3
|
|
148
|
+
lite("a0001101", "2026-05-11T09:00:00Z", "ada", "Ada Lovelace"),
|
|
149
|
+
lite("a0001102", "2026-05-13T09:00:00Z", "grace", "Grace Hopper"),
|
|
150
|
+
lite("a0001103", "2026-05-15T09:00:00Z", "alan", "Alan Turing"),
|
|
151
|
+
// 2026-05-04 — 2
|
|
152
|
+
lite("a0000401", "2026-05-04T09:00:00Z", "ada", "Ada Lovelace"),
|
|
153
|
+
lite("a0000402", "2026-05-07T09:00:00Z", "katherine", "Katherine Johnson"),
|
|
154
|
+
// 2026-04-27 — 3
|
|
155
|
+
lite("a0002701", "2026-04-27T09:00:00Z", "grace", "Grace Hopper"),
|
|
156
|
+
lite("a0002702", "2026-04-29T09:00:00Z", "ada", "Ada Lovelace"),
|
|
157
|
+
lite("a0002703", "2026-05-01T09:00:00Z", "alan", "Alan Turing"),
|
|
158
|
+
// 2026-04-20 — 2
|
|
159
|
+
lite("a0002001", "2026-04-20T09:00:00Z", "ada", "Ada Lovelace"),
|
|
160
|
+
lite("a0002002", "2026-04-24T09:00:00Z", "grace", "Grace Hopper"),
|
|
161
|
+
// 2026-04-13 — 2
|
|
162
|
+
lite("a0001301", "2026-04-13T09:00:00Z", "alan", "Alan Turing"),
|
|
163
|
+
lite("a0001302", "2026-04-17T09:00:00Z", "ada", "Ada Lovelace"),
|
|
164
|
+
],
|
|
165
|
+
weeklyActivity: activityWeeks(LAST_SUNDAY, [11, 9, 14, 8, 12, 10, 9, 13]),
|
|
166
|
+
weeklyCodeFrequency: codeFreqWeeks(LAST_SUNDAY, [
|
|
167
|
+
[1200, -400], [900, -260], [1500, -520], [640, -180],
|
|
168
|
+
[1100, -300], [980, -410], [720, -220], [814, -140],
|
|
169
|
+
]),
|
|
170
|
+
stars: { total: 4200, deltaInWindow: 37, deltaPrevWindow: 21 },
|
|
171
|
+
pulls: { open: 12, openedInWindow: 9, mergedInWindow: 7 },
|
|
172
|
+
issues: { open: 42, openedInWindow: 6, closedInWindow: 8 },
|
|
173
|
+
coverage: { authenticated: true, commitDetails: "full", pulls: true, issues: true, starDeltas: true },
|
|
174
|
+
rateLimit: { limit: 5000, remaining: 4923 },
|
|
175
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure calendar arithmetic for the GitHub connector — ISO-8601 weeks and
|
|
3
|
+
* Monday-start week windows.
|
|
4
|
+
*
|
|
5
|
+
* DETERMINISM CONTRACT: every function here is a pure integer computation over
|
|
6
|
+
* `"YYYY-MM-DD"` strings — NO `Date` construction, NO wall-clock. This is what
|
|
7
|
+
* lets the core-tier `weekly-pulse-adapter` (and the beats) stay deterministic
|
|
8
|
+
* while still doing week math, and it extends the `parseISODate` idiom already
|
|
9
|
+
* in `hero/ffmpeg-pulse/_shared/pulse-data.ts`. Shared by: the client (window →
|
|
10
|
+
* since/until), the adapter (weekNumber, trailing-8 grid), and — later — the
|
|
11
|
+
* Jobs window tokens (F5 Phase 5), which import these instead of re-deriving.
|
|
12
|
+
*
|
|
13
|
+
* The engine (proleptic Gregorian) day-count is Howard Hinnant's
|
|
14
|
+
* `days_from_civil` / `civil_from_days` — exact for all in-range dates, integer
|
|
15
|
+
* throughout.
|
|
16
|
+
*/
|
|
17
|
+
/** A calendar date as integer parts (UTC, proleptic Gregorian). */
|
|
18
|
+
export type YMD = {
|
|
19
|
+
y: number;
|
|
20
|
+
m: number;
|
|
21
|
+
d: number;
|
|
22
|
+
};
|
|
23
|
+
/** Parse `"YYYY-MM-DD"` (optionally with a trailing time) into integer parts. */
|
|
24
|
+
export declare function parseISODate(iso: string): YMD;
|
|
25
|
+
/** Format integer parts back to `"YYYY-MM-DD"` (zero-padded). */
|
|
26
|
+
export declare function formatISODate({ y, m, d }: YMD): string;
|
|
27
|
+
/** Days since 1970-01-01 for a civil date. Pure integer (Hinnant). */
|
|
28
|
+
export declare function daysFromCivil(y: number, m: number, d: number): number;
|
|
29
|
+
/** Civil date from a 1970-epoch day-count. Inverse of {@link daysFromCivil}. */
|
|
30
|
+
export declare function civilFromDays(z: number): YMD;
|
|
31
|
+
/** Add `n` days (may be negative) to an ISO date, returning a new ISO date. */
|
|
32
|
+
export declare function addDaysISO(iso: string, n: number): string;
|
|
33
|
+
/** ISO day-of-week: 0 = Monday … 6 = Sunday. */
|
|
34
|
+
export declare function isoDayOfWeek(iso: string): number;
|
|
35
|
+
/** The Monday (`"YYYY-MM-DD"`) of the ISO week containing `iso`. */
|
|
36
|
+
export declare function mondayOfISO(iso: string): string;
|
|
37
|
+
/** ISO-8601 week number (1–53) of the week containing `iso`. */
|
|
38
|
+
export declare function isoWeekNumber(iso: string): number;
|
|
39
|
+
/**
|
|
40
|
+
* The most recent COMPLETE Monday..Sunday week STRICTLY before `todayISO`.
|
|
41
|
+
*
|
|
42
|
+
* The week containing `todayISO` is never complete before its own Sunday
|
|
43
|
+
* elapses, so the last guaranteed-complete week is always the one before it —
|
|
44
|
+
* `[thisMonday - 7d, thisMonday - 1d]` — regardless of which weekday `today` is.
|
|
45
|
+
* This is the window the Jobs `{{lastFullWeek*}}` tokens resolve to (F5 P5).
|
|
46
|
+
*/
|
|
47
|
+
export declare function lastFullWeek(todayISO: string): {
|
|
48
|
+
startISO: string;
|
|
49
|
+
endISO: string;
|
|
50
|
+
};
|