Skip to content

Commit

Permalink
Export the getContent bare fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Jan 15, 2025
1 parent 7c2a6de commit b065ec1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
} from './restapi/login/post';
import type { LoginArgs } from './restapi/login/post';

import { getContent as _getContent } from './restapi/content/get';
import { getContentQuery as _getContentQuery } from './restapi/content/get';
import { createContentMutation as _createContentMutation } from './restapi/content/add';
import { updateContentMutation as _updateContentMutation } from './restapi/content/update';
Expand Down Expand Up @@ -150,6 +151,7 @@ export default class PloneClient {
/*
Content queries
*/
getContent = queryWithConfig(_getContent, this.getConfig);
getContentQuery = queryWithConfig(_getContentQuery, this.getConfig);
createContentMutation = mutationWithConfig(
_createContentMutation,
Expand Down

0 comments on commit b065ec1

Please sign in to comment.