Skip to content

Commit

Permalink
Generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderVertegaal committed Dec 18, 2024
1 parent 497f1e6 commit 2d99fba
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 3 deletions.
58 changes: 57 additions & 1 deletion frontend/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ export type EpisodeType = EntityDescription & {
source: SourceType;
/** How is this entity presented in the text? */
sourceMention?: Maybe<EventEpisodeSourceMentionChoices>;
/** locations involved in this episode */
spaces: Array<SpaceDescriptionType>;
/** full description of the events in the passage */
summary: Scalars['String']['output'];
Expand Down Expand Up @@ -1384,6 +1383,18 @@ export type DataEntryLocationSourceTextQueryVariables = Exact<{

export type DataEntryLocationSourceTextQuery = { __typename?: 'Query', spaceDescription?: { __typename?: 'SpaceDescriptionType', id: string, book: string, chapter: string, page: string } | null };

export type DataEntryLocationStructuresQueryVariables = Exact<{
id: Scalars['ID']['input'];
}>;


export type DataEntryLocationStructuresQuery = { __typename?: 'Query', spaceDescription?: { __typename?: 'SpaceDescriptionType', id: string, structures: Array<{ __typename?: 'StructureType', id: string }> } | null };

export type DataEntryStructuresQueryVariables = Exact<{ [key: string]: never; }>;


export type DataEntryStructuresQuery = { __typename?: 'Query', structures: Array<{ __typename?: 'StructureType', id: string, name: string, level: SpaceStructureLevelChoices, settlement?: { __typename?: 'SettlementType', id: string, name: string } | null }> };

export type DataEntryLocationQueryVariables = Exact<{
id: Scalars['ID']['input'];
}>;
Expand Down Expand Up @@ -2560,6 +2571,51 @@ export const DataEntryLocationSourceTextDocument = gql`
export class DataEntryLocationSourceTextGQL extends Apollo.Query<DataEntryLocationSourceTextQuery, DataEntryLocationSourceTextQueryVariables> {
override document = DataEntryLocationSourceTextDocument;

constructor(apollo: Apollo.Apollo) {
super(apollo);
}
}
export const DataEntryLocationStructuresDocument = gql`
query DataEntryLocationStructures($id: ID!) {
spaceDescription(id: $id) {
id
structures {
id
}
}
}
`;

@Injectable({
providedIn: 'root'
})
export class DataEntryLocationStructuresGQL extends Apollo.Query<DataEntryLocationStructuresQuery, DataEntryLocationStructuresQueryVariables> {
override document = DataEntryLocationStructuresDocument;

constructor(apollo: Apollo.Apollo) {
super(apollo);
}
}
export const DataEntryStructuresDocument = gql`
query DataEntryStructures {
structures {
id
name
level
settlement {
id
name
}
}
}
`;

@Injectable({
providedIn: 'root'
})
export class DataEntryStructuresGQL extends Apollo.Query<DataEntryStructuresQuery, DataEntryStructuresQueryVariables> {
override document = DataEntryStructuresDocument;

constructor(apollo: Apollo.Apollo) {
super(apollo);
}
Expand Down
2 changes: 0 additions & 2 deletions frontend/generated/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ type EpisodeType implements EntityDescription {

"""How is this entity presented in the text?"""
sourceMention: EventEpisodeSourceMentionChoices

"""locations involved in this episode"""
spaces: [SpaceDescriptionType!]!

"""full description of the events in the passage"""
Expand Down

0 comments on commit 2d99fba

Please sign in to comment.