Skip to content

Commit

Permalink
ci: lower casing to prevent confusions
Browse files Browse the repository at this point in the history
  • Loading branch information
banasa44 committed Apr 10, 2024
1 parent 77fba4d commit ca8d521
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/subgraph/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
interface IPlugin {
id: ID! # Plugin Address
id: ID! # Plugin address
daoAddress: Bytes!
pluginAddress: Bytes!
}

type AdminPlugin implements IPlugin @entity {
id: ID! # Plugin Address
id: ID! # Plugin address
daoAddress: Bytes!
pluginAddress: Bytes!
proposals: [AdminProposal!]! @derivedFrom(field: "plugin")
administrators: [AdministratorAdminPlugin!]! @derivedFrom(field: "plugin")
}

type Administrator @entity(immutable: true) {
id: ID! # Administrator Address
id: ID! # Administrator address
address: String # address as string to facilitate filtering by address on the UI
proposals: [AdminProposal!]! @derivedFrom(field: "administrator")
plugins: [AdministratorAdminPlugin!]! @derivedFrom(field: "administrator")
}

type AdministratorAdminPlugin @entity {
"for Many-to-Many"
id: ID! # Plugin Address + Administrator Address
id: ID! # Plugin address + Administrator address
administrator: Administrator!
plugin: AdminPlugin!
}

interface IProposal {
id: ID! # Plugin Address + proposalId
id: ID! # Plugin address + Plugin proposal ID
daoAddress: Bytes!
creator: Bytes!
metadata: String
Expand All @@ -41,7 +41,7 @@ interface IProposal {
}

type AdminProposal implements IProposal @entity {
id: ID! # Plugin Address + proposalId
id: ID! # Plugin address + Plugin proposal ID
daoAddress: Bytes!
creator: Bytes! # Administrator address
metadata: String
Expand All @@ -58,15 +58,15 @@ type AdminProposal implements IProposal @entity {
}

interface IAction {
id: ID! # Plugin Address + DAO Address + Plugin Proposal ID + action idx
id: ID! # Plugin address + DAO address + Plugin proposal ID + Action index
to: Bytes!
value: BigInt!
data: Bytes!
daoAddress: Bytes!
}

type Action implements IAction @entity(immutable: true) {
id: ID! # Plugin Address + DAO Address + Plugin Proposal ID + action idx
id: ID! # Plugin address + DAO address + Plugin proposal ID + Action index
to: Bytes!
value: BigInt!
data: Bytes!
Expand Down

0 comments on commit ca8d521

Please sign in to comment.