Skip to content

Commit

Permalink
Update return type for copySharedFolder
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinewi committed Aug 23, 2023
1 parent 28e3740 commit 6857cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1268,10 +1268,7 @@ export const typeDefs = gql`
sortFolders(parentId: String, sortedIds: [String!]!): SortResult!
sortResources(parentId: String!, sortedIds: [String!]!): SortResult!
updateFolderStatus(folderId: String!, status: String!): [String!]!
copySharedFolder(
folderId: String!
destinationFolderId: String
): FolderResource!
copySharedFolder(folderId: String!, destinationFolderId: String): Folder!
transformArticleContent(
content: String!
visualElement: String
Expand Down
4 changes: 2 additions & 2 deletions src/types/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ export type GQLMutation = {
__typename?: 'Mutation';
addFolder: GQLFolder;
addFolderResource: GQLFolderResource;
copySharedFolder: GQLFolderResource;
copySharedFolder: GQLFolder;
deleteFolder: Scalars['String'];
deleteFolderResource: Scalars['String'];
deletePersonalData: Scalars['Boolean'];
Expand Down Expand Up @@ -2745,7 +2745,7 @@ export type GQLMovieThemeResolvers<ContextType = any, ParentType extends GQLReso
export type GQLMutationResolvers<ContextType = any, ParentType extends GQLResolversParentTypes['Mutation'] = GQLResolversParentTypes['Mutation']> = {
addFolder?: Resolver<GQLResolversTypes['Folder'], ParentType, ContextType, RequireFields<GQLMutationAddFolderArgs, 'name'>>;
addFolderResource?: Resolver<GQLResolversTypes['FolderResource'], ParentType, ContextType, RequireFields<GQLMutationAddFolderResourceArgs, 'folderId' | 'path' | 'resourceId' | 'resourceType'>>;
copySharedFolder?: Resolver<GQLResolversTypes['FolderResource'], ParentType, ContextType, RequireFields<GQLMutationCopySharedFolderArgs, 'folderId'>>;
copySharedFolder?: Resolver<GQLResolversTypes['Folder'], ParentType, ContextType, RequireFields<GQLMutationCopySharedFolderArgs, 'folderId'>>;
deleteFolder?: Resolver<GQLResolversTypes['String'], ParentType, ContextType, RequireFields<GQLMutationDeleteFolderArgs, 'id'>>;
deleteFolderResource?: Resolver<GQLResolversTypes['String'], ParentType, ContextType, RequireFields<GQLMutationDeleteFolderResourceArgs, 'folderId' | 'resourceId'>>;
deletePersonalData?: Resolver<GQLResolversTypes['Boolean'], ParentType, ContextType>;
Expand Down

0 comments on commit 6857cf4

Please sign in to comment.