mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 20:46:40 -04:00
33 lines
522 B
JavaScript
33 lines
522 B
JavaScript
![]() |
import { registerFragment } from 'meteor/vulcan:core';
|
||
|
|
||
|
registerFragment(`
|
||
|
fragment ChargeFragment on Charge {
|
||
|
_id
|
||
|
createdAt
|
||
|
createdAtFormatted
|
||
|
user{
|
||
|
_id
|
||
|
slug
|
||
|
username
|
||
|
displayName
|
||
|
pageUrl
|
||
|
emailHash
|
||
|
avatarUrl
|
||
|
}
|
||
|
type
|
||
|
source
|
||
|
productKey
|
||
|
test
|
||
|
associatedCollection
|
||
|
associatedId
|
||
|
|
||
|
# doesn't work with unions, maybe try interface?
|
||
|
# associatedDocument{
|
||
|
# _id
|
||
|
# pageUrl
|
||
|
# }
|
||
|
|
||
|
properties
|
||
|
stripeChargeUrl
|
||
|
}
|
||
|
`);
|