@flighthq/lifecycle 0.5.1-next.973.788d3d7 → 0.6.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 CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/lifecycle`. The `@fl
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/lifecycle@0.5.1-next.973.788d3d7](https://github.com/flighthq/flight/tree/788d3d7375cca3a0233cecedda1a4e031bd26dec/packages/lifecycle)
17
- - [License](https://github.com/flighthq/flight/blob/788d3d7375cca3a0233cecedda1a4e031bd26dec/LICENSE.md)
16
+ - [Source for @flighthq/lifecycle@0.6.0](https://github.com/flighthq/flight/tree/ead804bfaef3e691a2e6e43e9711ddd3fd8a84a2/packages/lifecycle)
17
+ - [License](https://github.com/flighthq/flight/blob/ead804bfaef3e691a2e6e43e9711ddd3fd8a84a2/LICENSE.md)
@@ -0,0 +1 @@
1
+ {"version":"7.0.2","root":[[85,86]],"packageJsons":["../../../node_modules/@standard-schema/spec/package.json","../../../node_modules/@testing-library/jest-dom/package.json","../../../node_modules/@types/aria-query/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/expect/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/pretty-format/package.json","../../../node_modules/@vitest/runner/package.json","../../../node_modules/@vitest/snapshot/package.json","../../../node_modules/@vitest/spy/package.json","../../../node_modules/@vitest/utils/package.json","../../../node_modules/@webgpu/types/package.json","../../../node_modules/aria-query/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/tinyrainbow/package.json","../../../node_modules/tsx/package.json","../../../node_modules/vite/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/package.json","../../../node_modules/yaml/package.json","../../entity/package.json","../package.json","../../signals/package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/aria-query/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/jest/package.json","../../../node_modules/@testing-library/jest-dom/types/package.json","../../../node_modules/@types/jest/package.json","../../../node_modules/@types/testing-library__jest-dom/package.json","../../../node_modules/@types/vitest/globals/package.json","../../../node_modules/@types/webgpu__types/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/expect/dist/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/@vitest/runner/dist/package.json","../../../node_modules/@vitest/runner/utils/package.json","../../../node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/@vitest/spy/dist/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/@vitest/utils/diff/package.json","../../../node_modules/@vitest/utils/display/package.json","../../../node_modules/@vitest/utils/dist/package.json","../../../node_modules/@webgpu/types/dist/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/jest/package.json","../../../node_modules/less/package.json","../../../node_modules/lightningcss/package.json","../../../node_modules/msw/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tinyrainbow/dist/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vitest/globals/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.dom.asynciterable.d.ts","lib.webworker.importscripts.d.ts","lib.scripthost.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es2022.full.d.ts","../../entity/dist/types.d.ts","../../entity/dist/binding.d.ts","../../entity/dist/clone.d.ts","../../entity/dist/enableEntityRuntimeGuards.d.ts","../../entity/dist/entity.d.ts","../../entity/dist/entityUid.d.ts","../../entity/dist/explainEntityRuntimeWrite.d.ts","../../entity/dist/guards.d.ts","../../entity/dist/runtime.d.ts","../../entity/dist/contract.d.ts","../../signals/dist/types.d.ts","../../signals/dist/connection.d.ts","../../signals/dist/emitter.d.ts","../../signals/dist/internal.d.ts","../../signals/dist/safe.d.ts","../../signals/dist/scope.d.ts","../../signals/dist/signal.d.ts","../../signals/dist/slot.d.ts","../../signals/dist/throttle.d.ts","../../signals/dist/signalTypes.d.ts","../../signals/dist/contract.d.ts","../src/types.ts","../src/contract.lifecycle-types.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@testing-library/jest-dom/types/matchers.d.ts","../../../node_modules/@testing-library/jest-dom/types/jest.d.ts","../../../node_modules/@testing-library/jest-dom/types/index.d.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/vitest/dist/runners.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../../../node_modules/@webgpu/types/dist/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237","abad6dd56cc8caf095c165df8124d237",{"version":"2a9941db0809c9ad0e8837ed629b1dcc","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d051b93324f36bcc68d152a5ca0988cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"0eb5b8b97bde45c8fde5cd07c33f6631","22772bc49abb63e5c9ba66ac5fb78a3d","daf7ba9e176366b3caf843bd266d163a","1cd6ad8dcb5625d764e0d55a82295469","76aca40ee07d543a14c24ba839109332","6f54f49ea7e96bdd7a9078f6c94e88fd","e9fd0536114fa9a746eacd5bc23969e5","add935c05420698ee2f670e9c7605d49","8202b77f954e4d5a21783859414fcc7c","524a08ff038d375ae8c86bf6481e17d2","9ff787c1324b2d4c07a342936293f47a","921f8c08344aa1539405420fcf952a20","21a1b4607cb18ab00b1254cb35a77c57","d80705d2e260aba56aa54c416f471fbd","a821537667385a2906566c8bc69a21ed","387cee0627331c24f641f87fc905bff1","859418c3a3f1b2e9500476d829fc6093","32e33ec68ba1aa1147aab680de3b7c90","67c59d76f923f64e85a373fb5a2bbb13","5676a2feb7e6b36f973571c4a4500566","dd2bc19aa76d59fe40aa6c6fb9a33365","7ef4fc8b5166fc742b557034c24ec46b",{"version":"40b64ac0d870d9e1293195dea065457f","signature":"0c2f68d9c89ce2b31ade6e028bc66463","impliedNodeFormat":1},{"version":"086847db683f9c1c7492cf626bcde8f1","signature":"bbcf41d32ca7902d0efeb63ac0141c00","impliedNodeFormat":1},"56d080dfccb3c53a2d6c74c4f24252e3","75ebd62d9641cc8b34ba9b09be8283a9",{"version":"753f71e16f2994f332390bb1c997b0e3","affectsGlobalScope":true,"impliedNodeFormat":1},"8def0ea0e249f49397d74a4f5bdd45a5",{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},"ab8e1ea59f16bc290a0451d09dc5a52e",{"version":"e9d43fb880595ac4ee66a56a364fd5fb","impliedNodeFormat":99},"24367c4ec7d778084b3a83bbdc5a23d4","edbf4843929ee5fe6521503f424e4464",{"version":"5e0eecd60ec8ccc15c22c507248ef1aa","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},{"version":"23cbcf6109a45b21e5b22d5f36f59db4","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"851c83981c28a32944597c743f666820","affectsGlobalScope":true,"impliedNodeFormat":1}],"fileIdsList":[[89],[88],[87],[119,120],[92,98,116,117,118,121],[128],[128,129],[96,98,99],[96,98],[96],[91,96,107,108],[91,96,107],[115],[91,97],[91],[93],[91,92,93,94,95],[134,135],[134,135,136,137],[134,136],[134],[102],[102,103,104,105],[104],[100,123,124,126],[100,101,113,126],[91,98,100,101,109,126],[106],[91,100,101,109,122,125],[100,101,106,109,126],[100,123,124,125,126],[100,106,110,111,112,126],[91,96,98,100,101,106,109,110,111,112,113,114,116,122,123,124,125,126,127,130,131,132,133,138],[91,98,100,101,109,110,123,124,125,126,131],[139],[64],[64,65,66,67,68,69,70,71,72],[85],[73,84],[74],[74,75,76,77,78,79,80,81,82,83],[73]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","rewriteRelativeImportExtensions":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo.contract","useDefineForClassFields":true},"referencedMap":[[90,1],[89,2],[88,3],[121,4],[122,5],[129,6],[130,7],[100,8],[99,9],[123,8],[107,10],[109,11],[108,12],[116,13],[98,14],[92,15],[94,16],[96,17],[97,15],[136,18],[138,19],[137,20],[135,21],[103,22],[106,23],[104,22],[105,24],[125,25],[114,26],[110,27],[111,10],[132,28],[126,29],[112,30],[131,31],[113,32],[139,33],[133,34],[140,35],[65,36],[66,36],[73,37],[67,36],[68,36],[69,36],[70,36],[71,36],[72,36],[86,38],[85,39],[75,40],[84,41],[76,40],[78,40],[79,40],[80,40],[83,40],[81,40],[82,40],[74,42]],"latestChangedDtsFile":"./contract.lifecycle-types.d.ts"}
@@ -0,0 +1 @@
1
+ {"version":"7.0.2","root":[[171,175]],"packageJsons":["../../../node_modules/@standard-schema/spec/package.json","../../../node_modules/@testing-library/jest-dom/package.json","../../../node_modules/@types/aria-query/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/expect/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/pretty-format/package.json","../../../node_modules/@vitest/runner/package.json","../../../node_modules/@vitest/snapshot/package.json","../../../node_modules/@vitest/spy/package.json","../../../node_modules/@vitest/utils/package.json","../../../node_modules/@webgpu/types/package.json","../../../node_modules/aria-query/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/tinyrainbow/package.json","../../../node_modules/tsx/package.json","../../../node_modules/vite/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/package.json","../../../node_modules/yaml/package.json","../../accessibility/package.json","../../app/package.json","../../bitmap/package.json","../../compression/package.json","../../connectivity/package.json","../../dialog/package.json","../../entity/package.json","../../filesystem/package.json","../../font/package.json","../../geolocation/package.json","../../geometry/package.json","../../host/package.json","../../image-codec/package.json","../../image/package.json","../../keyboard/package.json","../package.json","../../menu/package.json","../../midi/package.json","../../notification/package.json","../../path/package.json","../../permissions/package.json","../../protocol/package.json","../../resource/package.json","../../screen/package.json","../../share/package.json","../../signals/package.json","../../surface/package.json","../../textsegment/package.json","../../texture-formats/package.json","../../texture/package.json","../../updater/package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/aria-query/package.json","../../../node_modules/@testing-library/jest-dom/node_modules/jest/package.json","../../../node_modules/@testing-library/jest-dom/types/package.json","../../../node_modules/@types/jest/package.json","../../../node_modules/@types/testing-library__jest-dom/package.json","../../../node_modules/@types/vitest/globals/package.json","../../../node_modules/@types/webgpu__types/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/expect/dist/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/@vitest/pretty-format/dist/package.json","../../../node_modules/@vitest/runner/dist/package.json","../../../node_modules/@vitest/runner/utils/package.json","../../../node_modules/@vitest/snapshot/dist/package.json","../../../node_modules/@vitest/spy/dist/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/@vitest/utils/diff/package.json","../../../node_modules/@vitest/utils/display/package.json","../../../node_modules/@vitest/utils/dist/package.json","../../../node_modules/@webgpu/types/dist/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/jest/package.json","../../../node_modules/less/package.json","../../../node_modules/lightningcss/package.json","../../../node_modules/msw/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tinyrainbow/dist/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vitest/globals/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.dom.asynciterable.d.ts","lib.webworker.importscripts.d.ts","lib.scripthost.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es2022.full.d.ts","../../entity/dist/types.d.ts","../../entity/dist/binding.d.ts","../../entity/dist/clone.d.ts","../../entity/dist/enableEntityRuntimeGuards.d.ts","../../entity/dist/entity.d.ts","../../entity/dist/entityUid.d.ts","../../entity/dist/explainEntityRuntimeWrite.d.ts","../../entity/dist/guards.d.ts","../../entity/dist/runtime.d.ts","../../entity/dist/contract.d.ts","../../signals/dist/types.d.ts","../../signals/dist/connection.d.ts","../../signals/dist/emitter.d.ts","../../signals/dist/internal.d.ts","../../signals/dist/safe.d.ts","../../signals/dist/scope.d.ts","../../signals/dist/signal.d.ts","../../signals/dist/slot.d.ts","../../signals/dist/throttle.d.ts","../../signals/dist/signalTypes.d.ts","../../signals/dist/contract.d.ts","./types.d.ts","./contract.lifecycle-types.d.ts","../../host/dist/backendExplanation.d.ts","../../host/dist/backendOperationExplanation.d.ts","../../geometry/dist/types.d.ts","../../geometry/dist/contract.geometry-types.d.ts","../../accessibility/dist/types.d.ts","../../accessibility/dist/contract.accessibility-types.d.ts","../../texture/dist/types.d.ts","../../texture/dist/contract.texture-types.d.ts","../../bitmap/dist/types.d.ts","../../bitmap/dist/contract.bitmap-types.d.ts","../../compression/dist/types.d.ts","../../compression/dist/compress.d.ts","../../compression/dist/deflate.d.ts","../../compression/dist/deflateFormat.d.ts","../../compression/dist/lzma.d.ts","../../compression/dist/lzmaCompress.d.ts","../../compression/dist/contract.d.ts","../../connectivity/dist/types.d.ts","../../connectivity/dist/contract.connectivity-types.d.ts","../../menu/dist/types.d.ts","../../menu/dist/contract.menu-types.d.ts","../../app/dist/types/App.d.ts","../../app/dist/types/AppWindow.d.ts","../../app/dist/types/AppLoop.d.ts","../../app/dist/types/AppLoopOptions.d.ts","../../app/dist/types/HostAppExit.d.ts","../../app/dist/types/HostAppLoop.d.ts","../../app/dist/types/HostFullscreen.d.ts","../../app/dist/types/Host.d.ts","../../app/dist/contract.app-types.d.ts","../../dialog/dist/types.d.ts","../../dialog/dist/dialog.d.ts","../../dialog/dist/fileDialog.d.ts","../../dialog/dist/mediaDialog.d.ts","../../dialog/dist/contract.d.ts","../../filesystem/dist/types.d.ts","../../filesystem/dist/filesystem.d.ts","../../filesystem/dist/contract.d.ts","../../path/dist/path.d.ts","../../path/dist/pathCompat.d.ts","../../path/dist/contract.path-types.d.ts","../../font/dist/types.d.ts","../../font/dist/contract.font-types.d.ts","../../geolocation/dist/types.d.ts","../../geolocation/dist/geolocation.d.ts","../../geolocation/dist/geolocationAccess.d.ts","../../geolocation/dist/contract.d.ts","../../image-codec/dist/types.d.ts","../../image-codec/dist/decodeImage.d.ts","../../image-codec/dist/detectImageMimeType.d.ts","../../image-codec/dist/encodeImage.d.ts","../../image-codec/dist/contract.d.ts","../../resource/dist/resourceResolutionState.d.ts","../../resource/dist/contract.d.ts","../../surface/dist/types.d.ts","../../surface/dist/contract.surface-types.d.ts","../../texture-formats/dist/types.d.ts","../../texture-formats/dist/contract.texture-formats-types.d.ts","../../image/dist/types.d.ts","../../image/dist/contract.image-types.d.ts","../../keyboard/dist/types.d.ts","../../keyboard/dist/contract.keyboard-types.d.ts","../../notification/dist/types.d.ts","../../notification/dist/contract.notification-types.d.ts","../../permissions/dist/types.d.ts","../../permissions/dist/contract.permissions-types.d.ts","../../midi/dist/types.d.ts","../../midi/dist/contract.midi-types.d.ts","../../protocol/dist/types.d.ts","../../protocol/dist/contract.protocol-types.d.ts","../../screen/dist/types.d.ts","../../screen/dist/contract.screen-types.d.ts","../../share/dist/types.d.ts","../../share/dist/share.d.ts","../../share/dist/contract.d.ts","../../textsegment/dist/types.d.ts","../../textsegment/dist/contract.textsegment-types.d.ts","../../updater/dist/types.d.ts","../../updater/dist/contract.updater-types.d.ts","../../host/dist/hostCapabilities.d.ts","../../host/dist/hostExplanation.d.ts","../../host/dist/providerRef.d.ts","../../host/dist/inputIngressSource.d.ts","../../host/dist/contract.host-types.d.ts","../src/lifecycle.ts","../src/contract.ts","../src/index.ts","../src/lifecycle.test.ts","../src/lifecycleHost.test.ts","../../../node_modules/@types/aria-query/index.d.ts","../../../node_modules/@testing-library/jest-dom/types/matchers.d.ts","../../../node_modules/@testing-library/jest-dom/types/jest.d.ts","../../../node_modules/@testing-library/jest-dom/types/index.d.ts","../../../node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/display.d.ts","../../../node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/@vitest/utils/dist/timers.d.ts","../../../node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/@vitest/utils/dist/types.d-BCElaP-c.d.ts","../../../node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/@vitest/runner/dist/tasks.d-DEYaIMIu.d.ts","../../../node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/traces.d.D2T_R8rx.d.ts","../../../node_modules/vite/types/hmrPayload.d.ts","../../../node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts","../../../node_modules/vite/types/customEvent.d.ts","../../../node_modules/vite/types/hot.d.ts","../../../node_modules/vite/dist/node/module-runner.d.ts","../../../node_modules/@vitest/snapshot/dist/environment.d-DOJxxZV9.d.ts","../../../node_modules/@vitest/snapshot/dist/rawSnapshot.d-D_X3-62x.d.ts","../../../node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/config.d.A1h_Y6Jt.d.ts","../../../node_modules/vitest/dist/chunks/environment.d.CrsxCzP1.d.ts","../../../node_modules/vitest/dist/chunks/rpc.d.B_8sPU0w.d.ts","../../../node_modules/vitest/dist/chunks/worker.d.ZpHpO4yb.d.ts","../../../node_modules/vitest/dist/chunks/browser.d.BcoexmFG.d.ts","../../../node_modules/@vitest/spy/optional-types.d.ts","../../../node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/tinyrainbow/dist/index.d.ts","../../../node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/@types/deep-eql/index.d.ts","../../../node_modules/assertion-error/index.d.ts","../../../node_modules/@types/chai/index.d.ts","../../../node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/tinybench/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/benchmark.d.DAaHLpsq.d.ts","../../../node_modules/vitest/dist/chunks/global.d.DVsSRdQ5.d.ts","../../../node_modules/vitest/optional-runtime-types.d.ts","../../../node_modules/@vitest/mocker/dist/types.d-BjI5eAwu.d.ts","../../../node_modules/@vitest/mocker/dist/index.d-B41z0AuW.d.ts","../../../node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/vitest/dist/chunks/suite.d.udJtyAgw.d.ts","../../../node_modules/vitest/dist/chunks/evaluatedModules.d.BxJ5omdx.d.ts","../../../node_modules/vitest/dist/runners.d.ts","../../../node_modules/expect-type/dist/utils.d.ts","../../../node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/expect-type/dist/branding.d.ts","../../../node_modules/expect-type/dist/messages.d.ts","../../../node_modules/expect-type/dist/index.d.ts","../../../node_modules/vitest/dist/index.d.ts","../../../node_modules/vitest/globals.d.ts","../../../node_modules/@webgpu/types/dist/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},"abad6dd56cc8caf095c165df8124d237","abad6dd56cc8caf095c165df8124d237",{"version":"2a9941db0809c9ad0e8837ed629b1dcc","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d051b93324f36bcc68d152a5ca0988cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"0eb5b8b97bde45c8fde5cd07c33f6631","22772bc49abb63e5c9ba66ac5fb78a3d","daf7ba9e176366b3caf843bd266d163a","1cd6ad8dcb5625d764e0d55a82295469","76aca40ee07d543a14c24ba839109332","6f54f49ea7e96bdd7a9078f6c94e88fd","e9fd0536114fa9a746eacd5bc23969e5","add935c05420698ee2f670e9c7605d49","8202b77f954e4d5a21783859414fcc7c","524a08ff038d375ae8c86bf6481e17d2","9ff787c1324b2d4c07a342936293f47a","921f8c08344aa1539405420fcf952a20","21a1b4607cb18ab00b1254cb35a77c57","d80705d2e260aba56aa54c416f471fbd","a821537667385a2906566c8bc69a21ed","387cee0627331c24f641f87fc905bff1","859418c3a3f1b2e9500476d829fc6093","32e33ec68ba1aa1147aab680de3b7c90","67c59d76f923f64e85a373fb5a2bbb13","5676a2feb7e6b36f973571c4a4500566","dd2bc19aa76d59fe40aa6c6fb9a33365","7ef4fc8b5166fc742b557034c24ec46b","6351fc7d38ccd851045ef5b66798386f","86993dce7ca1ae4aa9a01e307cbfb6f5","cc97afb0b52f3e617e91964336e74c82","320be3ae9a0215b17b991276501a119e","80b0c9bbf376ed1b113072527632e26e","a4ee1cdad7cd96b44a7089562cef2d6f","4eb5ef6232a98159dc013de2001b5a52","0d3c3ce54ce6f9f758369992b543b2e2","455524b2b2414758ec49dc02316eef40","9fec423b81bb7413d87b0c3d00a46b27","3db83131956e2536c673bf65979ae566","29edd5065e81ccf164a64f056564acc3","19f0a6be1602677e8f46fbe10c285526","aee87c8f343d09f410b72de9d7d9b672","377b96b230ff671a043438d02f72f30f","2fff90b5ebe519b2c9fae0188aafafdb","7822f01bbb0df14899310769caca100f","3a392e5fc96e3812d3ad155f801d7b37","2fac5c418576f8edd538d7b5e4bc9f19","fc9f13093dae07bce0729be1ad8b035f","e2d18513c814fe9fb8812243a1b87b9d","f5e26d78b1b772156b3e8949fc39a19d","422a57575128dae8eae1d40a703217a8","59568097a4f40b06e4f21a98859b4841","854d9a4169ebeaed2551075c541b546d","5483bbafa634b2a706cedfa0440048cc","62cfe75057cf220573f90957a2550df4","5723933c75577a983fe43efcd4181695","94af0dd094db9ff76195403339d8562b","35b742c7a57429ed631d2cd751246205","04f42cad4de1869e924b73908bb664c5","11a2f83a6ed65542d1ebe4e354a019c3","58ebaa6b5ab069526d52915696ea7932","c1712aab452bd54b9a7eac5d0e848157","92bb42ee724d07141f47738670209781","21caa6109660646aa280964c4570a072","f43fd4c6111ddd4e45a9d0cbc2bb4acb","3fbf0db9a0760dcac8426e0e7b17292c","9ee833258f3539bd2512ff7ffa5d2557","949b5381d6e921a2e33efc25e0e5f5cc","3704b193249f3c65879149dbd28eeab4","6f5dfe9f0c52d74a2a09535b96a36c6e","87e0e1408f1c61e956e140ef8a3fe417","159a106fc9eccd6c6a86cb10b0cd78b4","ac4d61d696a89bf6807b643594e36e00","e081db08ce16695e8eec1d1562302d6b","a8244e65b6d5ffe3e745e9048ef58bb0","68a5ec66f6c246c622516daa8d3c3aa7","5422373ed32e3720c99093ada817da83","96fa95e75c62b00ef4fe3e834d63ce71","1bfc291d6d9d36c2dc89872c16ea9f11","57d276c0d9a4c9e00c33e5ee6731a487","2fc9e840a6c510223bd894a3089da3c2","1018e93cd2d51489a03f11c947f1e32f","ed201fae78f95b520457750fd5197905","7b3471dfd17f2e9b6d502674c32a7180","4334ffe12a87378bf8ca159ececbfd5c","c32867a5672eabcaf128cd9eb633ed1b","9c553e4a122bdb21b9441e11a75881a5","5e91f24aa7d5084ee8efdf984517d99c","c6d223df2c5c7a7af0c54bcf5d80249c","4b7bfdfabeb9bad4610465b22722511f","fedf9ab104a48ec547e2b5176373e0b8","3fbe0256f0d8cab8d4b21eaba9908028","e473212fdae31481e93d3e5cb51e8614","2e0a695d18e7d8367a64c917eff7f815","94f77d6a6b060e953335d2aa3fb2220a","0c999ae13189ae8bee9d9629433c6e3b","1e2466af6182be2013034a916f4c95f7","b85784c9a2b49853f561ada8e945ff37","3d66a0b88212e863b0515053da82efde","82ebb6a43fa8ddc015f64671323066b4","3b10475c8a6da0711a75b428ceae43c9","847d343b4fba3f86234de2b670e54dea","7bb19856477367cd24e0896c1812f921","650c189c6347b57245b40f54c9ebdd2a","8c439c4e929565d1c43c22ca39834a68","bd282c363b3193d2f9eca72f18a31ff0","4c60ecd4109f1420e1ffa3c2d04c2099","6f9f4b793a6d2a34b9578aa9243c2bae","54487cbf371f589b8835082ae7e09dab","1e026e14cfd1fd12c9084f8e72011704","43720cb870a133ea7b37e70b09aaff82","c6a9ead21b6b363cfb2a22227a78840d","785167fb3468dded2d5b27d69210b7a7","21d97522dd414fa1512a4a3a13c4c198",{"version":"6d97fd4213e648a44adb57e20645b2fa","signature":"bdb5b678876d5c5e0590602bbac8d7e1","impliedNodeFormat":1},"992b8b66abb5cbfeac7ee4fe1a32d37c",{"version":"dff968e505d7135bc19e263ea63575e5","signature":"2aef4c416d02e02e7ff0c6f19c739d51","impliedNodeFormat":1},{"version":"25686d2618e671683e2097045dc2342a","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},{"version":"3ea56a69d0646a2af886c1ea27004966","signature":"abe7d9981d6018efb6b2b794f40a1607","impliedNodeFormat":1},"56d080dfccb3c53a2d6c74c4f24252e3","75ebd62d9641cc8b34ba9b09be8283a9",{"version":"753f71e16f2994f332390bb1c997b0e3","affectsGlobalScope":true,"impliedNodeFormat":1},"8def0ea0e249f49397d74a4f5bdd45a5",{"version":"ed63d99e1e5c371dc120bef1b84057fc","impliedNodeFormat":99},{"version":"4d3fb552bfc7fb53c9195b2fafb512c0","impliedNodeFormat":99},{"version":"fbf7ba69043f86dc506ba28263e2e783","impliedNodeFormat":99},{"version":"a611eb6935df7737a77b34b01c631a4a","impliedNodeFormat":99},{"version":"6d08f6f1d0ee294c119d0e66f826331a","impliedNodeFormat":99},{"version":"d0abb8fa314728650d85450ff59db909","impliedNodeFormat":99},{"version":"abe007be89c2ad52c4d67fc2b0f6da6b","impliedNodeFormat":99},{"version":"ae1fe3925f3a2c8dfbb269ac2a50f5a6","impliedNodeFormat":99},{"version":"ee8ce731ff781ae7011350481a1af176","impliedNodeFormat":99},{"version":"08dcd98985ae16732a9be03d2b56aea6","impliedNodeFormat":99},{"version":"47f7401876f3c0a5b80bd01fbdfaed2b","impliedNodeFormat":99},"ab8e1ea59f16bc290a0451d09dc5a52e",{"version":"e9d43fb880595ac4ee66a56a364fd5fb","impliedNodeFormat":99},"24367c4ec7d778084b3a83bbdc5a23d4","edbf4843929ee5fe6521503f424e4464",{"version":"5e0eecd60ec8ccc15c22c507248ef1aa","impliedNodeFormat":99},{"version":"0221e2868d1f0d6df8321d945764aadb","impliedNodeFormat":99},{"version":"d2f6ad6f161f0a522886f64842c96a0e","impliedNodeFormat":99},{"version":"618ace1500cc84e42bc2e47c64f8c407","impliedNodeFormat":99},{"version":"9dd3c481cc870c4bf19e59d34f030a27","impliedNodeFormat":99},{"version":"b5c81396e966d59acab5a45f66b70866","impliedNodeFormat":99},{"version":"f94aa434ddb9e71f6e80395de85f6850","impliedNodeFormat":99},{"version":"3486e8f7f01b9874a793ddd451eb62a5","impliedNodeFormat":99},{"version":"cb0e7222aae349c2fb4f89b26efa81bd","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"0d7bbad7f82c886c5f36730065aec119","impliedNodeFormat":99},{"version":"369460c2755240ac2d3d006f09adb5ca","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},"548472bfd4ebe2f1c8f494b960a27836",{"version":"fa98b0905a86da0a95fa8fd3e974e038","impliedNodeFormat":99},{"version":"5ede871fecbb2b6f672a99d3c3c6bee7","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"2c51637edf65b89d39356deff680ed36","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"0bf0efdacfd4bfadb631a4376097e382","impliedNodeFormat":99},{"version":"bd01f3bcdc72c9256e5cd5093d132df3","impliedNodeFormat":99},{"version":"b01bdc9acbaf3eb24eef464959e8e627","impliedNodeFormat":99},{"version":"2a75a1a065e5d0439fa1514d9c89b0eb","impliedNodeFormat":99},{"version":"b9129d694ae6cf810850117dda49d045","impliedNodeFormat":99},{"version":"c01d22bc96b89eedc0ed1f11d8c270ab","impliedNodeFormat":99},{"version":"c15bc5b81c64386efb6f85fb596c4349","impliedNodeFormat":99},{"version":"5794a694c1f75a9cc38cb5e9c757224e","impliedNodeFormat":99},{"version":"4040d5640775a803b2ca1aa914f7a1d4","impliedNodeFormat":99},{"version":"5ed96746ee2e7eb084ad54f0e0e518bc","impliedNodeFormat":99},{"version":"eba7786b00a4e551c36bafa71bfb1876","impliedNodeFormat":99},"8d8a98bf45979ce5401d9ca4027940cd","7d98e95d38525423bbe0f05e0a508a41","96920299d013de56061cbc74a1d658b2","439adabdf29be1212ec7acc292679f21","3eb46d20ed056dcbfa5e75bad9014661",{"version":"b46aa1886055db890de9be52a97b301e","impliedNodeFormat":99},{"version":"23cbcf6109a45b21e5b22d5f36f59db4","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"851c83981c28a32944597c743f666820","affectsGlobalScope":true,"impliedNodeFormat":1}],"fileIdsList":[[178],[177],[176],[208,209],[181,187,205,206,207,210],[217],[217,218],[185,187,188],[185,187],[185],[180,185,196,197],[180,185,196],[204],[180,186],[180],[182],[180,181,182,183,184],[223,224],[223,224,225,226],[223,225],[223],[191],[191,192,193,194],[193],[189,212,213,215],[189,190,202,215],[180,187,189,190,198,215],[195],[180,189,190,198,211,214],[189,190,195,198,215],[189,212,213,214,215],[189,195,199,200,201,215],[180,185,187,189,190,195,198,199,200,201,202,203,205,211,212,213,214,215,216,219,220,221,222,227],[180,187,189,190,198,199,212,213,214,215,220],[228],[91],[90],[108,109,110,111,112,113,114,115],[73,84,107],[73,84,109],[73,84],[108,109,112,113,114],[73],[95],[73,94],[97],[97,98,99,100,101,102],[104],[117,118,119,120],[117],[73,117],[73,116],[64],[64,65,66,67,68,69,70,71,72],[122,123],[121,122],[128],[73,127],[130,131,132],[73,130],[130],[89],[87,88,166,167,168,169],[92,96,103,105,121,124,129,133,146,148,150,152,154,156,158,161,163,165],[168],[134,135,136,137],[134],[145],[73,94,96,138,140,142,144],[147],[85],[86,171],[171,172],[73,84,86,171],[73,84,86,170],[106],[153],[73,84,152],[149],[125,126],[125],[151],[150],[155],[139],[157],[159,160],[73,159],[74],[74,75,76,77,78,79,80,81,82,83],[141],[162],[143],[93],[73,90],[164]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","rewriteRelativeImportExtensions":true,"rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo.runtime","useDefineForClassFields":true},"referencedMap":[[179,1],[178,2],[177,3],[210,4],[211,5],[218,6],[219,7],[189,8],[188,9],[212,8],[196,10],[198,11],[197,12],[205,13],[187,14],[181,15],[183,16],[185,17],[186,15],[225,18],[227,19],[226,20],[224,21],[192,22],[195,23],[193,22],[194,24],[214,25],[203,26],[199,27],[200,10],[221,28],[215,29],[201,30],[220,31],[202,32],[228,33],[222,34],[229,35],[92,36],[91,37],[116,38],[108,39],[110,40],[109,41],[115,42],[114,43],[96,44],[95,45],[98,46],[103,47],[99,46],[101,46],[102,46],[105,48],[104,41],[121,49],[118,50],[119,51],[120,50],[117,52],[65,53],[66,53],[73,54],[67,53],[68,53],[69,53],[70,53],[71,53],[72,53],[124,55],[123,56],[129,57],[128,58],[133,59],[131,60],[132,61],[130,43],[90,62],[89,43],[170,63],[166,64],[169,65],[138,66],[135,67],[137,67],[146,68],[145,69],[148,70],[147,41],[86,71],[85,41],[172,72],[173,73],[174,74],[171,75],[175,72],[107,76],[106,41],[154,77],[153,78],[150,79],[149,41],[127,80],[125,43],[126,81],[152,82],[151,83],[156,84],[155,41],[140,85],[158,86],[157,41],[161,87],[160,88],[159,41],[75,89],[84,90],[76,89],[78,89],[79,89],[80,89],[83,89],[81,89],[82,89],[74,43],[142,91],[141,52],[163,92],[144,93],[94,94],[93,95],[165,96],[164,43]],"latestChangedDtsFile":"./lifecycleHost.test.d.ts"}
@@ -1,3 +1,3 @@
1
- export * from './lifecycle';
2
- export { initializeAppLifecycle, initializeWebLifecycleBackend } from './lifecycle';
1
+ export type * from './contract.lifecycle-types.ts';
2
+ export * from './lifecycle.ts';
3
3
  //# sourceMappingURL=contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,mBAAmB,+BAA+B,CAAC;AACnD,cAAc,gBAAgB,CAAC"}
package/dist/contract.js CHANGED
@@ -1,3 +1,2 @@
1
- export * from './lifecycle';
2
- export { initializeAppLifecycle, initializeWebLifecycleBackend } from './lifecycle';
1
+ export * from './lifecycle.js';
3
2
  //# sourceMappingURL=contract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"contract.js","sourceRoot":"","sources":["../src/contract.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { AppLaunchKind, AppLifecycle, AppLifecycleState, AppMemoryPressure, HostLifecycleCapabilities, HostLifecycleCapability, LifecycleOperation, } from './types.ts';
2
+ //# sourceMappingURL=contract.lifecycle-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.lifecycle-types.d.ts","sourceRoot":"","sources":["../src/contract.lifecycle-types.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contract.lifecycle-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract.lifecycle-types.js","sourceRoot":"","sources":["../src/contract.lifecycle-types.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- export { attachAppLifecycle, createAppLifecycle, detachAppLifecycle, disposeAppLifecycle, getAppLaunchKind, getAppLifecycleState, isAppActive, isAppBackground, isAppInactive, requestAppBack, } from './contract';
1
+ export { attachAppLifecycle, createAppLifecycle, detachAppLifecycle, disposeAppLifecycle, explainLifecycleOperation, getAppLaunchKind, getAppLifecycleState, hasLifecycleOperation, isAppActive, isAppBackground, isAppInactive, requestAppBack, } from './lifecycle.ts';
2
+ export type { AppLaunchKind, AppLifecycle, AppLifecycleState, AppMemoryPressure, HostLifecycleCapabilities, HostLifecycleCapability, LifecycleOperation, } from './contract.ts';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,aAAa,EACb,cAAc,GACf,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,aAAa,EACb,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { attachAppLifecycle, createAppLifecycle, detachAppLifecycle, disposeAppLifecycle, getAppLaunchKind, getAppLifecycleState, isAppActive, isAppBackground, isAppInactive, requestAppBack, } from './contract';
1
+ export { attachAppLifecycle, createAppLifecycle, detachAppLifecycle, disposeAppLifecycle, explainLifecycleOperation, getAppLaunchKind, getAppLifecycleState, hasLifecycleOperation, isAppActive, isAppBackground, isAppInactive, requestAppBack, } from './lifecycle.js';
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,aAAa,EACb,cAAc,GACf,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,aAAa,EACb,cAAc,GACf,MAAM,gBAAgB,CAAC"}
@@ -1,18 +1,17 @@
1
- import type { BackendOperationExplanation, LifecycleOperation, EntityConstruction } from '@flighthq/types/contract';
2
- import type { AppLaunchKind, HasSystemLifecycle, AppLifecycle, AppLifecycleState, LifecycleBackend } from '@flighthq/types/contract';
3
- export declare function attachAppLifecycle(host: HasSystemLifecycle, app: AppLifecycle): void;
1
+ import type { EntityConstruction } from '@flighthq/entity/contract';
2
+ import type { BackendOperationExplanation } from '@flighthq/host/contract';
3
+ import type { AppLaunchKind, AppLifecycle, AppLifecycleState, HostLifecycleCapability, LifecycleOperation } from './contract.lifecycle-types.ts';
4
+ export declare function attachAppLifecycle(hostLifecycle: Readonly<HostLifecycleCapability>, app: AppLifecycle): void;
4
5
  export declare function createAppLifecycle(): AppLifecycle;
5
- export declare function createWebLifecycleBackend(): LifecycleBackend;
6
6
  export declare function detachAppLifecycle(app: AppLifecycle): void;
7
7
  export declare function disposeAppLifecycle(app: AppLifecycle): void;
8
- export declare function explainLifecycleOperation(host: HasSystemLifecycle, operation: LifecycleOperation): BackendOperationExplanation;
9
- export declare function getAppLaunchKind(host: HasSystemLifecycle): AppLaunchKind;
10
- export declare function getAppLifecycleState(host: HasSystemLifecycle): AppLifecycleState;
11
- export declare function hasLifecycleOperation(host: HasSystemLifecycle, operation: LifecycleOperation): boolean;
8
+ export declare function explainLifecycleOperation(hostLifecycle: Readonly<HostLifecycleCapability>, operation: LifecycleOperation): BackendOperationExplanation;
9
+ export declare function getAppLaunchKind(hostLifecycle: Readonly<HostLifecycleCapability>): AppLaunchKind;
10
+ export declare function getAppLifecycleState(hostLifecycle: Readonly<HostLifecycleCapability>): AppLifecycleState;
11
+ export declare function hasLifecycleOperation(hostLifecycle: Readonly<HostLifecycleCapability>, operation: LifecycleOperation): boolean;
12
12
  export declare function initializeAppLifecycle(out: EntityConstruction<AppLifecycle>): void;
13
- export declare function initializeWebLifecycleBackend(out: EntityConstruction<LifecycleBackend>): void;
14
- export declare function isAppActive(host: HasSystemLifecycle): boolean;
15
- export declare function isAppBackground(host: HasSystemLifecycle): boolean;
16
- export declare function isAppInactive(host: HasSystemLifecycle): boolean;
13
+ export declare function isAppActive(hostLifecycle: Readonly<HostLifecycleCapability>): boolean;
14
+ export declare function isAppBackground(hostLifecycle: Readonly<HostLifecycleCapability>): boolean;
15
+ export declare function isAppInactive(hostLifecycle: Readonly<HostLifecycleCapability>): boolean;
17
16
  export declare function requestAppBack(app: AppLifecycle): boolean;
18
17
  //# sourceMappingURL=lifecycle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../src/lifecycle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACpH,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EAEjB,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAYlC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,kBAAkB,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAqCpF;AAED,wBAAgB,kBAAkB,IAAI,YAAY,CAIjD;AAED,wBAAgB,yBAAyB,IAAI,gBAAgB,CAI5D;AAGD,wBAAgB,kBA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,QAAQ,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,YAAY,GAAG,IAAI,CAqC5G;AAED,wBAAgB,kBAAkB,IAAI,YAAY,CAIjD;AAGD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,CAM1D;AAID,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,YAAY,GAAG,IAAI,CAG3D;AAID,wBAAgB,yBAAyB,CACvC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,EAChD,SAAS,EAAE,kBAAkB,GAC5B,2BAA2B,CAG7B;AAMD,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,aAAa,CAGhG;AAGD,wBAAgB,oBAAoB,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,iBAAiB,CAExG;AAGD,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,EAChD,SAAS,EAAE,kBAAkB,GAC5B,OAAO,CAET;AAGD,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,kBAAkB,CAAC,YAAY,CAAC,GAAG,IAAI,CAQlF;AAGD,wBAAgB,WAAW,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,OAAO,CAErF;AAGD,wBAAgB,eAAe,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,OAAO,CAEzF;AAID,wBAAgB,aAAa,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,OAAO,CAEvF;AAOD,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO,CAGzD"}
package/dist/lifecycle.js CHANGED
@@ -1,24 +1,24 @@
1
- import { allocateEntity, finishEntity } from '@flighthq/entity/contract';
1
+ import { allocateEntity } from '@flighthq/entity/contract';
2
2
  import { createSignal, emitSignal } from '@flighthq/signals/contract';
3
- // Begins delivering lifecycle changes to `app`'s signals by subscribing to the active backend. On
3
+ // Begins delivering lifecycle changes to `app`'s signals by subscribing to the supplied provider. On
4
4
  // each change it reads the current state and emits onStateChange plus onResume when transitioning
5
- // to 'active' and onPause when leaving 'active'. The web backend drives onBackButton only in
6
- // environments that support it; native hosts emit it through their own backend. Idempotent: a prior
5
+ // to 'active' and onPause when leaving 'active'. The Web provider drives onBackButton only in
6
+ // environments that support it; native hosts emit it through their own provider. Idempotent: a prior
7
7
  // subscription is torn down first. Pair with detachAppLifecycle/disposeAppLifecycle.
8
8
  //
9
- // onStateChange is "raw, not deduped" — it fires on every backend notification regardless of
9
+ // onStateChange is "raw, not deduped" — it fires on every provider notification regardless of
10
10
  // whether the derived state changed. onResume/onPause are deduped edges: 'active'→non-'active'
11
11
  // fires onPause (including the interruption edge 'active'→'inactive'); non-'active'→'active' fires
12
12
  // onResume. The 'inactive'→'background' and reverse transitions do not fire onPause/onResume again.
13
- export function attachAppLifecycle(host, app) {
13
+ export function attachAppLifecycle(hostLifecycle, app) {
14
14
  detachAppLifecycle(app);
15
- const backend = host.system.lifecycle;
15
+ const backend = hostLifecycle;
16
16
  let previous = backend.getState();
17
17
  const unsubscribeState = backend.subscribe(() => {
18
18
  const state = backend.getState();
19
19
  emitSignal(app.onStateChange, state);
20
20
  if (state === 'active' && previous !== 'active') {
21
- emitSignal(app.onResume);
21
+ emitSignal(app.onResume, undefined);
22
22
  // Warm resume: restore saved state.
23
23
  const saved = _savedState.get(app);
24
24
  if (saved !== undefined) {
@@ -26,7 +26,7 @@ export function attachAppLifecycle(host, app) {
26
26
  }
27
27
  }
28
28
  else if (state !== 'active' && previous === 'active') {
29
- emitSignal(app.onPause);
29
+ emitSignal(app.onPause, undefined);
30
30
  // Collect transient UI state for potential restore on next resume.
31
31
  const stateBag = {};
32
32
  emitSignal(app.onSaveState, stateBag);
@@ -49,12 +49,7 @@ export function attachAppLifecycle(host, app) {
49
49
  export function createAppLifecycle() {
50
50
  const out = allocateEntity();
51
51
  initializeAppLifecycle(out);
52
- return finishEntity(out);
53
- }
54
- export function createWebLifecycleBackend() {
55
- const out = allocateEntity();
56
- initializeWebLifecycleBackend(out);
57
- return finishEntity(out);
52
+ return out;
58
53
  }
59
54
  // Stops delivery to `app` and forgets its subscription. Safe to call when not attached.
60
55
  export function detachAppLifecycle(app) {
@@ -64,37 +59,33 @@ export function detachAppLifecycle(app) {
64
59
  _subscriptions.delete(app);
65
60
  }
66
61
  }
67
- // Releases `app` for garbage collection by detaching its backend subscription. The signals remain
62
+ // Releases `app` for garbage collection by detaching its provider subscription. The signals remain
68
63
  // plain GC-managed memory afterward.
69
64
  export function disposeAppLifecycle(app) {
70
65
  detachAppLifecycle(app);
71
66
  _savedState.delete(app);
72
67
  }
73
- // Which layer implements `operation`, and whether anything real does — the per-operation answer
74
- // `explainLifecycleBackend` cannot give: that one reports a backend is installed, this one reports whether
75
- // THIS operation on it is a genuine implementation or the sentinel standing in.
76
- //
77
- // ★ The sentinel is deliberately not consulted. It answers every operation, so counting it would make
78
- // this report `true` for everything and say nothing at all.
79
- export function explainLifecycleOperation(host, operation) {
80
- const implemented = typeof host.system.lifecycle[operation] === 'function';
68
+ // Reports whether the supplied provider implements `operation`. Optional methods that the provider
69
+ // omits are reported as the sentinel layer so callers can distinguish absence from a real operation.
70
+ export function explainLifecycleOperation(hostLifecycle, operation) {
71
+ const implemented = typeof hostLifecycle[operation] === 'function';
81
72
  return { implemented, layer: implemented ? 'host' : 'sentinel', operation };
82
73
  }
83
74
  // Returns the kind of launch — 'cold' (fresh process) or 'warm' (resumed from background). The web
84
- // backend approximates this via PerformanceNavigationTiming.type ('back_forward' → 'warm', all
85
- // others → 'cold'). Returns 'warm' as a safe fallback when the backend does not implement
86
- // getLaunchKind (legacy or minimal backends that pre-date the optional method).
87
- export function getAppLaunchKind(host) {
88
- const backend = host.system.lifecycle;
75
+ // provider approximates this via PerformanceNavigationTiming.type ('back_forward' → 'warm', all
76
+ // others → 'cold'). Returns 'warm' as a safe fallback when the provider does not implement
77
+ // getLaunchKind (legacy or minimal providers that pre-date the optional method).
78
+ export function getAppLaunchKind(hostLifecycle) {
79
+ const backend = hostLifecycle;
89
80
  return backend.getLaunchKind !== undefined ? backend.getLaunchKind() : 'warm';
90
81
  }
91
- // Returns the current application lifecycle state from the active backend.
92
- export function getAppLifecycleState(host) {
93
- return host.system.lifecycle.getState();
82
+ // Returns the current application lifecycle state from the supplied provider.
83
+ export function getAppLifecycleState(hostLifecycle) {
84
+ return hostLifecycle.getState();
94
85
  }
95
- // Whether a real backend implements `operation`, as opposed to the sentinel answering for it.
96
- export function hasLifecycleOperation(host, operation) {
97
- return explainLifecycleOperation(host, operation).implemented;
86
+ // Whether the supplied provider implements `operation`.
87
+ export function hasLifecycleOperation(hostLifecycle, operation) {
88
+ return explainLifecycleOperation(hostLifecycle, operation).implemented;
98
89
  }
99
90
  // Allocates an AppLifecycle event entity with inert signals; call attachAppLifecycle to start delivery.
100
91
  export function initializeAppLifecycle(out) {
@@ -106,126 +97,26 @@ export function initializeAppLifecycle(out) {
106
97
  out.onSaveState = createSignal();
107
98
  out.onRestoreState = createSignal();
108
99
  }
109
- // Builds the default web backend over document visibility, window focus/blur, and pagehide/pageshow
110
- // events. Produces three states:
111
- // 'active' — document visible and window focused
112
- // 'inactive' — document visible but window not focused (app switcher, control-center, other window)
113
- // 'background' — document.hidden (tab hidden or page unloading)
114
- // Degrades to state 'active' and a no-op subscription where document/window are absent (SSR/jsdom).
115
- //
116
- // getLaunchKind() approximates cold vs. warm using PerformanceNavigationTiming.type:
117
- // 'back_forward' → 'warm' — page was restored from the bfcache (JS heap was frozen and thawed;
118
- // the closest web equivalent of a process warm-resume)
119
- // all others → 'cold' — 'navigate', 'reload', 'prerender' are each a fresh page lifecycle
120
- // Falls back to 'cold' when the Performance Navigation Timing API is unavailable (SSR/jsdom).
121
- //
122
- // subscribeMemoryWarning() wires the experimental 'memory-pressure' window event (Chrome origin
123
- // trial / behind flags). The event detail carries a 'critical' pressure string; this backend maps
124
- // it to 'critical' and fires 'normal' on the subsequent resolution event when present. Falls back to
125
- // no-op unsubscribe when the event is not supported (no standard API is widely deployed as of 2026).
126
- export function initializeWebLifecycleBackend(out) {
127
- let _windowFocused = typeof document !== 'undefined';
128
- out.getState = () => {
129
- if (typeof document === 'undefined')
130
- return 'active';
131
- if (document.hidden)
132
- return 'background';
133
- return _windowFocused ? 'active' : 'inactive';
134
- };
135
- out.subscribe = (listener) => {
136
- if (typeof document === 'undefined' || typeof window === 'undefined')
137
- return () => { };
138
- // Initialize focus state at subscribe time.
139
- _windowFocused = document.hasFocus();
140
- const onFocus = () => {
141
- _windowFocused = true;
142
- listener();
143
- };
144
- const onBlur = () => {
145
- _windowFocused = false;
146
- listener();
147
- };
148
- document.addEventListener('visibilitychange', listener);
149
- window.addEventListener('pagehide', listener);
150
- window.addEventListener('pageshow', listener);
151
- window.addEventListener('focus', onFocus);
152
- window.addEventListener('blur', onBlur);
153
- return () => {
154
- document.removeEventListener('visibilitychange', listener);
155
- window.removeEventListener('pagehide', listener);
156
- window.removeEventListener('pageshow', listener);
157
- window.removeEventListener('focus', onFocus);
158
- window.removeEventListener('blur', onBlur);
159
- };
160
- };
161
- out.getLaunchKind = () => {
162
- // PerformanceNavigationTiming.type === 'back_forward' indicates the page was restored from the
163
- // browser's back/forward cache (bfcache). The JS heap was frozen and thawed without a fresh
164
- // process start — the closest analog to a mobile warm-resume. All other navigation types
165
- // ('navigate', 'reload', 'prerender') are a fresh page lifecycle, i.e. cold.
166
- if (typeof performance === 'undefined')
167
- return 'cold';
168
- const entries = performance.getEntriesByType('navigation');
169
- if (entries.length > 0 && entries[0].type === 'back_forward')
170
- return 'warm';
171
- return 'cold';
172
- };
173
- out.subscribeMemoryWarning = (listener) => {
174
- // The 'memory-pressure' window event is an experimental Chrome API (origin trial / behind
175
- // flags as of 2026). The event carries a detail object with a 'pressure' string. This backend
176
- // maps 'critical' pressure to AppMemoryPressure 'critical'; a pressure-resolved / 'moderate'
177
- // event maps to 'moderate'. Falls back to no-op unsubscribe when the event is not supported
178
- // (no cross-browser API for memory pressure is widely deployed yet).
179
- if (typeof window === 'undefined')
180
- return () => { };
181
- // Feature-detect: attempt to register and immediately remove a passive listener to check
182
- // whether the event is supported. If addEventListener silently ignores the event type there
183
- // is nothing we can do — we just return no-op without pretending to be subscribed.
184
- const onPressure = (e) => {
185
- const detail = e.detail;
186
- const pressure = detail?.pressure;
187
- if (pressure === 'critical') {
188
- listener('critical');
189
- }
190
- else if (pressure === 'moderate') {
191
- listener('moderate');
192
- }
193
- else {
194
- // Unknown pressure level — treat as moderate rather than silently dropping.
195
- listener('moderate');
196
- }
197
- };
198
- const onPressureRelieved = () => {
199
- listener('normal');
200
- };
201
- window.addEventListener('memory-pressure', onPressure);
202
- window.addEventListener('memory-pressure-relieved', onPressureRelieved);
203
- return () => {
204
- window.removeEventListener('memory-pressure', onPressure);
205
- window.removeEventListener('memory-pressure-relieved', onPressureRelieved);
206
- };
207
- };
208
- }
209
100
  // Returns true when the application is in the 'active' state (visible and focused).
210
- export function isAppActive(host) {
211
- return host.system.lifecycle.getState() === 'active';
101
+ export function isAppActive(hostLifecycle) {
102
+ return hostLifecycle.getState() === 'active';
212
103
  }
213
104
  // Returns true when the application is in the 'background' state (hidden/suspended).
214
- export function isAppBackground(host) {
215
- return host.system.lifecycle.getState() === 'background';
105
+ export function isAppBackground(hostLifecycle) {
106
+ return hostLifecycle.getState() === 'background';
216
107
  }
217
108
  // Returns true when the application is in the 'inactive' state (visible but not focused —
218
109
  // e.g. app switcher, control-center overlay, incoming call).
219
- export function isAppInactive(host) {
220
- return host.system.lifecycle.getState() === 'inactive';
110
+ export function isAppInactive(hostLifecycle) {
111
+ return hostLifecycle.getState() === 'inactive';
221
112
  }
222
113
  // Emits app.onBackButton and returns whether the back action may proceed. Returns false when a
223
114
  // listener vetoed by calling cancelSignal(app.onBackButton), meaning the listener handled
224
115
  // navigation itself. Returns true when no listener consumed the event and the host should perform
225
116
  // the default back action (navigate up or exit). Mirrors the onCloseRequest/requestCloseWindow
226
- // veto contract from @flighthq/application.
117
+ // veto contract from @flighthq/app.
227
118
  export function requestAppBack(app) {
228
- emitSignal(app.onBackButton);
119
+ emitSignal(app.onBackButton, undefined);
229
120
  return app.onBackButton.data?.cancelled !== true;
230
121
  }
231
122
  const _savedState = new WeakMap();
@@ -1 +1 @@
1
- {"version":3,"file":"lifecycle.js","sourceRoot":"","sources":["../src/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAWtE,kGAAkG;AAClG,kGAAkG;AAClG,6FAA6F;AAC7F,oGAAoG;AACpG,qFAAqF;AACrF,EAAE;AACF,6FAA6F;AAC7F,+FAA+F;AAC/F,mGAAmG;AACnG,oGAAoG;AACpG,MAAM,UAAU,kBAAkB,CAAC,IAAwB,EAAE,GAAiB;IAC5E,kBAAkB,CAAC,GAAG,CAAC,CAAC;IACxB,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC;IACtC,IAAI,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAElC,MAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE;QAC9C,MAAM,KAAK,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;QACjC,UAAU,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QACrC,IAAI,KAAK,KAAK,QAAQ,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAChD,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACzB,oCAAoC;YACpC,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACnC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACxB,UAAU,CAAC,GAAG,CAAC,cAA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/F,oCAAoC;AACpC,MAAM,UAAU,cAAc,CAAC,GAAiB;IAC9C,UAAU,CAAC,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IACxC,OAAO,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;AACnD,CAAC;AAED,MAAM,WAAW,GAAG,IAAI,OAAO,EAAyC,CAAC;AACzE,MAAM,cAAc,GAAG,IAAI,OAAO,EAA4B,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { EntityRaw, EntityRuntime, EntityRuntimeKey } from '@flighthq/entity/contract';
2
+ import type { Signal } from '@flighthq/signals/contract';
3
+ interface LifecycleEntity extends EntityRaw {
4
+ [EntityRuntimeKey]: EntityRuntime | undefined;
5
+ }
6
+ export type AppLifecycleState = 'active' | 'inactive' | 'background';
7
+ export type AppLaunchKind = 'cold' | 'warm';
8
+ export type AppMemoryPressure = 'normal' | 'moderate' | 'critical';
9
+ export interface HostLifecycleCapability {
10
+ getState(): AppLifecycleState;
11
+ subscribe(listener: () => void): () => void;
12
+ getLaunchKind?(): AppLaunchKind;
13
+ subscribeMemoryWarning?(listener: (level: AppMemoryPressure) => void): () => void;
14
+ }
15
+ /** The complete lifecycle capability group. An omitted slot is capability absence. */
16
+ export interface HostLifecycleCapabilities {
17
+ readonly state?: HostLifecycleCapability;
18
+ }
19
+ export interface AppLifecycle extends LifecycleEntity {
20
+ onStateChange: Signal<AppLifecycleState>;
21
+ onResume: Signal<void>;
22
+ onPause: Signal<void>;
23
+ onBackButton: Signal<void>;
24
+ onMemoryWarning: Signal<AppMemoryPressure>;
25
+ onSaveState: Signal<Record<string, unknown>>;
26
+ onRestoreState: Signal<Readonly<Record<string, unknown>>>;
27
+ }
28
+ export type LifecycleOperation = Exclude<keyof HostLifecycleCapability, keyof LifecycleEntity>;
29
+ export {};
30
+ //# sourceMappingURL=types.d.ts.map