Skip to content

Commit

Permalink
generate types
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Aug 6, 2024
1 parent 47bb7b8 commit 81fc176
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
33 changes: 33 additions & 0 deletions frontend/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ export type AgentDescriptionGenderType = {
sourceMention?: Maybe<PersonAgentDescriptionGenderSourceMentionChoices>;
};

export type AgentDescriptionLocationType = {
__typename?: 'AgentDescriptionLocationType';
agent: AgentDescriptionType;
/** How certain are you of this value? */
certainty: PersonAgentDescriptionLocationCertaintyChoices;
id: Scalars['ID']['output'];
/** location by which the agent is identified */
location: SpaceDescriptionType;
/** Additional notes */
note: Scalars['String']['output'];
/** How is this information presented in the text? */
sourceMention?: Maybe<PersonAgentDescriptionLocationSourceMentionChoices>;
};

export type AgentDescriptionType = {
__typename?: 'AgentDescriptionType';
/** The book in the source */
Expand All @@ -46,6 +60,7 @@ export type AgentDescriptionType = {
id: Scalars['ID']['output'];
/** Whether this agent is a group of people (e.g. 'the nuns of Poitiers'). */
isGroup: Scalars['Boolean']['output'];
location?: Maybe<AgentDescriptionLocationType>;
/** A name to help identify this object */
name: Scalars['String']['output'];
/** The page number or page range in the source */
Expand Down Expand Up @@ -291,6 +306,24 @@ export enum PersonAgentDescriptionGenderSourceMentionChoices {
Implied = 'IMPLIED'
}

/** An enumeration. */
export enum PersonAgentDescriptionLocationCertaintyChoices {
/** uncertain */
A_0 = 'A_0',
/** somewhat certain */
A_1 = 'A_1',
/** certain */
A_2 = 'A_2'
}

/** An enumeration. */
export enum PersonAgentDescriptionLocationSourceMentionChoices {
/** directly mentioned */
Direct = 'DIRECT',
/** implied */
Implied = 'IMPLIED'
}

/** An enumeration. */
export enum PersonAgentDescriptionSourceMentionChoices {
/** directly mentioned */
Expand Down
39 changes: 39 additions & 0 deletions frontend/generated/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ type AgentDescriptionGenderType {
sourceMention: PersonAgentDescriptionGenderSourceMentionChoices
}

type AgentDescriptionLocationType {
agent: AgentDescriptionType!

"""How certain are you of this value?"""
certainty: PersonAgentDescriptionLocationCertaintyChoices!
id: ID!

"""location by which the agent is identified"""
location: SpaceDescriptionType!

"""Additional notes"""
note: String!

"""How is this information presented in the text?"""
sourceMention: PersonAgentDescriptionLocationSourceMentionChoices
}

type AgentDescriptionType {
"""The book in the source"""
book: String!
Expand All @@ -37,6 +54,7 @@ type AgentDescriptionType {

"""Whether this agent is a group of people (e.g. 'the nuns of Poitiers')."""
isGroup: Boolean!
location: AgentDescriptionLocationType

"""A name to help identify this object"""
name: String!
Expand Down Expand Up @@ -332,6 +350,27 @@ enum PersonAgentDescriptionGenderSourceMentionChoices {
IMPLIED
}

"""An enumeration."""
enum PersonAgentDescriptionLocationCertaintyChoices {
"""uncertain"""
A_0

"""somewhat certain"""
A_1

"""certain"""
A_2
}

"""An enumeration."""
enum PersonAgentDescriptionLocationSourceMentionChoices {
"""directly mentioned"""
DIRECT

"""implied"""
IMPLIED
}

"""An enumeration."""
enum PersonAgentDescriptionSourceMentionChoices {
"""directly mentioned"""
Expand Down

0 comments on commit 81fc176

Please sign in to comment.