@fougere/core 0.6.0-alpha.0 → 0.7.0-alpha.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/README.md +1 -1
- package/dist/boot/Emissions.d.ts +13 -90
- package/dist/boot/Emissions.d.ts.map +1 -1
- package/dist/boot/Emissions.js +21 -118
- package/dist/boot/Emissions.js.map +1 -1
- package/dist/boot/ambient-port.d.ts +3 -24
- package/dist/boot/ambient-port.d.ts.map +1 -1
- package/dist/boot/ambient.als.d.ts.map +1 -1
- package/dist/boot/ambient.als.js +7 -12
- package/dist/boot/ambient.als.js.map +1 -1
- package/dist/boot/ambient.queue.d.ts +2 -5
- package/dist/boot/ambient.queue.d.ts.map +1 -1
- package/dist/boot/ambient.queue.js.map +1 -1
- package/dist/boot/apply.d.ts +1 -13
- package/dist/boot/apply.d.ts.map +1 -1
- package/dist/boot/apply.js +3 -15
- package/dist/boot/apply.js.map +1 -1
- package/dist/boot/auth.d.ts +2 -12
- package/dist/boot/auth.d.ts.map +1 -1
- package/dist/boot/boot.d.ts +3 -16
- package/dist/boot/boot.d.ts.map +1 -1
- package/dist/boot/boot.js +3 -10
- package/dist/boot/boot.js.map +1 -1
- package/dist/boot/bootstrap.d.ts.map +1 -1
- package/dist/boot/bootstrap.js +61 -127
- package/dist/boot/bootstrap.js.map +1 -1
- package/dist/boot/card.d.ts +1 -17
- package/dist/boot/card.d.ts.map +1 -1
- package/dist/boot/card.js +3 -32
- package/dist/boot/card.js.map +1 -1
- package/dist/boot/frame.d.ts +8 -32
- package/dist/boot/frame.d.ts.map +1 -1
- package/dist/boot/frame.js +20 -54
- package/dist/boot/frame.js.map +1 -1
- package/dist/boot/hosted.d.ts +2 -24
- package/dist/boot/hosted.d.ts.map +1 -1
- package/dist/boot/hosted.js +10 -15
- package/dist/boot/hosted.js.map +1 -1
- package/dist/boot/ownership.d.ts +3 -36
- package/dist/boot/ownership.d.ts.map +1 -1
- package/dist/boot/ownership.js +5 -40
- package/dist/boot/ownership.js.map +1 -1
- package/dist/boot/ports.d.ts +1 -14
- package/dist/boot/ports.d.ts.map +1 -1
- package/dist/boot/ports.js +1 -14
- package/dist/boot/ports.js.map +1 -1
- package/dist/boot/remote.d.ts +5 -38
- package/dist/boot/remote.d.ts.map +1 -1
- package/dist/boot/remote.js +8 -41
- package/dist/boot/remote.js.map +1 -1
- package/dist/boot/runner.d.ts +4 -21
- package/dist/boot/runner.d.ts.map +1 -1
- package/dist/boot/runner.js +4 -17
- package/dist/boot/runner.js.map +1 -1
- package/dist/boot/seed.d.ts +4 -31
- package/dist/boot/seed.d.ts.map +1 -1
- package/dist/boot/seed.js +6 -37
- package/dist/boot/seed.js.map +1 -1
- package/dist/boot/statement-drift.d.ts +2 -21
- package/dist/boot/statement-drift.d.ts.map +1 -1
- package/dist/boot/statement-drift.js +4 -9
- package/dist/boot/statement-drift.js.map +1 -1
- package/dist/boot/together.d.ts +4 -8
- package/dist/boot/together.d.ts.map +1 -1
- package/dist/boot/together.js +15 -50
- package/dist/boot/together.js.map +1 -1
- package/dist/boot/types.d.ts +28 -173
- package/dist/boot/types.d.ts.map +1 -1
- package/dist/builtin/config.d.ts +7 -0
- package/dist/builtin/config.d.ts.map +1 -0
- package/dist/builtin/config.js +15 -0
- package/dist/builtin/config.js.map +1 -0
- package/dist/{builtins → builtin}/logger.d.ts +4 -25
- package/dist/builtin/logger.d.ts.map +1 -0
- package/dist/{builtins → builtin}/logger.js +5 -32
- package/dist/builtin/logger.js.map +1 -0
- package/dist/config-loader.d.ts +9 -67
- package/dist/config-loader.d.ts.map +1 -1
- package/dist/config-loader.js +5 -18
- package/dist/config-loader.js.map +1 -1
- package/dist/contract.d.ts +13 -31
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +10 -26
- package/dist/contract.js.map +1 -1
- package/dist/crypto/encoding.d.ts +2 -15
- package/dist/crypto/encoding.d.ts.map +1 -1
- package/dist/crypto/encoding.js +2 -15
- package/dist/crypto/encoding.js.map +1 -1
- package/dist/crypto/node.d.ts.map +1 -1
- package/dist/crypto/node.js +1 -7
- package/dist/crypto/node.js.map +1 -1
- package/dist/crypto/port.d.ts +2 -18
- package/dist/crypto/port.d.ts.map +1 -1
- package/dist/crypto/port.js +1 -17
- package/dist/crypto/port.js.map +1 -1
- package/dist/crypto/webcrypto.d.ts.map +1 -1
- package/dist/crypto/webcrypto.js +1 -12
- package/dist/crypto/webcrypto.js.map +1 -1
- package/dist/declare.d.ts +6 -36
- package/dist/declare.d.ts.map +1 -1
- package/dist/declare.js +4 -29
- package/dist/declare.js.map +1 -1
- package/dist/define.d.ts +2 -3
- package/dist/define.d.ts.map +1 -1
- package/dist/define.js +2 -3
- package/dist/define.js.map +1 -1
- package/dist/descriptor/Fronds.d.ts +3 -28
- package/dist/descriptor/Fronds.d.ts.map +1 -1
- package/dist/descriptor/Fronds.js +6 -31
- package/dist/descriptor/Fronds.js.map +1 -1
- package/dist/descriptor/frond.d.ts +14 -63
- package/dist/descriptor/frond.d.ts.map +1 -1
- package/dist/dispatch/ArgumentResolver.d.ts +1 -1
- package/dist/dispatch/ArgumentResolver.d.ts.map +1 -1
- package/dist/dispatch/ArgumentResolver.js +5 -5
- package/dist/dispatch/ArgumentResolver.js.map +1 -1
- package/dist/dispatch/DispatchEvent.d.ts +2 -2
- package/dist/dispatch/DispatchEvent.d.ts.map +1 -1
- package/dist/dispatch/DispatchLifecycle.d.ts +1 -7
- package/dist/dispatch/DispatchLifecycle.d.ts.map +1 -1
- package/dist/dispatch/DispatchLifecycle.js +1 -7
- package/dist/dispatch/DispatchLifecycle.js.map +1 -1
- package/dist/dispatch/DispatchPort.d.ts +1 -1
- package/dist/dispatch/DispatchPort.d.ts.map +1 -1
- package/dist/dispatch/Dispatcher.d.ts +1 -1
- package/dist/dispatch/Dispatcher.d.ts.map +1 -1
- package/dist/dispatch/Dispatcher.js +2 -2
- package/dist/dispatch/Dispatcher.js.map +1 -1
- package/dist/{boot → dispatch}/HandlerFacade.d.ts +25 -38
- package/dist/dispatch/HandlerFacade.d.ts.map +1 -0
- package/dist/{boot → dispatch}/HandlerFacade.js +65 -74
- package/dist/dispatch/HandlerFacade.js.map +1 -0
- package/dist/dispatch/LocalRoutePolicy.d.ts +1 -1
- package/dist/dispatch/LocalRoutePolicy.d.ts.map +1 -1
- package/dist/dispatch/LocalRoutePolicy.js +4 -4
- package/dist/dispatch/LocalRoutePolicy.js.map +1 -1
- package/dist/dispatch/OperationRoute.d.ts +2 -2
- package/dist/dispatch/OperationRoute.d.ts.map +1 -1
- package/dist/dispatch/OutputView.d.ts +3 -2
- package/dist/dispatch/OutputView.d.ts.map +1 -1
- package/dist/dispatch/OutputView.js +19 -1
- package/dist/dispatch/OutputView.js.map +1 -1
- package/dist/dispatch/Route.d.ts +2 -2
- package/dist/dispatch/Route.d.ts.map +1 -1
- package/dist/dispatch/RoutePolicy.d.ts +1 -1
- package/dist/dispatch/RoutePolicy.d.ts.map +1 -1
- package/dist/dispatch/RouteRegistry.d.ts +1 -1
- package/dist/dispatch/RouteRegistry.d.ts.map +1 -1
- package/dist/dispatch/RouteRegistry.js +2 -2
- package/dist/dispatch/RouteRegistry.js.map +1 -1
- package/dist/dispatch/RouteResolver.d.ts +2 -4
- package/dist/dispatch/RouteResolver.d.ts.map +1 -1
- package/dist/dispatch/StorageGuard.d.ts +8 -7
- package/dist/dispatch/StorageGuard.d.ts.map +1 -1
- package/dist/dispatch/StorageGuard.js +61 -18
- package/dist/dispatch/StorageGuard.js.map +1 -1
- package/dist/dispatch/presenterArguments.d.ts +7 -0
- package/dist/dispatch/presenterArguments.d.ts.map +1 -0
- package/dist/dispatch/presenterArguments.js +12 -0
- package/dist/dispatch/presenterArguments.js.map +1 -0
- package/dist/dispatch/remoteRoutes.d.ts +7 -0
- package/dist/dispatch/remoteRoutes.d.ts.map +1 -0
- package/dist/dispatch/{RemoteRouteResolver.js → remoteRoutes.js} +6 -10
- package/dist/dispatch/remoteRoutes.js.map +1 -0
- package/dist/dispatch/routeNotFound.d.ts +9 -0
- package/dist/dispatch/routeNotFound.d.ts.map +1 -0
- package/dist/dispatch/routeNotFound.js +21 -0
- package/dist/dispatch/routeNotFound.js.map +1 -0
- package/dist/dispatch/validateInput.d.ts +5 -0
- package/dist/dispatch/validateInput.d.ts.map +1 -0
- package/dist/dispatch/validateInput.js +20 -0
- package/dist/dispatch/validateInput.js.map +1 -0
- package/dist/effective-operation.d.ts +1 -24
- package/dist/effective-operation.d.ts.map +1 -1
- package/dist/effective-operation.js +21 -50
- package/dist/effective-operation.js.map +1 -1
- package/dist/emit.d.ts +4 -42
- package/dist/emit.d.ts.map +1 -1
- package/dist/emit.js +3 -39
- package/dist/emit.js.map +1 -1
- package/dist/entry/facade.d.ts +8 -0
- package/dist/entry/facade.d.ts.map +1 -0
- package/dist/entry/facade.js +28 -0
- package/dist/entry/facade.js.map +1 -0
- package/dist/entry/transport.d.ts +5 -0
- package/dist/entry/transport.d.ts.map +1 -0
- package/dist/entry/transport.js +11 -0
- package/dist/entry/transport.js.map +1 -0
- package/dist/frond-config.d.ts +7 -70
- package/dist/frond-config.d.ts.map +1 -1
- package/dist/frond-config.js +1 -9
- package/dist/frond-config.js.map +1 -1
- package/dist/identity-keys.d.ts +2 -5
- package/dist/identity-keys.d.ts.map +1 -1
- package/dist/identity-keys.js +3 -16
- package/dist/identity-keys.js.map +1 -1
- package/dist/identity.d.ts +4 -30
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +11 -73
- package/dist/identity.js.map +1 -1
- package/dist/imports.d.ts +1 -7
- package/dist/imports.d.ts.map +1 -1
- package/dist/imports.js +1 -7
- package/dist/imports.js.map +1 -1
- package/dist/index.d.ts +17 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -18
- package/dist/index.js.map +1 -1
- package/dist/loader.d.ts +1 -8
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +1 -8
- package/dist/loader.js.map +1 -1
- package/dist/node.d.ts +2 -11
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +2 -11
- package/dist/node.js.map +1 -1
- package/dist/prefab/collector.d.ts +1 -22
- package/dist/prefab/collector.d.ts.map +1 -1
- package/dist/prefab/collector.js +1 -22
- package/dist/prefab/collector.js.map +1 -1
- package/dist/prefab/crud.d.ts +16 -32
- package/dist/prefab/crud.d.ts.map +1 -1
- package/dist/prefab/crud.js +31 -58
- package/dist/prefab/crud.js.map +1 -1
- package/dist/prefab/mirror.d.ts +2 -24
- package/dist/prefab/mirror.d.ts.map +1 -1
- package/dist/prefab/mirror.js +2 -20
- package/dist/prefab/mirror.js.map +1 -1
- package/dist/prefab/prefab.d.ts +1 -7
- package/dist/prefab/prefab.d.ts.map +1 -1
- package/dist/prefab/prefab.js +1 -7
- package/dist/prefab/prefab.js.map +1 -1
- package/dist/prefab/presenter.d.ts +2 -36
- package/dist/prefab/presenter.d.ts.map +1 -1
- package/dist/prefab/presenter.js +2 -36
- package/dist/prefab/presenter.js.map +1 -1
- package/dist/prefab/repository.d.ts +5 -73
- package/dist/prefab/repository.d.ts.map +1 -1
- package/dist/prefab/repository.js +3 -16
- package/dist/prefab/repository.js.map +1 -1
- package/dist/scan/adapters.d.ts +3 -0
- package/dist/scan/adapters.d.ts.map +1 -0
- package/dist/scan/adapters.js +25 -0
- package/dist/scan/adapters.js.map +1 -0
- package/dist/scan/bundling.d.ts +1 -12
- package/dist/scan/bundling.d.ts.map +1 -1
- package/dist/scan/bundling.js +1 -12
- package/dist/scan/bundling.js.map +1 -1
- package/dist/scan/conventions.d.ts +6 -40
- package/dist/scan/conventions.d.ts.map +1 -1
- package/dist/scan/conventions.js +5 -34
- package/dist/scan/conventions.js.map +1 -1
- package/dist/scan/emit.d.ts +1 -5
- package/dist/scan/emit.d.ts.map +1 -1
- package/dist/scan/emit.js +4 -38
- package/dist/scan/emit.js.map +1 -1
- package/dist/scan/handler-parser.d.ts +4 -26
- package/dist/scan/handler-parser.d.ts.map +1 -1
- package/dist/scan/handler-parser.js +26 -83
- package/dist/scan/handler-parser.js.map +1 -1
- package/dist/scan/result.d.ts +3 -16
- package/dist/scan/result.d.ts.map +1 -1
- package/dist/scan/scanner.d.ts +2 -27
- package/dist/scan/scanner.d.ts.map +1 -1
- package/dist/scan/scanner.js +28 -127
- package/dist/scan/scanner.js.map +1 -1
- package/dist/scan/statement.d.ts.map +1 -1
- package/dist/scan/statement.js +4 -30
- package/dist/scan/statement.js.map +1 -1
- package/dist/source.d.ts +41 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +10 -0
- package/dist/source.js.map +1 -0
- package/dist/storage.d.ts +13 -210
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +4 -68
- package/dist/storage.js.map +1 -1
- package/dist/store.d.ts +18 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +146 -0
- package/dist/store.js.map +1 -0
- package/dist/verify.d.ts +5 -38
- package/dist/verify.d.ts.map +1 -1
- package/dist/verify.js +17 -37
- package/dist/verify.js.map +1 -1
- package/dist/wire/CallLog.d.ts +32 -0
- package/dist/wire/CallLog.d.ts.map +1 -0
- package/dist/{contract → wire}/CallLog.js.map +1 -1
- package/dist/wire/Invocation.d.ts +32 -0
- package/dist/wire/Invocation.d.ts.map +1 -0
- package/dist/wire/Invocation.js +66 -0
- package/dist/wire/Invocation.js.map +1 -0
- package/dist/{contract → wire}/RouteAddress.d.ts +5 -0
- package/dist/wire/RouteAddress.d.ts.map +1 -0
- package/dist/{contract → wire}/RouteAddress.js +7 -0
- package/dist/wire/RouteAddress.js.map +1 -0
- package/dist/wire/binding.d.ts +5 -21
- package/dist/wire/binding.d.ts.map +1 -1
- package/dist/wire/binding.js +5 -10
- package/dist/wire/binding.js.map +1 -1
- package/dist/wire/call.d.ts +24 -133
- package/dist/wire/call.d.ts.map +1 -1
- package/dist/wire/call.js +15 -41
- package/dist/wire/call.js.map +1 -1
- package/dist/wire/drift.d.ts +3 -28
- package/dist/wire/drift.d.ts.map +1 -1
- package/dist/wire/drift.js +4 -23
- package/dist/wire/drift.js.map +1 -1
- package/dist/wire/errors.d.ts +4 -24
- package/dist/wire/errors.d.ts.map +1 -1
- package/dist/wire/errors.js +4 -24
- package/dist/wire/errors.js.map +1 -1
- package/dist/wire/http-error.d.ts +2 -13
- package/dist/wire/http-error.d.ts.map +1 -1
- package/dist/wire/http-error.js +5 -19
- package/dist/wire/http-error.js.map +1 -1
- package/dist/wire/loggerMiddleware.d.ts +2 -8
- package/dist/wire/loggerMiddleware.d.ts.map +1 -1
- package/dist/wire/loggerMiddleware.js +1 -7
- package/dist/wire/loggerMiddleware.js.map +1 -1
- package/dist/wire/middleware.d.ts +3 -7
- package/dist/wire/middleware.d.ts.map +1 -1
- package/dist/wire/middleware.js +1 -5
- package/dist/wire/middleware.js.map +1 -1
- package/dist/wire/operation.d.ts +7 -43
- package/dist/wire/operation.d.ts.map +1 -1
- package/dist/wire/operation.js +4 -15
- package/dist/wire/operation.js.map +1 -1
- package/dist/wire/signature.d.ts +4 -25
- package/dist/wire/signature.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/boot/Emissions.ts +21 -118
- package/src/boot/ambient-port.ts +3 -24
- package/src/boot/ambient.als.ts +7 -12
- package/src/boot/ambient.queue.ts +2 -5
- package/src/boot/apply.ts +3 -15
- package/src/boot/auth.ts +2 -12
- package/src/boot/boot.ts +5 -20
- package/src/boot/bootstrap.ts +69 -136
- package/src/boot/card.ts +4 -33
- package/src/boot/frame.ts +28 -62
- package/src/boot/hosted.ts +12 -34
- package/src/boot/ownership.ts +5 -39
- package/src/boot/ports.ts +1 -14
- package/src/boot/remote.ts +11 -58
- package/src/boot/runner.ts +5 -22
- package/src/boot/seed.ts +6 -37
- package/src/boot/statement-drift.ts +5 -24
- package/src/boot/together.ts +18 -51
- package/src/boot/types.ts +28 -173
- package/src/{builtins → builtin}/config.ts +1 -7
- package/src/{builtins → builtin}/logger.ts +6 -39
- package/src/config-loader.ts +12 -71
- package/src/contract.ts +15 -39
- package/src/crypto/encoding.ts +2 -15
- package/src/crypto/node.ts +1 -7
- package/src/crypto/port.ts +2 -18
- package/src/crypto/webcrypto.ts +1 -12
- package/src/declare.ts +8 -39
- package/src/define.ts +2 -3
- package/src/descriptor/Fronds.ts +6 -31
- package/src/descriptor/frond.ts +14 -63
- package/src/dispatch/ArgumentResolver.ts +6 -6
- package/src/dispatch/DispatchEvent.ts +2 -2
- package/src/dispatch/DispatchLifecycle.ts +1 -7
- package/src/dispatch/DispatchPort.ts +1 -1
- package/src/dispatch/Dispatcher.ts +3 -3
- package/src/dispatch/HandlerFacade.ts +231 -0
- package/src/dispatch/LocalRoutePolicy.ts +4 -4
- package/src/dispatch/OperationRoute.ts +2 -2
- package/src/dispatch/OutputView.ts +24 -2
- package/src/dispatch/Route.ts +2 -2
- package/src/dispatch/RoutePolicy.ts +1 -1
- package/src/dispatch/RouteRegistry.ts +2 -2
- package/src/dispatch/RouteResolver.ts +2 -4
- package/src/dispatch/StorageGuard.ts +70 -18
- package/src/dispatch/presenterArguments.ts +25 -0
- package/src/dispatch/{RemoteRouteResolver.ts → remoteRoutes.ts} +7 -9
- package/src/dispatch/routeNotFound.ts +33 -0
- package/src/dispatch/validateInput.ts +28 -0
- package/src/effective-operation.ts +21 -50
- package/src/emit.ts +5 -63
- package/src/entry/facade.ts +44 -0
- package/src/entry/transport.ts +16 -0
- package/src/frond-config.ts +7 -70
- package/src/identity-keys.ts +3 -16
- package/src/identity.ts +12 -80
- package/src/imports.ts +2 -31
- package/src/index.ts +17 -24
- package/src/loader.ts +2 -16
- package/src/node.ts +2 -11
- package/src/prefab/collector.ts +1 -22
- package/src/prefab/crud.ts +37 -76
- package/src/prefab/mirror.ts +4 -44
- package/src/prefab/prefab.ts +2 -21
- package/src/prefab/presenter.ts +2 -36
- package/src/prefab/repository.ts +7 -83
- package/src/scan/adapters.ts +32 -0
- package/src/scan/bundling.ts +1 -12
- package/src/scan/conventions.ts +6 -40
- package/src/scan/emit.ts +4 -38
- package/src/scan/handler-parser.ts +27 -96
- package/src/scan/result.ts +3 -16
- package/src/scan/scanner.ts +27 -126
- package/src/scan/statement.ts +4 -30
- package/src/source.ts +44 -0
- package/src/storage.ts +14 -234
- package/src/store.ts +152 -0
- package/src/verify.ts +16 -57
- package/src/wire/CallLog.ts +30 -0
- package/src/{contract → wire}/Invocation.ts +24 -17
- package/src/{contract → wire}/RouteAddress.ts +7 -0
- package/src/wire/binding.ts +9 -25
- package/src/wire/call.ts +30 -133
- package/src/wire/drift.ts +5 -30
- package/src/wire/errors.ts +4 -24
- package/src/wire/http-error.ts +5 -19
- package/src/wire/loggerMiddleware.ts +2 -8
- package/src/wire/middleware.ts +3 -7
- package/src/wire/operation.ts +8 -48
- package/src/wire/signature.ts +4 -25
- package/dist/boot/HandlerFacade.d.ts.map +0 -1
- package/dist/boot/HandlerFacade.js.map +0 -1
- package/dist/builtins/config.d.ts +0 -13
- package/dist/builtins/config.d.ts.map +0 -1
- package/dist/builtins/config.js +0 -21
- package/dist/builtins/config.js.map +0 -1
- package/dist/builtins/logger.d.ts.map +0 -1
- package/dist/builtins/logger.js.map +0 -1
- package/dist/contract/Call.d.ts +0 -10
- package/dist/contract/Call.d.ts.map +0 -1
- package/dist/contract/Call.js +0 -15
- package/dist/contract/Call.js.map +0 -1
- package/dist/contract/CallLog.d.ts +0 -57
- package/dist/contract/CallLog.d.ts.map +0 -1
- package/dist/contract/Invocation.d.ts +0 -27
- package/dist/contract/Invocation.d.ts.map +0 -1
- package/dist/contract/Invocation.js +0 -59
- package/dist/contract/Invocation.js.map +0 -1
- package/dist/contract/RouteAddress.d.ts.map +0 -1
- package/dist/contract/RouteAddress.js.map +0 -1
- package/dist/dispatch/InputValidator.d.ts +0 -7
- package/dist/dispatch/InputValidator.d.ts.map +0 -1
- package/dist/dispatch/InputValidator.js +0 -22
- package/dist/dispatch/InputValidator.js.map +0 -1
- package/dist/dispatch/OperationExecutor.d.ts +0 -25
- package/dist/dispatch/OperationExecutor.d.ts.map +0 -1
- package/dist/dispatch/OperationExecutor.js +0 -32
- package/dist/dispatch/OperationExecutor.js.map +0 -1
- package/dist/dispatch/OutputProjector.d.ts +0 -12
- package/dist/dispatch/OutputProjector.d.ts.map +0 -1
- package/dist/dispatch/OutputProjector.js +0 -30
- package/dist/dispatch/OutputProjector.js.map +0 -1
- package/dist/dispatch/PresenterArgumentResolver.d.ts +0 -12
- package/dist/dispatch/PresenterArgumentResolver.d.ts.map +0 -1
- package/dist/dispatch/PresenterArgumentResolver.js +0 -20
- package/dist/dispatch/PresenterArgumentResolver.js.map +0 -1
- package/dist/dispatch/RemoteRouteResolver.d.ts +0 -13
- package/dist/dispatch/RemoteRouteResolver.d.ts.map +0 -1
- package/dist/dispatch/RemoteRouteResolver.js.map +0 -1
- package/dist/dispatch/RouteNotFoundError.d.ts +0 -10
- package/dist/dispatch/RouteNotFoundError.d.ts.map +0 -1
- package/dist/dispatch/RouteNotFoundError.js +0 -24
- package/dist/dispatch/RouteNotFoundError.js.map +0 -1
- package/dist/entry/DynamicFacade.d.ts +0 -10
- package/dist/entry/DynamicFacade.d.ts.map +0 -1
- package/dist/entry/DynamicFacade.js +0 -27
- package/dist/entry/DynamicFacade.js.map +0 -1
- package/dist/entry/FacadeEntry.d.ts +0 -11
- package/dist/entry/FacadeEntry.d.ts.map +0 -1
- package/dist/entry/FacadeEntry.js +0 -26
- package/dist/entry/FacadeEntry.js.map +0 -1
- package/dist/entry/TransportEntry.d.ts +0 -13
- package/dist/entry/TransportEntry.d.ts.map +0 -1
- package/dist/entry/TransportEntry.js +0 -24
- package/dist/entry/TransportEntry.js.map +0 -1
- package/dist/rows.d.ts +0 -40
- package/dist/rows.d.ts.map +0 -1
- package/dist/rows.js +0 -146
- package/dist/rows.js.map +0 -1
- package/src/boot/HandlerFacade.ts +0 -242
- package/src/contract/Call.ts +0 -18
- package/src/contract/CallLog.ts +0 -55
- package/src/dispatch/InputValidator.ts +0 -28
- package/src/dispatch/OperationExecutor.ts +0 -60
- package/src/dispatch/OutputProjector.ts +0 -32
- package/src/dispatch/PresenterArgumentResolver.ts +0 -25
- package/src/dispatch/RouteNotFoundError.ts +0 -29
- package/src/entry/DynamicFacade.ts +0 -28
- package/src/entry/FacadeEntry.ts +0 -32
- package/src/entry/TransportEntry.ts +0 -30
- package/src/rows.ts +0 -155
- /package/dist/{contract → wire}/CallLog.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-loader.js","sourceRoot":"","sources":["../src/config-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"config-loader.js","sourceRoot":"","sources":["../src/config-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAoC9C,oDAAoD;AAEpD,MAAM,YAAY,GAAG,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,CAAC;AAEtF,KAAK,UAAU,cAAc,CAAC,GAAW,EAAE,KAAe;IACxD,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;IACjC,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QAChC,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;YACrB,gFAAgF;YAChF,gFAAgF;YAChF,kFAAkF;YAClF,2EAA2E;YAC3E,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;YAC9D,OAAO,CAAE,GAAmC,CAAC,OAAO,IAAI,GAAG,CAAkB,CAAC;QAChF,CAAC;IACH,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,yEAAyE;AACzE,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,IAAY,EAAE,OAA6B;IAC1E,OAAO,cAAc,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;AAC9C,CAAC;AAED,oDAAoD;AAEpD;;;;GAIG;AACH,SAAS,WAAW,CAAC,IAAmB,EAAE,QAAgC;IACxE,MAAM,MAAM,GAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,QAAQ,EAAE,CAAC;IACvD,IAAI,IAAI,CAAC,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;QACrC,MAAM,CAAC,OAAO,GAAG,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC5D,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,aAAqB,EAAE,OAAe;IAC7E,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,aAAa,CAAC,CAAC;IAC7C,IAAI,OAAO,CAAC,aAAa,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC;QAAE,OAAO,IAAI,CAAC;IAC7D,OAAO,WAAW,CAAC,IAAI,EAAE,MAAM,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;AACtD,CAAC"}
|
package/dist/contract.d.ts
CHANGED
|
@@ -1,41 +1,25 @@
|
|
|
1
|
-
import { type InvocationContext } from './
|
|
1
|
+
import { type InvocationContext } from './wire/Invocation.js';
|
|
2
2
|
import type { FrondCall } from './wire/call.js';
|
|
3
3
|
export { FougereError, ErrorCode, validationErrorsOf } from './wire/errors.js';
|
|
4
4
|
export { toPublicError } from './wire/http-error.js';
|
|
5
5
|
export type { FougereErrorOptions } from './wire/errors.js';
|
|
6
|
-
export { canonicalInvocation, EMPTY_INVOCATION } from './
|
|
7
|
-
export type { InvocationContext } from './
|
|
8
|
-
export { Invocation } from './
|
|
9
|
-
export type {
|
|
10
|
-
export { Call } from './
|
|
11
|
-
export { RouteAddress } from './
|
|
12
|
-
export type { RouteAddressInput } from './
|
|
6
|
+
export { canonicalInvocation, EMPTY_INVOCATION } from './wire/Invocation.js';
|
|
7
|
+
export type { InvocationContext } from './wire/Invocation.js';
|
|
8
|
+
export { Invocation } from './wire/Invocation.js';
|
|
9
|
+
export type { PartialInvocation } from './wire/Invocation.js';
|
|
10
|
+
export { Call } from './wire/call.js';
|
|
11
|
+
export { RouteAddress } from './wire/RouteAddress.js';
|
|
12
|
+
export type { RouteAddressInput } from './wire/RouteAddress.js';
|
|
13
13
|
export type { FrondCall, Transport, SignedCall } from './wire/call.js';
|
|
14
14
|
export { MAX_BODY_BYTES } from './wire/call.js';
|
|
15
15
|
export { RPC_ENTITY } from './wire/call.js';
|
|
16
|
-
export type { CallPage, CallRecord } from './
|
|
16
|
+
export type { CallPage, CallRecord } from './wire/CallLog.js';
|
|
17
17
|
export { driftOf, agrees, explain } from './wire/drift.js';
|
|
18
18
|
export type { CardDrift } from './wire/drift.js';
|
|
19
|
-
/**
|
|
20
|
-
* What `rpc.discover` answers. It belongs here and not to the runtime: the
|
|
21
|
-
* reserved op travels on the same wire as every other call, so a consumer that
|
|
22
|
-
* only sends — a browser bundle, a frond written elsewhere — needs its shape and
|
|
23
|
-
* nothing else. Type-only, so `call.js` never enters the runtime graph.
|
|
24
|
-
*
|
|
25
|
-
* Stated once, on purpose: two private copies of this interface have already gone
|
|
26
|
-
* stale (the CLI's, then the Rust demo's) the day an op stopped being a bare name.
|
|
27
|
-
*/
|
|
19
|
+
/** What `rpc.discover` answers. */
|
|
28
20
|
export type { IdentityCard, CardOp, TopologyReport, FrondPlacement, Edge } from './wire/call.js';
|
|
29
21
|
export { assertIdentityCard } from './wire/call.js';
|
|
30
|
-
/**
|
|
31
|
-
* The key a class name is filed under — 'Post' → 'post'. Re-exported rather than
|
|
32
|
-
* respelled: a card writes it and a foreign key derives from it, so the convention
|
|
33
|
-
* belongs to the schema, and a second copy here is a second opinion. It travels
|
|
34
|
-
* through this subpath because a consumer of the wire (a browser bundle) may hold no
|
|
35
|
-
* schema dependency of its own — that audience only. Inside the package it is read from
|
|
36
|
-
* `@fougere/schema` directly: routing four modules through here bought nothing and put
|
|
37
|
-
* this file inside a cycle.
|
|
38
|
-
*/
|
|
22
|
+
/** The key a class name is filed under — 'Post' → 'post'. */
|
|
39
23
|
export { lowerFirst } from '@fougere/schema';
|
|
40
24
|
/** A call, fully fabricated: the designation and its completed invocation. */
|
|
41
25
|
export interface CallValue {
|
|
@@ -43,10 +27,8 @@ export interface CallValue {
|
|
|
43
27
|
invocation: InvocationContext;
|
|
44
28
|
}
|
|
45
29
|
/**
|
|
46
|
-
* Fabricate the call value — one designation, two spellings:
|
|
47
|
-
* `callValueOf(
|
|
48
|
-
* `callValueOf({ entity, op }, input)` (raw, for dynamic bridges).
|
|
49
|
-
* Missing invocation fields complete to the empty invocation.
|
|
30
|
+
* Fabricate the call value — one designation, two spellings: `callValueOf(Post, 'list', { query
|
|
31
|
+
* })` (class + verb) or `callValueOf({ entity, op }, input)` (raw, for dynamic bridges).
|
|
50
32
|
*/
|
|
51
33
|
export declare function callValueOf(target: {
|
|
52
34
|
name: string;
|
package/dist/contract.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAKA,OAAO,EAAuB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,kBAAk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AED;;;GAGG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,EACpC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,EAC/C,KAAK,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GACjC,SAAS,CAMX"}
|
package/dist/contract.js
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Contract surface — what a sender needs to speak to a receiver, and
|
|
3
|
-
*
|
|
4
|
-
* shape, the call value, the naming convention.
|
|
5
|
-
*
|
|
6
|
-
* Browser-safe by design: no node builtin may enter this module's import
|
|
7
|
-
* graph. Published as the `@fougere/core/contract` subpath so client
|
|
8
|
-
* bundles never touch the full index (scanner, config loader). `@fougere/schema`
|
|
9
|
-
* is allowed in — measured, it imports no node builtin either.
|
|
2
|
+
* Contract surface — what a sender needs to speak to a receiver, and nothing that assumes a
|
|
3
|
+
* runtime: the error vocabulary, the invocation shape, the call value, the naming convention.
|
|
10
4
|
*/
|
|
11
5
|
import { lowerFirst } from '@fougere/schema';
|
|
12
|
-
import { canonicalInvocation } from './
|
|
6
|
+
import { canonicalInvocation } from './wire/Invocation.js';
|
|
13
7
|
export { FougereError, ErrorCode, validationErrorsOf } from './wire/errors.js';
|
|
14
8
|
// A receiver turns a refusal into what may cross a process boundary, and it is not
|
|
15
9
|
// core's boot — reaching it through the main entry dragged the scanner into a bundle.
|
|
16
10
|
export { toPublicError } from './wire/http-error.js';
|
|
17
|
-
export { canonicalInvocation, EMPTY_INVOCATION } from './
|
|
18
|
-
export { Invocation } from './
|
|
19
|
-
export { Call } from './
|
|
20
|
-
export { RouteAddress } from './
|
|
11
|
+
export { canonicalInvocation, EMPTY_INVOCATION } from './wire/Invocation.js';
|
|
12
|
+
export { Invocation } from './wire/Invocation.js';
|
|
13
|
+
export { Call } from './wire/call.js';
|
|
14
|
+
export { RouteAddress } from './wire/RouteAddress.js';
|
|
21
15
|
export { MAX_BODY_BYTES } from './wire/call.js';
|
|
22
16
|
// The reserved entity, VALUE and not type: a consumer that wants to leave it alone — a
|
|
23
17
|
// call log ignoring its own reader — has to be able to name it.
|
|
@@ -26,21 +20,11 @@ export { RPC_ENTITY } from './wire/call.js';
|
|
|
26
20
|
// purpose: a panel showing the drift holds only the two cards, never the app.
|
|
27
21
|
export { driftOf, agrees, explain } from './wire/drift.js';
|
|
28
22
|
export { assertIdentityCard } from './wire/call.js';
|
|
29
|
-
/**
|
|
30
|
-
* The key a class name is filed under — 'Post' → 'post'. Re-exported rather than
|
|
31
|
-
* respelled: a card writes it and a foreign key derives from it, so the convention
|
|
32
|
-
* belongs to the schema, and a second copy here is a second opinion. It travels
|
|
33
|
-
* through this subpath because a consumer of the wire (a browser bundle) may hold no
|
|
34
|
-
* schema dependency of its own — that audience only. Inside the package it is read from
|
|
35
|
-
* `@fougere/schema` directly: routing four modules through here bought nothing and put
|
|
36
|
-
* this file inside a cycle.
|
|
37
|
-
*/
|
|
23
|
+
/** The key a class name is filed under — 'Post' → 'post'. */
|
|
38
24
|
export { lowerFirst } from '@fougere/schema';
|
|
39
25
|
/**
|
|
40
|
-
* Fabricate the call value — one designation, two spellings:
|
|
41
|
-
* `callValueOf(
|
|
42
|
-
* `callValueOf({ entity, op }, input)` (raw, for dynamic bridges).
|
|
43
|
-
* Missing invocation fields complete to the empty invocation.
|
|
26
|
+
* Fabricate the call value — one designation, two spellings: `callValueOf(Post, 'list', { query
|
|
27
|
+
* })` (class + verb) or `callValueOf({ entity, op }, input)` (raw, for dynamic bridges).
|
|
44
28
|
*/
|
|
45
29
|
export function callValueOf(target, opOrInput, input) {
|
|
46
30
|
const [call, given] = typeof opOrInput === 'string'
|
package/dist/contract.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"cont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C,CAAC;IACvC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;AAC1D,CAAC"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What both realizations spell identically — bytes in, bytes out, no platform.
|
|
3
|
-
*
|
|
4
|
-
* `Buffer` did all of this and does not exist on a Worker; `atob`/`btoa` exist on both.
|
|
5
|
-
* Nothing here is a policy decision, which is why it sits beside the port rather than
|
|
6
|
-
* inside either half: two copies of a base64url would be two chances to disagree on the
|
|
7
|
-
* padding, and the disagreement would show up as a bad signature.
|
|
8
|
-
*/
|
|
1
|
+
/** What both realizations spell identically — bytes in, bytes out, no platform. */
|
|
9
2
|
export declare const bytesOf: (text: string) => Uint8Array;
|
|
10
3
|
export declare const textOf: (bytes: Uint8Array) => string;
|
|
11
4
|
/** Base64url, unpadded — what JWS puts between the dots. */
|
|
@@ -14,12 +7,6 @@ export declare function unb64url(input: string): Uint8Array;
|
|
|
14
7
|
/** Plain base64, padded — what an environment variable carries a PEM as. */
|
|
15
8
|
export declare function b64(input: Uint8Array | string): string;
|
|
16
9
|
export declare const unb64: (input: string) => Uint8Array;
|
|
17
|
-
/**
|
|
18
|
-
* The DER a PEM wraps. WebCrypto imports DER and knows nothing about the armour.
|
|
19
|
-
*
|
|
20
|
-
* The label is not checked: a caller asking for a private key and handed a public one
|
|
21
|
-
* fails at `importKey` with a message about the key, which is the truer error than one
|
|
22
|
-
* about a header line.
|
|
23
|
-
*/
|
|
10
|
+
/** The DER a PEM wraps. */
|
|
24
11
|
export declare function derOf(pem: string): Uint8Array;
|
|
25
12
|
//# sourceMappingURL=encoding.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../src/crypto/encoding.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../src/crypto/encoding.ts"],"names":[],"mappings":"AAAA,mFAAmF;AAKnF,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,KAAG,UAAkC,CAAC;AAC1E,eAAO,MAAM,MAAM,GAAI,OAAO,UAAU,KAAG,MAA+B,CAAC;AAE3E,4DAA4D;AAC5D,wBAAgB,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAOzD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAKlD;AAED,4EAA4E;AAC5E,wBAAgB,GAAG,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAKtD;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,KAAG,UAKrC,CAAC;AAEF,2BAA2B;AAC3B,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAI7C"}
|
package/dist/crypto/encoding.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What both realizations spell identically — bytes in, bytes out, no platform.
|
|
3
|
-
*
|
|
4
|
-
* `Buffer` did all of this and does not exist on a Worker; `atob`/`btoa` exist on both.
|
|
5
|
-
* Nothing here is a policy decision, which is why it sits beside the port rather than
|
|
6
|
-
* inside either half: two copies of a base64url would be two chances to disagree on the
|
|
7
|
-
* padding, and the disagreement would show up as a bad signature.
|
|
8
|
-
*/
|
|
1
|
+
/** What both realizations spell identically — bytes in, bytes out, no platform. */
|
|
9
2
|
const encoder = new TextEncoder();
|
|
10
3
|
const decoder = new TextDecoder();
|
|
11
4
|
export const bytesOf = (text) => encoder.encode(text);
|
|
@@ -42,13 +35,7 @@ export const unb64 = (input) => {
|
|
|
42
35
|
bytes[i] = binary.charCodeAt(i);
|
|
43
36
|
return bytes;
|
|
44
37
|
};
|
|
45
|
-
/**
|
|
46
|
-
* The DER a PEM wraps. WebCrypto imports DER and knows nothing about the armour.
|
|
47
|
-
*
|
|
48
|
-
* The label is not checked: a caller asking for a private key and handed a public one
|
|
49
|
-
* fails at `importKey` with a message about the key, which is the truer error than one
|
|
50
|
-
* about a header line.
|
|
51
|
-
*/
|
|
38
|
+
/** The DER a PEM wraps. */
|
|
52
39
|
export function derOf(pem) {
|
|
53
40
|
const body = pem.replace(/-----(BEGIN|END)[^-]+-----/g, '').replace(/\s+/g, '');
|
|
54
41
|
if (body.length === 0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../src/crypto/encoding.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"encoding.js","sourceRoot":"","sources":["../../src/crypto/encoding.ts"],"names":[],"mappings":"AAAA,mFAAmF;AAEnF,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;AAClC,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;AAElC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAY,EAAc,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1E,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAiB,EAAU,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAE3E,4DAA4D;AAC5D,MAAM,UAAU,MAAM,CAAC,KAA0B;IAC/C,MAAM,KAAK,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACjE,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,kFAAkF;IAClF,+EAA+E;IAC/E,KAAK,MAAM,IAAI,IAAI,KAAK;QAAE,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IAC9D,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC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,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,2BAA2B;AAC3B,MAAM,UAAU,KAAK,CAAC,GAAW;IAC/B,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAChF,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IACvF,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/crypto/node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/crypto/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEzE,eAAO,MAAM,MAAM,EAAE,UAiBpB,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/crypto/node.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ed25519 through `node:crypto` — the default realization, and the fast one.
|
|
3
|
-
*
|
|
4
|
-
* `sign`/`verify` are synchronous here and stay synchronous: the promise is put around
|
|
5
|
-
* the answer, never around the work. That is the whole reason this file exists rather
|
|
6
|
-
* than everyone sharing the WebCrypto half.
|
|
7
|
-
*/
|
|
1
|
+
/** Ed25519 through `node:crypto` — the default realization, and the fast one. */
|
|
8
2
|
import { createHash, createPrivateKey, createPublicKey, sign, verify } from 'node:crypto';
|
|
9
3
|
export const crypto = {
|
|
10
4
|
async sha256(data) {
|
package/dist/crypto/node.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../src/crypto/node.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"node.js","sourceRoot":"","sources":["../../src/crypto/node.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1F,MAAM,CAAC,MAAM,MAAM,GAAe;IAChC,KAAK,CAAC,MAAM,CAAC,IAAI;QACf,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,aAAa;QAC1B,oFAAoF;QACpF,MAAM,GAAG,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC5C,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChF,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,GAAG;QAClB,MAAM,MAAM,GAAG,OAAO,GAAG,KAAK,QAAQ;YACpC,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC;YACtB,CAAC,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,GAAY,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1D,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,IAAI,OAAO,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7F,CAAC;CACF,CAAC"}
|
package/dist/crypto/port.d.ts
CHANGED
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The two Ed25519 gestures a signed call needs, and the one hash that binds it.
|
|
3
|
-
*
|
|
4
|
-
* Node signs 59% faster than WebCrypto on the same curve (measured 2026-08-23: 14.30 µs
|
|
5
|
-
* against 22.72 µs per signature, 34.42 against 41.81 to verify), so this is a PORT with
|
|
6
|
-
* two realizations and not one implementation at the lowest common denominator. `#crypto`
|
|
7
|
-
* resolves to `crypto/node.ts` everywhere except under the `workerd` condition — the
|
|
8
|
-
* bundler picks at build time, and neither half ever appears in the other's output.
|
|
9
|
-
*
|
|
10
|
-
* The shape is async because WebCrypto is. On Node that costs one microtask, which the
|
|
11
|
-
* same measurement puts inside the noise of the signature itself (14.30 sync against
|
|
12
|
-
* 14.28 awaited) — awaiting is free, converting is not.
|
|
13
|
-
*
|
|
14
|
-
* A KEY IS PARSED ONCE. `crypto.subtle.importKey` is async and per-key, so an interface
|
|
15
|
-
* shaped `sign(key, data)` would import on every call; `signerOf(pem)` hands back
|
|
16
|
-
* something that holds the parsed key, and a boot builds it once.
|
|
17
|
-
*/
|
|
1
|
+
/** The two Ed25519 gestures a signed call needs, and the one hash that binds it. */
|
|
18
2
|
/** A parsed private key. */
|
|
19
3
|
export interface Signer {
|
|
20
4
|
sign(data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -32,7 +16,7 @@ export interface PublicJwk {
|
|
|
32
16
|
[key: string]: unknown;
|
|
33
17
|
}
|
|
34
18
|
export interface CryptoPort {
|
|
35
|
-
/** SHA-256. What binds
|
|
19
|
+
/** SHA-256. What binds an input to an envelope without carrying the input. */
|
|
36
20
|
sha256(data: Uint8Array): Promise<Uint8Array>;
|
|
37
21
|
/** From a PKCS#8 PEM — what `fougere keys` writes. */
|
|
38
22
|
signerOf(privateKeyPem: string): Promise<Signer>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"port.d.ts","sourceRoot":"","sources":["../../src/crypto/port.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"port.d.ts","sourceRoot":"","sources":["../../src/crypto/port.ts"],"names":[],"mappings":"AAAA,oFAAoF;AAEpF,4BAA4B;AAC5B,MAAM,WAAW,MAAM;IACrB,IAAI,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CAC7C;AAED,2BAA2B;AAC3B,MAAM,WAAW,QAAQ;IACvB,yEAAyE;IACzE,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACnE;AAED,gFAAgF;AAChF,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,8EAA8E;IAC9E,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9C,sDAAsD;IACtD,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACjD,uEAAuE;IACvE,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CACxD"}
|
package/dist/crypto/port.js
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The two Ed25519 gestures a signed call needs, and the one hash that binds it.
|
|
3
|
-
*
|
|
4
|
-
* Node signs 59% faster than WebCrypto on the same curve (measured 2026-08-23: 14.30 µs
|
|
5
|
-
* against 22.72 µs per signature, 34.42 against 41.81 to verify), so this is a PORT with
|
|
6
|
-
* two realizations and not one implementation at the lowest common denominator. `#crypto`
|
|
7
|
-
* resolves to `crypto/node.ts` everywhere except under the `workerd` condition — the
|
|
8
|
-
* bundler picks at build time, and neither half ever appears in the other's output.
|
|
9
|
-
*
|
|
10
|
-
* The shape is async because WebCrypto is. On Node that costs one microtask, which the
|
|
11
|
-
* same measurement puts inside the noise of the signature itself (14.30 sync against
|
|
12
|
-
* 14.28 awaited) — awaiting is free, converting is not.
|
|
13
|
-
*
|
|
14
|
-
* A KEY IS PARSED ONCE. `crypto.subtle.importKey` is async and per-key, so an interface
|
|
15
|
-
* shaped `sign(key, data)` would import on every call; `signerOf(pem)` hands back
|
|
16
|
-
* something that holds the parsed key, and a boot builds it once.
|
|
17
|
-
*/
|
|
1
|
+
/** The two Ed25519 gestures a signed call needs, and the one hash that binds it. */
|
|
18
2
|
export {};
|
|
19
3
|
//# sourceMappingURL=port.js.map
|
package/dist/crypto/port.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"port.js","sourceRoot":"","sources":["../../src/crypto/port.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"port.js","sourceRoot":"","sources":["../../src/crypto/port.ts"],"names":[],"mappings":"AAAA,oFAAoF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webcrypto.d.ts","sourceRoot":"","sources":["../../src/crypto/webcrypto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webcrypto.d.ts","sourceRoot":"","sources":["../../src/crypto/webcrypto.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAqBzE,eAAO,MAAM,MAAM,EAAE,UAkBpB,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/crypto/webcrypto.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Ed25519 through WebCrypto — what a runtime with no `node:` builtin has.
|
|
3
|
-
*
|
|
4
|
-
* Verified in real workerd with no compatibility flag (2026-08-23): sign, verify, a JWK
|
|
5
|
-
* import, an SPKI import and SHA-256 all answer. `Ed25519` is the algorithm name; the
|
|
6
|
-
* older `NODE-ED25519` spelling is not used, and a runtime that only knows that one will
|
|
7
|
-
* refuse at `importKey` rather than silently signing with something else.
|
|
8
|
-
*
|
|
9
|
-
* The four gestures are declared here rather than pulled from `lib.dom`: this package
|
|
10
|
-
* compiles with `lib: ["ESNext"]` and naming DOM would make every consumer carry a
|
|
11
|
-
* browser's globals to read a server type. What the file needs IS the declaration.
|
|
12
|
-
*/
|
|
1
|
+
/** Ed25519 through WebCrypto — what a runtime with no `node:` builtin has. */
|
|
13
2
|
import { derOf } from './encoding.js';
|
|
14
3
|
const ED25519 = { name: 'Ed25519' };
|
|
15
4
|
/** Read at call time — a Worker has the global, and reading it at module load does not. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webcrypto.js","sourceRoot":"","sources":["../../src/crypto/webcrypto.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"webcrypto.js","sourceRoot":"","sources":["../../src/crypto/webcrypto.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAgBtC,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,SAAS,EAAW,CAAC;AAE7C,2FAA2F;AAC3F,MAAM,MAAM,GAAG,GAAc,EAAE,CAC5B,UAA2D,CAAC,MAAM,CAAC,MAAM,CAAC;AAE7E,MAAM,CAAC,MAAM,MAAM,GAAe;IAChC,KAAK,CAAC,MAAM,CAAC,IAAI;QACf,OAAO,IAAI,UAAU,CAAC,MAAM,MAAM,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,aAAa;QAC1B,gFAAgF;QAChF,2EAA2E;QAC3E,MAAM,GAAG,GAAG,MAAM,MAAM,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9F,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,UAAU,CAAC,MAAM,MAAM,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAClG,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,GAAG;QAClB,MAAM,QAAQ,GAAG,OAAO,GAAG,KAAK,QAAQ;YACtC,CAAC,CAAC,MAAM,MAAM,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,CAAC;YAC1E,CAAC,CAAC,MAAM,MAAM,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;QACrE,OAAO,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC;IAC9F,CAAC;CACF,CAAC"}
|
package/dist/declare.d.ts
CHANGED
|
@@ -1,31 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A frond stated by its author, for an app that will not scan.
|
|
3
|
-
*
|
|
4
|
-
* The scan reads the type checker because a signature IS a declaration — and that reading
|
|
5
|
-
* has to happen while the types still exist, which is build time. An app that wants
|
|
6
|
-
* neither a build step nor `typescript` at runtime says the same thing here instead, and
|
|
7
|
-
* `createApp` cannot tell the difference: it consumes a `ScanResult`, never a scanner.
|
|
8
|
-
*
|
|
9
|
-
* What it does NOT ask for is the point. Every name the scan derives from a class is
|
|
10
|
-
* derived here the same way — `PostHandler` answers at `post`, `Post` is stored as `post`
|
|
11
|
-
* — so a declaration states classes and nothing else. `filePath` is empty because there is
|
|
12
|
-
* no file to point at, and a diagnostic that would have quoted one says so plainly.
|
|
13
|
-
*
|
|
14
|
-
* Measured on `demos/nuxt-blog`: 23 of its 29 operations need no word here at all, because
|
|
15
|
-
* `Crud.__ops` declares them at runtime. Only the six the author wrote by hand cost
|
|
16
|
-
* anything, and they cost `frond.config.ts` — where what is not derivable is stated.
|
|
17
|
-
*/
|
|
1
|
+
/** A frond stated by its author, for an app that will not scan. */
|
|
18
2
|
import { type SchemaView } from '@fougere/schema';
|
|
19
3
|
import type { FrondDescriptor, SeedEntry } from './descriptor/frond.js';
|
|
20
4
|
/** A class, as a declaration hands it over: the constructor itself. */
|
|
21
5
|
type Ctor = new (...args: never[]) => unknown;
|
|
22
|
-
/**
|
|
23
|
-
* What a subject needs beyond its class, when its constructor names a frame or a port.
|
|
24
|
-
*
|
|
25
|
-
* `deps` is the one thing no runtime can recover: TypeScript erases the parameter types,
|
|
26
|
-
* and `registerFrames` reads them to know which frames to build — asking for one IS
|
|
27
|
-
* declaring it. A handler that takes only its own entity's storage needs nothing here.
|
|
28
|
-
*/
|
|
6
|
+
/** What a subject needs beyond its class, when its constructor names a frame or a port. */
|
|
29
7
|
export interface DeclaredSubject {
|
|
30
8
|
ctor: Ctor;
|
|
31
9
|
deps?: string[];
|
|
@@ -33,9 +11,9 @@ export interface DeclaredSubject {
|
|
|
33
11
|
/** A handler, and the surface it answers on when it is not the default one. */
|
|
34
12
|
export interface DeclaredHandler extends DeclaredSubject {
|
|
35
13
|
/**
|
|
36
|
-
* The scan reads this from the directory (`handlers/public/`), so a statement has to
|
|
37
|
-
*
|
|
38
|
-
*
|
|
14
|
+
* The scan reads this from the directory (`handlers/public/`), so a statement has to say it: two
|
|
15
|
+
* handlers over one entity collide on their address otherwise, and the refusal names the same
|
|
16
|
+
* route twice.
|
|
39
17
|
*/
|
|
40
18
|
surface?: string;
|
|
41
19
|
}
|
|
@@ -57,15 +35,7 @@ export interface FrondDeclaration {
|
|
|
57
35
|
/** The import scope this frond answers under. Defaults to the conventional one. */
|
|
58
36
|
scope?: string;
|
|
59
37
|
}
|
|
60
|
-
/**
|
|
61
|
-
* State a frond without reading a disk.
|
|
62
|
-
*
|
|
63
|
-
* ```ts
|
|
64
|
-
* createApp({
|
|
65
|
-
* scan: { fronds: Fronds.hosting([frond('blog', { entities: [Post], handlers: [PostHandler] })]), diagnostics: [] },
|
|
66
|
-
* })
|
|
67
|
-
* ```
|
|
68
|
-
*/
|
|
38
|
+
/** State a frond without reading a disk. */
|
|
69
39
|
export declare function frond(name: string, declared?: FrondDeclaration): FrondDescriptor;
|
|
70
40
|
export {};
|
|
71
41
|
//# sourceMappingURL=declare.d.ts.map
|
package/dist/declare.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declare.d.ts","sourceRoot":"","sources":["../src/declare.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"declare.d.ts","sourceRoot":"","sources":["../src/declare.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EACmB,eAAe,EACb,SAAS,EACzC,MAAM,uBAAuB,CAAC;AAI/B,uEAAuE;AACvE,KAAK,IAAI,GAAG,KAAK,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,CAAC;AAE9C,2FAA2F;AAC3F,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,+EAA+E;AAC/E,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,4DAA4D;AAC5D,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,eAAe,CAAC;AA6B9C,8FAA8F;AAC9F,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,GAAG,eAAe,CAAC,EAAE,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,IAAI,GAAG,eAAe,CAAC,EAAE,CAAC;IACxC,UAAU,CAAC,EAAE,CAAC,IAAI,GAAG,eAAe,CAAC,EAAE,CAAC;IACxC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAA;KAAE,EAAE,CAAC;IAC1D,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,4CAA4C;AAC5C,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,gBAAqB,GAAG,eAAe,CAmFpF"}
|
package/dist/declare.js
CHANGED
|
@@ -1,29 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A frond stated by its author, for an app that will not scan.
|
|
3
|
-
*
|
|
4
|
-
* The scan reads the type checker because a signature IS a declaration — and that reading
|
|
5
|
-
* has to happen while the types still exist, which is build time. An app that wants
|
|
6
|
-
* neither a build step nor `typescript` at runtime says the same thing here instead, and
|
|
7
|
-
* `createApp` cannot tell the difference: it consumes a `ScanResult`, never a scanner.
|
|
8
|
-
*
|
|
9
|
-
* What it does NOT ask for is the point. Every name the scan derives from a class is
|
|
10
|
-
* derived here the same way — `PostHandler` answers at `post`, `Post` is stored as `post`
|
|
11
|
-
* — so a declaration states classes and nothing else. `filePath` is empty because there is
|
|
12
|
-
* no file to point at, and a diagnostic that would have quoted one says so plainly.
|
|
13
|
-
*
|
|
14
|
-
* Measured on `demos/nuxt-blog`: 23 of its 29 operations need no word here at all, because
|
|
15
|
-
* `Crud.__ops` declares them at runtime. Only the six the author wrote by hand cost
|
|
16
|
-
* anything, and they cost `frond.config.ts` — where what is not derivable is stated.
|
|
17
|
-
*/
|
|
1
|
+
/** A frond stated by its author, for an app that will not scan. */
|
|
18
2
|
import { lowerFirst } from '@fougere/schema';
|
|
19
3
|
import { DEFAULT_CONVENTIONS } from './scan/conventions.js';
|
|
20
4
|
import { getPresenterFields } from './prefab/presenter.js';
|
|
21
5
|
const ctorOf = (d) => (typeof d === 'function' ? d : d.ctor);
|
|
22
6
|
/**
|
|
23
7
|
* What a prefab was BUILT ON — `Presenter(Post)` and `Collector(User)` both keep it under
|
|
24
|
-
* `__entity`, which is the only place it survives: nothing in the FORM of `PostPresenter`
|
|
25
|
-
*
|
|
26
|
-
* rather than yielding a frond whose presenter belongs to no entity.
|
|
8
|
+
* `__entity`, which is the only place it survives: nothing in the FORM of `PostPresenter` says
|
|
9
|
+
* `Post`.
|
|
27
10
|
*/
|
|
28
11
|
function subjectOf(ctor, kind) {
|
|
29
12
|
const subject = ctor.__entity;
|
|
@@ -39,15 +22,7 @@ function addressOf(className) {
|
|
|
39
22
|
const base = className.endsWith('Handler') ? className.slice(0, -7) : className;
|
|
40
23
|
return lowerFirst(base);
|
|
41
24
|
}
|
|
42
|
-
/**
|
|
43
|
-
* State a frond without reading a disk.
|
|
44
|
-
*
|
|
45
|
-
* ```ts
|
|
46
|
-
* createApp({
|
|
47
|
-
* scan: { fronds: Fronds.hosting([frond('blog', { entities: [Post], handlers: [PostHandler] })]), diagnostics: [] },
|
|
48
|
-
* })
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
25
|
+
/** State a frond without reading a disk. */
|
|
51
26
|
export function frond(name, declared = {}) {
|
|
52
27
|
const scope = declared.scope ?? DEFAULT_CONVENTIONS.scope;
|
|
53
28
|
const entities = (declared.entities ?? []).map((entityClass) => ({
|
package/dist/declare.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declare.js","sourceRoot":"","sources":["../src/declare.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"declare.js","sourceRoot":"","sources":["../src/declare.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,OAAO,EAAE,UAAU,EAAmB,MAAM,iBAAiB,CAAC;AAK9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAwB3D,MAAM,MAAM,GAAG,CAAC,CAAW,EAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAE7E;;;;GAIG;AACH,SAAS,SAAS,CAAC,IAAU,EAAE,IAAY;IACzC,MAAM,OAAO,GAAI,IAAmD,CAAC,QAAQ,CAAC;IAC9E,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,GAAG,IAAI,CAAC,IAAI,qBAAqB,IAAI,wBAAwB,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,iBAAiB,IAAI;cAC7H,qCAAqC,CACxC,CAAC;IACJ,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AACD,MAAM,MAAM,GAAG,CAAC,CAAW,EAAY,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;AAExF,2FAA2F;AAC3F,SAAS,SAAS,CAAC,SAAiB;IAClC,MAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAEh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AC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC5D,UAAU,EAAE,CAAC,CAAC,UAAU;QACxB,IAAI,EAAE,CAAC,CAAC,IAAI;QACZ,QAAQ,EAAE,EAAE;KACb,CAAC,CAAC,CAAC;IAEJ,OAAO;QACL,IAAI;QACJ,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,IAAI,EAAE,EAAE;QACjD,SAAS;QACT,QAAQ;QACR,QAAQ;QACR,UAAU;QACV,UAAU;QACV,KAAK;QACL,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAC9D,CAAC;AACJ,CAAC"}
|
package/dist/define.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { FougereConfig } from './config-loader.js';
|
|
2
2
|
/**
|
|
3
|
-
* Identity helper for fougere.config.ts — preserves literal types for autocomplete
|
|
4
|
-
*
|
|
5
|
-
* but more explicit and aligned with defineFrond().
|
|
3
|
+
* Identity helper for fougere.config.ts — preserves literal types for autocomplete while
|
|
4
|
+
* validating against FougereConfig.
|
|
6
5
|
*/
|
|
7
6
|
export declare function defineFougere<T extends FougereConfig>(config: T): T;
|
|
8
7
|
//# sourceMappingURL=define.d.ts.map
|
package/dist/define.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD
|
|
1
|
+
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,aAAa,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAEnE"}
|
package/dist/define.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Identity helper for fougere.config.ts — preserves literal types for autocomplete
|
|
3
|
-
*
|
|
4
|
-
* but more explicit and aligned with defineFrond().
|
|
2
|
+
* Identity helper for fougere.config.ts — preserves literal types for autocomplete while
|
|
3
|
+
* validating against FougereConfig.
|
|
5
4
|
*/
|
|
6
5
|
export function defineFougere(config) {
|
|
7
6
|
return config;
|
package/dist/define.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define.js","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"define.js","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,UAAU,aAAa,CAA0B,MAAS;IAC9D,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import type { SchemaView } from '@fougere/schema';
|
|
2
2
|
import type { EntityEntry, FrondDescriptor } from './frond.js';
|
|
3
|
-
/**
|
|
4
|
-
* What this app hosts, with the questions everyone was asking it by hand.
|
|
5
|
-
*
|
|
6
|
-
* The list was a bare array, so every reader re-walked it: "which frond owns this
|
|
7
|
-
* entity" was spelled four times, "every entity by name" three times as three literal
|
|
8
|
-
* copies of the same `Map`, and the two inside the boot even carried comments saying so.
|
|
9
|
-
* A concept nobody can question is a concept everyone rebuilds.
|
|
10
|
-
*
|
|
11
|
-
* It IS an array — the same reason `ListResult` is one: twenty call sites iterate,
|
|
12
|
-
* filter and spread it, and none of them is wrong to. `Symbol.species` is `Array` so a
|
|
13
|
-
* `.map()` over it answers a plain array rather than something that claims to be a
|
|
14
|
-
* hosting table and holds strings.
|
|
15
|
-
*/
|
|
3
|
+
/** What this app hosts, with the questions everyone was asking it by hand. */
|
|
16
4
|
export declare class Fronds extends Array<FrondDescriptor> {
|
|
17
5
|
static get [Symbol.species](): ArrayConstructor;
|
|
18
6
|
/** The fronds an app hosts, scanned or stated. The only gate in — `Array.of` is taken. */
|
|
@@ -21,24 +9,11 @@ export declare class Fronds extends Array<FrondDescriptor> {
|
|
|
21
9
|
owner(entity: string): FrondDescriptor | undefined;
|
|
22
10
|
/** The entity of that name, wherever it was declared. */
|
|
23
11
|
entity(name: string): EntityEntry | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Every entity class, by name — across all fronds and never per-frond.
|
|
26
|
-
*
|
|
27
|
-
* A fact is announced in one frond and heard in another, so the subscriber's own
|
|
28
|
-
* frond does not hold the shape it must judge; a `reads:` clause names entities
|
|
29
|
-
* that belong to neighbours by definition.
|
|
30
|
-
*/
|
|
12
|
+
/** Every entity class, by name — across all fronds and never per-frond. */
|
|
31
13
|
schemas(): Map<string, SchemaView>;
|
|
32
14
|
/** Every declared entity, sorted. What is DECLARED, not what answers. */
|
|
33
15
|
entityNames(): string[];
|
|
34
|
-
/**
|
|
35
|
-
* The names a call may address, sorted — what a NOT_FOUND must print.
|
|
36
|
-
*
|
|
37
|
-
* Not `entityNames()`, which is what the scan found: an entity with no handler is
|
|
38
|
-
* scanned and serves nothing, so the refusal read *"Entity 'indexed' is not hosted
|
|
39
|
-
* here. Hosted here: indexed."* — naming the very thing it had just refused. A façade
|
|
40
|
-
* is keyed on a HANDLER's address, and that is what this lists.
|
|
41
|
-
*/
|
|
16
|
+
/** The names a call may address, sorted — what a NOT_FOUND must print. */
|
|
42
17
|
servedNames(surface?: string): string[];
|
|
43
18
|
}
|
|
44
19
|
//# sourceMappingURL=Fronds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fronds.d.ts","sourceRoot":"","sources":["../../src/descriptor/Fronds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"Fronds.d.ts","sourceRoot":"","sources":["../../src/descriptor/Fronds.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE/D,8EAA8E;AAC9E,qBAAa,MAAO,SAAQ,KAAK,CAAC,eAAe,CAAC;IAChD,WAAoB,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAEvD;IAED,0FAA0F;IAC1F,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,eAAe,EAAE,GAAG,MAAM;IAM1D,8EAA8E;IAC9E,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS;IAIlD,yDAAyD;IACzD,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;IAQ7C,2EAA2E;IAC3E,OAAO,IAAI,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC;IAIlC,yEAAyE;IACzE,WAAW,IAAI,MAAM,EAAE;IAIvB,0EAA0E;IAC1E,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE;CAKxC"}
|