@wordpress/core-data 7.37.0 → 7.37.1-next.ba3aee3a2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -2
- package/LICENSE.md +1 -1
- package/README.md +0 -1
- package/build/{actions.js → actions.cjs} +8 -8
- package/build/batch/{create-batch.js → create-batch.cjs} +2 -2
- package/build/batch/{default-processor.js → default-processor.cjs} +1 -1
- package/build/batch/{index.js → index.cjs} +3 -3
- package/build/{dynamic-entities.js → dynamic-entities.cjs} +1 -1
- package/build/{entities.js → entities.cjs} +3 -3
- package/build/{entity-context.js → entity-context.cjs} +1 -1
- package/build/{entity-provider.js → entity-provider.cjs} +2 -2
- package/build/entity-types/{attachment.js → attachment.cjs} +1 -1
- package/build/entity-types/{base-entity-records.js → base-entity-records.cjs} +1 -1
- package/build/entity-types/{base.js → base.cjs} +1 -1
- package/build/entity-types/{comment.js → comment.cjs} +1 -1
- package/build/entity-types/{font-collection.js → font-collection.cjs} +1 -1
- package/build/entity-types/{font-family.js → font-family.cjs} +1 -1
- package/build/entity-types/{global-styles-revision.js → global-styles-revision.cjs} +1 -1
- package/build/entity-types/{helpers.js → helpers.cjs} +1 -1
- package/build/entity-types/{index.js → index.cjs} +1 -1
- package/build/entity-types/{menu-location.js → menu-location.cjs} +1 -1
- package/build/entity-types/{nav-menu-item.js → nav-menu-item.cjs} +1 -1
- package/build/entity-types/{nav-menu.js → nav-menu.cjs} +1 -1
- package/build/entity-types/{page.js → page.cjs} +1 -1
- package/build/entity-types/{plugin.js → plugin.cjs} +1 -1
- package/build/entity-types/{post-revision.js → post-revision.cjs} +1 -1
- package/build/entity-types/{post-status.js → post-status.cjs} +1 -1
- package/build/entity-types/{post.js → post.cjs} +1 -1
- package/build/entity-types/{settings.js → settings.cjs} +1 -1
- package/build/entity-types/{sidebar.js → sidebar.cjs} +1 -1
- package/build/entity-types/{taxonomy.js → taxonomy.cjs} +1 -1
- package/build/entity-types/{term.js → term.cjs} +1 -1
- package/build/entity-types/{theme.js → theme.cjs} +1 -1
- package/build/entity-types/{type.js → type.cjs} +1 -1
- package/build/entity-types/{user.js → user.cjs} +1 -1
- package/build/entity-types/{widget-type.js → widget-type.cjs} +1 -1
- package/build/entity-types/{widget.js → widget.cjs} +1 -1
- package/build/entity-types/{wp-template-part.js → wp-template-part.cjs} +1 -1
- package/build/entity-types/{wp-template.js → wp-template.cjs} +1 -1
- package/build/fetch/{__experimental-fetch-link-suggestions.js → __experimental-fetch-link-suggestions.cjs} +1 -1
- package/build/fetch/{__experimental-fetch-url-data.js → __experimental-fetch-url-data.cjs} +1 -1
- package/build/fetch/{index.js → index.cjs} +3 -3
- package/build/footnotes/{get-footnotes-order.js → get-footnotes-order.cjs} +2 -2
- package/build/footnotes/{get-rich-text-values-cached.js → get-rich-text-values-cached.cjs} +2 -2
- package/build/footnotes/{index.js → index.cjs} +2 -2
- package/build/hooks/{constants.js → constants.cjs} +1 -1
- package/build/hooks/{index.js → index.cjs} +7 -7
- package/build/hooks/{memoize.js → memoize.cjs} +1 -1
- package/build/hooks/{use-entity-block-editor.js → use-entity-block-editor.cjs} +4 -4
- package/build/hooks/{use-entity-id.js → use-entity-id.cjs} +2 -2
- package/build/hooks/{use-entity-prop.js → use-entity-prop.cjs} +3 -3
- package/build/hooks/{use-entity-record.js → use-entity-record.cjs} +3 -3
- package/build/hooks/{use-entity-record.js.map → use-entity-record.cjs.map} +2 -2
- package/build/hooks/{use-entity-records.js → use-entity-records.cjs} +5 -5
- package/build/hooks/{use-query-select.js → use-query-select.cjs} +3 -3
- package/build/hooks/{use-resource-permissions.js → use-resource-permissions.cjs} +4 -4
- package/build/{index.js → index.cjs} +24 -24
- package/build/{index.js.map → index.cjs.map} +1 -1
- package/build/{lock-unlock.js → lock-unlock.cjs} +1 -1
- package/build/locks/{actions.js → actions.cjs} +2 -2
- package/build/locks/{engine.js → engine.cjs} +3 -3
- package/build/locks/{reducer.js → reducer.cjs} +2 -2
- package/build/locks/{selectors.js → selectors.cjs} +2 -2
- package/build/locks/{utils.js → utils.cjs} +1 -1
- package/build/{name.js → name.cjs} +1 -1
- package/build/{private-actions.js → private-actions.cjs} +2 -2
- package/build/{private-apis.js → private-apis.cjs} +4 -4
- package/build/{private-selectors.js → private-selectors.cjs} +6 -6
- package/build/queried-data/{actions.js → actions.cjs} +1 -1
- package/build/queried-data/{get-query-parts.js → get-query-parts.cjs} +2 -2
- package/build/queried-data/{index.js → index.cjs} +6 -6
- package/build/queried-data/{index.js.map → index.cjs.map} +1 -1
- package/build/queried-data/{reducer.js → reducer.cjs} +4 -4
- package/build/queried-data/{selectors.js → selectors.cjs} +3 -3
- package/build/{reducer.js → reducer.cjs} +4 -4
- package/build/{resolvers.js → resolvers.cjs} +6 -6
- package/build/{selectors.js → selectors.cjs} +7 -7
- package/build/{selectors.js.map → selectors.cjs.map} +2 -2
- package/build/{sync.js → sync.cjs} +1 -1
- package/build/{types.js → types.cjs} +1 -1
- package/build/utils/{conservative-map-item.js → conservative-map-item.cjs} +1 -1
- package/build/utils/{crdt-blocks.js → crdt-blocks.cjs} +7 -6
- package/build/utils/{crdt-blocks.js.map → crdt-blocks.cjs.map} +2 -2
- package/build/utils/{crdt.js → crdt.cjs} +4 -4
- package/build/utils/{crdt.js.map → crdt.cjs.map} +2 -2
- package/build/utils/{forward-resolver.js → forward-resolver.cjs} +1 -1
- package/build/utils/{get-nested-value.js → get-nested-value.cjs} +1 -1
- package/build/utils/{get-normalized-comma-separable.js → get-normalized-comma-separable.cjs} +1 -1
- package/build/utils/{if-matching-action.js → if-matching-action.cjs} +1 -1
- package/build/utils/{index.js → index.cjs} +14 -14
- package/build/utils/{is-numeric-id.js → is-numeric-id.cjs} +1 -1
- package/build/utils/{is-raw-attribute.js → is-raw-attribute.cjs} +1 -1
- package/build/utils/{log-entity-deprecation.js → log-entity-deprecation.cjs} +2 -2
- package/build/utils/{on-sub-key.js → on-sub-key.cjs} +1 -1
- package/build/utils/{receive-intermediate-results.js → receive-intermediate-results.cjs} +2 -2
- package/build/utils/{replace-action.js → replace-action.cjs} +1 -1
- package/build/utils/{set-nested-value.js → set-nested-value.cjs} +1 -1
- package/build/utils/{user-permissions.js → user-permissions.cjs} +1 -1
- package/build/utils/{with-weak-map-cache.js → with-weak-map-cache.cjs} +1 -1
- package/build-module/{actions.js → actions.mjs} +8 -8
- package/build-module/batch/{create-batch.js → create-batch.mjs} +2 -2
- package/build-module/batch/{default-processor.js → default-processor.mjs} +1 -1
- package/build-module/batch/index.mjs +8 -0
- package/build-module/{dynamic-entities.js → dynamic-entities.mjs} +1 -1
- package/build-module/{entities.js → entities.mjs} +3 -3
- package/build-module/{entity-context.js → entity-context.mjs} +1 -1
- package/build-module/{entity-provider.js → entity-provider.mjs} +2 -2
- package/build-module/entity-types/attachment.mjs +1 -0
- package/build-module/entity-types/base-entity-records.mjs +1 -0
- package/build-module/entity-types/base.mjs +1 -0
- package/build-module/entity-types/comment.mjs +1 -0
- package/build-module/entity-types/font-collection.mjs +1 -0
- package/build-module/entity-types/font-family.mjs +1 -0
- package/build-module/entity-types/global-styles-revision.mjs +1 -0
- package/build-module/entity-types/helpers.mjs +1 -0
- package/build-module/entity-types/index.mjs +1 -0
- package/build-module/entity-types/menu-location.mjs +1 -0
- package/build-module/entity-types/nav-menu-item.mjs +1 -0
- package/build-module/entity-types/nav-menu.mjs +1 -0
- package/build-module/entity-types/page.mjs +1 -0
- package/build-module/entity-types/plugin.mjs +1 -0
- package/build-module/entity-types/post-revision.mjs +1 -0
- package/build-module/entity-types/post-status.mjs +1 -0
- package/build-module/entity-types/post.mjs +1 -0
- package/build-module/entity-types/settings.mjs +1 -0
- package/build-module/entity-types/sidebar.mjs +1 -0
- package/build-module/entity-types/taxonomy.mjs +1 -0
- package/build-module/entity-types/term.mjs +1 -0
- package/build-module/entity-types/theme.mjs +1 -0
- package/build-module/entity-types/type.mjs +1 -0
- package/build-module/entity-types/user.mjs +1 -0
- package/build-module/entity-types/widget-type.mjs +1 -0
- package/build-module/entity-types/widget.mjs +1 -0
- package/build-module/entity-types/wp-template-part.mjs +1 -0
- package/build-module/entity-types/wp-template.mjs +1 -0
- package/build-module/fetch/{__experimental-fetch-link-suggestions.js → __experimental-fetch-link-suggestions.mjs} +1 -1
- package/build-module/fetch/{__experimental-fetch-url-data.js → __experimental-fetch-url-data.mjs} +1 -1
- package/build-module/fetch/{index.js → index.mjs} +3 -3
- package/build-module/footnotes/{get-footnotes-order.js → get-footnotes-order.mjs} +2 -2
- package/build-module/footnotes/{get-rich-text-values-cached.js → get-rich-text-values-cached.mjs} +2 -2
- package/build-module/footnotes/{index.js → index.mjs} +2 -2
- package/build-module/hooks/{constants.js → constants.mjs} +1 -1
- package/build-module/hooks/{index.js → index.mjs} +7 -7
- package/build-module/hooks/{memoize.js → memoize.mjs} +1 -1
- package/build-module/hooks/{use-entity-block-editor.js → use-entity-block-editor.mjs} +4 -4
- package/build-module/hooks/{use-entity-id.js → use-entity-id.mjs} +2 -2
- package/build-module/hooks/{use-entity-prop.js → use-entity-prop.mjs} +3 -3
- package/build-module/hooks/{use-entity-record.js → use-entity-record.mjs} +3 -3
- package/build-module/hooks/{use-entity-record.js.map → use-entity-record.mjs.map} +2 -2
- package/build-module/hooks/{use-entity-records.js → use-entity-records.mjs} +5 -5
- package/build-module/hooks/{use-query-select.js → use-query-select.mjs} +3 -3
- package/build-module/hooks/{use-resource-permissions.js → use-resource-permissions.mjs} +4 -4
- package/build-module/{index.js → index.mjs} +19 -19
- package/build-module/{lock-unlock.js → lock-unlock.mjs} +1 -1
- package/build-module/locks/{actions.js → actions.mjs} +2 -2
- package/build-module/locks/{engine.js → engine.mjs} +3 -3
- package/build-module/locks/{reducer.js → reducer.mjs} +2 -2
- package/build-module/locks/{selectors.js → selectors.mjs} +2 -2
- package/build-module/locks/{utils.js → utils.mjs} +1 -1
- package/build-module/{name.js → name.mjs} +1 -1
- package/build-module/{private-actions.js → private-actions.mjs} +2 -2
- package/build-module/{private-apis.js → private-apis.mjs} +4 -4
- package/build-module/{private-selectors.js → private-selectors.mjs} +6 -6
- package/build-module/queried-data/{actions.js → actions.mjs} +1 -1
- package/build-module/queried-data/{get-query-parts.js → get-query-parts.mjs} +2 -2
- package/build-module/queried-data/index.mjs +8 -0
- package/build-module/queried-data/{reducer.js → reducer.mjs} +4 -4
- package/build-module/queried-data/{selectors.js → selectors.mjs} +3 -3
- package/build-module/{reducer.js → reducer.mjs} +4 -4
- package/build-module/{resolvers.js → resolvers.mjs} +6 -6
- package/build-module/{selectors.js → selectors.mjs} +7 -7
- package/build-module/{selectors.js.map → selectors.mjs.map} +2 -2
- package/build-module/{sync.js → sync.mjs} +1 -1
- package/build-module/types.mjs +1 -0
- package/build-module/utils/{conservative-map-item.js → conservative-map-item.mjs} +1 -1
- package/build-module/utils/{crdt-blocks.js → crdt-blocks.mjs} +7 -6
- package/build-module/utils/{crdt-blocks.js.map → crdt-blocks.mjs.map} +2 -2
- package/build-module/utils/{crdt.js → crdt.mjs} +4 -4
- package/build-module/utils/{crdt.js.map → crdt.mjs.map} +2 -2
- package/build-module/utils/{forward-resolver.js → forward-resolver.mjs} +1 -1
- package/build-module/utils/{get-nested-value.js → get-nested-value.mjs} +1 -1
- package/build-module/utils/{get-normalized-comma-separable.js → get-normalized-comma-separable.mjs} +1 -1
- package/build-module/utils/{if-matching-action.js → if-matching-action.mjs} +1 -1
- package/build-module/utils/{index.js → index.mjs} +14 -14
- package/build-module/utils/{is-numeric-id.js → is-numeric-id.mjs} +1 -1
- package/build-module/utils/{is-raw-attribute.js → is-raw-attribute.mjs} +1 -1
- package/build-module/utils/{log-entity-deprecation.js → log-entity-deprecation.mjs} +2 -2
- package/build-module/utils/{on-sub-key.js → on-sub-key.mjs} +1 -1
- package/build-module/utils/{receive-intermediate-results.js → receive-intermediate-results.mjs} +2 -2
- package/build-module/utils/{replace-action.js → replace-action.mjs} +1 -1
- package/build-module/utils/{set-nested-value.js → set-nested-value.mjs} +1 -1
- package/build-module/utils/{user-permissions.js → user-permissions.mjs} +1 -1
- package/build-module/utils/{with-weak-map-cache.js → with-weak-map-cache.mjs} +1 -1
- package/build-types/hooks/use-entity-record.d.ts +0 -1
- package/build-types/hooks/use-entity-record.d.ts.map +1 -1
- package/build-types/index.d.ts +9 -9
- package/build-types/index.d.ts.map +1 -1
- package/build-types/selectors.d.ts +2 -1
- package/build-types/selectors.d.ts.map +1 -1
- package/build-types/utils/crdt-blocks.d.ts.map +1 -1
- package/package.json +34 -24
- package/src/hooks/use-entity-record.ts +0 -1
- package/src/selectors.ts +11 -1
- package/src/utils/crdt-blocks.ts +8 -6
- package/src/utils/crdt.ts +3 -3
- package/src/utils/test/crdt-blocks.ts +99 -0
- package/src/utils/test/crdt.ts +42 -3
- package/build-module/batch/index.js +0 -8
- package/build-module/entity-types/attachment.js +0 -1
- package/build-module/entity-types/base-entity-records.js +0 -1
- package/build-module/entity-types/base.js +0 -1
- package/build-module/entity-types/comment.js +0 -1
- package/build-module/entity-types/font-collection.js +0 -1
- package/build-module/entity-types/font-family.js +0 -1
- package/build-module/entity-types/global-styles-revision.js +0 -1
- package/build-module/entity-types/helpers.js +0 -1
- package/build-module/entity-types/index.js +0 -1
- package/build-module/entity-types/menu-location.js +0 -1
- package/build-module/entity-types/nav-menu-item.js +0 -1
- package/build-module/entity-types/nav-menu.js +0 -1
- package/build-module/entity-types/page.js +0 -1
- package/build-module/entity-types/plugin.js +0 -1
- package/build-module/entity-types/post-revision.js +0 -1
- package/build-module/entity-types/post-status.js +0 -1
- package/build-module/entity-types/post.js +0 -1
- package/build-module/entity-types/settings.js +0 -1
- package/build-module/entity-types/sidebar.js +0 -1
- package/build-module/entity-types/taxonomy.js +0 -1
- package/build-module/entity-types/term.js +0 -1
- package/build-module/entity-types/theme.js +0 -1
- package/build-module/entity-types/type.js +0 -1
- package/build-module/entity-types/user.js +0 -1
- package/build-module/entity-types/widget-type.js +0 -1
- package/build-module/entity-types/widget.js +0 -1
- package/build-module/entity-types/wp-template-part.js +0 -1
- package/build-module/entity-types/wp-template.js +0 -1
- package/build-module/queried-data/index.js +0 -8
- package/build-module/types.js +0 -1
- package/tsconfig.json +0 -25
- package/tsconfig.tsbuildinfo +0 -1
- /package/build/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/batch/{create-batch.js.map → create-batch.cjs.map} +0 -0
- /package/build/batch/{default-processor.js.map → default-processor.cjs.map} +0 -0
- /package/build/batch/{index.js.map → index.cjs.map} +0 -0
- /package/build/{dynamic-entities.js.map → dynamic-entities.cjs.map} +0 -0
- /package/build/{entities.js.map → entities.cjs.map} +0 -0
- /package/build/{entity-context.js.map → entity-context.cjs.map} +0 -0
- /package/build/{entity-provider.js.map → entity-provider.cjs.map} +0 -0
- /package/build/entity-types/{attachment.js.map → attachment.cjs.map} +0 -0
- /package/build/entity-types/{base-entity-records.js.map → base-entity-records.cjs.map} +0 -0
- /package/build/entity-types/{base.js.map → base.cjs.map} +0 -0
- /package/build/entity-types/{comment.js.map → comment.cjs.map} +0 -0
- /package/build/entity-types/{font-collection.js.map → font-collection.cjs.map} +0 -0
- /package/build/entity-types/{font-family.js.map → font-family.cjs.map} +0 -0
- /package/build/entity-types/{global-styles-revision.js.map → global-styles-revision.cjs.map} +0 -0
- /package/build/entity-types/{helpers.js.map → helpers.cjs.map} +0 -0
- /package/build/entity-types/{index.js.map → index.cjs.map} +0 -0
- /package/build/entity-types/{menu-location.js.map → menu-location.cjs.map} +0 -0
- /package/build/entity-types/{nav-menu-item.js.map → nav-menu-item.cjs.map} +0 -0
- /package/build/entity-types/{nav-menu.js.map → nav-menu.cjs.map} +0 -0
- /package/build/entity-types/{page.js.map → page.cjs.map} +0 -0
- /package/build/entity-types/{plugin.js.map → plugin.cjs.map} +0 -0
- /package/build/entity-types/{post-revision.js.map → post-revision.cjs.map} +0 -0
- /package/build/entity-types/{post-status.js.map → post-status.cjs.map} +0 -0
- /package/build/entity-types/{post.js.map → post.cjs.map} +0 -0
- /package/build/entity-types/{settings.js.map → settings.cjs.map} +0 -0
- /package/build/entity-types/{sidebar.js.map → sidebar.cjs.map} +0 -0
- /package/build/entity-types/{taxonomy.js.map → taxonomy.cjs.map} +0 -0
- /package/build/entity-types/{term.js.map → term.cjs.map} +0 -0
- /package/build/entity-types/{theme.js.map → theme.cjs.map} +0 -0
- /package/build/entity-types/{type.js.map → type.cjs.map} +0 -0
- /package/build/entity-types/{user.js.map → user.cjs.map} +0 -0
- /package/build/entity-types/{widget-type.js.map → widget-type.cjs.map} +0 -0
- /package/build/entity-types/{widget.js.map → widget.cjs.map} +0 -0
- /package/build/entity-types/{wp-template-part.js.map → wp-template-part.cjs.map} +0 -0
- /package/build/entity-types/{wp-template.js.map → wp-template.cjs.map} +0 -0
- /package/build/fetch/{__experimental-fetch-link-suggestions.js.map → __experimental-fetch-link-suggestions.cjs.map} +0 -0
- /package/build/fetch/{__experimental-fetch-url-data.js.map → __experimental-fetch-url-data.cjs.map} +0 -0
- /package/build/fetch/{index.js.map → index.cjs.map} +0 -0
- /package/build/footnotes/{get-footnotes-order.js.map → get-footnotes-order.cjs.map} +0 -0
- /package/build/footnotes/{get-rich-text-values-cached.js.map → get-rich-text-values-cached.cjs.map} +0 -0
- /package/build/footnotes/{index.js.map → index.cjs.map} +0 -0
- /package/build/hooks/{constants.js.map → constants.cjs.map} +0 -0
- /package/build/hooks/{index.js.map → index.cjs.map} +0 -0
- /package/build/hooks/{memoize.js.map → memoize.cjs.map} +0 -0
- /package/build/hooks/{use-entity-block-editor.js.map → use-entity-block-editor.cjs.map} +0 -0
- /package/build/hooks/{use-entity-id.js.map → use-entity-id.cjs.map} +0 -0
- /package/build/hooks/{use-entity-prop.js.map → use-entity-prop.cjs.map} +0 -0
- /package/build/hooks/{use-entity-records.js.map → use-entity-records.cjs.map} +0 -0
- /package/build/hooks/{use-query-select.js.map → use-query-select.cjs.map} +0 -0
- /package/build/hooks/{use-resource-permissions.js.map → use-resource-permissions.cjs.map} +0 -0
- /package/build/{lock-unlock.js.map → lock-unlock.cjs.map} +0 -0
- /package/build/locks/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/locks/{engine.js.map → engine.cjs.map} +0 -0
- /package/build/locks/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/locks/{selectors.js.map → selectors.cjs.map} +0 -0
- /package/build/locks/{utils.js.map → utils.cjs.map} +0 -0
- /package/build/{name.js.map → name.cjs.map} +0 -0
- /package/build/{private-actions.js.map → private-actions.cjs.map} +0 -0
- /package/build/{private-apis.js.map → private-apis.cjs.map} +0 -0
- /package/build/{private-selectors.js.map → private-selectors.cjs.map} +0 -0
- /package/build/queried-data/{actions.js.map → actions.cjs.map} +0 -0
- /package/build/queried-data/{get-query-parts.js.map → get-query-parts.cjs.map} +0 -0
- /package/build/queried-data/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/queried-data/{selectors.js.map → selectors.cjs.map} +0 -0
- /package/build/{reducer.js.map → reducer.cjs.map} +0 -0
- /package/build/{resolvers.js.map → resolvers.cjs.map} +0 -0
- /package/build/{sync.js.map → sync.cjs.map} +0 -0
- /package/build/{types.js.map → types.cjs.map} +0 -0
- /package/build/utils/{conservative-map-item.js.map → conservative-map-item.cjs.map} +0 -0
- /package/build/utils/{forward-resolver.js.map → forward-resolver.cjs.map} +0 -0
- /package/build/utils/{get-nested-value.js.map → get-nested-value.cjs.map} +0 -0
- /package/build/utils/{get-normalized-comma-separable.js.map → get-normalized-comma-separable.cjs.map} +0 -0
- /package/build/utils/{if-matching-action.js.map → if-matching-action.cjs.map} +0 -0
- /package/build/utils/{index.js.map → index.cjs.map} +0 -0
- /package/build/utils/{is-numeric-id.js.map → is-numeric-id.cjs.map} +0 -0
- /package/build/utils/{is-raw-attribute.js.map → is-raw-attribute.cjs.map} +0 -0
- /package/build/utils/{log-entity-deprecation.js.map → log-entity-deprecation.cjs.map} +0 -0
- /package/build/utils/{on-sub-key.js.map → on-sub-key.cjs.map} +0 -0
- /package/build/utils/{receive-intermediate-results.js.map → receive-intermediate-results.cjs.map} +0 -0
- /package/build/utils/{replace-action.js.map → replace-action.cjs.map} +0 -0
- /package/build/utils/{set-nested-value.js.map → set-nested-value.cjs.map} +0 -0
- /package/build/utils/{user-permissions.js.map → user-permissions.cjs.map} +0 -0
- /package/build/utils/{with-weak-map-cache.js.map → with-weak-map-cache.cjs.map} +0 -0
- /package/build-module/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/batch/{create-batch.js.map → create-batch.mjs.map} +0 -0
- /package/build-module/batch/{default-processor.js.map → default-processor.mjs.map} +0 -0
- /package/build-module/batch/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{dynamic-entities.js.map → dynamic-entities.mjs.map} +0 -0
- /package/build-module/{entities.js.map → entities.mjs.map} +0 -0
- /package/build-module/{entity-context.js.map → entity-context.mjs.map} +0 -0
- /package/build-module/{entity-provider.js.map → entity-provider.mjs.map} +0 -0
- /package/build-module/entity-types/{attachment.js.map → attachment.mjs.map} +0 -0
- /package/build-module/entity-types/{base-entity-records.js.map → base-entity-records.mjs.map} +0 -0
- /package/build-module/entity-types/{base.js.map → base.mjs.map} +0 -0
- /package/build-module/entity-types/{comment.js.map → comment.mjs.map} +0 -0
- /package/build-module/entity-types/{font-collection.js.map → font-collection.mjs.map} +0 -0
- /package/build-module/entity-types/{font-family.js.map → font-family.mjs.map} +0 -0
- /package/build-module/entity-types/{global-styles-revision.js.map → global-styles-revision.mjs.map} +0 -0
- /package/build-module/entity-types/{helpers.js.map → helpers.mjs.map} +0 -0
- /package/build-module/entity-types/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/entity-types/{menu-location.js.map → menu-location.mjs.map} +0 -0
- /package/build-module/entity-types/{nav-menu-item.js.map → nav-menu-item.mjs.map} +0 -0
- /package/build-module/entity-types/{nav-menu.js.map → nav-menu.mjs.map} +0 -0
- /package/build-module/entity-types/{page.js.map → page.mjs.map} +0 -0
- /package/build-module/entity-types/{plugin.js.map → plugin.mjs.map} +0 -0
- /package/build-module/entity-types/{post-revision.js.map → post-revision.mjs.map} +0 -0
- /package/build-module/entity-types/{post-status.js.map → post-status.mjs.map} +0 -0
- /package/build-module/entity-types/{post.js.map → post.mjs.map} +0 -0
- /package/build-module/entity-types/{settings.js.map → settings.mjs.map} +0 -0
- /package/build-module/entity-types/{sidebar.js.map → sidebar.mjs.map} +0 -0
- /package/build-module/entity-types/{taxonomy.js.map → taxonomy.mjs.map} +0 -0
- /package/build-module/entity-types/{term.js.map → term.mjs.map} +0 -0
- /package/build-module/entity-types/{theme.js.map → theme.mjs.map} +0 -0
- /package/build-module/entity-types/{type.js.map → type.mjs.map} +0 -0
- /package/build-module/entity-types/{user.js.map → user.mjs.map} +0 -0
- /package/build-module/entity-types/{widget-type.js.map → widget-type.mjs.map} +0 -0
- /package/build-module/entity-types/{widget.js.map → widget.mjs.map} +0 -0
- /package/build-module/entity-types/{wp-template-part.js.map → wp-template-part.mjs.map} +0 -0
- /package/build-module/entity-types/{wp-template.js.map → wp-template.mjs.map} +0 -0
- /package/build-module/fetch/{__experimental-fetch-link-suggestions.js.map → __experimental-fetch-link-suggestions.mjs.map} +0 -0
- /package/build-module/fetch/{__experimental-fetch-url-data.js.map → __experimental-fetch-url-data.mjs.map} +0 -0
- /package/build-module/fetch/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/footnotes/{get-footnotes-order.js.map → get-footnotes-order.mjs.map} +0 -0
- /package/build-module/footnotes/{get-rich-text-values-cached.js.map → get-rich-text-values-cached.mjs.map} +0 -0
- /package/build-module/footnotes/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/hooks/{constants.js.map → constants.mjs.map} +0 -0
- /package/build-module/hooks/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/hooks/{memoize.js.map → memoize.mjs.map} +0 -0
- /package/build-module/hooks/{use-entity-block-editor.js.map → use-entity-block-editor.mjs.map} +0 -0
- /package/build-module/hooks/{use-entity-id.js.map → use-entity-id.mjs.map} +0 -0
- /package/build-module/hooks/{use-entity-prop.js.map → use-entity-prop.mjs.map} +0 -0
- /package/build-module/hooks/{use-entity-records.js.map → use-entity-records.mjs.map} +0 -0
- /package/build-module/hooks/{use-query-select.js.map → use-query-select.mjs.map} +0 -0
- /package/build-module/hooks/{use-resource-permissions.js.map → use-resource-permissions.mjs.map} +0 -0
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{lock-unlock.js.map → lock-unlock.mjs.map} +0 -0
- /package/build-module/locks/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/locks/{engine.js.map → engine.mjs.map} +0 -0
- /package/build-module/locks/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/locks/{selectors.js.map → selectors.mjs.map} +0 -0
- /package/build-module/locks/{utils.js.map → utils.mjs.map} +0 -0
- /package/build-module/{name.js.map → name.mjs.map} +0 -0
- /package/build-module/{private-actions.js.map → private-actions.mjs.map} +0 -0
- /package/build-module/{private-apis.js.map → private-apis.mjs.map} +0 -0
- /package/build-module/{private-selectors.js.map → private-selectors.mjs.map} +0 -0
- /package/build-module/queried-data/{actions.js.map → actions.mjs.map} +0 -0
- /package/build-module/queried-data/{get-query-parts.js.map → get-query-parts.mjs.map} +0 -0
- /package/build-module/queried-data/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/queried-data/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/queried-data/{selectors.js.map → selectors.mjs.map} +0 -0
- /package/build-module/{reducer.js.map → reducer.mjs.map} +0 -0
- /package/build-module/{resolvers.js.map → resolvers.mjs.map} +0 -0
- /package/build-module/{sync.js.map → sync.mjs.map} +0 -0
- /package/build-module/{types.js.map → types.mjs.map} +0 -0
- /package/build-module/utils/{conservative-map-item.js.map → conservative-map-item.mjs.map} +0 -0
- /package/build-module/utils/{forward-resolver.js.map → forward-resolver.mjs.map} +0 -0
- /package/build-module/utils/{get-nested-value.js.map → get-nested-value.mjs.map} +0 -0
- /package/build-module/utils/{get-normalized-comma-separable.js.map → get-normalized-comma-separable.mjs.map} +0 -0
- /package/build-module/utils/{if-matching-action.js.map → if-matching-action.mjs.map} +0 -0
- /package/build-module/utils/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/utils/{is-numeric-id.js.map → is-numeric-id.mjs.map} +0 -0
- /package/build-module/utils/{is-raw-attribute.js.map → is-raw-attribute.mjs.map} +0 -0
- /package/build-module/utils/{log-entity-deprecation.js.map → log-entity-deprecation.mjs.map} +0 -0
- /package/build-module/utils/{on-sub-key.js.map → on-sub-key.mjs.map} +0 -0
- /package/build-module/utils/{receive-intermediate-results.js.map → receive-intermediate-results.mjs.map} +0 -0
- /package/build-module/utils/{replace-action.js.map → replace-action.mjs.map} +0 -0
- /package/build-module/utils/{set-nested-value.js.map → set-nested-value.mjs.map} +0 -0
- /package/build-module/utils/{user-permissions.js.map → user-permissions.mjs.map} +0 -0
- /package/build-module/utils/{with-weak-map-cache.js.map → with-weak-map-cache.mjs.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// packages/core-data/src/hooks/use-resource-permissions.ts
|
|
2
2
|
import deprecated from "@wordpress/deprecated";
|
|
3
3
|
import warning from "@wordpress/warning";
|
|
4
|
-
import { store as coreStore } from "../";
|
|
5
|
-
import { Status } from "./constants";
|
|
6
|
-
import useQuerySelect from "./use-query-select";
|
|
4
|
+
import { store as coreStore } from "../index.mjs";
|
|
5
|
+
import { Status } from "./constants.mjs";
|
|
6
|
+
import useQuerySelect from "./use-query-select.mjs";
|
|
7
7
|
function useResourcePermissions(resource, id) {
|
|
8
8
|
const isEntity = typeof resource === "object";
|
|
9
9
|
const resourceAsString = isEntity ? JSON.stringify(resource) : resource;
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
__experimentalUseResourcePermissions,
|
|
75
75
|
use_resource_permissions_default as default
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=use-resource-permissions.
|
|
77
|
+
//# sourceMappingURL=use-resource-permissions.mjs.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// packages/core-data/src/index.js
|
|
2
2
|
import { createReduxStore, register } from "@wordpress/data";
|
|
3
|
-
import reducer from "./reducer";
|
|
4
|
-
import * as selectors from "./selectors";
|
|
5
|
-
import * as privateSelectors from "./private-selectors";
|
|
6
|
-
import * as actions from "./actions";
|
|
7
|
-
import * as privateActions from "./private-actions";
|
|
8
|
-
import * as resolvers from "./resolvers";
|
|
9
|
-
import createLocksActions from "./locks/actions";
|
|
3
|
+
import reducer from "./reducer.mjs";
|
|
4
|
+
import * as selectors from "./selectors.mjs";
|
|
5
|
+
import * as privateSelectors from "./private-selectors.mjs";
|
|
6
|
+
import * as actions from "./actions.mjs";
|
|
7
|
+
import * as privateActions from "./private-actions.mjs";
|
|
8
|
+
import * as resolvers from "./resolvers.mjs";
|
|
9
|
+
import createLocksActions from "./locks/actions.mjs";
|
|
10
10
|
import {
|
|
11
11
|
rootEntitiesConfig,
|
|
12
12
|
additionalEntityConfigLoaders,
|
|
13
13
|
getMethodName
|
|
14
|
-
} from "./entities";
|
|
15
|
-
import { STORE_NAME } from "./name";
|
|
16
|
-
import { unlock } from "./lock-unlock";
|
|
17
|
-
import { dynamicActions, dynamicSelectors } from "./dynamic-entities";
|
|
18
|
-
import logEntityDeprecation from "./utils/log-entity-deprecation";
|
|
19
|
-
import { default as default2 } from "./entity-provider";
|
|
20
|
-
export * from "./entity-provider";
|
|
21
|
-
export * from "./entity-types";
|
|
22
|
-
export * from "./fetch";
|
|
23
|
-
export * from "./hooks";
|
|
24
|
-
export * from "./private-apis";
|
|
14
|
+
} from "./entities.mjs";
|
|
15
|
+
import { STORE_NAME } from "./name.mjs";
|
|
16
|
+
import { unlock } from "./lock-unlock.mjs";
|
|
17
|
+
import { dynamicActions, dynamicSelectors } from "./dynamic-entities.mjs";
|
|
18
|
+
import logEntityDeprecation from "./utils/log-entity-deprecation.mjs";
|
|
19
|
+
import { default as default2 } from "./entity-provider.mjs";
|
|
20
|
+
export * from "./entity-provider.mjs";
|
|
21
|
+
export * from "./entity-types/index.mjs";
|
|
22
|
+
export * from "./fetch/index.mjs";
|
|
23
|
+
export * from "./hooks/index.mjs";
|
|
24
|
+
export * from "./private-apis.mjs";
|
|
25
25
|
var entitiesConfig = [
|
|
26
26
|
...rootEntitiesConfig,
|
|
27
27
|
...additionalEntityConfigLoaders.filter((config) => !!config.name)
|
|
@@ -114,4 +114,4 @@ export {
|
|
|
114
114
|
default2 as EntityProvider,
|
|
115
115
|
store
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=index.
|
|
117
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/core-data/src/locks/actions.js
|
|
2
|
-
import createLocks from "./engine";
|
|
2
|
+
import createLocks from "./engine.mjs";
|
|
3
3
|
function createLocksActions() {
|
|
4
4
|
const locks = createLocks();
|
|
5
5
|
function __unstableAcquireStoreLock(store, path, { exclusive }) {
|
|
@@ -13,4 +13,4 @@ function createLocksActions() {
|
|
|
13
13
|
export {
|
|
14
14
|
createLocksActions as default
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=actions.
|
|
16
|
+
//# sourceMappingURL=actions.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/core-data/src/locks/engine.js
|
|
2
|
-
import reducer from "./reducer";
|
|
3
|
-
import { isLockAvailable, getPendingLockRequests } from "./selectors";
|
|
2
|
+
import reducer from "./reducer.mjs";
|
|
3
|
+
import { isLockAvailable, getPendingLockRequests } from "./selectors.mjs";
|
|
4
4
|
function createLocks() {
|
|
5
5
|
let state = reducer(void 0, { type: "@@INIT" });
|
|
6
6
|
function processPendingLockRequests() {
|
|
@@ -38,4 +38,4 @@ function createLocks() {
|
|
|
38
38
|
export {
|
|
39
39
|
createLocks as default
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=engine.
|
|
41
|
+
//# sourceMappingURL=engine.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// packages/core-data/src/locks/reducer.js
|
|
2
|
-
import { getNode, deepCopyLocksTreePath } from "./utils";
|
|
2
|
+
import { getNode, deepCopyLocksTreePath } from "./utils.mjs";
|
|
3
3
|
var DEFAULT_STATE = {
|
|
4
4
|
requests: [],
|
|
5
5
|
tree: {
|
|
@@ -46,4 +46,4 @@ function locks(state = DEFAULT_STATE, action) {
|
|
|
46
46
|
export {
|
|
47
47
|
locks as default
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=reducer.
|
|
49
|
+
//# sourceMappingURL=reducer.mjs.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
iteratePath,
|
|
5
5
|
hasConflictingLock,
|
|
6
6
|
getNode
|
|
7
|
-
} from "./utils";
|
|
7
|
+
} from "./utils.mjs";
|
|
8
8
|
function getPendingLockRequests(state) {
|
|
9
9
|
return state.requests;
|
|
10
10
|
}
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
getPendingLockRequests,
|
|
32
32
|
isLockAvailable
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=selectors.
|
|
34
|
+
//# sourceMappingURL=selectors.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/core-data/src/private-actions.js
|
|
2
2
|
import apiFetch from "@wordpress/api-fetch";
|
|
3
|
-
import { STORE_NAME } from "./name";
|
|
3
|
+
import { STORE_NAME } from "./name.mjs";
|
|
4
4
|
function receiveRegisteredPostMeta(postType, registeredPostMeta) {
|
|
5
5
|
return {
|
|
6
6
|
type: "RECEIVE_REGISTERED_POST_META",
|
|
@@ -94,4 +94,4 @@ export {
|
|
|
94
94
|
receiveEditorSettings,
|
|
95
95
|
receiveRegisteredPostMeta
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=private-actions.
|
|
97
|
+
//# sourceMappingURL=private-actions.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// packages/core-data/src/private-apis.js
|
|
2
|
-
import { useEntityRecordsWithPermissions } from "./hooks/use-entity-records";
|
|
3
|
-
import { RECEIVE_INTERMEDIATE_RESULTS } from "./utils";
|
|
4
|
-
import { lock } from "./lock-unlock";
|
|
2
|
+
import { useEntityRecordsWithPermissions } from "./hooks/use-entity-records.mjs";
|
|
3
|
+
import { RECEIVE_INTERMEDIATE_RESULTS } from "./utils/index.mjs";
|
|
4
|
+
import { lock } from "./lock-unlock.mjs";
|
|
5
5
|
var privateApis = {};
|
|
6
6
|
lock(privateApis, {
|
|
7
7
|
useEntityRecordsWithPermissions,
|
|
@@ -10,4 +10,4 @@ lock(privateApis, {
|
|
|
10
10
|
export {
|
|
11
11
|
privateApis
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=private-apis.
|
|
13
|
+
//# sourceMappingURL=private-apis.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// packages/core-data/src/private-selectors.ts
|
|
2
2
|
import { createSelector, createRegistrySelector } from "@wordpress/data";
|
|
3
|
-
import { getDefaultTemplateId, getEntityRecord } from "./selectors";
|
|
4
|
-
import { STORE_NAME } from "./name";
|
|
5
|
-
import { unlock } from "./lock-unlock";
|
|
6
|
-
import { getSyncManager } from "./sync";
|
|
7
|
-
import logEntityDeprecation from "./utils/log-entity-deprecation";
|
|
3
|
+
import { getDefaultTemplateId, getEntityRecord } from "./selectors.mjs";
|
|
4
|
+
import { STORE_NAME } from "./name.mjs";
|
|
5
|
+
import { unlock } from "./lock-unlock.mjs";
|
|
6
|
+
import { getSyncManager } from "./sync.mjs";
|
|
7
|
+
import logEntityDeprecation from "./utils/log-entity-deprecation.mjs";
|
|
8
8
|
function getUndoManager(state) {
|
|
9
9
|
if (window.__experimentalEnableSync) {
|
|
10
10
|
if (globalThis.IS_GUTENBERG_PLUGIN) {
|
|
@@ -177,4 +177,4 @@ export {
|
|
|
177
177
|
getTemplateId,
|
|
178
178
|
getUndoManager
|
|
179
179
|
};
|
|
180
|
-
//# sourceMappingURL=private-selectors.
|
|
180
|
+
//# sourceMappingURL=private-selectors.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// packages/core-data/src/queried-data/get-query-parts.js
|
|
2
2
|
import { addQueryArgs } from "@wordpress/url";
|
|
3
|
-
import { withWeakMapCache, getNormalizedCommaSeparable } from "../utils";
|
|
3
|
+
import { withWeakMapCache, getNormalizedCommaSeparable } from "../utils/index.mjs";
|
|
4
4
|
function getQueryParts(query) {
|
|
5
5
|
const parts = {
|
|
6
6
|
stableKey: "",
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
get_query_parts_default as default,
|
|
47
47
|
getQueryParts
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=get-query-parts.
|
|
49
|
+
//# sourceMappingURL=get-query-parts.mjs.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
ifMatchingAction,
|
|
7
7
|
replaceAction,
|
|
8
8
|
onSubKey
|
|
9
|
-
} from "../utils";
|
|
10
|
-
import { DEFAULT_ENTITY_KEY } from "../entities";
|
|
11
|
-
import getQueryParts from "./get-query-parts";
|
|
9
|
+
} from "../utils/index.mjs";
|
|
10
|
+
import { DEFAULT_ENTITY_KEY } from "../entities.mjs";
|
|
11
|
+
import getQueryParts from "./get-query-parts.mjs";
|
|
12
12
|
function getContextFromAction(action) {
|
|
13
13
|
const { query } = action;
|
|
14
14
|
if (!query) {
|
|
@@ -182,4 +182,4 @@ export {
|
|
|
182
182
|
itemIsComplete,
|
|
183
183
|
items
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=reducer.
|
|
185
|
+
//# sourceMappingURL=reducer.mjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// packages/core-data/src/queried-data/selectors.js
|
|
2
2
|
import EquivalentKeyMap from "equivalent-key-map";
|
|
3
3
|
import { createSelector } from "@wordpress/data";
|
|
4
|
-
import getQueryParts from "./get-query-parts";
|
|
5
|
-
import { setNestedValue } from "../utils";
|
|
4
|
+
import getQueryParts from "./get-query-parts.mjs";
|
|
5
|
+
import { setNestedValue } from "../utils/index.mjs";
|
|
6
6
|
var queriedItemsCacheByState = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
function getQueriedItemsUncached(state, query) {
|
|
8
8
|
const { stableKey, page, perPage, include, fields, context } = getQueryParts(query);
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
getQueriedTotalItems,
|
|
78
78
|
getQueriedTotalPages
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=selectors.
|
|
80
|
+
//# sourceMappingURL=selectors.mjs.map
|
|
@@ -3,9 +3,9 @@ import fastDeepEqual from "fast-deep-equal/es6";
|
|
|
3
3
|
import { compose } from "@wordpress/compose";
|
|
4
4
|
import { combineReducers } from "@wordpress/data";
|
|
5
5
|
import { createUndoManager } from "@wordpress/undo-manager";
|
|
6
|
-
import { ifMatchingAction, replaceAction } from "./utils";
|
|
7
|
-
import { reducer as queriedDataReducer } from "./queried-data";
|
|
8
|
-
import { rootEntitiesConfig, DEFAULT_ENTITY_KEY } from "./entities";
|
|
6
|
+
import { ifMatchingAction, replaceAction } from "./utils/index.mjs";
|
|
7
|
+
import { reducer as queriedDataReducer } from "./queried-data/index.mjs";
|
|
8
|
+
import { rootEntitiesConfig, DEFAULT_ENTITY_KEY } from "./entities.mjs";
|
|
9
9
|
function users(state = { byId: {}, queries: {} }, action) {
|
|
10
10
|
switch (action.type) {
|
|
11
11
|
case "RECEIVE_USER_QUERY":
|
|
@@ -446,4 +446,4 @@ export {
|
|
|
446
446
|
userPermissions,
|
|
447
447
|
users
|
|
448
448
|
};
|
|
449
|
-
//# sourceMappingURL=reducer.
|
|
449
|
+
//# sourceMappingURL=reducer.mjs.map
|
|
@@ -3,9 +3,9 @@ import { camelCase } from "change-case";
|
|
|
3
3
|
import { addQueryArgs } from "@wordpress/url";
|
|
4
4
|
import { decodeEntities } from "@wordpress/html-entities";
|
|
5
5
|
import apiFetch from "@wordpress/api-fetch";
|
|
6
|
-
import { STORE_NAME } from "./name";
|
|
7
|
-
import { additionalEntityConfigLoaders, DEFAULT_ENTITY_KEY } from "./entities";
|
|
8
|
-
import { getSyncManager } from "./sync";
|
|
6
|
+
import { STORE_NAME } from "./name.mjs";
|
|
7
|
+
import { additionalEntityConfigLoaders, DEFAULT_ENTITY_KEY } from "./entities.mjs";
|
|
8
|
+
import { getSyncManager } from "./sync.mjs";
|
|
9
9
|
import {
|
|
10
10
|
forwardResolver,
|
|
11
11
|
getNormalizedCommaSeparable,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
ALLOWED_RESOURCE_ACTIONS,
|
|
15
15
|
RECEIVE_INTERMEDIATE_RESULTS,
|
|
16
16
|
isNumericID
|
|
17
|
-
} from "./utils";
|
|
18
|
-
import { fetchBlockPatterns } from "./fetch";
|
|
17
|
+
} from "./utils/index.mjs";
|
|
18
|
+
import { fetchBlockPatterns } from "./fetch/index.mjs";
|
|
19
19
|
var getAuthors = (query) => async ({ dispatch }) => {
|
|
20
20
|
const path = addQueryArgs(
|
|
21
21
|
"/wp/v2/users/?who=authors&per_page=100",
|
|
@@ -776,4 +776,4 @@ export {
|
|
|
776
776
|
getThemeSupports,
|
|
777
777
|
getUserPatternCategories
|
|
778
778
|
};
|
|
779
|
-
//# sourceMappingURL=resolvers.
|
|
779
|
+
//# sourceMappingURL=resolvers.mjs.map
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import { createSelector, createRegistrySelector } from "@wordpress/data";
|
|
3
3
|
import { addQueryArgs } from "@wordpress/url";
|
|
4
4
|
import deprecated from "@wordpress/deprecated";
|
|
5
|
-
import { STORE_NAME } from "./name";
|
|
5
|
+
import { STORE_NAME } from "./name.mjs";
|
|
6
6
|
import {
|
|
7
7
|
getQueriedItems,
|
|
8
8
|
getQueriedTotalItems,
|
|
9
9
|
getQueriedTotalPages
|
|
10
|
-
} from "./queried-data";
|
|
11
|
-
import { DEFAULT_ENTITY_KEY } from "./entities";
|
|
12
|
-
import { getUndoManager } from "./private-selectors";
|
|
10
|
+
} from "./queried-data/index.mjs";
|
|
11
|
+
import { DEFAULT_ENTITY_KEY } from "./entities.mjs";
|
|
12
|
+
import { getUndoManager } from "./private-selectors.mjs";
|
|
13
13
|
import {
|
|
14
14
|
getNormalizedCommaSeparable,
|
|
15
15
|
isRawAttribute,
|
|
16
16
|
setNestedValue,
|
|
17
17
|
isNumericID,
|
|
18
18
|
getUserPermissionCacheKey
|
|
19
|
-
} from "./utils";
|
|
20
|
-
import logEntityDeprecation from "./utils/log-entity-deprecation";
|
|
19
|
+
} from "./utils/index.mjs";
|
|
20
|
+
import logEntityDeprecation from "./utils/log-entity-deprecation.mjs";
|
|
21
21
|
var EMPTY_OBJECT = {};
|
|
22
22
|
var isRequestingEmbedPreview = createRegistrySelector(
|
|
23
23
|
(select) => (state, url) => {
|
|
@@ -585,4 +585,4 @@ export {
|
|
|
585
585
|
isRequestingEmbedPreview,
|
|
586
586
|
isSavingEntityRecord
|
|
587
587
|
};
|
|
588
|
-
//# sourceMappingURL=selectors.
|
|
588
|
+
//# sourceMappingURL=selectors.mjs.map
|