woocommerce/plugins/woocommerce-admin/client/wc-api/wc-api-spec.js

21 lines
262 B
JavaScript

function createWcApiSpec() {
return {
name: 'wcApi',
mutations: {},
selectors: {},
operations: {
read() {
return [];
},
update() {
return [];
},
updateLocally() {
return [];
},
},
};
}
export default createWcApiSpec();