@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,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getOrSetGlobal } from "./types/-private.js";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/reactive/-private/symbols.ts
|
|
4
4
|
const SOURCE = getOrSetGlobal("SOURCE", Symbol("#source"));
|
|
5
5
|
const Destroy = getOrSetGlobal("Destroy", Symbol.dispose || Symbol.for("Dispose"));
|
|
6
6
|
/**
|
|
7
7
|
* Symbol for the method used to request a mutable copy of an otherwise
|
|
8
8
|
* immutable {@link ReactiveResource}.
|
|
9
9
|
*
|
|
10
|
+
* @summary Deprecated symbol-keyed method on a ReactiveResource that resolves with an editable copy;
|
|
11
|
+
* use `checkout` instead.
|
|
10
12
|
* @deprecated use the {@link checkout} utility function instead.
|
|
11
13
|
*/
|
|
12
14
|
const Checkout = getOrSetGlobal("Checkout", Symbol("Checkout"));
|
|
@@ -17,6 +19,5 @@ const Commit = getOrSetGlobal("Commit", Symbol("Commit"));
|
|
|
17
19
|
*/
|
|
18
20
|
const Context = getOrSetGlobal("Context", Symbol("Context"));
|
|
19
21
|
|
|
20
|
-
//#endregion
|
|
21
22
|
export { SOURCE as a, Destroy as i, Commit as n, Context as r, Checkout as t };
|
|
22
|
-
//# sourceMappingURL=-private-
|
|
23
|
+
//# sourceMappingURL=-private-BiuED7nc.js.map
|
package/dist/unpkg/{prod/-private-207KndDu.js.map → dev-deprecated/-private-BiuED7nc.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"-private-
|
|
1
|
+
{"version":3,"file":"-private-BiuED7nc.js","names":["getOrSetGlobal","SOURCE","Symbol","Destroy","dispose","for","Checkout","Commit","Context"],"sources":["../../../src/reactive/-private/symbols.ts"],"sourcesContent":["///////////////////\n///// WARNING /////\n///////////////////\n\nimport { getOrSetGlobal } from '../../types/-private';\n\n// Great, got your attention with that warning didn't we?\n// Good. Here's the deal: typescript treats symbols as unique types.\n// If by accident a module creating a symbol is processed more than\n// once, the symbol will be different in each processing. This will\n// cause a type error.\n// It could also cause a runtime error if the symbol is used innapropriately.\n// However, this case is extremely hard to hit and would require other things\n// to go wrong first.\n//\n// So, why do the warning? And why do we lie about the types of the symbols?\n//\n// Because we intentionally create multiple copies of them within the types\n// at build time. This is because we rollup our d.ts files in order to give\n// our consumers a better experience.\n//\n// However, no tool today supports rolling up d.ts files with multiple entry\n// points correctly. The tool we use currently (vite-plugin-dts) uses @microsoft/api-extractor\n// which creates a fully unique stand-alone types file per-entry-point. Thus\n// every entry point that uses one of these symbols somewhere will have accidentally\n// created a new symbol type.\n//\n// This cast allows us to rollup these types using this tool while not encountering\n// the unique symbol type issue.\n//\n// Note that none of these symbols are part of the public API, these are used for\n// debugging DX and as a safe way to provide an intimate contract on public objects.\n\nexport const SOURCE: '___(unique) Symbol(SOURCE)' = getOrSetGlobal('SOURCE', Symbol('#source'));\n\nexport const Destroy: '___(unique) Symbol(Destroy)' = getOrSetGlobal(\n 'Destroy',\n Symbol.dispose || Symbol.for('Dispose')\n);\n/**\n * Symbol for the method used to request a mutable copy of an otherwise\n * immutable {@link ReactiveResource}.\n *\n * @summary Deprecated symbol-keyed method on a ReactiveResource that resolves with an editable copy;\n * use `checkout` instead.\n * @deprecated use the {@link checkout} utility function instead.\n */\nexport const Checkout: '___(unique) Symbol(Checkout)' = getOrSetGlobal('Checkout', Symbol('Checkout'));\nexport const Commit: '___(unique) Symbol(Commit)' = getOrSetGlobal('Commit', Symbol('Commit'));\n\n/**\n * Symbol used to stash the internal field/resource context (schema, store,\n * mutability, etc.) on a {@link ReactiveResource} or reactive field instance.\n */\nexport const Context: '___(unique) Symbol(Context)' = getOrSetGlobal('Context', Symbol('Context'));\n"],"mappings":";;;AAiCA,MAAaC,SAAuCD,eAAe,UAAUE,OAAO,SAAS,CAAC;AAE9F,MAAaC,UAAyCH,eACpD,WACAE,OAAOE,WAAWF,OAAOG,IAAI,SAAS,CACxC;;;;;;;;;AASA,MAAaC,WAA2CN,eAAe,YAAYE,OAAO,UAAU,CAAC;AACrG,MAAaK,SAAuCP,eAAe,UAAUE,OAAO,QAAQ,CAAC;;;;;AAM7F,MAAaM,UAAyCR,eAAe,WAAWE,OAAO,SAAS,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { M as setupSignals } from "./-private-
|
|
1
|
+
import { M as registerSignals, N as setupSignals } from "./-private-B4pCmkq-.js";
|
|
2
2
|
|
|
3
|
-
export { setupSignals };
|
|
3
|
+
export { registerSignals, setupSignals };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as getGlobalConfig } from "../runtime-
|
|
1
|
+
import { getOrSetGlobal, peekTransient, setTransient } from "../types/-private.js";
|
|
2
|
+
import { t as getGlobalConfig } from "../runtime-DZVuMuzL.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/graph/-private/coerce-id.ts
|
|
5
5
|
function coerceId(id) {
|
|
6
6
|
{
|
|
7
7
|
let normalized;
|
|
@@ -12,8 +12,7 @@ function coerceId(id) {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
//#region src/graph/-private/-utils.ts
|
|
15
|
+
// src/graph/-private/-utils.ts
|
|
17
16
|
/** Retrieves the private {@link Store} instance from a capabilities manager (or any object exposing `_store`). */
|
|
18
17
|
function getStore(wrapper) {
|
|
19
18
|
((test) => {
|
|
@@ -44,8 +43,8 @@ function assertValidRelationshipPayload(graph, op) {
|
|
|
44
43
|
const { definition, identifier, state } = relationship;
|
|
45
44
|
const { type } = identifier;
|
|
46
45
|
const { field } = op;
|
|
47
|
-
const { isAsync, kind } = definition;
|
|
48
|
-
if (payload.links) console.warn(`You pushed a record of type '${type}' with a relationship '${field}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. WarpDrive will treat this relationship as known-to-be-empty.`, isAsync || payload.data === null || !!payload.data || state.hasReceivedData, { id: "ds.store.push-link-for-sync-relationship" });
|
|
46
|
+
const { isAsync, isLinksMode, kind } = definition;
|
|
47
|
+
if (payload.links) console.warn(`You pushed a record of type '${type}' with a relationship '${field}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. WarpDrive will treat this relationship as known-to-be-empty.`, isAsync || isLinksMode || payload.data === null || !!payload.data || state.hasReceivedData, { id: "ds.store.push-link-for-sync-relationship" });
|
|
49
48
|
else if (payload.data) {
|
|
50
49
|
if (kind === "belongsTo") {
|
|
51
50
|
((test) => {
|
|
@@ -172,8 +171,7 @@ function assertRelationshipData(store, resourceKey, data, meta) {
|
|
|
172
171
|
})(data === null || !data.type || store.schema.hasResource(data));
|
|
173
172
|
}
|
|
174
173
|
|
|
175
|
-
|
|
176
|
-
//#region src/graph/-private/-edge-definition.ts
|
|
174
|
+
// src/graph/-private/-edge-definition.ts
|
|
177
175
|
const RELATIONSHIP_KINDS = [
|
|
178
176
|
"belongsTo",
|
|
179
177
|
"hasMany",
|
|
@@ -373,7 +371,7 @@ function upgradeDefinition(graph, key, propertyName, isImplicit = false) {
|
|
|
373
371
|
})(storeWrapper.schema.hasResource({ type: inverseType }));
|
|
374
372
|
inverseDefinition = null;
|
|
375
373
|
} else {
|
|
376
|
-
inverseKey = inverseForRelationship(getStore(storeWrapper), key,
|
|
374
|
+
inverseKey = inverseForRelationship(getStore(storeWrapper), key, meta.name);
|
|
377
375
|
if (!inverseKey && definition.isPolymorphic && definition.inverseKey) inverseDefinition = {
|
|
378
376
|
kind: "belongsTo",
|
|
379
377
|
key: definition.inverseKey,
|
|
@@ -398,6 +396,7 @@ function upgradeDefinition(graph, key, propertyName, isImplicit = false) {
|
|
|
398
396
|
if (!test) throw new Error(`Expected ${inverseKey} to be a relationship`);
|
|
399
397
|
})(isRelationshipField(metaFromInverse));
|
|
400
398
|
inverseDefinition = upgradeMeta(metaFromInverse);
|
|
399
|
+
inverseKey = inverseDefinition.key;
|
|
401
400
|
}
|
|
402
401
|
}
|
|
403
402
|
if (!inverseDefinition) {
|
|
@@ -491,8 +490,7 @@ function inverseForRelationship(store, resourceKey, key) {
|
|
|
491
490
|
return definition.options.inverse;
|
|
492
491
|
}
|
|
493
492
|
|
|
494
|
-
|
|
495
|
-
//#region src/graph/-private/debug/assert-polymorphic-type.ts
|
|
493
|
+
// src/graph/-private/debug/assert-polymorphic-type.ts
|
|
496
494
|
let assertPolymorphicType;
|
|
497
495
|
let assertInheritedSchema;
|
|
498
496
|
{
|
|
@@ -626,8 +624,7 @@ let assertInheritedSchema;
|
|
|
626
624
|
};
|
|
627
625
|
}
|
|
628
626
|
|
|
629
|
-
|
|
630
|
-
//#region src/graph/-private/operations/replace-related-records.ts
|
|
627
|
+
// src/graph/-private/operations/replace-related-records.ts
|
|
631
628
|
function count(label) {
|
|
632
629
|
globalThis.__WarpDriveMetricCountData[label] = (globalThis.__WarpDriveMetricCountData[label] || 0) + 1;
|
|
633
630
|
}
|
|
@@ -829,8 +826,7 @@ function flushCanonical(graph, rel, channel) {
|
|
|
829
826
|
if (rel.accessed) graph._scheduleLocalSync(rel, channel);
|
|
830
827
|
}
|
|
831
828
|
|
|
832
|
-
|
|
833
|
-
//#region src/graph/-private/operations/replace-related-record.ts
|
|
829
|
+
// src/graph/-private/operations/replace-related-record.ts
|
|
834
830
|
function replaceRelatedRecord(graph, op, isRemote = false) {
|
|
835
831
|
const relationship = graph.get(op.record, op.field);
|
|
836
832
|
((test) => {
|
|
@@ -887,8 +883,7 @@ function replaceRelatedRecord(graph, op, isRemote = false) {
|
|
|
887
883
|
} else notifyChange(graph, relationship, "local");
|
|
888
884
|
}
|
|
889
885
|
|
|
890
|
-
|
|
891
|
-
//#region src/graph/-private/-diff.ts
|
|
886
|
+
// src/graph/-private/-diff.ts
|
|
892
887
|
function _deprecatedCompare(priorLocalState, newState, newMembers, prevState, prevSet, onAdd, onDel, remoteClearsLocal) {
|
|
893
888
|
const newLength = newState.length;
|
|
894
889
|
const prevLength = prevState.length;
|
|
@@ -1212,8 +1207,7 @@ function rollbackRelationship(graph, key, field, relationship) {
|
|
|
1212
1207
|
}
|
|
1213
1208
|
}
|
|
1214
1209
|
|
|
1215
|
-
|
|
1216
|
-
//#region src/graph/-private/-state.ts
|
|
1210
|
+
// src/graph/-private/-state.ts
|
|
1217
1211
|
function createState() {
|
|
1218
1212
|
if (getGlobalConfig().WarpDriveMirror.debug.LOG_GRAPH || globalThis.getWarpDriveRuntimeConfig().debug.LOG_GRAPH) {
|
|
1219
1213
|
let hasReceivedData = false;
|
|
@@ -1243,8 +1237,7 @@ function createState() {
|
|
|
1243
1237
|
};
|
|
1244
1238
|
}
|
|
1245
1239
|
|
|
1246
|
-
|
|
1247
|
-
//#region src/graph/-private/edges/collection.ts
|
|
1240
|
+
// src/graph/-private/edges/collection.ts
|
|
1248
1241
|
/**
|
|
1249
1242
|
* Stores the graph's internal state for one side of a collection (`hasMany`) relationship.
|
|
1250
1243
|
*/
|
|
@@ -1281,8 +1274,7 @@ function legacyGetCollectionRelationshipData(source, getRemoteState) {
|
|
|
1281
1274
|
return payload;
|
|
1282
1275
|
}
|
|
1283
1276
|
|
|
1284
|
-
|
|
1285
|
-
//#region src/graph/-private/edges/implicit.ts
|
|
1277
|
+
// src/graph/-private/edges/implicit.ts
|
|
1286
1278
|
/**
|
|
1287
1279
|
* The relationship definition (schema metadata) backing an {@link ImplicitEdge}, tagging
|
|
1288
1280
|
* the {@link UpgradedMeta} as belonging to an implicit inverse relationship.
|
|
@@ -1327,8 +1319,7 @@ function createImplicitEdge(definition, identifier) {
|
|
|
1327
1319
|
};
|
|
1328
1320
|
}
|
|
1329
1321
|
|
|
1330
|
-
|
|
1331
|
-
//#region src/graph/-private/edges/resource.ts
|
|
1322
|
+
// src/graph/-private/edges/resource.ts
|
|
1332
1323
|
function createResourceEdge(definition, identifier) {
|
|
1333
1324
|
return {
|
|
1334
1325
|
definition,
|
|
@@ -1354,8 +1345,7 @@ function legacyGetResourceRelationshipData(source, getRemoteState) {
|
|
|
1354
1345
|
return payload;
|
|
1355
1346
|
}
|
|
1356
1347
|
|
|
1357
|
-
|
|
1358
|
-
//#region src/graph/-private/operations/add-to-related-records.ts
|
|
1348
|
+
// src/graph/-private/operations/add-to-related-records.ts
|
|
1359
1349
|
function addToRelatedRecords(graph, op, isRemote) {
|
|
1360
1350
|
const { record, value, index } = op;
|
|
1361
1351
|
const relationship = graph.get(record, op.field);
|
|
@@ -1390,8 +1380,7 @@ function addRelatedRecord(graph, relationship, record, value, index, isRemote) {
|
|
|
1390
1380
|
if (_add(graph, record, relationship, value, index, isRemote)) addToInverse(graph, value, relationship.definition.inverseKey, record, isRemote);
|
|
1391
1381
|
}
|
|
1392
1382
|
|
|
1393
|
-
|
|
1394
|
-
//#region src/graph/-private/operations/merge-identifier.ts
|
|
1383
|
+
// src/graph/-private/operations/merge-identifier.ts
|
|
1395
1384
|
function mergeIdentifier(graph, op, relationships) {
|
|
1396
1385
|
Object.keys(relationships).forEach((key) => {
|
|
1397
1386
|
const rel = relationships[key];
|
|
@@ -1453,8 +1442,7 @@ function mergeImplicit(graph, rel, op) {
|
|
|
1453
1442
|
}
|
|
1454
1443
|
}
|
|
1455
1444
|
|
|
1456
|
-
|
|
1457
|
-
//#region src/graph/-private/operations/remove-from-related-records.ts
|
|
1445
|
+
// src/graph/-private/operations/remove-from-related-records.ts
|
|
1458
1446
|
function removeFromRelatedRecords(graph, op, isRemote) {
|
|
1459
1447
|
const { record, value } = op;
|
|
1460
1448
|
const relationship = graph.get(record, op.field);
|
|
@@ -1488,8 +1476,7 @@ function removeRelatedRecord(graph, record, relationship, value, index, isRemote
|
|
|
1488
1476
|
if (_remove(graph, record, relationship, value, index, isRemote)) removeFromInverse(graph, value, relationship.definition.inverseKey, record, isRemote);
|
|
1489
1477
|
}
|
|
1490
1478
|
|
|
1491
|
-
|
|
1492
|
-
//#region src/graph/-private/normalize-link.ts
|
|
1479
|
+
// src/graph/-private/normalize-link.ts
|
|
1493
1480
|
function _normalizeLink(link) {
|
|
1494
1481
|
switch (typeof link) {
|
|
1495
1482
|
case "object": return link;
|
|
@@ -1497,8 +1484,7 @@ function _normalizeLink(link) {
|
|
|
1497
1484
|
}
|
|
1498
1485
|
}
|
|
1499
1486
|
|
|
1500
|
-
|
|
1501
|
-
//#region src/graph/-private/operations/update-relationship.ts
|
|
1487
|
+
// src/graph/-private/operations/update-relationship.ts
|
|
1502
1488
|
function updateRelationshipOperation(graph, op) {
|
|
1503
1489
|
const relationship = graph.get(op.record, op.field);
|
|
1504
1490
|
((test) => {
|
|
@@ -1569,8 +1555,7 @@ function upgradeIdentifiers(arr, cache) {
|
|
|
1569
1555
|
return arr;
|
|
1570
1556
|
}
|
|
1571
1557
|
|
|
1572
|
-
|
|
1573
|
-
//#region src/graph/-private/graph.ts
|
|
1558
|
+
// src/graph/-private/graph.ts
|
|
1574
1559
|
/**
|
|
1575
1560
|
* A single edge (relationship field) tracked by the {@link Graph} for a resource. Which kind of edge
|
|
1576
1561
|
* a field is depends on its relationship definition:
|
|
@@ -2217,8 +2202,7 @@ function isReordered(relationship) {
|
|
|
2217
2202
|
return false;
|
|
2218
2203
|
}
|
|
2219
2204
|
|
|
2220
|
-
|
|
2221
|
-
//#region src/graph/-private.ts
|
|
2205
|
+
// src/graph/-private.ts
|
|
2222
2206
|
/**
|
|
2223
2207
|
Provides a performance tuned normalized graph for intelligently managing relationships between resources based on identity
|
|
2224
2208
|
|
|
@@ -2226,6 +2210,8 @@ While this Graph is abstract, it currently is a private implementation required
|
|
|
2226
2210
|
|
|
2227
2211
|
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.
|
|
2228
2212
|
|
|
2213
|
+
@summary Experimental, private relationship graph used by the {json:api} Cache to track links between resources
|
|
2214
|
+
by identity.
|
|
2229
2215
|
@module
|
|
2230
2216
|
*/
|
|
2231
2217
|
function isStore(maybeStore) {
|
|
@@ -2252,6 +2238,5 @@ function graphFor(store) {
|
|
|
2252
2238
|
return graph;
|
|
2253
2239
|
}
|
|
2254
2240
|
|
|
2255
|
-
//#endregion
|
|
2256
2241
|
export { graphFor, isBelongsTo, peekGraph };
|
|
2257
2242
|
//# sourceMappingURL=-private.js.map
|