Skip to content

Commit

Permalink
fix: graphql types
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Smith committed Jan 11, 2024
1 parent 8b5d9b7 commit 20b15cb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
16 changes: 13 additions & 3 deletions appsync.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ export type MutationUpdateSchoolProfileArgs = {
value: Scalars['String']['input'];
};

export type ProfileItems = {
__typename?: 'ProfileItems';
actionText?: Maybe<Scalars['String']['output']>;
banner?: Maybe<Scalars['String']['output']>;
helpBannerBody?: Maybe<Scalars['String']['output']>;
helpBannerTitle?: Maybe<Scalars['String']['output']>;
items?: Maybe<Scalars['String']['output']>;
whatToExpect?: Maybe<Scalars['String']['output']>;
};

export type Query = {
__typename?: 'Query';
getJoinRequests: Array<JoinRequest>;
Expand Down Expand Up @@ -126,9 +136,9 @@ export type School = {

export type SchoolProfile = {
__typename?: 'SchoolProfile';
donate?: Maybe<Scalars['String']['output']>;
excess?: Maybe<Scalars['String']['output']>;
request?: Maybe<Scalars['String']['output']>;
donate?: Maybe<ProfileItems>;
excess?: Maybe<ProfileItems>;
request?: Maybe<ProfileItems>;
};

export type SignUpData = {
Expand Down
22 changes: 12 additions & 10 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ type School {
registered: Boolean!
}

type ProfileItems {
items: String
banner: String
helpBannerTitle: String
helpBannerBody: String
whatToExpect: String
actionText: String
}

type SchoolProfile {
request: {
items: String
banner: String
helpBannerTitle: String
helpBannerBody: String
whatToExpect: String
actionText: String
}
donate: String
excess: String
request: ProfileItems
donate: ProfileItems
excess: ProfileItems
}

type LocalAuthorityUser {
Expand Down

0 comments on commit 20b15cb

Please sign in to comment.