Skip to content

Commit

Permalink
Merge pull request #401 from NDLANO/add-owner-to-regular-folder
Browse files Browse the repository at this point in the history
Add owner to regular folder
  • Loading branch information
Jonas-C authored Nov 28, 2023
2 parents 906a772 + 6b0482d commit ce172f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1009,6 +1009,7 @@ export const typeDefs = gql`
resources: [FolderResource!]!
created: String!
updated: String!
owner: Owner
}
type Owner {
Expand Down
2 changes: 2 additions & 0 deletions src/types/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ export type GQLFolder = {
description?: Maybe<Scalars['String']>;
id: Scalars['String'];
name: Scalars['String'];
owner?: Maybe<GQLOwner>;
parentId?: Maybe<Scalars['String']>;
resources: Array<GQLFolderResource>;
status: Scalars['String'];
Expand Down Expand Up @@ -2735,6 +2736,7 @@ export type GQLFolderResolvers<ContextType = any, ParentType extends GQLResolver
description?: Resolver<Maybe<GQLResolversTypes['String']>, ParentType, ContextType>;
id?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
name?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
owner?: Resolver<Maybe<GQLResolversTypes['Owner']>, ParentType, ContextType>;
parentId?: Resolver<Maybe<GQLResolversTypes['String']>, ParentType, ContextType>;
resources?: Resolver<Array<GQLResolversTypes['FolderResource']>, ParentType, ContextType>;
status?: Resolver<GQLResolversTypes['String'], ParentType, ContextType>;
Expand Down

0 comments on commit ce172f6

Please sign in to comment.