Open
Description
I've been working on a new Algolia integration with @pixelastic. Couple things that need to be changed in core:
- Create new
all.new.async
,all.edit.async
, etc. callback hooks that affect all collections. - Add support for adding custom properties to
createCollection
:
const Rooms = createCollection({
collectionName: 'Rooms',
typeName: 'Room',
schema,
resolvers: getDefaultResolvers('Rooms'),
mutations: getDefaultMutations('Rooms'),
description: 'An individual property listing',
algolia: {
foo: 123,
bar: {
baz: 'lorem ipsum'
}
}
});