/**
* External dependencies
*/
import React from 'react';
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import { RSVP as RSVPIcon } from '../../icons';
import RSVP from './container';
import { KEY_TICKET_GOING_COUNT, KEY_TICKET_NOT_GOING_COUNT, KEY_TICKET_HEADER } from '../../data/utils';
/**
* Module Code
*/
export default {
id: 'rsvp',
title: __( 'RSVP', 'event-tickets' ),
description: __( 'Find out who is planning to attend!', 'event-tickets' ),
icon: <RSVPIcon />,
category: 'tribe-tickets',
keywords: [ 'event', 'events-gutenberg', 'tribe' ],
supports: {
html: false,
multiple: false,
customClassName: false,
},
attributes: {
goingCount: {
type: 'integer',
source: 'meta',
meta: KEY_TICKET_GOING_COUNT,
},
notGoingCount: {
type: 'integer',
source: 'meta',
meta: KEY_TICKET_NOT_GOING_COUNT,
},
headerImageId: {
type: 'integer',
source: 'meta',
meta: KEY_TICKET_HEADER,
},
},
edit: RSVP,
save: () => null,
};
|