@rnga/orders
Version:
## Get schema from @prisma-cms 1. yarn get-api-schema -e http://localhost:4000 2. yarn build-api-fragments
33 lines (22 loc) • 363 B
JavaScript
import gql from "graphql-tag";
import {
fileFieldsFragment,
} from "./fragments";
const fileFragment = `
fragment file on File{
...fileFields
}
${fileFieldsFragment}
`;
export const file = gql`
query file(
$where: FileWhereUniqueInput!
){
object: file(
where: $where
){
...file
}
}
${fileFragment}
`;