Skip to main content
Version: s5

CardPack

Card Pack (language invariant)

type CardPack {
id: String!
universalTitle: String!
contentValue: Int!
category: [Category!]!
topic: [ContentTopic!]!
approximateTime: Int!
createdAt: DateTimeISO!
updatedAt: DateTimeISO!
deletedAt: DateTimeISO
cardPackDetailsList(
where: CardPackDetailsWhere
limit: Int
offset: Int
): [CardPackDetails!]!
photo: File!
}

Fields

CardPack.id ● String! non-null scalar

UUID of card pack

CardPack.universalTitle ● String! non-null scalar

Universal title of card pack

CardPack.contentValue ● Int! non-null scalar

Content value of card pack

CardPack.category ● [Category!]! non-null enum

List of categories card pack is included in

CardPack.topic ● [ContentTopic!]! non-null enum

Topic of the card pack

CardPack.approximateTime ● Int! non-null scalar

Approximate preparation time for card pack given in minutes

CardPack.createdAt ● DateTimeISO! non-null scalar

Creation time given as the ISO Date string

CardPack.updatedAt ● DateTimeISO! non-null scalar

Last update time given as the ISO Date string

CardPack.deletedAt ● DateTimeISO scalar

Soft delete time given as the ISO Date string

CardPack.cardPackDetailsList ● [CardPackDetails!]! non-null object

Details list of card pack

CardPack.cardPackDetailsList.where ● CardPackDetailsWhere input
CardPack.cardPackDetailsList.limit ● Int scalar

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

CardPack.cardPackDetailsList.offset ● Int scalar

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

CardPack.photo ● File! non-null object

Photo for card pack

Returned By

getCardPacks query

Implemented By

CourseItemContentUnion union