From df03c83cfde245ac0db748f96b4407f373089e18 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 Mar 2023 10:35:08 +0000 Subject: [PATCH] style: format --- schema.graphql | 221 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 166 insertions(+), 55 deletions(-) diff --git a/schema.graphql b/schema.graphql index 611efeb7de..03b29673b7 100644 --- a/schema.graphql +++ b/schema.graphql @@ -3,52 +3,80 @@ schema { } type Actor { - """The id of the actor.""" + """ + The id of the actor. + """ id: ID - """The name of the actor.""" + """ + The name of the actor. + """ name: String - """The number of the actor.""" + """ + The number of the actor. + """ number: String! } type Address { - """The city of the address.""" + """ + The city of the address. + """ city: String - """The country of the address.""" + """ + The country of the address. + """ country: String! - """The number of the address.""" + """ + The number of the address. + """ number: String - """The street name of the address.""" + """ + The street name of the address. + """ streetName: String - """The zip code of the address.""" + """ + The zip code of the address. + """ zipCode: String } type Batch { - """The execution state.""" + """ + The execution state. + """ executionState: BatchState! - """The execution end time.""" + """ + The execution end time. + """ executionTimeEnd: DateTimeOffset - """The execution start time.""" + """ + The execution start time. + """ executionTimeStart: DateTimeOffset gridAreas: [GridArea!]! - """The id of the batch.""" + """ + The id of the batch. + """ id: ID! - """Whether basis data is downloadable.""" + """ + Whether basis data is downloadable. + """ isBasisDataDownloadAvailable: Boolean! period: DateRange - """The process type.""" + """ + The process type. + """ processType: ProcessType! statusType: StatusType! } @@ -89,75 +117,118 @@ enum EicFunction { type GraphQLQuery { actors: [Actor!]! batch( - """The id of the organization""" + """ + The id of the organization + """ id: ID ): Batch batches(executionTime: DateRange): [Batch!]! gridAreas: [GridArea!]! organization( - """The id of the organization""" + """ + The id of the organization + """ id: ID ): Organization organizations: [Organization] permission( - """The id of the permission""" + """ + The id of the permission + """ id: ID ): Permission! permissionLogs( - """The id of the permission""" + """ + The id of the permission + """ id: ID ): [PermissionAuditLog!]! permissions: [Permission!]! processStep( - """The batch id the process belongs to.""" + """ + The batch id the process belongs to. + """ batchId: ID! - """The grid area code for the process.""" + """ + The grid area code for the process. + """ gridArea: String! - """The process step number.""" + """ + The process step number. + """ step: Int! ): ProcessStep - settlementReports(executionTime: DateRange, gridAreaCodes: [String], period: DateRange, processType: ProcessType): [SettlementReport!]! + settlementReports( + executionTime: DateRange + gridAreaCodes: [String] + period: DateRange + processType: ProcessType + ): [SettlementReport!]! } type GridArea { - """The grid area code.""" + """ + The grid area code. + """ code: String! - """The grid area id.""" + """ + The grid area id. + """ id: ID! - """The grid area name.""" + """ + The grid area name. + """ name: String! - """The price area code for the grid area.""" + """ + The price area code for the grid area. + """ priceAreaCode: PriceAreaCode! - """Date that the grid area is valid from""" + """ + Date that the grid area is valid from + """ validFrom: DateTimeOffset! - """Date that the grid area is valid to""" + """ + Date that the grid area is valid to + """ validTo: DateTimeOffset } type Organization { - """The address of the organization.""" + """ + The address of the organization. + """ address: Address! - """The business register identifier of the organization.""" + """ + The business register identifier of the organization. + """ businessRegisterIdentifier: String! - """The comment of the organization.""" + """ + The comment of the organization. + """ comment: String! - """The name of the organization.""" + """ + The name of the organization. + """ name: String! - """The ID of the organization.""" + """ + The ID of the organization. + """ organizationId: ID! - """The status of the organization.""" + """ + The status of the organization. + """ status: OrganizationStatus! } @@ -169,37 +240,57 @@ enum OrganizationStatus { } type Permission { - """The EIC functions this permission is assignable to.""" + """ + The EIC functions this permission is assignable to. + """ assignableTo: [EicFunction!]! - """The created date of the permission.""" + """ + The created date of the permission. + """ created: DateTimeOffset! - """The description of the permission.""" + """ + The description of the permission. + """ description: String! - """The ID of the permission.""" + """ + The ID of the permission. + """ id: Int! - """The name of the permission.""" + """ + The name of the permission. + """ name: String! userRoles: [UserRole!]! } type PermissionAuditLog { - """Changed by user id""" + """ + Changed by user id + """ changedByUserId: ID! - """Changed by user name""" + """ + Changed by user name + """ changedByUserName: String! - """Permission audit log type""" + """ + Permission audit log type + """ permissionAuditLogType: PermissionAuditLogType! - """Permission id""" + """ + Permission id + """ permissionId: Int! - """Time of change""" + """ + Time of change + """ timestamp: DateTimeOffset! } @@ -234,21 +325,31 @@ enum ProcessType { } type SettlementReport { - """The batch number""" + """ + The batch number + """ batchNumber: ID! - """The execution time.""" + """ + The execution time. + """ executionTime: DateTimeOffset - """The grid area.""" + """ + The grid area. + """ gridArea: GridArea! period: DateRange - """The process type.""" + """ + The process type. + """ processType: ProcessType! } -"""How the status should be represented visually.""" +""" +How the status should be represented visually. +""" enum StatusType { danger info @@ -269,23 +370,33 @@ enum TimeSeriesType { } type UserRole { - """The user role description""" + """ + The user role description + """ description: String! - """The EIC function the user role belongs to""" + """ + The EIC function the user role belongs to + """ eicFunction: EicFunction! - """The user role id.""" + """ + The user role id. + """ id: ID! - """The user role name.""" + """ + The user role name. + """ name: String! - """The user role status""" + """ + The user role status + """ status: UserRoleStatus! } enum UserRoleStatus { ACTIVE INACTIVE -} \ No newline at end of file +}