@warp-drive-mirror/core 5.10.0-alpha.2 → 5.10.0-alpha.21
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 +116 -6
- package/dist/{-private-ffnwf62T.js → -private-BiuED7nc.js} +5 -4
- package/dist/{-private-ffnwf62T.js.map → -private-BiuED7nc.js.map} +1 -1
- package/dist/{-private-CArItnX4.js → -private-CvZfrDZl.js} +566 -179
- package/dist/-private-CvZfrDZl.js.map +1 -0
- package/dist/{aliases-BWYW5EhX.d.ts → aliases-BG5TxALl.d.ts} +4 -3
- package/dist/aliases-BG5TxALl.d.ts.map +1 -0
- package/dist/{change-C7kqv2kW.d.ts → change-INHMiZ2a.d.ts} +4 -4
- package/dist/change-INHMiZ2a.d.ts.map +1 -0
- package/dist/{concepts-DFldVwEM.d.ts → concepts-vh86nAcd.d.ts} +14 -7
- package/dist/concepts-vh86nAcd.d.ts.map +1 -0
- package/dist/{configure-B_F639tN.d.ts → configure-BfXDuPUb.d.ts} +57 -10
- package/dist/configure-BfXDuPUb.d.ts.map +1 -0
- package/dist/configure.d.ts +2 -2
- package/dist/configure.js +2 -2
- package/dist/{document-Ca4ZZBd9.d.ts → document-B8Fup751.d.ts} +22 -6
- package/dist/document-B8Fup751.d.ts.map +1 -0
- package/dist/{error-0uD6GkNX.d.ts → error-j5n1yL9m.d.ts} +4 -4
- package/dist/error-j5n1yL9m.d.ts.map +1 -0
- package/dist/{fields-FM7peCiM.d.ts → fields-r1rZJB9d.d.ts} +134 -9
- package/dist/fields-r1rZJB9d.d.ts.map +1 -0
- package/dist/graph/-private.d.ts +1 -1
- package/dist/graph/-private.js +25 -40
- package/dist/graph/-private.js.map +1 -1
- package/dist/{graph-DLqYXP2z.d.ts → graph-BqxaFjEb.d.ts} +25 -7
- package/dist/graph-BqxaFjEb.d.ts.map +1 -0
- package/dist/{identifier-DQnqOSJK.d.ts → identifier-DmgDehQK.d.ts} +29 -6
- package/dist/identifier-DmgDehQK.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{internal-BrqYbG_y.d.ts → internal-D_WIXC4r.d.ts} +1524 -1121
- package/dist/internal-D_WIXC4r.d.ts.map +1 -0
- package/dist/{json-api-raw-C5APJHHB.d.ts → json-api-raw-juUdIITO.d.ts} +44 -4
- package/dist/json-api-raw-juUdIITO.d.ts.map +1 -0
- package/dist/{mutations-CqtoGB4t.d.ts → mutations-CA39mior.d.ts} +18 -4
- package/dist/mutations-CA39mior.d.ts.map +1 -0
- package/dist/{operations-D1qA6r0_.d.ts → operations-C1WAEKKq.d.ts} +39 -7
- package/dist/operations-C1WAEKKq.d.ts.map +1 -0
- package/dist/{params-DrEx3bf8.d.ts → params-CNLjCRyH.d.ts} +11 -3
- package/dist/params-CNLjCRyH.d.ts.map +1 -0
- package/dist/{raw-D5hnjiq7.d.ts → raw-adYGuEGM.d.ts} +10 -3
- package/dist/raw-adYGuEGM.d.ts.map +1 -0
- package/dist/reactive/-private.d.ts +1 -1
- package/dist/reactive/-private.js +1 -1
- package/dist/reactive.d.ts +2 -2
- package/dist/reactive.js +3 -3
- package/dist/{record-D3QQcaIR.d.ts → record-f5-uOgHt.d.ts} +22 -4
- package/dist/record-f5-uOgHt.d.ts.map +1 -0
- package/dist/{relationship-CmHzMPKf.d.ts → relationship-99pc4CaS.d.ts} +10 -5
- package/dist/relationship-99pc4CaS.d.ts.map +1 -0
- package/dist/{request-o_qGAoFV.js → request-CxtnNIIp.js} +52 -23
- package/dist/request-CxtnNIIp.js.map +1 -0
- package/dist/request.d.ts +1 -1
- package/dist/request.js +1 -1
- package/dist/signals/-leaked.d.ts +86 -18
- package/dist/signals/-leaked.d.ts.map +1 -1
- package/dist/signals/-leaked.js +1 -1
- package/dist/{src-C-xK8l3f.js → src-ccp1WKyt.js} +350 -456
- package/dist/src-ccp1WKyt.js.map +1 -0
- package/dist/store/-private.d.ts +2 -2
- package/dist/store/-private.js +2 -2
- package/dist/{store-DNF9Rgoh.js → store-C8iKKtQK.js} +17 -3
- package/dist/store-C8iKKtQK.js.map +1 -0
- package/dist/store.d.ts +1 -1
- package/dist/store.js +1 -1
- package/dist/{symbols-DjRDCeX0.d.ts → symbols-DVa1PMFG.d.ts} +10 -3
- package/dist/symbols-DVa1PMFG.d.ts.map +1 -0
- package/dist/types/-private.d.ts +1 -2
- package/dist/types/-private.d.ts.map +1 -1
- package/dist/types/-private.js +115 -2
- package/dist/types/-private.js.map +1 -0
- package/dist/types/cache/aliases.d.ts +1 -1
- package/dist/types/cache/change.d.ts +1 -1
- package/dist/types/cache/mutations.d.ts +1 -1
- package/dist/types/cache/operations.d.ts +1 -1
- package/dist/types/cache/relationship.d.ts +1 -1
- package/dist/types/cache.d.ts +1 -1
- package/dist/types/graph.d.ts +1 -1
- package/dist/types/identifier.d.ts +1 -1
- package/dist/types/identifier.js +34 -5
- package/dist/types/identifier.js.map +1 -1
- package/dist/types/json/raw.d.ts +1 -1
- package/dist/types/params.d.ts +1 -1
- package/dist/types/record.d.ts +1 -1
- package/dist/types/record.js +26 -2
- package/dist/types/record.js.map +1 -1
- package/dist/types/request.d.ts +1 -1
- package/dist/types/request.js +82 -3
- package/dist/types/request.js.map +1 -1
- package/dist/types/runtime.d.ts +10 -7
- package/dist/types/runtime.d.ts.map +1 -1
- package/dist/types/runtime.js +9 -6
- package/dist/types/runtime.js.map +1 -1
- package/dist/types/schema/concepts.d.ts +1 -1
- package/dist/types/schema/fields.d.ts +1 -1
- package/dist/types/schema/fields.js +133 -5
- package/dist/types/schema/fields.js.map +1 -1
- package/dist/types/schema/schema-service.d.ts +1 -1
- package/dist/types/spec/document.d.ts +1 -1
- package/dist/types/spec/error.d.ts +1 -1
- package/dist/types/spec/json-api-raw.d.ts +1 -1
- package/dist/types/symbols.d.ts +1 -1
- package/dist/types/symbols.js +16 -3
- package/dist/types/symbols.js.map +1 -1
- package/dist/types/utils.d.ts +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/unpkg/{dev-deprecated/-private-CM5N2rtZ.js → dev/-private-B4pCmkq-.js} +566 -179
- package/dist/unpkg/dev/-private-B4pCmkq-.js.map +1 -0
- package/dist/unpkg/{prod-deprecated/-private-207KndDu.js → dev/-private-BiuED7nc.js} +5 -4
- package/dist/unpkg/{dev-deprecated/-private-BO-nArRb.js.map → dev/-private-BiuED7nc.js.map} +1 -1
- package/dist/unpkg/dev/configure.js +2 -2
- package/dist/unpkg/dev/graph/-private.js +26 -41
- package/dist/unpkg/dev/graph/-private.js.map +1 -1
- package/dist/unpkg/dev/index.js +1 -1
- package/dist/unpkg/dev/reactive/-private.js +1 -1
- package/dist/unpkg/dev/reactive.js +3 -3
- package/dist/unpkg/{dev-deprecated/request-DXPAtRhE.js → dev/request-oWpijCPQ.js} +52 -23
- package/dist/unpkg/dev/request-oWpijCPQ.js.map +1 -0
- package/dist/unpkg/dev/request.js +1 -1
- package/dist/unpkg/dev/{runtime-DW881fpw.js → runtime-RYvEtg99.js} +2 -3
- package/dist/unpkg/dev/{runtime-DW881fpw.js.map → runtime-RYvEtg99.js.map} +1 -1
- package/dist/unpkg/dev/signals/-leaked.js +1 -1
- package/dist/unpkg/dev/{src-kn6qfEPI.js → src-C4ET4R1n.js} +339 -444
- package/dist/unpkg/dev/src-C4ET4R1n.js.map +1 -0
- package/dist/unpkg/dev/store/-private.js +2 -2
- package/dist/unpkg/{dev-deprecated/store-D-z_1Jxe.js → dev/store-dZViNfMK.js} +18 -4
- package/dist/unpkg/dev/store-dZViNfMK.js.map +1 -0
- package/dist/unpkg/dev/store.js +1 -1
- package/dist/unpkg/dev/types/-private.js +106 -2
- package/dist/unpkg/dev/types/-private.js.map +1 -0
- package/dist/unpkg/dev/types/identifier.js +34 -5
- package/dist/unpkg/dev/types/identifier.js.map +1 -1
- package/dist/unpkg/dev/types/record.js +26 -2
- package/dist/unpkg/dev/types/record.js.map +1 -1
- package/dist/unpkg/dev/types/request.js +82 -3
- package/dist/unpkg/dev/types/request.js.map +1 -1
- package/dist/unpkg/dev/types/runtime.js +9 -6
- package/dist/unpkg/dev/types/runtime.js.map +1 -1
- package/dist/unpkg/dev/types/schema/fields.js +133 -5
- package/dist/unpkg/dev/types/schema/fields.js.map +1 -1
- package/dist/unpkg/dev/types/symbols.js +16 -3
- package/dist/unpkg/dev/types/symbols.js.map +1 -1
- package/dist/unpkg/dev/utils/string.js +1 -2
- package/dist/unpkg/{dev/-private-CM5N2rtZ.js → dev-deprecated/-private-B4pCmkq-.js} +566 -179
- package/dist/unpkg/dev-deprecated/-private-B4pCmkq-.js.map +1 -0
- package/dist/unpkg/dev-deprecated/{-private-BO-nArRb.js → -private-BiuED7nc.js} +5 -4
- package/dist/unpkg/{prod/-private-207KndDu.js.map → dev-deprecated/-private-BiuED7nc.js.map} +1 -1
- package/dist/unpkg/dev-deprecated/configure.js +2 -2
- package/dist/unpkg/dev-deprecated/graph/-private.js +26 -41
- package/dist/unpkg/dev-deprecated/graph/-private.js.map +1 -1
- package/dist/unpkg/dev-deprecated/index.js +1 -1
- package/dist/unpkg/dev-deprecated/reactive/-private.js +1 -1
- package/dist/unpkg/dev-deprecated/reactive.js +3 -3
- package/dist/unpkg/{dev/request-DXPAtRhE.js → dev-deprecated/request-oWpijCPQ.js} +52 -23
- package/dist/unpkg/dev-deprecated/request-oWpijCPQ.js.map +1 -0
- package/dist/unpkg/dev-deprecated/request.js +1 -1
- package/dist/unpkg/dev-deprecated/{runtime-BIra6K31.js → runtime-DZVuMuzL.js} +2 -3
- package/dist/unpkg/dev-deprecated/{runtime-BIra6K31.js.map → runtime-DZVuMuzL.js.map} +1 -1
- package/dist/unpkg/dev-deprecated/signals/-leaked.js +1 -1
- package/dist/unpkg/dev-deprecated/{src-DXwW-R57.js → src-jHpowq3S.js} +344 -450
- package/dist/unpkg/dev-deprecated/src-jHpowq3S.js.map +1 -0
- package/dist/unpkg/dev-deprecated/store/-private.js +2 -2
- package/dist/unpkg/{dev/store-C0p6sclI.js → dev-deprecated/store-I7YB0_rC.js} +18 -4
- package/dist/unpkg/dev-deprecated/store-I7YB0_rC.js.map +1 -0
- package/dist/unpkg/dev-deprecated/store.js +1 -1
- package/dist/unpkg/dev-deprecated/types/-private.js +106 -2
- package/dist/unpkg/dev-deprecated/types/-private.js.map +1 -0
- package/dist/unpkg/dev-deprecated/types/identifier.js +34 -5
- package/dist/unpkg/dev-deprecated/types/identifier.js.map +1 -1
- package/dist/unpkg/dev-deprecated/types/record.js +26 -2
- package/dist/unpkg/dev-deprecated/types/record.js.map +1 -1
- package/dist/unpkg/dev-deprecated/types/request.js +82 -3
- package/dist/unpkg/dev-deprecated/types/request.js.map +1 -1
- package/dist/unpkg/dev-deprecated/types/runtime.js +9 -6
- package/dist/unpkg/dev-deprecated/types/runtime.js.map +1 -1
- package/dist/unpkg/dev-deprecated/types/schema/fields.js +133 -5
- package/dist/unpkg/dev-deprecated/types/schema/fields.js.map +1 -1
- package/dist/unpkg/dev-deprecated/types/symbols.js +16 -3
- package/dist/unpkg/dev-deprecated/types/symbols.js.map +1 -1
- package/dist/unpkg/dev-deprecated/utils/string.js +1 -2
- package/dist/unpkg/prod/-private-BiuED7nc.js +23 -0
- package/dist/unpkg/{prod-deprecated/-private-207KndDu.js.map → prod/-private-BiuED7nc.js.map} +1 -1
- package/dist/unpkg/{prod-deprecated/-private-CdDed4yB.js → prod/-private-CrUi_3E_.js} +539 -173
- package/dist/unpkg/prod/-private-CrUi_3E_.js.map +1 -0
- package/dist/unpkg/prod/configure.js +2 -2
- package/dist/unpkg/prod/graph/-private.js +24 -35
- package/dist/unpkg/prod/graph/-private.js.map +1 -1
- package/dist/unpkg/prod/index.js +1 -1
- package/dist/unpkg/prod/reactive/-private.js +1 -1
- package/dist/unpkg/prod/reactive.js +3 -3
- package/dist/unpkg/prod/{request-C7WZg-zk.js → request-Cgw3j6Dx.js} +51 -21
- package/dist/unpkg/prod/request-Cgw3j6Dx.js.map +1 -0
- package/dist/unpkg/prod/request.js +1 -1
- package/dist/unpkg/prod/signals/-leaked.js +1 -1
- package/dist/unpkg/prod/{src-B-GfFQcx.js → src-DFmPDGQ6.js} +311 -414
- package/dist/unpkg/prod/src-DFmPDGQ6.js.map +1 -0
- package/dist/unpkg/prod/store/-private.js +2 -2
- package/dist/unpkg/prod/{store-BWhmb7Ob.js → store-Bz9R5hGB.js} +17 -3
- package/dist/unpkg/prod/store-Bz9R5hGB.js.map +1 -0
- package/dist/unpkg/prod/store.js +1 -1
- package/dist/unpkg/prod/types/-private.js +94 -2
- package/dist/unpkg/prod/types/-private.js.map +1 -0
- package/dist/unpkg/prod/types/identifier.js +34 -5
- package/dist/unpkg/prod/types/identifier.js.map +1 -1
- package/dist/unpkg/prod/types/record.js +26 -2
- package/dist/unpkg/prod/types/record.js.map +1 -1
- package/dist/unpkg/prod/types/request.js +82 -3
- package/dist/unpkg/prod/types/request.js.map +1 -1
- package/dist/unpkg/prod/types/runtime.js +9 -6
- package/dist/unpkg/prod/types/runtime.js.map +1 -1
- package/dist/unpkg/prod/types/schema/fields.js +133 -5
- package/dist/unpkg/prod/types/schema/fields.js.map +1 -1
- package/dist/unpkg/prod/types/symbols.js +16 -3
- package/dist/unpkg/prod/types/symbols.js.map +1 -1
- package/dist/unpkg/prod/utils/string.js +1 -2
- package/dist/unpkg/{dev/-private-BO-nArRb.js → prod-deprecated/-private-BiuED7nc.js} +5 -4
- package/dist/unpkg/{dev/-private-BO-nArRb.js.map → prod-deprecated/-private-BiuED7nc.js.map} +1 -1
- package/dist/unpkg/{prod/-private-CdDed4yB.js → prod-deprecated/-private-CrUi_3E_.js} +539 -173
- package/dist/unpkg/prod-deprecated/-private-CrUi_3E_.js.map +1 -0
- package/dist/unpkg/prod-deprecated/configure.js +2 -2
- package/dist/unpkg/prod-deprecated/graph/-private.js +24 -35
- package/dist/unpkg/prod-deprecated/graph/-private.js.map +1 -1
- package/dist/unpkg/prod-deprecated/index.js +1 -1
- package/dist/unpkg/prod-deprecated/reactive/-private.js +1 -1
- package/dist/unpkg/prod-deprecated/reactive.js +3 -3
- package/dist/unpkg/prod-deprecated/{request-C7WZg-zk.js → request-Cgw3j6Dx.js} +51 -21
- package/dist/unpkg/prod-deprecated/request-Cgw3j6Dx.js.map +1 -0
- package/dist/unpkg/prod-deprecated/request.js +1 -1
- package/dist/unpkg/prod-deprecated/signals/-leaked.js +1 -1
- package/dist/unpkg/prod-deprecated/{src-Bp8ZJctZ.js → src-BgQLcshl.js} +316 -420
- package/dist/unpkg/prod-deprecated/src-BgQLcshl.js.map +1 -0
- package/dist/unpkg/prod-deprecated/store/-private.js +2 -2
- package/dist/unpkg/prod-deprecated/{store-BWhmb7Ob.js → store-Bz9R5hGB.js} +17 -3
- package/dist/unpkg/prod-deprecated/store-Bz9R5hGB.js.map +1 -0
- package/dist/unpkg/prod-deprecated/store.js +1 -1
- package/dist/unpkg/prod-deprecated/types/-private.js +94 -2
- package/dist/unpkg/prod-deprecated/types/-private.js.map +1 -0
- package/dist/unpkg/prod-deprecated/types/identifier.js +34 -5
- package/dist/unpkg/prod-deprecated/types/identifier.js.map +1 -1
- package/dist/unpkg/prod-deprecated/types/record.js +26 -2
- package/dist/unpkg/prod-deprecated/types/record.js.map +1 -1
- package/dist/unpkg/prod-deprecated/types/request.js +82 -3
- package/dist/unpkg/prod-deprecated/types/request.js.map +1 -1
- package/dist/unpkg/prod-deprecated/types/runtime.js +9 -6
- package/dist/unpkg/prod-deprecated/types/runtime.js.map +1 -1
- package/dist/unpkg/prod-deprecated/types/schema/fields.js +133 -5
- package/dist/unpkg/prod-deprecated/types/schema/fields.js.map +1 -1
- package/dist/unpkg/prod-deprecated/types/symbols.js +16 -3
- package/dist/unpkg/prod-deprecated/types/symbols.js.map +1 -1
- package/dist/unpkg/prod-deprecated/utils/string.js +1 -2
- package/dist/utils/string.d.ts +0 -2
- package/dist/utils/string.d.ts.map +1 -1
- package/dist/utils/string.js +1 -2
- package/dist/{utils-BtURiy8l.d.ts → utils-BVKvrO6e.d.ts} +8 -3
- package/dist/utils-BVKvrO6e.d.ts.map +1 -0
- package/logos/README.md +1 -1
- package/package.json +9 -9
- package/dist/-private-CArItnX4.js.map +0 -1
- package/dist/-private-CWh7qdp_.js +0 -120
- package/dist/-private-CWh7qdp_.js.map +0 -1
- package/dist/aliases-BWYW5EhX.d.ts.map +0 -1
- package/dist/change-C7kqv2kW.d.ts.map +0 -1
- package/dist/concepts-DFldVwEM.d.ts.map +0 -1
- package/dist/configure-B_F639tN.d.ts.map +0 -1
- package/dist/document-Ca4ZZBd9.d.ts.map +0 -1
- package/dist/error-0uD6GkNX.d.ts.map +0 -1
- package/dist/fields-FM7peCiM.d.ts.map +0 -1
- package/dist/graph-DLqYXP2z.d.ts.map +0 -1
- package/dist/identifier-DQnqOSJK.d.ts.map +0 -1
- package/dist/internal-BrqYbG_y.d.ts.map +0 -1
- package/dist/json-api-raw-C5APJHHB.d.ts.map +0 -1
- package/dist/mutations-CqtoGB4t.d.ts.map +0 -1
- package/dist/operations-D1qA6r0_.d.ts.map +0 -1
- package/dist/params-DrEx3bf8.d.ts.map +0 -1
- package/dist/raw-D5hnjiq7.d.ts.map +0 -1
- package/dist/record-D3QQcaIR.d.ts.map +0 -1
- package/dist/relationship-CmHzMPKf.d.ts.map +0 -1
- package/dist/request-o_qGAoFV.js.map +0 -1
- package/dist/src-C-xK8l3f.js.map +0 -1
- package/dist/store-DNF9Rgoh.js.map +0 -1
- package/dist/symbols-DjRDCeX0.d.ts.map +0 -1
- package/dist/types/schema/fields.type-test.d.ts +0 -1
- package/dist/types/schema/fields.type-test.js +0 -79
- package/dist/types/schema/fields.type-test.js.map +0 -1
- package/dist/unpkg/dev/-private-BP52H-vC.js +0 -111
- package/dist/unpkg/dev/-private-BP52H-vC.js.map +0 -1
- package/dist/unpkg/dev/-private-CM5N2rtZ.js.map +0 -1
- package/dist/unpkg/dev/request-DXPAtRhE.js.map +0 -1
- package/dist/unpkg/dev/src-kn6qfEPI.js.map +0 -1
- package/dist/unpkg/dev/store-C0p6sclI.js.map +0 -1
- package/dist/unpkg/dev/types/schema/fields.type-test.js +0 -79
- package/dist/unpkg/dev/types/schema/fields.type-test.js.map +0 -1
- package/dist/unpkg/dev-deprecated/-private-BP52H-vC.js +0 -111
- package/dist/unpkg/dev-deprecated/-private-BP52H-vC.js.map +0 -1
- package/dist/unpkg/dev-deprecated/-private-CM5N2rtZ.js.map +0 -1
- package/dist/unpkg/dev-deprecated/request-DXPAtRhE.js.map +0 -1
- package/dist/unpkg/dev-deprecated/src-DXwW-R57.js.map +0 -1
- package/dist/unpkg/dev-deprecated/store-D-z_1Jxe.js.map +0 -1
- package/dist/unpkg/dev-deprecated/types/schema/fields.type-test.js +0 -79
- package/dist/unpkg/dev-deprecated/types/schema/fields.type-test.js.map +0 -1
- package/dist/unpkg/prod/-private-207KndDu.js +0 -22
- package/dist/unpkg/prod/-private-CdDed4yB.js.map +0 -1
- package/dist/unpkg/prod/-private-JmhZBKGb.js +0 -99
- package/dist/unpkg/prod/-private-JmhZBKGb.js.map +0 -1
- package/dist/unpkg/prod/request-C7WZg-zk.js.map +0 -1
- package/dist/unpkg/prod/src-B-GfFQcx.js.map +0 -1
- package/dist/unpkg/prod/store-BWhmb7Ob.js.map +0 -1
- package/dist/unpkg/prod/types/schema/fields.type-test.js +0 -79
- package/dist/unpkg/prod/types/schema/fields.type-test.js.map +0 -1
- package/dist/unpkg/prod-deprecated/-private-CdDed4yB.js.map +0 -1
- package/dist/unpkg/prod-deprecated/-private-JmhZBKGb.js +0 -99
- package/dist/unpkg/prod-deprecated/-private-JmhZBKGb.js.map +0 -1
- package/dist/unpkg/prod-deprecated/request-C7WZg-zk.js.map +0 -1
- package/dist/unpkg/prod-deprecated/src-Bp8ZJctZ.js.map +0 -1
- package/dist/unpkg/prod-deprecated/store-BWhmb7Ob.js.map +0 -1
- package/dist/unpkg/prod-deprecated/types/schema/fields.type-test.js +0 -79
- package/dist/unpkg/prod-deprecated/types/schema/fields.type-test.js.map +0 -1
- package/dist/utils-BtURiy8l.d.ts.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { M as setupSignals } from "./-private-
|
|
1
|
+
import { M as registerSignals, N as setupSignals } from "./-private-CrUi_3E_.js";
|
|
2
2
|
|
|
3
|
-
export { setupSignals };
|
|
3
|
+
export { registerSignals, setupSignals };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getOrSetGlobal, peekTransient, setTransient } from "../types/-private.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/graph/-private/-utils.ts
|
|
4
4
|
/** Retrieves the private {@link Store} instance from a capabilities manager (or any object exposing `_store`). */
|
|
5
5
|
function getStore(wrapper) {
|
|
6
6
|
return wrapper._store;
|
|
@@ -89,8 +89,7 @@ function notifyChange(graph, relationship, channel) {
|
|
|
89
89
|
graph.store.notifyChange(resourceKey, "relationships", key, channel);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
//#region src/graph/-private/operations/replace-related-records.ts
|
|
92
|
+
// src/graph/-private/operations/replace-related-records.ts
|
|
94
93
|
function replaceRelatedRecords(graph, op, isRemote) {
|
|
95
94
|
if (isRemote) replaceRelatedRecordsRemote(graph, op, isRemote);
|
|
96
95
|
else replaceRelatedRecordsLocal(graph, op, isRemote);
|
|
@@ -237,8 +236,7 @@ function flushCanonical(graph, rel, channel) {
|
|
|
237
236
|
if (rel.accessed) graph._scheduleLocalSync(rel, channel);
|
|
238
237
|
}
|
|
239
238
|
|
|
240
|
-
|
|
241
|
-
//#region src/graph/-private/operations/replace-related-record.ts
|
|
239
|
+
// src/graph/-private/operations/replace-related-record.ts
|
|
242
240
|
function replaceRelatedRecord(graph, op, isRemote = false) {
|
|
243
241
|
const relationship = graph.get(op.record, op.field);
|
|
244
242
|
if (isRemote) graph._addToTransaction(relationship);
|
|
@@ -280,8 +278,7 @@ function replaceRelatedRecord(graph, op, isRemote = false) {
|
|
|
280
278
|
} else notifyChange(graph, relationship, "local");
|
|
281
279
|
}
|
|
282
280
|
|
|
283
|
-
|
|
284
|
-
//#region src/graph/-private/-diff.ts
|
|
281
|
+
// src/graph/-private/-diff.ts
|
|
285
282
|
function _compare(priorLocalState, finalState, finalSet, prevState, prevSet, onAdd, onDel, remoteClearsLocal) {
|
|
286
283
|
const finalLength = finalState.length;
|
|
287
284
|
const prevLength = prevState.length;
|
|
@@ -452,8 +449,7 @@ function rollbackRelationship(graph, key, field, relationship) {
|
|
|
452
449
|
}
|
|
453
450
|
}
|
|
454
451
|
|
|
455
|
-
|
|
456
|
-
//#region src/graph/-private/-edge-definition.ts
|
|
452
|
+
// src/graph/-private/-edge-definition.ts
|
|
457
453
|
function isLegacyField(field) {
|
|
458
454
|
return field.kind === "belongsTo" || field.kind === "hasMany";
|
|
459
455
|
}
|
|
@@ -609,7 +605,7 @@ function upgradeDefinition(graph, key, propertyName, isImplicit = false) {
|
|
|
609
605
|
const inverseType = definition.type;
|
|
610
606
|
if (definition.inverseKey === null) inverseDefinition = null;
|
|
611
607
|
else {
|
|
612
|
-
inverseKey = inverseForRelationship(getStore(storeWrapper), key,
|
|
608
|
+
inverseKey = inverseForRelationship(getStore(storeWrapper), key, meta.name);
|
|
613
609
|
if (!inverseKey && definition.isPolymorphic && definition.inverseKey) inverseDefinition = {
|
|
614
610
|
kind: "belongsTo",
|
|
615
611
|
key: definition.inverseKey,
|
|
@@ -621,7 +617,10 @@ function upgradeDefinition(graph, key, propertyName, isImplicit = false) {
|
|
|
621
617
|
isPolymorphic: false
|
|
622
618
|
};
|
|
623
619
|
else if (!inverseKey) inverseDefinition = null;
|
|
624
|
-
else
|
|
620
|
+
else {
|
|
621
|
+
inverseDefinition = upgradeMeta(storeWrapper.schema.fields({ type: inverseType }).get(inverseKey));
|
|
622
|
+
inverseKey = inverseDefinition.key;
|
|
623
|
+
}
|
|
625
624
|
}
|
|
626
625
|
if (!inverseDefinition) {
|
|
627
626
|
inverseKey = implicitKeyFor(type, propertyName);
|
|
@@ -700,8 +699,7 @@ function inverseForRelationship(store, resourceKey, key) {
|
|
|
700
699
|
return definition.options.inverse;
|
|
701
700
|
}
|
|
702
701
|
|
|
703
|
-
|
|
704
|
-
//#region src/graph/-private/-state.ts
|
|
702
|
+
// src/graph/-private/-state.ts
|
|
705
703
|
function createState() {
|
|
706
704
|
return {
|
|
707
705
|
hasReceivedData: false,
|
|
@@ -714,8 +712,7 @@ function createState() {
|
|
|
714
712
|
};
|
|
715
713
|
}
|
|
716
714
|
|
|
717
|
-
|
|
718
|
-
//#region src/graph/-private/edges/collection.ts
|
|
715
|
+
// src/graph/-private/edges/collection.ts
|
|
719
716
|
/**
|
|
720
717
|
* Stores the graph's internal state for one side of a collection (`hasMany`) relationship.
|
|
721
718
|
*/
|
|
@@ -752,8 +749,7 @@ function legacyGetCollectionRelationshipData(source, getRemoteState) {
|
|
|
752
749
|
return payload;
|
|
753
750
|
}
|
|
754
751
|
|
|
755
|
-
|
|
756
|
-
//#region src/graph/-private/edges/implicit.ts
|
|
752
|
+
// src/graph/-private/edges/implicit.ts
|
|
757
753
|
/**
|
|
758
754
|
* The relationship definition (schema metadata) backing an {@link ImplicitEdge}, tagging
|
|
759
755
|
* the {@link UpgradedMeta} as belonging to an implicit inverse relationship.
|
|
@@ -798,8 +794,7 @@ function createImplicitEdge(definition, identifier) {
|
|
|
798
794
|
};
|
|
799
795
|
}
|
|
800
796
|
|
|
801
|
-
|
|
802
|
-
//#region src/graph/-private/edges/resource.ts
|
|
797
|
+
// src/graph/-private/edges/resource.ts
|
|
803
798
|
function createResourceEdge(definition, identifier) {
|
|
804
799
|
return {
|
|
805
800
|
definition,
|
|
@@ -825,8 +820,7 @@ function legacyGetResourceRelationshipData(source, getRemoteState) {
|
|
|
825
820
|
return payload;
|
|
826
821
|
}
|
|
827
822
|
|
|
828
|
-
|
|
829
|
-
//#region src/graph/-private/operations/add-to-related-records.ts
|
|
823
|
+
// src/graph/-private/operations/add-to-related-records.ts
|
|
830
824
|
function addToRelatedRecords(graph, op, isRemote) {
|
|
831
825
|
const { record, value, index } = op;
|
|
832
826
|
const relationship = graph.get(record, op.field);
|
|
@@ -852,8 +846,7 @@ function addRelatedRecord(graph, relationship, record, value, index, isRemote) {
|
|
|
852
846
|
if (_add(graph, record, relationship, value, index, isRemote)) addToInverse(graph, value, relationship.definition.inverseKey, record, isRemote);
|
|
853
847
|
}
|
|
854
848
|
|
|
855
|
-
|
|
856
|
-
//#region src/graph/-private/operations/merge-identifier.ts
|
|
849
|
+
// src/graph/-private/operations/merge-identifier.ts
|
|
857
850
|
function mergeIdentifier(graph, op, relationships) {
|
|
858
851
|
Object.keys(relationships).forEach((key) => {
|
|
859
852
|
const rel = relationships[key];
|
|
@@ -915,8 +908,7 @@ function mergeImplicit(graph, rel, op) {
|
|
|
915
908
|
}
|
|
916
909
|
}
|
|
917
910
|
|
|
918
|
-
|
|
919
|
-
//#region src/graph/-private/operations/remove-from-related-records.ts
|
|
911
|
+
// src/graph/-private/operations/remove-from-related-records.ts
|
|
920
912
|
function removeFromRelatedRecords(graph, op, isRemote) {
|
|
921
913
|
const { record, value } = op;
|
|
922
914
|
const relationship = graph.get(record, op.field);
|
|
@@ -941,8 +933,7 @@ function removeRelatedRecord(graph, record, relationship, value, index, isRemote
|
|
|
941
933
|
if (_remove(graph, record, relationship, value, index, isRemote)) removeFromInverse(graph, value, relationship.definition.inverseKey, record, isRemote);
|
|
942
934
|
}
|
|
943
935
|
|
|
944
|
-
|
|
945
|
-
//#region src/graph/-private/normalize-link.ts
|
|
936
|
+
// src/graph/-private/normalize-link.ts
|
|
946
937
|
function _normalizeLink(link) {
|
|
947
938
|
switch (typeof link) {
|
|
948
939
|
case "object": return link;
|
|
@@ -950,8 +941,7 @@ function _normalizeLink(link) {
|
|
|
950
941
|
}
|
|
951
942
|
}
|
|
952
943
|
|
|
953
|
-
|
|
954
|
-
//#region src/graph/-private/operations/update-relationship.ts
|
|
944
|
+
// src/graph/-private/operations/update-relationship.ts
|
|
955
945
|
function updateRelationshipOperation(graph, op) {
|
|
956
946
|
const relationship = graph.get(op.record, op.field);
|
|
957
947
|
const { definition, identifier } = relationship;
|
|
@@ -1011,8 +1001,7 @@ function upgradeIdentifiers(arr, cache) {
|
|
|
1011
1001
|
return arr;
|
|
1012
1002
|
}
|
|
1013
1003
|
|
|
1014
|
-
|
|
1015
|
-
//#region src/graph/-private/graph.ts
|
|
1004
|
+
// src/graph/-private/graph.ts
|
|
1016
1005
|
/**
|
|
1017
1006
|
* A single edge (relationship field) tracked by the {@link Graph} for a resource. Which kind of edge
|
|
1018
1007
|
* a field is depends on its relationship definition:
|
|
@@ -1589,8 +1578,7 @@ function isReordered(relationship) {
|
|
|
1589
1578
|
return false;
|
|
1590
1579
|
}
|
|
1591
1580
|
|
|
1592
|
-
|
|
1593
|
-
//#region src/graph/-private.ts
|
|
1581
|
+
// src/graph/-private.ts
|
|
1594
1582
|
/**
|
|
1595
1583
|
Provides a performance tuned normalized graph for intelligently managing relationships between resources based on identity
|
|
1596
1584
|
|
|
@@ -1598,6 +1586,8 @@ While this Graph is abstract, it currently is a private implementation required
|
|
|
1598
1586
|
|
|
1599
1587
|
We intend to make this Graph public API after some additional iteration during the 5.x timeframe, until then all APIs should be considered experimental and unstable, not fit for direct application or 3rd party library usage.
|
|
1600
1588
|
|
|
1589
|
+
@summary Experimental, private relationship graph used by the {json:api} Cache to track links between resources
|
|
1590
|
+
by identity.
|
|
1601
1591
|
@module
|
|
1602
1592
|
*/
|
|
1603
1593
|
function isStore(maybeStore) {
|
|
@@ -1623,6 +1613,5 @@ function graphFor(store) {
|
|
|
1623
1613
|
return graph;
|
|
1624
1614
|
}
|
|
1625
1615
|
|
|
1626
|
-
//#endregion
|
|
1627
1616
|
export { graphFor, isBelongsTo, peekGraph };
|
|
1628
1617
|
//# sourceMappingURL=-private.js.map
|