deskforge 1.0.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/.vscode/settings.json +3 -0
- package/README.md +547 -0
- package/examples/deskforge-app/App.ts +50 -0
- package/examples/deskforge-app/README.md +80 -0
- package/examples/deskforge-app/app.json +10 -0
- package/examples/deskforge-app/dist/App.d.ts +1 -0
- package/examples/deskforge-app/dist/App.js +100 -0
- package/examples/deskforge-app/dist/App.js.map +1 -0
- package/examples/deskforge-app/dist/deskforge-app-details.png +0 -0
- package/examples/deskforge-app/dist/deskforge-app-home.png +0 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/App.d.ts +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/App.js +74 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/App.js.map +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Details.d.ts +9 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Details.js +14 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Details.js.map +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Home.d.ts +9 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Home.js +13 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Home.js.map +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/index.d.ts +2 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/index.js +13 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/index.js.map +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/Responsive.d.ts +38 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/Responsive.js +61 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/Responsive.js.map +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/index.d.ts +1 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/index.js +18 -0
- package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/easing.d.ts +22 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/easing.js +91 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/easing.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/index.d.ts +3 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/index.js +26 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/interpolate.d.ts +6 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/interpolate.js +83 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/interpolate.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/spring.d.ts +20 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/spring.js +79 -0
- package/examples/deskforge-app/dist/packages/core/src/animation/spring.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/component/component.d.ts +5 -0
- package/examples/deskforge-app/dist/packages/core/src/component/component.js +14 -0
- package/examples/deskforge-app/dist/packages/core/src/component/component.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/component/index.d.ts +1 -0
- package/examples/deskforge-app/dist/packages/core/src/component/index.js +18 -0
- package/examples/deskforge-app/dist/packages/core/src/component/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/index.d.ts +5 -0
- package/examples/deskforge-app/dist/packages/core/src/index.js +30 -0
- package/examples/deskforge-app/dist/packages/core/src/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/scheduler/index.d.ts +1 -0
- package/examples/deskforge-app/dist/packages/core/src/scheduler/index.js +20 -0
- package/examples/deskforge-app/dist/packages/core/src/scheduler/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/scheduler/scheduler.d.ts +11 -0
- package/examples/deskforge-app/dist/packages/core/src/scheduler/scheduler.js +61 -0
- package/examples/deskforge-app/dist/packages/core/src/scheduler/scheduler.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/diff.d.ts +16 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/diff.js +67 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/diff.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/index.d.ts +3 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/index.js +23 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/node.d.ts +12 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/node.js +59 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/node.js.map +1 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/tree.d.ts +10 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/tree.js +43 -0
- package/examples/deskforge-app/dist/packages/core/src/tree/tree.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/canvas.d.ts +23 -0
- package/examples/deskforge-app/dist/packages/renderer/src/canvas.js +38 -0
- package/examples/deskforge-app/dist/packages/renderer/src/canvas.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/context.d.ts +33 -0
- package/examples/deskforge-app/dist/packages/renderer/src/context.js +45 -0
- package/examples/deskforge-app/dist/packages/renderer/src/context.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/dirty-region.d.ts +42 -0
- package/examples/deskforge-app/dist/packages/renderer/src/dirty-region.js +106 -0
- package/examples/deskforge-app/dist/packages/renderer/src/dirty-region.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/engine.d.ts +56 -0
- package/examples/deskforge-app/dist/packages/renderer/src/engine.js +95 -0
- package/examples/deskforge-app/dist/packages/renderer/src/engine.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/filters.d.ts +22 -0
- package/examples/deskforge-app/dist/packages/renderer/src/filters.js +41 -0
- package/examples/deskforge-app/dist/packages/renderer/src/filters.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/index.d.ts +15 -0
- package/examples/deskforge-app/dist/packages/renderer/src/index.js +34 -0
- package/examples/deskforge-app/dist/packages/renderer/src/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/painter.d.ts +26 -0
- package/examples/deskforge-app/dist/packages/renderer/src/painter.js +127 -0
- package/examples/deskforge-app/dist/packages/renderer/src/painter.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/renderer.d.ts +71 -0
- package/examples/deskforge-app/dist/packages/renderer/src/renderer.js +120 -0
- package/examples/deskforge-app/dist/packages/renderer/src/renderer.js.map +1 -0
- package/examples/deskforge-app/dist/packages/renderer/src/svg-export.d.ts +47 -0
- package/examples/deskforge-app/dist/packages/renderer/src/svg-export.js +125 -0
- package/examples/deskforge-app/dist/packages/renderer/src/svg-export.js.map +1 -0
- package/examples/deskforge-app/dist/packages/router/src/app.d.ts +9 -0
- package/examples/deskforge-app/dist/packages/router/src/app.js +12 -0
- package/examples/deskforge-app/dist/packages/router/src/app.js.map +1 -0
- package/examples/deskforge-app/dist/packages/router/src/file-router.d.ts +35 -0
- package/examples/deskforge-app/dist/packages/router/src/file-router.js +145 -0
- package/examples/deskforge-app/dist/packages/router/src/file-router.js.map +1 -0
- package/examples/deskforge-app/dist/packages/router/src/index.d.ts +5 -0
- package/examples/deskforge-app/dist/packages/router/src/index.js +24 -0
- package/examples/deskforge-app/dist/packages/router/src/index.js.map +1 -0
- package/examples/deskforge-app/dist/packages/router/src/manifest.d.ts +9 -0
- package/examples/deskforge-app/dist/packages/router/src/manifest.js +26 -0
- package/examples/deskforge-app/dist/packages/router/src/manifest.js.map +1 -0
- package/examples/deskforge-app/dist/packages/router/src/router.d.ts +30 -0
- package/examples/deskforge-app/dist/packages/router/src/router.js +112 -0
- package/examples/deskforge-app/dist/packages/router/src/router.js.map +1 -0
- package/examples/deskforge-app/dist/packages/router/src/screen.d.ts +30 -0
- package/examples/deskforge-app/dist/packages/router/src/screen.js +34 -0
- package/examples/deskforge-app/dist/packages/router/src/screen.js.map +1 -0
- package/examples/deskforge-app/dist/src/screens/Details.d.ts +9 -0
- package/examples/deskforge-app/dist/src/screens/Details.js +62 -0
- package/examples/deskforge-app/dist/src/screens/Details.js.map +1 -0
- package/examples/deskforge-app/dist/src/screens/Home.d.ts +9 -0
- package/examples/deskforge-app/dist/src/screens/Home.js +68 -0
- package/examples/deskforge-app/dist/src/screens/Home.js.map +1 -0
- package/examples/deskforge-app/dist/src/screens/index.d.ts +2 -0
- package/examples/deskforge-app/dist/src/screens/index.js +11 -0
- package/examples/deskforge-app/dist/src/screens/index.js.map +1 -0
- package/examples/deskforge-app/node_modules/@types/node/LICENSE +21 -0
- package/examples/deskforge-app/node_modules/@types/node/README.md +15 -0
- package/examples/deskforge-app/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/examples/deskforge-app/node_modules/@types/node/assert.d.ts +1062 -0
- package/examples/deskforge-app/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/examples/deskforge-app/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/examples/deskforge-app/node_modules/@types/node/buffer.d.ts +1936 -0
- package/examples/deskforge-app/node_modules/@types/node/child_process.d.ts +1475 -0
- package/examples/deskforge-app/node_modules/@types/node/cluster.d.ts +577 -0
- package/examples/deskforge-app/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/examples/deskforge-app/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/examples/deskforge-app/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/examples/deskforge-app/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/examples/deskforge-app/node_modules/@types/node/console.d.ts +452 -0
- package/examples/deskforge-app/node_modules/@types/node/constants.d.ts +21 -0
- package/examples/deskforge-app/node_modules/@types/node/crypto.d.ts +4590 -0
- package/examples/deskforge-app/node_modules/@types/node/dgram.d.ts +597 -0
- package/examples/deskforge-app/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/examples/deskforge-app/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/examples/deskforge-app/node_modules/@types/node/dns.d.ts +871 -0
- package/examples/deskforge-app/node_modules/@types/node/domain.d.ts +170 -0
- package/examples/deskforge-app/node_modules/@types/node/events.d.ts +977 -0
- package/examples/deskforge-app/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/examples/deskforge-app/node_modules/@types/node/fs.d.ts +4375 -0
- package/examples/deskforge-app/node_modules/@types/node/globals.d.ts +172 -0
- package/examples/deskforge-app/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/examples/deskforge-app/node_modules/@types/node/http.d.ts +2049 -0
- package/examples/deskforge-app/node_modules/@types/node/http2.d.ts +2712 -0
- package/examples/deskforge-app/node_modules/@types/node/https.d.ts +578 -0
- package/examples/deskforge-app/node_modules/@types/node/index.d.ts +93 -0
- package/examples/deskforge-app/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/examples/deskforge-app/node_modules/@types/node/module.d.ts +539 -0
- package/examples/deskforge-app/node_modules/@types/node/net.d.ts +1031 -0
- package/examples/deskforge-app/node_modules/@types/node/os.d.ts +506 -0
- package/examples/deskforge-app/node_modules/@types/node/package.json +140 -0
- package/examples/deskforge-app/node_modules/@types/node/path.d.ts +200 -0
- package/examples/deskforge-app/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/examples/deskforge-app/node_modules/@types/node/process.d.ts +1961 -0
- package/examples/deskforge-app/node_modules/@types/node/punycode.d.ts +117 -0
- package/examples/deskforge-app/node_modules/@types/node/querystring.d.ts +152 -0
- package/examples/deskforge-app/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/examples/deskforge-app/node_modules/@types/node/readline.d.ts +589 -0
- package/examples/deskforge-app/node_modules/@types/node/repl.d.ts +430 -0
- package/examples/deskforge-app/node_modules/@types/node/sea.d.ts +153 -0
- package/examples/deskforge-app/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/examples/deskforge-app/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/examples/deskforge-app/node_modules/@types/node/stream/web.d.ts +533 -0
- package/examples/deskforge-app/node_modules/@types/node/stream.d.ts +1698 -0
- package/examples/deskforge-app/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/examples/deskforge-app/node_modules/@types/node/test.d.ts +1787 -0
- package/examples/deskforge-app/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/examples/deskforge-app/node_modules/@types/node/timers.d.ts +286 -0
- package/examples/deskforge-app/node_modules/@types/node/tls.d.ts +1259 -0
- package/examples/deskforge-app/node_modules/@types/node/trace_events.d.ts +197 -0
- package/examples/deskforge-app/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/examples/deskforge-app/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/examples/deskforge-app/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/examples/deskforge-app/node_modules/@types/node/tty.d.ts +208 -0
- package/examples/deskforge-app/node_modules/@types/node/url.d.ts +964 -0
- package/examples/deskforge-app/node_modules/@types/node/util.d.ts +2331 -0
- package/examples/deskforge-app/node_modules/@types/node/v8.d.ts +809 -0
- package/examples/deskforge-app/node_modules/@types/node/vm.d.ts +1001 -0
- package/examples/deskforge-app/node_modules/@types/node/wasi.d.ts +181 -0
- package/examples/deskforge-app/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/examples/deskforge-app/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/examples/deskforge-app/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/examples/deskforge-app/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
- package/examples/deskforge-app/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/examples/deskforge-app/node_modules/@types/node/zlib.d.ts +598 -0
- package/examples/deskforge-app/node_modules/undici-types/LICENSE +21 -0
- package/examples/deskforge-app/node_modules/undici-types/README.md +6 -0
- package/examples/deskforge-app/node_modules/undici-types/agent.d.ts +31 -0
- package/examples/deskforge-app/node_modules/undici-types/api.d.ts +43 -0
- package/examples/deskforge-app/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/examples/deskforge-app/node_modules/undici-types/cache.d.ts +36 -0
- package/examples/deskforge-app/node_modules/undici-types/client.d.ts +108 -0
- package/examples/deskforge-app/node_modules/undici-types/connector.d.ts +34 -0
- package/examples/deskforge-app/node_modules/undici-types/content-type.d.ts +21 -0
- package/examples/deskforge-app/node_modules/undici-types/cookies.d.ts +28 -0
- package/examples/deskforge-app/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/examples/deskforge-app/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/examples/deskforge-app/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/examples/deskforge-app/node_modules/undici-types/errors.d.ts +149 -0
- package/examples/deskforge-app/node_modules/undici-types/eventsource.d.ts +61 -0
- package/examples/deskforge-app/node_modules/undici-types/fetch.d.ts +209 -0
- package/examples/deskforge-app/node_modules/undici-types/file.d.ts +39 -0
- package/examples/deskforge-app/node_modules/undici-types/filereader.d.ts +54 -0
- package/examples/deskforge-app/node_modules/undici-types/formdata.d.ts +108 -0
- package/examples/deskforge-app/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/examples/deskforge-app/node_modules/undici-types/global-origin.d.ts +7 -0
- package/examples/deskforge-app/node_modules/undici-types/handlers.d.ts +15 -0
- package/examples/deskforge-app/node_modules/undici-types/header.d.ts +4 -0
- package/examples/deskforge-app/node_modules/undici-types/index.d.ts +71 -0
- package/examples/deskforge-app/node_modules/undici-types/interceptors.d.ts +17 -0
- package/examples/deskforge-app/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/examples/deskforge-app/node_modules/undici-types/mock-client.d.ts +25 -0
- package/examples/deskforge-app/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/examples/deskforge-app/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/examples/deskforge-app/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/examples/deskforge-app/node_modules/undici-types/package.json +55 -0
- package/examples/deskforge-app/node_modules/undici-types/patch.d.ts +33 -0
- package/examples/deskforge-app/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/examples/deskforge-app/node_modules/undici-types/pool.d.ts +39 -0
- package/examples/deskforge-app/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/examples/deskforge-app/node_modules/undici-types/readable.d.ts +65 -0
- package/examples/deskforge-app/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/examples/deskforge-app/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/examples/deskforge-app/node_modules/undici-types/util.d.ts +18 -0
- package/examples/deskforge-app/node_modules/undici-types/webidl.d.ts +228 -0
- package/examples/deskforge-app/node_modules/undici-types/websocket.d.ts +150 -0
- package/examples/deskforge-app/package.json +19 -0
- package/examples/deskforge-app/src/screens/Details.ts +20 -0
- package/examples/deskforge-app/src/screens/Home.ts +19 -0
- package/examples/deskforge-app/src/screens/index.ts +2 -0
- package/examples/deskforge-app/src/ui/Responsive.ts +88 -0
- package/examples/deskforge-app/src/ui/index.ts +1 -0
- package/examples/deskforge-app/tsconfig.json +24 -0
- package/examples/notekeeper/dist/app.d.ts +1 -0
- package/examples/notekeeper/dist/app.js +96 -0
- package/examples/notekeeper/dist/app.js.map +1 -0
- package/examples/notekeeper/dist/components/noteCard.d.ts +1 -0
- package/examples/notekeeper/dist/components/noteCard.js +124 -0
- package/examples/notekeeper/dist/components/noteCard.js.map +1 -0
- package/examples/notekeeper/dist/hooks/useNotes.d.ts +14 -0
- package/examples/notekeeper/dist/hooks/useNotes.js +127 -0
- package/examples/notekeeper/dist/hooks/useNotes.js.map +1 -0
- package/examples/notekeeper/dist/notekeeper.png +0 -0
- package/examples/notekeeper/dist/state/appState.d.ts +11 -0
- package/examples/notekeeper/dist/state/appState.js +125 -0
- package/examples/notekeeper/dist/state/appState.js.map +1 -0
- package/examples/notekeeper/package.json +19 -0
- package/examples/notekeeper/src/README.md +10 -0
- package/examples/notekeeper/src/app.ts +98 -0
- package/examples/notekeeper/src/components/noteCard.ts +147 -0
- package/examples/notekeeper/src/hooks/useNotes.ts +169 -0
- package/examples/notekeeper/src/state/appState.ts +142 -0
- package/examples/notekeeper/tsconfig.json +16 -0
- package/examples/tsconfig.json +34 -0
- package/local-app/addlibrary.ts +7 -0
- package/local-app/app.ts +29 -0
- package/local-app/package.json +13 -0
- package/local-app/screens/Home.ts +20 -0
- package/local-app/tsconfig.json +8 -0
- package/package.json +30 -0
- package/packages/ai/dist/brain.d.ts +32 -0
- package/packages/ai/dist/brain.d.ts.map +1 -0
- package/packages/ai/dist/brain.js +94 -0
- package/packages/ai/dist/brain.js.map +1 -0
- package/packages/ai/dist/index.d.ts +5 -0
- package/packages/ai/dist/index.d.ts.map +1 -0
- package/packages/ai/dist/index.js +27 -0
- package/packages/ai/dist/index.js.map +1 -0
- package/packages/ai/dist/nodes/logic.d.ts +23 -0
- package/packages/ai/dist/nodes/logic.d.ts.map +1 -0
- package/packages/ai/dist/nodes/logic.js +55 -0
- package/packages/ai/dist/nodes/logic.js.map +1 -0
- package/packages/ai/dist/nodes/memory.d.ts +28 -0
- package/packages/ai/dist/nodes/memory.d.ts.map +1 -0
- package/packages/ai/dist/nodes/memory.js +93 -0
- package/packages/ai/dist/nodes/memory.js.map +1 -0
- package/packages/ai/dist/nodes/perception.d.ts +21 -0
- package/packages/ai/dist/nodes/perception.d.ts.map +1 -0
- package/packages/ai/dist/nodes/perception.js +28 -0
- package/packages/ai/dist/nodes/perception.js.map +1 -0
- package/packages/ai/package.json +30 -0
- package/packages/ai/src/brain.ts +209 -0
- package/packages/ai/src/index.ts +14 -0
- package/packages/ai/src/nodes/logic.ts +109 -0
- package/packages/ai/src/nodes/memory.ts +172 -0
- package/packages/ai/src/nodes/perception.ts +90 -0
- package/packages/ai/tsconfig.json +17 -0
- package/packages/background/dist/background.d.ts +42 -0
- package/packages/background/dist/background.d.ts.map +1 -0
- package/packages/background/dist/background.js +149 -0
- package/packages/background/dist/background.js.map +1 -0
- package/packages/background/dist/index.d.ts +2 -0
- package/packages/background/dist/index.d.ts.map +1 -0
- package/packages/background/dist/index.js +20 -0
- package/packages/background/dist/index.js.map +1 -0
- package/packages/background/package.json +30 -0
- package/packages/background/src/background.ts +263 -0
- package/packages/background/src/index.ts +4 -0
- package/packages/background/tsconfig.json +17 -0
- package/packages/bridge/dist/bridge.d.ts +22 -0
- package/packages/bridge/dist/bridge.d.ts.map +1 -0
- package/packages/bridge/dist/bridge.js +44 -0
- package/packages/bridge/dist/bridge.js.map +1 -0
- package/packages/bridge/dist/c.d.ts +10 -0
- package/packages/bridge/dist/c.d.ts.map +1 -0
- package/packages/bridge/dist/c.js +23 -0
- package/packages/bridge/dist/c.js.map +1 -0
- package/packages/bridge/dist/dotnet.d.ts +11 -0
- package/packages/bridge/dist/dotnet.d.ts.map +1 -0
- package/packages/bridge/dist/dotnet.js +26 -0
- package/packages/bridge/dist/dotnet.js.map +1 -0
- package/packages/bridge/dist/go.d.ts +10 -0
- package/packages/bridge/dist/go.d.ts.map +1 -0
- package/packages/bridge/dist/go.js +27 -0
- package/packages/bridge/dist/go.js.map +1 -0
- package/packages/bridge/dist/http.d.ts +22 -0
- package/packages/bridge/dist/http.d.ts.map +1 -0
- package/packages/bridge/dist/http.js +110 -0
- package/packages/bridge/dist/http.js.map +1 -0
- package/packages/bridge/dist/index.d.ts +5 -0
- package/packages/bridge/dist/index.d.ts.map +1 -0
- package/packages/bridge/dist/index.js +27 -0
- package/packages/bridge/dist/index.js.map +1 -0
- package/packages/bridge/dist/kotlin.d.ts +11 -0
- package/packages/bridge/dist/kotlin.d.ts.map +1 -0
- package/packages/bridge/dist/kotlin.js +25 -0
- package/packages/bridge/dist/kotlin.js.map +1 -0
- package/packages/bridge/dist/php.d.ts +11 -0
- package/packages/bridge/dist/php.d.ts.map +1 -0
- package/packages/bridge/dist/php.js +28 -0
- package/packages/bridge/dist/php.js.map +1 -0
- package/packages/bridge/dist/process.d.ts +27 -0
- package/packages/bridge/dist/process.d.ts.map +1 -0
- package/packages/bridge/dist/process.js +101 -0
- package/packages/bridge/dist/process.js.map +1 -0
- package/packages/bridge/dist/python.d.ts +15 -0
- package/packages/bridge/dist/python.d.ts.map +1 -0
- package/packages/bridge/dist/python.js +34 -0
- package/packages/bridge/dist/python.js.map +1 -0
- package/packages/bridge/dist/rust.d.ts +10 -0
- package/packages/bridge/dist/rust.d.ts.map +1 -0
- package/packages/bridge/dist/rust.js +24 -0
- package/packages/bridge/dist/rust.js.map +1 -0
- package/packages/bridge/dist/swift.d.ts +11 -0
- package/packages/bridge/dist/swift.d.ts.map +1 -0
- package/packages/bridge/dist/swift.js +26 -0
- package/packages/bridge/dist/swift.js.map +1 -0
- package/packages/bridge/package.json +30 -0
- package/packages/bridge/src/bridge.ts +38 -0
- package/packages/bridge/src/c.ts +41 -0
- package/packages/bridge/src/dotnet.ts +50 -0
- package/packages/bridge/src/go.ts +48 -0
- package/packages/bridge/src/http.ts +198 -0
- package/packages/bridge/src/index.ts +14 -0
- package/packages/bridge/src/kotlin.ts +48 -0
- package/packages/bridge/src/php.ts +59 -0
- package/packages/bridge/src/process.ts +174 -0
- package/packages/bridge/src/python.ts +69 -0
- package/packages/bridge/src/rust.ts +43 -0
- package/packages/bridge/src/swift.ts +50 -0
- package/packages/bridge/tsconfig.json +18 -0
- package/packages/cli/dist/commands/build.d.ts +17 -0
- package/packages/cli/dist/commands/build.d.ts.map +1 -0
- package/packages/cli/dist/commands/build.js +79 -0
- package/packages/cli/dist/commands/build.js.map +1 -0
- package/packages/cli/dist/commands/create.d.ts +11 -0
- package/packages/cli/dist/commands/create.d.ts.map +1 -0
- package/packages/cli/dist/commands/create.js +287 -0
- package/packages/cli/dist/commands/create.js.map +1 -0
- package/packages/cli/dist/commands/lib/add.d.ts +3 -0
- package/packages/cli/dist/commands/lib/add.d.ts.map +1 -0
- package/packages/cli/dist/commands/lib/add.js +39 -0
- package/packages/cli/dist/commands/lib/add.js.map +1 -0
- package/packages/cli/dist/commands/lib/list.d.ts +3 -0
- package/packages/cli/dist/commands/lib/list.d.ts.map +1 -0
- package/packages/cli/dist/commands/lib/list.js +29 -0
- package/packages/cli/dist/commands/lib/list.js.map +1 -0
- package/packages/cli/dist/commands/lib/remove.d.ts +3 -0
- package/packages/cli/dist/commands/lib/remove.d.ts.map +1 -0
- package/packages/cli/dist/commands/lib/remove.js +30 -0
- package/packages/cli/dist/commands/lib/remove.js.map +1 -0
- package/packages/cli/dist/commands/lib/restore.d.ts +3 -0
- package/packages/cli/dist/commands/lib/restore.d.ts.map +1 -0
- package/packages/cli/dist/commands/lib/restore.js +49 -0
- package/packages/cli/dist/commands/lib/restore.js.map +1 -0
- package/packages/cli/dist/commands/lib/search.d.ts +3 -0
- package/packages/cli/dist/commands/lib/search.d.ts.map +1 -0
- package/packages/cli/dist/commands/lib/search.js +30 -0
- package/packages/cli/dist/commands/lib/search.js.map +1 -0
- package/packages/cli/dist/commands/start.d.ts +10 -0
- package/packages/cli/dist/commands/start.d.ts.map +1 -0
- package/packages/cli/dist/commands/start.js +88 -0
- package/packages/cli/dist/commands/start.js.map +1 -0
- package/packages/cli/dist/index.d.ts +3 -0
- package/packages/cli/dist/index.d.ts.map +1 -0
- package/packages/cli/dist/index.js +193 -0
- package/packages/cli/dist/index.js.map +1 -0
- package/packages/cli/dist/registry/client.d.ts +24 -0
- package/packages/cli/dist/registry/client.d.ts.map +1 -0
- package/packages/cli/dist/registry/client.js +73 -0
- package/packages/cli/dist/registry/client.js.map +1 -0
- package/packages/cli/dist/registry/installer.d.ts +16 -0
- package/packages/cli/dist/registry/installer.d.ts.map +1 -0
- package/packages/cli/dist/registry/installer.js +135 -0
- package/packages/cli/dist/registry/installer.js.map +1 -0
- package/packages/cli/dist/registry/manifest.d.ts +13 -0
- package/packages/cli/dist/registry/manifest.d.ts.map +1 -0
- package/packages/cli/dist/registry/manifest.js +100 -0
- package/packages/cli/dist/registry/manifest.js.map +1 -0
- package/packages/cli/package.json +36 -0
- package/packages/cli/src/commands/build.ts +138 -0
- package/packages/cli/src/commands/create.ts +363 -0
- package/packages/cli/src/commands/lib/add.ts +56 -0
- package/packages/cli/src/commands/lib/list.ts +42 -0
- package/packages/cli/src/commands/lib/remove.ts +39 -0
- package/packages/cli/src/commands/lib/restore.ts +65 -0
- package/packages/cli/src/commands/lib/search.ts +45 -0
- package/packages/cli/src/commands/start.ts +117 -0
- package/packages/cli/src/index.ts +224 -0
- package/packages/cli/src/registry/client.ts +153 -0
- package/packages/cli/src/registry/installer.ts +197 -0
- package/packages/cli/src/registry/manifest.ts +145 -0
- package/packages/cli/test/create.test.js +22 -0
- package/packages/cli/tsconfig.json +18 -0
- package/packages/core/dist/animation/easing.d.ts +23 -0
- package/packages/core/dist/animation/easing.d.ts.map +1 -0
- package/packages/core/dist/animation/easing.js +91 -0
- package/packages/core/dist/animation/easing.js.map +1 -0
- package/packages/core/dist/animation/index.d.ts +4 -0
- package/packages/core/dist/animation/index.d.ts.map +1 -0
- package/packages/core/dist/animation/index.js +26 -0
- package/packages/core/dist/animation/index.js.map +1 -0
- package/packages/core/dist/animation/interpolate.d.ts +7 -0
- package/packages/core/dist/animation/interpolate.d.ts.map +1 -0
- package/packages/core/dist/animation/interpolate.js +83 -0
- package/packages/core/dist/animation/interpolate.js.map +1 -0
- package/packages/core/dist/animation/spring.d.ts +21 -0
- package/packages/core/dist/animation/spring.d.ts.map +1 -0
- package/packages/core/dist/animation/spring.js +79 -0
- package/packages/core/dist/animation/spring.js.map +1 -0
- package/packages/core/dist/component/component.d.ts +6 -0
- package/packages/core/dist/component/component.d.ts.map +1 -0
- package/packages/core/dist/component/component.js +14 -0
- package/packages/core/dist/component/component.js.map +1 -0
- package/packages/core/dist/component/index.d.ts +2 -0
- package/packages/core/dist/component/index.d.ts.map +1 -0
- package/packages/core/dist/component/index.js +18 -0
- package/packages/core/dist/component/index.js.map +1 -0
- package/packages/core/dist/index.d.ts +6 -0
- package/packages/core/dist/index.d.ts.map +1 -0
- package/packages/core/dist/index.js +30 -0
- package/packages/core/dist/index.js.map +1 -0
- package/packages/core/dist/scheduler/index.d.ts +2 -0
- package/packages/core/dist/scheduler/index.d.ts.map +1 -0
- package/packages/core/dist/scheduler/index.js +20 -0
- package/packages/core/dist/scheduler/index.js.map +1 -0
- package/packages/core/dist/scheduler/scheduler.d.ts +12 -0
- package/packages/core/dist/scheduler/scheduler.d.ts.map +1 -0
- package/packages/core/dist/scheduler/scheduler.js +61 -0
- package/packages/core/dist/scheduler/scheduler.js.map +1 -0
- package/packages/core/dist/tree/diff.d.ts +17 -0
- package/packages/core/dist/tree/diff.d.ts.map +1 -0
- package/packages/core/dist/tree/diff.js +67 -0
- package/packages/core/dist/tree/diff.js.map +1 -0
- package/packages/core/dist/tree/index.d.ts +4 -0
- package/packages/core/dist/tree/index.d.ts.map +1 -0
- package/packages/core/dist/tree/index.js +23 -0
- package/packages/core/dist/tree/index.js.map +1 -0
- package/packages/core/dist/tree/node.d.ts +13 -0
- package/packages/core/dist/tree/node.d.ts.map +1 -0
- package/packages/core/dist/tree/node.js +59 -0
- package/packages/core/dist/tree/node.js.map +1 -0
- package/packages/core/dist/tree/tree.d.ts +11 -0
- package/packages/core/dist/tree/tree.d.ts.map +1 -0
- package/packages/core/dist/tree/tree.js +43 -0
- package/packages/core/dist/tree/tree.js.map +1 -0
- package/packages/core/package.json +30 -0
- package/packages/core/src/animation/easing.d.ts +22 -0
- package/packages/core/src/animation/easing.js +91 -0
- package/packages/core/src/animation/easing.js.map +1 -0
- package/packages/core/src/animation/easing.ts +88 -0
- package/packages/core/src/animation/index.d.ts +3 -0
- package/packages/core/src/animation/index.js +26 -0
- package/packages/core/src/animation/index.js.map +1 -0
- package/packages/core/src/animation/index.ts +12 -0
- package/packages/core/src/animation/interpolate.d.ts +6 -0
- package/packages/core/src/animation/interpolate.js +83 -0
- package/packages/core/src/animation/interpolate.js.map +1 -0
- package/packages/core/src/animation/interpolate.ts +107 -0
- package/packages/core/src/animation/spring.d.ts +20 -0
- package/packages/core/src/animation/spring.js +79 -0
- package/packages/core/src/animation/spring.js.map +1 -0
- package/packages/core/src/animation/spring.ts +118 -0
- package/packages/core/src/component/component.d.ts +5 -0
- package/packages/core/src/component/component.js +14 -0
- package/packages/core/src/component/component.js.map +1 -0
- package/packages/core/src/component/component.ts +22 -0
- package/packages/core/src/component/index.d.ts +1 -0
- package/packages/core/src/component/index.js +18 -0
- package/packages/core/src/component/index.js.map +1 -0
- package/packages/core/src/component/index.ts +1 -0
- package/packages/core/src/index.d.ts +5 -0
- package/packages/core/src/index.js +30 -0
- package/packages/core/src/index.js.map +1 -0
- package/packages/core/src/index.ts +18 -0
- package/packages/core/src/scheduler/index.d.ts +1 -0
- package/packages/core/src/scheduler/index.d.ts.map +1 -0
- package/packages/core/src/scheduler/index.js +20 -0
- package/packages/core/src/scheduler/index.js.map +1 -0
- package/packages/core/src/scheduler/index.ts +4 -0
- package/packages/core/src/scheduler/scheduler.d.ts +11 -0
- package/packages/core/src/scheduler/scheduler.d.ts.map +1 -0
- package/packages/core/src/scheduler/scheduler.js +61 -0
- package/packages/core/src/scheduler/scheduler.js.map +1 -0
- package/packages/core/src/scheduler/scheduler.ts +76 -0
- package/packages/core/src/tree/diff.d.ts +16 -0
- package/packages/core/src/tree/diff.js +67 -0
- package/packages/core/src/tree/diff.js.map +1 -0
- package/packages/core/src/tree/diff.ts +125 -0
- package/packages/core/src/tree/index.d.ts +3 -0
- package/packages/core/src/tree/index.js +23 -0
- package/packages/core/src/tree/index.js.map +1 -0
- package/packages/core/src/tree/index.ts +7 -0
- package/packages/core/src/tree/node.d.ts +12 -0
- package/packages/core/src/tree/node.d.ts.map +1 -0
- package/packages/core/src/tree/node.js +59 -0
- package/packages/core/src/tree/node.js.map +1 -0
- package/packages/core/src/tree/node.ts +96 -0
- package/packages/core/src/tree/tree.d.ts +10 -0
- package/packages/core/src/tree/tree.d.ts.map +1 -0
- package/packages/core/src/tree/tree.js +43 -0
- package/packages/core/src/tree/tree.js.map +1 -0
- package/packages/core/src/tree/tree.ts +64 -0
- package/packages/core/tsconfig.json +18 -0
- package/packages/db/dist/adapters/mongodb.d.ts +17 -0
- package/packages/db/dist/adapters/mongodb.d.ts.map +1 -0
- package/packages/db/dist/adapters/mongodb.js +64 -0
- package/packages/db/dist/adapters/mongodb.js.map +1 -0
- package/packages/db/dist/adapters/mysql.d.ts +15 -0
- package/packages/db/dist/adapters/mysql.d.ts.map +1 -0
- package/packages/db/dist/adapters/mysql.js +37 -0
- package/packages/db/dist/adapters/mysql.js.map +1 -0
- package/packages/db/dist/adapters/postgres.d.ts +15 -0
- package/packages/db/dist/adapters/postgres.d.ts.map +1 -0
- package/packages/db/dist/adapters/postgres.js +38 -0
- package/packages/db/dist/adapters/postgres.js.map +1 -0
- package/packages/db/dist/adapters/sqlite.d.ts +24 -0
- package/packages/db/dist/adapters/sqlite.d.ts.map +1 -0
- package/packages/db/dist/adapters/sqlite.js +56 -0
- package/packages/db/dist/adapters/sqlite.js.map +1 -0
- package/packages/db/dist/db.d.ts +45 -0
- package/packages/db/dist/db.d.ts.map +1 -0
- package/packages/db/dist/db.js +111 -0
- package/packages/db/dist/db.js.map +1 -0
- package/packages/db/dist/index.d.ts +7 -0
- package/packages/db/dist/index.d.ts.map +1 -0
- package/packages/db/dist/index.js +31 -0
- package/packages/db/dist/index.js.map +1 -0
- package/packages/db/dist/query.d.ts +26 -0
- package/packages/db/dist/query.d.ts.map +1 -0
- package/packages/db/dist/query.js +71 -0
- package/packages/db/dist/query.js.map +1 -0
- package/packages/db/package.json +30 -0
- package/packages/db/src/adapters/mongodb.ts +130 -0
- package/packages/db/src/adapters/mysql.ts +78 -0
- package/packages/db/src/adapters/postgres.ts +80 -0
- package/packages/db/src/adapters/sqlite.ts +99 -0
- package/packages/db/src/db.ts +175 -0
- package/packages/db/src/index.ts +20 -0
- package/packages/db/src/query.ts +154 -0
- package/packages/db/tsconfig.json +17 -0
- package/packages/device/README.md +21 -0
- package/packages/device/dist/camera.d.ts +28 -0
- package/packages/device/dist/camera.d.ts.map +1 -0
- package/packages/device/dist/camera.js +42 -0
- package/packages/device/dist/camera.js.map +1 -0
- package/packages/device/dist/contacts.d.ts +19 -0
- package/packages/device/dist/contacts.d.ts.map +1 -0
- package/packages/device/dist/contacts.js +40 -0
- package/packages/device/dist/contacts.js.map +1 -0
- package/packages/device/dist/index.d.ts +33 -0
- package/packages/device/dist/index.d.ts.map +1 -0
- package/packages/device/dist/index.js +35 -0
- package/packages/device/dist/index.js.map +1 -0
- package/packages/device/dist/media.d.ts +60 -0
- package/packages/device/dist/media.d.ts.map +1 -0
- package/packages/device/dist/media.js +129 -0
- package/packages/device/dist/media.js.map +1 -0
- package/packages/device/dist/sensors.d.ts +17 -0
- package/packages/device/dist/sensors.d.ts.map +1 -0
- package/packages/device/dist/sensors.js +32 -0
- package/packages/device/dist/sensors.js.map +1 -0
- package/packages/device/package.json +30 -0
- package/packages/device/src/camera.ts +65 -0
- package/packages/device/src/contacts.ts +57 -0
- package/packages/device/src/index.ts +20 -0
- package/packages/device/src/media.ts +194 -0
- package/packages/device/src/sensors.ts +51 -0
- package/packages/device/test/api.test.js +21 -0
- package/packages/device/tsconfig.json +9 -0
- package/packages/file/dist/file.d.ts +55 -0
- package/packages/file/dist/file.d.ts.map +1 -0
- package/packages/file/dist/file.js +114 -0
- package/packages/file/dist/file.js.map +1 -0
- package/packages/file/dist/index.d.ts +2 -0
- package/packages/file/dist/index.d.ts.map +1 -0
- package/packages/file/dist/index.js +20 -0
- package/packages/file/dist/index.js.map +1 -0
- package/packages/file/package.json +30 -0
- package/packages/file/src/file.ts +209 -0
- package/packages/file/src/index.ts +4 -0
- package/packages/file/tsconfig.json +17 -0
- package/packages/i18n/dist/i18n.d.ts +33 -0
- package/packages/i18n/dist/i18n.d.ts.map +1 -0
- package/packages/i18n/dist/i18n.js +149 -0
- package/packages/i18n/dist/i18n.js.map +1 -0
- package/packages/i18n/dist/index.d.ts +2 -0
- package/packages/i18n/dist/index.d.ts.map +1 -0
- package/packages/i18n/dist/index.js +20 -0
- package/packages/i18n/dist/index.js.map +1 -0
- package/packages/i18n/package.json +30 -0
- package/packages/i18n/src/i18n.ts +225 -0
- package/packages/i18n/src/index.ts +4 -0
- package/packages/i18n/tsconfig.json +17 -0
- package/packages/logger/dist/index.d.ts +2 -0
- package/packages/logger/dist/index.d.ts.map +1 -0
- package/packages/logger/dist/index.js +20 -0
- package/packages/logger/dist/index.js.map +1 -0
- package/packages/logger/dist/logger.d.ts +50 -0
- package/packages/logger/dist/logger.d.ts.map +1 -0
- package/packages/logger/dist/logger.js +147 -0
- package/packages/logger/dist/logger.js.map +1 -0
- package/packages/logger/package.json +30 -0
- package/packages/logger/src/index.ts +4 -0
- package/packages/logger/src/logger.ts +240 -0
- package/packages/logger/tsconfig.json +17 -0
- package/packages/network/dist/discovery.d.ts +20 -0
- package/packages/network/dist/discovery.d.ts.map +1 -0
- package/packages/network/dist/discovery.js +58 -0
- package/packages/network/dist/discovery.js.map +1 -0
- package/packages/network/dist/index.d.ts +3 -0
- package/packages/network/dist/index.d.ts.map +1 -0
- package/packages/network/dist/index.js +23 -0
- package/packages/network/dist/index.js.map +1 -0
- package/packages/network/dist/transfer.d.ts +40 -0
- package/packages/network/dist/transfer.d.ts.map +1 -0
- package/packages/network/dist/transfer.js +73 -0
- package/packages/network/dist/transfer.js.map +1 -0
- package/packages/network/package.json +30 -0
- package/packages/network/src/discovery.ts +107 -0
- package/packages/network/src/index.ts +8 -0
- package/packages/network/src/transfer.ts +182 -0
- package/packages/network/tsconfig.json +17 -0
- package/packages/notifications/dist/alert.d.ts +34 -0
- package/packages/notifications/dist/alert.d.ts.map +1 -0
- package/packages/notifications/dist/alert.js +99 -0
- package/packages/notifications/dist/alert.js.map +1 -0
- package/packages/notifications/dist/email.d.ts +41 -0
- package/packages/notifications/dist/email.d.ts.map +1 -0
- package/packages/notifications/dist/email.js +51 -0
- package/packages/notifications/dist/email.js.map +1 -0
- package/packages/notifications/dist/index.d.ts +84 -0
- package/packages/notifications/dist/index.d.ts.map +1 -0
- package/packages/notifications/dist/index.js +52 -0
- package/packages/notifications/dist/index.js.map +1 -0
- package/packages/notifications/dist/notify.d.ts +36 -0
- package/packages/notifications/dist/notify.d.ts.map +1 -0
- package/packages/notifications/dist/notify.js +62 -0
- package/packages/notifications/dist/notify.js.map +1 -0
- package/packages/notifications/dist/push.d.ts +49 -0
- package/packages/notifications/dist/push.d.ts.map +1 -0
- package/packages/notifications/dist/push.js +76 -0
- package/packages/notifications/dist/push.js.map +1 -0
- package/packages/notifications/dist/sms.d.ts +34 -0
- package/packages/notifications/dist/sms.d.ts.map +1 -0
- package/packages/notifications/dist/sms.js +44 -0
- package/packages/notifications/dist/sms.js.map +1 -0
- package/packages/notifications/dist/storage.d.ts +30 -0
- package/packages/notifications/dist/storage.d.ts.map +1 -0
- package/packages/notifications/dist/storage.js +93 -0
- package/packages/notifications/dist/storage.js.map +1 -0
- package/packages/notifications/dist/toast.d.ts +47 -0
- package/packages/notifications/dist/toast.d.ts.map +1 -0
- package/packages/notifications/dist/toast.js +138 -0
- package/packages/notifications/dist/toast.js.map +1 -0
- package/packages/notifications/dist/users.d.ts +36 -0
- package/packages/notifications/dist/users.d.ts.map +1 -0
- package/packages/notifications/dist/users.js +87 -0
- package/packages/notifications/dist/users.js.map +1 -0
- package/packages/notifications/notifications.db +0 -0
- package/packages/notifications/package.json +33 -0
- package/packages/notifications/src/alert.ts +133 -0
- package/packages/notifications/src/email.ts +127 -0
- package/packages/notifications/src/index.ts +44 -0
- package/packages/notifications/src/notify.ts +126 -0
- package/packages/notifications/src/push.ts +145 -0
- package/packages/notifications/src/sms.ts +97 -0
- package/packages/notifications/src/storage.ts +109 -0
- package/packages/notifications/src/toast.ts +186 -0
- package/packages/notifications/src/types/better-sqlite3.d.ts +5 -0
- package/packages/notifications/src/users.ts +121 -0
- package/packages/notifications/test/notifications.test.js +41 -0
- package/packages/notifications/test/storage.test.js +34 -0
- package/packages/notifications/tsconfig.json +19 -0
- package/packages/payments/dist/gateways/momo.d.ts +25 -0
- package/packages/payments/dist/gateways/momo.d.ts.map +1 -0
- package/packages/payments/dist/gateways/momo.js +44 -0
- package/packages/payments/dist/gateways/momo.js.map +1 -0
- package/packages/payments/dist/gateways/paystack.d.ts +24 -0
- package/packages/payments/dist/gateways/paystack.d.ts.map +1 -0
- package/packages/payments/dist/gateways/paystack.js +51 -0
- package/packages/payments/dist/gateways/paystack.js.map +1 -0
- package/packages/payments/dist/index.d.ts +4 -0
- package/packages/payments/dist/index.d.ts.map +1 -0
- package/packages/payments/dist/index.js +25 -0
- package/packages/payments/dist/index.js.map +1 -0
- package/packages/payments/dist/payment.d.ts +42 -0
- package/packages/payments/dist/payment.d.ts.map +1 -0
- package/packages/payments/dist/payment.js +124 -0
- package/packages/payments/dist/payment.js.map +1 -0
- package/packages/payments/package.json +30 -0
- package/packages/payments/src/gateways/momo.ts +97 -0
- package/packages/payments/src/gateways/paystack.ts +102 -0
- package/packages/payments/src/index.ts +11 -0
- package/packages/payments/src/payment.ts +229 -0
- package/packages/payments/tsconfig.json +17 -0
- package/packages/renderer/README.md +188 -0
- package/packages/renderer/dist/canvas.d.ts +24 -0
- package/packages/renderer/dist/canvas.d.ts.map +1 -0
- package/packages/renderer/dist/canvas.js +38 -0
- package/packages/renderer/dist/canvas.js.map +1 -0
- package/packages/renderer/dist/context.d.ts +34 -0
- package/packages/renderer/dist/context.d.ts.map +1 -0
- package/packages/renderer/dist/context.js +45 -0
- package/packages/renderer/dist/context.js.map +1 -0
- package/packages/renderer/dist/dirty-region.d.ts +43 -0
- package/packages/renderer/dist/dirty-region.d.ts.map +1 -0
- package/packages/renderer/dist/dirty-region.js +106 -0
- package/packages/renderer/dist/dirty-region.js.map +1 -0
- package/packages/renderer/dist/engine.d.ts +57 -0
- package/packages/renderer/dist/engine.d.ts.map +1 -0
- package/packages/renderer/dist/engine.js +95 -0
- package/packages/renderer/dist/engine.js.map +1 -0
- package/packages/renderer/dist/example.d.ts +14 -0
- package/packages/renderer/dist/example.d.ts.map +1 -0
- package/packages/renderer/dist/example.js +160 -0
- package/packages/renderer/dist/example.js.map +1 -0
- package/packages/renderer/dist/filters.d.ts +23 -0
- package/packages/renderer/dist/filters.d.ts.map +1 -0
- package/packages/renderer/dist/filters.js +41 -0
- package/packages/renderer/dist/filters.js.map +1 -0
- package/packages/renderer/dist/icons.d.ts +7 -0
- package/packages/renderer/dist/icons.d.ts.map +1 -0
- package/packages/renderer/dist/icons.js +31 -0
- package/packages/renderer/dist/icons.js.map +1 -0
- package/packages/renderer/dist/index.d.ts +16 -0
- package/packages/renderer/dist/index.d.ts.map +1 -0
- package/packages/renderer/dist/index.js +34 -0
- package/packages/renderer/dist/index.js.map +1 -0
- package/packages/renderer/dist/painter.d.ts +27 -0
- package/packages/renderer/dist/painter.d.ts.map +1 -0
- package/packages/renderer/dist/painter.js +221 -0
- package/packages/renderer/dist/painter.js.map +1 -0
- package/packages/renderer/dist/renderer.d.ts +72 -0
- package/packages/renderer/dist/renderer.d.ts.map +1 -0
- package/packages/renderer/dist/renderer.js +120 -0
- package/packages/renderer/dist/renderer.js.map +1 -0
- package/packages/renderer/dist/svg-export.d.ts +52 -0
- package/packages/renderer/dist/svg-export.d.ts.map +1 -0
- package/packages/renderer/dist/svg-export.js +159 -0
- package/packages/renderer/dist/svg-export.js.map +1 -0
- package/packages/renderer/package.json +34 -0
- package/packages/renderer/src/canvas.d.ts +23 -0
- package/packages/renderer/src/canvas.js +38 -0
- package/packages/renderer/src/canvas.js.map +1 -0
- package/packages/renderer/src/canvas.ts +70 -0
- package/packages/renderer/src/context.d.ts +33 -0
- package/packages/renderer/src/context.js +45 -0
- package/packages/renderer/src/context.js.map +1 -0
- package/packages/renderer/src/context.ts +83 -0
- package/packages/renderer/src/dirty-region.d.ts +42 -0
- package/packages/renderer/src/dirty-region.js +106 -0
- package/packages/renderer/src/dirty-region.js.map +1 -0
- package/packages/renderer/src/dirty-region.ts +125 -0
- package/packages/renderer/src/engine.d.ts +56 -0
- package/packages/renderer/src/engine.js +95 -0
- package/packages/renderer/src/engine.js.map +1 -0
- package/packages/renderer/src/engine.ts +131 -0
- package/packages/renderer/src/example.ts +184 -0
- package/packages/renderer/src/filters.d.ts +22 -0
- package/packages/renderer/src/filters.js +41 -0
- package/packages/renderer/src/filters.js.map +1 -0
- package/packages/renderer/src/filters.ts +63 -0
- package/packages/renderer/src/icons.ts +33 -0
- package/packages/renderer/src/index.d.ts +15 -0
- package/packages/renderer/src/index.js +34 -0
- package/packages/renderer/src/index.js.map +1 -0
- package/packages/renderer/src/index.ts +19 -0
- package/packages/renderer/src/painter.d.ts +26 -0
- package/packages/renderer/src/painter.js +127 -0
- package/packages/renderer/src/painter.js.map +1 -0
- package/packages/renderer/src/painter.ts +269 -0
- package/packages/renderer/src/renderer.d.ts +71 -0
- package/packages/renderer/src/renderer.js +120 -0
- package/packages/renderer/src/renderer.js.map +1 -0
- package/packages/renderer/src/renderer.ts +171 -0
- package/packages/renderer/src/svg-export.d.ts +47 -0
- package/packages/renderer/src/svg-export.js +125 -0
- package/packages/renderer/src/svg-export.js.map +1 -0
- package/packages/renderer/src/svg-export.ts +270 -0
- package/packages/renderer/test/renderer.test.js +41 -0
- package/packages/renderer/tsconfig.json +10 -0
- package/packages/router/dist/app.d.ts +10 -0
- package/packages/router/dist/app.d.ts.map +1 -0
- package/packages/router/dist/app.js +12 -0
- package/packages/router/dist/app.js.map +1 -0
- package/packages/router/dist/file-router.d.ts +36 -0
- package/packages/router/dist/file-router.d.ts.map +1 -0
- package/packages/router/dist/file-router.js +145 -0
- package/packages/router/dist/file-router.js.map +1 -0
- package/packages/router/dist/index.d.ts +6 -0
- package/packages/router/dist/index.d.ts.map +1 -0
- package/packages/router/dist/index.js +24 -0
- package/packages/router/dist/index.js.map +1 -0
- package/packages/router/dist/manifest.d.ts +10 -0
- package/packages/router/dist/manifest.d.ts.map +1 -0
- package/packages/router/dist/manifest.js +26 -0
- package/packages/router/dist/manifest.js.map +1 -0
- package/packages/router/dist/router.d.ts +31 -0
- package/packages/router/dist/router.d.ts.map +1 -0
- package/packages/router/dist/router.js +112 -0
- package/packages/router/dist/router.js.map +1 -0
- package/packages/router/dist/screen.d.ts +31 -0
- package/packages/router/dist/screen.d.ts.map +1 -0
- package/packages/router/dist/screen.js +34 -0
- package/packages/router/dist/screen.js.map +1 -0
- package/packages/router/package.json +30 -0
- package/packages/router/src/app.ts +16 -0
- package/packages/router/src/file-router.ts +181 -0
- package/packages/router/src/index.d.ts +2 -0
- package/packages/router/src/index.js +23 -0
- package/packages/router/src/index.js.map +1 -0
- package/packages/router/src/index.ts +7 -0
- package/packages/router/src/manifest.ts +27 -0
- package/packages/router/src/router.d.ts +30 -0
- package/packages/router/src/router.js +112 -0
- package/packages/router/src/router.js.map +1 -0
- package/packages/router/src/router.ts +161 -0
- package/packages/router/src/screen.d.ts +24 -0
- package/packages/router/src/screen.js +18 -0
- package/packages/router/src/screen.js.map +1 -0
- package/packages/router/src/screen.ts +68 -0
- package/packages/router/test/router.test.js +30 -0
- package/packages/router/tsconfig.json +17 -0
- package/packages/security/dist/biometric.d.ts +27 -0
- package/packages/security/dist/biometric.d.ts.map +1 -0
- package/packages/security/dist/biometric.js +63 -0
- package/packages/security/dist/biometric.js.map +1 -0
- package/packages/security/dist/index.d.ts +2 -0
- package/packages/security/dist/index.d.ts.map +1 -0
- package/packages/security/dist/index.js +21 -0
- package/packages/security/dist/index.js.map +1 -0
- package/packages/security/package.json +30 -0
- package/packages/security/src/biometric.ts +121 -0
- package/packages/security/src/index.ts +5 -0
- package/packages/security/tsconfig.json +17 -0
- package/packages/state/dist/computed.d.ts +10 -0
- package/packages/state/dist/computed.d.ts.map +1 -0
- package/packages/state/dist/computed.js +55 -0
- package/packages/state/dist/computed.js.map +1 -0
- package/packages/state/dist/context.d.ts +9 -0
- package/packages/state/dist/context.d.ts.map +1 -0
- package/packages/state/dist/context.js +36 -0
- package/packages/state/dist/context.js.map +1 -0
- package/packages/state/dist/core/src/animation/easing.d.ts +23 -0
- package/packages/state/dist/core/src/animation/easing.d.ts.map +1 -0
- package/packages/state/dist/core/src/animation/easing.js +91 -0
- package/packages/state/dist/core/src/animation/easing.js.map +1 -0
- package/packages/state/dist/core/src/animation/index.d.ts +4 -0
- package/packages/state/dist/core/src/animation/index.d.ts.map +1 -0
- package/packages/state/dist/core/src/animation/index.js +26 -0
- package/packages/state/dist/core/src/animation/index.js.map +1 -0
- package/packages/state/dist/core/src/animation/interpolate.d.ts +7 -0
- package/packages/state/dist/core/src/animation/interpolate.d.ts.map +1 -0
- package/packages/state/dist/core/src/animation/interpolate.js +83 -0
- package/packages/state/dist/core/src/animation/interpolate.js.map +1 -0
- package/packages/state/dist/core/src/animation/spring.d.ts +21 -0
- package/packages/state/dist/core/src/animation/spring.d.ts.map +1 -0
- package/packages/state/dist/core/src/animation/spring.js +79 -0
- package/packages/state/dist/core/src/animation/spring.js.map +1 -0
- package/packages/state/dist/core/src/component/component.d.ts +6 -0
- package/packages/state/dist/core/src/component/component.d.ts.map +1 -0
- package/packages/state/dist/core/src/component/component.js +14 -0
- package/packages/state/dist/core/src/component/component.js.map +1 -0
- package/packages/state/dist/core/src/component/index.d.ts +2 -0
- package/packages/state/dist/core/src/component/index.d.ts.map +1 -0
- package/packages/state/dist/core/src/component/index.js +18 -0
- package/packages/state/dist/core/src/component/index.js.map +1 -0
- package/packages/state/dist/core/src/index.d.ts +6 -0
- package/packages/state/dist/core/src/index.d.ts.map +1 -0
- package/packages/state/dist/core/src/index.js +30 -0
- package/packages/state/dist/core/src/index.js.map +1 -0
- package/packages/state/dist/core/src/scheduler/index.d.ts +2 -0
- package/packages/state/dist/core/src/scheduler/index.d.ts.map +1 -0
- package/packages/state/dist/core/src/scheduler/index.js +20 -0
- package/packages/state/dist/core/src/scheduler/index.js.map +1 -0
- package/packages/state/dist/core/src/scheduler/scheduler.d.ts +12 -0
- package/packages/state/dist/core/src/scheduler/scheduler.d.ts.map +1 -0
- package/packages/state/dist/core/src/scheduler/scheduler.js +61 -0
- package/packages/state/dist/core/src/scheduler/scheduler.js.map +1 -0
- package/packages/state/dist/core/src/tree/diff.d.ts +17 -0
- package/packages/state/dist/core/src/tree/diff.d.ts.map +1 -0
- package/packages/state/dist/core/src/tree/diff.js +67 -0
- package/packages/state/dist/core/src/tree/diff.js.map +1 -0
- package/packages/state/dist/core/src/tree/index.d.ts +4 -0
- package/packages/state/dist/core/src/tree/index.d.ts.map +1 -0
- package/packages/state/dist/core/src/tree/index.js +23 -0
- package/packages/state/dist/core/src/tree/index.js.map +1 -0
- package/packages/state/dist/core/src/tree/node.d.ts +13 -0
- package/packages/state/dist/core/src/tree/node.d.ts.map +1 -0
- package/packages/state/dist/core/src/tree/node.js +59 -0
- package/packages/state/dist/core/src/tree/node.js.map +1 -0
- package/packages/state/dist/core/src/tree/tree.d.ts +11 -0
- package/packages/state/dist/core/src/tree/tree.d.ts.map +1 -0
- package/packages/state/dist/core/src/tree/tree.js +43 -0
- package/packages/state/dist/core/src/tree/tree.js.map +1 -0
- package/packages/state/dist/effect.d.ts +13 -0
- package/packages/state/dist/effect.d.ts.map +1 -0
- package/packages/state/dist/effect.js +74 -0
- package/packages/state/dist/effect.js.map +1 -0
- package/packages/state/dist/events/dispatch.d.ts +9 -0
- package/packages/state/dist/events/dispatch.d.ts.map +1 -0
- package/packages/state/dist/events/dispatch.js +64 -0
- package/packages/state/dist/events/dispatch.js.map +1 -0
- package/packages/state/dist/events/event.d.ts +18 -0
- package/packages/state/dist/events/event.d.ts.map +1 -0
- package/packages/state/dist/events/event.js +28 -0
- package/packages/state/dist/events/event.js.map +1 -0
- package/packages/state/dist/events/hittest.d.ts +15 -0
- package/packages/state/dist/events/hittest.d.ts.map +1 -0
- package/packages/state/dist/events/hittest.js +56 -0
- package/packages/state/dist/events/hittest.js.map +1 -0
- package/packages/state/dist/events/index.d.ts +6 -0
- package/packages/state/dist/events/index.d.ts.map +1 -0
- package/packages/state/dist/events/index.js +30 -0
- package/packages/state/dist/events/index.js.map +1 -0
- package/packages/state/dist/events/ingestion.d.ts +25 -0
- package/packages/state/dist/events/ingestion.d.ts.map +1 -0
- package/packages/state/dist/events/ingestion.js +61 -0
- package/packages/state/dist/events/ingestion.js.map +1 -0
- package/packages/state/dist/events/propagation.d.ts +9 -0
- package/packages/state/dist/events/propagation.d.ts.map +1 -0
- package/packages/state/dist/events/propagation.js +58 -0
- package/packages/state/dist/events/propagation.js.map +1 -0
- package/packages/state/dist/index.d.ts +10 -0
- package/packages/state/dist/index.d.ts.map +1 -0
- package/packages/state/dist/index.js +38 -0
- package/packages/state/dist/index.js.map +1 -0
- package/packages/state/dist/reducer.d.ts +18 -0
- package/packages/state/dist/reducer.d.ts.map +1 -0
- package/packages/state/dist/reducer.js +44 -0
- package/packages/state/dist/reducer.js.map +1 -0
- package/packages/state/dist/ref.d.ts +9 -0
- package/packages/state/dist/ref.d.ts.map +1 -0
- package/packages/state/dist/ref.js +33 -0
- package/packages/state/dist/ref.js.map +1 -0
- package/packages/state/dist/state/src/computed.d.ts +10 -0
- package/packages/state/dist/state/src/computed.d.ts.map +1 -0
- package/packages/state/dist/state/src/computed.js +55 -0
- package/packages/state/dist/state/src/computed.js.map +1 -0
- package/packages/state/dist/state/src/context.d.ts +9 -0
- package/packages/state/dist/state/src/context.d.ts.map +1 -0
- package/packages/state/dist/state/src/context.js +36 -0
- package/packages/state/dist/state/src/context.js.map +1 -0
- package/packages/state/dist/state/src/effect.d.ts +13 -0
- package/packages/state/dist/state/src/effect.d.ts.map +1 -0
- package/packages/state/dist/state/src/effect.js +74 -0
- package/packages/state/dist/state/src/effect.js.map +1 -0
- package/packages/state/dist/state/src/events/dispatch.d.ts +9 -0
- package/packages/state/dist/state/src/events/dispatch.d.ts.map +1 -0
- package/packages/state/dist/state/src/events/dispatch.js +64 -0
- package/packages/state/dist/state/src/events/dispatch.js.map +1 -0
- package/packages/state/dist/state/src/events/event.d.ts +18 -0
- package/packages/state/dist/state/src/events/event.d.ts.map +1 -0
- package/packages/state/dist/state/src/events/event.js +28 -0
- package/packages/state/dist/state/src/events/event.js.map +1 -0
- package/packages/state/dist/state/src/events/hittest.d.ts +16 -0
- package/packages/state/dist/state/src/events/hittest.d.ts.map +1 -0
- package/packages/state/dist/state/src/events/hittest.js +56 -0
- package/packages/state/dist/state/src/events/hittest.js.map +1 -0
- package/packages/state/dist/state/src/events/index.d.ts +6 -0
- package/packages/state/dist/state/src/events/index.d.ts.map +1 -0
- package/packages/state/dist/state/src/events/index.js +30 -0
- package/packages/state/dist/state/src/events/index.js.map +1 -0
- package/packages/state/dist/state/src/events/ingestion.d.ts +25 -0
- package/packages/state/dist/state/src/events/ingestion.d.ts.map +1 -0
- package/packages/state/dist/state/src/events/ingestion.js +61 -0
- package/packages/state/dist/state/src/events/ingestion.js.map +1 -0
- package/packages/state/dist/state/src/events/propagation.d.ts +10 -0
- package/packages/state/dist/state/src/events/propagation.d.ts.map +1 -0
- package/packages/state/dist/state/src/events/propagation.js +58 -0
- package/packages/state/dist/state/src/events/propagation.js.map +1 -0
- package/packages/state/dist/state/src/index.d.ts +9 -0
- package/packages/state/dist/state/src/index.d.ts.map +1 -0
- package/packages/state/dist/state/src/index.js +36 -0
- package/packages/state/dist/state/src/index.js.map +1 -0
- package/packages/state/dist/state/src/reducer.d.ts +18 -0
- package/packages/state/dist/state/src/reducer.d.ts.map +1 -0
- package/packages/state/dist/state/src/reducer.js +44 -0
- package/packages/state/dist/state/src/reducer.js.map +1 -0
- package/packages/state/dist/state/src/ref.d.ts +9 -0
- package/packages/state/dist/state/src/ref.d.ts.map +1 -0
- package/packages/state/dist/state/src/ref.js +33 -0
- package/packages/state/dist/state/src/ref.js.map +1 -0
- package/packages/state/dist/state/src/state.d.ts +10 -0
- package/packages/state/dist/state/src/state.d.ts.map +1 -0
- package/packages/state/dist/state/src/state.js +70 -0
- package/packages/state/dist/state/src/state.js.map +1 -0
- package/packages/state/dist/state/src/store.d.ts +19 -0
- package/packages/state/dist/state/src/store.d.ts.map +1 -0
- package/packages/state/dist/state/src/store.js +42 -0
- package/packages/state/dist/state/src/store.js.map +1 -0
- package/packages/state/dist/state/src/watch.d.ts +15 -0
- package/packages/state/dist/state/src/watch.d.ts.map +1 -0
- package/packages/state/dist/state/src/watch.js +79 -0
- package/packages/state/dist/state/src/watch.js.map +1 -0
- package/packages/state/dist/state.d.ts +10 -0
- package/packages/state/dist/state.d.ts.map +1 -0
- package/packages/state/dist/state.js +69 -0
- package/packages/state/dist/state.js.map +1 -0
- package/packages/state/dist/store.d.ts +19 -0
- package/packages/state/dist/store.d.ts.map +1 -0
- package/packages/state/dist/store.js +42 -0
- package/packages/state/dist/store.js.map +1 -0
- package/packages/state/dist/watch.d.ts +15 -0
- package/packages/state/dist/watch.d.ts.map +1 -0
- package/packages/state/dist/watch.js +79 -0
- package/packages/state/dist/watch.js.map +1 -0
- package/packages/state/package.json +30 -0
- package/packages/state/src/computed.ts +75 -0
- package/packages/state/src/context.ts +56 -0
- package/packages/state/src/effect.ts +100 -0
- package/packages/state/src/events/dispatch.ts +79 -0
- package/packages/state/src/events/event.ts +97 -0
- package/packages/state/src/events/hittest.ts +95 -0
- package/packages/state/src/events/index.ts +18 -0
- package/packages/state/src/events/ingestion.ts +102 -0
- package/packages/state/src/events/propagation.ts +83 -0
- package/packages/state/src/index.ts +32 -0
- package/packages/state/src/reducer.ts +87 -0
- package/packages/state/src/ref.ts +41 -0
- package/packages/state/src/state.ts +97 -0
- package/packages/state/src/store.ts +79 -0
- package/packages/state/src/watch.ts +131 -0
- package/packages/state/test/api.test.js +16 -0
- package/packages/state/tsconfig.json +17 -0
- package/packages/states/src/computed.ts +0 -0
- package/packages/states/src/state.ts +0 -0
- package/packages/states/tsconfig.json +0 -0
- package/packages/theme/dist/animate.d.ts +72 -0
- package/packages/theme/dist/animate.d.ts.map +1 -0
- package/packages/theme/dist/animate.js +154 -0
- package/packages/theme/dist/animate.js.map +1 -0
- package/packages/theme/dist/index.d.ts +7 -0
- package/packages/theme/dist/index.d.ts.map +1 -0
- package/packages/theme/dist/index.js +32 -0
- package/packages/theme/dist/index.js.map +1 -0
- package/packages/theme/dist/style.d.ts +55 -0
- package/packages/theme/dist/style.d.ts.map +1 -0
- package/packages/theme/dist/style.js +29 -0
- package/packages/theme/dist/style.js.map +1 -0
- package/packages/theme/dist/stylesheet.d.ts +8 -0
- package/packages/theme/dist/stylesheet.d.ts.map +1 -0
- package/packages/theme/dist/stylesheet.js +22 -0
- package/packages/theme/dist/stylesheet.js.map +1 -0
- package/packages/theme/dist/theme.d.ts +23 -0
- package/packages/theme/dist/theme.d.ts.map +1 -0
- package/packages/theme/dist/theme.js +109 -0
- package/packages/theme/dist/theme.js.map +1 -0
- package/packages/theme/dist/tokens.d.ts +116 -0
- package/packages/theme/dist/tokens.d.ts.map +1 -0
- package/packages/theme/dist/tokens.js +127 -0
- package/packages/theme/dist/tokens.js.map +1 -0
- package/packages/theme/dist/variant.d.ts +17 -0
- package/packages/theme/dist/variant.d.ts.map +1 -0
- package/packages/theme/dist/variant.js +35 -0
- package/packages/theme/dist/variant.js.map +1 -0
- package/packages/theme/package.json +30 -0
- package/packages/theme/src/animate.ts +207 -0
- package/packages/theme/src/index.ts +21 -0
- package/packages/theme/src/style.ts +109 -0
- package/packages/theme/src/stylesheet.ts +40 -0
- package/packages/theme/src/theme.ts +145 -0
- package/packages/theme/src/tokens.ts +303 -0
- package/packages/theme/src/variant.ts +68 -0
- package/packages/theme/tsconfig.json +17 -0
- package/packages/ui/dist/charts/BarChart.d.ts +23 -0
- package/packages/ui/dist/charts/BarChart.d.ts.map +1 -0
- package/packages/ui/dist/charts/BarChart.js +34 -0
- package/packages/ui/dist/charts/BarChart.js.map +1 -0
- package/packages/ui/dist/charts/LineChart.d.ts +27 -0
- package/packages/ui/dist/charts/LineChart.d.ts.map +1 -0
- package/packages/ui/dist/charts/LineChart.js +35 -0
- package/packages/ui/dist/charts/LineChart.js.map +1 -0
- package/packages/ui/dist/charts/index.d.ts +3 -0
- package/packages/ui/dist/charts/index.d.ts.map +1 -0
- package/packages/ui/dist/charts/index.js +21 -0
- package/packages/ui/dist/charts/index.js.map +1 -0
- package/packages/ui/dist/conditional/If.d.ts +4 -0
- package/packages/ui/dist/conditional/If.d.ts.map +1 -0
- package/packages/ui/dist/conditional/If.js +25 -0
- package/packages/ui/dist/conditional/If.js.map +1 -0
- package/packages/ui/dist/data/List.d.ts +18 -0
- package/packages/ui/dist/data/List.d.ts.map +1 -0
- package/packages/ui/dist/data/List.js +27 -0
- package/packages/ui/dist/data/List.js.map +1 -0
- package/packages/ui/dist/data/Table.d.ts +3 -0
- package/packages/ui/dist/data/Table.d.ts.map +1 -0
- package/packages/ui/dist/data/Table.js +21 -0
- package/packages/ui/dist/data/Table.js.map +1 -0
- package/packages/ui/dist/data/index.d.ts +34 -0
- package/packages/ui/dist/data/index.d.ts.map +1 -0
- package/packages/ui/dist/data/index.js +30 -0
- package/packages/ui/dist/data/index.js.map +1 -0
- package/packages/ui/dist/display/Avatar.d.ts +18 -0
- package/packages/ui/dist/display/Avatar.d.ts.map +1 -0
- package/packages/ui/dist/display/Avatar.js +53 -0
- package/packages/ui/dist/display/Avatar.js.map +1 -0
- package/packages/ui/dist/display/Badge.d.ts +17 -0
- package/packages/ui/dist/display/Badge.d.ts.map +1 -0
- package/packages/ui/dist/display/Badge.js +31 -0
- package/packages/ui/dist/display/Badge.js.map +1 -0
- package/packages/ui/dist/display/Card.d.ts +20 -0
- package/packages/ui/dist/display/Card.d.ts.map +1 -0
- package/packages/ui/dist/display/Card.js +35 -0
- package/packages/ui/dist/display/Card.js.map +1 -0
- package/packages/ui/dist/display/Icon.d.ts +14 -0
- package/packages/ui/dist/display/Icon.d.ts.map +1 -0
- package/packages/ui/dist/display/Icon.js +23 -0
- package/packages/ui/dist/display/Icon.js.map +1 -0
- package/packages/ui/dist/display/Image.d.ts +22 -0
- package/packages/ui/dist/display/Image.d.ts.map +1 -0
- package/packages/ui/dist/display/Image.js +30 -0
- package/packages/ui/dist/display/Image.js.map +1 -0
- package/packages/ui/dist/display/index.d.ts +6 -0
- package/packages/ui/dist/display/index.d.ts.map +1 -0
- package/packages/ui/dist/display/index.js +24 -0
- package/packages/ui/dist/display/index.js.map +1 -0
- package/packages/ui/dist/feedback/EmptyState.d.ts +16 -0
- package/packages/ui/dist/feedback/EmptyState.d.ts.map +1 -0
- package/packages/ui/dist/feedback/EmptyState.js +25 -0
- package/packages/ui/dist/feedback/EmptyState.js.map +1 -0
- package/packages/ui/dist/feedback/Skeleton.d.ts +15 -0
- package/packages/ui/dist/feedback/Skeleton.d.ts.map +1 -0
- package/packages/ui/dist/feedback/Skeleton.js +24 -0
- package/packages/ui/dist/feedback/Skeleton.js.map +1 -0
- package/packages/ui/dist/feedback/Spinner.d.ts +13 -0
- package/packages/ui/dist/feedback/Spinner.d.ts.map +1 -0
- package/packages/ui/dist/feedback/Spinner.js +35 -0
- package/packages/ui/dist/feedback/Spinner.js.map +1 -0
- package/packages/ui/dist/feedback/index.d.ts +4 -0
- package/packages/ui/dist/feedback/index.d.ts.map +1 -0
- package/packages/ui/dist/feedback/index.js +22 -0
- package/packages/ui/dist/feedback/index.js.map +1 -0
- package/packages/ui/dist/index.d.ts +11 -0
- package/packages/ui/dist/index.d.ts.map +1 -0
- package/packages/ui/dist/index.js +40 -0
- package/packages/ui/dist/index.js.map +1 -0
- package/packages/ui/dist/input/Button.d.ts +26 -0
- package/packages/ui/dist/input/Button.d.ts.map +1 -0
- package/packages/ui/dist/input/Button.js +39 -0
- package/packages/ui/dist/input/Button.js.map +1 -0
- package/packages/ui/dist/input/Checkbox.d.ts +16 -0
- package/packages/ui/dist/input/Checkbox.d.ts.map +1 -0
- package/packages/ui/dist/input/Checkbox.js +25 -0
- package/packages/ui/dist/input/Checkbox.js.map +1 -0
- package/packages/ui/dist/input/Dropdown.d.ts +27 -0
- package/packages/ui/dist/input/Dropdown.d.ts.map +1 -0
- package/packages/ui/dist/input/Dropdown.js +30 -0
- package/packages/ui/dist/input/Dropdown.js.map +1 -0
- package/packages/ui/dist/input/Input.d.ts +34 -0
- package/packages/ui/dist/input/Input.d.ts.map +1 -0
- package/packages/ui/dist/input/Input.js +43 -0
- package/packages/ui/dist/input/Input.js.map +1 -0
- package/packages/ui/dist/input/SearchBar.d.ts +20 -0
- package/packages/ui/dist/input/SearchBar.d.ts.map +1 -0
- package/packages/ui/dist/input/SearchBar.js +31 -0
- package/packages/ui/dist/input/SearchBar.js.map +1 -0
- package/packages/ui/dist/input/Slider.d.ts +22 -0
- package/packages/ui/dist/input/Slider.d.ts.map +1 -0
- package/packages/ui/dist/input/Slider.js +32 -0
- package/packages/ui/dist/input/Slider.js.map +1 -0
- package/packages/ui/dist/input/Toggle.d.ts +17 -0
- package/packages/ui/dist/input/Toggle.d.ts.map +1 -0
- package/packages/ui/dist/input/Toggle.js +29 -0
- package/packages/ui/dist/input/Toggle.js.map +1 -0
- package/packages/ui/dist/input/index.d.ts +8 -0
- package/packages/ui/dist/input/index.d.ts.map +1 -0
- package/packages/ui/dist/input/index.js +26 -0
- package/packages/ui/dist/input/index.js.map +1 -0
- package/packages/ui/dist/layout/Box.d.ts +25 -0
- package/packages/ui/dist/layout/Box.d.ts.map +1 -0
- package/packages/ui/dist/layout/Box.js +34 -0
- package/packages/ui/dist/layout/Box.js.map +1 -0
- package/packages/ui/dist/layout/Column.d.ts +30 -0
- package/packages/ui/dist/layout/Column.d.ts.map +1 -0
- package/packages/ui/dist/layout/Column.js +32 -0
- package/packages/ui/dist/layout/Column.js.map +1 -0
- package/packages/ui/dist/layout/Divider.d.ts +14 -0
- package/packages/ui/dist/layout/Divider.d.ts.map +1 -0
- package/packages/ui/dist/layout/Divider.js +23 -0
- package/packages/ui/dist/layout/Divider.js.map +1 -0
- package/packages/ui/dist/layout/Grid.d.ts +17 -0
- package/packages/ui/dist/layout/Grid.d.ts.map +1 -0
- package/packages/ui/dist/layout/Grid.js +26 -0
- package/packages/ui/dist/layout/Grid.js.map +1 -0
- package/packages/ui/dist/layout/Row.d.ts +28 -0
- package/packages/ui/dist/layout/Row.d.ts.map +1 -0
- package/packages/ui/dist/layout/Row.js +29 -0
- package/packages/ui/dist/layout/Row.js.map +1 -0
- package/packages/ui/dist/layout/ScrollView.d.ts +18 -0
- package/packages/ui/dist/layout/ScrollView.d.ts.map +1 -0
- package/packages/ui/dist/layout/ScrollView.js +25 -0
- package/packages/ui/dist/layout/ScrollView.js.map +1 -0
- package/packages/ui/dist/layout/Spacer.d.ts +9 -0
- package/packages/ui/dist/layout/Spacer.d.ts.map +1 -0
- package/packages/ui/dist/layout/Spacer.js +21 -0
- package/packages/ui/dist/layout/Spacer.js.map +1 -0
- package/packages/ui/dist/layout/Stack.d.ts +14 -0
- package/packages/ui/dist/layout/Stack.d.ts.map +1 -0
- package/packages/ui/dist/layout/Stack.js +25 -0
- package/packages/ui/dist/layout/Stack.js.map +1 -0
- package/packages/ui/dist/layout/index.d.ts +9 -0
- package/packages/ui/dist/layout/index.d.ts.map +1 -0
- package/packages/ui/dist/layout/index.js +27 -0
- package/packages/ui/dist/layout/index.js.map +1 -0
- package/packages/ui/dist/navigation/BottomNav.d.ts +23 -0
- package/packages/ui/dist/navigation/BottomNav.d.ts.map +1 -0
- package/packages/ui/dist/navigation/BottomNav.js +25 -0
- package/packages/ui/dist/navigation/BottomNav.js.map +1 -0
- package/packages/ui/dist/navigation/Drawer.d.ts +18 -0
- package/packages/ui/dist/navigation/Drawer.d.ts.map +1 -0
- package/packages/ui/dist/navigation/Drawer.js +29 -0
- package/packages/ui/dist/navigation/Drawer.js.map +1 -0
- package/packages/ui/dist/navigation/TabBar.d.ts +22 -0
- package/packages/ui/dist/navigation/TabBar.d.ts.map +1 -0
- package/packages/ui/dist/navigation/TabBar.js +26 -0
- package/packages/ui/dist/navigation/TabBar.js.map +1 -0
- package/packages/ui/dist/navigation/index.d.ts +4 -0
- package/packages/ui/dist/navigation/index.d.ts.map +1 -0
- package/packages/ui/dist/navigation/index.js +22 -0
- package/packages/ui/dist/navigation/index.js.map +1 -0
- package/packages/ui/dist/overlay/Dialog.d.ts +31 -0
- package/packages/ui/dist/overlay/Dialog.d.ts.map +1 -0
- package/packages/ui/dist/overlay/Dialog.js +81 -0
- package/packages/ui/dist/overlay/Dialog.js.map +1 -0
- package/packages/ui/dist/overlay/Modal.d.ts +19 -0
- package/packages/ui/dist/overlay/Modal.d.ts.map +1 -0
- package/packages/ui/dist/overlay/Modal.js +31 -0
- package/packages/ui/dist/overlay/Modal.js.map +1 -0
- package/packages/ui/dist/overlay/Sheet.d.ts +20 -0
- package/packages/ui/dist/overlay/Sheet.d.ts.map +1 -0
- package/packages/ui/dist/overlay/Sheet.js +31 -0
- package/packages/ui/dist/overlay/Sheet.js.map +1 -0
- package/packages/ui/dist/overlay/index.d.ts +4 -0
- package/packages/ui/dist/overlay/index.d.ts.map +1 -0
- package/packages/ui/dist/overlay/index.js +22 -0
- package/packages/ui/dist/overlay/index.js.map +1 -0
- package/packages/ui/dist/typography/Code.d.ts +18 -0
- package/packages/ui/dist/typography/Code.d.ts.map +1 -0
- package/packages/ui/dist/typography/Code.js +29 -0
- package/packages/ui/dist/typography/Code.js.map +1 -0
- package/packages/ui/dist/typography/Heading.d.ts +14 -0
- package/packages/ui/dist/typography/Heading.d.ts.map +1 -0
- package/packages/ui/dist/typography/Heading.js +39 -0
- package/packages/ui/dist/typography/Heading.js.map +1 -0
- package/packages/ui/dist/typography/Markdown.d.ts +14 -0
- package/packages/ui/dist/typography/Markdown.d.ts.map +1 -0
- package/packages/ui/dist/typography/Markdown.js +27 -0
- package/packages/ui/dist/typography/Markdown.js.map +1 -0
- package/packages/ui/dist/typography/Text.d.ts +25 -0
- package/packages/ui/dist/typography/Text.d.ts.map +1 -0
- package/packages/ui/dist/typography/Text.js +34 -0
- package/packages/ui/dist/typography/Text.js.map +1 -0
- package/packages/ui/dist/typography/index.d.ts +5 -0
- package/packages/ui/dist/typography/index.d.ts.map +1 -0
- package/packages/ui/dist/typography/index.js +23 -0
- package/packages/ui/dist/typography/index.js.map +1 -0
- package/packages/ui/package.json +35 -0
- package/packages/ui/src/charts/BarChart.ts +86 -0
- package/packages/ui/src/charts/LineChart.ts +98 -0
- package/packages/ui/src/charts/index.ts +5 -0
- package/packages/ui/src/conditional/If.ts +30 -0
- package/packages/ui/src/data/List.ts +72 -0
- package/packages/ui/src/data/Table.ts +5 -0
- package/packages/ui/src/data/index.ts +111 -0
- package/packages/ui/src/display/Avatar.ts +93 -0
- package/packages/ui/src/display/Badge.ts +72 -0
- package/packages/ui/src/display/Card.ts +82 -0
- package/packages/ui/src/display/Icon.ts +75 -0
- package/packages/ui/src/display/Image.ts +80 -0
- package/packages/ui/src/display/index.ts +8 -0
- package/packages/ui/src/feedback/EmptyState.ts +56 -0
- package/packages/ui/src/feedback/Skeleton.ts +53 -0
- package/packages/ui/src/feedback/Spinner.ts +61 -0
- package/packages/ui/src/feedback/index.ts +6 -0
- package/packages/ui/src/index.ts +33 -0
- package/packages/ui/src/input/Button.ts +104 -0
- package/packages/ui/src/input/Checkbox.ts +58 -0
- package/packages/ui/src/input/Dropdown.ts +92 -0
- package/packages/ui/src/input/Input.ts +138 -0
- package/packages/ui/src/input/SearchBar.ts +77 -0
- package/packages/ui/src/input/Slider.ts +82 -0
- package/packages/ui/src/input/Toggle.ts +65 -0
- package/packages/ui/src/input/index.ts +10 -0
- package/packages/ui/src/layout/Box.ts +94 -0
- package/packages/ui/src/layout/Column.ts +86 -0
- package/packages/ui/src/layout/Divider.ts +50 -0
- package/packages/ui/src/layout/Grid.ts +62 -0
- package/packages/ui/src/layout/Row.ts +77 -0
- package/packages/ui/src/layout/ScrollView.ts +64 -0
- package/packages/ui/src/layout/Spacer.ts +34 -0
- package/packages/ui/src/layout/Stack.ts +54 -0
- package/packages/ui/src/layout/index.ts +11 -0
- package/packages/ui/src/navigation/BottomNav.ts +73 -0
- package/packages/ui/src/navigation/Drawer.ts +72 -0
- package/packages/ui/src/navigation/TabBar.ts +73 -0
- package/packages/ui/src/navigation/index.ts +6 -0
- package/packages/ui/src/overlay/Dialog.ts +124 -0
- package/packages/ui/src/overlay/Modal.ts +76 -0
- package/packages/ui/src/overlay/Sheet.ts +79 -0
- package/packages/ui/src/overlay/index.ts +6 -0
- package/packages/ui/src/typography/Code.ts +88 -0
- package/packages/ui/src/typography/Heading.ts +70 -0
- package/packages/ui/src/typography/Markdown.ts +56 -0
- package/packages/ui/src/typography/Text.ts +104 -0
- package/packages/ui/src/typography/index.ts +7 -0
- package/packages/ui/tsconfig.json +18 -0
- package/packages/updater/dist/index.d.ts +2 -0
- package/packages/updater/dist/index.d.ts.map +1 -0
- package/packages/updater/dist/index.js +20 -0
- package/packages/updater/dist/index.js.map +1 -0
- package/packages/updater/dist/updater.d.ts +49 -0
- package/packages/updater/dist/updater.d.ts.map +1 -0
- package/packages/updater/dist/updater.js +119 -0
- package/packages/updater/dist/updater.js.map +1 -0
- package/packages/updater/package.json +30 -0
- package/packages/updater/src/index.ts +4 -0
- package/packages/updater/src/updater.ts +254 -0
- package/packages/updater/tsconfig.json +17 -0
- package/prompt-app/addlibrary.ts +7 -0
- package/prompt-app/app.dtx +27 -0
- package/prompt-app/package.json +13 -0
- package/prompt-app/screens/Home.dtx +20 -0
- package/prompt-app/tsconfig.json +8 -0
- package/tools/build/build.js +38 -0
- package/tools/build/publish.js +39 -0
- package/tools/build/test.js +24 -0
- package/ts-app/addlibrary.ts +7 -0
- package/ts-app/app.ts +29 -0
- package/ts-app/package.json +13 -0
- package/ts-app/screens/Home.ts +20 -0
- package/ts-app/tsconfig.json +8 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since v0.3.7
|
|
3
|
+
*/
|
|
4
|
+
declare module "module" {
|
|
5
|
+
import { URL } from "node:url";
|
|
6
|
+
import { MessagePort } from "node:worker_threads";
|
|
7
|
+
class Module {
|
|
8
|
+
constructor(id: string, parent?: Module);
|
|
9
|
+
}
|
|
10
|
+
interface Module extends NodeJS.Module {}
|
|
11
|
+
namespace Module {
|
|
12
|
+
export { Module };
|
|
13
|
+
}
|
|
14
|
+
namespace Module {
|
|
15
|
+
/**
|
|
16
|
+
* A list of the names of all modules provided by Node.js. Can be used to verify
|
|
17
|
+
* if a module is maintained by a third party or not.
|
|
18
|
+
*
|
|
19
|
+
* Note: the list doesn't contain prefix-only modules like `node:test`.
|
|
20
|
+
* @since v9.3.0, v8.10.0, v6.13.0
|
|
21
|
+
*/
|
|
22
|
+
const builtinModules: readonly string[];
|
|
23
|
+
/**
|
|
24
|
+
* @since v12.2.0
|
|
25
|
+
* @param path Filename to be used to construct the require
|
|
26
|
+
* function. Must be a file URL object, file URL string, or absolute path
|
|
27
|
+
* string.
|
|
28
|
+
*/
|
|
29
|
+
function createRequire(path: string | URL): NodeJS.Require;
|
|
30
|
+
/**
|
|
31
|
+
* @since v18.6.0, v16.17.0
|
|
32
|
+
*/
|
|
33
|
+
function isBuiltin(moduleName: string): boolean;
|
|
34
|
+
interface RegisterOptions<Data> {
|
|
35
|
+
/**
|
|
36
|
+
* If you want to resolve `specifier` relative to a
|
|
37
|
+
* base URL, such as `import.meta.url`, you can pass that URL here. This
|
|
38
|
+
* property is ignored if the `parentURL` is supplied as the second argument.
|
|
39
|
+
* @default 'data:'
|
|
40
|
+
*/
|
|
41
|
+
parentURL?: string | URL | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Any arbitrary, cloneable JavaScript value to pass into the
|
|
44
|
+
* {@link initialize} hook.
|
|
45
|
+
*/
|
|
46
|
+
data?: Data | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* [Transferable objects](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html#portpostmessagevalue-transferlist)
|
|
49
|
+
* to be passed into the `initialize` hook.
|
|
50
|
+
*/
|
|
51
|
+
transferList?: any[] | undefined;
|
|
52
|
+
}
|
|
53
|
+
/* eslint-disable @definitelytyped/no-unnecessary-generics */
|
|
54
|
+
/**
|
|
55
|
+
* Register a module that exports hooks that customize Node.js module
|
|
56
|
+
* resolution and loading behavior. See
|
|
57
|
+
* [Customization hooks](https://nodejs.org/docs/latest-v20.x/api/module.html#customization-hooks).
|
|
58
|
+
* @since v20.6.0, v18.19.0
|
|
59
|
+
* @param specifier Customization hooks to be registered; this should be
|
|
60
|
+
* the same string that would be passed to `import()`, except that if it is
|
|
61
|
+
* relative, it is resolved relative to `parentURL`.
|
|
62
|
+
* @param parentURL f you want to resolve `specifier` relative to a base
|
|
63
|
+
* URL, such as `import.meta.url`, you can pass that URL here.
|
|
64
|
+
*/
|
|
65
|
+
function register<Data = any>(
|
|
66
|
+
specifier: string | URL,
|
|
67
|
+
parentURL?: string | URL,
|
|
68
|
+
options?: RegisterOptions<Data>,
|
|
69
|
+
): void;
|
|
70
|
+
function register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
|
|
71
|
+
/* eslint-enable @definitelytyped/no-unnecessary-generics */
|
|
72
|
+
/**
|
|
73
|
+
* The `module.syncBuiltinESMExports()` method updates all the live bindings for
|
|
74
|
+
* builtin `ES Modules` to match the properties of the `CommonJS` exports. It
|
|
75
|
+
* does not add or remove exported names from the `ES Modules`.
|
|
76
|
+
*
|
|
77
|
+
* ```js
|
|
78
|
+
* import fs from 'node:fs';
|
|
79
|
+
* import assert from 'node:assert';
|
|
80
|
+
* import { syncBuiltinESMExports } from 'node:module';
|
|
81
|
+
*
|
|
82
|
+
* fs.readFile = newAPI;
|
|
83
|
+
*
|
|
84
|
+
* delete fs.readFileSync;
|
|
85
|
+
*
|
|
86
|
+
* function newAPI() {
|
|
87
|
+
* // ...
|
|
88
|
+
* }
|
|
89
|
+
*
|
|
90
|
+
* fs.newAPI = newAPI;
|
|
91
|
+
*
|
|
92
|
+
* syncBuiltinESMExports();
|
|
93
|
+
*
|
|
94
|
+
* import('node:fs').then((esmFS) => {
|
|
95
|
+
* // It syncs the existing readFile property with the new value
|
|
96
|
+
* assert.strictEqual(esmFS.readFile, newAPI);
|
|
97
|
+
* // readFileSync has been deleted from the required fs
|
|
98
|
+
* assert.strictEqual('readFileSync' in fs, false);
|
|
99
|
+
* // syncBuiltinESMExports() does not remove readFileSync from esmFS
|
|
100
|
+
* assert.strictEqual('readFileSync' in esmFS, true);
|
|
101
|
+
* // syncBuiltinESMExports() does not add names
|
|
102
|
+
* assert.strictEqual(esmFS.newAPI, undefined);
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
* @since v12.12.0
|
|
106
|
+
*/
|
|
107
|
+
function syncBuiltinESMExports(): void;
|
|
108
|
+
/** @deprecated Use `ImportAttributes` instead */
|
|
109
|
+
interface ImportAssertions extends ImportAttributes {}
|
|
110
|
+
interface ImportAttributes extends NodeJS.Dict<string> {
|
|
111
|
+
type?: string | undefined;
|
|
112
|
+
}
|
|
113
|
+
type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm";
|
|
114
|
+
type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray;
|
|
115
|
+
/**
|
|
116
|
+
* The `initialize` hook provides a way to define a custom function that runs in
|
|
117
|
+
* the hooks thread when the hooks module is initialized. Initialization happens
|
|
118
|
+
* when the hooks module is registered via {@link register}.
|
|
119
|
+
*
|
|
120
|
+
* This hook can receive data from a {@link register} invocation, including
|
|
121
|
+
* ports and other transferable objects. The return value of `initialize` can be a
|
|
122
|
+
* `Promise`, in which case it will be awaited before the main application thread
|
|
123
|
+
* execution resumes.
|
|
124
|
+
*/
|
|
125
|
+
type InitializeHook<Data = any> = (data: Data) => void | Promise<void>;
|
|
126
|
+
interface ResolveHookContext {
|
|
127
|
+
/**
|
|
128
|
+
* Export conditions of the relevant `package.json`
|
|
129
|
+
*/
|
|
130
|
+
conditions: string[];
|
|
131
|
+
/**
|
|
132
|
+
* @deprecated Use `importAttributes` instead
|
|
133
|
+
*/
|
|
134
|
+
importAssertions: ImportAttributes;
|
|
135
|
+
/**
|
|
136
|
+
* An object whose key-value pairs represent the assertions for the module to import
|
|
137
|
+
*/
|
|
138
|
+
importAttributes: ImportAttributes;
|
|
139
|
+
/**
|
|
140
|
+
* The module importing this one, or undefined if this is the Node.js entry point
|
|
141
|
+
*/
|
|
142
|
+
parentURL: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
interface ResolveFnOutput {
|
|
145
|
+
/**
|
|
146
|
+
* A hint to the load hook (it might be ignored)
|
|
147
|
+
*/
|
|
148
|
+
format?: ModuleFormat | null | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* @deprecated Use `importAttributes` instead
|
|
151
|
+
*/
|
|
152
|
+
importAssertions?: ImportAttributes | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* The import attributes to use when caching the module (optional; if excluded the input will be used)
|
|
155
|
+
*/
|
|
156
|
+
importAttributes?: ImportAttributes | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* A signal that this hook intends to terminate the chain of `resolve` hooks.
|
|
159
|
+
* @default false
|
|
160
|
+
*/
|
|
161
|
+
shortCircuit?: boolean | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* The absolute URL to which this input resolves
|
|
164
|
+
*/
|
|
165
|
+
url: string;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The `resolve` hook chain is responsible for telling Node.js where to find and
|
|
169
|
+
* how to cache a given `import` statement or expression, or `require` call. It can
|
|
170
|
+
* optionally return a format (such as `'module'`) as a hint to the `load` hook. If
|
|
171
|
+
* a format is specified, the `load` hook is ultimately responsible for providing
|
|
172
|
+
* the final `format` value (and it is free to ignore the hint provided by
|
|
173
|
+
* `resolve`); if `resolve` provides a `format`, a custom `load` hook is required
|
|
174
|
+
* even if only to pass the value to the Node.js default `load` hook.
|
|
175
|
+
*/
|
|
176
|
+
type ResolveHook = (
|
|
177
|
+
specifier: string,
|
|
178
|
+
context: ResolveHookContext,
|
|
179
|
+
nextResolve: (
|
|
180
|
+
specifier: string,
|
|
181
|
+
context?: Partial<ResolveHookContext>,
|
|
182
|
+
) => ResolveFnOutput | Promise<ResolveFnOutput>,
|
|
183
|
+
) => ResolveFnOutput | Promise<ResolveFnOutput>;
|
|
184
|
+
interface LoadHookContext {
|
|
185
|
+
/**
|
|
186
|
+
* Export conditions of the relevant `package.json`
|
|
187
|
+
*/
|
|
188
|
+
conditions: string[];
|
|
189
|
+
/**
|
|
190
|
+
* The format optionally supplied by the `resolve` hook chain
|
|
191
|
+
*/
|
|
192
|
+
format: ModuleFormat | null | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* @deprecated Use `importAttributes` instead
|
|
195
|
+
*/
|
|
196
|
+
importAssertions: ImportAttributes;
|
|
197
|
+
/**
|
|
198
|
+
* An object whose key-value pairs represent the assertions for the module to import
|
|
199
|
+
*/
|
|
200
|
+
importAttributes: ImportAttributes;
|
|
201
|
+
}
|
|
202
|
+
interface LoadFnOutput {
|
|
203
|
+
format: string | null | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* A signal that this hook intends to terminate the chain of `resolve` hooks.
|
|
206
|
+
* @default false
|
|
207
|
+
*/
|
|
208
|
+
shortCircuit?: boolean | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* The source for Node.js to evaluate
|
|
211
|
+
*/
|
|
212
|
+
source?: ModuleSource | undefined;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* The `load` hook provides a way to define a custom method of determining how a
|
|
216
|
+
* URL should be interpreted, retrieved, and parsed. It is also in charge of
|
|
217
|
+
* validating the import attributes.
|
|
218
|
+
*/
|
|
219
|
+
type LoadHook = (
|
|
220
|
+
url: string,
|
|
221
|
+
context: LoadHookContext,
|
|
222
|
+
nextLoad: (
|
|
223
|
+
url: string,
|
|
224
|
+
context?: Partial<LoadHookContext>,
|
|
225
|
+
) => LoadFnOutput | Promise<LoadFnOutput>,
|
|
226
|
+
) => LoadFnOutput | Promise<LoadFnOutput>;
|
|
227
|
+
interface GlobalPreloadContext {
|
|
228
|
+
port: MessagePort;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Sometimes it might be necessary to run some code inside of the same global
|
|
232
|
+
* scope that the application runs in. This hook allows the return of a string
|
|
233
|
+
* that is run as a sloppy-mode script on startup.
|
|
234
|
+
* @deprecated This hook will be removed in a future version. Use
|
|
235
|
+
* `initialize` instead. When a hooks module has an `initialize` export,
|
|
236
|
+
* `globalPreload` will be ignored.
|
|
237
|
+
*/
|
|
238
|
+
type GlobalPreloadHook = (context: GlobalPreloadContext) => string;
|
|
239
|
+
/**
|
|
240
|
+
* `path` is the resolved path for the file for which a corresponding source map
|
|
241
|
+
* should be fetched.
|
|
242
|
+
* @since v13.7.0, v12.17.0
|
|
243
|
+
* @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
|
|
244
|
+
*/
|
|
245
|
+
function findSourceMap(path: string): SourceMap | undefined;
|
|
246
|
+
interface SourceMapConstructorOptions {
|
|
247
|
+
/**
|
|
248
|
+
* @since v20.5.0
|
|
249
|
+
*/
|
|
250
|
+
lineLengths?: readonly number[] | undefined;
|
|
251
|
+
}
|
|
252
|
+
interface SourceMapPayload {
|
|
253
|
+
file: string;
|
|
254
|
+
version: number;
|
|
255
|
+
sources: string[];
|
|
256
|
+
sourcesContent: string[];
|
|
257
|
+
names: string[];
|
|
258
|
+
mappings: string;
|
|
259
|
+
sourceRoot: string;
|
|
260
|
+
}
|
|
261
|
+
interface SourceMapping {
|
|
262
|
+
generatedLine: number;
|
|
263
|
+
generatedColumn: number;
|
|
264
|
+
originalSource: string;
|
|
265
|
+
originalLine: number;
|
|
266
|
+
originalColumn: number;
|
|
267
|
+
}
|
|
268
|
+
interface SourceOrigin {
|
|
269
|
+
/**
|
|
270
|
+
* The name of the range in the source map, if one was provided
|
|
271
|
+
*/
|
|
272
|
+
name: string | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* The file name of the original source, as reported in the SourceMap
|
|
275
|
+
*/
|
|
276
|
+
fileName: string;
|
|
277
|
+
/**
|
|
278
|
+
* The 1-indexed lineNumber of the corresponding call site in the original source
|
|
279
|
+
*/
|
|
280
|
+
lineNumber: number;
|
|
281
|
+
/**
|
|
282
|
+
* The 1-indexed columnNumber of the corresponding call site in the original source
|
|
283
|
+
*/
|
|
284
|
+
columnNumber: number;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* @since v13.7.0, v12.17.0
|
|
288
|
+
*/
|
|
289
|
+
class SourceMap {
|
|
290
|
+
constructor(payload: SourceMapPayload, options?: SourceMapConstructorOptions);
|
|
291
|
+
/**
|
|
292
|
+
* Getter for the payload used to construct the `SourceMap` instance.
|
|
293
|
+
*/
|
|
294
|
+
readonly payload: SourceMapPayload;
|
|
295
|
+
/**
|
|
296
|
+
* Given a line offset and column offset in the generated source
|
|
297
|
+
* file, returns an object representing the SourceMap range in the
|
|
298
|
+
* original file if found, or an empty object if not.
|
|
299
|
+
*
|
|
300
|
+
* The object returned contains the following keys:
|
|
301
|
+
*
|
|
302
|
+
* The returned value represents the raw range as it appears in the
|
|
303
|
+
* SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and
|
|
304
|
+
* column numbers as they appear in Error messages and CallSite
|
|
305
|
+
* objects.
|
|
306
|
+
*
|
|
307
|
+
* To get the corresponding 1-indexed line and column numbers from a
|
|
308
|
+
* lineNumber and columnNumber as they are reported by Error stacks
|
|
309
|
+
* and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)`
|
|
310
|
+
* @param lineOffset The zero-indexed line number offset in the generated source
|
|
311
|
+
* @param columnOffset The zero-indexed column number offset in the generated source
|
|
312
|
+
*/
|
|
313
|
+
findEntry(lineOffset: number, columnOffset: number): SourceMapping | {};
|
|
314
|
+
/**
|
|
315
|
+
* Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source,
|
|
316
|
+
* find the corresponding call site location in the original source.
|
|
317
|
+
*
|
|
318
|
+
* If the `lineNumber` and `columnNumber` provided are not found in any source map,
|
|
319
|
+
* then an empty object is returned.
|
|
320
|
+
* @param lineNumber The 1-indexed line number of the call site in the generated source
|
|
321
|
+
* @param columnNumber The 1-indexed column number of the call site in the generated source
|
|
322
|
+
*/
|
|
323
|
+
findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
|
|
324
|
+
}
|
|
325
|
+
function runMain(main?: string): void;
|
|
326
|
+
function wrap(script: string): string;
|
|
327
|
+
}
|
|
328
|
+
global {
|
|
329
|
+
interface ImportMeta {
|
|
330
|
+
/**
|
|
331
|
+
* The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
|
|
332
|
+
* **Caveat:** only present on `file:` modules.
|
|
333
|
+
*/
|
|
334
|
+
dirname: string;
|
|
335
|
+
/**
|
|
336
|
+
* The full absolute path and filename of the current module, with symlinks resolved.
|
|
337
|
+
* This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
|
|
338
|
+
* **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
|
|
339
|
+
*/
|
|
340
|
+
filename: string;
|
|
341
|
+
/**
|
|
342
|
+
* The absolute `file:` URL of the module.
|
|
343
|
+
*/
|
|
344
|
+
url: string;
|
|
345
|
+
/**
|
|
346
|
+
* Provides a module-relative resolution function scoped to each module, returning
|
|
347
|
+
* the URL string.
|
|
348
|
+
*
|
|
349
|
+
* Second `parent` parameter is only used when the `--experimental-import-meta-resolve`
|
|
350
|
+
* command flag enabled.
|
|
351
|
+
*
|
|
352
|
+
* @since v20.6.0
|
|
353
|
+
*
|
|
354
|
+
* @param specifier The module specifier to resolve relative to `parent`.
|
|
355
|
+
* @param parent The absolute parent module URL to resolve from.
|
|
356
|
+
* @returns The absolute (`file:`) URL string for the resolved module.
|
|
357
|
+
*/
|
|
358
|
+
resolve(specifier: string, parent?: string | URL | undefined): string;
|
|
359
|
+
}
|
|
360
|
+
namespace NodeJS {
|
|
361
|
+
interface Module {
|
|
362
|
+
/**
|
|
363
|
+
* The module objects required for the first time by this one.
|
|
364
|
+
* @since v0.1.16
|
|
365
|
+
*/
|
|
366
|
+
children: Module[];
|
|
367
|
+
/**
|
|
368
|
+
* The `module.exports` object is created by the `Module` system. Sometimes this is
|
|
369
|
+
* not acceptable; many want their module to be an instance of some class. To do
|
|
370
|
+
* this, assign the desired export object to `module.exports`.
|
|
371
|
+
* @since v0.1.16
|
|
372
|
+
*/
|
|
373
|
+
exports: any;
|
|
374
|
+
/**
|
|
375
|
+
* The fully resolved filename of the module.
|
|
376
|
+
* @since v0.1.16
|
|
377
|
+
*/
|
|
378
|
+
filename: string;
|
|
379
|
+
/**
|
|
380
|
+
* The identifier for the module. Typically this is the fully resolved
|
|
381
|
+
* filename.
|
|
382
|
+
* @since v0.1.16
|
|
383
|
+
*/
|
|
384
|
+
id: string;
|
|
385
|
+
/**
|
|
386
|
+
* `true` if the module is running during the Node.js preload
|
|
387
|
+
* phase.
|
|
388
|
+
* @since v15.4.0, v14.17.0
|
|
389
|
+
*/
|
|
390
|
+
isPreloading: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* Whether or not the module is done loading, or is in the process of
|
|
393
|
+
* loading.
|
|
394
|
+
* @since v0.1.16
|
|
395
|
+
*/
|
|
396
|
+
loaded: boolean;
|
|
397
|
+
/**
|
|
398
|
+
* The module that first required this one, or `null` if the current module is the
|
|
399
|
+
* entry point of the current process, or `undefined` if the module was loaded by
|
|
400
|
+
* something that is not a CommonJS module (e.g. REPL or `import`).
|
|
401
|
+
* @since v0.1.16
|
|
402
|
+
* @deprecated Please use `require.main` and `module.children` instead.
|
|
403
|
+
*/
|
|
404
|
+
parent: Module | null | undefined;
|
|
405
|
+
/**
|
|
406
|
+
* The directory name of the module. This is usually the same as the
|
|
407
|
+
* `path.dirname()` of the `module.id`.
|
|
408
|
+
* @since v11.14.0
|
|
409
|
+
*/
|
|
410
|
+
path: string;
|
|
411
|
+
/**
|
|
412
|
+
* The search paths for the module.
|
|
413
|
+
* @since v0.4.0
|
|
414
|
+
*/
|
|
415
|
+
paths: string[];
|
|
416
|
+
/**
|
|
417
|
+
* The `module.require()` method provides a way to load a module as if
|
|
418
|
+
* `require()` was called from the original module.
|
|
419
|
+
* @since v0.5.1
|
|
420
|
+
*/
|
|
421
|
+
require(id: string): any;
|
|
422
|
+
}
|
|
423
|
+
interface Require {
|
|
424
|
+
/**
|
|
425
|
+
* Used to import modules, `JSON`, and local files.
|
|
426
|
+
* @since v0.1.13
|
|
427
|
+
*/
|
|
428
|
+
(id: string): any;
|
|
429
|
+
/**
|
|
430
|
+
* Modules are cached in this object when they are required. By deleting a key
|
|
431
|
+
* value from this object, the next `require` will reload the module.
|
|
432
|
+
* This does not apply to
|
|
433
|
+
* [native addons](https://nodejs.org/docs/latest-v20.x/api/addons.html),
|
|
434
|
+
* for which reloading will result in an error.
|
|
435
|
+
* @since v0.3.0
|
|
436
|
+
*/
|
|
437
|
+
cache: Dict<Module>;
|
|
438
|
+
/**
|
|
439
|
+
* Instruct `require` on how to handle certain file extensions.
|
|
440
|
+
* @since v0.3.0
|
|
441
|
+
* @deprecated
|
|
442
|
+
*/
|
|
443
|
+
extensions: RequireExtensions;
|
|
444
|
+
/**
|
|
445
|
+
* The `Module` object representing the entry script loaded when the Node.js
|
|
446
|
+
* process launched, or `undefined` if the entry point of the program is not a
|
|
447
|
+
* CommonJS module.
|
|
448
|
+
* @since v0.1.17
|
|
449
|
+
*/
|
|
450
|
+
main: Module | undefined;
|
|
451
|
+
/**
|
|
452
|
+
* @since v0.3.0
|
|
453
|
+
*/
|
|
454
|
+
resolve: RequireResolve;
|
|
455
|
+
}
|
|
456
|
+
/** @deprecated */
|
|
457
|
+
interface RequireExtensions extends Dict<(module: Module, filename: string) => any> {
|
|
458
|
+
".js": (module: Module, filename: string) => any;
|
|
459
|
+
".json": (module: Module, filename: string) => any;
|
|
460
|
+
".node": (module: Module, filename: string) => any;
|
|
461
|
+
}
|
|
462
|
+
interface RequireResolveOptions {
|
|
463
|
+
/**
|
|
464
|
+
* Paths to resolve module location from. If present, these
|
|
465
|
+
* paths are used instead of the default resolution paths, with the exception
|
|
466
|
+
* of
|
|
467
|
+
* [GLOBAL\_FOLDERS](https://nodejs.org/docs/latest-v20.x/api/modules.html#loading-from-the-global-folders)
|
|
468
|
+
* like `$HOME/.node_modules`, which are
|
|
469
|
+
* always included. Each of these paths is used as a starting point for
|
|
470
|
+
* the module resolution algorithm, meaning that the `node_modules` hierarchy
|
|
471
|
+
* is checked from this location.
|
|
472
|
+
* @since v8.9.0
|
|
473
|
+
*/
|
|
474
|
+
paths?: string[] | undefined;
|
|
475
|
+
}
|
|
476
|
+
interface RequireResolve {
|
|
477
|
+
/**
|
|
478
|
+
* Use the internal `require()` machinery to look up the location of a module,
|
|
479
|
+
* but rather than loading the module, just return the resolved filename.
|
|
480
|
+
*
|
|
481
|
+
* If the module can not be found, a `MODULE_NOT_FOUND` error is thrown.
|
|
482
|
+
* @since v0.3.0
|
|
483
|
+
* @param request The module path to resolve.
|
|
484
|
+
*/
|
|
485
|
+
(id: string, options?: RequireResolveOptions): string;
|
|
486
|
+
/**
|
|
487
|
+
* Returns an array containing the paths searched during resolution of `request` or
|
|
488
|
+
* `null` if the `request` string references a core module, for example `http` or
|
|
489
|
+
* `fs`.
|
|
490
|
+
* @since v8.9.0
|
|
491
|
+
* @param request The module path whose lookup paths are being retrieved.
|
|
492
|
+
*/
|
|
493
|
+
paths(request: string): string[] | null;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* The directory name of the current module. This is the same as the
|
|
498
|
+
* `path.dirname()` of the `__filename`.
|
|
499
|
+
* @since v0.1.27
|
|
500
|
+
*/
|
|
501
|
+
var __dirname: string;
|
|
502
|
+
/**
|
|
503
|
+
* The file name of the current module. This is the current module file's absolute
|
|
504
|
+
* path with symlinks resolved.
|
|
505
|
+
*
|
|
506
|
+
* For a main program this is not necessarily the same as the file name used in the
|
|
507
|
+
* command line.
|
|
508
|
+
* @since v0.0.1
|
|
509
|
+
*/
|
|
510
|
+
var __filename: string;
|
|
511
|
+
/**
|
|
512
|
+
* The `exports` variable is available within a module's file-level scope, and is
|
|
513
|
+
* assigned the value of `module.exports` before the module is evaluated.
|
|
514
|
+
* @since v0.1.16
|
|
515
|
+
*/
|
|
516
|
+
var exports: NodeJS.Module["exports"];
|
|
517
|
+
/**
|
|
518
|
+
* A reference to the current module.
|
|
519
|
+
* @since v0.1.16
|
|
520
|
+
*/
|
|
521
|
+
var module: NodeJS.Module;
|
|
522
|
+
/**
|
|
523
|
+
* @since v0.1.13
|
|
524
|
+
*/
|
|
525
|
+
var require: NodeJS.Require;
|
|
526
|
+
// Global-scope aliases for backwards compatibility with @types/node <13.0.x
|
|
527
|
+
/** @deprecated Use `NodeJS.Module` instead. */
|
|
528
|
+
interface NodeModule extends NodeJS.Module {}
|
|
529
|
+
/** @deprecated Use `NodeJS.Require` instead. */
|
|
530
|
+
interface NodeRequire extends NodeJS.Require {}
|
|
531
|
+
/** @deprecated Use `NodeJS.RequireResolve` instead. */
|
|
532
|
+
interface RequireResolve extends NodeJS.RequireResolve {}
|
|
533
|
+
}
|
|
534
|
+
export = Module;
|
|
535
|
+
}
|
|
536
|
+
declare module "node:module" {
|
|
537
|
+
import module = require("module");
|
|
538
|
+
export = module;
|
|
539
|
+
}
|