Skip to content

Commit

Permalink
feat(datadirect-puppeteer): api.webapp.context
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Jan 8, 2025
1 parent b3132b4 commit 0dae09b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/datadirect-puppeteer/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ export * as LtiTool from './api/LtiTool.js';
export * as message from './api/message.js';
export * as schoolinfo from './api/schoolinfo.js';
export * as topic from './api/topic.js';
export * as webapp from './api/webapp.js';
export { init } from './PuppeteerSession/Fetchable.js';
5 changes: 5 additions & 0 deletions packages/datadirect-puppeteer/src/api/webapp.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { context as Context } from 'datadirect/dist/api/webapp.js';
import { Fetchable } from '../PuppeteerSession.js';

export const context: Fetchable.Binding<Context.Payload, Context.Response> =
Fetchable.bind(Context);

0 comments on commit 0dae09b

Please sign in to comment.