Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return opts;
},
}),
},
display: { type: GraphQLString },
publishedVersionId: { type: GraphQLID },
versions: {
type: new GraphQLList(
new GraphQLObjectType({
name: 'Version',
fields: {
versionId: { type: GraphQLID },
isPublished: { type: GraphQLBoolean },
createdAt: { type: DateType.default },
updatedAt: { type: DateType.default },
},
})
),
},
}),
});
const contentEntryConnectionEdgeType = new GraphQLObjectType({
name: 'ContentEntryConnectionEdge',
fields: {
node: { type: contentEntryType },
cursor: { type: GraphQLString },
},
});
const contentEntryConnectionType = new GraphQLObjectType({
};
return opts;
},
}),
},
display: { type: GraphQLString },
publishedVersionId: { type: GraphQLID },
versions: {
type: new GraphQLList(
new GraphQLObjectType({
name: 'Version',
fields: {
versionId: { type: GraphQLID },
isPublished: { type: GraphQLBoolean },
createdAt: { type: DateType.default },
updatedAt: { type: DateType.default },
},
})
),
},
}),
});
const contentEntryConnectionEdgeType = new GraphQLObjectType({
name: 'ContentEntryConnectionEdge',
fields: {
node: { type: contentEntryType },
cursor: { type: GraphQLString },
},
});