@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,13 @@
|
|
|
1
|
-
import { l as ResourceKey } from "./identifier-
|
|
2
|
-
import { b as SingleResourceRelationship, n as CollectionResourceRelationship } from "./json-api-raw-
|
|
3
|
-
import { r as RemoveFromResourceRelationshipMutation, t as AddToResourceRelationshipMutation } from "./mutations-
|
|
4
|
-
import { l as RemoveFromResourceRelationshipOperation, p as UpdateResourceRelationshipOperation, r as AddToResourceRelationshipOperation } from "./operations-
|
|
5
|
-
//#region src/types/graph.d.ts
|
|
1
|
+
import { l as ResourceKey } from "./identifier-DmgDehQK.js";
|
|
2
|
+
import { b as SingleResourceRelationship, n as CollectionResourceRelationship } from "./json-api-raw-juUdIITO.js";
|
|
3
|
+
import { r as RemoveFromResourceRelationshipMutation, t as AddToResourceRelationshipMutation } from "./mutations-CA39mior.js";
|
|
4
|
+
import { l as RemoveFromResourceRelationshipOperation, p as UpdateResourceRelationshipOperation, r as AddToResourceRelationshipOperation } from "./operations-C1WAEKKq.js";
|
|
6
5
|
/**
|
|
7
6
|
* All Graph operations are objects with at least one property,
|
|
8
7
|
* `op`, which contains a string with the name of the operation
|
|
9
8
|
* to perform.
|
|
9
|
+
*
|
|
10
|
+
* @summary Base shape of every relationship Graph operation, carrying the operation's name in `op`.
|
|
10
11
|
*/
|
|
11
12
|
interface Operation {
|
|
12
13
|
/**
|
|
@@ -16,6 +17,8 @@ interface Operation {
|
|
|
16
17
|
}
|
|
17
18
|
/**
|
|
18
19
|
* Replaces the state of a relationship on the Graph with a new state.
|
|
20
|
+
*
|
|
21
|
+
* @summary Graph operation that replaces a relationship's remote state with a raw JSON:API relationship object.
|
|
19
22
|
*/
|
|
20
23
|
interface UpdateRelationshipOperation {
|
|
21
24
|
/**
|
|
@@ -38,6 +41,9 @@ interface UpdateRelationshipOperation {
|
|
|
38
41
|
/**
|
|
39
42
|
* Signals to the Graph that a resource has been deleted, so that
|
|
40
43
|
* it can be removed from any relationships that reference it.
|
|
44
|
+
*
|
|
45
|
+
* @summary Graph operation signaling that a resource was deleted so it is removed from every relationship that
|
|
46
|
+
* references it.
|
|
41
47
|
*/
|
|
42
48
|
interface DeleteRecordOperation {
|
|
43
49
|
/**
|
|
@@ -56,6 +62,9 @@ interface DeleteRecordOperation {
|
|
|
56
62
|
/**
|
|
57
63
|
* A placeholder operation for a relationship whose kind (`to-one` vs
|
|
58
64
|
* `to-many`) is not yet known to the Graph.
|
|
65
|
+
*
|
|
66
|
+
* @summary Placeholder Graph operation, with `op: 'never'`, for a relationship whose to-one or to-many kind is not
|
|
67
|
+
* yet known.
|
|
59
68
|
*/
|
|
60
69
|
interface UnknownOperation {
|
|
61
70
|
/**
|
|
@@ -73,6 +82,8 @@ interface UnknownOperation {
|
|
|
73
82
|
}
|
|
74
83
|
/**
|
|
75
84
|
* Replaces the state of a `to-one` relationship on the Graph with a new value.
|
|
85
|
+
*
|
|
86
|
+
* @summary Graph operation that sets a to-one relationship's value, or swaps a single member of a to-many.
|
|
76
87
|
*/
|
|
77
88
|
interface ReplaceRelatedRecordOperation {
|
|
78
89
|
/**
|
|
@@ -103,6 +114,8 @@ interface ReplaceRelatedRecordOperation {
|
|
|
103
114
|
}
|
|
104
115
|
/**
|
|
105
116
|
* Reorders the state of a `to-many` relationship on the Graph.
|
|
117
|
+
*
|
|
118
|
+
* @summary Graph operation that reorders the members of a to-many relationship.
|
|
106
119
|
*/
|
|
107
120
|
interface SortRelatedRecords {
|
|
108
121
|
/**
|
|
@@ -125,6 +138,8 @@ interface SortRelatedRecords {
|
|
|
125
138
|
/**
|
|
126
139
|
* Replaces the state of a `to-many` relationship on the Graph with a
|
|
127
140
|
* new set of values.
|
|
141
|
+
*
|
|
142
|
+
* @summary Graph operation that replaces or splices the members of a to-many relationship.
|
|
128
143
|
*/
|
|
129
144
|
interface ReplaceRelatedRecordsOperation {
|
|
130
145
|
/**
|
|
@@ -167,6 +182,8 @@ interface ReplaceRelatedRecordsOperation {
|
|
|
167
182
|
* - {@link AddResourceOperation}
|
|
168
183
|
* - {@link DeleteRecordOperation}
|
|
169
184
|
* - {@link SortRelatedRecords}
|
|
185
|
+
*
|
|
186
|
+
* @summary Union of the Graph operations that update a relationship's remote (persisted) state.
|
|
170
187
|
*/
|
|
171
188
|
type RemoteRelationshipOperation = UpdateResourceRelationshipOperation | UpdateRelationshipOperation | ReplaceRelatedRecordOperation | ReplaceRelatedRecordsOperation | RemoveFromResourceRelationshipOperation | AddToResourceRelationshipOperation | DeleteRecordOperation | SortRelatedRecords;
|
|
172
189
|
/**
|
|
@@ -179,8 +196,9 @@ type RemoteRelationshipOperation = UpdateResourceRelationshipOperation | UpdateR
|
|
|
179
196
|
* - {@link AddResourceMutation}
|
|
180
197
|
* - {@link RemoveResourceMutation}
|
|
181
198
|
* - {@link SortRelatedRecords}
|
|
199
|
+
*
|
|
200
|
+
* @summary Union of the Graph operations that update a relationship's local (uncommitted) state.
|
|
182
201
|
*/
|
|
183
202
|
type LocalRelationshipOperation = ReplaceRelatedRecordsOperation | ReplaceRelatedRecordOperation | AddToResourceRelationshipMutation | RemoveFromResourceRelationshipMutation | SortRelatedRecords;
|
|
184
|
-
//#endregion
|
|
185
203
|
export { ReplaceRelatedRecordOperation as a, UnknownOperation as c, RemoteRelationshipOperation as i, UpdateRelationshipOperation as l, LocalRelationshipOperation as n, ReplaceRelatedRecordsOperation as o, Operation as r, SortRelatedRecords as s, DeleteRecordOperation as t };
|
|
186
|
-
//# sourceMappingURL=graph-
|
|
204
|
+
//# sourceMappingURL=graph-BqxaFjEb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-BqxaFjEb.d.ts","names":["RemoveResourceOperation","AddResourceOperation","AddResourceMutation","RemoveResourceMutation"],"sources":["../src/types/graph.ts"],"mappings":";;;;;;;;;;;UAyBiB;;;;EAIf;;;;;;;UAQe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;EAIA,OAAO,6BAA6B;;;;;;;;;UAUrB;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;;;;;UAUe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;;;UAQe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;EAKA,OAAO;;;;EAIP,QAAQ;;;;EAIR;;;;;;;UAQe;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;EAIA,OAAO;;;;;;;;UASQ;;;;EAIf;;;;EAIA,QAAQ;;;;EAIR;;;;;;EAMA,OAAO;;;;EAIP,QAAQ;;;;EAIR;;;;;;;;;;;;;;;;;;KAmBU,8BACR,sCACA,8BACA,gCACA,iCACAA,0CACAC,qCACA,wBACA;;;;;;;;;;;;;;KAeQ,6BACR,iCACA,gCACAC,oCACAC,yCACA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/types/identifier.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* @private
|
|
4
3
|
*/
|
|
@@ -19,6 +18,8 @@ declare const CACHE_OWNER: "__$co";
|
|
|
19
18
|
* Identifies which "bucket" of the cache a key belongs to: resources
|
|
20
19
|
* (`'record'`, see {@link ResourceKey}) or request documents
|
|
21
20
|
* (`'document'`, see {@link RequestKey}).
|
|
21
|
+
*
|
|
22
|
+
* @summary Which cache bucket a key belongs to: `'record'` for resource keys or `'document'` for request keys.
|
|
22
23
|
*/
|
|
23
24
|
type CacheKeyType = "record" | "document";
|
|
24
25
|
/**
|
|
@@ -28,6 +29,11 @@ type CacheKeyType = "record" | "document";
|
|
|
28
29
|
* Only requests that are assigned a RequestKey are retrievable/replayable from
|
|
29
30
|
* the cache, though requests without RequestKeys may still update cache state.
|
|
30
31
|
*
|
|
32
|
+
* The [Key Terminology](/guides/the-manual/caching/key-terms#documents) guide explains
|
|
33
|
+
* the documents it identifies.
|
|
34
|
+
*
|
|
35
|
+
* @summary Stable object with a unique `lid` that references a cached request document, letting that request's
|
|
36
|
+
* result be retrieved or replayed.
|
|
31
37
|
* @public
|
|
32
38
|
*/
|
|
33
39
|
interface RequestKey {
|
|
@@ -40,7 +46,10 @@ interface RequestKey {
|
|
|
40
46
|
*/
|
|
41
47
|
type: "@document";
|
|
42
48
|
}
|
|
43
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* @summary Deprecated alias for `RequestKey`, the stable cache reference to a request document.
|
|
51
|
+
* @deprecated use {@link RequestKey}
|
|
52
|
+
*/
|
|
44
53
|
type StableDocumentIdentifier = RequestKey;
|
|
45
54
|
/**
|
|
46
55
|
* Used when an ResourceKey is known to be the stable version
|
|
@@ -66,6 +75,8 @@ interface ResourceKeyBase<T extends string = string> {
|
|
|
66
75
|
* Distinguishing between this ResourceKey and one for a client created
|
|
67
76
|
* resource that was created with an ID is generally speaking not possible
|
|
68
77
|
* at runtime, so anything with an ID typically narrows to this.
|
|
78
|
+
*
|
|
79
|
+
* @summary Resource key whose `id` is a known string, the form keys for server-loaded resources take.
|
|
69
80
|
*/
|
|
70
81
|
interface PersistedResourceKey<T extends string = string> extends ResourceKeyBase<T> {
|
|
71
82
|
/**
|
|
@@ -75,7 +86,10 @@ interface PersistedResourceKey<T extends string = string> extends ResourceKeyBas
|
|
|
75
86
|
*/
|
|
76
87
|
id: string;
|
|
77
88
|
}
|
|
78
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* @summary Deprecated alias for `PersistedResourceKey`, a resource key whose `id` is known.
|
|
91
|
+
* @deprecated use {@link PersistedResourceKey}
|
|
92
|
+
*/
|
|
79
93
|
type StableExistingRecordIdentifier<T extends string = string> = PersistedResourceKey<T>;
|
|
80
94
|
/**
|
|
81
95
|
* Used when a ResourceKey was created locally
|
|
@@ -85,6 +99,8 @@ type StableExistingRecordIdentifier<T extends string = string> = PersistedResour
|
|
|
85
99
|
* that is not for a new record but does not have an ID. This would
|
|
86
100
|
* happen if a user intentionally created one for use with a secondary-index
|
|
87
101
|
* prior to the record having been fully loaded.
|
|
102
|
+
*
|
|
103
|
+
* @summary Resource key for a record created locally with `store.createRecord`, whose `id` may still be `null`.
|
|
88
104
|
*/
|
|
89
105
|
interface NewResourceKey<T extends string = string> extends ResourceKeyBase<T> {
|
|
90
106
|
/**
|
|
@@ -102,11 +118,18 @@ interface NewResourceKey<T extends string = string> extends ResourceKeyBase<T> {
|
|
|
102
118
|
* Every resource has a unique ResourceKey, and ResourceKeys may refer
|
|
103
119
|
* to data that has never been loaded (for instance, in an async relationship).
|
|
104
120
|
*
|
|
121
|
+
* The [Key Terminology](/guides/the-manual/caching/key-terms#resources) guide explains
|
|
122
|
+
* the resources it identifies.
|
|
123
|
+
*
|
|
124
|
+
* @summary Stable object with a unique `lid` plus `type` and `id` that uniquely references one resource's data in
|
|
125
|
+
* the cache, loaded or not.
|
|
105
126
|
* @public
|
|
106
127
|
*/
|
|
107
128
|
type ResourceKey<T extends string = string> = PersistedResourceKey<T> | NewResourceKey<T>;
|
|
108
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* @summary Deprecated alias for `ResourceKey`, the stable cache reference to a single resource.
|
|
131
|
+
* @deprecated use {@link ResourceKey}
|
|
132
|
+
*/
|
|
109
133
|
type StableRecordIdentifier<T extends string = string> = ResourceKey<T>;
|
|
110
|
-
//#endregion
|
|
111
134
|
export { DEBUG_STALE_CACHE_OWNER as a, RequestKey as c, StableExistingRecordIdentifier as d, StableRecordIdentifier as f, DEBUG_KEY_TYPE as i, ResourceKey as l, CacheKeyType as n, NewResourceKey as o, DEBUG_CLIENT_ORIGINATED as r, PersistedResourceKey as s, CACHE_OWNER as t, StableDocumentIdentifier as u };
|
|
112
|
-
//# sourceMappingURL=identifier-
|
|
135
|
+
//# sourceMappingURL=identifier-DmgDehQK.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifier-DmgDehQK.d.ts","names":[],"sources":["../src/types/identifier.ts"],"mappings":";;;cAYa;;;;cAIA;;;;cAIA;;;;cAUA;;;;;;;;KASD;;;;;;;;;;;;;;;UAgBK;;;;EAIf;;;;EAIA;;;;;;KASU,2BAA2B;;;;UAK7B,gBAAgB;;;;;;EAMxB;;;;;;EAOA,MAAM;;;;;;;;;;;;UAqBS,qBAAqB,mCAAmC,gBAAgB;;;;;;EAMvF;;;;;;KAOU,+BAA+B,6BAA6B,qBAAqB;;;;;;;;;;;;UAa5E,eAAe,mCAAmC,gBAAgB;;;;;;;EAOjF;;;;;;;;;;;;;;;;KAiBU,YAAY,6BAA6B,qBAAqB,KAAK,eAAe;;;;;KAMlF,uBAAuB,6BAA6B,YAAY"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as Document, At as CachePolicy, L as Fetch, M as useRecommendedStore, Mt as StoreRequestContext, Nt as StoreRequestInput, St as recordIdentifierFor, an as NotifyKeys, dn as setIdentifierGenerationMethod, en as CacheOperation, et as Store, fn as setIdentifierResetMethod, in as NotificationType, j as StoreSetupOptions, jt as CacheHandler, k as ConfiguredStore, mn as setKeyInfoForResource, nn as NotificationChannel, pn as setIdentifierUpdateMethod, pr as RequestManager, tn as DocumentCacheOperation, un as setIdentifierForgetMethod, wt as storeFor } from "./internal-D_WIXC4r.js";
|
|
2
2
|
export { CacheHandler, type CacheOperation, type CachePolicy, ConfiguredStore, Document, type DocumentCacheOperation, Fetch, type NotificationChannel, type NotificationType, type NotifyKeys, RequestManager, Store, type StoreRequestContext, type StoreRequestInput, StoreSetupOptions, recordIdentifierFor as cacheKeyFor, recordIdentifierFor, setIdentifierForgetMethod, setIdentifierGenerationMethod, setIdentifierResetMethod, setIdentifierUpdateMethod, setKeyInfoForResource, storeFor, useRecommendedStore };
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as setIdentifierGenerationMethod, M as setIdentifierUpdateMethod, N as setKeyInfoForResource, S as recordIdentifierFor, h as Store, j as setIdentifierResetMethod, k as setIdentifierForgetMethod, m as CacheHandler, n as RequestManager, r as Fetch, t as useRecommendedStore, w as storeFor } from "./src-ccp1WKyt.js";
|
|
2
2
|
|
|
3
3
|
export { CacheHandler, Fetch, RequestManager, Store, recordIdentifierFor as cacheKeyFor, recordIdentifierFor, setIdentifierForgetMethod, setIdentifierGenerationMethod, setIdentifierResetMethod, setIdentifierUpdateMethod, setKeyInfoForResource, storeFor, useRecommendedStore };
|