@adaas/a-frame 0.0.22 → 0.0.23
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/.conf/tsconfig.browser.json +13 -0
- package/.conf/tsconfig.node.json +14 -0
- package/.env.example +12 -0
- package/dist/browser/A-FrameBrowserStorageBlobs.context-OEQr85oq.d.mts +40 -0
- package/dist/browser/A-FrameBundle.types-DaaUvViw.d.mts +33 -0
- package/dist/browser/A-FrameChannel.types-DWOEUs28.d.mts +142 -0
- package/dist/browser/A-FrameDefinition.entity-DWGN_Ujr.d.mts +329 -0
- package/dist/browser/A-FrameDynamicStructure.entity-DaBgSRCR.d.mts +188 -0
- package/dist/browser/A-FrameLogger.component.env-browser-BIPAP4oQ.d.mts +112 -0
- package/dist/browser/A-FrameNamespace.entity-rCm1AavP.d.mts +125 -0
- package/dist/browser/bundle.d.mts +8 -0
- package/dist/browser/bundle.mjs +2 -0
- package/dist/browser/bundle.mjs.map +1 -0
- package/dist/browser/channel.d.mts +165 -0
- package/dist/browser/channel.mjs +3 -0
- package/dist/browser/channel.mjs.map +1 -0
- package/dist/browser/chunk-5TTVFB3G.mjs +2 -0
- package/dist/browser/chunk-5TTVFB3G.mjs.map +1 -0
- package/dist/browser/chunk-AYN7KUQT.mjs +3 -0
- package/dist/browser/chunk-AYN7KUQT.mjs.map +1 -0
- package/dist/browser/chunk-DMGQW3AO.mjs +2 -0
- package/dist/browser/chunk-DMGQW3AO.mjs.map +1 -0
- package/dist/browser/chunk-G66IL2DR.mjs +2 -0
- package/dist/browser/chunk-G66IL2DR.mjs.map +1 -0
- package/dist/browser/chunk-H6OZP4ZV.mjs +2 -0
- package/dist/browser/chunk-H6OZP4ZV.mjs.map +1 -0
- package/dist/browser/chunk-INS7RO3B.mjs +2 -0
- package/dist/browser/chunk-INS7RO3B.mjs.map +1 -0
- package/dist/browser/chunk-K4MZY4ME.mjs +2 -0
- package/dist/browser/chunk-K4MZY4ME.mjs.map +1 -0
- package/dist/browser/chunk-OFKV5GNB.mjs +3 -0
- package/dist/browser/chunk-OFKV5GNB.mjs.map +1 -0
- package/dist/browser/chunk-QATIN7CO.mjs +3 -0
- package/dist/browser/chunk-QATIN7CO.mjs.map +1 -0
- package/dist/browser/chunk-QBBQ37P3.mjs +2 -0
- package/dist/browser/chunk-QBBQ37P3.mjs.map +1 -0
- package/dist/browser/chunk-VDVJWU5T.mjs +2 -0
- package/dist/browser/chunk-VDVJWU5T.mjs.map +1 -0
- package/dist/browser/chunk-X3C4I6YJ.mjs +2 -0
- package/dist/browser/chunk-X3C4I6YJ.mjs.map +1 -0
- package/dist/browser/chunk-ZVCTU2DN.mjs +3 -0
- package/dist/browser/chunk-ZVCTU2DN.mjs.map +1 -0
- package/dist/browser/core.d.mts +97 -0
- package/dist/browser/core.mjs +2 -0
- package/dist/browser/core.mjs.map +1 -0
- package/dist/browser/crypto.d.mts +35 -0
- package/dist/browser/crypto.mjs +2 -0
- package/dist/browser/crypto.mjs.map +1 -0
- package/dist/browser/definition.d.mts +13 -0
- package/dist/browser/definition.mjs +2 -0
- package/dist/browser/definition.mjs.map +1 -0
- package/dist/browser/dynamic-feature.d.mts +10 -0
- package/dist/browser/dynamic-feature.mjs +2 -0
- package/dist/browser/dynamic-feature.mjs.map +1 -0
- package/dist/browser/dynamic-structure.d.mts +12 -0
- package/dist/browser/dynamic-structure.mjs +2 -0
- package/dist/browser/dynamic-structure.mjs.map +1 -0
- package/dist/browser/env.d.mts +2 -0
- package/dist/browser/env.mjs +2 -0
- package/dist/browser/env.mjs.map +1 -0
- package/dist/browser/frame-index.d.mts +95 -0
- package/dist/browser/frame-index.mjs +2 -0
- package/dist/browser/frame-index.mjs.map +1 -0
- package/dist/browser/index.browser-CZlhzfSP.d.mts +22 -0
- package/dist/browser/index.d.mts +1 -144
- package/dist/browser/index.mjs +1 -1
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/logger.d.mts +41 -0
- package/dist/browser/logger.mjs +2 -0
- package/dist/browser/logger.mjs.map +1 -0
- package/dist/browser/namespace.d.mts +13 -0
- package/dist/browser/namespace.mjs +2 -0
- package/dist/browser/namespace.mjs.map +1 -0
- package/dist/browser/storage.d.mts +194 -0
- package/dist/browser/storage.mjs +2 -0
- package/dist/browser/storage.mjs.map +1 -0
- package/dist/browser/vector.d.mts +15 -0
- package/dist/browser/vector.mjs +2 -0
- package/dist/browser/vector.mjs.map +1 -0
- package/dist/index.cjs +0 -0
- package/dist/node/A-FrameChannel.component-BfBcs734.d.ts +62 -0
- package/dist/node/A-FrameChannel.component-NNKcFViw.d.mts +62 -0
- package/dist/node/A-FrameChannel.types-DQF-IiRq.d.mts +146 -0
- package/dist/node/A-FrameChannel.types-DQF-IiRq.d.ts +146 -0
- package/dist/node/A-FrameDefinition.entity-CAUOdEvU.d.ts +329 -0
- package/dist/node/A-FrameDefinition.entity-DWGN_Ujr.d.mts +329 -0
- package/dist/node/A-FrameDynamicStructure.entity-DaBgSRCR.d.mts +188 -0
- package/dist/node/A-FrameDynamicStructure.entity-DaBgSRCR.d.ts +188 -0
- package/dist/node/A-FrameNamespace.entity-D3fZBGDx.d.ts +125 -0
- package/dist/node/A-FrameNamespace.entity-rCm1AavP.d.mts +125 -0
- package/dist/node/A-FrameStorage.component-BYjHfHJJ.d.mts +107 -0
- package/dist/node/A-FrameStorage.component-CT01fs-t.d.ts +107 -0
- package/dist/node/bundle.cjs +101 -0
- package/dist/node/bundle.cjs.map +1 -0
- package/dist/node/bundle.d.mts +69 -0
- package/dist/node/bundle.d.ts +69 -0
- package/dist/node/bundle.mjs +76 -0
- package/dist/node/bundle.mjs.map +1 -0
- package/dist/node/channel.cjs +60 -0
- package/dist/node/channel.cjs.map +1 -0
- package/dist/node/channel.d.mts +61 -0
- package/dist/node/channel.d.ts +61 -0
- package/dist/node/channel.mjs +11 -0
- package/dist/node/channel.mjs.map +1 -0
- package/dist/node/chunk-3LOMGNWA.cjs +8 -0
- package/dist/node/chunk-3LOMGNWA.cjs.map +1 -0
- package/dist/node/chunk-3ONWH75E.mjs +257 -0
- package/dist/node/chunk-3ONWH75E.mjs.map +1 -0
- package/dist/node/chunk-3TD2PEDZ.mjs +53 -0
- package/dist/node/chunk-3TD2PEDZ.mjs.map +1 -0
- package/dist/node/chunk-442DXGOD.mjs +16 -0
- package/dist/node/chunk-442DXGOD.mjs.map +1 -0
- package/dist/node/chunk-6EFXNUL4.mjs +6 -0
- package/dist/node/chunk-6EFXNUL4.mjs.map +1 -0
- package/dist/node/chunk-7A6XGT5J.cjs +541 -0
- package/dist/node/chunk-7A6XGT5J.cjs.map +1 -0
- package/dist/node/chunk-AOQRXZPC.mjs +207 -0
- package/dist/node/chunk-AOQRXZPC.mjs.map +1 -0
- package/dist/node/chunk-APRYHBEF.mjs +171 -0
- package/dist/node/chunk-APRYHBEF.mjs.map +1 -0
- package/dist/node/chunk-B7BXP7K4.mjs +253 -0
- package/dist/node/chunk-B7BXP7K4.mjs.map +1 -0
- package/dist/node/chunk-B7ZDJXD3.cjs +35 -0
- package/dist/node/chunk-B7ZDJXD3.cjs.map +1 -0
- package/dist/node/chunk-CP6JHUU6.cjs +541 -0
- package/dist/node/chunk-CP6JHUU6.cjs.map +1 -0
- package/dist/node/chunk-DDCEMKBP.mjs +655 -0
- package/dist/node/chunk-DDCEMKBP.mjs.map +1 -0
- package/dist/node/chunk-DMY44VUG.mjs +655 -0
- package/dist/node/chunk-DMY44VUG.mjs.map +1 -0
- package/dist/node/chunk-F4UCOZW5.mjs +33 -0
- package/dist/node/chunk-F4UCOZW5.mjs.map +1 -0
- package/dist/node/chunk-GBTFMT3K.cjs +256 -0
- package/dist/node/chunk-GBTFMT3K.cjs.map +1 -0
- package/dist/node/chunk-GNVXVK2B.cjs +8 -0
- package/dist/node/chunk-GNVXVK2B.cjs.map +1 -0
- package/dist/node/chunk-IIVYTS5M.mjs +239 -0
- package/dist/node/chunk-IIVYTS5M.mjs.map +1 -0
- package/dist/node/chunk-JQBYDEMW.mjs +33 -0
- package/dist/node/chunk-JQBYDEMW.mjs.map +1 -0
- package/dist/node/chunk-K4MZY4ME.mjs +3 -0
- package/dist/node/chunk-K4MZY4ME.mjs.map +1 -0
- package/dist/node/chunk-KK64VLZN.cjs +4 -0
- package/dist/node/chunk-KK64VLZN.cjs.map +1 -0
- package/dist/node/chunk-KLG6HKFU.cjs +175 -0
- package/dist/node/chunk-KLG6HKFU.cjs.map +1 -0
- package/dist/node/chunk-LJIZ47HO.cjs +688 -0
- package/dist/node/chunk-LJIZ47HO.cjs.map +1 -0
- package/dist/node/chunk-NIXKAQVP.cjs +35 -0
- package/dist/node/chunk-NIXKAQVP.cjs.map +1 -0
- package/dist/node/chunk-OI76LHVT.mjs +21 -0
- package/dist/node/chunk-OI76LHVT.mjs.map +1 -0
- package/dist/node/chunk-OJGCQNAH.mjs +529 -0
- package/dist/node/chunk-OJGCQNAH.mjs.map +1 -0
- package/dist/node/chunk-QFHZIG7Y.cjs +25 -0
- package/dist/node/chunk-QFHZIG7Y.cjs.map +1 -0
- package/dist/node/chunk-QFUZVN4Y.cjs +259 -0
- package/dist/node/chunk-QFUZVN4Y.cjs.map +1 -0
- package/dist/node/chunk-RRLTGGM7.cjs +209 -0
- package/dist/node/chunk-RRLTGGM7.cjs.map +1 -0
- package/dist/node/chunk-TO4BPKCY.mjs +6 -0
- package/dist/node/chunk-TO4BPKCY.mjs.map +1 -0
- package/dist/node/chunk-UKKCN7CQ.cjs +688 -0
- package/dist/node/chunk-UKKCN7CQ.cjs.map +1 -0
- package/dist/node/chunk-UPA7VN4R.mjs +153 -0
- package/dist/node/chunk-UPA7VN4R.mjs.map +1 -0
- package/dist/node/chunk-UTJ7CVVB.cjs +248 -0
- package/dist/node/chunk-UTJ7CVVB.cjs.map +1 -0
- package/dist/node/chunk-YVX4W6SI.cjs +155 -0
- package/dist/node/chunk-YVX4W6SI.cjs.map +1 -0
- package/dist/node/chunk-YWWGJ6EJ.cjs +55 -0
- package/dist/node/chunk-YWWGJ6EJ.cjs.map +1 -0
- package/dist/node/chunk-Z4HUCRK2.mjs +529 -0
- package/dist/node/chunk-Z4HUCRK2.mjs.map +1 -0
- package/dist/node/chunk-ZM2RLVVH.cjs +18 -0
- package/dist/node/chunk-ZM2RLVVH.cjs.map +1 -0
- package/dist/node/core.cjs +261 -0
- package/dist/node/core.cjs.map +1 -0
- package/dist/node/core.d.mts +76 -0
- package/dist/node/core.d.ts +76 -0
- package/dist/node/core.mjs +250 -0
- package/dist/node/core.mjs.map +1 -0
- package/dist/node/crypto.cjs +13 -0
- package/dist/node/crypto.cjs.map +1 -0
- package/dist/node/crypto.d.mts +44 -0
- package/dist/node/crypto.d.ts +44 -0
- package/dist/node/crypto.mjs +4 -0
- package/dist/node/crypto.mjs.map +1 -0
- package/dist/node/definition.cjs +19 -0
- package/dist/node/definition.cjs.map +1 -0
- package/dist/node/definition.d.mts +13 -0
- package/dist/node/definition.d.ts +13 -0
- package/dist/node/definition.mjs +6 -0
- package/dist/node/definition.mjs.map +1 -0
- package/dist/node/dynamic-feature.cjs +14 -0
- package/dist/node/dynamic-feature.cjs.map +1 -0
- package/dist/node/dynamic-feature.d.mts +10 -0
- package/dist/node/dynamic-feature.d.ts +10 -0
- package/dist/node/dynamic-feature.mjs +12 -0
- package/dist/node/dynamic-feature.mjs.map +1 -0
- package/dist/node/dynamic-structure.cjs +143 -0
- package/dist/node/dynamic-structure.cjs.map +1 -0
- package/dist/node/dynamic-structure.d.mts +12 -0
- package/dist/node/dynamic-structure.d.ts +12 -0
- package/dist/node/dynamic-structure.mjs +138 -0
- package/dist/node/dynamic-structure.mjs.map +1 -0
- package/dist/node/env.cjs +14 -0
- package/dist/node/env.cjs.map +1 -0
- package/dist/node/env.d.mts +22 -0
- package/dist/node/env.d.ts +22 -0
- package/dist/node/env.mjs +5 -0
- package/dist/node/env.mjs.map +1 -0
- package/dist/node/frame-index.cjs +16 -0
- package/dist/node/frame-index.cjs.map +1 -0
- package/dist/node/frame-index.d.mts +95 -0
- package/dist/node/frame-index.d.ts +95 -0
- package/dist/node/frame-index.mjs +7 -0
- package/dist/node/frame-index.mjs.map +1 -0
- package/dist/node/index.cjs +0 -288
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.mts +1 -144
- package/dist/node/index.d.ts +1 -144
- package/dist/node/index.mjs +0 -284
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/logger.cjs +41 -0
- package/dist/node/logger.cjs.map +1 -0
- package/dist/node/logger.d.mts +150 -0
- package/dist/node/logger.d.ts +150 -0
- package/dist/node/logger.mjs +4 -0
- package/dist/node/logger.mjs.map +1 -0
- package/dist/node/namespace.cjs +24 -0
- package/dist/node/namespace.cjs.map +1 -0
- package/dist/node/namespace.d.mts +13 -0
- package/dist/node/namespace.d.ts +13 -0
- package/dist/node/namespace.mjs +7 -0
- package/dist/node/namespace.mjs.map +1 -0
- package/dist/node/storage.cjs +42 -0
- package/dist/node/storage.cjs.map +1 -0
- package/dist/node/storage.d.mts +110 -0
- package/dist/node/storage.d.ts +110 -0
- package/dist/node/storage.mjs +13 -0
- package/dist/node/storage.mjs.map +1 -0
- package/dist/node/vector.cjs +13 -0
- package/dist/node/vector.cjs.map +1 -0
- package/dist/node/vector.d.mts +15 -0
- package/dist/node/vector.d.ts +15 -0
- package/dist/node/vector.mjs +4 -0
- package/dist/node/vector.mjs.map +1 -0
- package/jest.config.browser.ts +41 -0
- package/jest.config.ts +18 -8
- package/package.json +125 -13
- package/{index.ts → src/concept.ts} +5 -2
- package/src/helpers/Hash.helper.ts +14 -0
- package/src/index.ts +0 -24
- package/src/lib/A-Frame/A-Frame.component.env-browser.ts +124 -0
- package/src/lib/A-Frame/A-Frame.component.env-node.ts +106 -0
- package/src/lib/A-Frame/A-Frame.component.ts +62 -0
- package/src/lib/A-Frame/A-Frame.context.ts +40 -0
- package/src/lib/{components/Index.component.ts/Index.error.ts → A-Frame/A-Frame.error.ts} +1 -1
- package/src/lib/{components/Index.component.ts/Index.guard.ts → A-Frame/A-Frame.guard.ts} +9 -6
- package/src/lib/A-Frame/A-Frame.meta.ts +27 -0
- package/src/lib/{components/Index.component.ts/Index.types.ts → A-Frame/A-Frame.types.ts} +52 -17
- package/src/lib/A-Frame/decorators/A-FrameDefine.decorator.ts +104 -0
- package/src/lib/A-Frame/decorators/A-FrameNamespace.decorator.ts +33 -0
- package/src/lib/A-Frame/index.browser.ts +10 -0
- package/src/lib/A-Frame/index.ts +10 -0
- package/src/lib/A-FrameBundle/A-FrameBundle.builder.env-node.ts +95 -0
- package/src/lib/A-FrameBundle/A-FrameBundle.constants.ts +5 -0
- package/src/lib/A-FrameBundle/A-FrameBundle.types.ts +31 -0
- package/src/lib/A-FrameBundle/index.browser.ts +6 -0
- package/src/lib/A-FrameBundle/index.ts +7 -0
- package/src/lib/A-FrameCLI/A-FrameCLI.container.ts +333 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.component.env-browser.ts +63 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.component.env-node.ts +586 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.component.ts +273 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.constants.ts +39 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.error.ts +10 -0
- package/src/lib/A-FrameChannel/A-FrameChannel.types.ts +143 -0
- package/src/lib/A-FrameChannel/A-FrameChannelEvent.context.ts +28 -0
- package/src/lib/A-FrameChannel/A-FrameChannelRequest.context.ts +36 -0
- package/src/lib/A-FrameChannel/A-FrameChannelSocket.entity.ts +189 -0
- package/src/lib/A-FrameChannel/A-FrameChannelStream.entity.ts +144 -0
- package/src/lib/A-FrameChannel/index.browser.ts +3 -0
- package/src/lib/A-FrameChannel/index.ts +10 -0
- package/src/lib/A-FrameCrypto/A-FrameCrypto.component.env-browser.ts +123 -0
- package/src/lib/A-FrameCrypto/A-FrameCrypto.component.env-node.ts +204 -0
- package/src/lib/A-FrameCrypto/index.browser.ts +1 -0
- package/src/lib/A-FrameCrypto/index.ts +1 -0
- package/src/lib/A-FrameDefinition/A-FrameDefinition.constants.ts +8 -0
- package/src/lib/A-FrameDefinition/A-FrameDefinition.entity.ts +290 -0
- package/src/lib/A-FrameDefinition/A-FrameDefinition.types.ts +109 -0
- package/src/lib/A-FrameDefinition/index.ts +3 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeature.entity.ts +13 -0
- package/src/lib/A-FrameDynamicFeature/A-FrameDynamicFeature.types.ts +10 -0
- package/src/lib/A-FrameDynamicFeature/index.ts +2 -0
- package/src/lib/A-FrameDynamicPatch/A-FrameDynamicPatch.entity.ts +38 -0
- package/src/lib/A-FrameDynamicPatch/A-FrameDynamicPatch.types.ts +20 -0
- package/src/lib/A-FrameDynamicSession/A-FrameDynamicSession.constants.ts +9 -0
- package/src/lib/A-FrameDynamicSession/A-FrameDynamicSession.entity.ts +91 -0
- package/src/lib/A-FrameDynamicSession/A-FrameDynamicSession.types.ts +18 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.constants.ts +13 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.entity.ts +187 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.error.ts +13 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructure.types.ts +128 -0
- package/src/lib/A-FrameDynamicStructure/A-FrameDynamicStructureOperation.context.ts +32 -0
- package/src/lib/A-FrameDynamicStructure/index.ts +5 -0
- package/src/lib/A-FrameEnv/A-FrameEnv.fragment.env-browser.ts +31 -0
- package/src/lib/A-FrameEnv/A-FrameEnv.fragment.env-node.ts +39 -0
- package/src/lib/A-FrameEnv/A-FrameEnv.types.ts +7 -0
- package/src/lib/A-FrameEnv/index.browser.ts +1 -0
- package/src/lib/A-FrameEnv/index.ts +1 -0
- package/src/lib/A-FrameIndex/A-FrameIndex.context.ts +321 -0
- package/src/lib/A-FrameIndex/A-FrameIndex.types.ts +63 -0
- package/src/lib/A-FrameIndex/index.browser.ts +3 -0
- package/src/lib/A-FrameIndex/index.ts +3 -0
- package/src/lib/A-FrameLogger/A-FrameLogger.component.env-browser.ts +99 -0
- package/src/lib/A-FrameLogger/A-FrameLogger.component.env-node.ts +129 -0
- package/src/lib/A-FrameLogger/A-FrameLogger.component.ts +123 -0
- package/src/lib/A-FrameLogger/A-FrameLogger.constants.ts +66 -0
- package/src/lib/A-FrameLogger/A-FrameLogger.types.ts +67 -0
- package/src/lib/A-FrameLogger/index.browser.ts +4 -0
- package/src/lib/A-FrameLogger/index.ts +4 -0
- package/src/lib/A-FrameNamespace/A-FrameNamespace.constants.ts +12 -0
- package/src/lib/A-FrameNamespace/A-FrameNamespace.entity.ts +211 -0
- package/src/lib/A-FrameNamespace/A-FrameNamespace.types.ts +72 -0
- package/src/lib/A-FrameNamespace/index.ts +3 -0
- package/src/lib/A-FrameStorage/A-FrameStorage.codec.ts +338 -0
- package/src/lib/A-FrameStorage/A-FrameStorage.component.ts +191 -0
- package/src/lib/A-FrameStorage/A-FrameStorage.constants.ts +11 -0
- package/src/lib/A-FrameStorage/A-FrameStorage.error.ts +13 -0
- package/src/lib/A-FrameStorage/A-FrameStorage.types.ts +98 -0
- package/src/lib/A-FrameStorage/A-FrameStorageOperation.context.ts +59 -0
- package/src/lib/A-FrameStorage/browser/A-FrameBrowserStorage.component.ts +312 -0
- package/src/lib/A-FrameStorage/browser/A-FrameBrowserStorageBlobs.context.ts +77 -0
- package/src/lib/A-FrameStorage/index.browser.ts +11 -0
- package/src/lib/A-FrameStorage/index.ts +10 -0
- package/src/lib/A-FrameStorage/node/A-FrameNodeStorage.component.ts +464 -0
- package/src/lib/A-FrameStorage/server/A-FrameServerStorage.component.ts +177 -0
- package/src/lib/{entities/A_FrameVector/A_FrameVector.entity.ts → A-FrameVector/A-FrameVector.entity.ts} +10 -0
- package/src/lib/A-FrameVector/index.ts +3 -0
- package/tests/A-Frame.browser.test.ts +94 -0
- package/tests/A-Frame.test.ts +73 -68
- package/tests/jest.browser-environment.js +30 -0
- package/tests/jest.polyfills.browser.ts +13 -0
- package/tests/jest.setup.browser.ts +33 -0
- package/tsconfig.browser.json +54 -0
- package/tsconfig.json +16 -0
- package/tsup.config.ts +32 -2
- package/src/lib/components/Builder.component.ts/Builder.component.ts +0 -0
- package/src/lib/components/Index.component.ts/Index.component.ts +0 -79
- package/src/lib/components/Index.component.ts/Index.constants.ts +0 -0
- package/src/lib/components/Index.component.ts/Index.meta.ts +0 -28
- package/src/lib/components/Index.component.ts/IndexConfigurations.meta.ts +0 -78
- package/src/lib/components/Index.component.ts/decorators/IndexComponent.decorator.ts +0 -97
- package/src/lib/components/Index.component.ts/decorators/IndexDescribe.decorator.ts +0 -59
- package/src/lib/components/Index.component.ts/decorators/IndexNamespace.decorator.ts +0 -57
- package/src/lib/components/Search/A_FrameSearch.component.ts +0 -66
- package/src/lib/containers/CLI.container.ts +0 -27
- package/src/lib/entities/Namespace/Namespace.entity.ts +0 -8
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { A_Component } from '@adaas/a-concept';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Public API surface for A_FrameLogger — shared between node and browser.
|
|
5
|
+
*/
|
|
6
|
+
type A_FrameLogLevelType = 'debug' | 'info' | 'success' | 'warn' | 'error';
|
|
7
|
+
interface A_FrameLogEntry {
|
|
8
|
+
level: A_FrameLogLevelType;
|
|
9
|
+
message: string;
|
|
10
|
+
timestamp: number;
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Handle returned by `logger.progress()`. Calling code drives the bar by
|
|
15
|
+
* `tick()`-ing once per processed item, then `succeed()` or `fail()` at the end.
|
|
16
|
+
*/
|
|
17
|
+
interface A_FrameProgressBar {
|
|
18
|
+
/** Advance by one and optionally update the trailing label */
|
|
19
|
+
tick(label?: string): void;
|
|
20
|
+
/** Mark the bar complete (even if not all items ticked) */
|
|
21
|
+
succeed(label?: string): void;
|
|
22
|
+
/** Mark the bar failed at current position */
|
|
23
|
+
fail(label?: string): void;
|
|
24
|
+
/** Set the absolute current value (for non-monotonic progress) */
|
|
25
|
+
update(current: number, label?: string): void;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Constructor / runtime configuration. All fields optional — sensible defaults
|
|
29
|
+
* are applied so `new A_FrameLogger()` always works.
|
|
30
|
+
*/
|
|
31
|
+
interface A_FrameLoggerConfig {
|
|
32
|
+
/** Minimum level to emit. Levels below are silently dropped. Default: 'debug'. */
|
|
33
|
+
level?: A_FrameLogLevelType;
|
|
34
|
+
/** Override TTY detection (Node only). Default: auto-detect via process.stdout.isTTY. */
|
|
35
|
+
color?: boolean;
|
|
36
|
+
/** Optional prefix prepended to every line, e.g. "[a-frame]" */
|
|
37
|
+
prefix?: string;
|
|
38
|
+
}
|
|
39
|
+
interface IA_FrameLogger {
|
|
40
|
+
debug(message: string, metadata?: Record<string, unknown>): void;
|
|
41
|
+
info(message: string, metadata?: Record<string, unknown>): void;
|
|
42
|
+
success(message: string, metadata?: Record<string, unknown>): void;
|
|
43
|
+
warn(message: string, metadata?: Record<string, unknown>): void;
|
|
44
|
+
error(message: string, metadata?: Record<string, unknown>): void;
|
|
45
|
+
section(title: string): void;
|
|
46
|
+
divider(): void;
|
|
47
|
+
progress(label: string, total: number): A_FrameProgressBar;
|
|
48
|
+
increment(key: string, by?: number): void;
|
|
49
|
+
set(key: string, value: number): void;
|
|
50
|
+
get(key: string): number;
|
|
51
|
+
resetTimer(): void;
|
|
52
|
+
elapsed(): string;
|
|
53
|
+
summary(title?: string): void;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Abstract base for `A_FrameLogger` — environment-agnostic state and behaviour.
|
|
58
|
+
*
|
|
59
|
+
* Concrete subclasses (`A-FrameLogger.component.env-node` and
|
|
60
|
+
* `A-FrameLogger.component.env-browser`) implement `write()` and `progress()`
|
|
61
|
+
* since each runtime renders to a different surface (TTY vs DevTools console).
|
|
62
|
+
*/
|
|
63
|
+
declare abstract class A_FrameLoggerBase extends A_Component implements IA_FrameLogger {
|
|
64
|
+
protected level: A_FrameLogLevelType;
|
|
65
|
+
protected prefix: string;
|
|
66
|
+
protected counters: Map<string, number>;
|
|
67
|
+
protected startTime: number;
|
|
68
|
+
constructor(config?: A_FrameLoggerConfig);
|
|
69
|
+
/** Render a fully-built log entry to the runtime-specific output. */
|
|
70
|
+
protected abstract write(entry: A_FrameLogEntry): void;
|
|
71
|
+
/** Create a runtime-specific progress bar. */
|
|
72
|
+
abstract progress(label: string, total: number): A_FrameProgressBar;
|
|
73
|
+
setLevel(level: A_FrameLogLevelType): void;
|
|
74
|
+
/** Returns true when the entry passes the current level filter. */
|
|
75
|
+
protected shouldEmit(level: A_FrameLogLevelType): boolean;
|
|
76
|
+
private emit;
|
|
77
|
+
debug(msg: string, meta?: Record<string, unknown>): void;
|
|
78
|
+
info(msg: string, meta?: Record<string, unknown>): void;
|
|
79
|
+
success(msg: string, meta?: Record<string, unknown>): void;
|
|
80
|
+
warn(msg: string, meta?: Record<string, unknown>): void;
|
|
81
|
+
error(msg: string, meta?: Record<string, unknown>): void;
|
|
82
|
+
/** Default implementation that subclasses may override for nicer headings. */
|
|
83
|
+
section(title: string): void;
|
|
84
|
+
divider(): void;
|
|
85
|
+
increment(key: string, by?: number): void;
|
|
86
|
+
set(key: string, value: number): void;
|
|
87
|
+
get(key: string): number;
|
|
88
|
+
resetTimer(): void;
|
|
89
|
+
elapsed(): string;
|
|
90
|
+
/**
|
|
91
|
+
* Print a left-aligned table of all counters plus elapsed time.
|
|
92
|
+
* Concrete subclasses can override for richer rendering.
|
|
93
|
+
*/
|
|
94
|
+
summary(title?: string): void;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* A_FrameLogger — Node.js environment.
|
|
99
|
+
*
|
|
100
|
+
* Renders to stdout with ANSI colour codes and inline progress bars when
|
|
101
|
+
* stdout is a TTY. Falls back to plain text otherwise (CI, log files).
|
|
102
|
+
*/
|
|
103
|
+
declare class A_FrameLogger extends A_FrameLoggerBase {
|
|
104
|
+
private readonly useColor;
|
|
105
|
+
constructor(config?: A_FrameLoggerConfig);
|
|
106
|
+
private c;
|
|
107
|
+
protected write(entry: A_FrameLogEntry): void;
|
|
108
|
+
section(title: string): void;
|
|
109
|
+
divider(): void;
|
|
110
|
+
summary(title?: string): void;
|
|
111
|
+
progress(label: string, total: number): A_FrameProgressBar;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare const A_FrameLogLevel: {
|
|
115
|
+
readonly Debug: "debug";
|
|
116
|
+
readonly Info: "info";
|
|
117
|
+
readonly Success: "success";
|
|
118
|
+
readonly Warn: "warn";
|
|
119
|
+
readonly Error: "error";
|
|
120
|
+
};
|
|
121
|
+
/** Numeric priority used for level filtering. Higher = more severe. */
|
|
122
|
+
declare const A_FRAME_LOG_LEVEL_PRIORITY: Record<A_FrameLogLevelType, number>;
|
|
123
|
+
/** Glyphs used as the leading symbol for each log level. */
|
|
124
|
+
declare const A_FrameLogIcon: Record<A_FrameLogLevelType, string>;
|
|
125
|
+
/** ANSI escape sequences. Used by the Node implementation only. */
|
|
126
|
+
declare const A_FRAME_ANSI: {
|
|
127
|
+
readonly reset: "\u001B[0m";
|
|
128
|
+
readonly bold: "\u001B[1m";
|
|
129
|
+
readonly dim: "\u001B[2m";
|
|
130
|
+
readonly gray: "\u001B[90m";
|
|
131
|
+
readonly red: "\u001B[31m";
|
|
132
|
+
readonly green: "\u001B[32m";
|
|
133
|
+
readonly yellow: "\u001B[33m";
|
|
134
|
+
readonly blue: "\u001B[34m";
|
|
135
|
+
readonly cyan: "\u001B[36m";
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Browser console CSS — used with `console.log('%c...', style)` for coloured
|
|
139
|
+
* output in DevTools. Mirrors the ANSI palette by intent.
|
|
140
|
+
*/
|
|
141
|
+
declare const A_FRAME_BROWSER_CSS: Record<A_FrameLogLevelType, string>;
|
|
142
|
+
/** Defaults applied when building a logger without explicit options. */
|
|
143
|
+
declare const A_FRAME_LOG_DEFAULTS: {
|
|
144
|
+
readonly progressBarWidth: 24;
|
|
145
|
+
readonly summaryTitle: "Summary";
|
|
146
|
+
/** Update progress at most this often (ms) for non-TTY/browser output. */
|
|
147
|
+
readonly progressThrottleMs: 250;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export { A_FRAME_ANSI, A_FRAME_BROWSER_CSS, A_FRAME_LOG_DEFAULTS, A_FRAME_LOG_LEVEL_PRIORITY, type A_FrameLogEntry, A_FrameLogIcon, A_FrameLogLevel, type A_FrameLogLevelType, A_FrameLogger, A_FrameLoggerBase, type A_FrameLoggerConfig, type A_FrameProgressBar, type IA_FrameLogger };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { A_FRAME_ANSI, A_FRAME_BROWSER_CSS, A_FRAME_LOG_DEFAULTS, A_FRAME_LOG_LEVEL_PRIORITY, A_FrameLogIcon, A_FrameLogLevel, A_FrameLogger, A_FrameLoggerBase } from './chunk-IIVYTS5M.mjs';
|
|
2
|
+
import './chunk-OI76LHVT.mjs';
|
|
3
|
+
//# sourceMappingURL=logger.mjs.map
|
|
4
|
+
//# sourceMappingURL=logger.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"logger.mjs"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('./chunk-KK64VLZN.cjs');
|
|
4
|
+
var chunkKLG6HKFU_cjs = require('./chunk-KLG6HKFU.cjs');
|
|
5
|
+
require('./chunk-ZM2RLVVH.cjs');
|
|
6
|
+
require('./chunk-YWWGJ6EJ.cjs');
|
|
7
|
+
require('./chunk-QFHZIG7Y.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.defineProperty(exports, "A_FRAME_DEFAULT_NAMESPACE_KEY", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkKLG6HKFU_cjs.A_FRAME_DEFAULT_NAMESPACE_KEY; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "A_FrameNamespace", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkKLG6HKFU_cjs.A_FrameNamespace; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "A_FrameNamespaceFeatures", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkKLG6HKFU_cjs.A_FrameNamespaceFeatures; }
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=namespace.cjs.map
|
|
24
|
+
//# sourceMappingURL=namespace.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"namespace.cjs"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { A as A_FrameNamespace, a as A_FrameNamespace_EmbeddingMeta, b as A_FrameNamespace_Init, c as A_FrameNamespace_Record, d as A_FrameNamespace_SearchResult, e as A_FrameNamespace_Serialized } from './A-FrameNamespace.entity-rCm1AavP.mjs';
|
|
2
|
+
import '@adaas/a-concept';
|
|
3
|
+
import './vector.mjs';
|
|
4
|
+
|
|
5
|
+
declare const A_FRAME_DEFAULT_NAMESPACE_KEY = "default";
|
|
6
|
+
declare const A_FrameNamespaceFeatures: {
|
|
7
|
+
readonly Load: "_A_FRAME_NAMESPACE_LOAD";
|
|
8
|
+
readonly Save: "_A_FRAME_NAMESPACE_SAVE";
|
|
9
|
+
readonly Embed: "_A_FRAME_NAMESPACE_EMBED";
|
|
10
|
+
readonly Destroy: "_A_FRAME_NAMESPACE_DESTROY";
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { A_FRAME_DEFAULT_NAMESPACE_KEY, A_FrameNamespaceFeatures };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { A as A_FrameNamespace, a as A_FrameNamespace_EmbeddingMeta, b as A_FrameNamespace_Init, c as A_FrameNamespace_Record, d as A_FrameNamespace_SearchResult, e as A_FrameNamespace_Serialized } from './A-FrameNamespace.entity-D3fZBGDx.js';
|
|
2
|
+
import '@adaas/a-concept';
|
|
3
|
+
import './vector.js';
|
|
4
|
+
|
|
5
|
+
declare const A_FRAME_DEFAULT_NAMESPACE_KEY = "default";
|
|
6
|
+
declare const A_FrameNamespaceFeatures: {
|
|
7
|
+
readonly Load: "_A_FRAME_NAMESPACE_LOAD";
|
|
8
|
+
readonly Save: "_A_FRAME_NAMESPACE_SAVE";
|
|
9
|
+
readonly Embed: "_A_FRAME_NAMESPACE_EMBED";
|
|
10
|
+
readonly Destroy: "_A_FRAME_NAMESPACE_DESTROY";
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { A_FRAME_DEFAULT_NAMESPACE_KEY, A_FrameNamespaceFeatures };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './chunk-K4MZY4ME.mjs';
|
|
2
|
+
export { A_FRAME_DEFAULT_NAMESPACE_KEY, A_FrameNamespace, A_FrameNamespaceFeatures } from './chunk-APRYHBEF.mjs';
|
|
3
|
+
import './chunk-442DXGOD.mjs';
|
|
4
|
+
import './chunk-3TD2PEDZ.mjs';
|
|
5
|
+
import './chunk-OI76LHVT.mjs';
|
|
6
|
+
//# sourceMappingURL=namespace.mjs.map
|
|
7
|
+
//# sourceMappingURL=namespace.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"namespace.mjs"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7A6XGT5J_cjs = require('./chunk-7A6XGT5J.cjs');
|
|
4
|
+
var chunkQFUZVN4Y_cjs = require('./chunk-QFUZVN4Y.cjs');
|
|
5
|
+
require('./chunk-B7ZDJXD3.cjs');
|
|
6
|
+
require('./chunk-KK64VLZN.cjs');
|
|
7
|
+
require('./chunk-KLG6HKFU.cjs');
|
|
8
|
+
require('./chunk-3LOMGNWA.cjs');
|
|
9
|
+
require('./chunk-YVX4W6SI.cjs');
|
|
10
|
+
require('./chunk-GBTFMT3K.cjs');
|
|
11
|
+
require('./chunk-ZM2RLVVH.cjs');
|
|
12
|
+
require('./chunk-YWWGJ6EJ.cjs');
|
|
13
|
+
require('./chunk-QFHZIG7Y.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Object.defineProperty(exports, "A_FrameNodeStorage", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunk7A6XGT5J_cjs.A_FrameNodeStorage; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "A_FrameStorage", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunk7A6XGT5J_cjs.A_FrameStorage; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "A_FrameStorageError", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunk7A6XGT5J_cjs.A_FrameStorageError; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "A_FrameStorageFeatures", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunk7A6XGT5J_cjs.A_FrameStorageFeatures; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "A_FrameStorageOperation", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunk7A6XGT5J_cjs.A_FrameStorageOperation; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "A_FrameStorageCodec", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkQFUZVN4Y_cjs.A_FrameStorageCodec; }
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=storage.cjs.map
|
|
42
|
+
//# sourceMappingURL=storage.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"storage.cjs"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { A as A_FrameStorage, a as A_FrameContext, b as A_FrameStorageSaveDefinitionOperation, c as A_FrameStorageLoadDefinitionsOperation, d as A_FrameStorageDestroyDefinitionsOperation, e as A_FrameStorageSaveNamespaceOperation, f as A_FrameStorageLoadNamespacesOperation, g as A_FrameStorageDestroyNamespacesOperation } from './A-FrameStorage.component-BYjHfHJJ.mjs';
|
|
2
|
+
export { h as A_FrameStorageDestroyDefinitionsOperationParams, i as A_FrameStorageDestroyDefinitionsOperationResult, j as A_FrameStorageDestroyNamespacesOperationParams, k as A_FrameStorageDestroyNamespacesOperationResult, l as A_FrameStorageLoadDefinitionsOperationParams, m as A_FrameStorageLoadDefinitionsOperationResult, n as A_FrameStorageLoadNamespacesOperationParams, o as A_FrameStorageLoadNamespacesOperationResult, p as A_FrameStorageOperation, q as A_FrameStorageSaveDefinitionOperationParams, r as A_FrameStorageSaveDefinitionOperationResult, s as A_FrameStorageSaveNamespaceOperationParams, t as A_FrameStorageSaveNamespaceOperationResult, I as IA_FrameStorage } from './A-FrameStorage.component-BYjHfHJJ.mjs';
|
|
3
|
+
import { A_Fragment, A_Error } from '@adaas/a-concept';
|
|
4
|
+
import { e as A_FrameNamespace_Serialized, A as A_FrameNamespace } from './A-FrameNamespace.entity-rCm1AavP.mjs';
|
|
5
|
+
import { c as A_FrameDefinition_Serialized, A as A_FrameDefinition } from './A-FrameDefinition.entity-DWGN_Ujr.mjs';
|
|
6
|
+
import { A_FrameEnv } from './env.mjs';
|
|
7
|
+
import { A_FrameCrypto } from './crypto.mjs';
|
|
8
|
+
import './A-FrameChannel.types-DQF-IiRq.mjs';
|
|
9
|
+
import './vector.mjs';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A-FrameStorage binary codec — shared between node and browser environments.
|
|
13
|
+
*
|
|
14
|
+
* Binary payload format (decrypted) — used for BOTH definition records and namespace records:
|
|
15
|
+
* [HEADER 20B]
|
|
16
|
+
* magic 4B = 0x454D424B ("EMBK")
|
|
17
|
+
* version 1B = 0x01
|
|
18
|
+
* count 4B (uint32 LE)
|
|
19
|
+
* dims 2B (uint16 LE)
|
|
20
|
+
* reserved 9B
|
|
21
|
+
* [RECORD × count]
|
|
22
|
+
* aseidLen 2B (uint16 LE)
|
|
23
|
+
* aseid NB utf-8 (primary entity ID, e.g. "app@root:123@v2")
|
|
24
|
+
* nameLen 2B (uint16 LE)
|
|
25
|
+
* name NB utf-8
|
|
26
|
+
* vector dims×4B Float32 LE
|
|
27
|
+
* metaLen 4B (uint32 LE)
|
|
28
|
+
* meta NB JSON
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
declare class A_FrameStorageCodec extends A_Fragment {
|
|
32
|
+
protected enc: TextEncoder;
|
|
33
|
+
protected dec: TextDecoder;
|
|
34
|
+
A_FRAME_FILE_MAGIC: number;
|
|
35
|
+
A_FRAME_FILE_VERSION: number;
|
|
36
|
+
A_FRAME_HEADER_SIZE: number;
|
|
37
|
+
static get fileExtension(): string;
|
|
38
|
+
getFileName(namespace: string): string;
|
|
39
|
+
getNamespaceFileName(): string;
|
|
40
|
+
encodePayload(records: A_FrameDefinition_Serialized[]): Uint8Array;
|
|
41
|
+
decodePayload(data: Uint8Array): A_FrameDefinition_Serialized[];
|
|
42
|
+
encodeNamespacePayload(records: A_FrameNamespace_Serialized[]): Uint8Array;
|
|
43
|
+
decodeNamespacePayload(data: Uint8Array): A_FrameNamespace_Serialized[];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare class A_FrameStorageError extends A_Error {
|
|
47
|
+
static readonly SaveDefinitionFailed = "SaveDefinitionFailed";
|
|
48
|
+
static readonly LoadDefinitionsFailed = "LoadDefinitionsFailed";
|
|
49
|
+
static readonly DestroyDefinitionsFailed = "DestroyDefinitionsFailed";
|
|
50
|
+
static readonly SaveNamespaceFailed = "SaveNamespaceFailed";
|
|
51
|
+
static readonly LoadNamespacesFailed = "LoadNamespacesFailed";
|
|
52
|
+
static readonly DestroyNamespacesFailed = "DestroyNamespacesFailed";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const A_FrameStorageFeatures: {
|
|
56
|
+
readonly SaveDefinitions: "_A_FRAME_STORAGE_SAVE";
|
|
57
|
+
readonly LoadDefinitions: "_A_FRAME_STORAGE_LOAD";
|
|
58
|
+
readonly DestroyDefinitions: "_A_FRAME_STORAGE_DESTROY";
|
|
59
|
+
readonly SaveNamespaces: "_A_FRAME_STORAGE_SAVE_NAMESPACES";
|
|
60
|
+
readonly LoadNamespaces: "_A_FRAME_STORAGE_LOAD_NAMESPACES";
|
|
61
|
+
readonly DestroyNamespaces: "_A_FRAME_STORAGE_DESTROY_NAMESPACES";
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** Reserved filename for the namespace binary index */
|
|
65
|
+
/**
|
|
66
|
+
* A_FrameStorageProvider — Node.js environment
|
|
67
|
+
*
|
|
68
|
+
* Reads and writes encrypted binary index files (*.bin) on the local filesystem.
|
|
69
|
+
* Definition records are grouped by namespace into <namespace>.bin files.
|
|
70
|
+
* Namespace records are stored in the reserved __namespaces.bin file.
|
|
71
|
+
*
|
|
72
|
+
* File layout on disk: [IV 12B][AuthTag 16B][Ciphertext ...]
|
|
73
|
+
*/
|
|
74
|
+
declare class A_FrameNodeStorage extends A_FrameStorage {
|
|
75
|
+
/** Returns file contents, or null when the file does not exist yet. Re-throws all other I/O errors. */
|
|
76
|
+
private tryReadFile;
|
|
77
|
+
/**
|
|
78
|
+
* Save a single definition to local file storage. This is called as part of A_FrameDefinition.save() when using the local file storage provider. It reads the existing namespace file, merges in the new or updated definition, and writes back the encrypted file.
|
|
79
|
+
*
|
|
80
|
+
* @param definition
|
|
81
|
+
* @param env
|
|
82
|
+
* @param context
|
|
83
|
+
* @param codec
|
|
84
|
+
*/
|
|
85
|
+
saveDefinitionToDisk(definition: A_FrameDefinition, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* Load a single definition from local file storage. This is called as part of A_FrameDefinition.load() when using the local file storage provider. It reads the namespace file, finds the record for the requested definition, and if found and hash matches, populates the definition with the stored data.
|
|
88
|
+
*/
|
|
89
|
+
loadDefinitionFromDisk(definition: A_FrameDefinition, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Delete a single definition from local file storage. This is called as part of A_FrameDefinition.destroy() when using the local file storage provider. It reads the namespace file, removes the record for the requested definition, and writes back the encrypted file.
|
|
92
|
+
*
|
|
93
|
+
* @param definition
|
|
94
|
+
* @param env
|
|
95
|
+
* @param context
|
|
96
|
+
* @param codec
|
|
97
|
+
*/
|
|
98
|
+
destroyDefinitionFromDisk(definition: A_FrameDefinition, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
99
|
+
saveNamespaceToDisk(namespace: A_FrameNamespace, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
100
|
+
loadNamespaceFromDisk(namespace: A_FrameNamespace, env: A_FrameEnv, context: A_FrameContext, aFrameCrypto: A_FrameCrypto, codec: A_FrameStorageCodec): Promise<void>;
|
|
101
|
+
destroyNamespaceFromLocalFileStorage(namespace: A_FrameNamespace, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
102
|
+
saveDefinitionsToDisk(env: A_FrameEnv, operation: A_FrameStorageSaveDefinitionOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
103
|
+
loadDefinitionsFromDisk(env: A_FrameEnv, operation: A_FrameStorageLoadDefinitionsOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
104
|
+
destroyDefinitionsFromDisk(env: A_FrameEnv, operation: A_FrameStorageDestroyDefinitionsOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
105
|
+
saveNamespacesToDisk(env: A_FrameEnv, operation: A_FrameStorageSaveNamespaceOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
106
|
+
loadNamespacesFromDisk(env: A_FrameEnv, operation: A_FrameStorageLoadNamespacesOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
107
|
+
destroyNamespacesFromDisk(env: A_FrameEnv, operation: A_FrameStorageDestroyNamespacesOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { A_FrameNodeStorage, A_FrameStorage, A_FrameStorageCodec, A_FrameStorageDestroyDefinitionsOperation, A_FrameStorageDestroyNamespacesOperation, A_FrameStorageError, A_FrameStorageFeatures, A_FrameStorageLoadDefinitionsOperation, A_FrameStorageLoadNamespacesOperation, A_FrameStorageSaveDefinitionOperation, A_FrameStorageSaveNamespaceOperation };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { A as A_FrameStorage, a as A_FrameContext, b as A_FrameStorageSaveDefinitionOperation, c as A_FrameStorageLoadDefinitionsOperation, d as A_FrameStorageDestroyDefinitionsOperation, e as A_FrameStorageSaveNamespaceOperation, f as A_FrameStorageLoadNamespacesOperation, g as A_FrameStorageDestroyNamespacesOperation } from './A-FrameStorage.component-CT01fs-t.js';
|
|
2
|
+
export { h as A_FrameStorageDestroyDefinitionsOperationParams, i as A_FrameStorageDestroyDefinitionsOperationResult, j as A_FrameStorageDestroyNamespacesOperationParams, k as A_FrameStorageDestroyNamespacesOperationResult, l as A_FrameStorageLoadDefinitionsOperationParams, m as A_FrameStorageLoadDefinitionsOperationResult, n as A_FrameStorageLoadNamespacesOperationParams, o as A_FrameStorageLoadNamespacesOperationResult, p as A_FrameStorageOperation, q as A_FrameStorageSaveDefinitionOperationParams, r as A_FrameStorageSaveDefinitionOperationResult, s as A_FrameStorageSaveNamespaceOperationParams, t as A_FrameStorageSaveNamespaceOperationResult, I as IA_FrameStorage } from './A-FrameStorage.component-CT01fs-t.js';
|
|
3
|
+
import { A_Fragment, A_Error } from '@adaas/a-concept';
|
|
4
|
+
import { e as A_FrameNamespace_Serialized, A as A_FrameNamespace } from './A-FrameNamespace.entity-D3fZBGDx.js';
|
|
5
|
+
import { c as A_FrameDefinition_Serialized, A as A_FrameDefinition } from './A-FrameDefinition.entity-CAUOdEvU.js';
|
|
6
|
+
import { A_FrameEnv } from './env.js';
|
|
7
|
+
import { A_FrameCrypto } from './crypto.js';
|
|
8
|
+
import './A-FrameChannel.types-DQF-IiRq.js';
|
|
9
|
+
import './vector.js';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A-FrameStorage binary codec — shared between node and browser environments.
|
|
13
|
+
*
|
|
14
|
+
* Binary payload format (decrypted) — used for BOTH definition records and namespace records:
|
|
15
|
+
* [HEADER 20B]
|
|
16
|
+
* magic 4B = 0x454D424B ("EMBK")
|
|
17
|
+
* version 1B = 0x01
|
|
18
|
+
* count 4B (uint32 LE)
|
|
19
|
+
* dims 2B (uint16 LE)
|
|
20
|
+
* reserved 9B
|
|
21
|
+
* [RECORD × count]
|
|
22
|
+
* aseidLen 2B (uint16 LE)
|
|
23
|
+
* aseid NB utf-8 (primary entity ID, e.g. "app@root:123@v2")
|
|
24
|
+
* nameLen 2B (uint16 LE)
|
|
25
|
+
* name NB utf-8
|
|
26
|
+
* vector dims×4B Float32 LE
|
|
27
|
+
* metaLen 4B (uint32 LE)
|
|
28
|
+
* meta NB JSON
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
declare class A_FrameStorageCodec extends A_Fragment {
|
|
32
|
+
protected enc: TextEncoder;
|
|
33
|
+
protected dec: TextDecoder;
|
|
34
|
+
A_FRAME_FILE_MAGIC: number;
|
|
35
|
+
A_FRAME_FILE_VERSION: number;
|
|
36
|
+
A_FRAME_HEADER_SIZE: number;
|
|
37
|
+
static get fileExtension(): string;
|
|
38
|
+
getFileName(namespace: string): string;
|
|
39
|
+
getNamespaceFileName(): string;
|
|
40
|
+
encodePayload(records: A_FrameDefinition_Serialized[]): Uint8Array;
|
|
41
|
+
decodePayload(data: Uint8Array): A_FrameDefinition_Serialized[];
|
|
42
|
+
encodeNamespacePayload(records: A_FrameNamespace_Serialized[]): Uint8Array;
|
|
43
|
+
decodeNamespacePayload(data: Uint8Array): A_FrameNamespace_Serialized[];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare class A_FrameStorageError extends A_Error {
|
|
47
|
+
static readonly SaveDefinitionFailed = "SaveDefinitionFailed";
|
|
48
|
+
static readonly LoadDefinitionsFailed = "LoadDefinitionsFailed";
|
|
49
|
+
static readonly DestroyDefinitionsFailed = "DestroyDefinitionsFailed";
|
|
50
|
+
static readonly SaveNamespaceFailed = "SaveNamespaceFailed";
|
|
51
|
+
static readonly LoadNamespacesFailed = "LoadNamespacesFailed";
|
|
52
|
+
static readonly DestroyNamespacesFailed = "DestroyNamespacesFailed";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const A_FrameStorageFeatures: {
|
|
56
|
+
readonly SaveDefinitions: "_A_FRAME_STORAGE_SAVE";
|
|
57
|
+
readonly LoadDefinitions: "_A_FRAME_STORAGE_LOAD";
|
|
58
|
+
readonly DestroyDefinitions: "_A_FRAME_STORAGE_DESTROY";
|
|
59
|
+
readonly SaveNamespaces: "_A_FRAME_STORAGE_SAVE_NAMESPACES";
|
|
60
|
+
readonly LoadNamespaces: "_A_FRAME_STORAGE_LOAD_NAMESPACES";
|
|
61
|
+
readonly DestroyNamespaces: "_A_FRAME_STORAGE_DESTROY_NAMESPACES";
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** Reserved filename for the namespace binary index */
|
|
65
|
+
/**
|
|
66
|
+
* A_FrameStorageProvider — Node.js environment
|
|
67
|
+
*
|
|
68
|
+
* Reads and writes encrypted binary index files (*.bin) on the local filesystem.
|
|
69
|
+
* Definition records are grouped by namespace into <namespace>.bin files.
|
|
70
|
+
* Namespace records are stored in the reserved __namespaces.bin file.
|
|
71
|
+
*
|
|
72
|
+
* File layout on disk: [IV 12B][AuthTag 16B][Ciphertext ...]
|
|
73
|
+
*/
|
|
74
|
+
declare class A_FrameNodeStorage extends A_FrameStorage {
|
|
75
|
+
/** Returns file contents, or null when the file does not exist yet. Re-throws all other I/O errors. */
|
|
76
|
+
private tryReadFile;
|
|
77
|
+
/**
|
|
78
|
+
* Save a single definition to local file storage. This is called as part of A_FrameDefinition.save() when using the local file storage provider. It reads the existing namespace file, merges in the new or updated definition, and writes back the encrypted file.
|
|
79
|
+
*
|
|
80
|
+
* @param definition
|
|
81
|
+
* @param env
|
|
82
|
+
* @param context
|
|
83
|
+
* @param codec
|
|
84
|
+
*/
|
|
85
|
+
saveDefinitionToDisk(definition: A_FrameDefinition, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* Load a single definition from local file storage. This is called as part of A_FrameDefinition.load() when using the local file storage provider. It reads the namespace file, finds the record for the requested definition, and if found and hash matches, populates the definition with the stored data.
|
|
88
|
+
*/
|
|
89
|
+
loadDefinitionFromDisk(definition: A_FrameDefinition, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Delete a single definition from local file storage. This is called as part of A_FrameDefinition.destroy() when using the local file storage provider. It reads the namespace file, removes the record for the requested definition, and writes back the encrypted file.
|
|
92
|
+
*
|
|
93
|
+
* @param definition
|
|
94
|
+
* @param env
|
|
95
|
+
* @param context
|
|
96
|
+
* @param codec
|
|
97
|
+
*/
|
|
98
|
+
destroyDefinitionFromDisk(definition: A_FrameDefinition, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
99
|
+
saveNamespaceToDisk(namespace: A_FrameNamespace, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
100
|
+
loadNamespaceFromDisk(namespace: A_FrameNamespace, env: A_FrameEnv, context: A_FrameContext, aFrameCrypto: A_FrameCrypto, codec: A_FrameStorageCodec): Promise<void>;
|
|
101
|
+
destroyNamespaceFromLocalFileStorage(namespace: A_FrameNamespace, env: A_FrameEnv, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
102
|
+
saveDefinitionsToDisk(env: A_FrameEnv, operation: A_FrameStorageSaveDefinitionOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
103
|
+
loadDefinitionsFromDisk(env: A_FrameEnv, operation: A_FrameStorageLoadDefinitionsOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
104
|
+
destroyDefinitionsFromDisk(env: A_FrameEnv, operation: A_FrameStorageDestroyDefinitionsOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
105
|
+
saveNamespacesToDisk(env: A_FrameEnv, operation: A_FrameStorageSaveNamespaceOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
106
|
+
loadNamespacesFromDisk(env: A_FrameEnv, operation: A_FrameStorageLoadNamespacesOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
107
|
+
destroyNamespacesFromDisk(env: A_FrameEnv, operation: A_FrameStorageDestroyNamespacesOperation, context: A_FrameContext, codec: A_FrameStorageCodec, aFrameCrypto: A_FrameCrypto): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { A_FrameNodeStorage, A_FrameStorage, A_FrameStorageCodec, A_FrameStorageDestroyDefinitionsOperation, A_FrameStorageDestroyNamespacesOperation, A_FrameStorageError, A_FrameStorageFeatures, A_FrameStorageLoadDefinitionsOperation, A_FrameStorageLoadNamespacesOperation, A_FrameStorageSaveDefinitionOperation, A_FrameStorageSaveNamespaceOperation };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { A_FrameNodeStorage, A_FrameStorage, A_FrameStorageError, A_FrameStorageFeatures, A_FrameStorageOperation } from './chunk-OJGCQNAH.mjs';
|
|
2
|
+
export { A_FrameStorageCodec } from './chunk-3ONWH75E.mjs';
|
|
3
|
+
import './chunk-JQBYDEMW.mjs';
|
|
4
|
+
import './chunk-K4MZY4ME.mjs';
|
|
5
|
+
import './chunk-APRYHBEF.mjs';
|
|
6
|
+
import './chunk-TO4BPKCY.mjs';
|
|
7
|
+
import './chunk-UPA7VN4R.mjs';
|
|
8
|
+
import './chunk-B7BXP7K4.mjs';
|
|
9
|
+
import './chunk-442DXGOD.mjs';
|
|
10
|
+
import './chunk-3TD2PEDZ.mjs';
|
|
11
|
+
import './chunk-OI76LHVT.mjs';
|
|
12
|
+
//# sourceMappingURL=storage.mjs.map
|
|
13
|
+
//# sourceMappingURL=storage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"storage.mjs"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYWWGJ6EJ_cjs = require('./chunk-YWWGJ6EJ.cjs');
|
|
4
|
+
require('./chunk-QFHZIG7Y.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "A_FrameVector", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkYWWGJ6EJ_cjs.A_FrameVector; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=vector.cjs.map
|
|
13
|
+
//# sourceMappingURL=vector.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"vector.cjs"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { A_Entity } from '@adaas/a-concept';
|
|
2
|
+
|
|
3
|
+
declare class A_FrameVector extends A_Entity {
|
|
4
|
+
static get concept(): string;
|
|
5
|
+
readonly values: Float32Array;
|
|
6
|
+
constructor(values: number[] | Float32Array);
|
|
7
|
+
get length(): number;
|
|
8
|
+
magnitude(): number;
|
|
9
|
+
normalize(): A_FrameVector;
|
|
10
|
+
dot(other: A_FrameVector): number;
|
|
11
|
+
private assertSameLength;
|
|
12
|
+
toArray(): number[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { A_FrameVector };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { A_Entity } from '@adaas/a-concept';
|
|
2
|
+
|
|
3
|
+
declare class A_FrameVector extends A_Entity {
|
|
4
|
+
static get concept(): string;
|
|
5
|
+
readonly values: Float32Array;
|
|
6
|
+
constructor(values: number[] | Float32Array);
|
|
7
|
+
get length(): number;
|
|
8
|
+
magnitude(): number;
|
|
9
|
+
normalize(): A_FrameVector;
|
|
10
|
+
dot(other: A_FrameVector): number;
|
|
11
|
+
private assertSameLength;
|
|
12
|
+
toArray(): number[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { A_FrameVector };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"vector.mjs"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Config } from '@jest/types';
|
|
2
|
+
|
|
3
|
+
const config: Config.InitialOptions = {
|
|
4
|
+
verbose: true,
|
|
5
|
+
testEnvironment: '<rootDir>/tests/jest.browser-environment.js',
|
|
6
|
+
testEnvironmentOptions: {
|
|
7
|
+
// Keep node module resolution (CJS-compatible) while running in jsdom.
|
|
8
|
+
// Without this, jsdom activates the "browser" export condition which
|
|
9
|
+
// only has ESM entries and breaks Jest's CommonJS resolver.
|
|
10
|
+
customExportConditions: ['node', 'require', 'default'],
|
|
11
|
+
},
|
|
12
|
+
// Runs before any module is imported — needed for TextEncoder/TextDecoder/crypto polyfills
|
|
13
|
+
setupFiles: ['<rootDir>/tests/jest.polyfills.browser.ts'],
|
|
14
|
+
setupFilesAfterEnv: ['<rootDir>/tests/jest.setup.browser.ts'],
|
|
15
|
+
roots: ['<rootDir>/tests'],
|
|
16
|
+
testMatch: ['**/*.browser.test.ts'],
|
|
17
|
+
transform: {
|
|
18
|
+
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.browser.json' }]
|
|
19
|
+
},
|
|
20
|
+
moduleNameMapper: {
|
|
21
|
+
"@adaas/a-frame/constants/(.*)": "<rootDir>/src/constants/$1",
|
|
22
|
+
"@adaas/a-frame/utils/(.*)": "<rootDir>/src/utils/$1",
|
|
23
|
+
"@adaas/a-frame/helpers/(.*)": "<rootDir>/src/helpers/$1",
|
|
24
|
+
"@adaas/a-frame/types": "<rootDir>/src/types",
|
|
25
|
+
"@adaas/a-frame/core": "<rootDir>/src/lib/A-Frame/index.browser.ts",
|
|
26
|
+
"@adaas/a-frame/bundle": "<rootDir>/src/lib/A-FrameBundle/index.browser.ts",
|
|
27
|
+
"@adaas/a-frame/channel": "<rootDir>/src/lib/A-FrameChannel/index.browser.ts",
|
|
28
|
+
"@adaas/a-frame/crypto": "<rootDir>/src/lib/A-FrameCrypto/index.browser.ts",
|
|
29
|
+
"@adaas/a-frame/definition": "<rootDir>/src/lib/A-FrameDefinition/index.ts",
|
|
30
|
+
"@adaas/a-frame/dynamic-feature": "<rootDir>/src/lib/A-FrameDynamicFeature/index.ts",
|
|
31
|
+
"@adaas/a-frame/dynamic-structure": "<rootDir>/src/lib/A-FrameDynamicStructure/index.ts",
|
|
32
|
+
"@adaas/a-frame/env": "<rootDir>/src/lib/A-FrameEnv/index.browser.ts",
|
|
33
|
+
"@adaas/a-frame/index": "<rootDir>/src/lib/A-FrameIndex/index.browser.ts",
|
|
34
|
+
"@adaas/a-frame/logger": "<rootDir>/src/lib/A-FrameLogger/index.browser.ts",
|
|
35
|
+
"@adaas/a-frame/namespace": "<rootDir>/src/lib/A-FrameNamespace/index.ts",
|
|
36
|
+
"@adaas/a-frame/storage": "<rootDir>/src/lib/A-FrameStorage/index.browser.ts",
|
|
37
|
+
"@adaas/a-frame/vector": "<rootDir>/src/lib/A-FrameVector/index.ts",
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export default config;
|