|
@@ -37,7 +37,7 @@ type Membership @entity {
|
|
entry: MembershipEntryMethod!
|
|
entry: MembershipEntryMethod!
|
|
|
|
|
|
"The type of subscription the member has purchased if any."
|
|
"The type of subscription the member has purchased if any."
|
|
- subscription: BigInt
|
|
|
|
|
|
+ subscription: Int
|
|
|
|
|
|
channels: [Channel!]! @derivedFrom(field: "ownerMember")
|
|
channels: [Channel!]! @derivedFrom(field: "ownerMember")
|
|
}
|
|
}
|
|
@@ -87,10 +87,10 @@ type DataObject @entity {
|
|
typeId: Int!
|
|
typeId: Int!
|
|
|
|
|
|
"Content size in bytes"
|
|
"Content size in bytes"
|
|
- size: BigInt!
|
|
|
|
|
|
+ size: Int!
|
|
|
|
|
|
"Storage provider id of the liaison"
|
|
"Storage provider id of the liaison"
|
|
- liaisonId: BigInt # liaison is unset until storage provider accepts or rejects the content
|
|
|
|
|
|
+ liaisonId: Int # liaison is unset until storage provider accepts or rejects the content
|
|
|
|
|
|
"Storage provider as liaison judgment"
|
|
"Storage provider as liaison judgment"
|
|
liaisonJudgement: LiaisonJudgement!
|
|
liaisonJudgement: LiaisonJudgement!
|
|
@@ -111,12 +111,12 @@ union DataObjectOwner = DataObjectOwnerMember
|
|
|
|
|
|
"Asset owned by a member"
|
|
"Asset owned by a member"
|
|
type DataObjectOwnerMember @variant {
|
|
type DataObjectOwnerMember @variant {
|
|
- # use `BigInt` instead of `Membership` before variant relations are featured in Hydra
|
|
|
|
|
|
+ # use `Int` instead of `Membership` before variant relations are featured in Hydra
|
|
# TODO: setup proper relations
|
|
# TODO: setup proper relations
|
|
#"Member identifier"
|
|
#"Member identifier"
|
|
#memberId: Membership!
|
|
#memberId: Membership!
|
|
"Member identifier"
|
|
"Member identifier"
|
|
- member: BigInt # TODO: make this mandatory again (see DataObject mapping for more info)
|
|
|
|
|
|
+ member: Int!
|
|
|
|
|
|
"Variant needs to have at least one property. This value is not used."
|
|
"Variant needs to have at least one property. This value is not used."
|
|
dummy: Int
|
|
dummy: Int
|
|
@@ -124,11 +124,11 @@ type DataObjectOwnerMember @variant {
|
|
|
|
|
|
"Asset owned by a channel"
|
|
"Asset owned by a channel"
|
|
type DataObjectOwnerChannel @variant {
|
|
type DataObjectOwnerChannel @variant {
|
|
- # use `BigInt` instead of `Channel` before variant relations are featured in Hydra
|
|
|
|
|
|
+ # use `Int` instead of `Channel` before variant relations are featured in Hydra
|
|
#"Channel identifier"
|
|
#"Channel identifier"
|
|
#channel: Channel!
|
|
#channel: Channel!
|
|
"Channel identifier"
|
|
"Channel identifier"
|
|
- channel: BigInt!
|
|
|
|
|
|
+ channel: Int!
|
|
|
|
|
|
"Variant needs to have at least one property. This value is not used."
|
|
"Variant needs to have at least one property. This value is not used."
|
|
dummy: Int
|
|
dummy: Int
|
|
@@ -137,7 +137,7 @@ type DataObjectOwnerChannel @variant {
|
|
"Asset owned by a DAO"
|
|
"Asset owned by a DAO"
|
|
type DataObjectOwnerDao @variant {
|
|
type DataObjectOwnerDao @variant {
|
|
"DAO identifier"
|
|
"DAO identifier"
|
|
- dao: BigInt!
|
|
|
|
|
|
+ dao: Int!
|
|
}
|
|
}
|
|
|
|
|
|
"Asset owned by the Council"
|
|
"Asset owned by the Council"
|
|
@@ -232,7 +232,7 @@ type CuratorGroup @entity {
|
|
id: ID!
|
|
id: ID!
|
|
|
|
|
|
"Curators belonging to this group"
|
|
"Curators belonging to this group"
|
|
- curatorIds: [BigInt!]!
|
|
|
|
|
|
+ curatorIds: [Int!]!
|
|
|
|
|
|
"Is group active or not"
|
|
"Is group active or not"
|
|
isActive: Boolean!
|
|
isActive: Boolean!
|
|
@@ -347,7 +347,7 @@ type VideoMediaMetadata @entity {
|
|
pixelHeight: Int
|
|
pixelHeight: Int
|
|
|
|
|
|
"Video media size in bytes"
|
|
"Video media size in bytes"
|
|
- size: BigInt
|
|
|
|
|
|
+ size: Int
|
|
|
|
|
|
video: Video @derivedFrom(field: "mediaMetadata")
|
|
video: Video @derivedFrom(field: "mediaMetadata")
|
|
|
|
|