{
  "version": 3,
  "sources": ["../../src/store/types.ts"],
  "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport type { ThunkArgs } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport type {\n\tBlockType,\n\tBlockCategory,\n\tBlockCollection,\n\tBlockStyle,\n\tBlockVariation,\n\tBlockBindingsSource,\n\tIcon,\n} from '../types';\nimport type { store } from '.';\nimport type * as privateSelectors from './private-selectors';\nimport type * as privateActions from './private-actions';\n\n/**\n * The state of the `core/blocks` redux store.\n */\nexport interface BlockStoreState {\n\t/**\n\t * Bootstrapped block types from server-side definitions.\n\t */\n\tbootstrappedBlockTypes: Record< string, Partial< BlockType > >;\n\t/**\n\t * Unprocessed block types pending filter application.\n\t */\n\tunprocessedBlockTypes: Record< string, Partial< BlockType > >;\n\t/**\n\t * Block types by name.\n\t */\n\tblockTypes: Record< string, BlockType >;\n\t/**\n\t * Block styles by block name.\n\t */\n\tblockStyles: Record< string, BlockStyle[] >;\n\t/**\n\t * Block variations by block name.\n\t */\n\tblockVariations: Record< string, BlockVariation[] >;\n\t/**\n\t * Name of the default block.\n\t */\n\tdefaultBlockName: string | null;\n\t/**\n\t * Name of the block for handling non-block content.\n\t */\n\tfreeformFallbackBlockName: string | null;\n\t/**\n\t * Name of the block for handling unregistered blocks.\n\t */\n\tunregisteredFallbackBlockName: string | null;\n\t/**\n\t * Name of the block for handling the grouping of blocks.\n\t */\n\tgroupingBlockName: string | null;\n\t/**\n\t * The available block categories.\n\t */\n\tcategories: BlockCategory[];\n\t/**\n\t * The available collections.\n\t */\n\tcollections: Record< string, BlockCollection >;\n\t/**\n\t * Block bindings sources by name.\n\t * The stored form omits `name` since it's the record key.\n\t */\n\tblockBindingsSources: Record< string, Omit< BlockBindingsSource, 'name' > >;\n}\n\n/**\n * Store action types.\n */\nexport type Action =\n\t| {\n\t\t\ttype: 'ADD_BOOTSTRAPPED_BLOCK_TYPE';\n\t\t\tname: string;\n\t\t\tblockType: Record< string, unknown >;\n\t  }\n\t| {\n\t\t\ttype: 'ADD_UNPROCESSED_BLOCK_TYPE';\n\t\t\tname: string;\n\t\t\tblockType: Partial< BlockType >;\n\t  }\n\t| { type: 'ADD_BLOCK_TYPES'; blockTypes: BlockType[] }\n\t| { type: 'REMOVE_BLOCK_TYPES'; names: string[] }\n\t| {\n\t\t\ttype: 'ADD_BLOCK_STYLES';\n\t\t\tblockNames: string[];\n\t\t\tstyles: BlockStyle[];\n\t  }\n\t| {\n\t\t\ttype: 'REMOVE_BLOCK_STYLES';\n\t\t\tblockName: string;\n\t\t\tstyleNames: string[];\n\t  }\n\t| {\n\t\t\ttype: 'ADD_BLOCK_VARIATIONS';\n\t\t\tblockName: string;\n\t\t\tvariations: BlockVariation[];\n\t  }\n\t| {\n\t\t\ttype: 'REMOVE_BLOCK_VARIATIONS';\n\t\t\tblockName: string;\n\t\t\tvariationNames: string[];\n\t  }\n\t| { type: 'SET_DEFAULT_BLOCK_NAME'; name: string }\n\t| { type: 'SET_FREEFORM_FALLBACK_BLOCK_NAME'; name: string }\n\t| { type: 'SET_UNREGISTERED_FALLBACK_BLOCK_NAME'; name: string }\n\t| { type: 'SET_GROUPING_BLOCK_NAME'; name: string }\n\t| { type: 'SET_CATEGORIES'; categories: BlockCategory[] }\n\t| {\n\t\t\ttype: 'UPDATE_CATEGORY';\n\t\t\tslug: string;\n\t\t\tcategory: Partial< BlockCategory >;\n\t  }\n\t| {\n\t\t\ttype: 'ADD_BLOCK_COLLECTION';\n\t\t\tnamespace: string;\n\t\t\ttitle: string;\n\t\t\ticon?: Icon;\n\t  }\n\t| { type: 'REMOVE_BLOCK_COLLECTION'; namespace: string }\n\t| {\n\t\t\ttype: 'ADD_BLOCK_BINDINGS_SOURCE';\n\t\t\tname: string;\n\t\t\tlabel?: string;\n\t\t\tusesContext?: string[];\n\t\t\tgetValues?: Function;\n\t\t\tsetValues?: Function;\n\t\t\tcanUserEditValue?: Function;\n\t\t\tgetFieldsList?: Function;\n\t  }\n\t| { type: 'REMOVE_BLOCK_BINDINGS_SOURCE'; name: string };\n\n/**\n * Thunk arguments for the blocks store, including private selectors and actions.\n */\nexport type BlocksStoreThunkArgs = ThunkArgs<\n\ttypeof store,\n\ttypeof privateSelectors,\n\ttypeof privateActions\n>;\n"],
  "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;",
  "names": []
}
