app
1 year ago
receipt
1 year ago
registrars
1 year ago
shared
2 years ago
styles
1 year ago
embed.ts
2 years ago
embedInside.ts
2 years ago
entity.ts
1 year ago
propTypes.ts
1 year ago
types.ts
2 years ago
utils.ts
1 year ago
entity.ts
17 lines
| 1 | import {__} from '@wordpress/i18n'; |
| 2 | import {dispatch} from '@wordpress/data'; |
| 3 | import {store} from '@wordpress/core-data'; |
| 4 | |
| 5 | //@ts-ignore |
| 6 | dispatch(store).addEntities([ |
| 7 | { |
| 8 | name: 'form', |
| 9 | kind: 'givewp', |
| 10 | baseURL: '/givewp/v3/forms', |
| 11 | baseURLParams: {}, |
| 12 | plural: 'forms', |
| 13 | label: __('Donation Form', 'give'), |
| 14 | supportsPagination: true, |
| 15 | }, |
| 16 | ]); |
| 17 |